summaryrefslogtreecommitdiff
path: root/wince/mkexports.rb
diff options
context:
space:
mode:
Diffstat (limited to 'wince/mkexports.rb')
-rw-r--r--wince/mkexports.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/wince/mkexports.rb b/wince/mkexports.rb
index 4e06eff625..2508920c67 100644
--- a/wince/mkexports.rb
+++ b/wince/mkexports.rb
@@ -7,13 +7,13 @@ IO.foreach("|dumpbin -symbols " + objs.join(' ')) do |l|
next if /^[0-9A-F]+ 0+ UNDEF / =~ l
next unless l.sub!(/.*\sExternal\s+\|\s+/, '')
if ARGV[1]=="sh3"
- if l.sub!(/^_/, '') # _ で始まるならtrue
- next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l # かつ、@ とか混じったら next
- elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1') # _ ではじまっていなくて、@ とか混じっていたらnext
+ if l.sub!(/^_/, '')
+ next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l
+ elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1')
next
end
else
- next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l # かつ、@ とか混じったら next
+ next if /@.*@/ =~ l || /@[0-9a-f]{16}$/ =~ l
end
SYM[l.strip] = true
end