summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-18 05:00:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-18 05:00:58 +0000
commit06ec03900534450824896d6fb0bb7eadad2a4ba2 (patch)
tree30a9e1b0287f662e68eb367bf7fd50db8de71f05 /parse.y
parent3375c0bf6a50d148d8d8ead725f1f557b8a14feb (diff)
* node.h (NEW_DSTR): adjust list length.
* parse.y (literal_concat): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 03369ea242..d934774eb4 100644
--- a/parse.y
+++ b/parse.y
@@ -4681,6 +4681,7 @@ literal_concat(head, tail)
case NODE_EVSTR:
if (htype == NODE_STR) {
nd_set_type(head, NODE_DSTR);
+ head->nd_alen = 1;
}
list_append(head, tail);
break;