OpenCores
URL https://opencores.org/ocsvn/core_arm/core_arm/trunk

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [build/] [config/] [zconf.output] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
State 52 conflicts: 1 shift/reduce
2
State 53 conflicts: 1 shift/reduce
3
State 54 conflicts: 1 shift/reduce
4
State 55 conflicts: 10 shift/reduce
5
State 56 conflicts: 12 shift/reduce
6
State 57 conflicts: 1 shift/reduce
7
State 58 conflicts: 13 shift/reduce
8
State 59 conflicts: 1 shift/reduce
9
 
10
 
11
Grammar
12
 
13
 
14
 
15
    1 input: /* empty */
16
    2      | input block
17
 
18
    3 block: common_block
19
    4      | choice_stmt
20
    5      | menu_stmt
21
    6      | T_MAINMENU prompt nl_or_eof
22
    7      | T_ENDMENU
23
    8      | T_ENDIF
24
    9      | T_ENDCHOICE
25
   10      | error nl_or_eof
26
 
27
   11 common_block: if_stmt
28
   12             | comment_stmt
29
   13             | config_stmt
30
   14             | menuconfig_stmt
31
   15             | source_stmt
32
   16             | nl_or_eof
33
 
34
   17 config_entry_start: T_CONFIG T_WORD T_EOL
35
 
36
   18 config_stmt: config_entry_start config_option_list
37
 
38
   19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL
39
 
40
   20 menuconfig_stmt: menuconfig_entry_start config_option_list
41
 
42
   21 config_option_list: /* empty */
43
   22                   | config_option_list config_option
44
   23                   | config_option_list depends
45
   24                   | config_option_list help
46
   25                   | config_option_list T_EOL
47
 
48
   26 config_option: T_TRISTATE prompt_stmt_opt T_EOL
49
   27              | T_DEF_TRISTATE expr if_expr T_EOL
50
   28              | T_BOOLEAN prompt_stmt_opt T_EOL
51
   29              | T_DEF_BOOLEAN expr if_expr T_EOL
52
   30              | T_INT prompt_stmt_opt T_EOL
53
   31              | T_HEX prompt_stmt_opt T_EOL
54
   32              | T_STRING prompt_stmt_opt T_EOL
55
   33              | T_PROMPT prompt if_expr T_EOL
56
   34              | T_DEFAULT expr if_expr T_EOL
57
   35              | T_SELECT T_WORD if_expr T_EOL
58
   36              | T_RANGE symbol symbol if_expr T_EOL
59
 
60
   37 choice: T_CHOICE T_EOL
61
 
62
   38 choice_entry: choice choice_option_list
63
 
64
   39 choice_end: end
65
 
66
   40 choice_stmt: choice_entry choice_block choice_end
67
   41            | choice_entry choice_block
68
 
69
   42 choice_option_list: /* empty */
70
   43                   | choice_option_list choice_option
71
   44                   | choice_option_list depends
72
   45                   | choice_option_list help
73
   46                   | choice_option_list T_EOL
74
 
75
   47 choice_option: T_PROMPT prompt if_expr T_EOL
76
   48              | T_TRISTATE prompt_stmt_opt T_EOL
77
   49              | T_BOOLEAN prompt_stmt_opt T_EOL
78
   50              | T_OPTIONAL T_EOL
79
   51              | T_DEFAULT T_WORD if_expr T_EOL
80
 
81
   52 choice_block: /* empty */
82
   53             | choice_block common_block
83
 
84
   54 if: T_IF expr T_EOL
85
 
86
   55 if_end: end
87
 
88
   56 if_stmt: if if_block if_end
89
   57        | if if_block
90
 
91
   58 if_block: /* empty */
92
   59         | if_block common_block
93
   60         | if_block menu_stmt
94
   61         | if_block choice_stmt
95
 
96
   62 menu: T_MENU prompt T_EOL
97
 
98
   63 menu_entry: menu depends_list
99
 
100
   64 menu_end: end
101
 
102
   65 menu_stmt: menu_entry menu_block menu_end
103
   66          | menu_entry menu_block
104
 
105
   67 menu_block: /* empty */
106
   68           | menu_block common_block
107
   69           | menu_block menu_stmt
108
   70           | menu_block choice_stmt
109
   71           | menu_block error T_EOL
110
 
111
   72 source: T_SOURCE prompt T_EOL
112
 
113
   73 source_stmt: source
114
 
115
   74 comment: T_COMMENT prompt T_EOL
116
 
117
   75 comment_stmt: comment depends_list
118
 
119
   76 help_start: T_HELP T_EOL
120
 
121
   77 help: help_start T_HELPTEXT
122
 
123
   78 depends_list: /* empty */
124
   79             | depends_list depends
125
   80             | depends_list T_EOL
126
 
127
   81 depends: T_DEPENDS T_ON expr T_EOL
128
   82        | T_DEPENDS expr T_EOL
129
   83        | T_REQUIRES expr T_EOL
130
 
131
   84 prompt_stmt_opt: /* empty */
132
   85                | prompt if_expr
133
 
134
   86 prompt: T_WORD
135
   87       | T_WORD_QUOTE
136
 
137
   88 end: T_ENDMENU nl_or_eof
138
   89    | T_ENDCHOICE nl_or_eof
139
   90    | T_ENDIF nl_or_eof
140
 
141
   91 nl_or_eof: T_EOL
142
   92          | T_EOF
143
 
144
   93 if_expr: /* empty */
145
   94        | T_IF expr
146
 
147
   95 expr: symbol
148
   96     | symbol T_EQUAL symbol
149
   97     | symbol T_UNEQUAL symbol
150
   98     | T_OPEN_PAREN expr T_CLOSE_PAREN
151
   99     | T_NOT expr
152
  100     | expr T_OR expr
153
  101     | expr T_AND expr
154
 
155
  102 symbol: T_WORD
156
  103       | T_WORD_QUOTE
157
 
158
 
159
Terminals, with rules where they appear
160
 
161
$end (0) 0
162
error (256) 10 71
163
T_MAINMENU (258) 6
164
T_MENU (259) 62
165
T_ENDMENU (260) 7 88
166
T_SOURCE (261) 72
167
T_CHOICE (262) 37
168
T_ENDCHOICE (263) 9 89
169
T_COMMENT (264) 74
170
T_CONFIG (265) 17
171
T_MENUCONFIG (266) 19
172
T_HELP (267) 76
173
T_HELPTEXT (268) 77
174
T_IF (269) 54 94
175
T_ENDIF (270) 8 90
176
T_DEPENDS (271) 81 82
177
T_REQUIRES (272) 83
178
T_OPTIONAL (273) 50
179
T_PROMPT (274) 33 47
180
T_DEFAULT (275) 34 51
181
T_TRISTATE (276) 26 48
182
T_DEF_TRISTATE (277) 27
183
T_BOOLEAN (278) 28 49
184
T_DEF_BOOLEAN (279) 29
185
T_STRING (280) 32
186
T_INT (281) 30
187
T_HEX (282) 31
188
T_WORD (283) 17 19 35 51 86 102
189
T_WORD_QUOTE (284) 87 103
190
T_UNEQUAL (285) 97
191
T_EOF (286) 92
192
T_EOL (287) 17 19 25 26 27 28 29 30 31 32 33 34 35 36 37 46 47 48 49
193
    50 51 54 62 71 72 74 76 80 81 82 83 91
194
T_CLOSE_PAREN (288) 98
195
T_OPEN_PAREN (289) 98
196
T_ON (290) 81
197
T_SELECT (291) 35
198
T_RANGE (292) 36
199
T_OR (293) 100
200
T_AND (294) 101
201
T_EQUAL (295) 96
202
T_NOT (296) 99
203
 
204
 
205
Nonterminals, with rules where they appear
206
 
207
$accept (42)
208
    on left: 0
209
input (43)
210
    on left: 1 2, on right: 0 2
211
block (44)
212
    on left: 3 4 5 6 7 8 9 10, on right: 2
213
common_block (45)
214
    on left: 11 12 13 14 15 16, on right: 3 53 59 68
215
config_entry_start (46)
216
    on left: 17, on right: 18
217
config_stmt (47)
218
    on left: 18, on right: 13
219
menuconfig_entry_start (48)
220
    on left: 19, on right: 20
221
menuconfig_stmt (49)
222
    on left: 20, on right: 14
