[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[8392] parsetexi update
From: |
gavinsmith0123 |
Subject: |
[8392] parsetexi update |
Date: |
Wed, 24 Oct 2018 10:43:01 -0400 (EDT) |
Revision: 8392
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8392
Author: gavin
Date: 2018-10-24 10:43:00 -0400 (Wed, 24 Oct 2018)
Log Message:
-----------
parsetexi update
Modified Paths:
--------------
trunk/tp/Texinfo/XS/parsetexi/Parsetexi.pm
trunk/tp/Texinfo/XS/parsetexi/end_line.c
trunk/tp/Texinfo/XS/parsetexi/parser.c
Modified: trunk/tp/Texinfo/XS/parsetexi/Parsetexi.pm
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/Parsetexi.pm 2018-10-24 13:05:32 UTC (rev
8391)
+++ trunk/tp/Texinfo/XS/parsetexi/Parsetexi.pm 2018-10-24 14:43:00 UTC (rev
8392)
@@ -1,4 +1,4 @@
-# Copyright 2014, 2015, 2016, 2017, 2018 Free Software Foundation, Inc.
+# Copyright 2014-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -446,6 +446,10 @@
1);
} # end BEGIN
+END {
+ reset_parser (); # for debugging memory leaks
+}
+
# This "use" statement is all the way down here because Texinfo::Report
# and Texinfo::Parser both "use" each other. If we "use Texinfo::Report"
# at the top of the file, this has the problem that the symbol table
Modified: trunk/tp/Texinfo/XS/parsetexi/end_line.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/end_line.c 2018-10-24 13:05:32 UTC (rev
8391)
+++ trunk/tp/Texinfo/XS/parsetexi/end_line.c 2018-10-24 14:43:00 UTC (rev
8392)
@@ -1445,10 +1445,10 @@
"@include: could not open %s:",
text,
strerror (status));
- free (fullpath);
}
else
included_file = 1;
+ free (fullpath);
}
}
else if (current->cmd == CM_verbatiminclude)
Modified: trunk/tp/Texinfo/XS/parsetexi/parser.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/parser.c 2018-10-24 13:05:32 UTC (rev
8391)
+++ trunk/tp/Texinfo/XS/parsetexi/parser.c 2018-10-24 14:43:00 UTC (rev
8392)
@@ -727,7 +727,7 @@
if (last_contents_child(current)->cmd == CM_c
|| last_contents_child(current)->cmd == CM_comment)
{
- add_extra_element_oot (current->parent, "comment_at_end",
+ add_extra_element_oot (current, "comment_at_end",
pop_element_from_contents (current));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [8392] parsetexi update,
gavinsmith0123 <=