bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposed Bison patch for YYDEBUG for POSIX compliance


From: Akim Demaille
Subject: Re: proposed Bison patch for YYDEBUG for POSIX compliance
Date: 15 Dec 2001 11:35:29 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

| Here's a proposed patch to fix one or two POSIX-compliance bugs in Bison.
| * POSIX says that YYDEBUG must be defined to be 0 if the user never specifies
|   debugging, but the Bison-generated parser leaves YYDEBUG undefined.
| 
| * This is a very minor point, but POSIX doesn't seem to require that
|   the user must YYDEBUG to a parenthesized expression, e.g. `#define
|   YYDEBUG 0 ? 0 : 1' seems to be allowed.  We might as well survive
|   such programs while we're at it.

Fine, please, install!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]