texinfo-commits
[Top][All Lists]
Advanced

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

[7269] add condition on call to _register_global_command


From: gavinsmith0123
Subject: [7269] add condition on call to _register_global_command
Date: Mon, 18 Jul 2016 22:01:17 +0000 (UTC)

Revision: 7269
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7269
Author:   gavin
Date:     2016-07-18 22:01:17 +0000 (Mon, 18 Jul 2016)
Log Message:
-----------
add condition on call to _register_global_command

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-07-17 20:24:17 UTC (rev 7268)
+++ trunk/ChangeLog     2016-07-18 22:01:17 UTC (rev 7269)
@@ -1,3 +1,8 @@
+2016-07-18  Gavin Smith  <address@hidden>
+
+       * tp/Texinfo/Parser.pm (_parse_texi) <misc commands>: Add 
+       condition on call to _register_global_command.
+
 2016-07-17  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/Parser.pm (_parse_texi) <root commands>: Initialize 

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2016-07-17 20:24:17 UTC (rev 7268)
+++ trunk/tp/Texinfo/Parser.pm  2016-07-18 22:01:17 UTC (rev 7269)
@@ -4669,7 +4669,8 @@
           _mark_and_warn_invalid($self, $command, $invalid_parent,
                                  $line_nr, $misc);
 
-          _register_global_command($self, $command, $misc, $line_nr);
+          _register_global_command($self, $command, $misc, $line_nr)
+            if $misc;
           if ($command eq 'dircategory') {
             push @{$self->{'info'}->{'dircategory_direntry'}}, $misc;
           }




reply via email to

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