Add debug library for lua.
This allows to print tracebacks in lua and simplifies debugging.
This commit is contained in:
parent
a2d961f060
commit
01e89aaa7f
|
@ -1210,6 +1210,7 @@ static bool initLua(tic_mem* tic, const char* code)
|
||||||
{ LUA_TABLIBNAME, luaopen_table },
|
{ LUA_TABLIBNAME, luaopen_table },
|
||||||
{ LUA_STRLIBNAME, luaopen_string },
|
{ LUA_STRLIBNAME, luaopen_string },
|
||||||
{ LUA_MATHLIBNAME, luaopen_math },
|
{ LUA_MATHLIBNAME, luaopen_math },
|
||||||
|
{ LUA_DBLIBNAME, luaopen_debug },
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue