On Sat, Nov 25, 2023 at 09:35:28AM +0100, Patrice Dumas wrote:
> > It seems that we could stop these structures being modified with the
> > addition of a flag on the parser (e.g. $parser->{'locked'} or
> > $parser->{'simple'}).  Then check this flag any time:
> > 
> > * A new Texinfo command is to be defined (@macro, @alias, @definfoenclose).
> > * A new index is to be added (@defindex, @defcodeindex).
> > 
> > Then the change to the state wouldn't be made if the flag was set, and
> > possibly a warning message could be given too.
> > 
> > I can try to work on a patch for this if this approach sounds like a
> > good idea.
> 

I've sent a series of three patches to [email protected].

Reply via email to