diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-09 06:44:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-09 06:44:22 +0000 |
commit | ca36deeb35622af5cf269aee9c7ed034d6cf9407 (patch) | |
tree | cc6494cc68748460adcdffb72781b27af95aa608 /node.c | |
parent | 36185824f7b84a7b8c90f0aa5c61364e1206f860 (diff) | |
download | ruby-ca36deeb35622af5cf269aee9c7ed034d6cf9407.tar.gz |
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
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |