From 72eb7e2a41b40b344e5cc6c8927485da6de106cd Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 28 May 2008 08:37:37 +0000 Subject: * 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 --- win32/mkexports.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'win32/mkexports.rb') 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 -- cgit v1.2.3