[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: “bug: Nothing closed while a line context remains” with Texinfo 7.0.
From: |
Arsen Arsenović |
Subject: |
Re: “bug: Nothing closed while a line context remains” with Texinfo 7.0.3 |
Date: |
Wed, 19 Apr 2023 16:56:00 +0200 |
Hi Florian,
Thanks for the report!
Florian Weimer <fweimer@redhat.com> writes:
> The attached file produces this error when being processed with
> “makeinfo cc65.texi”:
>
> | You found a bug: Nothing closed while a line context remains
> | - (document_root)[C43]
> |
> |
> | Additional information:
> | last location: cc65.texi:1086
> | context_stack: (ct_line)
> | Died at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3621.
>
> I'm using Fedora's texinfo-7.0.3-1.fc39.x86_64 version.
>
> I assume “You found a bug” means that this is a failed internal
> consistency check, and therefore a Texinfo bug.
Indeed.
> Thanks,
> Florian
>
> [2. application/x-texinfo; cc65.texi]...
Reduced test case:
@table @asis
@item @end table
This seems to happen only on the 7.0 branch (i.e. master is fine).
To my untrained-to-the-parser eyes, it seems like the parser is trying
to parse @end as part of @item and getting confused (whereas the
unaffected version parses @item first, with no argument, and then @end).
I'll try to bisect and come up with a fix. Everyone should feel free to
beat me to it, though.
Have a lovely day.
--
Arsen Arsenović
signature.asc
Description: PGP signature