summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
authorydah <[email protected]>2024-09-05 18:41:10 +0900
committerYuichiro Kaneko <[email protected]>2024-09-09 10:34:02 +0900
commitd52e599538fb67535c95d86aec89fd7e53c61818 ()
treefcb0fd4bbd8a9db6a598a135a0f0a62f2178ed5d /node_dump.c
parentb5f12910151f93f5f14057c52ffffa2b2ef09caa (diff)
Implement WHEN NODE locations
Notes: Merged: https://.com/ruby/ruby/pull/11553
-rw-r--r--node_dump.c3
1 files changed, 3 insertions, 0 deletions
@@ -289,6 +289,9 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
F_NODE(nd_body, RNODE_WHEN, "when body");
LAST_NODE;
F_NODE(nd_next, RNODE_WHEN, "next when clause");
return;
case NODE_IN: