bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @defblock and @defline in texi2any


From: Patrice Dumas
Subject: Re: @defblock and @defline in texi2any
Date: Thu, 2 Mar 2023 00:30:52 +0100

On Thu, Mar 02, 2023 at 12:00:39AM +0100, Arsen Arsenović wrote:
> 
> 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

I tried with a similar setup and I don't get an error:

dumas@cirn399:~/src/texinfo/tp(master)$ ./texi2any.pl <test.texi
-: warning: document without nodes
dumas@cirn399:~/src/texinfo/tp(master)$ cat test.texi 
@bye


But I said something wrong in my previous mail, this code is very
new, so it could be a new issue.  I will add more information to the
debugging message, more information can be gathered.

>   
>   
>   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.

Possibly, but could also be an overly strict check.

-- 
Pat



reply via email to

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