State 6 contains 2 shift/reduce conflicts. State 7 contains 2 shift/reduce conflicts. Grammar rule 1 line -> exp EOL rule 2 exp -> exp '+' exp rule 3 exp -> exp '-' exp rule 4 exp -> INTEGER Terminals, with rules where they appear $ (-1) '+' (43) 2 '-' (45) 3 error (256) INTEGER (257) 4 EOL (258) 1 Nonterminals, with rules where they appear line (7) on left: 1 exp (8) on left: 2 3 4, on right: 1 2 3 state 0 INTEGER shift, and go to state 1 line go to state 8 exp go to state 2 state 1 exp -> INTEGER . (rule 4) $default reduce using rule 4 (exp) state 2 line -> exp . EOL (rule 1) exp -> exp . '+' exp (rule 2) exp -> exp . '-' exp (rule 3) EOL shift, and go to state 3 '+' shift, and go to state 4 '-' shift, and go to state 5 state 3 line -> exp EOL . (rule 1) $default reduce using rule 1 (line) state 4 exp -> exp '+' . exp (rule 2) INTEGER shift, and go to state 1 exp go to state 6 state 5 exp -> exp '-' . exp (rule 3) INTEGER shift, and go to state 1 exp go to state 7 state 6 exp -> exp . '+' exp (rule 2) exp -> exp '+' exp . (rule 2) exp -> exp . '-' exp (rule 3) '+' shift, and go to state 4 '-' shift, and go to state 5 '+' [reduce using rule 2 (exp)] '-' [reduce using rule 2 (exp)] $default reduce using rule 2 (exp) state 7 exp -> exp . '+' exp (rule 2) exp -> exp . '-' exp (rule 3) exp -> exp '-' exp . (rule 3) '+' shift, and go to state 4 '-' shift, and go to state 5 '+' [reduce using rule 3 (exp)] '-' [reduce using rule 3 (exp)] $default reduce using rule 3 (exp) state 8 $ go to state 9 state 9 $ go to state 10 state 10 $default accept