Fix some ldoc mistakes
This commit is contained in:
parent
479e6ef5ec
commit
57a4014981
2 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue