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

ruby-changes:26231

From: nobu <ko1@a...>
Date: Mon, 10 Dec 2012 13:18:19 +0900 (JST)
Subject: [ruby-changes:26231] nobu:r38288 (trunk): mkconfig.rb: newlines

nobu	2012-12-10 13:18:11 +0900 (Mon, 10 Dec 2012)

  New Revision: 38288

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

  Log:
    mkconfig.rb: newlines
    
    * tool/mkconfig.rb: restore embedded newlines.

  Modified files:
    trunk/tool/mkconfig.rb

Index: tool/mkconfig.rb
===================================================================
--- tool/mkconfig.rb	(revision 38287)
+++ tool/mkconfig.rb	(revision 38288)
@@ -61,6 +61,7 @@
     next if !continued_line
     continued_line << $1
     next if $2
+    continued_line.each {|s| s.sub!(/\\n\z/, "\n")}
     val = continued_line.join
     name = continued_name
     continued_line = nil

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

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