[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.3 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.
5.3.1 When Precedence is Needed | An example showing why precedence is needed. | |
5.3.2 Specifying Operator Precedence | How to specify precedence and associativity. | |
5.3.3 Specifying Precedence Only | How to specify precedence only. | |
5.3.4 Precedence Examples | How these features are used in the previous example. | |
5.3.5 How Precedence Works | How they work. | |
5.3.6 Using Precedence For Non Operators | Using precedence for general conflicts. |
This document was generated on December 1, 2013 using texi2html 5.0.