[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_dest
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_destroy): output a debug message if the html converter is destroyed while there are error messages that have not been registered. |
Date: |
Mon, 13 Nov 2023 18:43:17 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 227de25276 * tp/Texinfo/XS/convert/convert_html.c (html_destroy):
output a debug message if the html converter is destroyed while there are error
messages that have not been registered.
227de25276 is described below
commit 227de252767568faa51fa00b80a94c7212675a0f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Nov 14 00:43:10 2023 +0100
* tp/Texinfo/XS/convert/convert_html.c (html_destroy): output a debug
message if the html converter is destroyed while there are error messages
that have not been registered.
---
ChangeLog | 6 ++++++
tp/TODO | 3 ---
tp/Texinfo/XS/convert/convert_html.c | 6 ++++++
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4a72fc4458..000ef835fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-13 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/convert_html.c (html_destroy): output a debug
+ message if the html converter is destroyed while there are error
messages
+ that have not been registered.
+
2023-11-13 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/tree.c (replace_element_in_list): add.
diff --git a/tp/TODO b/tp/TODO
index 05fd22711f..d700de0263 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -33,9 +33,6 @@ Use a union for extra/info information instead of coercing a
pointer?
Use ELEMENT_LIST for extra_contents extra_directions?
-error_messages: add a check that it is empty in
-html_destroy?
-
Bugs
====
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index 773bb36b78..e261f91b95 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -2652,6 +2652,12 @@ html_destroy (CONVERTER *self)
{
int i;
+ if (self->error_messages.number)
+ {
+ fprintf (stderr, "BUG: %zu ignored messages in HTML conversion\n",
+ self->error_messages.number);
+ }
+
free_generic_converter (self);
free (self->global_units_directions);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_destroy): output a debug message if the html converter is destroyed while there are error messages that have not been registered.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/XS/main/tree.c (replace_element_in_list): add.
- Next by Date:
branch master updated: * tp/Texinfo/XS/main/DocumentXS.xs (rebuild_document, rebuild_tree) (remove_document_descriptor, remove_document, clear_document_errors) (set_document_options), tp/Makefile.am (dist_modules_DATA), tp/Texinfo/Document.pm (import, rebuild_document, rebuild_tree) (clear_document_errors), tp/Texinfo/XS/Makefile.am (DocumentXS_la_SOURCES): move rebuild_document, rebuild_tree, remove_document_descriptor, remove_document and clear_document_errors to a new XS associated to Texinfo::Document.
- Previous by thread:
branch master updated: * tp/Texinfo/XS/main/tree.c (replace_element_in_list): add.
- Next by thread:
branch master updated: * tp/Texinfo/XS/main/DocumentXS.xs (rebuild_document, rebuild_tree) (remove_document_descriptor, remove_document, clear_document_errors) (set_document_options), tp/Makefile.am (dist_modules_DATA), tp/Texinfo/Document.pm (import, rebuild_document, rebuild_tree) (clear_document_errors), tp/Texinfo/XS/Makefile.am (DocumentXS_la_SOURCES): move rebuild_document, rebuild_tree, remove_document_descriptor, remove_document and clear_document_errors to a new XS associated to Texinfo::Document.
- Index(es):