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


Grammar

    0 $accept: input $end

    1 input: /* empty */
    2      | input block

    3 block: common_block
    4      | choice_stmt
    5      | menu_stmt
    6      | T_MAINMENU prompt nl_or_eof
    7      | T_ENDMENU
    8      | T_ENDIF
    9      | T_ENDCHOICE
   10      | error nl_or_eof

   11 common_block: if_stmt
   12             | comment_stmt
   13             | config_stmt
   14             | menuconfig_stmt
   15             | source_stmt
   16             | nl_or_eof

   17 config_entry_start: T_CONFIG T_WORD T_EOL

   18 config_stmt: config_entry_start config_option_list

   19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL

   20 menuconfig_stmt: menuconfig_entry_start config_option_list

   21 config_option_list: /* empty */
   22                   | config_option_list config_option
   23                   | config_option_list depends
   24                   | config_option_list help
   25                   | config_option_list T_EOL

   26 config_option: T_TRISTATE prompt_stmt_opt T_EOL
   27              | T_DEF_TRISTATE expr if_expr T_EOL
   28              | T_BOOLEAN prompt_stmt_opt T_EOL
   29              | T_DEF_BOOLEAN expr if_expr T_EOL
   30              | T_INT prompt_stmt_opt T_EOL
   31              | T_HEX prompt_stmt_opt T_EOL
   32              | T_STRING prompt_stmt_opt T_EOL
   33              | T_PROMPT prompt if_expr T_EOL
   34              | T_DEFAULT expr if_expr T_EOL
   35              | T_SELECT T_WORD if_expr T_EOL
   36              | T_SELECT T_NOT T_WORD if_expr T_EOL
   37              | T_RANGE symbol symbol if_expr T_EOL

   38 choice: T_CHOICE T_EOL

   39 choice_entry: choice choice_option_list

   40 choice_end: end

   41 choice_stmt: choice_entry choice_block choice_end
   42            | choice_entry choice_block

   43 choice_option_list: /* empty */
   44                   | choice_option_list choice_option
   45                   | choice_option_list depends
   46                   | choice_option_list help
   47                   | choice_option_list T_EOL

   48 choice_option: T_PROMPT prompt if_expr T_EOL
   49              | T_TRISTATE prompt_stmt_opt T_EOL
   50              | T_BOOLEAN prompt_stmt_opt T_EOL
   51              | T_OPTIONAL T_EOL
   52              | T_DEFAULT T_WORD if_expr T_EOL

   53 choice_block: /* empty */
   54             | choice_block common_block

   55 if: T_IF expr T_EOL

   56 if_end: end

   57 if_stmt: if if_block if_end
   58        | if if_block

   59 if_block: /* empty */
   60         | if_block common_block
   61         | if_block menu_stmt
   62         | if_block choice_stmt

   63 menu: T_MENU prompt T_EOL

   64 menu_entry: menu depends_list

   65 menu_end: end

   66 menu_stmt: menu_entry menu_block menu_end
   67          | menu_entry menu_block

   68 menu_block: /* empty */
   69           | menu_block common_block
   70           | menu_block menu_stmt
   71           | menu_block choice_stmt
   72           | menu_block error T_EOL

   73 source: T_SOURCE prompt T_EOL

   74 source_stmt: source

   75 comment: T_COMMENT prompt T_EOL

   76 comment_stmt: comment depends_list

   77 help_start: T_HELP T_EOL

   78 help: help_start T_HELPTEXT

   79 depends_list: /* empty */
   80             | depends_list depends
   81             | depends_list T_EOL

   82 depends: T_DEPENDS T_ON expr T_EOL
   83        | T_DEPENDS expr T_EOL
   84        | T_REQUIRES expr T_EOL

   85 prompt_stmt_opt: /* empty */
   86                | prompt if_expr

   87 prompt: T_WORD
   88       | T_WORD_QUOTE

   89 end: T_ENDMENU nl_or_eof
   90    | T_ENDCHOICE nl_or_eof
   91    | T_ENDIF nl_or_eof

   92 nl_or_eof: T_EOL
   93          | T_EOF

   94 if_expr: /* empty */
   95        | T_IF expr

   96 expr: symbol
   97     | symbol T_EQUAL symbol
   98     | symbol T_UNEQUAL symbol
   99     | T_OPEN_PAREN expr T_CLOSE_PAREN
  100     | T_NOT expr
  101     | expr T_OR expr
  102     | expr T_AND expr

  103 symbol: T_WORD
  104       | T_WORD_QUOTE


Terminals, with rules where they appear

$end (0) 0
error (256) 10 72
T_MAINMENU (258) 6
T_MENU (259) 63
T_ENDMENU (260) 7 89
T_SOURCE (261) 73
T_CHOICE (262) 38
T_ENDCHOICE (263) 9 90
T_COMMENT (264) 75
T_CONFIG (265) 17
T_MENUCONFIG (266) 19
T_HELP (267) 77
T_HELPTEXT (268) 78
T_IF (269) 55 95
T_ENDIF (270) 8 91
T_DEPENDS (271) 82 83
T_REQUIRES (272) 84
T_OPTIONAL (273) 51
T_PROMPT (274) 33 48
T_DEFAULT (275) 34 52
T_TRISTATE (276) 26 49
T_DEF_TRISTATE (277) 27
T_BOOLEAN (278) 28 50
T_DEF_BOOLEAN (279) 29
T_STRING (280) 32
T_INT (281) 30
T_HEX (282) 31
T_WORD (283) 17 19 35 36 52 87 103
T_WORD_QUOTE (284) 88 104
T_UNEQUAL (285) 98
T_EOF (286) 93
T_EOL (287) 17 19 25 26 27 28 29 30 31 32 33 34 35 36 37 38 47 48 49
    50 51 52 55 63 72 73 75 77 81 82 83 84 92
