Index: ChangeLog from 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. * data/glr.cc: b4_location_flag is now b4_locations_flag. Index: THANKS =================================================================== RCS file: /cvsroot/bison/bison/THANKS,v retrieving revision 1.65 diff -u -r1.65 THANKS --- THANKS 11 May 2006 11:35:13 -0000 1.65 +++ THANKS 14 May 2006 20:57:18 -0000 @@ -67,6 +67,7 @@ Richard Stallman address@hidden Robert Anisko address@hidden Shura address@hidden +Steve Murhpy address@hidden Tim Josling address@hidden Tim Van Holder address@hidden Tom Lane address@hidden Index: doc/bison.texinfo =================================================================== RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v retrieving revision 1.187 diff -u -r1.187 bison.texinfo --- doc/bison.texinfo 11 May 2006 16:54:01 -0000 1.187 +++ doc/bison.texinfo 14 May 2006 20:57:21 -0000 @@ -7040,13 +7040,14 @@ @item @var{file}.hh @itemx @var{file}.cc -The declaration and implementation of the C++ parser class. address@hidden is the name of the output file. It follows the same -rules as with regular C parsers. - -Note that @address@hidden 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 +(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 the header is @emph{mandatory}, the C++ cannot work without +the parser class declaration. Therefore, you must either pass address@hidden/@option{--defines} to @command{bison}, or use the @samp{%defines} directive. @end table