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
commitcb8a0a8e4bd69adc8b9d7222391aa79e557fe21b (patch)
tree569096cb04499e213b7daa31f25f89d22a81cf6c /parse.y
parent64a1b5c352984127227f9c739a441d27af3032a2 (diff)
* node.h (NEW_DSTR): adjust list length.
* parse.y (literal_concat): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@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 41fd0cde2f..2cc199097f 100644
--- a/parse.y
+++ b/parse.y
@@ -4652,6 +4652,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;