bug-texinfo
[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: Patrice Dumas
Subject: Re: CVS Texinfo fails to build the Autoconf manual (from git)
Date: Mon, 16 Jul 2012 18:53:27 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

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.

> Also, where is
> that "conftest.c" coming from?

It comes from
# 1 "conftest.c"

and the new feature of recognizing those kind of line specifications
to match with what m4 produces.  You can use @hashchar{} instead of #,
maybe.  Or, to be backward compatible

@asis{# 1 "conftest.c"}

-- 
Pat



reply via email to

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