[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error handling
From: |
DaveMord |
Subject: |
Re: Error handling |
Date: |
Fri, 8 Dec 2006 06:11:50 -0800 (PST) |
I'm sorry but I don't understant what you said.
What is the genrated parser's dynamic stacK?
Hans Aberg wrote:
>
> 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
>
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
>
>
--
View this message in context:
http://www.nabble.com/Error-handling-tf2777538.html#a7758206
Sent from the Gnu - Bison - Help mailing list archive at Nabble.com.