new experimental syntax using reserved word 'undef'

This commit is contained in:
Roberto Ierusalimschy
2018-03-07 12:55:38 -03:00
parent 464658b16a
commit 4a1612ff9b
11 changed files with 113 additions and 43 deletions

4
llex.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: llex.c,v 2.99 2018/01/28 15:13:26 roberto Exp roberto $
** $Id: llex.c,v 2.100 2018/02/23 13:13:31 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -41,7 +41,7 @@ static const char *const luaX_tokens [] = {
"and", "break", "do", "else", "elseif",
"end", "false", "for", "function", "goto", "if",
"in", "local", "nil", "not", "or", "repeat",
"return", "then", "true", "until", "while",
"return", "then", "true", "undef", "until", "while",
"//", "..", "...", "==", ">=", "<=", "~=",
"<<", ">>", "::", "<eof>",
"<number>", "<integer>", "<name>", "<string>"