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 1.139 2002/10/25 21:29:20 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.140 2002/11/07 15:37:10 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 | */ |
| @@ -326,7 +326,7 @@ static int string_query (lua_State *L) { | |||
| 326 | GCObject *ts; | 326 | GCObject *ts; |
| 327 | int n = 0; | 327 | int n = 0; |
| 328 | for (ts = tb->hash[s]; ts; ts = ts->gch.next) { | 328 | for (ts = tb->hash[s]; ts; ts = ts->gch.next) { |
| 329 | setsvalue2s(L->top, &ts->ts); | 329 | setsvalue2s(L->top, gcotots(ts)); |
| 330 | incr_top(L); | 330 | incr_top(L); |
| 331 | n++; | 331 | n++; |
| 332 | } | 332 | } |
