Skip to content

Commit

Permalink
merge revision(s) 20587:
Browse files Browse the repository at this point in the history

	* mkconfig.rb: fix for continued lines.  based on a patch from
	  Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@34002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed Dec 10, 2011
1 parent 5a7338d commit ff8f8c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Mon Oct 17 04:20:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>

* mkconfig.rb: fix for continued lines. based on a patch from
Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].

Mon Oct 17 04:19:39 2011 Yukihiro Matsumoto <matz@ruby-lang.org>

* numeric.c (flo_cmp): Infinity is greater than any bignum
Expand Down
11 changes: 5 additions & 6 deletions mkconfig.rb
Expand Up @@ -56,14 +56,13 @@ module Config
continued_name = name
next
end
when /^"(.+)"\s*(\\)?$/
when /^"(.*)"\s*(\\)?$/
if continued_line
continued_line << $1
unless $2
val = continued_line.join("")
name = continued_name
continued_line = nil
end
next if $2
val = continued_line.join("")
name = continued_name
continued_line = nil
end
when /^(?:ac_given_)?INSTALL=(.*)/
v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n"
Expand Down

0 comments on commit ff8f8c1

Please sign in to comment.