help-bison
[Top][All Lists]
Advanced

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

Error handling


From: DaveMord
Subject: Error handling
Date: Thu, 7 Dec 2006 14:38:14 -0800 (PST)

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.





reply via email to

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