From: Wolfgang (Blub) Bumiller Date: Tue, 13 Nov 2012 17:51:45 +0000 (+0100) Subject: 'not' is now a keyword X-Git-Tag: 0.1~19^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8f1f6160e3421baa7210314ed862ce86dab3ff71;p=xonotic%2Fgmqcc.git 'not' is now a keyword --- diff --git a/lexer.c b/lexer.c index a550ed0..a555895 100644 --- 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;