> Date: Mon, 16 Jul 2012 18:53:27 +0200
> From: Patrice Dumas <pertu...@free.fr>
> Cc: "bug-autoconf@gnu.org" <bug-autoconf@gnu.org>, bug-texi...@gnu.org
> 
> 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}
> @r{[}@var{\varname\}@r{]}@c
> @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 (@r{[}@var{action-if-found}@r{]}@c, 
> @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 @macro..@end macro block was processed.

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

Reply via email to