]> 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:55:48 +0000 (18:55 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index a550ed0b2dd3bd4b92f27248e10ed9a434117b93..a555895e854929404c586e86ab4a41b2e180207d 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1043,6 +1043,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;