diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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>"); |
