bug-bison
[Top][All Lists]
Advanced

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

Re: yyerror()


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

>>>>> "Miko" == Miko Nahum <address@hidden> writes:

Miko> I am writing my own pure parser and face this problem. Is this
Miko> going to be the same with the new future C++ bison ?

In the future C++ output, error is a method of Parser, and it can see
everything it wants.  With the current Bison, you need to

#define yyerror

with the additional parameter passed to it.  The same problem happens
with locations.



reply via email to

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