mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add debugging code to the mark function
This commit is contained in:
parent
01aa2462b5
commit
8cd845aa5b
1 changed files with 2 additions and 0 deletions
2
node.c
2
node.c
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue