GNU Info

Info Node: (bison.info)Precedence

(bison.info)Precedence


Next: Contextual Precedence Prev: Shift/Reduce Up: Algorithm
Enter node , (file) or (file)node

Operator Precedence
===================

   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.

Why Precedence
An example showing why precedence is needed.
Using Precedence
How to specify precedence in Bison grammars.
Precedence Examples
How these features are used in the previous example.
How Precedence
How they work.

automatically generated by info2www version 1.2.2.9