summaryrefslogtreecommitdiff
path: root/ext/-test-/ast
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/ast')
-rw-r--r--ext/-test-/ast/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/ast/ast.c b/ext/-test-/ast/ast.c
index ead7400786..eab1cfb99a 100644
--- a/ext/-test-/ast/ast.c
+++ b/ext/-test-/ast/ast.c
@@ -198,10 +198,10 @@ node_children(rb_ast_t *ast, NODE *node)
loop:
return rb_ary_new_from_node_args(ast, 2, node->nd_cond, node->nd_body);
case NODE_ITER:
- goto iter;
case NODE_FOR:
- iter:
return rb_ary_new_from_node_args(ast, 2, node->nd_iter, node->nd_body);
+ case NODE_FOR_MASGN:
+ return rb_ary_new_from_node_args(ast, 1, node->nd_var);
case NODE_BREAK:
goto jump;
case NODE_NEXT: