automake-patches
[Top][All Lists]
Advanced

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

document .ypp and .lpp (Was: Re: Automake doesn't invoke bison even with


From: Alexandre Duret-Lutz
Subject: document .ypp and .lpp (Was: Re: Automake doesn't invoke bison even with BUILT_SOURCES)
Date: Tue, 21 Feb 2006 21:30:47 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

>>> "RW" == Ralf Wildenhues <address@hidden> writes:

[...]

 RW> I noted that .ypp is not documented.  The patch below (against
 RW> CVS Automake) fixes this.

Thanks.

 RW> * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
 RW> `.lpp' file extensions are recognized.

 RW> Index: doc/automake.texi
 RW> ===================================================================
 RW> RCS file: /cvs/automake/automake/doc/automake.texi,v
 RW> retrieving revision 1.127
 RW> diff -u -r1.127 automake.texi
 RW> --- doc/automake.texi   5 Feb 2006 05:53:38 -0000       1.127
 RW> +++ doc/automake.texi   21 Feb 2006 08:29:58 -0000
 RW> @@ -4509,11 +4509,12 @@
 RW> The extension of a yacc source file is used to determine the extension
 RW> of the resulting C or C++ file.  Files with the extension @file{.y}
 RW> will be turned into @file{.c} files; likewise, @file{.yy} will become
 RW> address@hidden; @file{.y++}, @file{c++}; and @file{.yxx}, @file{.cxx}.
 RW> address@hidden; @file{.y++}, @file{c++}; @file{.yxx}, @file{.cxx}; and
 RW> address@hidden, @file{.cpp}.

 RW> Likewise, lex source files can be used to generate C or C++; the
 RW> -extensions @file{.l}, @file{.ll}, @file{.l++}, and @file{.lxx} are
 RW> -recognized.
 RW> +extensions @file{.l}, @file{.ll}, @file{.l++}, @file{.lxx}, and
 RW> address@hidden are recognized.

 RW> You should never explicitly mention the intermediate (C or C++) file
 RW> in any @code{SOURCES} variable; only list the source file.

-- 
Alexandre Duret-Lutz

Shared books are happy books.     http://www.bookcrossing.com/friend/gadl





reply via email to

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