[前][次][番号順一覧][スレッド一覧]

ruby-changes:15040

From: akr <ko1@a...>
Date: Sun, 14 Mar 2010 22:39:19 +0900 (JST)
Subject: [ruby-changes:15040] Ruby:r26916 (trunk): * tool/transcode-tblgen.rb: consider valid_encoding for max_input.

akr	2010-03-14 22:38:59 +0900 (Sun, 14 Mar 2010)

  New Revision: 26916

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26916

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

  Modified files:
    trunk/ChangeLog
    trunk/tool/transcode-tblgen.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26915)
+++ ChangeLog	(revision 26916)
@@ -1,3 +1,7 @@
+Sun Mar 14 22:38:31 2010  Tanaka Akira  <akr@f...>
+
+	* tool/transcode-tblgen.rb: consider valid_encoding for max_input.
+
 Sun Mar 14 15:46:09 2010  Tanaka Akira  <akr@f...>
 
 	* enc/trans/emoji.trans: fix nomap_table.
Index: tool/transcode-tblgen.rb
===================================================================
--- tool/transcode-tblgen.rb	(revision 26915)
+++ tool/transcode-tblgen.rb	(revision 26916)
@@ -633,6 +633,7 @@
 
   if ValidEncoding[from]
     valid_encoding = StrSet.parse(ValidEncoding[from])
+    max_input = [max_input, valid_encoding.max_length].max
   else
     valid_encoding = nil
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]