forked from github/server
fix compilation with Lua 5.4 (LUA_QL no longer exists)
This commit is contained in:
parent
b6fff5cb5a
commit
0d2b3a76b7
|
@ -227,7 +227,7 @@ static void dotty(lua_State * L)
|
||||||
lua_insert(L, 1);
|
lua_insert(L, 1);
|
||||||
if (lua_pcall(L, lua_gettop(L) - 1, 0, 0) != 0)
|
if (lua_pcall(L, lua_gettop(L) - 1, 0, 0) != 0)
|
||||||
l_message(progname, lua_pushfstring(L,
|
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 */
|
lua_settop(L, 0); /* clear stack */
|
||||||
|
|
Loading…
Reference in New Issue