Subversion Repositories Vertical

Rev

Details | Last modification | View Log | RSS feed

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