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

ruby-changes:6257

From: usa <ko1@a...>
Date: Tue, 1 Jul 2008 17:53:05 +0900 (JST)
Subject: [ruby-changes:6257] Ruby:r17771 (trunk): * enc/make_encdb.h: always add ';' at the end of line.

usa	2008-07-01 17:51:33 +0900 (Tue, 01 Jul 2008)

  New Revision: 17771

  Modified files:
    trunk/ChangeLog
    trunk/enc/make_encdb.rb

  Log:
    * enc/make_encdb.h: always add ';' at the end of line.
    



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

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/make_encdb.rb?r1=17771&r2=17770&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17771&r2=17770&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17770)
+++ ChangeLog	(revision 17771)
@@ -1,3 +1,7 @@
+Tue Jul  1 17:50:44 2008  NAKAMURA Usaku  <usa@r...>
+
+	* enc/make_encdb.h: always add ';' at the end of line.
+
 Tue Jul  1 17:44:30 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
Index: enc/make_encdb.rb
===================================================================
--- enc/make_encdb.rb	(revision 17770)
+++ enc/make_encdb.rb	(revision 17771)
@@ -57,7 +57,7 @@
           next
         end
         check_duplication(defs, $1, fn, $.)
-        lines << line.sub(/;.*/m, ";\n") if line
+        lines << line.sub(/;.*/m, "").chomp + ";\n" if line
       end
     end
   end

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

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