update lua 5.4.7

This commit is contained in:
Cloud Wu
2024-06-26 08:41:59 +08:00
parent aa20f7642b
commit afb50a0587
31 changed files with 388 additions and 260 deletions

View File

@@ -542,7 +542,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
addstr2buff(&buff, fmt, strlen(fmt)); /* rest of 'fmt' */
clearbuff(&buff); /* empty buffer into the stack */
lua_assert(buff.pushed == 1);
return svalue(s2v(L->top.p - 1));
return getstr(tsvalue(s2v(L->top.p - 1)));
}