summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-09-05 11:37:03 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2019-09-05 11:37:03 -0700
commitf211ab20157a840770567ea182b1372e339cd82a (patch)
treeb0f12eaf108466c2795c47950fb472df7fd80f55 /node.c
parent8f096226e1b76f95f4d853d3dea2bc75eeeb5244 (diff)
I forgot to add `break` in my case statements
Give me a break.
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.c b/node.c
index d844473988..64e2d8f43d 100644
--- a/node.c
+++ b/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: