Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!RICE.EDU!rich From: rich@RICE.EDU (Carey R. Murphey) Newsgroups: gnu.utils.bug Subject: documentation of `#define YYDEBUG' in bison.texinfo Message-ID: <8911130400.AA09527@kalliope.rice.edu> Date: 13 Nov 89 04:00:30 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20 The node `Debugging' in bison.texinfo explains how to enable debugging using `#define YYDEBUG' in the parser file: >To enable compilation of trace facilities, you must define the macro >`YYDEBUG' when you compile the parser. You could use `-DYYDEBUG' as >a compiler option or you could put `#define YYDEBUG' in the C >declarations section of the grammar file (*note C Declarations::.). `bison.simple' seems to expect this symbol to have a value --- it uses it in a comparison: #if YYDEBUG != 0 Should the text instead suggest using `#define YYDEBUG 1' or `-DYYDEBUG=1' to enable debugging? Thanks, Rich@rice.edu