From 3017c92edfc5c08f4175025ccdf245644d608836 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 14 Aug 2012 16:10:17 +0200 Subject: [PATCH] 'local' becomes a keyword --- lexer.c | 1 + 1 file changed, 1 insertion(+) 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;