texinfo-commits
[Top][All Lists]
Advanced

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

[7114] parsetexi update


From: Gavin D. Smith
Subject: [7114] parsetexi update
Date: Sun, 10 Apr 2016 09:43:31 +0000

Revision: 7114
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7114
Author:   gavin
Date:     2016-04-10 09:43:31 +0000 (Sun, 10 Apr 2016)
Log Message:
-----------
parsetexi update

Modified Paths:
--------------
    trunk/tp/parsetexi/end_line.c
    trunk/tp/parsetexi/indices.c

Modified: trunk/tp/parsetexi/end_line.c
===================================================================
--- trunk/tp/parsetexi/end_line.c       2016-04-09 16:01:31 UTC (rev 7113)
+++ trunk/tp/parsetexi/end_line.c       2016-04-10 09:43:31 UTC (rev 7114)
@@ -1315,16 +1315,12 @@
       /* Index commands */
       if (command_flags(current) & CF_index_entry_command)
         {
-          /* TODO: Trim space elements from contents.  Note we aren't
-             using the misc_content variable yet, because we have not
-             got a way to serialize a pointer from the index information
-             to a detached extra key that is not part of the main tree. */
           ELEMENT *contents;
           contents = last_args_child(current);
 
           // 3274
           enter_index_entry (current->cmd, current->cmd, current,
-                             contents);
+                             misc_content);
           current->type = ET_index_entry_command;
         }
     }

Modified: trunk/tp/parsetexi/indices.c
===================================================================
--- trunk/tp/parsetexi/indices.c        2016-04-09 16:01:31 UTC (rev 7113)
+++ trunk/tp/parsetexi/indices.c        2016-04-10 09:43:31 UTC (rev 7114)
@@ -273,7 +273,9 @@
 
   add_extra_index_entry (current, "index_entry", ier);
 
-  if (!current_section)
+  if (current_node)
+    ; // TODO
+  else if (!current_section)
     line_warn ("entry for index `%s' outside of any node", idx->name);
 }
 




reply via email to

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