I am a total newbie, and can't seem to resolve a conflict with this
rule:
%nonassoc LOWER_PRECEDENCE_TOKEN

condStmt                : TOKEN_IF TOKEN_LEFTPAREN expression TOKEN_RIGHTPAREN
statement %prec LOWER_PRECEDENCE_TOKEN
                                | TOKEN_IF TOKEN_LEFTPAREN expression 
TOKEN_RIGHTPAREN statement
TOKEN_ELSE statement

I put the %prec to try to resolve, but still get the shift/reduce
conflict.  Any ideas?  Thanks!

Clarke
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to