223
config_option_list (50)
224
    on left: 21 22 23 24 25, on right: 18 20 22 23 24 25
225
config_option (51)
226
    on left: 26 27 28 29 30 31 32 33 34 35 36, on right: 22
227
choice (52)
228
    on left: 37, on right: 38
229
choice_entry (53)
230
    on left: 38, on right: 40 41
231
choice_end (54)
232
    on left: 39, on right: 40
233
choice_stmt (55)
234
    on left: 40 41, on right: 4 61 70
235
choice_option_list (56)
236
    on left: 42 43 44 45 46, on right: 38 43 44 45 46
237
choice_option (57)
238
    on left: 47 48 49 50 51, on right: 43
239
choice_block (58)
240
    on left: 52 53, on right: 40 41 53
241
if (59)
242
    on left: 54, on right: 56 57
243
if_end (60)
244
    on left: 55, on right: 56
245
if_stmt (61)
246
    on left: 56 57, on right: 11
247
if_block (62)
248
    on left: 58 59 60 61, on right: 56 57 59 60 61
249
menu (63)
250
    on left: 62, on right: 63
251
menu_entry (64)
252
    on left: 63, on right: 65 66
253
menu_end (65)
254
    on left: 64, on right: 65
255
menu_stmt (66)
256
    on left: 65 66, on right: 5 60 69
257
menu_block (67)
258
    on left: 67 68 69 70 71, on right: 65 66 68 69 70 71
259
source (68)
260
    on left: 72, on right: 73
261
source_stmt (69)
262
    on left: 73, on right: 15
263
comment (70)
264
    on left: 74, on right: 75
265
comment_stmt (71)
266
    on left: 75, on right: 12
267
help_start (72)
268
    on left: 76, on right: 77
269
help (73)
270
    on left: 77, on right: 24 45
271
depends_list (74)
272
    on left: 78 79 80, on right: 63 75 79 80
273
depends (75)
274
    on left: 81 82 83, on right: 23 44 79
275
prompt_stmt_opt (76)
276
    on left: 84 85, on right: 26 28 30 31 32 48 49
277
prompt (77)
278
    on left: 86 87, on right: 6 33 47 62 72 74 85
279
end (78)
280
    on left: 88 89 90, on right: 39 55 64
281
nl_or_eof (79)
282
    on left: 91 92, on right: 6 10 16 88 89 90
283
if_expr (80)
284
    on left: 93 94, on right: 27 29 33 34 35 36 47 51 85
285
expr (81)
286
    on left: 95 96 97 98 99 100 101, on right: 27 29 34 54 81 82 83
287
    94 98 99 100 101
288
symbol (82)
289
    on left: 102 103, on right: 36 95 96 97
290
 
291
 
292
state 0
293
 
294
 
295
 
296
    $default  reduce using rule 1 (input)
297
 
298
    input  go to state 1
299
 
300
 
301
state 1
302
 
303
 
304
    2 input: input . block
305
 
306
    $end          shift, and go to state 2
307
    error         shift, and go to state 3
308
    T_MAINMENU    shift, and go to state 4
309
    T_MENU        shift, and go to state 5
310
    T_ENDMENU     shift, and go to state 6
311
    T_SOURCE      shift, and go to state 7
312
    T_CHOICE      shift, and go to state 8
313
    T_ENDCHOICE   shift, and go to state 9
314
    T_COMMENT     shift, and go to state 10
315
    T_CONFIG      shift, and go to state 11
316
    T_MENUCONFIG  shift, and go to state 12
317
    T_IF          shift, and go to state 13
318
    T_ENDIF       shift, and go to state 14
319
    T_EOF         shift, and go to state 15
320
    T_EOL         shift, and go to state 16
321
 
322
    block                   go to state 17
323
    common_block            go to state 18
324
    config_entry_start      go to state 19
325
    config_stmt             go to state 20
326
    menuconfig_entry_start  go to state 21
327
    menuconfig_stmt         go to state 22
328
    choice                  go to state 23
329
    choice_entry            go to state 24
330
    choice_stmt             go to state 25
331
    if                      go to state 26
332
    if_stmt                 go to state 27
333
    menu                    go to state 28
334
    menu_entry              go to state 29
335
    menu_stmt               go to state 30
336
    source                  go to state 31
337
    source_stmt             go to state 32
338
    comment                 go to state 33
339
    comment_stmt            go to state 34
340
    nl_or_eof               go to state 35
341
 
342
 
343
state 2
344
 
345
 
346
 
347
    $default  accept
348
 
349
 
350
state 3
351
 
352
   10 block: error . nl_or_eof
353
 
354
    T_EOF  shift, and go to state 15
355
    T_EOL  shift, and go to state 16
356
 
357
    nl_or_eof  go to state 36
358
 
359
 
360
state 4
361
 
362
    6 block: T_MAINMENU . prompt nl_or_eof
363
 
364
    T_WORD        shift, and go to state 37
365
    T_WORD_QUOTE  shift, and go to state 38
366
 
367
    prompt  go to state 39
368
 
369
 
370
state 5
371
 
372
   62 menu: T_MENU . prompt T_EOL
373
 
374
    T_WORD        shift, and go to state 37
375
    T_WORD_QUOTE  shift, and go to state 38
376
 
377
    prompt  go to state 40
378
 
379
 
380
state 6
381
 
382
    7 block: T_ENDMENU .
383
 
384
    $default  reduce using rule 7 (block)
385
 
386
 
387
state 7
388
 
389
   72 source: T_SOURCE . prompt T_EOL
390
 
391
    T_WORD        shift, and go to state 37
392
    T_WORD_QUOTE  shift, and go to state 38
393
 
394
    prompt  go to state 41
395
 
396
 
397
state 8
398
 
399
   37 choice: T_CHOICE . T_EOL
400
 
401
    T_EOL  shift, and go to state 42
402
 
403
 
404
state 9
405
 
406
    9 block: T_ENDCHOICE .
407
 
408
    $default  reduce using rule 9 (block)
409
 
410
 
411
state 10
412
 
413
   74 comment: T_COMMENT . prompt T_EOL
414
 
415
    T_WORD        shift, and go to state 37
416
    T_WORD_QUOTE  shift, and go to state 38
417
 
418
    prompt  go to state 43
419
 
420
 
421
state 11
422
 
423
   17 config_entry_start: T_CONFIG . T_WORD T_EOL
424
 
425
    T_WORD  shift, and go to state 44
426
 
427
 
428
state 12
429
 
430
   19 menuconfig_entry_start: T_MENUCONFIG . T_WORD T_EOL
431
 
432
    T_WORD  shift, and go to state 45
433
 
434
 
435
state 13
436
 
437
   54 if: T_IF . expr T_EOL
438
 
439
    T_WORD        shift, and go to state 46
440
    T_WORD_QUOTE  shift, and go to state 47
441
    T_OPEN_PAREN  shift, and go to state 48
442
    T_NOT         shift, and go to state 49
443
 
444
    expr    go to state 50
445
    symbol  go to state 51
446
 
447
 
448
state 14
449
 
450
    8 block: T_ENDIF .
451
 
452
    $default  reduce using rule 8 (block)
453
 
454
 
455
state 15
456
 
457
   92 nl_or_eof: T_EOF .
458
 
459
    $default  reduce using rule 92 (nl_or_eof)
460
 
461
 
462
state 16
463
 
464
   91 nl_or_eof: T_EOL .
465
 
466
    $default  reduce using rule 91 (nl_or_eof)
467
 
468
 
469
state 17
470
 
471
    2 input: input block .
472
 
473
    $default  reduce using rule 2 (input)
474
 
475
 
476
state 18
477
 
478
    3 block: common_block .
479
 
480
    $default  reduce using rule 3 (block)
481
 
482
 
483
state 19
484
 
485
   18 config_stmt: config_entry_start . config_option_list
486
 
487
    $default  reduce using rule 21 (config_option_list)
488
 
489
    config_option_list  go to state 52
490
 
491
 
492
state 20
493
 
494
   13 common_block: config_stmt .
495
 
496
    $default  reduce using rule 13 (common_block)
497
 
498
 
499
state 21
500
 
501
   20 menuconfig_stmt: menuconfig_entry_start . config_option_list
502
 
503
    $default  reduce using rule 21 (config_option_list)
