[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c: remove conditions on self->hv and special_unit->hv that should never change. |
Date: |
Wed, 13 Mar 2024 18:05:12 -0400 |
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 63064303da * tp/Texinfo/XS/convert/call_html_perl_function.c: remove
conditions on self->hv and special_unit->hv that should never change.
63064303da is described below
commit 63064303daf38e780165d2e881411888a7dec418
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Mar 13 23:05:14 2024 +0100
* tp/Texinfo/XS/convert/call_html_perl_function.c: remove conditions
on self->hv and special_unit->hv that should never change.
---
ChangeLog | 5 +
tp/Texinfo/XS/convert/call_html_perl_function.c | 130 ------------------------
2 files changed, 5 insertions(+), 130 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3e3e16c067..3834688e0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-03-13 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/call_html_perl_function.c: remove conditions
+ on self->hv and special_unit->hv that should never change.
+
2024-03-13 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/convert/convert_html.c (add_tree_to_build)
diff --git a/tp/Texinfo/XS/convert/call_html_perl_function.c
b/tp/Texinfo/XS/convert/call_html_perl_function.c
index 1426a17f5d..1f741dfa45 100644
--- a/tp/Texinfo/XS/convert/call_html_perl_function.c
+++ b/tp/Texinfo/XS/convert/call_html_perl_function.c
@@ -59,9 +59,6 @@ call_file_id_setting_special_unit_target_file_name (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
special_unit_target_file_name_sv
= (SV *) self->file_id_setting_refs[FIS_special_unit_target_file_name];
@@ -75,12 +72,6 @@ call_file_id_setting_special_unit_target_file_name
(CONVERTER *self,
STRLEN len;
TARGET_FILENAME *result = new_target_filename ();
- if (!special_unit->hv)
- {
- /* TODO rebuild output units */
- return 0;
- }
-
dSP;
ENTER;
@@ -135,9 +126,6 @@ call_file_id_setting_label_target_name (CONVERTER *self,
*called = 0;
- if (!self->hv)
- return 0;
-
label_target_name_sv
= (SV *) self->file_id_setting_refs[FIS_label_target_name];
@@ -204,9 +192,6 @@ call_file_id_setting_node_file_name (CONVERTER *self,
*called = 0;
- if (!self->hv)
- return 0;
-
node_file_name_sv
= (SV *) self->file_id_setting_refs[FIS_node_file_name];
@@ -217,12 +202,6 @@ call_file_id_setting_node_file_name (CONVERTER *self,
SV *node_filename_ret_sv;
*called = 1;
- if (!target_element->hv)
- {
- /* TODO rebuild */
- return 0;
- }
-
dSP;
ENTER;
@@ -275,9 +254,6 @@ call_file_id_setting_sectioning_command_target_name
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
sectioning_command_target_name_sv
= (SV *) self->file_id_setting_refs[FIS_sectioning_command_target_name];
@@ -295,11 +271,6 @@ call_file_id_setting_sectioning_command_target_name
(CONVERTER *self,
char *filename_ret;
TARGET_CONTENTS_FILENAME *result = new_target_contents_filename ();
- if (!command->hv)
- {/* TODO rebuild */
- return 0;
- }
-
dSP;
ENTER;
@@ -357,9 +328,6 @@ call_file_id_setting_unit_file_name (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
unit_file_name_sv
= (SV *) self->file_id_setting_refs[FIS_unit_file_name];
@@ -370,11 +338,6 @@ call_file_id_setting_unit_file_name (CONVERTER *self,
SV *filename_ret_sv;
FILE_NAME_PATH *result = new_file_name_path ();
- if (!output_unit->hv)
- { /* TODO rebuild */
- return 0;
- }
-
dSP;
ENTER;
@@ -432,9 +395,6 @@ call_file_id_setting_external_target_split_name (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
external_target_split_name_sv
= (SV *) self->file_id_setting_refs[FIS_external_target_split_name];
@@ -518,9 +478,6 @@ call_file_id_setting_external_target_non_split_name
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
external_target_non_split_name_sv
= (SV *) self->file_id_setting_refs[FIS_external_target_non_split_name];
@@ -596,9 +553,6 @@ call_formatting_function_format_comment (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -652,9 +606,6 @@ call_formatting_function_format_program_string (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -707,9 +658,6 @@ call_formatting_function_format_titlepage (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -762,9 +710,6 @@ call_formatting_function_format_title_titlepage (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -818,9 +763,6 @@ call_formatting_function_format_protect_text (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -874,9 +816,6 @@ call_formatting_function_format_footnotes_segment
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -929,9 +868,6 @@ call_formatting_function_format_footnotes_sequence
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -985,9 +921,6 @@ call_formatting_function_format_css_lines (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1043,9 +976,6 @@ call_formatting_function_format_end_file (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1108,9 +1038,6 @@ call_formatting_function_format_begin_file (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1172,9 +1099,6 @@ call_formatting_function_format_translate_message
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1237,9 +1161,6 @@ call_formatting_function_format_button_icon_img
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1303,9 +1224,6 @@ call_formatting_function_format_button (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1387,9 +1305,6 @@ call_formatting_function_format_navigation_panel
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1451,9 +1366,6 @@ call_formatting_function_format_navigation_header
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1518,9 +1430,6 @@ call_formatting_function_format_heading_text (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1605,9 +1514,6 @@ call_formatting_function_format_contents (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1671,9 +1577,6 @@ call_formatting_function_format_separate_anchor
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1732,9 +1635,6 @@ call_formatting_function_format_element_header (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1795,9 +1695,6 @@ call_formatting_function_format_element_footer (CONVERTER
*self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1859,9 +1756,6 @@ call_formatting_function_format_node_redirection_page
(CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
formatting_reference_sv = formatting_reference->sv_reference;
if (self->modified_state)
@@ -1922,9 +1816,6 @@ call_types_conversion (CONVERTER *self, const enum
element_type type,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
formatting_reference_sv = formatting_reference->sv_reference;
@@ -1992,9 +1883,6 @@ call_types_open (CONVERTER *self, const enum element_type
type,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
formatting_reference_sv = self->types_open[type].sv_reference;
@@ -2056,9 +1944,6 @@ call_commands_conversion (CONVERTER *self, const enum
command_id cmd,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
/* could also be builtin_command_data[cmd].cmdname) */
@@ -2125,9 +2010,6 @@ call_commands_open (CONVERTER *self, const enum
command_id cmd,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
formatting_reference_sv = self->commands_open[cmd].sv_reference;
@@ -2189,9 +2071,6 @@ call_output_units_conversion (CONVERTER *self,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
formatting_reference_sv
@@ -2256,9 +2135,6 @@ call_special_unit_body_formatting (CONVERTER *self,
dTHX;
- if (!self->hv)
- return;
-
build_tree_to_build (&self->tree_to_build);
formatting_reference_sv
@@ -2318,9 +2194,6 @@ call_button_simple_function (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
build_tree_to_build (&self->tree_to_build);
if (self->modified_state)
@@ -2384,9 +2257,6 @@ call_button_direction_function (CONVERTER *self,
dTHX;
- if (!self->hv)
- return 0;
-
build_tree_to_build (&self->tree_to_build);
if (self->modified_state)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c: remove conditions on self->hv and special_unit->hv that should never change.,
Patrice Dumas <=