Any comments on why I would be getting a syntax error? On Wed, Sep 1, 2010 at 1:50 AM, John P. Hartmann <jphartm...@gmail.com>wrote:
> ---------- Forwarded message ---------- > From: John P. Hartmann <jphartm...@gmail.com> > Date: 1 September 2010 07:49 > Subject: Re: grammar for propositional logic > To: Martin McDermott <martin.n.mcderm...@gmail.com> > > > 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. > > _______________________________________________ > help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison > _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison