fix bad cherry pick
This commit is contained in:
parent
0e77b01fc4
commit
c72888dcf8
4 changed files with 4 additions and 1 deletions
|
|
@ -177,6 +177,7 @@ std2:
|
|||
/* Other keywords from UnrealScript */
|
||||
'abstract' { RET(TK_Abstract); }
|
||||
'foreach' { RET(ParseVersion >= MakeVersion(4, 10, 0)? TK_ForEach : TK_Identifier); }
|
||||
'unsafe' { RET(ParseVersion >= MakeVersion(4, 14, 2)? TK_Unsafe : TK_Identifier); }
|
||||
'true' { RET(TK_True); }
|
||||
'false' { RET(TK_False); }
|
||||
'none' { RET(TK_None); }
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ xx(TK_Color, "'color'")
|
|||
xx(TK_Goto, "'goto'")
|
||||
xx(TK_Abstract, "'abstract'")
|
||||
xx(TK_ForEach, "'foreach'")
|
||||
xx(TK_Unsafe, "'unsafe'")
|
||||
xx(TK_True, "'true'")
|
||||
xx(TK_False, "'false'")
|
||||
xx(TK_None, "'none'")
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@ static void InitTokenMap()
|
|||
TOKENDEF (TK_Do, ZCC_DO);
|
||||
TOKENDEF (TK_For, ZCC_FOR);
|
||||
TOKENDEF (TK_ForEach, ZCC_FOREACH);
|
||||
TOKENDEF (TK_Unsafe, ZCC_UNSAFE);
|
||||
TOKENDEF (TK_While, ZCC_WHILE);
|
||||
TOKENDEF (TK_Until, ZCC_UNTIL);
|
||||
TOKENDEF (TK_If, ZCC_IF);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version "4.12"
|
||||
version "4.14.2"
|
||||
|
||||
// Generic engine code
|
||||
#include "zscript/engine/base.zs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue