From: Akim Demaille Date: Sun, 14 May 2006 21:00:37 +0000 (+0000) Subject: * doc/bison.texinfo (C++ Bison Interface): Clarify the naming X-Git-Tag: v2.3b~402 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/cd8b579166335323fc1c5a59ff7e3e9968d5ec4f * doc/bison.texinfo (C++ Bison Interface): Clarify the naming scheme. Reported by Steve Murphy. --- diff --git a/ChangeLog b/ChangeLog index 4af1d744..6d8e7d4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-14 Akim Demaille + + * doc/bison.texinfo (C++ Bison Interface): Clarify the naming + scheme. + Reported by Steve Murphy. + 2006-05-14 Akim Demaille * data/glr.cc, data/lalr1.cc: Using %defines is mandatory. diff --git a/THANKS b/THANKS index 6586c337..4ae2d2f8 100644 --- a/THANKS +++ b/THANKS @@ -67,6 +67,7 @@ Raja R Harinath harinath@cs.umn.edu Richard Stallman rms@gnu.org Robert Anisko anisko_r@epita.fr Shura debil_urod@ngs.ru +Steve Murhpy murf@parsetree.com Tim Josling tej@melbpc.org.au Tim Van Holder tim.van.holder@pandora.be Tom Lane tgl@sss.pgh.pa.us diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 763320bd..4b61b401 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -7040,13 +7040,13 @@ An auxiliary class @code{stack} used by the parser. @item @var{file}.hh @itemx @var{file}.cc -The declaration and implementation of the C++ parser class. -@var{file} is the name of the output file. It follows the same -rules as with regular C parsers. +(Assuming the extension of the input file was @samp{.yy}.) The +declaration and implementation of the C++ parser class. The basename +and extension of these two files follow the same rules as with regular C +parsers (@pxref{Invocation}). -Note that @file{@var{file}.hh} is @emph{mandatory}, the C++ cannot -work without the parser class declaration. Therefore, you must either -pass @option{-d}/@option{--defines} to @command{bison}, or use the +The header is @emph{mandatory}; you must either pass +@option{-d}/@option{--defines} to @command{bison}, or use the @samp{%defines} directive. @end table