Replace the old lexer by the new preprocessor.
[cparser] / preprocessor.h
1 #ifndef PREPROCESSOR_H
2 #define PREPROCESSOR_H
3
4 #include "token_t.h"
5
6 void init_preprocessor(void);
7
8 void exit_preprocessor(void);
9
10 /** Switch input to another file. The current token is not changed. */
11 void switch_input(FILE *file, char const *filename);
12
13 FILE* close_input(void);
14
15 void next_preprocessing_token(void);
16
17 string_t make_string(char const *string);
18
19 extern bool    allow_dollar_in_symbol;
20 extern token_t pp_token;
21
22 #endif