bug-bison
[Top][All Lists]
Advanced

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

Re: fprintf -> YYFPRINTF


From: Bob Smith
Subject: Re: fprintf -> YYFPRINTF
Date: Mon, 02 Jul 2007 03:51:49 -0500
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)

On 7/1/2007 9:08 PM, Joel E. Denny wrote:
On Fri, 29 Jun 2007, Bob Smith wrote:

Using bison 2.3 to generate a parser which runs under Windows, I browsed the
.C file which bison generates and noticed that I wasn't seeing all of the
messages in the output that bison generates, e.g.

Reducing stack by rule 6 (line 122):
   $1 = nterm Stmt ()

Then I noticed that there are three places in the .C file generated by bison
where fprintf is used (two in the body of yy_reduce_print and one in the
#define for YY_LOCATION_PRINT).  To make it easier to redirect those calls, it
would be helpful if those names were changed to YYFPRINTF or some other
redefinable name.

Thanks for the report.

Thanks for the fix!
--
_______________________________________________________________
Bob Smith - address@hidden - http://www.sudleyplace.com




reply via email to

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