lua-users home
lua-l archive

Re: Lua return 2

[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

AltStyle によって変換されたページ (->オリジナル) /