From 0d2b3a76b775023dca5569eef6aa16b8a114874d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 13 Feb 2021 13:32:24 +0100 Subject: [PATCH] fix compilation with Lua 5.4 (LUA_QL no longer exists) --- src/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index f134b2164..11e0e1f81 100644 --- a/src/console.c +++ b/src/console.c @@ -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 */