* doc/bison.texinfo (C++ Bison Interface): Clarify the naming

scheme.
Reported by Steve Murphy.
This commit is contained in:
Akim Demaille
2006-05-14 21:00:37 +00:00
parent 34376418e2
commit cd8b579166
3 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
2006-05-14 Akim Demaille <akim@lrde.epita.fr>
* doc/bison.texinfo (C++ Bison Interface): Clarify the naming
scheme.
Reported by Steve Murphy.
2006-05-14 Akim Demaille <akim@lrde.epita.fr>
* data/glr.cc, data/lalr1.cc: Using %defines is mandatory.

1
THANKS
View File

@@ -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

View File

@@ -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