summaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
-rw-r--r--ast.c6
1 files changed, 6 insertions, 0 deletions
@@ -822,6 +822,12 @@ node_locations(VALUE ast_value, const NODE *node)
location_new(&RNODE_OP_ASGN1(node)->opening_loc),
location_new(&RNODE_OP_ASGN1(node)->closing_loc),
location_new(&RNODE_OP_ASGN1(node)->binary_operator_loc));
case NODE_REDO:
return rb_ary_new_from_args(2,
location_new(nd_code_loc(node)),