summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 06:27:34 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 06:27:34 (GMT)
commit260741970074e1fc21a4bbabdee3e14e945f47d2 (patch)
tree6408aa3bfb25911dea7d8e53d5f555248b04eddc /template
parent7b4383a2a953597d3b549d494be7fb0cf7701fcc (diff)
suppress warning: shadowing outer local variable - line
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 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 b8f9f96..6ba11b8 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 = {}