mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-22 11:21:39 +00:00
'not' is now a keyword
This commit is contained in:
parent
e1c8e54863
commit
6204c8c956
1 changed files with 1 additions and 0 deletions
1
lexer.c
1
lexer.c
|
@ -1083,6 +1083,7 @@ int lex_do(lex_file *lex)
|
||||||
!strcmp(v, "else") ||
|
!strcmp(v, "else") ||
|
||||||
!strcmp(v, "local") ||
|
!strcmp(v, "local") ||
|
||||||
!strcmp(v, "return") ||
|
!strcmp(v, "return") ||
|
||||||
|
!strcmp(v, "not") ||
|
||||||
!strcmp(v, "const"))
|
!strcmp(v, "const"))
|
||||||
{
|
{
|
||||||
lex->tok.ttype = TOKEN_KEYWORD;
|
lex->tok.ttype = TOKEN_KEYWORD;
|
||||||
|
|
Loading…
Reference in a new issue