[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[8201] don't call _trim_spaces_comment_from_content
From: |
gavinsmith0123 |
Subject: |
[8201] don't call _trim_spaces_comment_from_content |
Date: |
Sat, 22 Sep 2018 08:50:48 -0400 (EDT) |
Revision: 8201
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8201
Author: gavin
Date: 2018-09-22 08:50:47 -0400 (Sat, 22 Sep 2018)
Log Message:
-----------
don't call _trim_spaces_comment_from_content
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Parser.pm
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2018-09-22 12:49:10 UTC (rev 8200)
+++ trunk/ChangeLog 2018-09-22 12:50:47 UTC (rev 8201)
@@ -1,5 +1,11 @@
2018-09-22 Gavin Smith <address@hidden>
+ * tp/Texinfo/Parser.pm (_parse_texi) <',' seen for inline commands>:
+ Use text in 'args' directly instead of calling
+ _trim_spaces_comment_from_content.
+
+2018-09-22 Gavin Smith <address@hidden>
+
* tp/tests/run_parser_all.sh: Remove all code dealing with a
test case specially if its name was 'texi'.
* tp/tests/README: Don't mention a 'texi' special case.
Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm 2018-09-22 12:49:10 UTC (rev 8200)
+++ trunk/tp/Texinfo/Parser.pm 2018-09-22 12:50:47 UTC (rev 8201)
@@ -5237,14 +5237,10 @@
if ($inline_commands{$current->{'cmdname'}}) {
my $expandp = 0;
if (! $current->{'extra'}->{'format'}) {
- my @contents;
my $inline_type;
if (defined $current->{'args'}->[0]
and @{$current->{'args'}->[0]->{'contents'}}) {
- @contents
- = @{$current->{'args'}->[0]->{'contents'}};
- _trim_spaces_comment_from_content (address@hidden);
- $inline_type = $contents[0]->{'text'};
+ $inline_type =
$current->{'args'}->[0]->{'contents'}->[0]->{'text'};
}
if (!$inline_type) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [8201] don't call _trim_spaces_comment_from_content,
gavinsmith0123 <=