504
 
505
    config_option_list  go to state 53
506
 
507
 
508
state 22
509
 
510
   14 common_block: menuconfig_stmt .
511
 
512
    $default  reduce using rule 14 (common_block)
513
 
514
 
515
state 23
516
 
517
   38 choice_entry: choice . choice_option_list
518
 
519
    $default  reduce using rule 42 (choice_option_list)
520
 
521
    choice_option_list  go to state 54
522
 
523
 
524
state 24
525
 
526
   40 choice_stmt: choice_entry . choice_block choice_end
527
   41            | choice_entry . choice_block
528
 
529
    $default  reduce using rule 52 (choice_block)
530
 
531
    choice_block  go to state 55
532
 
533
 
534
state 25
535
 
536
    4 block: choice_stmt .
537
 
538
    $default  reduce using rule 4 (block)
539
 
540
 
541
state 26
542
 
543
   56 if_stmt: if . if_block if_end
544
   57        | if . if_block
545
 
546
    $default  reduce using rule 58 (if_block)
547
 
548
    if_block  go to state 56
549
 
550
 
551
state 27
552
 
553
   11 common_block: if_stmt .
554
 
555
    $default  reduce using rule 11 (common_block)
556
 
557
 
558
state 28
559
 
560
   63 menu_entry: menu . depends_list
561
 
562
    $default  reduce using rule 78 (depends_list)
563
 
564
    depends_list  go to state 57
565
 
566
 
567
state 29
568
 
569
   65 menu_stmt: menu_entry . menu_block menu_end
570
   66          | menu_entry . menu_block
571
 
572
    $default  reduce using rule 67 (menu_block)
573
 
574
    menu_block  go to state 58
575
 
576
 
577
state 30
578
 
579
    5 block: menu_stmt .
580
 
581
    $default  reduce using rule 5 (block)
582
 
583
 
584
state 31
585
 
586
   73 source_stmt: source .
587
 
588
    $default  reduce using rule 73 (source_stmt)
589
 
590
 
591
state 32
592
 
593
   15 common_block: source_stmt .
594
 
595
    $default  reduce using rule 15 (common_block)
596
 
597
 
598
state 33
599
 
600
   75 comment_stmt: comment . depends_list
601
 
602
    $default  reduce using rule 78 (depends_list)
603
 
604
    depends_list  go to state 59
605
 
606
 
607
state 34
608
 
609
   12 common_block: comment_stmt .
610
 
611
    $default  reduce using rule 12 (common_block)
612
 
613
 
614
state 35
615
 
616
   16 common_block: nl_or_eof .
617
 
618
    $default  reduce using rule 16 (common_block)
619
 
620
 
621
state 36
622
 
623
   10 block: error nl_or_eof .
624
 
625
    $default  reduce using rule 10 (block)
626
 
627
 
628
state 37
629
 
630
   86 prompt: T_WORD .
631
 
632
    $default  reduce using rule 86 (prompt)
633
 
634
 
635
state 38
636
 
637
   87 prompt: T_WORD_QUOTE .
638
 
639
    $default  reduce using rule 87 (prompt)
640
 
641
 
642
state 39
643
 
644
    6 block: T_MAINMENU prompt . nl_or_eof
645
 
646
    T_EOF  shift, and go to state 15
647
    T_EOL  shift, and go to state 16
648
 
649
    nl_or_eof  go to state 60
650
 
651
 
652
state 40
653
 
654
   62 menu: T_MENU prompt . T_EOL
655
 
656
    T_EOL  shift, and go to state 61
657
 
658
 
659
state 41
660
 
661
   72 source: T_SOURCE prompt . T_EOL
662
 
663
    T_EOL  shift, and go to state 62
664
 
665
 
666
state 42
667
 
668
   37 choice: T_CHOICE T_EOL .
669
 
670
    $default  reduce using rule 37 (choice)
671
 
672
 
673
state 43
674
 
675
   74 comment: T_COMMENT prompt . T_EOL
676
 
677
    T_EOL  shift, and go to state 63
678
 
679
 
680
state 44
681
 
682
   17 config_entry_start: T_CONFIG T_WORD . T_EOL
683
 
684
    T_EOL  shift, and go to state 64
685
 
686
 
687
state 45
688
 
689
   19 menuconfig_entry_start: T_MENUCONFIG T_WORD . T_EOL
690
 
691
    T_EOL  shift, and go to state 65
692
 
693
 
694
state 46
695
 
696
  102 symbol: T_WORD .
697
 
698
    $default  reduce using rule 102 (symbol)
699
 
700
 
701
state 47
702
 
703
  103 symbol: T_WORD_QUOTE .
704
 
705
    $default  reduce using rule 103 (symbol)
706
 
707
 
708
state 48
709
 
710
   98 expr: T_OPEN_PAREN . expr T_CLOSE_PAREN
711
 
712
    T_WORD        shift, and go to state 46
713
    T_WORD_QUOTE  shift, and go to state 47
714
    T_OPEN_PAREN  shift, and go to state 48
715
    T_NOT         shift, and go to state 49
716
 
717
    expr    go to state 66
718
    symbol  go to state 51
719
 
720
 
721
state 49
722
 
723
   99 expr: T_NOT . expr
724
 
725
    T_WORD        shift, and go to state 46
726
    T_WORD_QUOTE  shift, and go to state 47
727
    T_OPEN_PAREN  shift, and go to state 48
728
    T_NOT         shift, and go to state 49
729
 
730
    expr    go to state 67
731
    symbol  go to state 51
732
 
733
 
734
state 50
735
 
736
   54 if: T_IF expr . T_EOL
737
  100 expr: expr . T_OR expr
738
  101     | expr . T_AND expr
739
 
740
    T_EOL  shift, and go to state 68
741
    T_OR   shift, and go to state 69
742
    T_AND  shift, and go to state 70
743
 
744
 
745
state 51
746
 
747
   95 expr: symbol .
748
   96     | symbol . T_EQUAL symbol
749
   97     | symbol . T_UNEQUAL symbol
750
 
751
    T_UNEQUAL  shift, and go to state 71
752
    T_EQUAL    shift, and go to state 72
753
 
754
    $default  reduce using rule 95 (expr)
755
 
756
 
757
state 52
758
 
759
   18 config_stmt: config_entry_start config_option_list .
760
   22 config_option_list: config_option_list . config_option
761
   23                   | config_option_list . depends
762
   24                   | config_option_list . help
763
   25                   | config_option_list . T_EOL
764
 
765
    T_HELP          shift, and go to state 73
766
    T_DEPENDS       shift, and go to state 74
767
    T_REQUIRES      shift, and go to state 75
768
    T_PROMPT        shift, and go to state 76
769
    T_DEFAULT       shift, and go to state 77
770
    T_TRISTATE      shift, and go to state 78
771
    T_DEF_TRISTATE  shift, and go to state 79
772
    T_BOOLEAN       shift, and go to state 80
773
    T_DEF_BOOLEAN   shift, and go to state 81
774
    T_STRING        shift, and go to state 82
775
    T_INT           shift, and go to state 83
776
    T_HEX           shift, and go to state 84
777
    T_EOL           shift, and go to state 85
778
    T_SELECT        shift, and go to state 86
779
    T_RANGE         shift, and go to state 87
780
 
781
    T_EOL     [reduce using rule 18 (config_stmt)]
782
    $default  reduce using rule 18 (config_stmt)
783
 
784
    config_option  go to state 88
785
    help_start     go to state 89
786
    help           go to state 90
787
    depends        go to state 91
788
 
789
 
790
state 53
791
 
792
   20 menuconfig_stmt: menuconfig_entry_start config_option_list .
793
   22 config_option_list: config_option_list . config_option
794
   23                   | config_option_list . depends
795
   24                   | config_option_list . help
796
   25                   | config_option_list . T_EOL
797
 
798
    T_HELP          shift, and go to state 73
799
    T_DEPENDS       shift, and go to state 74
800
    T_REQUIRES      shift, and go to state 75
801
    T_PROMPT        shift, and go to state 76
802
    T_DEFAULT       shift, and go to state 77
803
    T_TRISTATE      shift, and go to state 78
804
    T_DEF_TRISTATE  shift, and go to state 79
805
    T_BOOLEAN       shift, and go to state 80
806
    T_DEF_BOOLEAN   shift, and go to state 81
