diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-17 05:38:37 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-17 05:38:37 +0000 |
commit | ece96e0e616cbb71731dfb1cf1f09856823492d6 (patch) | |
tree | 80e1d1735293f46f12c509a3f226e383871afb24 /tool | |
parent | 681bb6a4cfaa69fb89a4591cef773c51cecd7c58 (diff) | |
download | ruby-ece96e0e616cbb71731dfb1cf1f09856823492d6.tar.gz |
Merge Onigmo 6.1.2
https://github.com/k-takata/Onigmo/commit/1364ae3488cac0acbf2d61ef3ce2b62fe0c0f528
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/enc-unicode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index baa05da496..ed45a30366 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -534,7 +534,7 @@ if header IO.popen(%W[diff -DUSE_UNICODE_AGE_PROPERTIES #{fds[1].path} #{fds[0].path}], "r") {|age| IO.popen(%W[diff -DUSE_UNICODE_PROPERTIES #{fds[2].path} -], "r", in: age) {|f| f.each {|line| - line.gsub!(/\(int\)\(long\)&\(\(struct uniname2ctype_pool_t \*\)0\)->uniname2ctype_pool_(str\d+),\s+/, + line.gsub!(/\(int\)\((?:long|size_t)\)&\(\(struct uniname2ctype_pool_t \*\)0\)->uniname2ctype_pool_(str\d+),\s+/, 'uniname2ctype_offset(\1), ') puts line } |