texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Really remove parser from converter and use 'indi


From: Patrice Dumas
Subject: branch master updated: Really remove parser from converter and use 'indices_information'
Date: Fri, 28 Jan 2022 09:04:15 -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 1d1ed4a441 Really remove parser from converter and use 
'indices_information'
1d1ed4a441 is described below

commit 1d1ed4a441a819436fee870955a84cf6325f13a6
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jan 28 15:03:25 2022 +0100

    Really remove parser from converter and use 'indices_information'
---
 tp/Texinfo/Convert/Converter.pm  | 1 -
 tp/Texinfo/Convert/Plaintext.pm  | 1 -
 tp/Texinfo/Convert/TexinfoXML.pm | 3 ---
 3 files changed, 5 deletions(-)

diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
index f1c5ec2408..53936d59f2 100644
--- a/tp/Texinfo/Convert/Converter.pm
+++ b/tp/Texinfo/Convert/Converter.pm
@@ -193,7 +193,6 @@ sub converter(;$)
   #$converter->{'converter_pre_conf'} = \%defaults;
   if (defined($conf)) {
     if ($conf->{'parser'}) {
-      $converter->{'parser'} = $conf->{'parser'};
       $converter->{'global_commands'}
          = $conf->{'parser'}->global_commands_information();
       $converter->{'parser_info'} = $conf->{'parser'}->global_informations();
diff --git a/tp/Texinfo/Convert/Plaintext.pm b/tp/Texinfo/Convert/Plaintext.pm
index 0e34d4a531..15e5ce3065 100644
--- a/tp/Texinfo/Convert/Plaintext.pm
+++ b/tp/Texinfo/Convert/Plaintext.pm
@@ -1216,7 +1216,6 @@ sub process_printindex($$;$)
     ($self->{'index_entries'}, $index_entries_sort_strings)
       = Texinfo::Structuring::sort_indices($self, $self,
                                            $merged_index_entries);
-    $self->{'indices_information'} = $index_names;
   }
   if (!$self->{'index_entries'} or !$self->{'index_entries'}->{$index_name}
       or ! @{$self->{'index_entries'}->{$index_name}}) {
diff --git a/tp/Texinfo/Convert/TexinfoXML.pm b/tp/Texinfo/Convert/TexinfoXML.pm
index e023e402b7..803a8ef00a 100644
--- a/tp/Texinfo/Convert/TexinfoXML.pm
+++ b/tp/Texinfo/Convert/TexinfoXML.pm
@@ -417,9 +417,6 @@ sub converter_initialize($)
     $self->{'context_block_commands'}->{$raw} = 1
          if $self->{'expanded_formats_hash'}->{$raw};
   }
-  if ($self->{'parser'}) {
-    $self->{'indices_information'} = $self->{'parser'}->indices_information();
-  }
 }
 
 # Main output function for the XML file.



reply via email to

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