Next: Context-Dependent Precedence, Previous: Shift/Reduce Conflicts, Up: The Bison Parser Algorithm [Contents][Index]
Another situation where shift/reduce conflicts appear is in arithmetic expressions. Here shifting is not always the preferred resolution; the Bison declarations for operator precedence allow you to specify when to shift and when to reduce.