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

ruby-changes:7526

From: akr <ko1@a...>
Date: Tue, 2 Sep 2008 03:30:59 +0900 (JST)
Subject: [ruby-changes:7526] Ruby:r19047 (trunk): * tool/transcode-tblgen.rb: comment removed in generated code.

akr	2008-09-02 03:26:58 +0900 (Tue, 02 Sep 2008)

  New Revision: 19047

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

  Log:
    * tool/transcode-tblgen.rb: comment removed in generated code.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19046)
+++ ChangeLog	(revision 19047)
@@ -1,3 +1,7 @@
+Tue Sep  2 03:26:24 2008  Tanaka Akira  <akr@f...>
+
+	* tool/transcode-tblgen.rb: comment removed in generated code.
+
 Tue Sep  2 03:16:42 2008  Tanaka Akira  <akr@f...>
 
 	* tool/transcode-tblgen.rb: define TRANSCODE_TABLE_INFO in generated
Index: tool/transcode-tblgen.rb
===================================================================
--- tool/transcode-tblgen.rb	(revision 19046)
+++ tool/transcode-tblgen.rb	(revision 19047)
@@ -276,7 +276,7 @@
     when /\A([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])\z/i
       "o4(0x#$1,0x#$2,0x#$3,0x#$4)"
     when /\A\/\*BYTE_LOOKUP\*\// # pointer to BYTE_LOOKUP structure
-      info.to_s
+      $'.to_s
     else
       raise "unexpected action: #{info.inspect}"
     end

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

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