807
    T_STRING        shift, and go to state 82
808
    T_INT           shift, and go to state 83
809
    T_HEX           shift, and go to state 84
810
    T_EOL           shift, and go to state 85
811
    T_SELECT        shift, and go to state 86
812
    T_RANGE         shift, and go to state 87
813
 
814
    T_EOL     [reduce using rule 20 (menuconfig_stmt)]
815
    $default  reduce using rule 20 (menuconfig_stmt)
816
 
817
    config_option  go to state 88
818
    help_start     go to state 89
819
    help           go to state 90
820
    depends        go to state 91
821
 
822
 
823
state 54
824
 
825
   38 choice_entry: choice choice_option_list .
826
   43 choice_option_list: choice_option_list . choice_option
827
   44                   | choice_option_list . depends
828
   45                   | choice_option_list . help
829
   46                   | choice_option_list . T_EOL
830
 
831
    T_HELP      shift, and go to state 73
832
    T_DEPENDS   shift, and go to state 74
833
    T_REQUIRES  shift, and go to state 75
834
    T_OPTIONAL  shift, and go to state 92
835
    T_PROMPT    shift, and go to state 93
836
    T_DEFAULT   shift, and go to state 94
837
    T_TRISTATE  shift, and go to state 95
838
    T_BOOLEAN   shift, and go to state 96
839
    T_EOL       shift, and go to state 97
840
 
841
    T_EOL     [reduce using rule 38 (choice_entry)]
842
    $default  reduce using rule 38 (choice_entry)
843
 
844
    choice_option  go to state 98
845
    help_start     go to state 89
846
    help           go to state 99
847
    depends        go to state 100
848
 
849
 
850
state 55
851
 
852
   40 choice_stmt: choice_entry choice_block . choice_end
853
   41            | choice_entry choice_block .
854
   53 choice_block: choice_block . common_block
855
 
856
    T_ENDMENU     shift, and go to state 101
857
    T_SOURCE      shift, and go to state 7
858
    T_ENDCHOICE   shift, and go to state 102
859
    T_COMMENT     shift, and go to state 10
860
    T_CONFIG      shift, and go to state 11
861
    T_MENUCONFIG  shift, and go to state 12
862
    T_IF          shift, and go to state 13
863
    T_ENDIF       shift, and go to state 103
864
    T_EOF         shift, and go to state 15
865
    T_EOL         shift, and go to state 16
866
 
867
    T_ENDMENU     [reduce using rule 41 (choice_stmt)]
868
    T_SOURCE      [reduce using rule 41 (choice_stmt)]
869
    T_ENDCHOICE   [reduce using rule 41 (choice_stmt)]
870
    T_COMMENT     [reduce using rule 41 (choice_stmt)]
871
    T_CONFIG      [reduce using rule 41 (choice_stmt)]
872
    T_MENUCONFIG  [reduce using rule 41 (choice_stmt)]
873
    T_IF          [reduce using rule 41 (choice_stmt)]
874
    T_ENDIF       [reduce using rule 41 (choice_stmt)]
875
    T_EOF         [reduce using rule 41 (choice_stmt)]
876
    T_EOL         [reduce using rule 41 (choice_stmt)]
877
    $default      reduce using rule 41 (choice_stmt)
878
 
879
    common_block            go to state 104
880
    config_entry_start      go to state 19
881
    config_stmt             go to state 20
882
    menuconfig_entry_start  go to state 21
883
    menuconfig_stmt         go to state 22
884
    choice_end              go to state 105
885
    if                      go to state 26
886
    if_stmt                 go to state 27
887
    source                  go to state 31
888
    source_stmt             go to state 32
889
    comment                 go to state 33
890
    comment_stmt            go to state 34
891
    end                     go to state 106
892
    nl_or_eof               go to state 35
893
 
894
 
895
state 56
896
 
897
   56 if_stmt: if if_block . if_end
898
   57        | if if_block .
899
   59 if_block: if_block . common_block
900
   60         | if_block . menu_stmt
901
   61         | if_block . choice_stmt
902
 
903
    T_MENU        shift, and go to state 5
904
    T_ENDMENU     shift, and go to state 101
905
    T_SOURCE      shift, and go to state 7
906
    T_CHOICE      shift, and go to state 8
907
    T_ENDCHOICE   shift, and go to state 102
908
    T_COMMENT     shift, and go to state 10
909
    T_CONFIG      shift, and go to state 11
910
    T_MENUCONFIG  shift, and go to state 12
911
    T_IF          shift, and go to state 13
912
    T_ENDIF       shift, and go to state 103
913
    T_EOF         shift, and go to state 15
914
    T_EOL         shift, and go to state 16
915
 
916
    T_MENU        [reduce using rule 57 (if_stmt)]
917
    T_ENDMENU     [reduce using rule 57 (if_stmt)]
918
    T_SOURCE      [reduce using rule 57 (if_stmt)]
919
    T_CHOICE      [reduce using rule 57 (if_stmt)]
920
    T_ENDCHOICE   [reduce using rule 57 (if_stmt)]
921
    T_COMMENT     [reduce using rule 57 (if_stmt)]
922
    T_CONFIG      [reduce using rule 57 (if_stmt)]
923
    T_MENUCONFIG  [reduce using rule 57 (if_stmt)]
924
    T_IF          [reduce using rule 57 (if_stmt)]
925
    T_ENDIF       [reduce using rule 57 (if_stmt)]
926
    T_EOF         [reduce using rule 57 (if_stmt)]
927
    T_EOL         [reduce using rule 57 (if_stmt)]
928
    $default      reduce using rule 57 (if_stmt)
929
 
930
    common_block            go to state 107
931
    config_entry_start      go to state 19
932
    config_stmt             go to state 20
933
    menuconfig_entry_start  go to state 21
934
    menuconfig_stmt         go to state 22
935
    choice                  go to state 23
936
    choice_entry            go to state 24
937
    choice_stmt             go to state 108
938
    if                      go to state 26
939
    if_end                  go to state 109
940
    if_stmt                 go to state 27
941
    menu                    go to state 28
942
    menu_entry              go to state 29
943
    menu_stmt               go to state 110
944
    source                  go to state 31
945
    source_stmt             go to state 32
946
    comment                 go to state 33
947
    comment_stmt            go to state 34
948
    end                     go to state 111
949
    nl_or_eof               go to state 35
950
 
951
 
952
state 57
953
 
954
   63 menu_entry: menu depends_list .
955
   79 depends_list: depends_list . depends
956
   80             | depends_list . T_EOL
957
 
958
    T_DEPENDS   shift, and go to state 74
959
    T_REQUIRES  shift, and go to state 75
960
    T_EOL       shift, and go to state 112
961
 
962
    T_EOL     [reduce using rule 63 (menu_entry)]
963
    $default  reduce using rule 63 (menu_entry)
964
 
965
    depends  go to state 113
966
 
967
 
968
state 58
969
 
970
   65 menu_stmt: menu_entry menu_block . menu_end
971
   66          | menu_entry menu_block .
972
   68 menu_block: menu_block . common_block
973
   69           | menu_block . menu_stmt
974
   70           | menu_block . choice_stmt
975
   71           | menu_block . error T_EOL
976
 
977
    error         shift, and go to state 114
978
    T_MENU        shift, and go to state 5
979
    T_ENDMENU     shift, and go to state 101
980
    T_SOURCE      shift, and go to state 7
981
    T_CHOICE      shift, and go to state 8
982
    T_ENDCHOICE   shift, and go to state 102
983
    T_COMMENT     shift, and go to state 10
984
    T_CONFIG      shift, and go to state 11
985
    T_MENUCONFIG  shift, and go to state 12
986
    T_IF          shift, and go to state 13
987
    T_ENDIF       shift, and go to state 103
988
    T_EOF         shift, and go to state 15
989
    T_EOL         shift, and go to state 16
990
 
991
    $end          reduce using rule 66 (menu_stmt)
992
    error         [reduce using rule 66 (menu_stmt)]
993
    T_MAINMENU    reduce using rule 66 (menu_stmt)
994
    T_MENU        [reduce using rule 66 (menu_stmt)]
995
    T_ENDMENU     [reduce using rule 66 (menu_stmt)]
996
    T_SOURCE      [reduce using rule 66 (menu_stmt)]
