texinfo-commits
[Top][All Lists]
Advanced

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

[8304] do not save @author as a global command


From: gavinsmith0123
Subject: [8304] do not save @author as a global command
Date: Wed, 17 Oct 2018 07:24:15 -0400 (EDT)

Revision: 8304
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8304
Author:   gavin
Date:     2018-10-17 07:24:15 -0400 (Wed, 17 Oct 2018)
Log Message:
-----------
do not save @author as a global command

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Parser.pm
    trunk/tp/Texinfo/XS/parsetexi/handle_commands.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2018-10-17 11:15:13 UTC (rev 8303)
+++ trunk/ChangeLog     2018-10-17 11:24:15 UTC (rev 8304)
@@ -1,5 +1,10 @@
 2018-10-17  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Parser.pm (_parse_texi) <@titlepage>: Do not save
+       '@author' as a global command.
+
+2018-10-17  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Parser.pm (_register_global_command): Remove an 
        argument.  Callers updated.
 

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2018-10-17 11:15:13 UTC (rev 8303)
+++ trunk/tp/Texinfo/Parser.pm  2018-10-17 11:24:15 UTC (rev 8304)
@@ -4406,7 +4406,6 @@
                           and $parent->{'type'} eq 'brace_command_context');
                   if ($parent->{'cmdname'}) {
                     if ($parent->{'cmdname'} eq 'titlepage') {
-                      push @{$self->{'extra'}->{'author'}}, $current;
                       $current->{'extra'}->{'titlepage'} = $parent;
                       $found = 1;
                     } elsif ($parent->{'cmdname'} eq 'quotation' or

Modified: trunk/tp/Texinfo/XS/parsetexi/handle_commands.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/handle_commands.c     2018-10-17 11:15:13 UTC 
(rev 8303)
+++ trunk/tp/Texinfo/XS/parsetexi/handle_commands.c     2018-10-17 11:24:15 UTC 
(rev 8304)
@@ -584,7 +584,6 @@
                     break;
                   if (parent->cmd == CM_titlepage)
                     {
-                      // TODO 4595 global author
                       add_extra_element (current, "titlepage", parent);
                       found = 1; break;
                     }




reply via email to

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