lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>With LUA_DEBUG defined, the output of luac was:

>Assertion failed: --(*(*(((int * *)(D->L)) - 1))) == 0, file ldump.c, line 29

That's a slight oversight. Here's a patch for luac.c:

 <   luaU_dump(L,f,writer,D);
 ---
 >   lua_lock(L);
 >   luaU_dump(L,f,writer,D);
 >   lua_unlock(L);

--lhf