summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
authorydah <[email protected]>2024-09-10 00:13:24 +0900
committerYuichiro Kaneko <[email protected]>2024-09-11 09:28:55 +0900
commit4e6091ce09154d735cca025a4d0130eecebbbc19 ()
treecea93508f61b03a15b6f28b402ecaea980426aeb /node_dump.c
parent1adcc41b94d49899b1809fba119f74501fc992b1 (diff)
Implement WHILE and UNTIL NODE locations
Notes: Merged: https://.com/ruby/ruby/pull/11579
-rw-r--r--node_dump.c4
1 files changed, 3 insertions, 1 deletions
@@ -319,8 +319,10 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
A((RNODE_WHILE(node)->nd_state == 1) ? " (while-end)" : " (begin-end-while)");
}
F_NODE(nd_cond, RNODE_WHILE, "condition");
- LAST_NODE;
F_NODE(nd_body, RNODE_WHILE, "body");
return;
case NODE_ITER: