summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-09 06:44:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-09 06:44:22 +0000
commitd8d51b6708d08c2ce60aee352dacb16d864d77b2 (patch)
treecc6494cc68748460adcdffb72781b27af95aa608 /node.c
parente0e39446e375bce21cf3b6429636aaf35dcfbaae (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/node.c b/node.c
index f964d55..93f4df9 100644
--- a/node.c
+++ b/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: