ref: 39b7bd0fe07005f621890f2a7601d3e38d367e7a
dir: /tokens.h/
#ifndef TOKENS_H #define TOKENS_H #define TOKSIZ_MAX 21 /* Don't change this codification because program used it!!! */ enum { /* types */ INT = 1, CHAR, FLOAT, LONG, LLONG, SHORT, VOID, DOUBLE, LDOUBLE, STRUCT, UNION, ENUM, UTYPE, BOOL, /* storage specifier */ TYPEDEF, EXTERN, STATIC, AUTO, REGISTER, /* type qualifier */ VOLATILE, CONST, RESTRICTED, /* sign specifier */ UNSIGNED, SIGNED }; enum { IDENTIFIER = 128, CONSTANT, STRING_LITERAL, SIZEOF, PTR_OP, INC_OP, DEC_OP, LEFT_OP, RIGHT_OP, LE_OP, GE_OP, EQ_OP, NE_OP, AND_OP, OR_OP, MUL_ASSIGN, DIV_ASSIGN, MOD_ASSIGN, ADD_ASSIGN, SUB_ASSIGN, LEFT_ASSIGN, RIGHT_ASSIGN, AND_ASSIGN, XOR_ASSIGN, OR_ASSIGN, TYPE_NAME, ELLIPSIS, CASE, DEFAULT, IF, ELSE, SWITCH, WHILE, DO, FOR, GOTO, CONTINUE, BREAK, RETURN, EOFTOK }; extern char yytext[]; extern unsigned char yyhash; extern size_t yylen; extern unsigned char yytoken; extern unsigned char gettok(void); extern void init_lex(void); #endif