diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 05:13:48 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 05:13:48 +0000 |
commit | 82875c077c6f242bb339386932da1b31f0355db8 (patch) | |
tree | 2cdc2281e8476474f4b1678e308f3c9fb7f3a528 /ext/extmk.rb | |
parent | 09f210ffb6af1ea3b0a2bd52497978cd7f2354f8 (diff) | |
download | ruby-82875c077c6f242bb339386932da1b31f0355db8.tar.gz ruby-82875c077c6f242bb339386932da1b31f0355db8.tar.xz ruby-82875c077c6f242bb339386932da1b31f0355db8.zip |
* parse.y (method_call): remove (fn)(args) style lambda
invocation, add fn.(args) instead.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r-- | ext/extmk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index c3412d4eb..a799544f0 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -358,7 +358,7 @@ end unless $extstatic ext_prefix = "#{$top_srcdir}/ext" exts = $static_ext.sort_by {|t, i| i}.collect {|t, i| t} -if $extension +if $extension && $extension.size > 0 exts |= $extension.select {|d| File.directory?("#{ext_prefix}/#{d}")} else withes, withouts = %w[--with --without].collect {|w| |