texinfo-commits
[Top][All Lists]
Advanced

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

[6836] parsetexi update


From: Gavin D. Smith
Subject: [6836] parsetexi update
Date: Sat, 05 Dec 2015 18:45:22 +0000

Revision: 6836
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6836
Author:   gavin
Date:     2015-12-05 18:45:21 +0000 (Sat, 05 Dec 2015)
Log Message:
-----------
parsetexi update

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

Modified: trunk/parsetexi/handle_commands.c
===================================================================
--- trunk/parsetexi/handle_commands.c   2015-12-05 18:29:15 UTC (rev 6835)
+++ trunk/parsetexi/handle_commands.c   2015-12-05 18:45:21 UTC (rev 6836)
@@ -104,9 +104,13 @@
      line lineraw /^\d$/). */
   arg_spec = command_data(cmd).data;
 
-  /* noarg */
+  /* noarg 4312 */
   if (arg_spec == MISC_noarg)
     {
+      // TODO
+      misc = new_element (ET_NONE);
+      misc->cmd = cmd;
+      add_to_element_contents (current, misc);
       /*
       if (close_preformatted_command(cmd))
         current = begin_preformatted (current);
@@ -460,7 +464,7 @@
   /* line 4622 */
   /* mark_and_warn_invalid (); */ /* possible error message due to invalid
                                      nesting */
-  //register_global_command ();
+  register_global_command (cmd, misc);
 
   *line_inout = line;
   return current;
@@ -656,7 +660,7 @@
           }
         } /* 4827 */
       // mark_and_warn_invalid ();
-      // register_global_command ();
+      register_global_command (cmd, block);
       start_empty_line_after_command (current, &line, block);
     }
 




reply via email to

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