From f97c64d7bf4c0f373711795d8faba0e8cd206761 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 17 Oct 2014 13:28:21 -0300 Subject: macros 'LUA_QL'/'LUA_QL' deprecated --- ltablib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ltablib.c') diff --git a/ltablib.c b/ltablib.c index 8fced7a3..85004770 100644 --- a/ltablib.c +++ b/ltablib.c @@ -1,5 +1,5 @@ /* -** $Id: ltablib.c,v 1.75 2014/08/21 20:07:56 roberto Exp roberto $ +** $Id: ltablib.c,v 1.76 2014/09/22 06:42:15 roberto Exp roberto $ ** Library for Table Manipulation ** See Copyright Notice in lua.h */ @@ -91,7 +91,7 @@ static int tinsert (lua_State *L) { break; } default: { - return luaL_error(L, "wrong number of arguments to " LUA_QL("insert")); + return luaL_error(L, "wrong number of arguments to 'insert'"); } } (*ta.seti)(L, 1, pos); /* t[pos] = v */ @@ -154,8 +154,8 @@ static int tmove (lua_State *L) { static void addfield (lua_State *L, luaL_Buffer *b, TabA *ta, lua_Integer i) { (*ta->geti)(L, 1, i); if (!lua_isstring(L, -1)) - luaL_error(L, "invalid value (%s) at index %d in table for " - LUA_QL("concat"), luaL_typename(L, -1), i); + luaL_error(L, "invalid value (%s) at index %d in table for 'concat'", + luaL_typename(L, -1), i); luaL_addvalue(b); } -- cgit v1.2.3-55-g6feb