repositories
/
TP_AL_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify a bit a print helper function.
[TP_AL_C.git]
/
lexer
/
print_helper.h
diff --git
a/lexer/print_helper.h
b/lexer/print_helper.h
index 396afd448be74a6fe7a3886dbf8f3ed2929a3aff..080ea9ddec4ff018eb21770d0434d3700076a5e3 100644
(file)
--- a/
lexer/print_helper.h
+++ b/
lexer/print_helper.h
@@
-1,6
+1,8
@@
#ifndef PRINT_HELPER_H_
#define PRINT_HELPER_H_
#ifndef PRINT_HELPER_H_
#define PRINT_HELPER_H_
+#include <stdio.h>
+
void pr_warning(const char *format, ...);
void pr_error(const char *format, ...);
void pr_warning(const char *format, ...);
void pr_error(const char *format, ...);
@@
-9,7
+11,6
@@
void pr_debug(const char *format, ...);
void wpr_warning(const wchar_t *format, ...);
void wpr_error(const wchar_t *format, ...);
void wpr_warning(const wchar_t *format, ...);
void wpr_error(const wchar_t *format, ...);
-void wprint_token_stdout();
-void wprint_token_target();
+void wprint_token(FILE* out_file);
#endif /* PRINT_HELPER_H_ */
#endif /* PRINT_HELPER_H_ */