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.34 2005/12/22 16:19:56 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.35 2006/01/10 12:50:00 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 | */ |
| @@ -564,7 +564,7 @@ static int table_query (lua_State *L) { | |||
| 564 | t = hvalue(obj_at(L, 1)); | 564 | t = hvalue(obj_at(L, 1)); |
| 565 | if (i == -1) { | 565 | if (i == -1) { |
| 566 | lua_pushinteger(L, t->sizearray); | 566 | lua_pushinteger(L, t->sizearray); |
| 567 | lua_pushinteger(L, t->node == luaH_dummynode ? 0 : sizenode(t)); | 567 | lua_pushinteger(L, luaH_isdummy(t->node) ? 0 : sizenode(t)); |
| 568 | lua_pushinteger(L, t->lastfree - t->node); | 568 | lua_pushinteger(L, t->lastfree - t->node); |
| 569 | } | 569 | } |
| 570 | else if (i < t->sizearray) { | 570 | else if (i < t->sizearray) { |
