mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
d24e725009
commit
1a9a3c3944
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ composition_exclusions = vpath.open("#{InputDataDir}/CompositionExclusions.txt")
|
||||||
abort "No file version in #{f.path}: #{line}"
|
abort "No file version in #{f.path}: #{line}"
|
||||||
(unicode_version ||= version) == version or
|
(unicode_version ||= version) == version or
|
||||||
abort "Unicode version of directory (#{unicode_version}) and file (#{version}) mismatch"
|
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 = {}
|
decomposition_table = {}
|
||||||
|
|
Loading…
Reference in a new issue