diff options
author | ydah <[email protected]> | 2024-09-10 00:13:24 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-09-11 09:28:55 +0900 |
commit | 4e6091ce09154d735cca025a4d0130eecebbbc19 () | |
tree | cea93508f61b03a15b6f28b402ecaea980426aeb /node_dump.c | |
parent | 1adcc41b94d49899b1809fba119f74501fc992b1 (diff) |
Implement WHILE and UNTIL NODE locations
Notes: Merged: https://.com/ruby/ruby/pull/11579
-rw-r--r-- | node_dump.c | 4 |
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: |