diff options
author | Lua Team <team@lua.org> | 2011-11-30 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2011-11-30 12:00:00 +0000 |
commit | ac1beaea25f1fec341e1edb168c63ac7131a6bdd (patch) | |
tree | 07b408b92516a459a685fdc1aca30694663051f3 /src/luac.c | |
parent | dfa489618335f21b74e1b2040a64b28dcbe048a6 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++) { |