997
    T_CHOICE      [reduce using rule 66 (menu_stmt)]
998
    T_ENDCHOICE   [reduce using rule 66 (menu_stmt)]
999
    T_COMMENT     [reduce using rule 66 (menu_stmt)]
1000
    T_CONFIG      [reduce using rule 66 (menu_stmt)]
1001
    T_MENUCONFIG  [reduce using rule 66 (menu_stmt)]
1002
    T_IF          [reduce using rule 66 (menu_stmt)]
1003
    T_ENDIF       [reduce using rule 66 (menu_stmt)]
1004
    T_EOF         [reduce using rule 66 (menu_stmt)]
1005
    T_EOL         [reduce using rule 66 (menu_stmt)]
1006
 
1007
    common_block            go to state 115
1008
    config_entry_start      go to state 19
1009
    config_stmt             go to state 20
1010
    menuconfig_entry_start  go to state 21
1011
    menuconfig_stmt         go to state 22
1012
    choice                  go to state 23
1013
    choice_entry            go to state 24
1014
    choice_stmt             go to state 116
1015
    if                      go to state 26
1016
    if_stmt                 go to state 27
1017
    menu                    go to state 28
1018
    menu_entry              go to state 29
1019
    menu_end                go to state 117
1020
    menu_stmt               go to state 118
1021
    source                  go to state 31
1022
    source_stmt             go to state 32
1023
    comment                 go to state 33
1024
    comment_stmt            go to state 34
1025
    end                     go to state 119
1026
    nl_or_eof               go to state 35
1027
 
1028
 
1029
state 59
1030
 
1031
   75 comment_stmt: comment depends_list .
1032
   79 depends_list: depends_list . depends
1033
   80             | depends_list . T_EOL
1034
 
1035
    T_DEPENDS   shift, and go to state 74
1036
    T_REQUIRES  shift, and go to state 75
1037
    T_EOL       shift, and go to state 112
1038
 
1039
    T_EOL     [reduce using rule 75 (comment_stmt)]
1040
    $default  reduce using rule 75 (comment_stmt)
1041
 
1042
    depends  go to state 113
1043
 
1044
 
1045
state 60
1046
 
1047
    6 block: T_MAINMENU prompt nl_or_eof .
1048
 
1049
    $default  reduce using rule 6 (block)
1050
 
1051
 
1052
state 61
1053
 
1054
   62 menu: T_MENU prompt T_EOL .
1055
 
1056
    $default  reduce using rule 62 (menu)
1057
 
1058
 
1059
state 62
1060
 
1061
   72 source: T_SOURCE prompt T_EOL .
1062
 
1063
    $default  reduce using rule 72 (source)
1064
 
1065
 
1066
state 63
1067
 
1068
   74 comment: T_COMMENT prompt T_EOL .
1069
 
1070
    $default  reduce using rule 74 (comment)
1071
 
1072
 
1073
state 64
1074
 
1075
   17 config_entry_start: T_CONFIG T_WORD T_EOL .
1076
 
1077
    $default  reduce using rule 17 (config_entry_start)
1078
 
1079
 
1080
state 65
1081
 
1082
   19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL .
1083
 
1084
    $default  reduce using rule 19 (menuconfig_entry_start)
1085
 
1086
 
1087
state 66
1088
 
1089
   98 expr: T_OPEN_PAREN expr . T_CLOSE_PAREN
1090
  100     | expr . T_OR expr
1091
  101     | expr . T_AND expr
1092
 
1093
    T_CLOSE_PAREN  shift, and go to state 120
1094
    T_OR           shift, and go to state 69
1095
    T_AND          shift, and go to state 70
1096
 
1097
 
1098
state 67
1099
 
1100
   99 expr: T_NOT expr .
1101
  100     | expr . T_OR expr
1102
  101     | expr . T_AND expr
1103
 
1104
    $default  reduce using rule 99 (expr)
1105
 
1106
 
1107
state 68
1108
 
1109
   54 if: T_IF expr T_EOL .
1110
 
1111
    $default  reduce using rule 54 (if)
1112
 
1113
 
1114
state 69
1115
 
1116
  100 expr: expr T_OR . expr
1117
 
1118
    T_WORD        shift, and go to state 46
1119
    T_WORD_QUOTE  shift, and go to state 47
1120
    T_OPEN_PAREN  shift, and go to state 48
1121
    T_NOT         shift, and go to state 49
1122
 
1123
    expr    go to state 121
1124
    symbol  go to state 51
1125
 
1126
 
1127
state 70
1128
 
1129
  101 expr: expr T_AND . expr
1130
 
1131
    T_WORD        shift, and go to state 46
1132
    T_WORD_QUOTE  shift, and go to state 47
1133
    T_OPEN_PAREN  shift, and go to state 48
1134
    T_NOT         shift, and go to state 49
1135
 
1136
    expr    go to state 122
1137
    symbol  go to state 51
1138
 
1139
 
1140
state 71
1141
 
1142
   97 expr: symbol T_UNEQUAL . symbol
1143
 
1144
    T_WORD        shift, and go to state 46
1145
    T_WORD_QUOTE  shift, and go to state 47
1146
 
1147
    symbol  go to state 123
1148
 
1149
 
1150
state 72
1151
 
1152
   96 expr: symbol T_EQUAL . symbol
1153
 
1154
    T_WORD        shift, and go to state 46
1155
    T_WORD_QUOTE  shift, and go to state 47
1156
 
1157
    symbol  go to state 124
1158
 
1159
 
1160
state 73
1161
 
1162
   76 help_start: T_HELP . T_EOL
1163
 
1164
    T_EOL  shift, and go to state 125
1165
 
1166
 
1167
state 74
1168
 
1169
   81 depends: T_DEPENDS . T_ON expr T_EOL
1170
   82        | T_DEPENDS . expr T_EOL
1171
 
1172
    T_WORD        shift, and go to state 46
1173
    T_WORD_QUOTE  shift, and go to state 47
1174
    T_OPEN_PAREN  shift, and go to state 48
1175
    T_ON          shift, and go to state 126
1176
    T_NOT         shift, and go to state 49
1177
 
1178
    expr    go to state 127
1179
    symbol  go to state 51
1180
 
1181
 
1182
state 75
1183
 
1184
   83 depends: T_REQUIRES . expr T_EOL
1185
 
1186
    T_WORD        shift, and go to state 46
1187
    T_WORD_QUOTE  shift, and go to state 47
1188
    T_OPEN_PAREN  shift, and go to state 48
1189
    T_NOT         shift, and go to state 49
1190
 
1191
    expr    go to state 128
1192
    symbol  go to state 51
1193
 
1194
 
1195
state 76
1196
 
1197
   33 config_option: T_PROMPT . prompt if_expr T_EOL
1198
 
1199
    T_WORD        shift, and go to state 37
1200
    T_WORD_QUOTE  shift, and go to state 38
1201
 
1202
    prompt  go to state 129
1203
 
1204
 
1205
state 77
1206
 
1207
   34 config_option: T_DEFAULT . expr if_expr T_EOL
1208
 
1209
    T_WORD        shift, and go to state 46
1210
    T_WORD_QUOTE  shift, and go to state 47
1211
    T_OPEN_PAREN  shift, and go to state 48
1212
    T_NOT         shift, and go to state 49
1213
 
1214
    expr    go to state 130
1215
    symbol  go to state 51
1216
 
1217
 
1218
state 78
1219
 
1220
   26 config_option: T_TRISTATE . prompt_stmt_opt T_EOL
1221
 
1222
    T_WORD        shift, and go to state 37
1223
    T_WORD_QUOTE  shift, and go to state 38
1224
 
1225
    $default  reduce using rule 84 (prompt_stmt_opt)
1226
 
1227
    prompt_stmt_opt  go to state 131
1228
    prompt           go to state 132
1229
 
1230
 
1231
state 79
1232
 
1233
   27 config_option: T_DEF_TRISTATE . expr if_expr T_EOL
1234
 
1235
    T_WORD        shift, and go to state 46
1236
    T_WORD_QUOTE  shift, and go to state 47
1237
    T_OPEN_PAREN  shift, and go to state 48
1238
    T_NOT         shift, and go to state 49
1239
 
1240
    expr    go to state 133
1241
    symbol  go to state 51
1242
 
1243
 
1244
state 80
1245
 
