From 70e2b7ab8680ca290d4c682705a9d9f5220f6073 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 19 Mar 2003 18:14:53 -0300 Subject: name changes to avoid name collision between macros and variables --- ltests.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ltests.c b/ltests.c index 95a43af0..da880c65 100644 --- 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, ""); - 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 -- cgit v1.2.3-55-g6feb