T_CLOSE_PAREN (288) 99
T_OPEN_PAREN (289) 99
T_ON (290) 82
T_SELECT (291) 35 36
T_RANGE (292) 37
T_OR (293) 101
T_AND (294) 102
T_EQUAL (295) 97
T_NOT (296) 36 100


Nonterminals, with rules where they appear

$accept (42)
    on left: 0
input (43)
    on left: 1 2, on right: 0 2
block (44)
    on left: 3 4 5 6 7 8 9 10, on right: 2
common_block (45)
    on left: 11 12 13 14 15 16, on right: 3 54 60 69
config_entry_start (46)
    on left: 17, on right: 18
config_stmt (47)
    on left: 18, on right: 13
menuconfig_entry_start (48)
    on left: 19, on right: 20
menuconfig_stmt (49)
    on left: 20, on right: 14
config_option_list (50)
    on left: 21 22 23 24 25, on right: 18 20 22 23 24 25
config_option (51)
    on left: 26 27 28 29 30 31 32 33 34 35 36 37, on right: 22
choice (52)
    on left: 38, on right: 39
choice_entry (53)
    on left: 39, on right: 41 42
choice_end (54)
    on left: 40, on right: 41
choice_stmt (55)
    on left: 41 42, on right: 4 62 71
choice_option_list (56)
    on left: 43 44 45 46 47, on right: 39 44 45 46 47
choice_option (57)
    on left: 48 49 50 51 52, on right: 44
choice_block (58)
    on left: 53 54, on right: 41 42 54
if (59)
    on left: 55, on right: 57 58
if_end (60)
    on left: 56, on right: 57
if_stmt (61)
    on left: 57 58, on right: 11
if_block (62)
    on left: 59 60 61 62, on right: 57 58 60 61 62
menu (63)
    on left: 63, on right: 64
menu_entry (64)
    on left: 64, on right: 66 67
menu_end (65)
    on left: 65, on right: 66
menu_stmt (66)
    on left: 66 67, on right: 5 61 70
menu_block (67)
    on left: 68 69 70 71 72, on right: 66 67 69 70 71 72
source (68)
    on left: 73, on right: 74
source_stmt (69)
    on left: 74, on right: 15
comment (70)
    on left: 75, on right: 76
comment_stmt (71)
    on left: 76, on right: 12
help_start (72)
    on left: 77, on right: 78
help (73)
    on left: 78, on right: 24 46
depends_list (74)
    on left: 79 80 81, on right: 64 76 80 81
depends (75)
    on left: 82 83 84, on right: 23 45 80
prompt_stmt_opt (76)
    on left: 85 86, on right: 26 28 30 31 32 49 50
prompt (77)
    on left: 87 88, on right: 6 33 48 63 73 75 86
end (78)
    on left: 89 90 91, on right: 40 56 65
nl_or_eof (79)
    on left: 92 93, on right: 6 10 16 89 90 91
if_expr (80)
    on left: 94 95, on right: 27 29 33 34 35 36 37 48 52 86
expr (81)
    on left: 96 97 98 99 100 101 102, on right: 27 29 34 55 82 83 84
    95 99 100 101 102
symbol (82)
    on left: 103 104, on right: 37 96 97 98


state 0

    0 $accept: . input $end

    $default  reduce using rule 1 (input)

    input  go to state 1


state 1

    0 $accept: input . $end
    2 input: input . block

    $end          shift, and go to state 2
    error         shift, and go to state 3
    T_MAINMENU    shift, and go to state 4
    T_MENU        shift, and go to state 5
    T_ENDMENU     shift, and go to state 6
    T_SOURCE      shift, and go to state 7
    T_CHOICE      shift, and go to state 8
    T_ENDCHOICE   shift, and go to state 9
    T_COMMENT     shift, and go to state 10
    T_CONFIG      shift, and go to state 11
    T_MENUCONFIG  shift, and go to state 12
    T_IF          shift, and go to state 13
    T_ENDIF       shift, and go to state 14
    T_EOF         shift, and go to state 15
    T_EOL         shift, and go to state 16

    block                   go to state 17
    common_block            go to state 18
    config_entry_start      go to state 19
    config_stmt             go to state 20
    menuconfig_entry_start  go to state 21
    menuconfig_stmt         go to state 22
    choice                  go to state 23
    choice_entry            go to state 24
    choice_stmt             go to state 25
    if                      go to state 26
    if_stmt                 go to state 27
    menu                    go to state 28
    menu_entry              go to state 29
    menu_stmt               go to state 30
    source                  go to state 31
    source_stmt             go to state 32
    comment                 go to state 33
    comment_stmt            go to state 34
    nl_or_eof               go to state 35


state 2

    0 $accept: input $end .

    $default  accept


