1264790Sbapt 0 $accept : expr $end 2264790Sbapt 3264790Sbapt 1 expr : '(' expr ')' 4264790Sbapt 5264790Sbaptstate 0 6264790Sbapt $accept : . expr $end (0) 7264790Sbapt 8264790Sbapt '(' shift 1 9264790Sbapt . error 10264790Sbapt 11264790Sbapt expr goto 2 12264790Sbapt 13264790Sbapt 14264790Sbaptstate 1 15264790Sbapt expr : '(' . expr ')' (1) 16264790Sbapt 17264790Sbapt '(' shift 1 18264790Sbapt . error 19264790Sbapt 20264790Sbapt expr goto 3 21264790Sbapt 22264790Sbapt 23264790Sbaptstate 2 24264790Sbapt $accept : expr . $end (0) 25264790Sbapt 26264790Sbapt $end accept 27264790Sbapt 28264790Sbapt 29264790Sbaptstate 3 30264790Sbapt expr : '(' expr . ')' (1) 31264790Sbapt 32264790Sbapt ')' shift 4 33264790Sbapt . error 34264790Sbapt 35264790Sbapt 36264790Sbaptstate 4 37264790Sbapt expr : '(' expr ')' . (1) 38264790Sbapt 39264790Sbapt . reduce 1 40264790Sbapt 41264790Sbapt 42264790Sbapt4 terminals, 2 nonterminals 43264790Sbapt2 grammar rules, 5 states 44264790Sbapt 45264790Sbaptgrammar parser grammar 46264790Sbaptsymbol# value# symbol 47264790Sbapt 0 0 $end 48264790Sbapt 1 256 error 49264790Sbapt 2 40 '(' 50264790Sbapt 3 41 ')' 51264790Sbapt 4 257 $accept 52264790Sbapt 5 258 expr 53