Next: The if-then-else Problem
Up: No Title
Previous: Using Precedence
- A terminal has the given precedence (or lowest if unsepcified)
- a production has the precedence of its last terminal (lowest if
unspecified, give if explicitely annotated).
- In a shift/reduce conflict
- if the production has higher precedence reduce
- if the terminal has higher precedence shift
- if they are equal use associativity
Christoph Zenger
4/6/2000