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"
|
#include "parse.tab.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TOKEN_REAL,
|
TOKEN_REAL = REAL,
|
||||||
TOKEN_INTEGER,
|
TOKEN_INTEGER = INTEGER,
|
||||||
TOKEN_STRING,
|
TOKEN_STRING = STRING,
|
||||||
TOKEN_IDENTIFIER,
|
TOKEN_IDENTIFIER = IDENTIFIER,
|
||||||
TOKEN_BOOL,
|
TOKEN_BOOL = BOOL,
|
||||||
TOKEN_LBRACKET = '(',
|
TOKEN_LBRACKET = '(',
|
||||||
TOKEN_RBRACKET = ')',
|
TOKEN_RBRACKET = ')',
|
||||||
TOKEN_LBRACE = '{',
|
TOKEN_LBRACE = '{',
|
||||||
|
|
Loading…
Reference in a new issue