aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:21:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:21:46 -0200
commitfca0a12e23f964006ce43d35ab86b27c6bbb0a48 (patch)
tree7c57492d6ae7d2b2178906e1968295b3ec83eb9f /ltests.c
parent72659a06050632da1a9b4c492302be46ac283f6b (diff)
downloadlua-fca0a12e23f964006ce43d35ab86b27c6bbb0a48.tar.gz
lua-fca0a12e23f964006ce43d35ab86b27c6bbb0a48.tar.bz2
lua-fca0a12e23f964006ce43d35ab86b27c6bbb0a48.zip
avoid clashing names between macros and fields
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 6171af95..e51ff23f 100644
--- a/ltests.c
+++ b/ltests.c
@@ -277,7 +277,7 @@ static int table_query (lua_State *L) {
277 } 277 }
278 else 278 else
279 lua_pushstring(L, "<undef>"); 279 lua_pushstring(L, "<undef>");
280 luaA_pushobject(L, &t->node[i].val); 280 luaA_pushobject(L, val(&t->node[i]));
281 if (t->node[i].next) 281 if (t->node[i].next)
282 lua_pushnumber(L, t->node[i].next - t->node); 282 lua_pushnumber(L, t->node[i].next - t->node);
283 else 283 else