/[bison]/bison/doc/bison.texinfo
ViewVC logotype

Diff of /bison/doc/bison.texinfo

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by eggert, Sat Jan 5 01:25:38 2002 UTC revision 1.53 by eggert, Thu Feb 14 20:26:54 2002 UTC
# Line 707  In some cases the Bison parser file incl Line 707  In some cases the Bison parser file incl
707  those cases your code should respect the identifiers reserved by those  those cases your code should respect the identifiers reserved by those
708  headers.  On some non-@sc{gnu} hosts, @code{<alloca.h>},  headers.  On some non-@sc{gnu} hosts, @code{<alloca.h>},
709  @code{<stddef.h>}, and @code{<stdlib.h>} are included as needed to  @code{<stddef.h>}, and @code{<stdlib.h>} are included as needed to
710  declare memory allocators and related types.  In the same situation,  declare memory allocators and related types.
 C++ parsers may include @code{<cstddef>} and @code{<cstdlib>} instead.  
711  Other system headers may be included if you define @code{YYDEBUG} to a  Other system headers may be included if you define @code{YYDEBUG} to a
712  nonzero value (@pxref{Debugging, ,Debugging Your Parser}).  nonzero value (@pxref{Debugging, ,Debugging Your Parser}).
713    
# Line 4954  The trace facility outputs messages with Line 4953  The trace facility outputs messages with
4953  @var{format} and @var{args} are the usual @code{printf} format and  @var{format} and @var{args} are the usual @code{printf} format and
4954  arguments.  If you define @code{YYDEBUG} to a nonzero value but do not  arguments.  If you define @code{YYDEBUG} to a nonzero value but do not
4955  define @code{YYFPRINTF}, @code{<stdio.h>} is automatically included  define @code{YYFPRINTF}, @code{<stdio.h>} is automatically included
4956  and @code{YYPRINTF} is defined to @code{fprintf}.  In the same  and @code{YYPRINTF} is defined to @code{fprintf}.
 situation, C++ parsers include @code{<cstdio>} and use  
 @code{std::fprintf} instead.  
4957    
4958  Once you have compiled the program with trace facilities, the way to  Once you have compiled the program with trace facilities, the way to
4959  request a trace is to store a nonzero value in the variable @code{yydebug}.  request a trace is to store a nonzero value in the variable @code{yydebug}.

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26