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

3
NEWS
View File

@@ -3,6 +3,9 @@ Bison News
Changes in version 1.30h:
* When the generated parser lacks debugging code, YYDEBUG is now 0
(as POSIX requires) instead of being undefined.
* User Actions
Bison has always permitted actions such as { $$ = $1 }: it adds the
ending semicolon. Now if in Yacc compatibility mode, the semicolon