xref: /freebsd/contrib/byacc/test/btyacc/calc_code_all.output (revision b53bb29fed3e69c2561e93c1aee32b92ffe9117f)
1*b53bb29fSJung-uk Kim   0  $accept : list $end
2*b53bb29fSJung-uk Kim
3*b53bb29fSJung-uk Kim   1  list :
4*b53bb29fSJung-uk Kim   2       | list stat '\n'
5*b53bb29fSJung-uk Kim   3       | list error '\n'
6*b53bb29fSJung-uk Kim
7*b53bb29fSJung-uk Kim   4  stat : expr
8*b53bb29fSJung-uk Kim   5       | LETTER '=' expr
9*b53bb29fSJung-uk Kim
10*b53bb29fSJung-uk Kim   6  expr : '(' expr ')'
11*b53bb29fSJung-uk Kim   7       | expr '+' expr
12*b53bb29fSJung-uk Kim   8       | expr '-' expr
13*b53bb29fSJung-uk Kim   9       | expr '*' expr
14*b53bb29fSJung-uk Kim  10       | expr '/' expr
15*b53bb29fSJung-uk Kim  11       | expr '%' expr
16*b53bb29fSJung-uk Kim  12       | expr '&' expr
17*b53bb29fSJung-uk Kim  13       | expr '|' expr
18*b53bb29fSJung-uk Kim  14       | '-' expr
19*b53bb29fSJung-uk Kim  15       | LETTER
20*b53bb29fSJung-uk Kim  16       | number
21*b53bb29fSJung-uk Kim
22*b53bb29fSJung-uk Kim  17  number : DIGIT
23*b53bb29fSJung-uk Kim  18         | number DIGIT
24*b53bb29fSJung-uk Kim
25*b53bb29fSJung-uk Kimstate 0
26*b53bb29fSJung-uk Kim	$accept : . list $end  (0)
27*b53bb29fSJung-uk Kim	list : .  (1)
28*b53bb29fSJung-uk Kim
29*b53bb29fSJung-uk Kim	.  reduce 1
30*b53bb29fSJung-uk Kim
31*b53bb29fSJung-uk Kim	list  goto 1
32*b53bb29fSJung-uk Kim
33*b53bb29fSJung-uk Kim
34*b53bb29fSJung-uk Kimstate 1
35*b53bb29fSJung-uk Kim	$accept : list . $end  (0)
36*b53bb29fSJung-uk Kim	list : list . stat '\n'  (2)
37*b53bb29fSJung-uk Kim	list : list . error '\n'  (3)
38*b53bb29fSJung-uk Kim
39*b53bb29fSJung-uk Kim	$end  accept
40*b53bb29fSJung-uk Kim	error  shift 2
41*b53bb29fSJung-uk Kim	DIGIT  shift 3
42*b53bb29fSJung-uk Kim	LETTER  shift 4
43*b53bb29fSJung-uk Kim	'-'  shift 5
44*b53bb29fSJung-uk Kim	'('  shift 6
45*b53bb29fSJung-uk Kim	.  error
46*b53bb29fSJung-uk Kim
47*b53bb29fSJung-uk Kim	stat  goto 7
48*b53bb29fSJung-uk Kim	expr  goto 8
49*b53bb29fSJung-uk Kim	number  goto 9
50*b53bb29fSJung-uk Kim
51*b53bb29fSJung-uk Kim
52*b53bb29fSJung-uk Kimstate 2
53*b53bb29fSJung-uk Kim	list : list error . '\n'  (3)
54*b53bb29fSJung-uk Kim
55*b53bb29fSJung-uk Kim	'\n'  shift 10
56*b53bb29fSJung-uk Kim	.  error
57*b53bb29fSJung-uk Kim
58*b53bb29fSJung-uk Kim
59*b53bb29fSJung-uk Kimstate 3
60*b53bb29fSJung-uk Kim	number : DIGIT .  (17)
61*b53bb29fSJung-uk Kim
62*b53bb29fSJung-uk Kim	.  reduce 17
63*b53bb29fSJung-uk Kim
64*b53bb29fSJung-uk Kim
65*b53bb29fSJung-uk Kimstate 4
66*b53bb29fSJung-uk Kim	stat : LETTER . '=' expr  (5)
67*b53bb29fSJung-uk Kim	expr : LETTER .  (15)
68*b53bb29fSJung-uk Kim
69*b53bb29fSJung-uk Kim	'='  shift 11
70*b53bb29fSJung-uk Kim	'|'  reduce 15
71*b53bb29fSJung-uk Kim	'&'  reduce 15
72*b53bb29fSJung-uk Kim	'+'  reduce 15
73*b53bb29fSJung-uk Kim	'-'  reduce 15
74*b53bb29fSJung-uk Kim	'*'  reduce 15
75*b53bb29fSJung-uk Kim	'/'  reduce 15
76*b53bb29fSJung-uk Kim	'%'  reduce 15
77*b53bb29fSJung-uk Kim	'\n'  reduce 15
78*b53bb29fSJung-uk Kim
79*b53bb29fSJung-uk Kim
80*b53bb29fSJung-uk Kimstate 5
81*b53bb29fSJung-uk Kim	expr : '-' . expr  (14)
82*b53bb29fSJung-uk Kim
83*b53bb29fSJung-uk Kim	DIGIT  shift 3
84*b53bb29fSJung-uk Kim	LETTER  shift 12
85*b53bb29fSJung-uk Kim	'-'  shift 5
86*b53bb29fSJung-uk Kim	'('  shift 6
87*b53bb29fSJung-uk Kim	.  error
88*b53bb29fSJung-uk Kim
89*b53bb29fSJung-uk Kim	expr  goto 13
90*b53bb29fSJung-uk Kim	number  goto 9
91*b53bb29fSJung-uk Kim
92*b53bb29fSJung-uk Kim
93*b53bb29fSJung-uk Kimstate 6
94*b53bb29fSJung-uk Kim	expr : '(' . expr ')'  (6)
95*b53bb29fSJung-uk Kim
96*b53bb29fSJung-uk Kim	DIGIT  shift 3
97*b53bb29fSJung-uk Kim	LETTER  shift 12
98*b53bb29fSJung-uk Kim	'-'  shift 5
99*b53bb29fSJung-uk Kim	'('  shift 6
100*b53bb29fSJung-uk Kim	.  error
101*b53bb29fSJung-uk Kim
102*b53bb29fSJung-uk Kim	expr  goto 14
103*b53bb29fSJung-uk Kim	number  goto 9
104*b53bb29fSJung-uk Kim
105*b53bb29fSJung-uk Kim
106*b53bb29fSJung-uk Kimstate 7
107*b53bb29fSJung-uk Kim	list : list stat . '\n'  (2)
108*b53bb29fSJung-uk Kim
109*b53bb29fSJung-uk Kim	'\n'  shift 15
110*b53bb29fSJung-uk Kim	.  error
111*b53bb29fSJung-uk Kim
112*b53bb29fSJung-uk Kim
113*b53bb29fSJung-uk Kimstate 8
114*b53bb29fSJung-uk Kim	stat : expr .  (4)
115*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
116*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
117*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
118*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
119*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
120*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
121*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
122*b53bb29fSJung-uk Kim
123*b53bb29fSJung-uk Kim	'|'  shift 16
124*b53bb29fSJung-uk Kim	'&'  shift 17
125*b53bb29fSJung-uk Kim	'+'  shift 18
126*b53bb29fSJung-uk Kim	'-'  shift 19
127*b53bb29fSJung-uk Kim	'*'  shift 20
128*b53bb29fSJung-uk Kim	'/'  shift 21
129*b53bb29fSJung-uk Kim	'%'  shift 22
130*b53bb29fSJung-uk Kim	'\n'  reduce 4
131*b53bb29fSJung-uk Kim
132*b53bb29fSJung-uk Kim
133*b53bb29fSJung-uk Kimstate 9
134*b53bb29fSJung-uk Kim	expr : number .  (16)
135*b53bb29fSJung-uk Kim	number : number . DIGIT  (18)
136*b53bb29fSJung-uk Kim
137*b53bb29fSJung-uk Kim	DIGIT  shift 23
138*b53bb29fSJung-uk Kim	'|'  reduce 16
139*b53bb29fSJung-uk Kim	'&'  reduce 16
140*b53bb29fSJung-uk Kim	'+'  reduce 16
141*b53bb29fSJung-uk Kim	'-'  reduce 16
142*b53bb29fSJung-uk Kim	'*'  reduce 16
143*b53bb29fSJung-uk Kim	'/'  reduce 16
144*b53bb29fSJung-uk Kim	'%'  reduce 16
145*b53bb29fSJung-uk Kim	'\n'  reduce 16
146*b53bb29fSJung-uk Kim	')'  reduce 16
147*b53bb29fSJung-uk Kim
148*b53bb29fSJung-uk Kim
149*b53bb29fSJung-uk Kimstate 10
150*b53bb29fSJung-uk Kim	list : list error '\n' .  (3)
151*b53bb29fSJung-uk Kim
152*b53bb29fSJung-uk Kim	.  reduce 3
153*b53bb29fSJung-uk Kim
154*b53bb29fSJung-uk Kim
155*b53bb29fSJung-uk Kimstate 11
156*b53bb29fSJung-uk Kim	stat : LETTER '=' . expr  (5)
157*b53bb29fSJung-uk Kim
158*b53bb29fSJung-uk Kim	DIGIT  shift 3
159*b53bb29fSJung-uk Kim	LETTER  shift 12
160*b53bb29fSJung-uk Kim	'-'  shift 5
161*b53bb29fSJung-uk Kim	'('  shift 6
162*b53bb29fSJung-uk Kim	.  error
163*b53bb29fSJung-uk Kim
164*b53bb29fSJung-uk Kim	expr  goto 24
165*b53bb29fSJung-uk Kim	number  goto 9
166*b53bb29fSJung-uk Kim
167*b53bb29fSJung-uk Kim
168*b53bb29fSJung-uk Kimstate 12
169*b53bb29fSJung-uk Kim	expr : LETTER .  (15)
170*b53bb29fSJung-uk Kim
171*b53bb29fSJung-uk Kim	.  reduce 15
172*b53bb29fSJung-uk Kim
173*b53bb29fSJung-uk Kim
174*b53bb29fSJung-uk Kimstate 13
175*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
176*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
177*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
178*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
179*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
180*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
181*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
182*b53bb29fSJung-uk Kim	expr : '-' expr .  (14)
183*b53bb29fSJung-uk Kim
184*b53bb29fSJung-uk Kim	.  reduce 14
185*b53bb29fSJung-uk Kim
186*b53bb29fSJung-uk Kim
187*b53bb29fSJung-uk Kimstate 14
188*b53bb29fSJung-uk Kim	expr : '(' expr . ')'  (6)
189*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
190*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
191*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
192*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
193*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
194*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
195*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
196*b53bb29fSJung-uk Kim
197*b53bb29fSJung-uk Kim	'|'  shift 16
198*b53bb29fSJung-uk Kim	'&'  shift 17
199*b53bb29fSJung-uk Kim	'+'  shift 18
200*b53bb29fSJung-uk Kim	'-'  shift 19
201*b53bb29fSJung-uk Kim	'*'  shift 20
202*b53bb29fSJung-uk Kim	'/'  shift 21
203*b53bb29fSJung-uk Kim	'%'  shift 22
204*b53bb29fSJung-uk Kim	')'  shift 25
205*b53bb29fSJung-uk Kim	.  error
206*b53bb29fSJung-uk Kim
207*b53bb29fSJung-uk Kim
208*b53bb29fSJung-uk Kimstate 15
209*b53bb29fSJung-uk Kim	list : list stat '\n' .  (2)
210*b53bb29fSJung-uk Kim
211*b53bb29fSJung-uk Kim	.  reduce 2
212*b53bb29fSJung-uk Kim
213*b53bb29fSJung-uk Kim
214*b53bb29fSJung-uk Kimstate 16
215*b53bb29fSJung-uk Kim	expr : expr '|' . expr  (13)
216*b53bb29fSJung-uk Kim
217*b53bb29fSJung-uk Kim	DIGIT  shift 3
218*b53bb29fSJung-uk Kim	LETTER  shift 12
219*b53bb29fSJung-uk Kim	'-'  shift 5
220*b53bb29fSJung-uk Kim	'('  shift 6
221*b53bb29fSJung-uk Kim	.  error
222*b53bb29fSJung-uk Kim
223*b53bb29fSJung-uk Kim	expr  goto 26
224*b53bb29fSJung-uk Kim	number  goto 9
225*b53bb29fSJung-uk Kim
226*b53bb29fSJung-uk Kim
227*b53bb29fSJung-uk Kimstate 17
228*b53bb29fSJung-uk Kim	expr : expr '&' . expr  (12)
229*b53bb29fSJung-uk Kim
230*b53bb29fSJung-uk Kim	DIGIT  shift 3
231*b53bb29fSJung-uk Kim	LETTER  shift 12
232*b53bb29fSJung-uk Kim	'-'  shift 5
233*b53bb29fSJung-uk Kim	'('  shift 6
234*b53bb29fSJung-uk Kim	.  error
235*b53bb29fSJung-uk Kim
236*b53bb29fSJung-uk Kim	expr  goto 27
237*b53bb29fSJung-uk Kim	number  goto 9
238*b53bb29fSJung-uk Kim
239*b53bb29fSJung-uk Kim
240*b53bb29fSJung-uk Kimstate 18
241*b53bb29fSJung-uk Kim	expr : expr '+' . expr  (7)
242*b53bb29fSJung-uk Kim
243*b53bb29fSJung-uk Kim	DIGIT  shift 3
244*b53bb29fSJung-uk Kim	LETTER  shift 12
245*b53bb29fSJung-uk Kim	'-'  shift 5
246*b53bb29fSJung-uk Kim	'('  shift 6
247*b53bb29fSJung-uk Kim	.  error
248*b53bb29fSJung-uk Kim
249*b53bb29fSJung-uk Kim	expr  goto 28
250*b53bb29fSJung-uk Kim	number  goto 9
251*b53bb29fSJung-uk Kim
252*b53bb29fSJung-uk Kim
253*b53bb29fSJung-uk Kimstate 19
254*b53bb29fSJung-uk Kim	expr : expr '-' . expr  (8)
255*b53bb29fSJung-uk Kim
256*b53bb29fSJung-uk Kim	DIGIT  shift 3
257*b53bb29fSJung-uk Kim	LETTER  shift 12
258*b53bb29fSJung-uk Kim	'-'  shift 5
259*b53bb29fSJung-uk Kim	'('  shift 6
260*b53bb29fSJung-uk Kim	.  error
261*b53bb29fSJung-uk Kim
262*b53bb29fSJung-uk Kim	expr  goto 29
263*b53bb29fSJung-uk Kim	number  goto 9
264*b53bb29fSJung-uk Kim
265*b53bb29fSJung-uk Kim
266*b53bb29fSJung-uk Kimstate 20
267*b53bb29fSJung-uk Kim	expr : expr '*' . expr  (9)
268*b53bb29fSJung-uk Kim
269*b53bb29fSJung-uk Kim	DIGIT  shift 3
270*b53bb29fSJung-uk Kim	LETTER  shift 12
271*b53bb29fSJung-uk Kim	'-'  shift 5
272*b53bb29fSJung-uk Kim	'('  shift 6
273*b53bb29fSJung-uk Kim	.  error
274*b53bb29fSJung-uk Kim
275*b53bb29fSJung-uk Kim	expr  goto 30
276*b53bb29fSJung-uk Kim	number  goto 9
277*b53bb29fSJung-uk Kim
278*b53bb29fSJung-uk Kim
279*b53bb29fSJung-uk Kimstate 21
280*b53bb29fSJung-uk Kim	expr : expr '/' . expr  (10)
281*b53bb29fSJung-uk Kim
282*b53bb29fSJung-uk Kim	DIGIT  shift 3
283*b53bb29fSJung-uk Kim	LETTER  shift 12
284*b53bb29fSJung-uk Kim	'-'  shift 5
285*b53bb29fSJung-uk Kim	'('  shift 6
286*b53bb29fSJung-uk Kim	.  error
287*b53bb29fSJung-uk Kim
288*b53bb29fSJung-uk Kim	expr  goto 31
289*b53bb29fSJung-uk Kim	number  goto 9
290*b53bb29fSJung-uk Kim
291*b53bb29fSJung-uk Kim
292*b53bb29fSJung-uk Kimstate 22
293*b53bb29fSJung-uk Kim	expr : expr '%' . expr  (11)
294*b53bb29fSJung-uk Kim
295*b53bb29fSJung-uk Kim	DIGIT  shift 3
296*b53bb29fSJung-uk Kim	LETTER  shift 12
297*b53bb29fSJung-uk Kim	'-'  shift 5
298*b53bb29fSJung-uk Kim	'('  shift 6
299*b53bb29fSJung-uk Kim	.  error
300*b53bb29fSJung-uk Kim
301*b53bb29fSJung-uk Kim	expr  goto 32
302*b53bb29fSJung-uk Kim	number  goto 9
303*b53bb29fSJung-uk Kim
304*b53bb29fSJung-uk Kim
305*b53bb29fSJung-uk Kimstate 23
306*b53bb29fSJung-uk Kim	number : number DIGIT .  (18)
307*b53bb29fSJung-uk Kim
308*b53bb29fSJung-uk Kim	.  reduce 18
309*b53bb29fSJung-uk Kim
310*b53bb29fSJung-uk Kim
311*b53bb29fSJung-uk Kimstate 24
312*b53bb29fSJung-uk Kim	stat : LETTER '=' expr .  (5)
313*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
314*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
315*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
316*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
317*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
318*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
319*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
320*b53bb29fSJung-uk Kim
321*b53bb29fSJung-uk Kim	'|'  shift 16
322*b53bb29fSJung-uk Kim	'&'  shift 17
323*b53bb29fSJung-uk Kim	'+'  shift 18
324*b53bb29fSJung-uk Kim	'-'  shift 19
325*b53bb29fSJung-uk Kim	'*'  shift 20
326*b53bb29fSJung-uk Kim	'/'  shift 21
327*b53bb29fSJung-uk Kim	'%'  shift 22
328*b53bb29fSJung-uk Kim	'\n'  reduce 5
329*b53bb29fSJung-uk Kim
330*b53bb29fSJung-uk Kim
331*b53bb29fSJung-uk Kimstate 25
332*b53bb29fSJung-uk Kim	expr : '(' expr ')' .  (6)
333*b53bb29fSJung-uk Kim
334*b53bb29fSJung-uk Kim	.  reduce 6
335*b53bb29fSJung-uk Kim
336*b53bb29fSJung-uk Kim
337*b53bb29fSJung-uk Kimstate 26
338*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
339*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
340*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
341*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
342*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
343*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
344*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
345*b53bb29fSJung-uk Kim	expr : expr '|' expr .  (13)
346*b53bb29fSJung-uk Kim
347*b53bb29fSJung-uk Kim	'&'  shift 17
348*b53bb29fSJung-uk Kim	'+'  shift 18
349*b53bb29fSJung-uk Kim	'-'  shift 19
350*b53bb29fSJung-uk Kim	'*'  shift 20
351*b53bb29fSJung-uk Kim	'/'  shift 21
352*b53bb29fSJung-uk Kim	'%'  shift 22
353*b53bb29fSJung-uk Kim	'|'  reduce 13
354*b53bb29fSJung-uk Kim	'\n'  reduce 13
355*b53bb29fSJung-uk Kim	')'  reduce 13
356*b53bb29fSJung-uk Kim
357*b53bb29fSJung-uk Kim
358*b53bb29fSJung-uk Kimstate 27
359*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
360*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
361*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
362*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
363*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
364*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
365*b53bb29fSJung-uk Kim	expr : expr '&' expr .  (12)
366*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
367*b53bb29fSJung-uk Kim
368*b53bb29fSJung-uk Kim	'+'  shift 18
369*b53bb29fSJung-uk Kim	'-'  shift 19
370*b53bb29fSJung-uk Kim	'*'  shift 20
371*b53bb29fSJung-uk Kim	'/'  shift 21
372*b53bb29fSJung-uk Kim	'%'  shift 22
373*b53bb29fSJung-uk Kim	'|'  reduce 12
374*b53bb29fSJung-uk Kim	'&'  reduce 12
375*b53bb29fSJung-uk Kim	'\n'  reduce 12
376*b53bb29fSJung-uk Kim	')'  reduce 12
377*b53bb29fSJung-uk Kim
378*b53bb29fSJung-uk Kim
379*b53bb29fSJung-uk Kimstate 28
380*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
381*b53bb29fSJung-uk Kim	expr : expr '+' expr .  (7)
382*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
383*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
384*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
385*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
386*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
387*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
388*b53bb29fSJung-uk Kim
389*b53bb29fSJung-uk Kim	'*'  shift 20
390*b53bb29fSJung-uk Kim	'/'  shift 21
391*b53bb29fSJung-uk Kim	'%'  shift 22
392*b53bb29fSJung-uk Kim	'|'  reduce 7
393*b53bb29fSJung-uk Kim	'&'  reduce 7
394*b53bb29fSJung-uk Kim	'+'  reduce 7
395*b53bb29fSJung-uk Kim	'-'  reduce 7
396*b53bb29fSJung-uk Kim	'\n'  reduce 7
397*b53bb29fSJung-uk Kim	')'  reduce 7
398*b53bb29fSJung-uk Kim
399*b53bb29fSJung-uk Kim
400*b53bb29fSJung-uk Kimstate 29
401*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
402*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
403*b53bb29fSJung-uk Kim	expr : expr '-' expr .  (8)
404*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
405*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
406*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
407*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
408*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
409*b53bb29fSJung-uk Kim
410*b53bb29fSJung-uk Kim	'*'  shift 20
411*b53bb29fSJung-uk Kim	'/'  shift 21
412*b53bb29fSJung-uk Kim	'%'  shift 22
413*b53bb29fSJung-uk Kim	'|'  reduce 8
414*b53bb29fSJung-uk Kim	'&'  reduce 8
415*b53bb29fSJung-uk Kim	'+'  reduce 8
416*b53bb29fSJung-uk Kim	'-'  reduce 8
417*b53bb29fSJung-uk Kim	'\n'  reduce 8
418*b53bb29fSJung-uk Kim	')'  reduce 8
419*b53bb29fSJung-uk Kim
420*b53bb29fSJung-uk Kim
421*b53bb29fSJung-uk Kimstate 30
422*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
423*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
424*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
425*b53bb29fSJung-uk Kim	expr : expr '*' expr .  (9)
426*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
427*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
428*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
429*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
430*b53bb29fSJung-uk Kim
431*b53bb29fSJung-uk Kim	.  reduce 9
432*b53bb29fSJung-uk Kim
433*b53bb29fSJung-uk Kim
434*b53bb29fSJung-uk Kimstate 31
435*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
436*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
437*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
438*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
439*b53bb29fSJung-uk Kim	expr : expr '/' expr .  (10)
440*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
441*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
442*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
443*b53bb29fSJung-uk Kim
444*b53bb29fSJung-uk Kim	.  reduce 10
445*b53bb29fSJung-uk Kim
446*b53bb29fSJung-uk Kim
447*b53bb29fSJung-uk Kimstate 32
448*b53bb29fSJung-uk Kim	expr : expr . '+' expr  (7)
449*b53bb29fSJung-uk Kim	expr : expr . '-' expr  (8)
450*b53bb29fSJung-uk Kim	expr : expr . '*' expr  (9)
451*b53bb29fSJung-uk Kim	expr : expr . '/' expr  (10)
452*b53bb29fSJung-uk Kim	expr : expr . '%' expr  (11)
453*b53bb29fSJung-uk Kim	expr : expr '%' expr .  (11)
454*b53bb29fSJung-uk Kim	expr : expr . '&' expr  (12)
455*b53bb29fSJung-uk Kim	expr : expr . '|' expr  (13)
456*b53bb29fSJung-uk Kim
457*b53bb29fSJung-uk Kim	.  reduce 11
458*b53bb29fSJung-uk Kim
459*b53bb29fSJung-uk Kim
460*b53bb29fSJung-uk Kim16 terminals, 5 nonterminals
461*b53bb29fSJung-uk Kim19 grammar rules, 33 states
462*b53bb29fSJung-uk Kim
463*b53bb29fSJung-uk Kimgrammar parser grammar
464*b53bb29fSJung-uk Kimsymbol# value# symbol
465*b53bb29fSJung-uk Kim     0      0  $end
466*b53bb29fSJung-uk Kim     1    256  error
467*b53bb29fSJung-uk Kim     2    257  DIGIT
468*b53bb29fSJung-uk Kim     3    258  LETTER
469*b53bb29fSJung-uk Kim     4    124  '|'
470*b53bb29fSJung-uk Kim     5     38  '&'
471*b53bb29fSJung-uk Kim     6     43  '+'
472*b53bb29fSJung-uk Kim     7     45  '-'
473*b53bb29fSJung-uk Kim     8     42  '*'
474*b53bb29fSJung-uk Kim     9     47  '/'
475*b53bb29fSJung-uk Kim    10     37  '%'
476*b53bb29fSJung-uk Kim    11    259  UMINUS
477*b53bb29fSJung-uk Kim    12     10  '\n'
478*b53bb29fSJung-uk Kim    13     61  '='
479*b53bb29fSJung-uk Kim    14     40  '('
480*b53bb29fSJung-uk Kim    15     41  ')'
481*b53bb29fSJung-uk Kim    16    260  $accept
482*b53bb29fSJung-uk Kim    17    261  list
483*b53bb29fSJung-uk Kim    18    262  stat
484*b53bb29fSJung-uk Kim    19    263  expr
485*b53bb29fSJung-uk Kim    20    264  number
486