automake-patches
[Top][All Lists]
Advanced

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

[PATCH 2/2] yacc: update docs w.r.t. extension of yacc-generated headers


From: Stefano Lattarini
Subject: [PATCH 2/2] yacc: update docs w.r.t. extension of yacc-generated headers
Date: Sun, 10 Apr 2011 10:46:48 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

[dropping bug-automake]

On Sunday 10 April 2011, Stefano Lattarini wrote:
> Reference:
>  <http://lists.gnu.org/archive/html/automake-patches/2011-01/msg00306.html>
> 
> This patch has been applied in the meantime, but it lacked NEWS and
> documentation updates.  I will post them soonish in two different
> patches.
> 
Here is the documentation update.

OK for yacc-work?  I will push in 72 hours if there is no objection.

Thanks,
  Stefano
From 4c85b75935cf0980eca9132035da2e696a64db8d Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Sat, 9 Apr 2011 13:45:55 +0200
Subject: [PATCH 2/2] yacc: update docs w.r.t. extension of yacc-generated 
headers

* doc/automake.texi (Yacc and Lex): Document explicitly that
extensions of yacc-generated headers are modelled after
extension of the corresponding sources.
---
 ChangeLog         |    7 +++++++
 doc/automake.texi |   12 ++++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8c31442..2fc4a45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-04-10   Stefano Lattarini  <address@hidden>
 
+       yacc: update docs w.r.t. extension of yacc-generated headers
+       * doc/automake.texi (Yacc and Lex): Document explicitly that
+       extensions of yacc-generated headers are modelled after
+       extension of the corresponding sources.
+
+2011-04-10   Stefano Lattarini  <address@hidden>
+
        yacc: update NEWS w.r.t. extension of Yacc-generated headers
        * NEWS: Update.
 
diff --git a/doc/automake.texi b/doc/automake.texi
index dfd0019..37508e9 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -6048,10 +6048,14 @@ cause the intermediate file to be named @file{foo.c} 
(as opposed to
 @file{y.tab.c}, which is more traditional).
 
 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
address@hidden; @file{.y++}, @file{c++}; @file{.yxx}, @file{.cxx}; and
address@hidden, @file{.cpp}.
+of the resulting C or C++ source and header file(s) (note that header
+files are generated only when the @option{-d} Yacc option is used; see
+below for more information about this flag, and how to specify it).
+Files with the extension @file{.y} will be turned into @file{.c}
+sources and @file{.h} headers; likewise, @file{.yy} will become
address@hidden and @file{.hh}; @file{.y++}, @file{c++} and @file{h++};
address@hidden, @file{.cxx} and @file{.hxx}; and @file{.ypp}, @file{.cpp}
+and @file{.hpp}.
 
 Likewise, lex source files can be used to generate C or C++; the
 extensions @file{.l}, @file{.ll}, @file{.l++}, @file{.lxx}, and
-- 
1.7.2.3


reply via email to

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