texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/ParserNonXS.pm (_initialize_parsing,


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/ParserNonXS.pm (_initialize_parsing, _enter_index_entry): replace restricted by NO_INDEX where needed.
Date: Fri, 17 May 2024 13:13:48 -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 a465df70f4 * tp/Texinfo/ParserNonXS.pm (_initialize_parsing, 
_enter_index_entry): replace restricted by NO_INDEX where needed.
a465df70f4 is described below

commit a465df70f46d015d64b822c8f481964f339dfda7
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri May 17 19:13:49 2024 +0200

    * tp/Texinfo/ParserNonXS.pm (_initialize_parsing, _enter_index_entry):
    replace restricted by NO_INDEX where needed.
---
 ChangeLog                 | 5 +++++
 tp/Texinfo/ParserNonXS.pm | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1dcde52657..94b4d81054 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-17  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/ParserNonXS.pm (_initialize_parsing, _enter_index_entry):
+       replace restricted by NO_INDEX where needed.
+
 2024-05-17  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/ParserNonXS.pm (_initialize_parsing): update parser
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 94dc08e467..10ecda31ea 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -621,7 +621,7 @@ sub _initialize_parsing()
   my $parser = shift;
 
   my $index_names;
-  if (!$parser->{'restricted'}) {
+  if (!$parser->{'NO_INDEX'}) {
     $index_names = dclone(\%index_names);
   } else {
     # not needed, but not undef because it is exported to document
@@ -3416,7 +3416,7 @@ sub _enter_index_entry($$$$)
 {
   my ($self, $command_container, $element, $source_info) = @_;
 
-  return if $self->{'restricted'};
+  return if $self->{'NO_INDEX'};
 
   my $document = $self->{'document'};
 



reply via email to

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