mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
'local' becomes a keyword
This commit is contained in:
parent
c2364567de
commit
3017c92edf
1 changed files with 1 additions and 0 deletions
1
lexer.c
1
lexer.c
|
@ -627,6 +627,7 @@ int lex_do(lex_file *lex)
|
|||
!strcmp(v, "if") ||
|
||||
!strcmp(v, "else") ||
|
||||
!strcmp(v, "var") ||
|
||||
!strcmp(v, "local") ||
|
||||
!strcmp(v, "return") ||
|
||||
!strcmp(v, "const"))
|
||||
lex->tok->ttype = TOKEN_KEYWORD;
|
||||
|
|
Loading…
Reference in a new issue