🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Carey R. Murphey Mon, 13 Nov 1989 04:00
documentation of `#define YYDEBUG' in bison.texinfo
#535
Author: Carey R. Murphey
Date: Mon, 13 Nov 1989 04:00
20 lines
1042 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads