State 4 conflicts: 1 shift/reduce Grammar 0 $accept: expr $end 1 expr: X 2 | expr expr Terminals, with rules where they appear $end (0) 0 error (256) X (258) 1 Nonterminals, with rules where they appear $accept (4) on left: 0 expr (5) on left: 1 2, on right: 0 2 state 0 0 $accept: . expr $end X shift, and go to state 1 expr go to state 2 state 1 1 expr: X . $default reduce using rule 1 (expr) state 2 0 $accept: expr . $end 2 expr: expr . expr $end shift, and go to state 3 X shift, and go to state 1 expr go to state 4 state 3 0 $accept: expr $end . $default accept state 4 2 expr: expr . expr 2 | expr expr . X shift, and go to state 1 X [reduce using rule 2 (expr)] $default reduce using rule 2 (expr) expr go to state 4