]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
'not' is now a keyword
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 13 Nov 2012 17:51:45 +0000 (18:51 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 13 Nov 2012 17:51:45 +0000 (18:51 +0100)
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;