use the values from the yacc parser
This commit is contained in:
parent
ce901a2341
commit
b66b0ef95a
1 changed files with 5 additions and 5 deletions
|
@ -5,11 +5,11 @@
|
|||
#include "parse.tab.h"
|
||||
|
||||
typedef enum {
|
||||
TOKEN_REAL,
|
||||
TOKEN_INTEGER,
|
||||
TOKEN_STRING,
|
||||
TOKEN_IDENTIFIER,
|
||||
TOKEN_BOOL,
|
||||
TOKEN_REAL = REAL,
|
||||
TOKEN_INTEGER = INTEGER,
|
||||
TOKEN_STRING = STRING,
|
||||
TOKEN_IDENTIFIER = IDENTIFIER,
|
||||
TOKEN_BOOL = BOOL,
|
||||
TOKEN_LBRACKET = '(',
|
||||
TOKEN_RBRACKET = ')',
|
||||
TOKEN_LBRACE = '{',
|
||||
|
|
Loading…
Reference in a new issue