ruby-changes:36296
From: nobu <ko1@a...>
Date: Tue, 11 Nov 2014 19:18:25 +0900 (JST)
Subject: [ruby-changes:36296] nobu:r48377 (trunk): unicode_norm_gen.tmpl: fix build error
nobu 2014-11-11 19:18:13 +0900 (Tue, 11 Nov 2014) New Revision: 48377 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48377 Log: 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. Modified files: trunk/template/unicode_norm_gen.tmpl Index: template/unicode_norm_gen.tmpl =================================================================== --- template/unicode_norm_gen.tmpl (revision 48376) +++ template/unicode_norm_gen.tmpl (revision 48377) @@ -73,7 +73,7 @@ composition_exclusions = vpath.open("#{I https://github.com/ruby/ruby/blob/trunk/template/unicode_norm_gen.tmpl#L73 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 = {} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/