mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
node.c: fix comments [ci skip]
* node.c (dump_node): fix comments of dynamic string literals, nd_next->nd_head is the interpolation but not a literal string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0e39446e3
commit
d8d51b6708
1 changed files with 3 additions and 3 deletions
6
node.c
6
node.c
|
@ -587,10 +587,10 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
|
|||
ANN("format: [nd_lit]");
|
||||
ANN("example: :\"foo#{ bar }baz\"");
|
||||
dlit:
|
||||
F_LIT(nd_lit, "literal");
|
||||
F_NODE(nd_next->nd_head, "preceding string");
|
||||
F_LIT(nd_lit, "preceding string");
|
||||
F_NODE(nd_next->nd_head, "interpolation");
|
||||
LAST_NODE;
|
||||
F_NODE(nd_next->nd_next, "interpolation");
|
||||
F_NODE(nd_next->nd_next, "tailing strings");
|
||||
break;
|
||||
|
||||
case NODE_EVSTR:
|
||||
|
|
Loading…
Reference in a new issue