1246
   28 config_option: T_BOOLEAN . prompt_stmt_opt T_EOL
1247
 
1248
    T_WORD        shift, and go to state 37
1249
    T_WORD_QUOTE  shift, and go to state 38
1250
 
1251
    $default  reduce using rule 84 (prompt_stmt_opt)
1252
 
1253
    prompt_stmt_opt  go to state 134
1254
    prompt           go to state 132
1255
 
1256
 
1257
state 81
1258
 
1259
   29 config_option: T_DEF_BOOLEAN . expr if_expr T_EOL
1260
 
1261
    T_WORD        shift, and go to state 46
1262
    T_WORD_QUOTE  shift, and go to state 47
1263
    T_OPEN_PAREN  shift, and go to state 48
1264
    T_NOT         shift, and go to state 49
1265
 
1266
    expr    go to state 135
1267
    symbol  go to state 51
1268
 
1269
 
1270
state 82
1271
 
1272
   32 config_option: T_STRING . prompt_stmt_opt T_EOL
1273
 
1274
    T_WORD        shift, and go to state 37
1275
    T_WORD_QUOTE  shift, and go to state 38
1276
 
1277
    $default  reduce using rule 84 (prompt_stmt_opt)
1278
 
1279
    prompt_stmt_opt  go to state 136
1280
    prompt           go to state 132
1281
 
1282
 
1283
state 83
1284
 
1285
   30 config_option: T_INT . prompt_stmt_opt T_EOL
1286
 
1287
    T_WORD        shift, and go to state 37
1288
    T_WORD_QUOTE  shift, and go to state 38
1289
 
1290
    $default  reduce using rule 84 (prompt_stmt_opt)
1291
 
1292
    prompt_stmt_opt  go to state 137
1293
    prompt           go to state 132
1294
 
1295
 
1296
state 84
1297
 
1298
   31 config_option: T_HEX . prompt_stmt_opt T_EOL
1299
 
1300
    T_WORD        shift, and go to state 37
1301
    T_WORD_QUOTE  shift, and go to state 38
1302
 
1303
    $default  reduce using rule 84 (prompt_stmt_opt)
1304
 
1305
    prompt_stmt_opt  go to state 138
1306
    prompt           go to state 132
1307
 
1308
 
1309
state 85
1310
 
1311
   25 config_option_list: config_option_list T_EOL .
1312
 
1313
    $default  reduce using rule 25 (config_option_list)
1314
 
1315
 
1316
state 86
1317
 
1318
   35 config_option: T_SELECT . T_WORD if_expr T_EOL
1319
 
1320
    T_WORD  shift, and go to state 139
1321
 
1322
 
1323
state 87
1324
 
1325
   36 config_option: T_RANGE . symbol symbol if_expr T_EOL
1326
 
1327
    T_WORD        shift, and go to state 46
1328
    T_WORD_QUOTE  shift, and go to state 47
1329
 
1330
    symbol  go to state 140
1331
 
1332
 
1333
state 88
1334
 
1335
   22 config_option_list: config_option_list config_option .
1336
 
1337
    $default  reduce using rule 22 (config_option_list)
1338
 
1339
 
1340
state 89
1341
 
1342
   77 help: help_start . T_HELPTEXT
1343
 
1344
    T_HELPTEXT  shift, and go to state 141
1345
 
1346
 
1347
state 90
1348
 
1349
   24 config_option_list: config_option_list help .
1350
 
1351
    $default  reduce using rule 24 (config_option_list)
1352
 
1353
 
1354
state 91
1355
 
1356
   23 config_option_list: config_option_list depends .
1357
 
1358
    $default  reduce using rule 23 (config_option_list)
1359
 
1360
 
1361
state 92
1362
 
1363
   50 choice_option: T_OPTIONAL . T_EOL
1364
 
1365
    T_EOL  shift, and go to state 142
1366
 
1367
 
1368
state 93
1369
 
1370
   47 choice_option: T_PROMPT . prompt if_expr T_EOL
1371
 
1372
    T_WORD        shift, and go to state 37
1373
    T_WORD_QUOTE  shift, and go to state 38
1374
 
1375
    prompt  go to state 143
1376
 
1377
 
1378
state 94
1379
 
1380
   51 choice_option: T_DEFAULT . T_WORD if_expr T_EOL
1381
 
1382
    T_WORD  shift, and go to state 144
1383
 
1384
 
1385
state 95
1386
 
1387
   48 choice_option: T_TRISTATE . prompt_stmt_opt T_EOL
1388
 
1389
    T_WORD        shift, and go to state 37
1390
    T_WORD_QUOTE  shift, and go to state 38
1391
 
1392
    $default  reduce using rule 84 (prompt_stmt_opt)
1393
 
1394
    prompt_stmt_opt  go to state 145
1395
    prompt           go to state 132
1396
 
1397
 
1398
state 96
1399
 
1400
   49 choice_option: T_BOOLEAN . prompt_stmt_opt T_EOL
1401
 
1402
    T_WORD        shift, and go to state 37
1403
    T_WORD_QUOTE  shift, and go to state 38
1404
 
1405
    $default  reduce using rule 84 (prompt_stmt_opt)
1406
 
1407
    prompt_stmt_opt  go to state 146
1408
    prompt           go to state 132
1409
 
1410
 
1411
state 97
1412
 
1413
   46 choice_option_list: choice_option_list T_EOL .
1414
 
1415
    $default  reduce using rule 46 (choice_option_list)
1416
 
1417
 
1418
state 98
1419
 
1420
   43 choice_option_list: choice_option_list choice_option .
1421
 
1422
    $default  reduce using rule 43 (choice_option_list)
1423
 
1424
 
1425
state 99
1426
 
1427
   45 choice_option_list: choice_option_list help .
1428
 
1429
    $default  reduce using rule 45 (choice_option_list)
1430
 
1431
 
1432
state 100
1433
 
1434
   44 choice_option_list: choice_option_list depends .
1435
 
1436
    $default  reduce using rule 44 (choice_option_list)
1437
 
1438
 
1439
state 101
1440
 
1441
   88 end: T_ENDMENU . nl_or_eof
1442
 
1443
    T_EOF  shift, and go to state 15
1444
    T_EOL  shift, and go to state 16
1445
 
1446
    nl_or_eof  go to state 147
1447
 
1448
 
1449
state 102
1450
 
1451
   89 end: T_ENDCHOICE . nl_or_eof
1452
 
1453
    T_EOF  shift, and go to state 15
1454
    T_EOL  shift, and go to state 16
1455
 
1456
    nl_or_eof  go to state 148
1457
 
1458
 
1459
state 103
1460
 
1461
   90 end: T_ENDIF . nl_or_eof
1462
 
1463
    T_EOF  shift, and go to state 15
1464
    T_EOL  shift, and go to state 16
1465
 
1466
    nl_or_eof  go to state 149
1467
 
1468
 
1469
state 104
1470
 
1471
   53 choice_block: choice_block common_block .
1472
 
1473
    $default  reduce using rule 53 (choice_block)
1474
 
1475
 
1476
state 105
1477
 
1478
   40 choice_stmt: choice_entry choice_block choice_end .
1479
 
1480
    $default  reduce using rule 40 (choice_stmt)
1481
 
1482
 
1483
state 106
1484
 
1485
   39 choice_end: end .
1486
 
1487
    $default  reduce using rule 39 (choice_end)
1488
 
1489
 
1490
state 107
1491
 
1492
   59 if_block: if_block common_block .
1493
 
1494
    $default  reduce using rule 59 (if_block)
1495
 
1496
 
1497
state 108
1498
 
1499
   61 if_block: if_block choice_stmt .
1500
 
1501
    $default  reduce using rule 61 (if_block)
1502
 
1503
 
1504
state 109
1505
 
1506
   56 if_stmt: if if_block if_end .
1507
 
1508
    $default  reduce using rule 56 (if_stmt)
1509
 
1510
 
1511
state 110
1512
 
1513
   60 if_block: if_block menu_stmt .
1514
 
1515
    $default  reduce using rule 60 (if_block)
1516
 
1517
 
1518
state 111
1519
 
1520
   55 if_end: end .
1521
 
1522
    $default  reduce using rule 55 (if_end)
1523
 
1524
 
1525
state 112
1526
 
1527
   80 depends_list: depends_list T_EOL .
