[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need Help in Shift Reduce Errors
From: |
Laurence Finston |
Subject: |
Re: Need Help in Shift Reduce Errors |
Date: |
Fri, 22 Jul 2005 10:53:40 +0200 (MEST) |
On Fri, 22 Jul 2005, Atul Kulkarni wrote:
> Well I would not really worry about them but one variant of Bison Yacc
> just does not generate output "c" code for this grammar. That's what
> worries me.
>
It may be that Bison fails if the number of conflicts
is different from the value specified using the '%expect'
option. I have a vague recollection that this used to happen, but I
haven't used '%expect' for a long time. I just checked the current
manual, and it just says that Bison issues a warning, but doesn't say
anything about failing or aborting. If you're using '%expect', and
getting rid of it doesn't help, I suggest having a look through the
documentation. I didn't look very thoroughly.
Laurence