Fix the format of NODE_EVSTR rendered by dump_node

This commit is contained in:
yui-knk 2023-06-18 10:23:23 +09:00 committed by Yuichiro Kaneko
parent 4f79c83a6a
commit 7adab81907
Notes: git 2023-06-18 02:16:12 +00:00

View File

@ -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");