help-bison
[Top][All Lists]
Advanced

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

Re: Error handling


From: Hans Aberg
Subject: Re: Error handling
Date: Fri, 8 Dec 2006 00:11:18 +0100

If you use Bison generated parser's dynamic stack, syntax errors are all that remains.

  Hans Aberg


On 7 Dec 2006, at 23:38, DaveMord wrote:


Hi, i'm new to yacc and Bison and i really need help. I have to change the yacc compiler to Bison compiler and i got some problems with the yyerror function. This function was implemented for the yacc compiler but it doesnt work with Bison. yyerror used YY_ALLOC_ERR, YY_STACK_OVF, YY_SYNTAX_ERR enum
to know which kind of error it is. What is the equivalent with Bison?

With yacc, an enum was generated containing those variable, but Bison does
not generated them!

Thanks for any help
--
View this message in context: http://www.nabble.com/Error-handling- tf2777538.html#a7749166
Sent from the Gnu - Bison - Help mailing list archive at Nabble.com.



_______________________________________________
address@hidden http://lists.gnu.org/mailman/listinfo/help-bison





reply via email to

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