[Top][All Lists]

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

Re: bison.simple and c++

From: Akim Demaille
Subject: Re: bison.simple and c++
Date: 25 Mar 2002 10:16:17 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Egbert" == Egbert Koenig <address@hidden> writes:

Egbert> Hi, there is a small bug in bison.simple, that prevents from
Egbert> putting yyparse into a class as classname::yyparse. The
Egbert> forward declaration for yyparse() causes g++ to throw an
Egbert> error, if yyparse is redefined to something like
Egbert> classname::yyparse.

Egbert> Please see the attached patch, that will eliminate this
Egbert> problem with bison.simple. It will suppress the forward
Egbert> declaration of yyparse(), if that is redefined as a
Egbert> preprocessor macro.

Thanks for the suggestion, but we are working on the C++ output.  What
would really help us is that you try the CVS version of Bison.
Experiment with `bison -S bison.c++'.

reply via email to

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