xref: /freebsd/contrib/byacc/test/btyacc/err_syntax18.output (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
1   0  $accept : expr $end
2
3   1  expr : '(' expr ')'
4
5state 0
6	$accept : . expr $end  (0)
7
8	'('  shift 1
9	.  error
10
11	expr  goto 2
12
13
14state 1
15	expr : '(' . expr ')'  (1)
16
17	'('  shift 1
18	.  error
19
20	expr  goto 3
21
22
23state 2
24	$accept : expr . $end  (0)
25
26	$end  accept
27
28
29state 3
30	expr : '(' expr . ')'  (1)
31
32	')'  shift 4
33	.  error
34
35
36state 4
37	expr : '(' expr ')' .  (1)
38
39	.  reduce 1
40
41
424 terminals, 2 nonterminals
432 grammar rules, 5 states
44
45grammar parser grammar
46symbol# value# symbol
47     0      0  $end
48     1    256  error
49     2     40  '('
50     3     41  ')'
51     4    257  $accept
52     5    258  expr
53