summaryrefslogtreecommitdiff
path: root/wince/mkexports.rb
diff options
context:
space:
mode:
authoruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-24 09:17:35 +0000
committeruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-24 09:17:35 +0000
commit0ece2407d2e1dec907d59d458c70ee6c5d1c6602 (patch)
treef1c2067f30445b4e7901f831dc5dfc6f0ad4bd8c /wince/mkexports.rb
parent8a82c68e5bd07476bf51d386b1fe1cb1dad4a682 (diff)
* wince/Makefile.sub: add eMbedded Visual C++ 4.0 support.
* wince/resource.rb: ditto. * wince/setup.mak: ditto. * wince/configure.bat: ditto. * wince/mkexports.rb: delete japanese comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 4e06eff..2508920 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