help-bison
[Top][All Lists]
Advanced

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

Help resolving a conflict


From: Clarke
Subject: Help resolving a conflict
Date: Thu, 19 Mar 2009 17:25:07 -0600

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


reply via email to

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