help-bison
[Top][All Lists]
Advanced

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

Re: I specified operator precedence and association, but there are still


From: Akim Demaille
Subject: Re: I specified operator precedence and association, but there are still reduce/reduce conflicts error message....
Date: Tue, 12 May 2009 13:45:54 +0200


Le 12 mai 09 à 09:06, Yinpeng Li a écrit :

THE ERROR REPORT:
state 54

  17 predicate: predicate . OR predicate  [END_OF_COMMAND,
RIGHT_PARENTHESIS, OR]
  17          | predicate OR predicate .  [END_OF_COMMAND,
RIGHT_PARENTHESIS, OR]
  18          | predicate . AND predicate

   AND  shift, and go to state 40

   $default  reduce using rule 17 (predicate)

Conflict between rule 17 and token OR resolved as reduce (%left OR). Conflict between rule 17 and token AND resolved as shift (OR < AND).

Note that the conflict is *solved*, Bison is just reporting how. So, "there are still reduce/reduce conflicts error message...." is wrong.



reply via email to

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