summaryrefslogtreecommitdiff
path: root/src/luac.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2011-11-30 12:00:00 +0000
committerrepogen <>2011-11-30 12:00:00 +0000
commitac1beaea25f1fec341e1edb168c63ac7131a6bdd (patch)
tree07b408b92516a459a685fdc1aca30694663051f3 /src/luac.c
parentdfa489618335f21b74e1b2040a64b28dcbe048a6 (diff)
downloadlua-github-5.2.0-rc3.tar.gz
Lua 5.2.0-rc35.2.0-rc3
Diffstat (limited to 'src/luac.c')
-rw-r--r--src/luac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luac.c b/src/luac.c
index fe91beea..5081836d 100644
--- a/src/luac.c
+++ b/src/luac.c
@@ -1,5 +1,5 @@
/*
-** $Id: luac.c,v 1.68 2011/11/23 17:48:18 lhf Exp $
+** $Id: luac.c,v 1.69 2011/11/29 17:46:33 lhf Exp $
** Lua compiler (saves bytecodes to files; also list bytecodes)
** See Copyright Notice in lua.h
*/
@@ -141,7 +141,7 @@ static const Proto* combine(lua_State* L, int n)
{
Proto* f;
int i=n;
- if (lua_load(L,reader,&i,"=(" PROGNAME ")")!=LUA_OK) fatal(lua_tostring(L,-1));
+ if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1));
f=toproto(L,-1);
for (i=0; i<n; i++)
{