summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 10:18:13 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 10:18:13 (GMT)
commit1a9a3c394426eaeea17cc7b8dabbaded30c19aab (patch)
treef9f57352fadfec087e98d7e69cac96841fc10f11 /template
parentd24e72500901345ffa3ff6f59cd105fe55dd8b15 (diff)
unicode_norm_gen.tmpl: fix build error
* template/unicode_norm_gen.tmpl: fix build error on CentOS 5 with ruby 1.8.5 which lacks Symbol#to_proc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/unicode_norm_gen.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/unicode_norm_gen.tmpl b/template/unicode_norm_gen.tmpl
index 6ba11b8..955c858 100644
--- a/template/unicode_norm_gen.tmpl
+++ b/template/unicode_norm_gen.tmpl
@@ -73,7 +73,7 @@ composition_exclusions = vpath.open("#{InputDataDir}/CompositionExclusions.txt")
abort "No file version in #{f.path}: #{line}"
(unicode_version ||= version) == version or
abort "Unicode version of directory (#{unicode_version}) and file (#{version}) mismatch"
- f.grep(/^[A-Z0-9]{4,5}/, &:hex)
+ f.grep(/^[A-Z0-9]{4,5}/) {|code| code.hex}
}
decomposition_table = {}