summaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-07 12:55:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-03-07 12:55:38 -0300
commit4a1612ff9b968fe446bc4dd20460bfaccabeb3b3 (patch)
treeaef8f8c476e0814c357ead6248a614fb0ca07eac /lparser.h
parent464658b16a1a539fd590e1696bfcfb572a77fe13 (diff)
downloadlua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.tar.gz
lua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.tar.bz2
lua-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.zip
new experimental syntax using reserved word 'undef'
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lparser.h b/lparser.h
index 6007d618..b8705e84 100644
--- a/lparser.h
+++ b/lparser.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.h,v 1.79 2017/11/30 13:29:18 roberto Exp roberto $ 2** $Id: lparser.h,v 1.80 2017/12/14 14:24:02 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -52,7 +52,8 @@ typedef enum {
52 VRELOC, /* expression can put result in any register; 52 VRELOC, /* expression can put result in any register;
53 info = instruction pc */ 53 info = instruction pc */
54 VCALL, /* expression is a function call; info = instruction pc */ 54 VCALL, /* expression is a function call; info = instruction pc */
55 VVARARG /* vararg expression; info = instruction pc */ 55 VVARARG, /* vararg expression; info = instruction pc */
56 VUNDEF /* the 'undef' "expression" */
56} expkind; 57} expkind;
57 58
58 59