texinfo-commits
[Top][All Lists]
Advanced

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

[7440] parsetexi update


From: gavinsmith0123
Subject: [7440] parsetexi update
Date: Sat, 8 Oct 2016 11:56:59 +0000 (UTC)

Revision: 7440
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7440
Author:   gavin
Date:     2016-10-08 11:56:59 +0000 (Sat, 08 Oct 2016)
Log Message:
-----------
parsetexi update

Modified Paths:
--------------
    trunk/tp/parsetexi/handle_commands.c

Modified: trunk/tp/parsetexi/handle_commands.c
===================================================================
--- trunk/tp/parsetexi/handle_commands.c        2016-10-08 11:48:58 UTC (rev 
7439)
+++ trunk/tp/parsetexi/handle_commands.c        2016-10-08 11:56:59 UTC (rev 
7440)
@@ -1052,8 +1052,6 @@
               else
                 push_context (ct_menu);
 
-              /* Check if we are ignoring "global commands". */
-
               // Record dir entry here
 
               if (current_node) // 4793
@@ -1064,6 +1062,8 @@
                     }
                   else if (cmd == CM_menu)
                     {
+                      if (!(command_flags(current->parent) & CF_root))
+                        line_warn ("@menu in invalid context");
                       /* Add to array of menus for current node.  Currently
                          done in Perl code. */
                     }




reply via email to

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