bug-autoconf
[Top][All Lists]
Advanced

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

Re: CVS Texinfo fails to build the Autoconf manual (from git)


From: Eli Zaretskii
Subject: Re: CVS Texinfo fails to build the Autoconf manual (from git)
Date: Mon, 16 Jul 2012 21:18:07 +0300

> Date: Mon, 16 Jul 2012 18:53:27 +0200
> From: Patrice Dumas <address@hidden>
> Cc: "address@hidden" <address@hidden>, address@hidden
> 
> On Mon, Jul 16, 2012 at 12:14:01PM +0200, Stefano Lattarini wrote:
> > Here are the errors that I'm getting:
> > 
> > autoconf.texi:8018: Misplaced }
> 
> I think that this is correct (and my guess is that the other are in fact
> consequences and similar other issues).  Indeed, there is a @macro:
> 
> @macro ovar{varname}
> @address@hidden@address@hidden
> @end macro
> 
> Called like:
> @defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, 
> @
>   AC_MSG_FAILURE})
> 
> The trouble comes from the @c, indeed, the macro expansion leads to
> @defmac AC_F77_DUMMY_MAIN (@address@hidden@address@hidden, 
> @dvar{action-if-not-found, @
>   AC_MSG_FAILURE})
> which means that the end of the line is ignored.

This is wrong, the newline at the end of the macro (after the @c)
should be part of the macro expansion.  AFAIR, this is how the C
makeinfo worked, because the newline was collected as part of the
macro body when the @address@hidden macro block was processed.

IOW, this is an incompatible change in behavior.  Can the new makeinfo
be compatible, please?



reply via email to

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