Improved diagnostic messages for ill-formed menus?

2025-05-27 Thread Gavin Smith
A mistake in a @menu block can produce many errors that are hard to understand. For example, one missing menu entry: @menu * One:: * Three:: @end menu instead of @menu * One:: * Two:: * Three:: @end menu produces 5 separate errors: test.texi:13: warning: node next pointer for `One' is `Two' b

Many differences in test results with TEXINFO_XS_STRUCTURE=0

2025-05-27 Thread Gavin Smith
I wanted to try some changes to the code checking the structure of sections and menus. I changed the code in Texinfo/Structuring.pm first, and wanted to know how this affected the output of the test suite. However, running the test suite with TEXINFO_XS_STRUCTURE=0 produces many other changes too: