mirror of https://github.com/yasm/yasm.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
473 B
33 lines
473 B
#ifndef RE2C_PARSER_H |
|
#define RE2C_PARSER_H |
|
|
|
/* Tokens */ |
|
enum yytokentype { |
|
CLOSESIZE = 258, |
|
CLOSE = 259, |
|
ID = 260, |
|
CODE = 261, |
|
RANGE = 262, |
|
STRING = 263, |
|
NONE = 264 |
|
}; |
|
|
|
#define CLOSESIZE 258 |
|
#define CLOSE 259 |
|
#define ID 260 |
|
#define CODE 261 |
|
#define RANGE 262 |
|
#define STRING 263 |
|
#define NONE 264 |
|
|
|
typedef union { |
|
Symbol *symbol; |
|
RegExp *regexp; |
|
Token *token; |
|
char op; |
|
ExtOp extop; |
|
} yystype; |
|
|
|
extern yystype yylval; |
|
|
|
#endif
|
|
|