diff options
author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | 2020-07-15 18:44:42 +0200 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2020-07-16 09:16:59 +0800 |
commit | 753d221bfeb1e438724a2ff8168bef9953698f06 (patch) | |
tree | f7e95c63baafc8c87331317dd40c5735060cdeaa | |
parent | b51fb95d96ba58aa65bb1de4476d8ee8288190fe (diff) | |
download | ibus-pinyin-753d221bfeb1e438724a2ff8168bef9953698f06.tar.gz |
Update lmyoslib.c for new lua 5.4 version
Fix lua 5.4 compatibility, due to deprecated LUA_QS macro
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964680 for reference
-rw-r--r-- | lua/lmyoslib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lmyoslib.c b/lua/lmyoslib.c index 65da1f4..bd1ef42 100644 --- a/lua/lmyoslib.c +++ b/lua/lmyoslib.c @@ -57,7 +57,7 @@ static int getfield (lua_State *L, const char *key, int d) { res = (int)lua_tointeger(L, -1); else { if (d < 0) - return luaL_error(L, "field " LUA_QS " missing in date table", key); + return luaL_error(L, "field '%s' missing in date table", key); res = d; } lua_pop(L, 1); |