texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp Texinfo/Convert/XML.pm t/results/cov...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Convert/XML.pm t/results/cov...
Date: Sat, 10 Sep 2011 13:16:20 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/09/10 13:16:20

Modified files:
        tp/Texinfo/Convert: XML.pm 
        tp/t/results/coverage: insertcopying.pl 

Log message:
        Don't add end of line for noarg misc commands.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/XML.pm?cvsroot=texinfo&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/insertcopying.pl?cvsroot=texinfo&r1=1.12&r2=1.13

Patches:
Index: Texinfo/Convert/XML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/XML.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- Texinfo/Convert/XML.pm      10 Sep 2011 13:12:37 -0000      1.27
+++ Texinfo/Convert/XML.pm      10 Sep 2011 13:16:19 -0000      1.28
@@ -669,10 +669,10 @@
             = $self->_convert_argument_and_end_line($root->{'args'}->[0]);
           return "<$command${attribute}>$arg</$command>$end_line";
         }
-      } elsif ($type eq 'skipline' or $type eq 'noarg') {
+      } elsif ($type eq 'skipline') {
         return "<$command></$command>\n";
-      #} elsif ($type eq 'noarg') {
-      #  return "<$command></$command>";
+      } elsif ($type eq 'noarg') {
+        return "<$command></$command>";
       } elsif ($type eq 'special') {
         if ($root->{'cmdname'} eq 'clear' or $root->{'cmdname'} eq 'set') {
           my $attribute = '';

Index: t/results/coverage/insertcopying.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/insertcopying.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- t/results/coverage/insertcopying.pl 6 Sep 2011 20:20:46 -0000       1.12
+++ t/results/coverage/insertcopying.pl 10 Sep 2011 13:16:19 -0000      1.13
@@ -284,7 +284,6 @@
 <para>License:
 </para>
 <insertcopying></insertcopying>
-
 ';
 
 1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]