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

ruby-changes:40330

From: nobu <ko1@a...>
Date: Sat, 31 Oct 2015 15:22:54 +0900 (JST)
Subject: [ruby-changes:40330] nobu:r52411 (trunk): mdoc2man.rb: colon in quotes

nobu	2015-10-31 15:22:46 +0900 (Sat, 31 Oct 2015)

  New Revision: 52411

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

  Log:
    mdoc2man.rb: colon in quotes
    
    * tool/mdoc2man.rb (parse_macro): colon should not pop quotes.

  Modified files:
    trunk/tool/mdoc2man.rb
Index: tool/mdoc2man.rb
===================================================================
--- tool/mdoc2man.rb	(revision 52410)
+++ tool/mdoc2man.rb	(revision 52411)
@@ -92,6 +92,7 @@ class Mdoc2Man https://github.com/ruby/ruby/blob/trunk/tool/mdoc2man.rb#L92
     while word = words.shift
       case word
       when RE_PUNCT
+        next retval << word if word == ':'
 	while q = quote.pop
 	  case q
 	  when OPTION

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

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