texinfo-commits
[Top][All Lists]
Advanced

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

[8126] parsetexi do not set command extra


From: gavinsmith0123
Subject: [8126] parsetexi do not set command extra
Date: Sun, 26 Aug 2018 06:08:03 -0400 (EDT)

Revision: 8126
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8126
Author:   gavin
Date:     2018-08-26 06:08:03 -0400 (Sun, 26 Aug 2018)
Log Message:
-----------
parsetexi do not set command extra

Modified Paths:
--------------
    trunk/tp/Texinfo/XS/parsetexi/end_line.c
    trunk/tp/Texinfo/XS/parsetexi/handle_commands.c
    trunk/tp/Texinfo/XS/parsetexi/parser.c

Modified: trunk/tp/Texinfo/XS/parsetexi/end_line.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/end_line.c    2018-08-26 09:50:03 UTC (rev 
8125)
+++ trunk/tp/Texinfo/XS/parsetexi/end_line.c    2018-08-26 10:08:03 UTC (rev 
8126)
@@ -1886,7 +1886,6 @@
           else
             { // 3295
               // FIXME: end_elt correct?
-              add_extra_element (end_elt, "command", closed_command);
               add_extra_element (closed_command, "end_command", end_elt);
               close_command_cleanup (closed_command);
 

Modified: trunk/tp/Texinfo/XS/parsetexi/handle_commands.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/handle_commands.c     2018-08-26 09:50:03 UTC 
(rev 8125)
+++ trunk/tp/Texinfo/XS/parsetexi/handle_commands.c     2018-08-26 10:08:03 UTC 
(rev 8126)
@@ -370,12 +370,10 @@
           add_to_element_args (misc, misc_line_args);
           add_extra_misc_args (misc, "misc_args", args);
 
-          spaces_after_command = new_element 
-            (ET_empty_spaces_after_command);
+          spaces_after_command = new_element (ET_empty_spaces_after_command);
           text_append_n (&spaces_after_command->text, " ", 1);
           add_extra_element (misc, "spaces_after_command",
                              spaces_after_command);
-          add_extra_element (spaces_after_command, "command", misc);
 
           add_to_element_contents (misc_line_args, spaces_after_command);
 

Modified: trunk/tp/Texinfo/XS/parsetexi/parser.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/parser.c      2018-08-26 09:50:03 UTC (rev 
8125)
+++ trunk/tp/Texinfo/XS/parsetexi/parser.c      2018-08-26 10:08:03 UTC (rev 
8126)
@@ -692,7 +692,6 @@
 
   if (command)
     {
-      add_extra_element (e, "command", command);
       add_extra_element (command, "spaces_after_command", e);
     }
 
@@ -980,7 +979,6 @@
               n = strspn (line, whitespace_chars_except_newline);
               text_append_n (&e->text, line, n);
               line += n;
-              add_extra_element (e, "command", raw_command);
               add_to_element_contents (current, e);
             }
         }




reply via email to

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