diff --git a/config.ld b/config.ld index a236728..39e85cd 100644 --- a/config.ld +++ b/config.ld @@ -19,7 +19,7 @@ file = { ".", exclude = { "external", - "lua-5.4" + "lua-5.4/lua.h" } } diff --git a/lua-5.4/ldblib.c b/lua-5.4/ldblib.c index 6dcbaa9..9b40a34 100644 --- a/lua-5.4/ldblib.c +++ b/lua-5.4/ldblib.c @@ -379,7 +379,7 @@ static int db_sethook (lua_State *L) { if (!luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY)) { /* table just created; initialize it */ lua_pushliteral(L, "k"); - lua_setfield(L, -2, "__mode"); /** hooktable.__mode = "k" */ + lua_setfield(L, -2, "__mode"); /* hooktable.__mode = "k" */ lua_pushvalue(L, -1); lua_setmetatable(L, -2); /* metatable(hooktable) = hooktable */ }