diff options
Diffstat (limited to 'lref.c')
-rw-r--r-- | lref.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lref.c,v 1.8 2000/03/03 14:58:26 roberto Exp roberto $ | 2 | ** $Id: lref.c,v 1.9 2000/03/10 18:37:44 roberto Exp roberto $ |
3 | ** reference mechanism | 3 | ** reference mechanism |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -84,7 +84,7 @@ static int ismarked (const TObject *o) { | |||
84 | switch (o->ttype) { | 84 | switch (o->ttype) { |
85 | case TAG_STRING: case TAG_USERDATA: | 85 | case TAG_STRING: case TAG_USERDATA: |
86 | return o->value.ts->marked; | 86 | return o->value.ts->marked; |
87 | case TAG_ARRAY: | 87 | case TAG_TABLE: |
88 | return o->value.a->marked; | 88 | return o->value.a->marked; |
89 | case TAG_LCLOSURE: case TAG_CCLOSURE: | 89 | case TAG_LCLOSURE: case TAG_CCLOSURE: |
90 | return o->value.cl->marked; | 90 | return o->value.cl->marked; |