Define YYDEBUG to 0 if it is not defined and if we are not debugging.

POSIX requires this.
This commit is contained in:
Paul Eggert
2001-12-17 18:48:43 +00:00
parent ac28f67c0b
commit cc6ed5f7f1
4 changed files with 28 additions and 22 deletions

View File

@@ -56,7 +56,8 @@ foo_tab.c.
.indent -1
2 /DEBUG
.skip
Output a definition of the macro YYDEBUG into the parser file,
In the parser file,
define the macro YYDEBUG to 1 if it is not already defined,
so that the debugging facilities are compiled.
.skip
.indent -1