aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.c b/node.c
index 99558319f8..4c2810b0e2 100644
--- a/node.c
+++ b/node.c
@@ -1184,6 +1184,7 @@ void
rb_ast_mark(rb_ast_t *ast)
{
if (ast->node_buffer) rb_gc_mark(ast->node_buffer->mark_ary);
+ if (ast->body.compile_option) rb_gc_mark(ast->body.compile_option);
}
void