texinfo-commits
[Top][All Lists]
Advanced

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

[7244] Parser.pm remove a comment


From: gavinsmith0123
Subject: [7244] Parser.pm remove a comment
Date: Tue, 5 Jul 2016 19:19:18 +0000 (UTC)

Revision: 7244
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7244
Author:   gavin
Date:     2016-07-05 19:19:18 +0000 (Tue, 05 Jul 2016)
Log Message:
-----------
Parser.pm remove a comment

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-07-05 19:15:37 UTC (rev 7243)
+++ trunk/ChangeLog     2016-07-05 19:19:18 UTC (rev 7244)
@@ -1,3 +1,10 @@
+2016-07-05  Gavin Smith  <address@hidden>
+
+       * tp/Texinfo/Parser.pm: Remove comment referring to 
+       'raw_formats_stack'.
+       (_parse_texi): Add debugging statement if the condition in an 
+       inline command is missing.
+
 2016-06-26  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/Parser.pm (_parse_texi, _register_global_command)

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2016-07-05 19:15:37 UTC (rev 7243)
+++ trunk/tp/Texinfo/Parser.pm  2016-07-05 19:19:18 UTC (rev 7244)
@@ -167,9 +167,6 @@
 #                         'math', 'footnote', 'caption', 'shortcaption', 
 #                         'inlineraw' are also added when in those commands
 # conditionals_stack      a stack of conditional commands that are expanded.
-# raw_formats_stack       a stack of 1 or 0 for raw formats (@html... or 
-#                         @inlineraw), is 0 if within a raw format that is
-#                         not expanded.
 # macro_stack             stack of macros being expanded (more recent first)
 # definfoenclose          an hash, key is the command name, value is an array
 #                         reference with 2 values, beginning and ending.
@@ -5334,6 +5331,8 @@
 
               if (!$inline_type) {
                 # condition is missing for some reason
+                print STDERR "INLINE COND MISSING\n"
+                  if ($self->{'DEBUG'});
               } elsif ($inline_format_commands{$current->{'cmdname'}}) {
                 if ($self->{'expanded_formats_hash'}->{$inline_type}) { 
                   $expandp = 1;




reply via email to

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