mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (literal_concat_string): wrong optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d554a55d9b
commit
9b198b3d85
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
|
* parse.y (literal_concat_string): wrong optimization.
|
||||||
|
|
||||||
Sat Jul 13 01:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Sat Jul 13 01:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* lib/resolv.rb (Resolv::DNS::open, close): new.
|
* lib/resolv.rb (Resolv::DNS::open, close): new.
|
||||||
|
|
3
parse.y
3
parse.y
|
@ -4367,8 +4367,7 @@ literal_concat_string(head, tail, str)
|
||||||
head->nd_alen += 1;
|
head->nd_alen += 1;
|
||||||
}
|
}
|
||||||
if (!tail) tail = NEW_STR(str);
|
if (!tail) tail = NEW_STR(str);
|
||||||
last1->nd_next = NEW_LIST(tail);
|
list_append(head, tail);
|
||||||
head->nd_alen += 1;
|
|
||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue