diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-17 13:28:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-17 13:28:21 -0300 |
commit | f97c64d7bf4c0f373711795d8faba0e8cd206761 (patch) | |
tree | 99c9e25132b2ef193dc417873e8f44e5c0ea8738 /loslib.c | |
parent | ea3155e380080095a6f8c63297f0505789cf08b7 (diff) | |
download | lua-f97c64d7bf4c0f373711795d8faba0e8cd206761.tar.gz lua-f97c64d7bf4c0f373711795d8faba0e8cd206761.tar.bz2 lua-f97c64d7bf4c0f373711795d8faba0e8cd206761.zip |
macros 'LUA_QL'/'LUA_QL' deprecated
Diffstat (limited to 'loslib.c')
-rw-r--r-- | loslib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loslib.c,v 1.47 2014/10/01 11:54:56 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.48 2014/10/08 19:57:31 roberto Exp roberto $ |
3 | ** Standard Operating System library | 3 | ** Standard Operating System library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -189,7 +189,7 @@ static int getfield (lua_State *L, const char *key, int d) { | |||
189 | res = (int)lua_tointegerx(L, -1, &isnum); | 189 | res = (int)lua_tointegerx(L, -1, &isnum); |
190 | if (!isnum) { | 190 | if (!isnum) { |
191 | if (d < 0) | 191 | if (d < 0) |
192 | return luaL_error(L, "field " LUA_QS " missing in date table", key); | 192 | return luaL_error(L, "field '%s' missing in date table", key); |
193 | res = d; | 193 | res = d; |
194 | } | 194 | } |
195 | lua_pop(L, 1); | 195 | lua_pop(L, 1); |