Patrice Dumas <[email protected]> writes: > On Wed, Mar 01, 2023 at 10:24:34PM +0100, Arsen Arsenović wrote: >> d6678a7d0fe739aa010717b4bd0515e6256510f0 seems to be unable to read >> stdin properly - investigating later, posting so that I do not forget. >> try pasting the above into makeinfo --html -o - -, then into a file, I >> get: >> You found a bug: Non empty last input at the end >> Additional information: >> context_stack: () >> Died at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 6847.) > > I tried to reproduce with the latest master, but I could not. I am not > very sure I understand how to reproduce the issue, that being said, I > tried to put code below "/texi2any.pl --html -o - -", then hit > control-D to have it feed to texi2any. > > I do not think that the code related to that part has changed recently, > so it should be an issue with many version.
Here's a further simplification (I haven't undertaken an investigation yet): ~/gnu/texinfo$ ./pre-inst-env texi2any <test.texi You found a bug: Non empty last input at the end Additional information: context_stack: () Died at /home/arsen/gnu/texinfo/tp/Texinfo/ParserNonXS.pm line 6833. ~/gnu/texinfo 2 $ cat test.texi @bye ~/gnu/texinfo$ ... even :| (i.e. empty input) seems to work: ~/gnu/texinfo$ :|./pre-inst-env texi2any You found a bug: Non empty last input at the end Additional information: context_stack: () Died at /home/arsen/gnu/texinfo/tp/Texinfo/ParserNonXS.pm line 6833. This is at fd02b611b7e1da3cd037a525341648e0e304179c. This makes me wonder if the root of the issue is some separate part of my environment. Thanks for being so prompt. -- Arsen Arsenović
signature.asc
Description: PGP signature
