Bug #3091 ยป mkexports.patch
mkexports.rb (working copy) | ||
---|---|---|
110 | 110 |
next unless l.sub!(/.*?\s(\(\)\s+)?External\s+\|\s+/, '') |
111 | 111 |
is_data = !$1 |
112 | 112 |
if noprefix or /^[@_]/ =~ l |
113 |
next if /(?!^)@.*@/ =~ l || /@[[:xdigit:]]{16}$/ =~ l || /^_DllMain@/ =~ l |
|
113 |
next if /(?!^)@.*@/ =~ l || /@[[:xdigit:]]{8,16}$/ =~ l || /^_DllMain@/ =~ l
|
|
114 | 114 |
l.sub!(/^[@_]/, '') if /@\d+$/ !~ l |
115 | 115 |
elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1') |
116 | 116 |
next |