diff options
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.39 1999/12/27 17:33:22 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.40 2000/01/25 13:57:18 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,10 +33,10 @@ static void protomark (lua_State *L, TProtoFunc *f) { | |||
33 | int i; | 33 | int i; |
34 | f->marked = 1; | 34 | f->marked = 1; |
35 | strmark(L, f->source); | 35 | strmark(L, f->source); |
36 | for (i=f->nstrcnst-1; i>=0; i--) | 36 | for (i=f->nkstr-1; i>=0; i--) |
37 | strmark(L, f->strcnst[i]); | 37 | strmark(L, f->kstr[i]); |
38 | for (i=f->nprotocnst-1; i>=0; i--) | 38 | for (i=f->nkproto-1; i>=0; i--) |
39 | protomark(L, f->protocnst[i]); | 39 | protomark(L, f->kproto[i]); |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||