[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[8428] _command_with_command_as_argument
From: |
gavinsmith0123 |
Subject: |
[8428] _command_with_command_as_argument |
Date: |
Sat, 27 Oct 2018 16:05:45 -0400 (EDT) |
Revision: 8428
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8428
Author: gavin
Date: 2018-10-27 16:05:45 -0400 (Sat, 27 Oct 2018)
Log Message:
-----------
_command_with_command_as_argument
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Parser.pm
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2018-10-27 19:20:21 UTC (rev 8427)
+++ trunk/ChangeLog 2018-10-27 20:05:45 UTC (rev 8428)
@@ -1,5 +1,12 @@
2018-10-27 Gavin Smith <address@hidden>
+ * tp/Texinfo/Parser.pm (_command_with_command_as_argument):
+ Remove code checking for a case where the command has two
+ elements in 'args', the first all whitespace, as this case never
+ seems to happen.
+
+2018-10-27 Gavin Smith <address@hidden>
+
* doc/texinfo.texi (@titlefont @center @sp):
Do not mention the possibility of using these outside of a title
page.
Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm 2018-10-27 19:20:21 UTC (rev 8427)
+++ trunk/tp/Texinfo/Parser.pm 2018-10-27 20:05:45 UTC (rev 8428)
@@ -3391,11 +3391,7 @@
and $current->{'parent'}->{'cmdname'} and
($current->{'parent'}->{'cmdname'} eq 'itemize'
or $item_line_commands{$current->{'parent'}->{'cmdname'}})
- and (scalar(@{$current->{'contents'}}) == 1
- or (scalar(@{$current->{'contents'}}) == 2
- and defined($current->{'contents'}->[0]->{'text'})
- and $current->{'contents'}->[0]->{'text'}
- =~ /^[^\S\r\n]*/)))
+ and scalar(@{$current->{'contents'}}) == 1);
}
# This combines several regular expressions used in '_parse_texi' to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [8428] _command_with_command_as_argument,
gavinsmith0123 <=