state 3

   10 block: error . nl_or_eof

    T_EOF  shift, and go to state 15
    T_EOL  shift, and go to state 16

    nl_or_eof  go to state 36


state 4

    6 block: T_MAINMENU . prompt nl_or_eof

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 39


state 5

   63 menu: T_MENU . prompt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 40


state 6

    7 block: T_ENDMENU .

    $default  reduce using rule 7 (block)


state 7

   73 source: T_SOURCE . prompt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 41


state 8

   38 choice: T_CHOICE . T_EOL

    T_EOL  shift, and go to state 42


state 9

    9 block: T_ENDCHOICE .

    $default  reduce using rule 9 (block)


state 10

   75 comment: T_COMMENT . prompt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 43


state 11

   17 config_entry_start: T_CONFIG . T_WORD T_EOL

    T_WORD  shift, and go to state 44


state 12

   19 menuconfig_entry_start: T_MENUCONFIG . T_WORD T_EOL

    T_WORD  shift, and go to state 45


state 13

   55 if: T_IF . expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 50
    symbol  go to state 51


state 14

    8 block: T_ENDIF .

    $default  reduce using rule 8 (block)


state 15

   93 nl_or_eof: T_EOF .

    $default  reduce using rule 93 (nl_or_eof)


state 16

   92 nl_or_eof: T_EOL .

    $default  reduce using rule 92 (nl_or_eof)


state 17

    2 input: input block .

    $default  reduce using rule 2 (input)


state 18

    3 block: common_block .

    $default  reduce using rule 3 (block)


state 19

   18 config_stmt: config_entry_start . config_option_list

    $default  reduce using rule 21 (config_option_list)

    config_option_list  go to state 52


state 20

   13 common_block: config_stmt .

    $default  reduce using rule 13 (common_block)


state 21

   20 menuconfig_stmt: menuconfig_entry_start . config_option_list

    $default  reduce using rule 21 (config_option_list)

    config_option_list  go to state 53


state 22

   14 common_block: menuconfig_stmt .

    $default  reduce using rule 14 (common_block)


state 23

   39 choice_entry: choice . choice_option_list

    $default  reduce using rule 43 (choice_option_list)

    choice_option_list  go to state 54


state 24

   41 choice_stmt: choice_entry . choice_block choice_end
   42            | choice_entry . choice_block

    $default  reduce using rule 53 (choice_block)

    choice_block  go to state 55


state 25

    4 block: choice_stmt .

    $default  reduce using rule 4 (block)


state 26

   57 if_stmt: if . if_block if_end
   58        | if . if_block

    $default  reduce using rule 59 (if_block)

    if_block  go to state 56


state 27

   11 common_block: if_stmt .

    $default  reduce using rule 11 (common_block)


state 28

   64 menu_entry: menu . depends_list

    $default  reduce using rule 79 (depends_list)

    depends_list  go to state 57


state 29

   66 menu_stmt: menu_entry . menu_block menu_end
   67          | menu_entry . menu_block

    $default  reduce using rule 68 (menu_block)

    menu_block  go to state 58


state 30

    5 block: menu_stmt .

    $default  reduce using rule 5 (block)


state 31

   74 source_stmt: source .

    $default  reduce using rule 74 (source_stmt)


state 32

   15 common_block: source_stmt .

    $default  reduce using rule 15 (common_block)


state 33

   76 comment_stmt: comment . depends_list

    $default  reduce using rule 79 (depends_list)

    depends_list  go to state 59


state 34

   12 common_block: comment_stmt .

    $default  reduce using rule 12 (common_block)


state 35

   16 common_block: nl_or_eof .

    $default  reduce using rule 16 (common_block)


state 36

   10 block: error nl_or_eof .

    $default  reduce using rule 10 (block)


state 37

   87 prompt: T_WORD .

    $default  reduce using rule 87 (prompt)


state 38

   88 prompt: T_WORD_QUOTE .

    $default  reduce using rule 88 (prompt)


state 39

    6 block: T_MAINMENU prompt . nl_or_eof

    T_EOF  shift, and go to state 15
    T_EOL  shift, and go to state 16

    nl_or_eof  go to state 60


state 40

   63 menu: T_MENU prompt . T_EOL

    T_EOL  shift, and go to state 61


state 41

   73 source: T_SOURCE prompt . T_EOL

    T_EOL  shift, and go to state 62


state 42

   38 choice: T_CHOICE T_EOL .

    $default  reduce using rule 38 (choice)


state 43

   75 comment: T_COMMENT prompt . T_EOL

    T_EOL  shift, and go to state 63


state 44

   17 config_entry_start: T_CONFIG T_WORD . T_EOL

    T_EOL  shift, and go to state 64


state 45

   19 menuconfig_entry_start: T_MENUCONFIG T_WORD . T_EOL

    T_EOL  shift, and go to state 65


state 46

  103 symbol: T_WORD .

    $default  reduce using rule 103 (symbol)


state 47

  104 symbol: T_WORD_QUOTE .

    $default  reduce using rule 104 (symbol)


state 48

   99 expr: T_OPEN_PAREN . expr T_CLOSE_PAREN

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 66
    symbol  go to state 51


state 49

  100 expr: T_NOT . expr

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 67
    symbol  go to state 51


state 50

   55 if: T_IF expr . T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_EOL  shift, and go to state 68
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70


