texinfo-commits
[Top][All Lists]
Advanced

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

[8222] no _trim_spaces_comment_from_content


From: gavinsmith0123
Subject: [8222] no _trim_spaces_comment_from_content
Date: Mon, 24 Sep 2018 05:47:44 -0400 (EDT)

Revision: 8222
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8222
Author:   gavin
Date:     2018-09-24 05:47:44 -0400 (Mon, 24 Sep 2018)
Log Message:
-----------
no _trim_spaces_comment_from_content

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Parser.pm

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2018-09-24 09:43:21 UTC (rev 8221)
+++ trunk/ChangeLog     2018-09-24 09:47:44 UTC (rev 8222)
@@ -1,5 +1,10 @@
 2018-09-24  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Parser.pm (_end_line) <misc command with text argument>:
+       Do not call _trim_spaces_comment_from_content.
+
+2018-09-24  Gavin Smith  <address@hidden>
+
        * tp/tests/run_parser_all.sh: Remove some commented-out code.
 
 2018-09-24  Gavin Smith  <address@hidden>

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2018-09-24 09:43:21 UTC (rev 8221)
+++ trunk/tp/Texinfo/Parser.pm  2018-09-24 09:47:44 UTC (rev 8222)
@@ -3021,9 +3021,7 @@
     } elsif ($self->{'misc_commands'}->{$command} eq 'text') {
       my $text = '';
       my $superfluous_arg = 0;
-      my @contents = @{$current->{'args'}->[0]->{'contents'}};
-      _trim_spaces_comment_from_content (address@hidden);
-      for my $c (@contents) {
+      for my $c (@{$current->{'args'}->[0]->{'contents'}}) {
         # Allow @@, @{ and @} to give a way for @, { and } to appear in
         # filenames (although it's not a good idea to use these characters
         # in filenames).




reply via email to

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