aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-06-25 09:18:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-06-25 09:18:10 -0300
commitd9ea6eca7cd86758b9ff994b9e2eb1fa625155c9 (patch)
treef632e07b76d8629d3dec5f750516e30d5301f39d /ltests.c
parentca3865cf1b1e0195de9d1c71e48305146798cb95 (diff)
downloadlua-d9ea6eca7cd86758b9ff994b9e2eb1fa625155c9.tar.gz
lua-d9ea6eca7cd86758b9ff994b9e2eb1fa625155c9.tar.bz2
lua-d9ea6eca7cd86758b9ff994b9e2eb1fa625155c9.zip
macro 'key2tal' replaced by 'gkey' (as both were equal)
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 2b38b5e0..7bafe829 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.108 2010/05/17 20:10:17 roberto Exp roberto $ 2** $Id: ltests.c,v 2.109 2010/06/10 21:29:47 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -689,7 +689,7 @@ static int table_query (lua_State *L) {
689 if (!ttisnil(gval(gnode(t, i))) || 689 if (!ttisnil(gval(gnode(t, i))) ||
690 ttisnil(gkey(gnode(t, i))) || 690 ttisnil(gkey(gnode(t, i))) ||
691 ttisnumber(gkey(gnode(t, i)))) { 691 ttisnumber(gkey(gnode(t, i)))) {
692 pushobject(L, key2tval(gnode(t, i))); 692 pushobject(L, gkey(gnode(t, i)));
693 } 693 }
694 else 694 else
695 lua_pushliteral(L, "<undef>"); 695 lua_pushliteral(L, "<undef>");