macros 'LUA_QL'/'LUA_QL' deprecated

This commit is contained in:
Roberto Ierusalimschy
2014-10-17 13:28:21 -03:00
parent ea3155e380
commit f97c64d7bf
16 changed files with 67 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.c,v 2.99 2014/07/17 12:30:53 roberto Exp roberto $
** $Id: ldebug.c,v 2.100 2014/07/30 14:00:14 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -515,7 +515,7 @@ static const char *varinfo (lua_State *L, const TValue *o) {
kind = getobjname(ci_func(ci)->p, currentpc(ci),
cast_int(o - ci->u.l.base), &name);
}
return (kind) ? luaO_pushfstring(L, " (%s " LUA_QS ")", kind, name) : "";
return (kind) ? luaO_pushfstring(L, " (%s '%s')", kind, name) : "";
}