mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (create_makefile): prevent substitution of macro
definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c27f8d5b3a
commit
624ae68379
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
Sun Jul 9 18:04:14 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Jul 9 18:06:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
|
||||
|
||||
* lib/mkmf.rb (create_makefile): prevent substitution of macro
|
||||
definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
|
||||
|
||||
Sun Jul 9 07:58:48 2006 Ryan Davis <ryand@zenspider.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_f95.rb: massive overhaul from Yasuhiro
|
||||
|
|
|
@ -1248,7 +1248,7 @@ site-install-rb: install-rb
|
|||
suffixes << m[1] << m[2]
|
||||
implicit = [[m[1], m[2]], [m.post_match]]
|
||||
next
|
||||
elsif RULE_SUBST and /\A[$\w][^#]*:/ =~ line
|
||||
elsif RULE_SUBST and /\A(?!\s*\w+\s*=)[$\w][^#]*:/ =~ line
|
||||
line.gsub!(%r"(?<=\s)(?!\.)([^$(){}+=:\s\/\\,]+)(?=\s|\z)") {|*m| RULE_SUBST % m}
|
||||
end
|
||||
depout << line
|
||||
|
|
Loading…
Reference in a new issue