diff options
author | pixel <pixel> | 2004-01-26 15:32:51 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-01-26 15:32:51 +0000 |
commit | 19ef69cb328093475f4dcfa0e6fee57540934e20 (patch) | |
tree | f705fd7c0c4e8bde92b2cd15171a82a02f9ae286 /lib/lua/src | |
parent | a55113f8f917a409409f2244269df75a8cb828ac (diff) |
Blah
Diffstat (limited to 'lib/lua/src')
-rw-r--r-- | lib/lua/src/luacomp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/lua/src/luacomp.c b/lib/lua/src/luacomp.c index 4e2ec24..4781bff 100644 --- a/lib/lua/src/luacomp.c +++ b/lib/lua/src/luacomp.c @@ -1,5 +1,5 @@ /* -** $Id: luacomp.c,v 1.2 2003-12-11 16:53:30 pixel Exp $ +** $Id: luacomp.c,v 1.3 2004-01-26 15:32:51 pixel Exp $ ** Lua compiler (saves bytecodes to files; also list bytecodes) ** See Copyright Notice in lua.h */ @@ -70,8 +70,7 @@ static void strip(lua_State* L, Proto* f) void luacmain(lua_State * L, int stripping, lua_Chunkwriter w, void * uD) { Proto * f; - int i; - f = combine(L, 1); + f = combine(L, lua_gettop(L)); if (stripping) strip(L, f); luaU_dump(L, f, w, uD); |