summaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
-rw-r--r--ast.c5
1 files changed, 5 insertions, 0 deletions
@@ -797,6 +797,11 @@ node_locations(VALUE ast_value, const NODE *node)
location_new(nd_code_loc(node)),
location_new(&RNODE_CASE2(node)->case_keyword_loc),
location_new(&RNODE_CASE2(node)->end_keyword_loc));
case NODE_NEXT:
return rb_ary_new_from_args(2,
location_new(nd_code_loc(node)),