Re: Duplicate variable use in Texinfo/ManipulateTree.pm

2025-06-04 Thread Patrice Dumas
On Wed, Jun 04, 2025 at 09:37:20PM +0100, Gavin Smith wrote: > 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 presumabl

Re: gawk compatibility mode build error?

2025-06-04 Thread NR
On Wed, Jun 4, 2025 at 5:23 PM NR wrote: > > On Wed, Jun 4, 2025 at 9:49 AM Gavin Smith wrote: > > > > On Wed, Jun 04, 2025 at 04:07:43AM -0500, NR wrote: > > > On Wed, Jun 4, 2025 at 4:05 AM NR wrote: > > > > > > > > b92d3c94189a7cbf8ca7fba5a4ccdec03459386c > > > > ``` > > > > gawk -f ./jrtangl

Re: gawk compatibility mode build error?

2025-06-04 Thread NR
On Wed, Jun 4, 2025 at 9:49 AM Gavin Smith wrote: > > On Wed, Jun 04, 2025 at 04:07:43AM -0500, NR wrote: > > On Wed, Jun 4, 2025 at 4:05 AM NR wrote: > > > > > > b92d3c94189a7cbf8ca7fba5a4ccdec03459386c > > > ``` > > > gawk -f ./jrtangle ./ti.twjr || rm -f texindex.awk > > > gawk: ./jrtangle:28:

Duplicate variable use in Texinfo/ManipulateTree.pm

2025-06-04 Thread Gavin Smith
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_detail

TEXINFO_XS_STRUCTURE=0 test divergence

2025-06-04 Thread Gavin Smith
Today, I ran $ TEXINFO_XS_STRUCTURE=0 ../maintain/all_tests.sh generate under tta/perl to test some changes to the Perl structuring code. However, there are again test divergences from the XS code. The diff begins: diff --git a/tta/perl/t/results/converters_tests/indices_in_begin_tables_lists

Re: Improved diagnostic messages for ill-formed menus?

2025-06-04 Thread Patrice Dumas
On Wed, Jun 04, 2025 at 03:53:41PM +0100, Gavin Smith wrote: > On Wed, Jun 04, 2025 at 12:21:52AM +0200, Patrice Dumas wrote: > > On Fri, May 30, 2025 at 05:38:10PM +0100, Gavin Smith wrote: > > > I've done this. I noticed that complete_node_tree_with_menus it was > > > not run from C/texi2any.c,

Re: Improved diagnostic messages for ill-formed menus?

2025-06-04 Thread Gavin Smith
On Wed, Jun 04, 2025 at 12:21:52AM +0200, Patrice Dumas wrote: > On Fri, May 30, 2025 at 05:38:10PM +0100, Gavin Smith wrote: > > I've done this. I noticed that complete_node_tree_with_menus it was > > not run from C/texi2any.c, but some of this looks quite different to > > perl/texi2any.pl so pre

gawk compatibility mode build error?

2025-06-04 Thread Gavin Smith
On Wed, Jun 04, 2025 at 04:07:43AM -0500, NR wrote: > On Wed, Jun 4, 2025 at 4:05 AM NR wrote: > > > > b92d3c94189a7cbf8ca7fba5a4ccdec03459386c > > ``` > > gawk -f ./jrtangle ./ti.twjr || rm -f texindex.awk > > gawk: ./jrtangle:28:match(PROCINFO["version"], /^[0-9]+\./, v); > > gawk: .

Re: Repo Master Build Failure - ./jrtangle:28

2025-06-04 Thread NR
On Wed, Jun 4, 2025 at 4:05 AM NR wrote: > > b92d3c94189a7cbf8ca7fba5a4ccdec03459386c > ``` > gawk -f ./jrtangle ./ti.twjr || rm -f texindex.awk > gawk: ./jrtangle:28:match(PROCINFO["version"], /^[0-9]+\./, v); > gawk: ./jrtangle:28: > ^ match: third argument is a gawk extension > se

Repo Master Build Failure - ./jrtangle:28

2025-06-04 Thread NR
b92d3c94189a7cbf8ca7fba5a4ccdec03459386c ``` gawk -f ./jrtangle ./ti.twjr || rm -f texindex.awk gawk: ./jrtangle:28:match(PROCINFO["version"], /^[0-9]+\./, v); gawk: ./jrtangle:28: ^ match: third argument is a gawk extension sed -e 's,[@]pkgdatadir[@],/usr/share/texinfo,g' -e 's,[@]TI