Grammar rule 1 a -> /* empty */ rule 2 a -> B a Terminals, with rules where they appear $ (-1) error (256) B (258) 2 Nonterminals, with rules where they appear a (4) on left: 1 2, on right: 2 state 0 B shift, and go to state 1 $default reduce using rule 1 (a) a go to state 3 state 1 a -> B . a (rule 2) B shift, and go to state 1 $default reduce using rule 1 (a) a go to state 2 state 2 a -> B a . (rule 2) $default reduce using rule 2 (a) state 3 $ go to state 4 state 4 $ go to state 5 state 5 $default accept