[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Intermittent test failure in t/03coverage_braces.t definfoenclose_te
From: |
Gavin Smith |
Subject: |
Re: Intermittent test failure in t/03coverage_braces.t definfoenclose_texinfo_commands |
Date: |
Sun, 25 Feb 2024 20:26:46 +0000 |
On Sun, Feb 25, 2024 at 09:00:55PM +0100, Patrice Dumas wrote:
> On Sun, Feb 25, 2024 at 07:43:42PM +0000, Gavin Smith wrote:
> > It appears that there was no effort made to reset the counters at all.
> > If a parser run finished with one of the counters active, it would
> > remain active for the next run.
>
> Shouldn't there be an error message for the counters that should be
> reset 'naturally' by virtue of closing commands/stacks, resetting them
> unconditionnaly could hide some bugs maybe?
Yes, it would normally be the case that all counters are empty by the time
the parser finishes running. Otherwise it could be a sign of a bug, or
of malformed input.