summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
authorydah <[email protected]>2024-09-11 16:17:15 +0900
committerYuichiro Kaneko <[email protected]>2024-09-25 09:06:42 +0900
commit31a88d1554550a7c70fd63991051890c4fd71ac7 ()
treec89114916dfefb020753a1c17f8386c2ece16a82 /node_dump.c
parent6b46060fc29055b1e1d38da83959f4f2c98edfb1 (diff)
Implement RETURN NODE keyword locations
Notes: Merged: https://.com/ruby/ruby/pull/11589
-rw-r--r--node_dump.c3
1 files changed, 2 insertions, 1 deletions
@@ -374,8 +374,9 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
ANN("return statement");
ANN("format: return [nd_stts]");
ANN("example: return 1");
- LAST_NODE;
F_NODE(nd_stts, RNODE_RETURN, "value");
return;
case NODE_REDO: