fix compilation with Lua 5.4 (LUA_QL no longer exists)

This commit is contained in:
Enno Rehling 2021-02-13 13:32:24 +01:00 committed by Enno Rehling
parent b6fff5cb5a
commit 0d2b3a76b7
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ static void dotty(lua_State * L)
lua_insert(L, 1);
if (lua_pcall(L, lua_gettop(L) - 1, 0, 0) != 0)
l_message(progname, lua_pushfstring(L,
"error calling " LUA_QL("print") " (%s)", lua_tostring(L, -1)));
"error calling 'print' (%s)", lua_tostring(L, -1)));
}
}
lua_settop(L, 0); /* clear stack */