summaryrefslogtreecommitdiff
path: root/tool/enc-unicode.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-13 14:16:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-13 14:16:49 +0000
commitb238a3f3fdb575749121f35bbf37bfc1baed050c (patch)
tree263d36ec618f21b42ede70f7aaf38da650fc49cc /tool/enc-unicode.rb
parente0a7c207ffd386f5c4d270755817e4d7a4735c96 (diff)
* tool/enc-unicode.rb: get rid of lots of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/enc-unicode.rb')
-rwxr-xr-xtool/enc-unicode.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb
index b7f5bb5..351d40e 100755
--- a/tool/enc-unicode.rb
+++ b/tool/enc-unicode.rb
@@ -205,6 +205,7 @@ end
# Write Data
puts '%{'
+puts '#define long size_t'
props, data = parse_unicode_data(get_file('UnicodeData.txt'))
print "\n#ifdef USE_UNICODE_PROPERTIES"
props.each do |name|