diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.132 2002/08/06 15:32:22 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.133 2002/08/06 18:01:50 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 | */ |
@@ -324,10 +324,10 @@ static int string_query (lua_State *L) { | |||
324 | return 2; | 324 | return 2; |
325 | } | 325 | } |
326 | else if (s < tb->size) { | 326 | else if (s < tb->size) { |
327 | TString *ts; | 327 | GCObject *ts; |
328 | int n = 0; | 328 | int n = 0; |
329 | for (ts = tb->hash[s]; ts; ts = ts->tsv.nexthash) { | 329 | for (ts = tb->hash[s]; ts; ts = ts->gch.next) { |
330 | setsvalue(L->top, ts); | 330 | setsvalue(L->top, &ts->ts); |
331 | incr_top(L); | 331 | incr_top(L); |
332 | n++; | 332 | n++; |
333 | } | 333 | } |