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.

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

Reply via email to