From 57a40149812f4af11c8c9cc828522c640d293a71 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 30 Jul 2023 10:05:16 +1200 Subject: [PATCH] Fix some ldoc mistakes --- config.ld | 2 +- lua-5.4/ldblib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ }