mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/mkconfig.rb: remove string literal concatenation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
70e7d07329
commit
8ca58751c1
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Oct 25 13:35:07 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* tool/mkconfig.rb: remove string literal concatenation.
|
||||
|
||||
Thu Oct 25 13:09:01 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* parse.y: show a warning for concatenating string literals because
|
||||
|
|
|
@ -128,7 +128,7 @@ File.foreach "config.status" do |line|
|
|||
val.sub!(/universal/, %q[#{arch && universal[/(?:\A|\s)#{Regexp.quote(arch)}=(\S+)/, 1] || '\&'}])
|
||||
end
|
||||
end
|
||||
v = " CONFIG[\"#{name}\"] #{win32 && vars[name] ? '<< "\n"' : '='} #{val}\n"
|
||||
v = " CONFIG[\"#{name}\"] #{win32 && vars[name] ? '<< "\n" +' : '='} #{val}\n"
|
||||
vars[name] = true
|
||||
if fast[name]
|
||||
v_fast << v
|
||||
|
|
Loading…
Add table
Reference in a new issue