1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/transcode-tblgen.rb: consider valid_encoding for max_input.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-03-14 13:38:59 +00:00
parent ff39d22c33
commit 760db25b55
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sun Mar 14 22:38:31 2010 Tanaka Akira <akr@fsij.org>
* tool/transcode-tblgen.rb: consider valid_encoding for max_input.
Sun Mar 14 15:46:09 2010 Tanaka Akira <akr@fsij.org> Sun Mar 14 15:46:09 2010 Tanaka Akira <akr@fsij.org>
* enc/trans/emoji.trans: fix nomap_table. * enc/trans/emoji.trans: fix nomap_table.

View file

@ -633,6 +633,7 @@ def transcode_compile_tree(name, from, map)
if ValidEncoding[from] if ValidEncoding[from]
valid_encoding = StrSet.parse(ValidEncoding[from]) valid_encoding = StrSet.parse(ValidEncoding[from])
max_input = [max_input, valid_encoding.max_length].max
else else
valid_encoding = nil valid_encoding = nil
end end