bug-bison
[Top][All Lists]
Advanced

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

Re: Bison-1.28 No Error Bug


From: Akim Demaille
Subject: Re: Bison-1.28 No Error Bug
Date: 02 Oct 2000 11:18:08 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Hans" == Hans Aberg <address@hidden> writes:

Hans> Using the compile Bison-1.28 for MacOS using the Metrowerks CW
Hans> Pro 5 C-compiler, I have noticed it Bison produces some funny
Hans> error messages. For example, if Bison cannot find the startup
Hans> file "<name>.y", one gets the somewhat confusing error message
Hans> Bison: <name>.y: No Error

Hans> The reason, in this case, is that tryopen() uses perror() in
Hans> connection with a function fprintf() that does not set
Hans> errno. When the program starts, errno is set to 0, meaning "No
Hans> Error", and remains so until a function alters it.

Hi,

It would greatly help us if you could use the current beta of Bison
instead, since a lot of this code has changed since 1.28.  Please, see

        http://subversions.gnu.org/

for how to download it.

        Akim



reply via email to

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