Put some diagnostic functions into a separate file.
[cparser] / diagnostic.h
1 #ifndef DIAGNOSTIC_H
2 #define DIAGNOSTIC_H
3
4 #include "token_t.h"
5
6
7 void parser_print_prefix_pos(source_position_t);
8 void parser_print_warning_prefix_pos(source_position_t);
9 void parse_warning_pos(source_position_t, const char *message);
10 void parse_warning_posf(source_position_t, const char *fmt, ...);
11
12 #endif