add debugging code to the mark function

This commit is contained in:
Aaron Patterson 2019-09-04 17:00:09 -07:00
parent 01aa2462b5
commit 8cd845aa5b
No known key found for this signature in database
GPG Key ID: 953170BCB4FFAFC6

2
node.c
View File

@ -1276,6 +1276,8 @@ mark_ast_value(void *ctx, NODE * node)
case NODE_ARYPTN:
rb_gc_mark(node->nd_lit);
break;
default:
rb_bug("unreachable");
}
}