[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shift/Reduce and Reduce/Reduce conflicts.
Hi!
Is there any documentation regarding the interpretation of the conflicts
that may urge in the design of the grammar under SableCC?
I had some conflicts messages, but I don't know how to interpret them. I
could solve them by looking at the books, but the way the message is
expressed is to complicated. How do we interpret them. For example, In the
following production
If_statement =
{If_stmt} if expression then statement |
{If_then_else} if expression then statement else statement ;
This generates a shift/reduce conflict in sablecc. How can we interpret the
message issued by SableCC?
Regards,
Fidel Viegas.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com