From: Wolfgang (Blub) Bumiller Date: Tue, 14 Aug 2012 14:10:17 +0000 (+0200) Subject: 'local' becomes a keyword X-Git-Tag: 0.1-rc1~310 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3017c92edfc5c08f4175025ccdf245644d608836;p=xonotic%2Fgmqcc.git 'local' becomes a keyword --- diff --git a/lexer.c b/lexer.c index 29b3018..0fa25f7 100644 --- a/lexer.c +++ b/lexer.c @@ -627,6 +627,7 @@ int lex_do(lex_file *lex) !strcmp(v, "if") || !strcmp(v, "else") || !strcmp(v, "var") || + !strcmp(v, "local") || !strcmp(v, "return") || !strcmp(v, "const")) lex->tok->ttype = TOKEN_KEYWORD;