bug-texinfo
[Top][All Lists]
Advanced

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

Re: runaway recursion in makeinfo


From: Patrice Dumas
Subject: Re: runaway recursion in makeinfo
Date: Mon, 21 Nov 2022 21:51:34 +0100

On Mon, Nov 21, 2022 at 09:12:56PM +0100, Patrice Dumas wrote:
> On Mon, Nov 21, 2022 at 07:07:05AM -0800, David Bacon wrote:
> > Wow, well done, reducing it to such a nice tidy little test case!
> 
> Actually the smallest case is the following (which I thought we tested
> for...):
> 
> @node sharp
> @section @ref{sharp} tuple

The infinite recursion happens simply because the section refers to
itself.  A double recursion also creates the same kind of infinite loop:

@node n1
@section @ref{n2}

@node n2
@section @ref{n1}

What about forbidding such constructs when creating the Texinfo tree?

-- 
Pat



reply via email to

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