'local' becomes a keyword

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-14 16:10:17 +02:00
parent c2364567de
commit 3017c92edf

View file

@ -627,6 +627,7 @@ int lex_do(lex_file *lex)
!strcmp(v, "if") || !strcmp(v, "if") ||
!strcmp(v, "else") || !strcmp(v, "else") ||
!strcmp(v, "var") || !strcmp(v, "var") ||
!strcmp(v, "local") ||
!strcmp(v, "return") || !strcmp(v, "return") ||
!strcmp(v, "const")) !strcmp(v, "const"))
lex->tok->ttype = TOKEN_KEYWORD; lex->tok->ttype = TOKEN_KEYWORD;