summaryrefslogtreecommitdiff
path: root/lcode.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 /lcode.h
parent464658b16a1a539fd590e1696bfcfb572a77fe13 (diff)
downloadlua-github-4a1612ff9b968fe446bc4dd20460bfaccabeb3b3.tar.gz
new experimental syntax using reserved word 'undef'
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcode.h b/lcode.h
index beeba54f..e7c294d4 100644
--- a/lcode.h
+++ b/lcode.h
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.h,v 1.69 2017/11/30 13:29:18 roberto Exp roberto $
+** $Id: lcode.h,v 1.70 2017/12/18 15:44:44 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -89,6 +89,8 @@ LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1,
expdesc *v2, int line);
LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
LUAI_FUNC void luaK_finish (FuncState *fs);
+LUAI_FUNC void luaK_codeundef (FuncState *fs, expdesc *e);
+LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg);
#endif