summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-06-18 10:23:23 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-06-18 11:15:54 +0900
commit7adab819074e448ffbb6e8d99e4edb0567e4405a (patch)
treecb6627bb93a53bc2f5cd77d8007c50df3f62c062 /node_dump.c
parent4f79c83a6a040c27840bad0f85520e680deda564 (diff)
Fix the format of NODE_EVSTR rendered by dump_node
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7955
Diffstat (limited to 'node_dump.c')
-rw-r--r--node_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_dump.c b/node_dump.c
index 331ea4da52..52c49df5fa 100644
--- a/node_dump.c
+++ b/node_dump.c
@@ -757,7 +757,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
case NODE_EVSTR:
ANN("interpolation expression");
- ANN("format: \"..#{ [nd_lit] }..\"");
+ ANN("format: \"..#{ [nd_body] }..\"");
ANN("example: \"foo#{ bar }baz\"");
LAST_NODE;
F_NODE(nd_body, "body");