state 51

   96 expr: symbol .
   97     | symbol . T_EQUAL symbol
   98     | symbol . T_UNEQUAL symbol

    T_UNEQUAL  shift, and go to state 71
    T_EQUAL    shift, and go to state 72

    $default  reduce using rule 96 (expr)


state 52

   18 config_stmt: config_entry_start config_option_list .
   22 config_option_list: config_option_list . config_option
   23                   | config_option_list . depends
   24                   | config_option_list . help
   25                   | config_option_list . T_EOL

    T_HELP          shift, and go to state 73
    T_DEPENDS       shift, and go to state 74
    T_REQUIRES      shift, and go to state 75
    T_PROMPT        shift, and go to state 76
    T_DEFAULT       shift, and go to state 77
    T_TRISTATE      shift, and go to state 78
    T_DEF_TRISTATE  shift, and go to state 79
    T_BOOLEAN       shift, and go to state 80
    T_DEF_BOOLEAN   shift, and go to state 81
    T_STRING        shift, and go to state 82
    T_INT           shift, and go to state 83
    T_HEX           shift, and go to state 84
    T_EOL           shift, and go to state 85
    T_SELECT        shift, and go to state 86
    T_RANGE         shift, and go to state 87

    T_EOL     [reduce using rule 18 (config_stmt)]
    $default  reduce using rule 18 (config_stmt)

    config_option  go to state 88
    help_start     go to state 89
    help           go to state 90
    depends        go to state 91


state 53

   20 menuconfig_stmt: menuconfig_entry_start config_option_list .
   22 config_option_list: config_option_list . config_option
   23                   | config_option_list . depends
   24                   | config_option_list . help
   25                   | config_option_list . T_EOL

    T_HELP          shift, and go to state 73
    T_DEPENDS       shift, and go to state 74
    T_REQUIRES      shift, and go to state 75
    T_PROMPT        shift, and go to state 76
    T_DEFAULT       shift, and go to state 77
    T_TRISTATE      shift, and go to state 78
    T_DEF_TRISTATE  shift, and go to state 79
    T_BOOLEAN       shift, and go to state 80
    T_DEF_BOOLEAN   shift, and go to state 81
    T_STRING        shift, and go to state 82
    T_INT           shift, and go to state 83
    T_HEX           shift, and go to state 84
    T_EOL           shift, and go to state 85
    T_SELECT        shift, and go to state 86
    T_RANGE         shift, and go to state 87

    T_EOL     [reduce using rule 20 (menuconfig_stmt)]
    $default  reduce using rule 20 (menuconfig_stmt)

    config_option  go to state 88
    help_start     go to state 89
    help           go to state 90
    depends        go to state 91


state 54

   39 choice_entry: choice choice_option_list .
   44 choice_option_list: choice_option_list . choice_option
   45                   | choice_option_list . depends
   46                   | choice_option_list . help
   47                   | choice_option_list . T_EOL

    T_HELP      shift, and go to state 73
    T_DEPENDS   shift, and go to state 74
    T_REQUIRES  shift, and go to state 75
    T_OPTIONAL  shift, and go to state 92
    T_PROMPT    shift, and go to state 93
    T_DEFAULT   shift, and go to state 94
    T_TRISTATE  shift, and go to state 95
    T_BOOLEAN   shift, and go to state 96
    T_EOL       shift, and go to state 97

    T_EOL     [reduce using rule 39 (choice_entry)]
    $default  reduce using rule 39 (choice_entry)

    choice_option  go to state 98
    help_start     go to state 89
    help           go to state 99
    depends        go to state 100


state 55

   41 choice_stmt: choice_entry choice_block . choice_end
   42            | choice_entry choice_block .
   54 choice_block: choice_block . common_block

    T_ENDMENU     shift, and go to state 101
    T_SOURCE      shift, and go to state 7
    T_ENDCHOICE   shift, and go to state 102
    T_COMMENT     shift, and go to state 10
    T_CONFIG      shift, and go to state 11
    T_MENUCONFIG  shift, and go to state 12
    T_IF          shift, and go to state 13
    T_ENDIF       shift, and go to state 103
    T_EOF         shift, and go to state 15
    T_EOL         shift, and go to state 16

    T_ENDMENU     [reduce using rule 42 (choice_stmt)]
    T_SOURCE      [reduce using rule 42 (choice_stmt)]
    T_ENDCHOICE   [reduce using rule 42 (choice_stmt)]
    T_COMMENT     [reduce using rule 42 (choice_stmt)]
    T_CONFIG      [reduce using rule 42 (choice_stmt)]
    T_MENUCONFIG  [reduce using rule 42 (choice_stmt)]
    T_IF          [reduce using rule 42 (choice_stmt)]
    T_ENDIF       [reduce using rule 42 (choice_stmt)]
    T_EOF         [reduce using rule 42 (choice_stmt)]
    T_EOL         [reduce using rule 42 (choice_stmt)]
    $default      reduce using rule 42 (choice_stmt)

    common_block            go to state 104
    config_entry_start      go to state 19
    config_stmt             go to state 20
    menuconfig_entry_start  go to state 21
    menuconfig_stmt         go to state 22
    choice_end              go to state 105
    if                      go to state 26
    if_stmt                 go to state 27
    source                  go to state 31
    source_stmt             go to state 32
    comment                 go to state 33
    comment_stmt            go to state 34
    end                     go to state 106
    nl_or_eof               go to state 35


