[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison problem shift/reduce
From: |
Hans Aberg |
Subject: |
Re: Bison problem shift/reduce |
Date: |
Wed, 11 Apr 2007 23:02:23 +0200 |
On 11 Apr 2007, at 13:33, alnet wrote:
I'm new to the flex/bison stuff and I get an error message. Can you
spot the
error please?
Your report is too incomplete for that. Instead do it yourself:
Compile Bison with the --verbose startup option, which generates a
".output file". In it, look for the conflicting state, and in that,
the conflicting rules. Then, a way to resolve shift/reduce conflicts
is to use token precedences on the tokens immediately before and
after the ".".
[And in followups, cc the list, as others may decide to do continue.]
Hans Aberg