mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 10:21:42 +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)
33 lines
1.4 KiB
C
33 lines
1.4 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 EOI 9
|
|
#define PRINT 10
|
|
#define LPAREN 11
|
|
#define RPAREN 12
|
|
#define COMMA 13
|
|
#define STRING 14
|
|
#define ENDL 15
|
|
#define NUM 16
|
|
#define Actions 17
|
|
#define LBRACE 18
|
|
#define RBRACE 19
|
|
#define SEMICOLON 20
|
|
#define SYM 21
|
|
#define OrgHeights 22
|
|
#define ActionList 23
|
|
#define CodePConv 24
|
|
#define OrgSprNames 25
|
|
#define StateMap 26
|
|
#define FirstState 27
|
|
#define SpawnState 28
|
|
#define DeathState 29
|
|
#define SoundMap 30
|
|
#define InfoNames 31
|
|
#define ThingBits 32
|
|
#define RenderStyles 33
|