state 56

   57 if_stmt: if if_block . if_end
   58        | if if_block .
   60 if_block: if_block . common_block
   61         | if_block . menu_stmt
   62         | if_block . choice_stmt

    T_MENU        shift, and go to state 5
    T_ENDMENU     shift, and go to state 101
    T_SOURCE      shift, and go to state 7
    T_CHOICE      shift, and go to state 8
    T_ENDCHOICE   shift, and go to state 102
    T_COMMENT     shift, and go to state 10
    T_CONFIG      shift, and go to state 11
    T_MENUCONFIG  shift, and go to state 12
    T_IF          shift, and go to state 13
    T_ENDIF       shift, and go to state 103
    T_EOF         shift, and go to state 15
    T_EOL         shift, and go to state 16

    T_MENU        [reduce using rule 58 (if_stmt)]
    T_ENDMENU     [reduce using rule 58 (if_stmt)]
    T_SOURCE      [reduce using rule 58 (if_stmt)]
    T_CHOICE      [reduce using rule 58 (if_stmt)]
    T_ENDCHOICE   [reduce using rule 58 (if_stmt)]
    T_COMMENT     [reduce using rule 58 (if_stmt)]
    T_CONFIG      [reduce using rule 58 (if_stmt)]
    T_MENUCONFIG  [reduce using rule 58 (if_stmt)]
    T_IF          [reduce using rule 58 (if_stmt)]
    T_ENDIF       [reduce using rule 58 (if_stmt)]
    T_EOF         [reduce using rule 58 (if_stmt)]
    T_EOL         [reduce using rule 58 (if_stmt)]
    $default      reduce using rule 58 (if_stmt)

    common_block            go to state 107
    config_entry_start      go to state 19
    config_stmt             go to state 20
    menuconfig_entry_start  go to state 21
    menuconfig_stmt         go to state 22
    choice                  go to state 23
    choice_entry            go to state 24
    choice_stmt             go to state 108
    if                      go to state 26
    if_end                  go to state 109
    if_stmt                 go to state 27
    menu                    go to state 28
    menu_entry              go to state 29
    menu_stmt               go to state 110
    source                  go to state 31
    source_stmt             go to state 32
    comment                 go to state 33
    comment_stmt            go to state 34
    end                     go to state 111
    nl_or_eof               go to state 35


state 57

   64 menu_entry: menu depends_list .
   80 depends_list: depends_list . depends
   81             | depends_list . T_EOL

    T_DEPENDS   shift, and go to state 74
    T_REQUIRES  shift, and go to state 75
    T_EOL       shift, and go to state 112

    T_EOL     [reduce using rule 64 (menu_entry)]
    $default  reduce using rule 64 (menu_entry)

    depends  go to state 113


state 58

   66 menu_stmt: menu_entry menu_block . menu_end
   67          | menu_entry menu_block .
   69 menu_block: menu_block . common_block
   70           | menu_block . menu_stmt
   71           | menu_block . choice_stmt
   72           | menu_block . error T_EOL

    error         shift, and go to state 114
    T_MENU        shift, and go to state 5
    T_ENDMENU     shift, and go to state 101
    T_SOURCE      shift, and go to state 7
    T_CHOICE      shift, and go to state 8
    T_ENDCHOICE   shift, and go to state 102
    T_COMMENT     shift, and go to state 10
    T_CONFIG      shift, and go to state 11
    T_MENUCONFIG  shift, and go to state 12
    T_IF          shift, and go to state 13
    T_ENDIF       shift, and go to state 103
    T_EOF         shift, and go to state 15
    T_EOL         shift, and go to state 16

    $end          reduce using rule 67 (menu_stmt)
    error         [reduce using rule 67 (menu_stmt)]
    T_MAINMENU    reduce using rule 67 (menu_stmt)
    T_MENU        [reduce using rule 67 (menu_stmt)]
    T_ENDMENU     [reduce using rule 67 (menu_stmt)]
    T_SOURCE      [reduce using rule 67 (menu_stmt)]
    T_CHOICE      [reduce using rule 67 (menu_stmt)]
    T_ENDCHOICE   [reduce using rule 67 (menu_stmt)]
    T_COMMENT     [reduce using rule 67 (menu_stmt)]
    T_CONFIG      [reduce using rule 67 (menu_stmt)]
    T_MENUCONFIG  [reduce using rule 67 (menu_stmt)]
    T_IF          [reduce using rule 67 (menu_stmt)]
    T_ENDIF       [reduce using rule 67 (menu_stmt)]
    T_EOF         [reduce using rule 67 (menu_stmt)]
    T_EOL         [reduce using rule 67 (menu_stmt)]

    common_block            go to state 115
    config_entry_start      go to state 19
    config_stmt             go to state 20
    menuconfig_entry_start  go to state 21
    menuconfig_stmt         go to state 22
    choice                  go to state 23
    choice_entry            go to state 24
    choice_stmt             go to state 116
    if                      go to state 26
    if_stmt                 go to state 27
    menu                    go to state 28
    menu_entry              go to state 29
    menu_end                go to state 117
    menu_stmt               go to state 118
    source                  go to state 31
    source_stmt             go to state 32
    comment                 go to state 33
    comment_stmt            go to state 34
    end                     go to state 119
    nl_or_eof               go to state 35


