6 #include "symbol_table.h"
10 #define T(x,str,val) T_##x val,
11 #define TS(x,str,val) T_##x val,
21 #define T(x,str,val) TP_##x val,
22 #define TS(x,str,val) TP_##x val,
23 #include "tokens_preprocessor.inc"
26 } preprocessor_token_type_t;
28 typedef struct source_position_t source_position_t;
29 struct source_position_t {
30 const char *input_name;
39 long double floatvalue;
43 source_position_t source_position;
46 void init_tokens(void);
47 void exit_tokens(void);
48 void print_token_type(FILE *out, token_type_t token_type);
49 void print_token(FILE *out, const token_t *token);