Avoid compiler warnings about redefined C++ keywords.
This commit is contained in:
@@ -257,7 +257,7 @@ LJLIB_ASM(tostring) LJLIB_REC(.)
|
||||
if (tvisfunc(o) && isffunc(funcV(o)))
|
||||
lua_pushfstring(L, "function: fast#%d", funcV(o)->c.ffid);
|
||||
else
|
||||
lua_pushfstring(L, "%s: %p", typename(o), lua_topointer(L, 1));
|
||||
lua_pushfstring(L, "%s: %p", lj_typename(o), lua_topointer(L, 1));
|
||||
/* Note: lua_pushfstring calls the GC which may invalidate o. */
|
||||
s = strV(L->top-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user