diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-10 15:11:54 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-10 15:11:54 -0300 |
commit | 915c29f8bd0d4b0435a4b51a6c7913f5e170d09e (patch) | |
tree | 50c663be7df7982a7ffcc279d19f701144bfadf9 /lapi.c | |
parent | 7ca3c40b50b385ead6b8bc4c54de97b61d11a12a (diff) | |
download | lua-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |