diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-25 09:18:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-25 09:18:10 -0300 |
| commit | d9ea6eca7cd86758b9ff994b9e2eb1fa625155c9 (patch) | |
| tree | f632e07b76d8629d3dec5f750516e30d5301f39d /ltests.c | |
| parent | ca3865cf1b1e0195de9d1c71e48305146798cb95 (diff) | |
| download | lua-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.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>"); |
