mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
I forgot to add break
in my case statements
Give me a break.
This commit is contained in:
parent
8f096226e1
commit
f211ab2015
1 changed files with 2 additions and 0 deletions
2
node.c
2
node.c
|
@ -1269,11 +1269,13 @@ mark_ast_value(void *ctx, NODE * node)
|
|||
{
|
||||
struct rb_ary_pattern_info *apinfo = node->nd_apinfo;
|
||||
rb_gc_mark(apinfo->imemo);
|
||||
break;
|
||||
}
|
||||
case NODE_ARGS:
|
||||
{
|
||||
struct rb_args_info *args = node->nd_ainfo;
|
||||
rb_gc_mark(args->imemo);
|
||||
break;
|
||||
}
|
||||
case NODE_LIT:
|
||||
case NODE_STR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue