summaryrefslogtreecommitdiffstats
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
commit229156d9ea5aa00459410b855d9640462570b7ed (patch)
tree7efb4aec468d0283d5090ab159da85cb9242bc79 /win32/mkexports.rb
parentcd1c742f1f32893daae7c299a1ae210a1968f9cb (diff)
downloadruby-229156d9ea5aa00459410b855d9640462570b7ed.tar.gz
ruby-229156d9ea5aa00459410b855d9640462570b7ed.tar.xz
ruby-229156d9ea5aa00459410b855d9640462570b7ed.zip
* win32/mkexports.rb (Exports::Mswin#each_export): speed up.
git-svn-id: http://svn.ruby-lang.org/repos/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 0c17466e0..e000fcf26 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