mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
preparations for stack reallocation
This commit is contained in:
parent
7ab7703b53
commit
dea98702c9
2 changed files with 2 additions and 2 deletions
2
lapi.c
2
lapi.c
|
|
@ -654,7 +654,7 @@ LUA_API void lua_concat (lua_State *L, int n) {
|
|||
lua_lock(L);
|
||||
api_checknelems(L, n);
|
||||
if (n >= 2) {
|
||||
luaV_strconc(L, n, L->top);
|
||||
luaV_strconc(L, n, L->top - L->ci->base - 1);
|
||||
L->top -= (n-1);
|
||||
luaC_checkGC(L);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue