1 #ifndef RE2C_PARSER_H 2 #define RE2C_PARSER_H 3 4 /* Tokens */ 5 enum yytokentype { 6 CLOSESIZE = 258, 7 CLOSE = 259, 8 ID = 260, 9 CODE = 261, 10 RANGE = 262, 11 STRING = 263, 12 NONE = 264 13 }; 14 15 #define CLOSESIZE 258 16 #define CLOSE 259 17 #define ID 260 18 #define CODE 261 19 #define RANGE 262 20 #define STRING 263 21 #define NONE 264 22 23 typedef union { 24 Symbol *symbol; 25 RegExp *regexp; 26 Token *token; 27 char op; 28 ExtOp extop; 29 } yystype; 30 31 extern yystype yylval; 32 33 #endif 34