mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Added string representation of 'static const' token
No more 'Unknown(-141)' in 'Expecting ...' error message
This commit is contained in:
parent
62e91b23bd
commit
de7d8995d5
2 changed files with 2 additions and 0 deletions
|
@ -147,4 +147,5 @@ xx(TK_Offset, "'offset'")
|
|||
xx(TK_Slow, "'slow'")
|
||||
xx(TK_Bright, "'bright'")
|
||||
xx(TK_Let, "'let'")
|
||||
xx(TK_StaticConst, "'static const'")
|
||||
#undef xx
|
||||
|
|
|
@ -211,6 +211,7 @@ static void InitTokenMap()
|
|||
TOKENDEF2(TK_Color, ZCC_COLOR, NAME_Color);
|
||||
TOKENDEF2(TK_Sound, ZCC_SOUND, NAME_Sound);
|
||||
TOKENDEF2(TK_Let, ZCC_LET, NAME_let);
|
||||
TOKENDEF2(TK_StaticConst, ZCC_STATICCONST,NAME_Staticconst);
|
||||
|
||||
TOKENDEF (TK_Identifier, ZCC_IDENTIFIER);
|
||||
TOKENDEF (TK_StringConst, ZCC_STRCONST);
|
||||
|
|
Loading…
Reference in a new issue