From ca36deeb35622af5cf269aee9c7ed034d6cf9407 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 9 Oct 2015 06:44:22 +0000 Subject: 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 --- node.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node.c') diff --git a/node.c b/node.c index f964d55d7a..93f4df9ba2 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: -- cgit v1.2.3