Details in comments

This commit is contained in:
Roberto Ierusalimschy
2020-05-07 14:52:19 -03:00
parent 61a4e64a66
commit 0be57b9b6d
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ static int pushglobalfuncname (lua_State *L, lua_Debug *ar) {
lua_remove(L, -2); /* remove original name */
}
lua_copy(L, -1, top + 1); /* copy name to proper place */
lua_settop(L, top + 1); /* remove table "loaded" an name copy */
lua_settop(L, top + 1); /* remove table "loaded" and name copy */
return 1;
}
else {