[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Duplicate variable use in Texinfo/ManipulateTree.pm
From: |
Gavin Smith |
Subject: |
Duplicate variable use in Texinfo/ManipulateTree.pm |
Date: |
Wed, 4 Jun 2025 21:37:20 +0100 |
When I run the texi2any test suite with TEXINFO_XS=omit, there is
a warning printed:
"my" variable $current_nr masks earlier declaration in same scope at
t//../../perl/Texinfo/ManipulateTree.pm line 839.
This is presumably a bug. Here is the relevant part of the code:
sub print_element_details($$$$;$$)
{
my $element = shift;
my $level = shift;
my $prepended = shift;
my $current_nr = shift;
my $fname_encoding = shift;
my $use_filename = shift;
my ($current_nr, $result)
= print_element_base($element, $level, $prepended,
$fname_encoding, $use_filename);
- Duplicate variable use in Texinfo/ManipulateTree.pm,
Gavin Smith <=
- Re: Duplicate variable use in Texinfo/ManipulateTree.pm, Patrice Dumas, 2025/06/04
- Re: Duplicate variable use in Texinfo/ManipulateTree.pm, Gavin Smith, 2025/06/05
- Re: Duplicate variable use in Texinfo/ManipulateTree.pm, Patrice Dumas, 2025/06/05
- HV and SV problem, Gavin Smith, 2025/06/06
- Re: HV and SV problem, Gavin Smith, 2025/06/06
- Re: HV and SV problem, Gavin Smith, 2025/06/06
- Re: HV and SV problem, Patrice Dumas, 2025/06/07
- Re: HV and SV problem, Patrice Dumas, 2025/06/07
- Re: HV and SV problem, Gavin Smith, 2025/06/07
- Re: HV and SV problem, Gavin Smith, 2025/06/07