summaryrefslogtreecommitdiff
path: root/src/luac.c
diff options
context:
space:
mode:
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++)
{