diff options
| -rw-r--r-- | lgc.c | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lgc.c,v 1.17 1998/03/06 16:54:42 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.18 1998/03/09 21:49:52 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 | */ |
| @@ -169,8 +169,7 @@ static void protomark (TProtoFunc *f) | |||
| 169 | LocVar *v = f->locvars; | 169 | LocVar *v = f->locvars; |
| 170 | int i; | 170 | int i; |
| 171 | f->head.marked = 1; | 171 | f->head.marked = 1; |
| 172 | if (f->fileName) | 172 | strmark(f->fileName); |
| 173 | strmark(f->fileName); | ||
| 174 | for (i=0; i<f->nconsts; i++) | 173 | for (i=0; i<f->nconsts; i++) |
| 175 | markobject(&f->consts[i]); | 174 | markobject(&f->consts[i]); |
| 176 | if (v) { | 175 | if (v) { |
