summaryrefslogtreecommitdiff
path: root/tool/enc-unicode.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-23 15:49:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-23 15:49:10 +0000
commit81ab413288b935d4c09cf9b3547c4d3913671874 (patch)
treeccc6305c6f420fdc2b2e47054d009ecc668e56ff /tool/enc-unicode.rb
parentde4181735161a4a4bbb3771ebb30bd620c243b06 (diff)
fix GraphemeBreakProperty.txt
* tool/downloader.rb: download to the file given in ARGV. * tool/enc-unicode.rb (parse_GraphemeBreakProperty): fix data file path as $(UNICODE_PROPERTY_FILES) in common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/enc-unicode.rb')
-rwxr-xr-xtool/enc-unicode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb
index 14ed5d076c..220c46c8ef 100755
--- a/tool/enc-unicode.rb
+++ b/tool/enc-unicode.rb
@@ -212,7 +212,7 @@ def parse_GraphemeBreakProperty(data)
current = nil
cps = []
ages = []
- data_foreach('GraphemeBreakProperty.txt') do |line|
+ data_foreach('auxiliary/GraphemeBreakProperty.txt') do |line|
if /^# Total code points: / =~ line
constname = constantize_Grapheme_Cluster_Break(current)
data[constname] = cps