state 59

   76 comment_stmt: comment depends_list .
   80 depends_list: depends_list . depends
   81             | depends_list . T_EOL

    T_DEPENDS   shift, and go to state 74
    T_REQUIRES  shift, and go to state 75
    T_EOL       shift, and go to state 112

    T_EOL     [reduce using rule 76 (comment_stmt)]
    $default  reduce using rule 76 (comment_stmt)

    depends  go to state 113


state 60

    6 block: T_MAINMENU prompt nl_or_eof .

    $default  reduce using rule 6 (block)


state 61

   63 menu: T_MENU prompt T_EOL .

    $default  reduce using rule 63 (menu)


state 62

   73 source: T_SOURCE prompt T_EOL .

    $default  reduce using rule 73 (source)


state 63

   75 comment: T_COMMENT prompt T_EOL .

    $default  reduce using rule 75 (comment)


state 64

   17 config_entry_start: T_CONFIG T_WORD T_EOL .

    $default  reduce using rule 17 (config_entry_start)


state 65

   19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL .

    $default  reduce using rule 19 (menuconfig_entry_start)


state 66

   99 expr: T_OPEN_PAREN expr . T_CLOSE_PAREN
  101     | expr . T_OR expr
  102     | expr . T_AND expr

    T_CLOSE_PAREN  shift, and go to state 120
    T_OR           shift, and go to state 69
    T_AND          shift, and go to state 70


state 67

  100 expr: T_NOT expr .
  101     | expr . T_OR expr
  102     | expr . T_AND expr

    $default  reduce using rule 100 (expr)


state 68

   55 if: T_IF expr T_EOL .

    $default  reduce using rule 55 (if)


state 69

  101 expr: expr T_OR . expr

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 121
    symbol  go to state 51


state 70

  102 expr: expr T_AND . expr

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 122
    symbol  go to state 51


state 71

   98 expr: symbol T_UNEQUAL . symbol

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47

    symbol  go to state 123


state 72

   97 expr: symbol T_EQUAL . symbol

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47

    symbol  go to state 124


state 73

   77 help_start: T_HELP . T_EOL

    T_EOL  shift, and go to state 125


state 74

   82 depends: T_DEPENDS . T_ON expr T_EOL
   83        | T_DEPENDS . expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_ON          shift, and go to state 126
    T_NOT         shift, and go to state 49

    expr    go to state 127
    symbol  go to state 51


state 75

   84 depends: T_REQUIRES . expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 128
    symbol  go to state 51


state 76

   33 config_option: T_PROMPT . prompt if_expr T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 129


state 77

   34 config_option: T_DEFAULT . expr if_expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 130
    symbol  go to state 51


state 78

   26 config_option: T_TRISTATE . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 131
    prompt           go to state 132


state 79

   27 config_option: T_DEF_TRISTATE . expr if_expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 133
    symbol  go to state 51


state 80

   28 config_option: T_BOOLEAN . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 134
    prompt           go to state 132


state 81

   29 config_option: T_DEF_BOOLEAN . expr if_expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 135
    symbol  go to state 51


state 82

   32 config_option: T_STRING . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 136
    prompt           go to state 132


state 83

   30 config_option: T_INT . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 137
    prompt           go to state 132


state 84

   31 config_option: T_HEX . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 138
    prompt           go to state 132


state 85

   25 config_option_list: config_option_list T_EOL .

    $default  reduce using rule 25 (config_option_list)


state 86

   35 config_option: T_SELECT . T_WORD if_expr T_EOL
   36              | T_SELECT . T_NOT T_WORD if_expr T_EOL

    T_WORD  shift, and go to state 139
    T_NOT   shift, and go to state 140


state 87

   37 config_option: T_RANGE . symbol symbol if_expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47

    symbol  go to state 141


state 88

   22 config_option_list: config_option_list config_option .

    $default  reduce using rule 22 (config_option_list)


state 89

   78 help: help_start . T_HELPTEXT

    T_HELPTEXT  shift, and go to state 142


state 90

   24 config_option_list: config_option_list help .

    $default  reduce using rule 24 (config_option_list)


state 91

   23 config_option_list: config_option_list depends .

    $default  reduce using rule 23 (config_option_list)


state 92

   51 choice_option: T_OPTIONAL . T_EOL

    T_EOL  shift, and go to state 143


state 93

   48 choice_option: T_PROMPT . prompt if_expr T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    prompt  go to state 144


state 94

   52 choice_option: T_DEFAULT . T_WORD if_expr T_EOL

    T_WORD  shift, and go to state 145


state 95

   49 choice_option: T_TRISTATE . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 146
    prompt           go to state 132


state 96

   50 choice_option: T_BOOLEAN . prompt_stmt_opt T_EOL

    T_WORD        shift, and go to state 37
    T_WORD_QUOTE  shift, and go to state 38

    $default  reduce using rule 85 (prompt_stmt_opt)

    prompt_stmt_opt  go to state 147
    prompt           go to state 132


state 97

   47 choice_option_list: choice_option_list T_EOL .

    $default  reduce using rule 47 (choice_option_list)


