texinfo-commits
[Top][All Lists]
Advanced

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

[8430] parsetexi no route_not_in_tree for extra_element


From: gavinsmith0123
Subject: [8430] parsetexi no route_not_in_tree for extra_element
Date: Sat, 27 Oct 2018 16:46:58 -0400 (EDT)

Revision: 8430
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8430
Author:   gavin
Date:     2018-10-27 16:46:58 -0400 (Sat, 27 Oct 2018)
Log Message:
-----------
parsetexi no route_not_in_tree for extra_element

Modified Paths:
--------------
    trunk/tp/Texinfo/XS/parsetexi/api.c

Modified: trunk/tp/Texinfo/XS/parsetexi/api.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/api.c 2018-10-27 20:38:57 UTC (rev 8429)
+++ trunk/tp/Texinfo/XS/parsetexi/api.c 2018-10-27 20:46:58 UTC (rev 8430)
@@ -341,17 +341,7 @@
               /* For references to other parts of the tree, create the hash so 
                  we can point to it.  */
               if (!f->hv)
-                {
-                  if (f->parent_type != route_not_in_tree)
-                    {
-                      /* TODO: Set all out-of-tree elements with
-                         add_extra_element_oot and then eliminate
-                         use of 'parent_type' to differentiate. */
-                      f->hv = newHV ();
-                    }
-                  else
-                    element_to_perl_hash (f);
-                }
+                f->hv = newHV ();
               STORE(newRV_inc ((SV *)f->hv));
               break;
             case extra_element_oot:




reply via email to

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