]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
'not' is now a keyword
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 64caad686c6ea35f43a729136c53ef9ae836a642..8485192e5ea730b274b738217c6f7f0f762fdfdd 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1083,6 +1083,7 @@ int lex_do(lex_file *lex)
                  !strcmp(v, "else")   ||
                  !strcmp(v, "local")  ||
                  !strcmp(v, "return") ||
+                 !strcmp(v, "not")    ||
                  !strcmp(v, "const"))
         {
             lex->tok.ttype = TOKEN_KEYWORD;