texinfo-commits
[Top][All Lists]
Advanced

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

[7117] parsetexi prevent crash in 19def.t test


From: Gavin D. Smith
Subject: [7117] parsetexi prevent crash in 19def.t test
Date: Wed, 13 Apr 2016 18:59:33 +0000

Revision: 7117
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7117
Author:   gavin
Date:     2016-04-13 18:59:33 +0000 (Wed, 13 Apr 2016)
Log Message:
-----------
parsetexi prevent crash in 19def.t test

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

Modified: trunk/tp/parsetexi/api.c
===================================================================
--- trunk/tp/parsetexi/api.c    2016-04-13 18:53:55 UTC (rev 7116)
+++ trunk/tp/parsetexi/api.c    2016-04-13 18:59:33 UTC (rev 7117)
@@ -184,7 +184,7 @@
       e->hv = newHV ();
     }
 
-  if (e->parent) // && e->parent_type != route_not_in_tree)
+  if (e->parent && e->parent_type != route_not_in_tree)
     {
       if (!e->parent->hv)
         e->parent->hv = newHV ();




reply via email to

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