Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff8f8c1

Browse files
committed
merge revision(s) 20587:
* 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 <[email protected]> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@34002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 5a7338d commit ff8f8c1

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Mon Oct 17 04:20:22 2011 Nobuyoshi Nakada <[email protected]>
2+
3+
* mkconfig.rb: fix for continued lines. based on a patch from
4+
Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].
5+
16
Mon Oct 17 04:19:39 2011 Yukihiro Matsumoto <[email protected]>
27

38
* numeric.c (flo_cmp): Infinity is greater than any bignum

mkconfig.rb

+5-6
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ module Config
5656
continued_name = name
5757
next
5858
end
59-
when /^"(.+)"\s*(\\)?$/
59+
when /^"(.*)"\s*(\\)?$/
6060
if continued_line
6161
continued_line << $1
62-
unless $2
63-
val = continued_line.join("")
64-
name = continued_name
65-
continued_line = nil
66-
end
62+
next if $2
63+
val = continued_line.join("")
64+
name = continued_name
65+
continued_line = nil
6766
end
6867
when /^(?:ac_given_)?INSTALL=(.*)/
6968
v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n"

0 commit comments

Comments
 (0)