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 (_set_non_ignored_spa


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/ParserNonXS.pm (_set_non_ignored_space_in_index_before_command): fix a variable name.
Date: Sun, 07 Jan 2024 10:27:38 -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 bf8003b1e0 * tp/Texinfo/ParserNonXS.pm 
(_set_non_ignored_space_in_index_before_command): fix a variable name.
bf8003b1e0 is described below

commit bf8003b1e0446ea83238eb98c9d23bca31553855
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jan 7 16:27:38 2024 +0100

    * tp/Texinfo/ParserNonXS.pm
    (_set_non_ignored_space_in_index_before_command): fix a variable name.
---
 ChangeLog                 | 5 +++++
 tp/Texinfo/ParserNonXS.pm | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 1ea36652f5..64c4c3e960 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-07  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/ParserNonXS.pm
+       (_set_non_ignored_space_in_index_before_command): fix a variable name.
+
 2024-01-07  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/parsetexi/end_line.c (end_line_misc_line),
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index e2adc6e1fb..933cf0d2a9 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -2887,7 +2887,7 @@ sub _set_non_ignored_space_in_index_before_command($)
 {
   my $content = shift;
   my $pending_spaces_element = 0;
-  foreach my $element (@{$contents->{'contents'}}) {
+  foreach my $element (@{$content->{'contents'}}) {
     if ($element->{'type'}
         and $element->{'type'} eq 'internal_spaces_before_brace_in_index') {
       # set to "spaces_at_end" in case there are only spaces after



reply via email to

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