1528
 
1529
    $default  reduce using rule 80 (depends_list)
1530
 
1531
 
1532
state 113
1533
 
1534
   79 depends_list: depends_list depends .
1535
 
1536
    $default  reduce using rule 79 (depends_list)
1537
 
1538
 
1539
state 114
1540
 
1541
   71 menu_block: menu_block error . T_EOL
1542
 
1543
    T_EOL  shift, and go to state 150
1544
 
1545
 
1546
state 115
1547
 
1548
   68 menu_block: menu_block common_block .
1549
 
1550
    $default  reduce using rule 68 (menu_block)
1551
 
1552
 
1553
state 116
1554
 
1555
   70 menu_block: menu_block choice_stmt .
1556
 
1557
    $default  reduce using rule 70 (menu_block)
1558
 
1559
 
1560
state 117
1561
 
1562
   65 menu_stmt: menu_entry menu_block menu_end .
1563
 
1564
    $default  reduce using rule 65 (menu_stmt)
1565
 
1566
 
1567
state 118
1568
 
1569
   69 menu_block: menu_block menu_stmt .
1570
 
1571
    $default  reduce using rule 69 (menu_block)
1572
 
1573
 
1574
state 119
1575
 
1576
   64 menu_end: end .
1577
 
1578
    $default  reduce using rule 64 (menu_end)
1579
 
1580
 
1581
state 120
1582
 
1583
   98 expr: T_OPEN_PAREN expr T_CLOSE_PAREN .
1584
 
1585
    $default  reduce using rule 98 (expr)
1586
 
1587
 
1588
state 121
1589
 
1590
  100 expr: expr . T_OR expr
1591
  100     | expr T_OR expr .
1592
  101     | expr . T_AND expr
1593
 
1594
    T_AND  shift, and go to state 70
1595
 
1596
    $default  reduce using rule 100 (expr)
1597
 
1598
 
1599
state 122
1600
 
1601
  100 expr: expr . T_OR expr
1602
  101     | expr . T_AND expr
1603
  101     | expr T_AND expr .
1604
 
1605
    $default  reduce using rule 101 (expr)
1606
 
1607
 
1608
state 123
1609
 
1610
   97 expr: symbol T_UNEQUAL symbol .
1611
 
1612
    $default  reduce using rule 97 (expr)
1613
 
1614
 
1615
state 124
1616
 
1617
   96 expr: symbol T_EQUAL symbol .
1618
 
1619
    $default  reduce using rule 96 (expr)
1620
 
1621
 
1622
state 125
1623
 
1624
   76 help_start: T_HELP T_EOL .
1625
 
1626
    $default  reduce using rule 76 (help_start)
1627
 
1628
 
1629
state 126
1630
 
1631
   81 depends: T_DEPENDS T_ON . expr T_EOL
1632
 
1633
    T_WORD        shift, and go to state 46
1634
    T_WORD_QUOTE  shift, and go to state 47
1635
    T_OPEN_PAREN  shift, and go to state 48
1636
    T_NOT         shift, and go to state 49
1637
 
1638
    expr    go to state 151
1639
    symbol  go to state 51
1640
 
1641
 
1642
state 127
1643
 
1644
   82 depends: T_DEPENDS expr . T_EOL
1645
  100 expr: expr . T_OR expr
1646
  101     | expr . T_AND expr
1647
 
1648
    T_EOL  shift, and go to state 152
1649
    T_OR   shift, and go to state 69
1650
    T_AND  shift, and go to state 70
1651
 
1652
 
1653
state 128
1654
 
1655
   83 depends: T_REQUIRES expr . T_EOL
1656
  100 expr: expr . T_OR expr
1657
  101     | expr . T_AND expr
1658
 
1659
    T_EOL  shift, and go to state 153
1660
    T_OR   shift, and go to state 69
1661
    T_AND  shift, and go to state 70
1662
 
1663
 
1664
state 129
1665
 
1666
   33 config_option: T_PROMPT prompt . if_expr T_EOL
1667
 
1668
    T_IF  shift, and go to state 154
1669
 
1670
    $default  reduce using rule 93 (if_expr)
1671
 
1672
    if_expr  go to state 155
1673
 
1674
 
1675
state 130
1676
 
1677
   34 config_option: T_DEFAULT expr . if_expr T_EOL
1678
  100 expr: expr . T_OR expr
1679
  101     | expr . T_AND expr
1680
 
1681
    T_IF   shift, and go to state 154
1682
    T_OR   shift, and go to state 69
1683
    T_AND  shift, and go to state 70
1684
 
1685
    $default  reduce using rule 93 (if_expr)
1686
 
1687
    if_expr  go to state 156
1688
 
1689
 
1690
state 131
1691
 
1692
   26 config_option: T_TRISTATE prompt_stmt_opt . T_EOL
1693
 
1694
    T_EOL  shift, and go to state 157
1695
 
1696
 
1697
state 132
1698
 
1699
   85 prompt_stmt_opt: prompt . if_expr
1700
 
1701
    T_IF  shift, and go to state 154
1702
 
1703
    $default  reduce using rule 93 (if_expr)
1704
 
1705
    if_expr  go to state 158
1706
 
1707
 
1708
state 133
1709
 
1710
   27 config_option: T_DEF_TRISTATE expr . if_expr T_EOL
1711
  100 expr: expr . T_OR expr
1712
  101     | expr . T_AND expr
1713
 
1714
    T_IF   shift, and go to state 154
1715
    T_OR   shift, and go to state 69
1716
    T_AND  shift, and go to state 70
1717
 
1718
    $default  reduce using rule 93 (if_expr)
1719
 
1720
    if_expr  go to state 159
1721
 
1722
 
1723
state 134
1724
 
1725
   28 config_option: T_BOOLEAN prompt_stmt_opt . T_EOL
1726
 
1727
    T_EOL  shift, and go to state 160
1728
 
1729
 
1730
state 135
1731
 
1732
   29 config_option: T_DEF_BOOLEAN expr . if_expr T_EOL
1733
  100 expr: expr . T_OR expr
1734
  101     | expr . T_AND expr
1735
 
1736
    T_IF   shift, and go to state 154
1737
    T_OR   shift, and go to state 69
1738
    T_AND  shift, and go to state 70
1739
 
1740
    $default  reduce using rule 93 (if_expr)
1741
 
1742
    if_expr  go to state 161
1743
 
1744
 
1745
state 136
1746
 
1747
   32 config_option: T_STRING prompt_stmt_opt . T_EOL
1748
 
1749
    T_EOL  shift, and go to state 162
1750
 
1751
 
1752
state 137
1753
 
1754
   30 config_option: T_INT prompt_stmt_opt . T_EOL
1755
 
1756
    T_EOL  shift, and go to state 163
1757
 
1758
 
1759
state 138
1760
 
1761
   31 config_option: T_HEX prompt_stmt_opt . T_EOL
1762
 
1763
    T_EOL  shift, and go to state 164
1764
 
1765
 
1766
state 139
1767
 
1768
   35 config_option: T_SELECT T_WORD . if_expr T_EOL
1769
 
1770
    T_IF  shift, and go to state 154
1771
 
1772
    $default  reduce using rule 93 (if_expr)
1773
 
1774
    if_expr  go to state 165
1775
 
1776
 
1777
state 140
1778
 
1779
   36 config_option: T_RANGE symbol . symbol if_expr T_EOL
1780
 
1781
    T_WORD        shift, and go to state 46
1782
    T_WORD_QUOTE  shift, and go to state 47
1783
 
1784
    symbol  go to state 166
1785
 
1786
 
1787
state 141
1788
 
1789
   77 help: help_start T_HELPTEXT .
1790
 
1791
    $default  reduce using rule 77 (help)
1792
 
1793
 
1794
state 142
1795
 
1796
   50 choice_option: T_OPTIONAL T_EOL .
1797
 
1798
    $default  reduce using rule 50 (choice_option)
1799
 
1800
 
1801
state 143
1802
 
1803
   47 choice_option: T_PROMPT prompt . if_expr T_EOL
1804
 
1805
    T_IF  shift, and go to state 154
1806
 
1807
    $default  reduce using rule 93 (if_expr)
1808
 
1809
    if_expr  go to state 167
1810
 
1811
 
1812
state 144
1813
 
