summaryrefslogtreecommitdiff
path: root/template/unicode_norm_gen.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/unicode_norm_gen.tmpl')
-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 b8f9f963b3..6ba11b8464 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}/) {|line| line.hex}
+ f.grep(/^[A-Z0-9]{4,5}/, &:hex)
}
decomposition_table = {}