texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp/Texinfo Parser.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo Parser.pm
Date: Wed, 23 Jan 2013 22:09:17 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        13/01/23 22:09:17

Modified files:
        tp/Texinfo     : Parser.pm 

Log message:
        Put dircategory in $self->{'info'}->{'dircategory_direntry'} even if 
        already registered as a global command.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.416&r2=1.417

Patches:
Index: Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.416
retrieving revision 1.417
diff -u -b -r1.416 -r1.417
--- Parser.pm   23 Jan 2013 18:54:50 -0000      1.416
+++ Parser.pm   23 Jan 2013 22:09:17 -0000      1.417
@@ -4536,8 +4536,8 @@
           $self->_mark_and_warn_invalid($command, $invalid_parent,
                                             $line_nr, $misc);
 
-          if (!$self->_register_global_command($command, $misc, $line_nr)
-              and $command eq 'dircategory'
+          $self->_register_global_command($command, $misc, $line_nr);
+          if ($command eq 'dircategory' 
               and ! _ignore_global_commands($self)) {
             push @{$self->{'info'}->{'dircategory_direntry'}}, $misc;
           }



reply via email to

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