1814
   51 choice_option: T_DEFAULT T_WORD . if_expr T_EOL
1815
 
1816
    T_IF  shift, and go to state 154
1817
 
1818
    $default  reduce using rule 93 (if_expr)
1819
 
1820
    if_expr  go to state 168
1821
 
1822
 
1823
state 145
1824
 
1825
   48 choice_option: T_TRISTATE prompt_stmt_opt . T_EOL
1826
 
1827
    T_EOL  shift, and go to state 169
1828
 
1829
 
1830
state 146
1831
 
1832
   49 choice_option: T_BOOLEAN prompt_stmt_opt . T_EOL
1833
 
1834
    T_EOL  shift, and go to state 170
1835
 
1836
 
1837
state 147
1838
 
1839
   88 end: T_ENDMENU nl_or_eof .
1840
 
1841
    $default  reduce using rule 88 (end)
1842
 
1843
 
1844
state 148
1845
 
1846
   89 end: T_ENDCHOICE nl_or_eof .
1847
 
1848
    $default  reduce using rule 89 (end)
1849
 
1850
 
1851
state 149
1852
 
1853
   90 end: T_ENDIF nl_or_eof .
1854
 
1855
    $default  reduce using rule 90 (end)
1856
 
1857
 
1858
state 150
1859
 
1860
   71 menu_block: menu_block error T_EOL .
1861
 
1862
    $default  reduce using rule 71 (menu_block)
1863
 
1864
 
1865
state 151
1866
 
1867
   81 depends: T_DEPENDS T_ON expr . T_EOL
1868
  100 expr: expr . T_OR expr
1869
  101     | expr . T_AND expr
1870
 
1871
    T_EOL  shift, and go to state 171
1872
    T_OR   shift, and go to state 69
1873
    T_AND  shift, and go to state 70
1874
 
1875
 
1876
state 152
1877
 
1878
   82 depends: T_DEPENDS expr T_EOL .
1879
 
1880
    $default  reduce using rule 82 (depends)
1881
 
1882
 
1883
state 153
1884
 
1885
   83 depends: T_REQUIRES expr T_EOL .
1886
 
1887
    $default  reduce using rule 83 (depends)
1888
 
1889
 
1890
state 154
1891
 
1892
   94 if_expr: T_IF . expr
1893
 
1894
    T_WORD        shift, and go to state 46
1895
    T_WORD_QUOTE  shift, and go to state 47
1896
    T_OPEN_PAREN  shift, and go to state 48
1897
    T_NOT         shift, and go to state 49
1898
 
1899
    expr    go to state 172
1900
    symbol  go to state 51
1901
 
1902
 
1903
state 155
1904
 
1905
   33 config_option: T_PROMPT prompt if_expr . T_EOL
1906
 
1907
    T_EOL  shift, and go to state 173
1908
 
1909
 
1910
state 156
1911
 
1912
   34 config_option: T_DEFAULT expr if_expr . T_EOL
1913
 
1914
    T_EOL  shift, and go to state 174
1915
 
1916
 
1917
state 157
1918
 
1919
   26 config_option: T_TRISTATE prompt_stmt_opt T_EOL .
1920
 
1921
    $default  reduce using rule 26 (config_option)
1922
 
1923
 
1924
state 158
1925
 
1926
   85 prompt_stmt_opt: prompt if_expr .
1927
 
1928
    $default  reduce using rule 85 (prompt_stmt_opt)
1929
 
1930
 
1931
state 159
1932
 
1933
   27 config_option: T_DEF_TRISTATE expr if_expr . T_EOL
1934
 
1935
    T_EOL  shift, and go to state 175
1936
 
1937
 
1938
state 160
1939
 
1940
   28 config_option: T_BOOLEAN prompt_stmt_opt T_EOL .
1941
 
1942
    $default  reduce using rule 28 (config_option)
1943
 
1944
 
1945
state 161
1946
 
1947
   29 config_option: T_DEF_BOOLEAN expr if_expr . T_EOL
1948
 
1949
    T_EOL  shift, and go to state 176
1950
 
1951
 
1952
state 162
1953
 
1954
   32 config_option: T_STRING prompt_stmt_opt T_EOL .
1955
 
1956
    $default  reduce using rule 32 (config_option)
1957
 
1958
 
1959
state 163
1960
 
1961
   30 config_option: T_INT prompt_stmt_opt T_EOL .
1962
 
1963
    $default  reduce using rule 30 (config_option)
1964
 
1965
 
1966
state 164
1967
 
1968
   31 config_option: T_HEX prompt_stmt_opt T_EOL .
1969
 
1970
    $default  reduce using rule 31 (config_option)
1971
 
1972
 
1973
state 165
1974
 
1975
   35 config_option: T_SELECT T_WORD if_expr . T_EOL
1976
 
1977
    T_EOL  shift, and go to state 177
1978
 
1979
 
1980
state 166
1981
 
1982
   36 config_option: T_RANGE symbol symbol . if_expr T_EOL
1983
 
1984
    T_IF  shift, and go to state 154
1985
 
1986
    $default  reduce using rule 93 (if_expr)
1987
 
1988
    if_expr  go to state 178
1989
 
1990
 
1991
state 167
1992
 
1993
   47 choice_option: T_PROMPT prompt if_expr . T_EOL
1994
 
1995
    T_EOL  shift, and go to state 179
1996
 
1997
 
1998
state 168
1999
 
2000
   51 choice_option: T_DEFAULT T_WORD if_expr . T_EOL
2001
 
2002
    T_EOL  shift, and go to state 180
2003
 
2004
 
2005
state 169
2006
 
2007
   48 choice_option: T_TRISTATE prompt_stmt_opt T_EOL .
2008
 
2009
    $default  reduce using rule 48 (choice_option)
2010
 
2011
 
2012
state 170
2013
 
2014
   49 choice_option: T_BOOLEAN prompt_stmt_opt T_EOL .
2015
 
2016
    $default  reduce using rule 49 (choice_option)
2017
 
2018
 
2019
state 171
2020
 
2021
   81 depends: T_DEPENDS T_ON expr T_EOL .
2022
 
2023
    $default  reduce using rule 81 (depends)
2024
 
2025
 
2026
state 172
2027
 
2028
   94 if_expr: T_IF expr .
2029
  100 expr: expr . T_OR expr
2030
  101     | expr . T_AND expr
2031
 
2032
    T_OR   shift, and go to state 69
2033
    T_AND  shift, and go to state 70
2034
 
2035
    $default  reduce using rule 94 (if_expr)
2036
 
2037
 
2038
state 173
2039
 
2040
   33 config_option: T_PROMPT prompt if_expr T_EOL .
2041
 
2042
    $default  reduce using rule 33 (config_option)
2043
 
2044
 
2045
state 174
2046
 
2047
   34 config_option: T_DEFAULT expr if_expr T_EOL .
2048
 
2049
    $default  reduce using rule 34 (config_option)
2050
 
2051
 
2052
state 175
2053
 
2054
   27 config_option: T_DEF_TRISTATE expr if_expr T_EOL .
2055
 
2056
    $default  reduce using rule 27 (config_option)
2057
 
2058
 
2059
state 176
2060
 
2061
   29 config_option: T_DEF_BOOLEAN expr if_expr T_EOL .
2062
 
2063
    $default  reduce using rule 29 (config_option)
2064
 
2065
 
2066
state 177
2067
 
2068
   35 config_option: T_SELECT T_WORD if_expr T_EOL .
2069
 
2070
    $default  reduce using rule 35 (config_option)
2071
 
2072
 
2073
state 178
2074
 
2075
   36 config_option: T_RANGE symbol symbol if_expr . T_EOL
2076
 
2077
    T_EOL  shift, and go to state 181
2078
 
2079
 
2080
state 179
2081
 
2082
   47 choice_option: T_PROMPT prompt if_expr T_EOL .
2083
 
2084
    $default  reduce using rule 47 (choice_option)
2085
 
2086
 
2087
state 180
2088
 
2089
   51 choice_option: T_DEFAULT T_WORD if_expr T_EOL .
2090
 
2091
    $default  reduce using rule 51 (choice_option)
2092
 
2093
 
2094
state 181
2095
 
2096
   36 config_option: T_RANGE symbol symbol if_expr T_EOL .
2097
 
2098
    $default  reduce using rule 36 (config_option)

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.