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 | d8d51b6708d08c2ce60aee352dacb16d864d77b2 (patch) | |
tree | cc6494cc68748460adcdffb72781b27af95aa608 | |
parent | e0e39446e375bce21cf3b6429636aaf35dcfbaae (diff) | |
download | ruby-d8d51b6708d08c2ce60aee352dacb16d864d77b2.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
-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: |