aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ltests.c b/ltests.c
index cb11b4e1..886996b4 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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 }