---------- Forwarded message ----------
From: John P. Hartmann <[email protected]>
Date: 1 September 2010 07:49
Subject: Re: grammar for propositional logic
To: Martin McDermott <[email protected]>


You should inspect the .output file to resolve your conflicts.  For
something as simple as yours, you should have zero tolerance for
conflicts, even shift/reduce.

As a minimum you need to deal with operator associativity and precedence.

%left T_OR T_XOR
%left T_AND

Might be what you want, if AND binds closer than OR.

  j.

_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to