mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
ec17f5a5b9
error handling. - Fixed: dehsupp/scanner.re defined "}" as the token RPAREN. dehsupp/parse.y also defined action_list_def as needing a RBARCE. I'm surprised it worked at all before. I guess Lemon really was too accepting. - Changed the way that xlatcc handles include statements so that I don't need to modify the logic of lempar.c. I also discovered that the grammar was improperly defined and only accepted the first statement. It worked before because Lemon used to accept multiple times before reaching the EOF token. I have also verified that it is still generating the proper lumps. - Removed some unused wadsrc files from the repository. - Fixed my re2c upgrade. - Updated lemon.c to v1.53. SVN r711 (trunk)
37 lines
1.5 KiB
C
37 lines
1.5 KiB
C
#define OR 1
|
|
#define XOR 2
|
|
#define AND 3
|
|
#define MINUS 4
|
|
#define PLUS 5
|
|
#define MULTIPLY 6
|
|
#define DIVIDE 7
|
|
#define NEG 8
|
|
#define NUM 9
|
|
#define SYMNUM 10
|
|
#define LPAREN 11
|
|
#define RPAREN 12
|
|
#define NOP 13
|
|
#define PRINT 14
|
|
#define COMMA 15
|
|
#define STRING 16
|
|
#define ENDL 17
|
|
#define DEFINE 18
|
|
#define SYM 19
|
|
#define INCLUDE 20
|
|
#define RBRACE 21
|
|
#define ENUM 22
|
|
#define LBRACE 23
|
|
#define EQUALS 24
|
|
#define SPECIAL 25
|
|
#define SEMICOLON 26
|
|
#define COLON 27
|
|
#define LBRACKET 28
|
|
#define RBRACKET 29
|
|
#define FLAGS 30
|
|
#define ARG2 31
|
|
#define ARG3 32
|
|
#define ARG4 33
|
|
#define ARG5 34
|
|
#define OR_EQUAL 35
|
|
#define TAG 36
|
|
#define LINEID 37
|