Improvements in the manual

Plus details
This commit is contained in:
Roberto Ierusalimschy
2025-01-10 15:11:54 -03:00
parent 7ca3c40b50
commit 915c29f8bd
4 changed files with 23 additions and 18 deletions

3
lapi.c
View File

@@ -671,9 +671,8 @@ static int auxgetstr (lua_State *L, const TValue *t, const char *k) {
lu_byte tag;
TString *str = luaS_new(L, k);
luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag);
if (!tagisempty(tag)) {
if (!tagisempty(tag))
api_incr_top(L);
}
else {
setsvalue2s(L, L->top.p, str);
api_incr_top(L);