state 98

   44 choice_option_list: choice_option_list choice_option .

    $default  reduce using rule 44 (choice_option_list)


state 99

   46 choice_option_list: choice_option_list help .

    $default  reduce using rule 46 (choice_option_list)


state 100

   45 choice_option_list: choice_option_list depends .

    $default  reduce using rule 45 (choice_option_list)


state 101

   89 end: T_ENDMENU . nl_or_eof

    T_EOF  shift, and go to state 15
    T_EOL  shift, and go to state 16

    nl_or_eof  go to state 148


state 102

   90 end: T_ENDCHOICE . nl_or_eof

    T_EOF  shift, and go to state 15
    T_EOL  shift, and go to state 16

    nl_or_eof  go to state 149


state 103

   91 end: T_ENDIF . nl_or_eof

    T_EOF  shift, and go to state 15
    T_EOL  shift, and go to state 16

    nl_or_eof  go to state 150


state 104

   54 choice_block: choice_block common_block .

    $default  reduce using rule 54 (choice_block)


state 105

   41 choice_stmt: choice_entry choice_block choice_end .

    $default  reduce using rule 41 (choice_stmt)


state 106

   40 choice_end: end .

    $default  reduce using rule 40 (choice_end)


state 107

   60 if_block: if_block common_block .

    $default  reduce using rule 60 (if_block)


state 108

   62 if_block: if_block choice_stmt .

    $default  reduce using rule 62 (if_block)


state 109

   57 if_stmt: if if_block if_end .

    $default  reduce using rule 57 (if_stmt)


state 110

   61 if_block: if_block menu_stmt .

    $default  reduce using rule 61 (if_block)


state 111

   56 if_end: end .

    $default  reduce using rule 56 (if_end)


state 112

   81 depends_list: depends_list T_EOL .

    $default  reduce using rule 81 (depends_list)


state 113

   80 depends_list: depends_list depends .

    $default  reduce using rule 80 (depends_list)


state 114

   72 menu_block: menu_block error . T_EOL

    T_EOL  shift, and go to state 151


state 115

   69 menu_block: menu_block common_block .

    $default  reduce using rule 69 (menu_block)


state 116

   71 menu_block: menu_block choice_stmt .

    $default  reduce using rule 71 (menu_block)


state 117

   66 menu_stmt: menu_entry menu_block menu_end .

    $default  reduce using rule 66 (menu_stmt)


state 118

   70 menu_block: menu_block menu_stmt .

    $default  reduce using rule 70 (menu_block)


state 119

   65 menu_end: end .

    $default  reduce using rule 65 (menu_end)


state 120

   99 expr: T_OPEN_PAREN expr T_CLOSE_PAREN .

    $default  reduce using rule 99 (expr)


state 121

  101 expr: expr . T_OR expr
  101     | expr T_OR expr .
  102     | expr . T_AND expr

    T_AND  shift, and go to state 70

    $default  reduce using rule 101 (expr)


state 122

  101 expr: expr . T_OR expr
  102     | expr . T_AND expr
  102     | expr T_AND expr .

    $default  reduce using rule 102 (expr)


state 123

   98 expr: symbol T_UNEQUAL symbol .

    $default  reduce using rule 98 (expr)


state 124

   97 expr: symbol T_EQUAL symbol .

    $default  reduce using rule 97 (expr)


state 125

   77 help_start: T_HELP T_EOL .

    $default  reduce using rule 77 (help_start)


state 126

   82 depends: T_DEPENDS T_ON . expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 152
    symbol  go to state 51


state 127

   83 depends: T_DEPENDS expr . T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_EOL  shift, and go to state 153
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70


state 128

   84 depends: T_REQUIRES expr . T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_EOL  shift, and go to state 154
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70


state 129

   33 config_option: T_PROMPT prompt . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 156


state 130

   34 config_option: T_DEFAULT expr . if_expr T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_IF   shift, and go to state 155
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 157


state 131

   26 config_option: T_TRISTATE prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 158


state 132

   86 prompt_stmt_opt: prompt . if_expr

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 159


state 133

   27 config_option: T_DEF_TRISTATE expr . if_expr T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_IF   shift, and go to state 155
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 160


state 134

   28 config_option: T_BOOLEAN prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 161


state 135

   29 config_option: T_DEF_BOOLEAN expr . if_expr T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_IF   shift, and go to state 155
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 162


state 136

   32 config_option: T_STRING prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 163


state 137

   30 config_option: T_INT prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 164


state 138

   31 config_option: T_HEX prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 165


state 139

   35 config_option: T_SELECT T_WORD . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 166


state 140

   36 config_option: T_SELECT T_NOT . T_WORD if_expr T_EOL

    T_WORD  shift, and go to state 167


state 141

   37 config_option: T_RANGE symbol . symbol if_expr T_EOL

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47

    symbol  go to state 168


state 142

   78 help: help_start T_HELPTEXT .

    $default  reduce using rule 78 (help)


state 143

   51 choice_option: T_OPTIONAL T_EOL .

    $default  reduce using rule 51 (choice_option)


state 144

   48 choice_option: T_PROMPT prompt . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 169


state 145

   52 choice_option: T_DEFAULT T_WORD . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 170


state 146

   49 choice_option: T_TRISTATE prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 171


