diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-03-07 12:55:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-03-07 12:55:38 -0300 |
commit | 4a1612ff9b968fe446bc4dd20460bfaccabeb3b3 (patch) | |
tree | aef8f8c476e0814c357ead6248a614fb0ca07eac /llex.c | |
parent | 464658b16a1a539fd590e1696bfcfb572a77fe13 (diff) | |
download | lua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.tar.gz lua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.tar.bz2 lua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.zip |
new experimental syntax using reserved word 'undef'
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 2.99 2018/01/28 15:13:26 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.100 2018/02/23 13:13:31 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -41,7 +41,7 @@ static const char *const luaX_tokens [] = { | |||
41 | "and", "break", "do", "else", "elseif", | 41 | "and", "break", "do", "else", "elseif", |
42 | "end", "false", "for", "function", "goto", "if", | 42 | "end", "false", "for", "function", "goto", "if", |
43 | "in", "local", "nil", "not", "or", "repeat", | 43 | "in", "local", "nil", "not", "or", "repeat", |
44 | "return", "then", "true", "until", "while", | 44 | "return", "then", "true", "undef", "until", "while", |
45 | "//", "..", "...", "==", ">=", "<=", "~=", | 45 | "//", "..", "...", "==", ">=", "<=", "~=", |
46 | "<<", ">>", "::", "<eof>", | 46 | "<<", ">>", "::", "<eof>", |
47 | "<number>", "<integer>", "<name>", "<string>" | 47 | "<number>", "<integer>", "<name>", "<string>" |