New diagnostic functions diagnosticf(), errorf() and warningf() replacing the ad...
[cparser] / diagnostic.h
1 #ifndef DIAGNOSTIC_H
2 #define DIAGNOSTIC_H
3
4 #include "token_t.h"
5
6
7 void diagnosticf(const char *fmt, ...);
8 void errorf(source_position_t pos, const char *fmt, ...);
9 void warningf(source_position_t pos, const char *fmt, ...);
10
11 extern bool found_error;
12
13 #endif