aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-10 15:11:54 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-10 15:11:54 -0300
commit915c29f8bd0d4b0435a4b51a6c7913f5e170d09e (patch)
tree50c663be7df7982a7ffcc279d19f701144bfadf9 /lapi.c
parent7ca3c40b50b385ead6b8bc4c54de97b61d11a12a (diff)
downloadlua-915c29f8bd0d4b0435a4b51a6c7913f5e170d09e.tar.gz
lua-915c29f8bd0d4b0435a4b51a6c7913f5e170d09e.tar.bz2
lua-915c29f8bd0d4b0435a4b51a6c7913f5e170d09e.zip
Improvements in the manual
Plus details
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 01abfc15..4411cb29 100644
--- a/lapi.c
+++ b/lapi.c
@@ -671,9 +671,8 @@ static int auxgetstr (lua_State *L, const TValue *t, const char *k) {
671 lu_byte tag; 671 lu_byte tag;
672 TString *str = luaS_new(L, k); 672 TString *str = luaS_new(L, k);
673 luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag); 673 luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag);
674 if (!tagisempty(tag)) { 674 if (!tagisempty(tag))
675 api_incr_top(L); 675 api_incr_top(L);
676 }
677 else { 676 else {
678 setsvalue2s(L, L->top.p, str); 677 setsvalue2s(L, L->top.p, str);
679 api_incr_top(L); 678 api_incr_top(L);