diff options
author | ydah <[email protected]> | 2024-09-22 00:13:16 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-09-23 09:19:37 +0900 |
commit | feac2b4b77b337a637d80793c53b680e5697cab6 () | |
tree | 60fee0d4bd0bb523aa24935abf9ec8a4a73a6b89 /ast.c | |
parent | 02b36f75721aa61d48e3031c71695837d7a8a410 (diff) |
Implement CASE NODE keyword locations
Notes: Merged: https://.com/ruby/ruby/pull/11661
-rw-r--r-- | ast.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -787,6 +787,11 @@ node_locations(VALUE ast_value, const NODE *node) return rb_ary_new_from_args(2, location_new(nd_code_loc(node)), location_new(&RNODE_BREAK(node)->keyword_loc)); case NODE_NEXT: return rb_ary_new_from_args(2, location_new(nd_code_loc(node)), |