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.



_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison



_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to