state 147

   50 choice_option: T_BOOLEAN prompt_stmt_opt . T_EOL

    T_EOL  shift, and go to state 172


state 148

   89 end: T_ENDMENU nl_or_eof .

    $default  reduce using rule 89 (end)


state 149

   90 end: T_ENDCHOICE nl_or_eof .

    $default  reduce using rule 90 (end)


state 150

   91 end: T_ENDIF nl_or_eof .

    $default  reduce using rule 91 (end)


state 151

   72 menu_block: menu_block error T_EOL .

    $default  reduce using rule 72 (menu_block)


state 152

   82 depends: T_DEPENDS T_ON expr . T_EOL
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_EOL  shift, and go to state 173
    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70


state 153

   83 depends: T_DEPENDS expr T_EOL .

    $default  reduce using rule 83 (depends)


state 154

   84 depends: T_REQUIRES expr T_EOL .

    $default  reduce using rule 84 (depends)


state 155

   95 if_expr: T_IF . expr

    T_WORD        shift, and go to state 46
    T_WORD_QUOTE  shift, and go to state 47
    T_OPEN_PAREN  shift, and go to state 48
    T_NOT         shift, and go to state 49

    expr    go to state 174
    symbol  go to state 51


state 156

   33 config_option: T_PROMPT prompt if_expr . T_EOL

    T_EOL  shift, and go to state 175


state 157

   34 config_option: T_DEFAULT expr if_expr . T_EOL

    T_EOL  shift, and go to state 176


state 158

   26 config_option: T_TRISTATE prompt_stmt_opt T_EOL .

    $default  reduce using rule 26 (config_option)


state 159

   86 prompt_stmt_opt: prompt if_expr .

    $default  reduce using rule 86 (prompt_stmt_opt)


state 160

   27 config_option: T_DEF_TRISTATE expr if_expr . T_EOL

    T_EOL  shift, and go to state 177


state 161

   28 config_option: T_BOOLEAN prompt_stmt_opt T_EOL .

    $default  reduce using rule 28 (config_option)


state 162

   29 config_option: T_DEF_BOOLEAN expr if_expr . T_EOL

    T_EOL  shift, and go to state 178


state 163

   32 config_option: T_STRING prompt_stmt_opt T_EOL .

    $default  reduce using rule 32 (config_option)


state 164

   30 config_option: T_INT prompt_stmt_opt T_EOL .

    $default  reduce using rule 30 (config_option)


state 165

   31 config_option: T_HEX prompt_stmt_opt T_EOL .

    $default  reduce using rule 31 (config_option)


state 166

   35 config_option: T_SELECT T_WORD if_expr . T_EOL

    T_EOL  shift, and go to state 179


state 167

   36 config_option: T_SELECT T_NOT T_WORD . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 180


state 168

   37 config_option: T_RANGE symbol symbol . if_expr T_EOL

    T_IF  shift, and go to state 155

    $default  reduce using rule 94 (if_expr)

    if_expr  go to state 181


state 169

   48 choice_option: T_PROMPT prompt if_expr . T_EOL

    T_EOL  shift, and go to state 182


state 170

   52 choice_option: T_DEFAULT T_WORD if_expr . T_EOL

    T_EOL  shift, and go to state 183


state 171

   49 choice_option: T_TRISTATE prompt_stmt_opt T_EOL .

    $default  reduce using rule 49 (choice_option)


state 172

   50 choice_option: T_BOOLEAN prompt_stmt_opt T_EOL .

    $default  reduce using rule 50 (choice_option)


state 173

   82 depends: T_DEPENDS T_ON expr T_EOL .

    $default  reduce using rule 82 (depends)


state 174

   95 if_expr: T_IF expr .
  101 expr: expr . T_OR expr
  102     | expr . T_AND expr

    T_OR   shift, and go to state 69
    T_AND  shift, and go to state 70

    $default  reduce using rule 95 (if_expr)


state 175

   33 config_option: T_PROMPT prompt if_expr T_EOL .

    $default  reduce using rule 33 (config_option)


state 176

   34 config_option: T_DEFAULT expr if_expr T_EOL .

    $default  reduce using rule 34 (config_option)


state 177

   27 config_option: T_DEF_TRISTATE expr if_expr T_EOL .

    $default  reduce using rule 27 (config_option)


state 178

   29 config_option: T_DEF_BOOLEAN expr if_expr T_EOL .

    $default  reduce using rule 29 (config_option)


state 179

   35 config_option: T_SELECT T_WORD if_expr T_EOL .

    $default  reduce using rule 35 (config_option)


state 180

   36 config_option: T_SELECT T_NOT T_WORD if_expr . T_EOL

    T_EOL  shift, and go to state 184


state 181

   37 config_option: T_RANGE symbol symbol if_expr . T_EOL

    T_EOL  shift, and go to state 185


state 182

   48 choice_option: T_PROMPT prompt if_expr T_EOL .

    $default  reduce using rule 48 (choice_option)


state 183

   52 choice_option: T_DEFAULT T_WORD if_expr T_EOL .

    $default  reduce using rule 52 (choice_option)


state 184

   36 config_option: T_SELECT T_NOT T_WORD if_expr T_EOL .

    $default  reduce using rule 36 (config_option)


state 185

   37 config_option: T_RANGE symbol symbol if_expr T_EOL .

    $default  reduce using rule 37 (config_option)