summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
authorydah <[email protected]>2024-09-24 14:49:00 +0900
committerYuichiro Kaneko <[email protected]>2024-09-25 09:15:43 +0900
commit509b577e0126d92f37ae45d83863c449f8666be1 (patch)
tree6c4082c676a086f8818717ec19f078772f75ad9c /node_dump.c
parent31a88d1554550a7c70fd63991051890c4fd71ac7 (diff)
Implement BLOCK_PASS NODE keyword locations
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11663
Diffstat (limited to 'node_dump.c')
-rw-r--r--node_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_dump.c b/node_dump.c
index 0555d11cdc..ad248aea74 100644
--- a/node_dump.c
+++ b/node_dump.c
@@ -910,8 +910,9 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
}
}
F_NODE(nd_head, RNODE_BLOCK_PASS, "other arguments");
- LAST_NODE;
F_NODE(nd_body, RNODE_BLOCK_PASS, "block argument");
+ LAST_NODE;
+ F_LOC(operator_loc, RNODE_BLOCK_PASS);
return;
case NODE_DEFN: