[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #45771] texi2any barks at non recursive macro being recursive
From: |
Gavin Smith |
Subject: |
Re: [bug #45771] texi2any barks at non recursive macro being recursive |
Date: |
Sun, 16 Aug 2015 18:36:56 +0100 |
On 16 August 2015 at 17:55, Gavin Smith <address@hidden> wrote:
> Confirmed. I looked at the file containing this and found that it was
> caused by an earlier invocation of the macro with an empty first
> argument. The following has the same error:
>
> bash $cat empty-first-arg.texi
> @macro Mac{A,B,C}
> \A\
> @end macro
>
> @Mac{,x,y}
> @Mac{z,x,y}
>
> bash $makeinfo empty-first-arg.texi
> empty-first-arg.texi:6: recursive call of macro Mac is not allowed;
> use @rmacro if needed
> bash $
>
> I don't know why this happens yet.
So I found that when a macro evaluates to nothing, it won't be removed
from a stack of names of macros being expanded. I expect I've fixed
this.