summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/parser.c b/parser.c
index c5342ae9..bb5205f2 100644
--- a/parser.c
+++ b/parser.c
@@ -54,10 +54,7 @@ static val stream_parser_hash;
static void yy_tok_mark(struct yy_token *tok)
{
- obj_t *ptr = tok->yy_lval.val;
-
- if (gc_is_heap_obj(ptr))
- gc_mark(ptr);
+ gc_conservative_mark(tok->yy_lval.val);
}
static void parser_mark(val obj)