diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-13 00:32:46 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-13 00:32:46 +0000 |
| commit | 541abedba3a2d10a04c3cfd74b426b3ea88b8194 (patch) | |
| tree | fb8623f9d680dfce011fa5ca6cf7644d666e36fd /parse.y | |
| parent | a27f6b1cfe2d56ffeab3683332588f77f594f10f (diff) | |
| download | ruby-541abedba3a2d10a04c3cfd74b426b3ea88b8194.tar.gz ruby-541abedba3a2d10a04c3cfd74b426b3ea88b8194.tar.xz ruby-541abedba3a2d10a04c3cfd74b426b3ea88b8194.zip | |
* parse.y (literal_concat_string): wrong optimization.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4367,8 +4367,7 @@ literal_concat_string(head, tail, str) head->nd_alen += 1; } if (!tail) tail = NEW_STR(str); - last1->nd_next = NEW_LIST(tail); - head->nd_alen += 1; + list_append(head, tail); return head; } } |
