Simplify a bit a print helper function.
[TP_AL_C.git] / lexer / print_helper.h
index 5daaa35fc1e0b5222fea0f948cfee92623127834..080ea9ddec4ff018eb21770d0434d3700076a5e3 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef PRINT_HELPER_H_
 #define PRINT_HELPER_H_
 
+#include <stdio.h>
+
 void pr_warning(const char *format, ...);
 void pr_error(const char *format, ...);
 
@@ -9,6 +11,6 @@ void pr_debug(const char *format, ...);
 void wpr_warning(const wchar_t *format, ...);
 void wpr_error(const wchar_t *format, ...);
 
-void wprint_token();
+void wprint_token(FILE* out_file);
 
 #endif /* PRINT_HELPER_H_ */