]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/byacc/test/btyacc/err_syntax18.output
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / byacc / test / btyacc / err_syntax18.output
1    0  $accept : expr $end
2
3    1  expr : '(' expr ')'
4 \f
5 state 0
6         $accept : . expr $end  (0)
7
8         '('  shift 1
9         .  error
10
11         expr  goto 2
12
13
14 state 1
15         expr : '(' . expr ')'  (1)
16
17         '('  shift 1
18         .  error
19
20         expr  goto 3
21
22
23 state 2
24         $accept : expr . $end  (0)
25
26         $end  accept
27
28
29 state 3
30         expr : '(' expr . ')'  (1)
31
32         ')'  shift 4
33         .  error
34
35
36 state 4
37         expr : '(' expr ')' .  (1)
38
39         .  reduce 1
40
41
42 4 terminals, 2 nonterminals
43 2 grammar rules, 5 states
44
45 grammar parser grammar
46 symbol# value# symbol
47      0      0  $end
48      1    256  error
49      2     40  '('
50      3     41  ')'
51      4    257  $accept
52      5    258  expr