From: Alexandre Duret-Lutz Date: Tue, 21 Feb 2006 20:29:25 +0000 (+0000) Subject: * doc/automake.texi (Yacc and Lex): Document that `.ypp' and X-Git-Tag: Release-1-9b~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7523b0fe1942deede1e1ba4de6c1862a0d0bf1d1;p=thirdparty%2Fautomake.git * doc/automake.texi (Yacc and Lex): Document that `.ypp' and `.lpp' file extensions are recognized. --- diff --git a/ChangeLog b/ChangeLog index 04fcca240..ac3e4a6e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-21 Ralf Wildenhues + + * doc/automake.texi (Yacc and Lex): Document that `.ypp' and + `.lpp' file extensions are recognized. + 2006-02-21 Alexandre Duret-Lutz * doc/automake.texi (Complete, Extending aclocal, Public macros) diff --git a/doc/automake.texi b/doc/automake.texi index 90d60bd8b..ab87b22b5 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -4511,11 +4511,12 @@ cause the intermediate file to be named @file{foo.c} (as opposed to The extension of a yacc source file is used to determine the extension of the resulting C or C++ file. Files with the extension @file{.y} will be turned into @file{.c} files; likewise, @file{.yy} will become -@file{.cc}; @file{.y++}, @file{c++}; and @file{.yxx}, @file{.cxx}. +@file{.cc}; @file{.y++}, @file{c++}; @file{.yxx}, @file{.cxx}; and +@file{.ypp}, @file{.cpp}. Likewise, lex source files can be used to generate C or C++; the -extensions @file{.l}, @file{.ll}, @file{.l++}, and @file{.lxx} are -recognized. +extensions @file{.l}, @file{.ll}, @file{.l++}, @file{.lxx}, and +@file{.lpp} are recognized. You should never explicitly mention the intermediate (C or C++) file in any @code{SOURCES} variable; only list the source file.