aboutsummaryrefslogtreecommitdiffstats
path: root/win32/mkexports.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-28 08:37:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-28 08:37:37 +0000
commit72eb7e2a41b40b344e5cc6c8927485da6de106cd (patch)
tree7efb4aec468d0283d5090ab159da85cb9242bc79 /win32/mkexports.rb
parentfbf3e22a3d4c365b0a4ce2f4349bcffd9d182850 (diff)
downloadruby-72eb7e2a41b40b344e5cc6c8927485da6de106cd.tar.gz
* win32/mkexports.rb (Exports::Mswin#each_export): speed up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/mkexports.rb')
-rwxr-xr-xwin32/mkexports.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 0c17466e09..e000fcf260 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -90,6 +90,7 @@ class Exports::Mswin < Exports
case filetype
when /OBJECT/, /LIBRARY/
next if /^[[:xdigit:]]+ 0+ UNDEF / =~ l
+ next unless /External/ =~ l
next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '')
is_data = !$1
if noprefix or /^[@_]/ =~ l