help-bison
[Top][All Lists]
Advanced

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

Re: grammar for propositional logic


From: John P. Hartmann
Subject: Re: grammar for propositional logic
Date: Wed, 1 Sep 2010 08:35:34 +0200

If you mean why do you get the shift/reduce errors, it is because your
grammar is ambiguous.

You can deal with the ambiguity in several ways, but %left to specify
associativity and precedence as I said earlier seems like the easiest
in your case.

Doing that will remove all conflicts from your grammar, even the one
in state 14.

   j.



reply via email to

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