commit 70e2b7ab8680ca290d4c682705a9d9f5220f6073
parent 5a144e891a4b8965fc9fa16fa1efa1eaa3da2390
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 19 Mar 2003 18:14:31 -0300
name changes to avoid name collision between macros and variables
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ltests.c b/ltests.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltests.c,v 1.154 2003/02/27 12:33:07 roberto Exp roberto $
+** $Id: ltests.c,v 1.155 2003/03/11 12:24:34 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -307,14 +307,14 @@ static int table_query (lua_State *L) {
lua_pushnil(L);
}
else if ((i -= t->sizearray) < sizenode(t)) {
- if (!ttisnil(val(node(t, i))) ||
- ttisnil(key(node(t, i))) ||
- ttisnumber(key(node(t, i)))) {
- luaA_pushobject(L, key(node(t, i)));
+ if (!ttisnil(gval(gnode(t, i))) ||
+ ttisnil(gkey(gnode(t, i))) ||
+ ttisnumber(gkey(gnode(t, i)))) {
+ luaA_pushobject(L, gkey(gnode(t, i)));
}
else
lua_pushstring(L, "<undef>");
- luaA_pushobject(L, val(&t->node[i]));
+ luaA_pushobject(L, gval(gnode(t, i)));
if (t->node[i].next)
lua_pushnumber(L, t->node[i].next - t->node);
else