zconf.output 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133
  1. 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. Grammar
  10. 0 $accept: input $end
  11. 1 input: /* empty */
  12. 2 | input block
  13. 3 block: common_block
  14. 4 | choice_stmt
  15. 5 | menu_stmt
  16. 6 | T_MAINMENU prompt nl_or_eof
  17. 7 | T_ENDMENU
  18. 8 | T_ENDIF
  19. 9 | T_ENDCHOICE
  20. 10 | error nl_or_eof
  21. 11 common_block: if_stmt
  22. 12 | comment_stmt
  23. 13 | config_stmt
  24. 14 | menuconfig_stmt
  25. 15 | source_stmt
  26. 16 | nl_or_eof
  27. 17 config_entry_start: T_CONFIG T_WORD T_EOL
  28. 18 config_stmt: config_entry_start config_option_list
  29. 19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL
  30. 20 menuconfig_stmt: menuconfig_entry_start config_option_list
  31. 21 config_option_list: /* empty */
  32. 22 | config_option_list config_option
  33. 23 | config_option_list depends
  34. 24 | config_option_list help
  35. 25 | config_option_list T_EOL
  36. 26 config_option: T_TRISTATE prompt_stmt_opt T_EOL
  37. 27 | T_DEF_TRISTATE expr if_expr T_EOL
  38. 28 | T_BOOLEAN prompt_stmt_opt T_EOL
  39. 29 | T_DEF_BOOLEAN expr if_expr T_EOL
  40. 30 | T_INT prompt_stmt_opt T_EOL
  41. 31 | T_HEX prompt_stmt_opt T_EOL
  42. 32 | T_STRING prompt_stmt_opt T_EOL
  43. 33 | T_PROMPT prompt if_expr T_EOL
  44. 34 | T_DEFAULT expr if_expr T_EOL
  45. 35 | T_SELECT T_WORD if_expr T_EOL
  46. 36 | T_SELECT T_NOT T_WORD if_expr T_EOL
  47. 37 | T_RANGE symbol symbol if_expr T_EOL
  48. 38 choice: T_CHOICE T_EOL
  49. 39 choice_entry: choice choice_option_list
  50. 40 choice_end: end
  51. 41 choice_stmt: choice_entry choice_block choice_end
  52. 42 | choice_entry choice_block
  53. 43 choice_option_list: /* empty */
  54. 44 | choice_option_list choice_option
  55. 45 | choice_option_list depends
  56. 46 | choice_option_list help
  57. 47 | choice_option_list T_EOL
  58. 48 choice_option: T_PROMPT prompt if_expr T_EOL
  59. 49 | T_TRISTATE prompt_stmt_opt T_EOL
  60. 50 | T_BOOLEAN prompt_stmt_opt T_EOL
  61. 51 | T_OPTIONAL T_EOL
  62. 52 | T_DEFAULT T_WORD if_expr T_EOL
  63. 53 choice_block: /* empty */
  64. 54 | choice_block common_block
  65. 55 if: T_IF expr T_EOL
  66. 56 if_end: end
  67. 57 if_stmt: if if_block if_end
  68. 58 | if if_block
  69. 59 if_block: /* empty */
  70. 60 | if_block common_block
  71. 61 | if_block menu_stmt
  72. 62 | if_block choice_stmt
  73. 63 menu: T_MENU prompt T_EOL
  74. 64 menu_entry: menu depends_list
  75. 65 menu_end: end
  76. 66 menu_stmt: menu_entry menu_block menu_end
  77. 67 | menu_entry menu_block
  78. 68 menu_block: /* empty */
  79. 69 | menu_block common_block
  80. 70 | menu_block menu_stmt
  81. 71 | menu_block choice_stmt
  82. 72 | menu_block error T_EOL
  83. 73 source: T_SOURCE prompt T_EOL
  84. 74 source_stmt: source
  85. 75 comment: T_COMMENT prompt T_EOL
  86. 76 comment_stmt: comment depends_list
  87. 77 help_start: T_HELP T_EOL
  88. 78 help: help_start T_HELPTEXT
  89. 79 depends_list: /* empty */
  90. 80 | depends_list depends
  91. 81 | depends_list T_EOL
  92. 82 depends: T_DEPENDS T_ON expr T_EOL
  93. 83 | T_DEPENDS expr T_EOL
  94. 84 | T_REQUIRES expr T_EOL
  95. 85 prompt_stmt_opt: /* empty */
  96. 86 | prompt if_expr
  97. 87 prompt: T_WORD
  98. 88 | T_WORD_QUOTE
  99. 89 end: T_ENDMENU nl_or_eof
  100. 90 | T_ENDCHOICE nl_or_eof
  101. 91 | T_ENDIF nl_or_eof
  102. 92 nl_or_eof: T_EOL
  103. 93 | T_EOF
  104. 94 if_expr: /* empty */
  105. 95 | T_IF expr
  106. 96 expr: symbol
  107. 97 | symbol T_EQUAL symbol
  108. 98 | symbol T_UNEQUAL symbol
  109. 99 | T_OPEN_PAREN expr T_CLOSE_PAREN
  110. 100 | T_NOT expr
  111. 101 | expr T_OR expr
  112. 102 | expr T_AND expr
  113. 103 symbol: T_WORD
  114. 104 | T_WORD_QUOTE
  115. Terminals, with rules where they appear
  116. $end (0) 0
  117. error (256) 10 72
  118. T_MAINMENU (258) 6
  119. T_MENU (259) 63
  120. T_ENDMENU (260) 7 89
  121. T_SOURCE (261) 73
  122. T_CHOICE (262) 38
  123. T_ENDCHOICE (263) 9 90
  124. T_COMMENT (264) 75
  125. T_CONFIG (265) 17
  126. T_MENUCONFIG (266) 19
  127. T_HELP (267) 77
  128. T_HELPTEXT (268) 78
  129. T_IF (269) 55 95
  130. T_ENDIF (270) 8 91
  131. T_DEPENDS (271) 82 83
  132. T_REQUIRES (272) 84
  133. T_OPTIONAL (273) 51
  134. T_PROMPT (274) 33 48
  135. T_DEFAULT (275) 34 52
  136. T_TRISTATE (276) 26 49
  137. T_DEF_TRISTATE (277) 27
  138. T_BOOLEAN (278) 28 50
  139. T_DEF_BOOLEAN (279) 29
  140. T_STRING (280) 32
  141. T_INT (281) 30
  142. T_HEX (282) 31
  143. T_WORD (283) 17 19 35 36 52 87 103
  144. T_WORD_QUOTE (284) 88 104
  145. T_UNEQUAL (285) 98
  146. T_EOF (286) 93
  147. T_EOL (287) 17 19 25 26 27 28 29 30 31 32 33 34 35 36 37 38 47 48 49
  148. 50 51 52 55 63 72 73 75 77 81 82 83 84 92
  149. T_CLOSE_PAREN (288) 99
  150. T_OPEN_PAREN (289) 99
  151. T_ON (290) 82
  152. T_SELECT (291) 35 36
  153. T_RANGE (292) 37
  154. T_OR (293) 101
  155. T_AND (294) 102
  156. T_EQUAL (295) 97
  157. T_NOT (296) 36 100
  158. Nonterminals, with rules where they appear
  159. $accept (42)
  160. on left: 0
  161. input (43)
  162. on left: 1 2, on right: 0 2
  163. block (44)
  164. on left: 3 4 5 6 7 8 9 10, on right: 2
  165. common_block (45)
  166. on left: 11 12 13 14 15 16, on right: 3 54 60 69
  167. config_entry_start (46)
  168. on left: 17, on right: 18
  169. config_stmt (47)
  170. on left: 18, on right: 13
  171. menuconfig_entry_start (48)
  172. on left: 19, on right: 20
  173. menuconfig_stmt (49)
  174. on left: 20, on right: 14
  175. config_option_list (50)
  176. on left: 21 22 23 24 25, on right: 18 20 22 23 24 25
  177. config_option (51)
  178. on left: 26 27 28 29 30 31 32 33 34 35 36 37, on right: 22
  179. choice (52)
  180. on left: 38, on right: 39
  181. choice_entry (53)
  182. on left: 39, on right: 41 42
  183. choice_end (54)
  184. on left: 40, on right: 41
  185. choice_stmt (55)
  186. on left: 41 42, on right: 4 62 71
  187. choice_option_list (56)
  188. on left: 43 44 45 46 47, on right: 39 44 45 46 47
  189. choice_option (57)
  190. on left: 48 49 50 51 52, on right: 44
  191. choice_block (58)
  192. on left: 53 54, on right: 41 42 54
  193. if (59)
  194. on left: 55, on right: 57 58
  195. if_end (60)
  196. on left: 56, on right: 57
  197. if_stmt (61)
  198. on left: 57 58, on right: 11
  199. if_block (62)
  200. on left: 59 60 61 62, on right: 57 58 60 61 62
  201. menu (63)
  202. on left: 63, on right: 64
  203. menu_entry (64)
  204. on left: 64, on right: 66 67
  205. menu_end (65)
  206. on left: 65, on right: 66
  207. menu_stmt (66)
  208. on left: 66 67, on right: 5 61 70
  209. menu_block (67)
  210. on left: 68 69 70 71 72, on right: 66 67 69 70 71 72
  211. source (68)
  212. on left: 73, on right: 74
  213. source_stmt (69)
  214. on left: 74, on right: 15
  215. comment (70)
  216. on left: 75, on right: 76
  217. comment_stmt (71)
  218. on left: 76, on right: 12
  219. help_start (72)
  220. on left: 77, on right: 78
  221. help (73)
  222. on left: 78, on right: 24 46
  223. depends_list (74)
  224. on left: 79 80 81, on right: 64 76 80 81
  225. depends (75)
  226. on left: 82 83 84, on right: 23 45 80
  227. prompt_stmt_opt (76)
  228. on left: 85 86, on right: 26 28 30 31 32 49 50
  229. prompt (77)
  230. on left: 87 88, on right: 6 33 48 63 73 75 86
  231. end (78)
  232. on left: 89 90 91, on right: 40 56 65
  233. nl_or_eof (79)
  234. on left: 92 93, on right: 6 10 16 89 90 91
  235. if_expr (80)
  236. on left: 94 95, on right: 27 29 33 34 35 36 37 48 52 86
  237. expr (81)
  238. on left: 96 97 98 99 100 101 102, on right: 27 29 34 55 82 83 84
  239. 95 99 100 101 102
  240. symbol (82)
  241. on left: 103 104, on right: 37 96 97 98
  242. state 0
  243. 0 $accept: . input $end
  244. $default reduce using rule 1 (input)
  245. input go to state 1
  246. state 1
  247. 0 $accept: input . $end
  248. 2 input: input . block
  249. $end shift, and go to state 2
  250. error shift, and go to state 3
  251. T_MAINMENU shift, and go to state 4
  252. T_MENU shift, and go to state 5
  253. T_ENDMENU shift, and go to state 6
  254. T_SOURCE shift, and go to state 7
  255. T_CHOICE shift, and go to state 8
  256. T_ENDCHOICE shift, and go to state 9
  257. T_COMMENT shift, and go to state 10
  258. T_CONFIG shift, and go to state 11
  259. T_MENUCONFIG shift, and go to state 12
  260. T_IF shift, and go to state 13
  261. T_ENDIF shift, and go to state 14
  262. T_EOF shift, and go to state 15
  263. T_EOL shift, and go to state 16
  264. block go to state 17
  265. common_block go to state 18
  266. config_entry_start go to state 19
  267. config_stmt go to state 20
  268. menuconfig_entry_start go to state 21
  269. menuconfig_stmt go to state 22
  270. choice go to state 23
  271. choice_entry go to state 24
  272. choice_stmt go to state 25
  273. if go to state 26
  274. if_stmt go to state 27
  275. menu go to state 28
  276. menu_entry go to state 29
  277. menu_stmt go to state 30
  278. source go to state 31
  279. source_stmt go to state 32
  280. comment go to state 33
  281. comment_stmt go to state 34
  282. nl_or_eof go to state 35
  283. state 2
  284. 0 $accept: input $end .
  285. $default accept
  286. state 3
  287. 10 block: error . nl_or_eof
  288. T_EOF shift, and go to state 15
  289. T_EOL shift, and go to state 16
  290. nl_or_eof go to state 36
  291. state 4
  292. 6 block: T_MAINMENU . prompt nl_or_eof
  293. T_WORD shift, and go to state 37
  294. T_WORD_QUOTE shift, and go to state 38
  295. prompt go to state 39
  296. state 5
  297. 63 menu: T_MENU . prompt T_EOL
  298. T_WORD shift, and go to state 37
  299. T_WORD_QUOTE shift, and go to state 38
  300. prompt go to state 40
  301. state 6
  302. 7 block: T_ENDMENU .
  303. $default reduce using rule 7 (block)
  304. state 7
  305. 73 source: T_SOURCE . prompt T_EOL
  306. T_WORD shift, and go to state 37
  307. T_WORD_QUOTE shift, and go to state 38
  308. prompt go to state 41
  309. state 8
  310. 38 choice: T_CHOICE . T_EOL
  311. T_EOL shift, and go to state 42
  312. state 9
  313. 9 block: T_ENDCHOICE .
  314. $default reduce using rule 9 (block)
  315. state 10
  316. 75 comment: T_COMMENT . prompt T_EOL
  317. T_WORD shift, and go to state 37
  318. T_WORD_QUOTE shift, and go to state 38
  319. prompt go to state 43
  320. state 11
  321. 17 config_entry_start: T_CONFIG . T_WORD T_EOL
  322. T_WORD shift, and go to state 44
  323. state 12
  324. 19 menuconfig_entry_start: T_MENUCONFIG . T_WORD T_EOL
  325. T_WORD shift, and go to state 45
  326. state 13
  327. 55 if: T_IF . expr T_EOL
  328. T_WORD shift, and go to state 46
  329. T_WORD_QUOTE shift, and go to state 47
  330. T_OPEN_PAREN shift, and go to state 48
  331. T_NOT shift, and go to state 49
  332. expr go to state 50
  333. symbol go to state 51
  334. state 14
  335. 8 block: T_ENDIF .
  336. $default reduce using rule 8 (block)
  337. state 15
  338. 93 nl_or_eof: T_EOF .
  339. $default reduce using rule 93 (nl_or_eof)
  340. state 16
  341. 92 nl_or_eof: T_EOL .
  342. $default reduce using rule 92 (nl_or_eof)
  343. state 17
  344. 2 input: input block .
  345. $default reduce using rule 2 (input)
  346. state 18
  347. 3 block: common_block .
  348. $default reduce using rule 3 (block)
  349. state 19
  350. 18 config_stmt: config_entry_start . config_option_list
  351. $default reduce using rule 21 (config_option_list)
  352. config_option_list go to state 52
  353. state 20
  354. 13 common_block: config_stmt .
  355. $default reduce using rule 13 (common_block)
  356. state 21
  357. 20 menuconfig_stmt: menuconfig_entry_start . config_option_list
  358. $default reduce using rule 21 (config_option_list)
  359. config_option_list go to state 53
  360. state 22
  361. 14 common_block: menuconfig_stmt .
  362. $default reduce using rule 14 (common_block)
  363. state 23
  364. 39 choice_entry: choice . choice_option_list
  365. $default reduce using rule 43 (choice_option_list)
  366. choice_option_list go to state 54
  367. state 24
  368. 41 choice_stmt: choice_entry . choice_block choice_end
  369. 42 | choice_entry . choice_block
  370. $default reduce using rule 53 (choice_block)
  371. choice_block go to state 55
  372. state 25
  373. 4 block: choice_stmt .
  374. $default reduce using rule 4 (block)
  375. state 26
  376. 57 if_stmt: if . if_block if_end
  377. 58 | if . if_block
  378. $default reduce using rule 59 (if_block)
  379. if_block go to state 56
  380. state 27
  381. 11 common_block: if_stmt .
  382. $default reduce using rule 11 (common_block)
  383. state 28
  384. 64 menu_entry: menu . depends_list
  385. $default reduce using rule 79 (depends_list)
  386. depends_list go to state 57
  387. state 29
  388. 66 menu_stmt: menu_entry . menu_block menu_end
  389. 67 | menu_entry . menu_block
  390. $default reduce using rule 68 (menu_block)
  391. menu_block go to state 58
  392. state 30
  393. 5 block: menu_stmt .
  394. $default reduce using rule 5 (block)
  395. state 31
  396. 74 source_stmt: source .
  397. $default reduce using rule 74 (source_stmt)
  398. state 32
  399. 15 common_block: source_stmt .
  400. $default reduce using rule 15 (common_block)
  401. state 33
  402. 76 comment_stmt: comment . depends_list
  403. $default reduce using rule 79 (depends_list)
  404. depends_list go to state 59
  405. state 34
  406. 12 common_block: comment_stmt .
  407. $default reduce using rule 12 (common_block)
  408. state 35
  409. 16 common_block: nl_or_eof .
  410. $default reduce using rule 16 (common_block)
  411. state 36
  412. 10 block: error nl_or_eof .
  413. $default reduce using rule 10 (block)
  414. state 37
  415. 87 prompt: T_WORD .
  416. $default reduce using rule 87 (prompt)
  417. state 38
  418. 88 prompt: T_WORD_QUOTE .
  419. $default reduce using rule 88 (prompt)
  420. state 39
  421. 6 block: T_MAINMENU prompt . nl_or_eof
  422. T_EOF shift, and go to state 15
  423. T_EOL shift, and go to state 16
  424. nl_or_eof go to state 60
  425. state 40
  426. 63 menu: T_MENU prompt . T_EOL
  427. T_EOL shift, and go to state 61
  428. state 41
  429. 73 source: T_SOURCE prompt . T_EOL
  430. T_EOL shift, and go to state 62
  431. state 42
  432. 38 choice: T_CHOICE T_EOL .
  433. $default reduce using rule 38 (choice)
  434. state 43
  435. 75 comment: T_COMMENT prompt . T_EOL
  436. T_EOL shift, and go to state 63
  437. state 44
  438. 17 config_entry_start: T_CONFIG T_WORD . T_EOL
  439. T_EOL shift, and go to state 64
  440. state 45
  441. 19 menuconfig_entry_start: T_MENUCONFIG T_WORD . T_EOL
  442. T_EOL shift, and go to state 65
  443. state 46
  444. 103 symbol: T_WORD .
  445. $default reduce using rule 103 (symbol)
  446. state 47
  447. 104 symbol: T_WORD_QUOTE .
  448. $default reduce using rule 104 (symbol)
  449. state 48
  450. 99 expr: T_OPEN_PAREN . expr T_CLOSE_PAREN
  451. T_WORD shift, and go to state 46
  452. T_WORD_QUOTE shift, and go to state 47
  453. T_OPEN_PAREN shift, and go to state 48
  454. T_NOT shift, and go to state 49
  455. expr go to state 66
  456. symbol go to state 51
  457. state 49
  458. 100 expr: T_NOT . expr
  459. T_WORD shift, and go to state 46
  460. T_WORD_QUOTE shift, and go to state 47
  461. T_OPEN_PAREN shift, and go to state 48
  462. T_NOT shift, and go to state 49
  463. expr go to state 67
  464. symbol go to state 51
  465. state 50
  466. 55 if: T_IF expr . T_EOL
  467. 101 expr: expr . T_OR expr
  468. 102 | expr . T_AND expr
  469. T_EOL shift, and go to state 68
  470. T_OR shift, and go to state 69
  471. T_AND shift, and go to state 70
  472. state 51
  473. 96 expr: symbol .
  474. 97 | symbol . T_EQUAL symbol
  475. 98 | symbol . T_UNEQUAL symbol
  476. T_UNEQUAL shift, and go to state 71
  477. T_EQUAL shift, and go to state 72
  478. $default reduce using rule 96 (expr)
  479. state 52
  480. 18 config_stmt: config_entry_start config_option_list .
  481. 22 config_option_list: config_option_list . config_option
  482. 23 | config_option_list . depends
  483. 24 | config_option_list . help
  484. 25 | config_option_list . T_EOL
  485. T_HELP shift, and go to state 73
  486. T_DEPENDS shift, and go to state 74
  487. T_REQUIRES shift, and go to state 75
  488. T_PROMPT shift, and go to state 76
  489. T_DEFAULT shift, and go to state 77
  490. T_TRISTATE shift, and go to state 78
  491. T_DEF_TRISTATE shift, and go to state 79
  492. T_BOOLEAN shift, and go to state 80
  493. T_DEF_BOOLEAN shift, and go to state 81
  494. T_STRING shift, and go to state 82
  495. T_INT shift, and go to state 83
  496. T_HEX shift, and go to state 84
  497. T_EOL shift, and go to state 85
  498. T_SELECT shift, and go to state 86
  499. T_RANGE shift, and go to state 87
  500. T_EOL [reduce using rule 18 (config_stmt)]
  501. $default reduce using rule 18 (config_stmt)
  502. config_option go to state 88
  503. help_start go to state 89
  504. help go to state 90
  505. depends go to state 91
  506. state 53
  507. 20 menuconfig_stmt: menuconfig_entry_start config_option_list .
  508. 22 config_option_list: config_option_list . config_option
  509. 23 | config_option_list . depends
  510. 24 | config_option_list . help
  511. 25 | config_option_list . T_EOL
  512. T_HELP shift, and go to state 73
  513. T_DEPENDS shift, and go to state 74
  514. T_REQUIRES shift, and go to state 75
  515. T_PROMPT shift, and go to state 76
  516. T_DEFAULT shift, and go to state 77
  517. T_TRISTATE shift, and go to state 78
  518. T_DEF_TRISTATE shift, and go to state 79
  519. T_BOOLEAN shift, and go to state 80
  520. T_DEF_BOOLEAN shift, and go to state 81
  521. T_STRING shift, and go to state 82
  522. T_INT shift, and go to state 83
  523. T_HEX shift, and go to state 84
  524. T_EOL shift, and go to state 85
  525. T_SELECT shift, and go to state 86
  526. T_RANGE shift, and go to state 87
  527. T_EOL [reduce using rule 20 (menuconfig_stmt)]
  528. $default reduce using rule 20 (menuconfig_stmt)
  529. config_option go to state 88
  530. help_start go to state 89
  531. help go to state 90
  532. depends go to state 91
  533. state 54
  534. 39 choice_entry: choice choice_option_list .
  535. 44 choice_option_list: choice_option_list . choice_option
  536. 45 | choice_option_list . depends
  537. 46 | choice_option_list . help
  538. 47 | choice_option_list . T_EOL
  539. T_HELP shift, and go to state 73
  540. T_DEPENDS shift, and go to state 74
  541. T_REQUIRES shift, and go to state 75
  542. T_OPTIONAL shift, and go to state 92
  543. T_PROMPT shift, and go to state 93
  544. T_DEFAULT shift, and go to state 94
  545. T_TRISTATE shift, and go to state 95
  546. T_BOOLEAN shift, and go to state 96
  547. T_EOL shift, and go to state 97
  548. T_EOL [reduce using rule 39 (choice_entry)]
  549. $default reduce using rule 39 (choice_entry)
  550. choice_option go to state 98
  551. help_start go to state 89
  552. help go to state 99
  553. depends go to state 100
  554. state 55
  555. 41 choice_stmt: choice_entry choice_block . choice_end
  556. 42 | choice_entry choice_block .
  557. 54 choice_block: choice_block . common_block
  558. T_ENDMENU shift, and go to state 101
  559. T_SOURCE shift, and go to state 7
  560. T_ENDCHOICE shift, and go to state 102
  561. T_COMMENT shift, and go to state 10
  562. T_CONFIG shift, and go to state 11
  563. T_MENUCONFIG shift, and go to state 12
  564. T_IF shift, and go to state 13
  565. T_ENDIF shift, and go to state 103
  566. T_EOF shift, and go to state 15
  567. T_EOL shift, and go to state 16
  568. T_ENDMENU [reduce using rule 42 (choice_stmt)]
  569. T_SOURCE [reduce using rule 42 (choice_stmt)]
  570. T_ENDCHOICE [reduce using rule 42 (choice_stmt)]
  571. T_COMMENT [reduce using rule 42 (choice_stmt)]
  572. T_CONFIG [reduce using rule 42 (choice_stmt)]
  573. T_MENUCONFIG [reduce using rule 42 (choice_stmt)]
  574. T_IF [reduce using rule 42 (choice_stmt)]
  575. T_ENDIF [reduce using rule 42 (choice_stmt)]
  576. T_EOF [reduce using rule 42 (choice_stmt)]
  577. T_EOL [reduce using rule 42 (choice_stmt)]
  578. $default reduce using rule 42 (choice_stmt)
  579. common_block go to state 104
  580. config_entry_start go to state 19
  581. config_stmt go to state 20
  582. menuconfig_entry_start go to state 21
  583. menuconfig_stmt go to state 22
  584. choice_end go to state 105
  585. if go to state 26
  586. if_stmt go to state 27
  587. source go to state 31
  588. source_stmt go to state 32
  589. comment go to state 33
  590. comment_stmt go to state 34
  591. end go to state 106
  592. nl_or_eof go to state 35
  593. state 56
  594. 57 if_stmt: if if_block . if_end
  595. 58 | if if_block .
  596. 60 if_block: if_block . common_block
  597. 61 | if_block . menu_stmt
  598. 62 | if_block . choice_stmt
  599. T_MENU shift, and go to state 5
  600. T_ENDMENU shift, and go to state 101
  601. T_SOURCE shift, and go to state 7
  602. T_CHOICE shift, and go to state 8
  603. T_ENDCHOICE shift, and go to state 102
  604. T_COMMENT shift, and go to state 10
  605. T_CONFIG shift, and go to state 11
  606. T_MENUCONFIG shift, and go to state 12
  607. T_IF shift, and go to state 13
  608. T_ENDIF shift, and go to state 103
  609. T_EOF shift, and go to state 15
  610. T_EOL shift, and go to state 16
  611. T_MENU [reduce using rule 58 (if_stmt)]
  612. T_ENDMENU [reduce using rule 58 (if_stmt)]
  613. T_SOURCE [reduce using rule 58 (if_stmt)]
  614. T_CHOICE [reduce using rule 58 (if_stmt)]
  615. T_ENDCHOICE [reduce using rule 58 (if_stmt)]
  616. T_COMMENT [reduce using rule 58 (if_stmt)]
  617. T_CONFIG [reduce using rule 58 (if_stmt)]
  618. T_MENUCONFIG [reduce using rule 58 (if_stmt)]
  619. T_IF [reduce using rule 58 (if_stmt)]
  620. T_ENDIF [reduce using rule 58 (if_stmt)]
  621. T_EOF [reduce using rule 58 (if_stmt)]
  622. T_EOL [reduce using rule 58 (if_stmt)]
  623. $default reduce using rule 58 (if_stmt)
  624. common_block go to state 107
  625. config_entry_start go to state 19
  626. config_stmt go to state 20
  627. menuconfig_entry_start go to state 21
  628. menuconfig_stmt go to state 22
  629. choice go to state 23
  630. choice_entry go to state 24
  631. choice_stmt go to state 108
  632. if go to state 26
  633. if_end go to state 109
  634. if_stmt go to state 27
  635. menu go to state 28
  636. menu_entry go to state 29
  637. menu_stmt go to state 110
  638. source go to state 31
  639. source_stmt go to state 32
  640. comment go to state 33
  641. comment_stmt go to state 34
  642. end go to state 111
  643. nl_or_eof go to state 35
  644. state 57
  645. 64 menu_entry: menu depends_list .
  646. 80 depends_list: depends_list . depends
  647. 81 | depends_list . T_EOL
  648. T_DEPENDS shift, and go to state 74
  649. T_REQUIRES shift, and go to state 75
  650. T_EOL shift, and go to state 112
  651. T_EOL [reduce using rule 64 (menu_entry)]
  652. $default reduce using rule 64 (menu_entry)
  653. depends go to state 113
  654. state 58
  655. 66 menu_stmt: menu_entry menu_block . menu_end
  656. 67 | menu_entry menu_block .
  657. 69 menu_block: menu_block . common_block
  658. 70 | menu_block . menu_stmt
  659. 71 | menu_block . choice_stmt
  660. 72 | menu_block . error T_EOL
  661. error shift, and go to state 114
  662. T_MENU shift, and go to state 5
  663. T_ENDMENU shift, and go to state 101
  664. T_SOURCE shift, and go to state 7
  665. T_CHOICE shift, and go to state 8
  666. T_ENDCHOICE shift, and go to state 102
  667. T_COMMENT shift, and go to state 10
  668. T_CONFIG shift, and go to state 11
  669. T_MENUCONFIG shift, and go to state 12
  670. T_IF shift, and go to state 13
  671. T_ENDIF shift, and go to state 103
  672. T_EOF shift, and go to state 15
  673. T_EOL shift, and go to state 16
  674. $end reduce using rule 67 (menu_stmt)
  675. error [reduce using rule 67 (menu_stmt)]
  676. T_MAINMENU reduce using rule 67 (menu_stmt)
  677. T_MENU [reduce using rule 67 (menu_stmt)]
  678. T_ENDMENU [reduce using rule 67 (menu_stmt)]
  679. T_SOURCE [reduce using rule 67 (menu_stmt)]
  680. T_CHOICE [reduce using rule 67 (menu_stmt)]
  681. T_ENDCHOICE [reduce using rule 67 (menu_stmt)]
  682. T_COMMENT [reduce using rule 67 (menu_stmt)]
  683. T_CONFIG [reduce using rule 67 (menu_stmt)]
  684. T_MENUCONFIG [reduce using rule 67 (menu_stmt)]
  685. T_IF [reduce using rule 67 (menu_stmt)]
  686. T_ENDIF [reduce using rule 67 (menu_stmt)]
  687. T_EOF [reduce using rule 67 (menu_stmt)]
  688. T_EOL [reduce using rule 67 (menu_stmt)]
  689. common_block go to state 115
  690. config_entry_start go to state 19
  691. config_stmt go to state 20
  692. menuconfig_entry_start go to state 21
  693. menuconfig_stmt go to state 22
  694. choice go to state 23
  695. choice_entry go to state 24
  696. choice_stmt go to state 116
  697. if go to state 26
  698. if_stmt go to state 27
  699. menu go to state 28
  700. menu_entry go to state 29
  701. menu_end go to state 117
  702. menu_stmt go to state 118
  703. source go to state 31
  704. source_stmt go to state 32
  705. comment go to state 33
  706. comment_stmt go to state 34
  707. end go to state 119
  708. nl_or_eof go to state 35
  709. state 59
  710. 76 comment_stmt: comment depends_list .
  711. 80 depends_list: depends_list . depends
  712. 81 | depends_list . T_EOL
  713. T_DEPENDS shift, and go to state 74
  714. T_REQUIRES shift, and go to state 75
  715. T_EOL shift, and go to state 112
  716. T_EOL [reduce using rule 76 (comment_stmt)]
  717. $default reduce using rule 76 (comment_stmt)
  718. depends go to state 113
  719. state 60
  720. 6 block: T_MAINMENU prompt nl_or_eof .
  721. $default reduce using rule 6 (block)
  722. state 61
  723. 63 menu: T_MENU prompt T_EOL .
  724. $default reduce using rule 63 (menu)
  725. state 62
  726. 73 source: T_SOURCE prompt T_EOL .
  727. $default reduce using rule 73 (source)
  728. state 63
  729. 75 comment: T_COMMENT prompt T_EOL .
  730. $default reduce using rule 75 (comment)
  731. state 64
  732. 17 config_entry_start: T_CONFIG T_WORD T_EOL .
  733. $default reduce using rule 17 (config_entry_start)
  734. state 65
  735. 19 menuconfig_entry_start: T_MENUCONFIG T_WORD T_EOL .
  736. $default reduce using rule 19 (menuconfig_entry_start)
  737. state 66
  738. 99 expr: T_OPEN_PAREN expr . T_CLOSE_PAREN
  739. 101 | expr . T_OR expr
  740. 102 | expr . T_AND expr
  741. T_CLOSE_PAREN shift, and go to state 120
  742. T_OR shift, and go to state 69
  743. T_AND shift, and go to state 70
  744. state 67
  745. 100 expr: T_NOT expr .
  746. 101 | expr . T_OR expr
  747. 102 | expr . T_AND expr
  748. $default reduce using rule 100 (expr)
  749. state 68
  750. 55 if: T_IF expr T_EOL .
  751. $default reduce using rule 55 (if)
  752. state 69
  753. 101 expr: expr T_OR . expr
  754. T_WORD shift, and go to state 46
  755. T_WORD_QUOTE shift, and go to state 47
  756. T_OPEN_PAREN shift, and go to state 48
  757. T_NOT shift, and go to state 49
  758. expr go to state 121
  759. symbol go to state 51
  760. state 70
  761. 102 expr: expr T_AND . expr
  762. T_WORD shift, and go to state 46
  763. T_WORD_QUOTE shift, and go to state 47
  764. T_OPEN_PAREN shift, and go to state 48
  765. T_NOT shift, and go to state 49
  766. expr go to state 122
  767. symbol go to state 51
  768. state 71
  769. 98 expr: symbol T_UNEQUAL . symbol
  770. T_WORD shift, and go to state 46
  771. T_WORD_QUOTE shift, and go to state 47
  772. symbol go to state 123
  773. state 72
  774. 97 expr: symbol T_EQUAL . symbol
  775. T_WORD shift, and go to state 46
  776. T_WORD_QUOTE shift, and go to state 47
  777. symbol go to state 124
  778. state 73
  779. 77 help_start: T_HELP . T_EOL
  780. T_EOL shift, and go to state 125
  781. state 74
  782. 82 depends: T_DEPENDS . T_ON expr T_EOL
  783. 83 | T_DEPENDS . expr T_EOL
  784. T_WORD shift, and go to state 46
  785. T_WORD_QUOTE shift, and go to state 47
  786. T_OPEN_PAREN shift, and go to state 48
  787. T_ON shift, and go to state 126
  788. T_NOT shift, and go to state 49
  789. expr go to state 127
  790. symbol go to state 51
  791. state 75
  792. 84 depends: T_REQUIRES . expr T_EOL
  793. T_WORD shift, and go to state 46
  794. T_WORD_QUOTE shift, and go to state 47
  795. T_OPEN_PAREN shift, and go to state 48
  796. T_NOT shift, and go to state 49
  797. expr go to state 128
  798. symbol go to state 51
  799. state 76
  800. 33 config_option: T_PROMPT . prompt if_expr T_EOL
  801. T_WORD shift, and go to state 37
  802. T_WORD_QUOTE shift, and go to state 38
  803. prompt go to state 129
  804. state 77
  805. 34 config_option: T_DEFAULT . expr if_expr T_EOL
  806. T_WORD shift, and go to state 46
  807. T_WORD_QUOTE shift, and go to state 47
  808. T_OPEN_PAREN shift, and go to state 48
  809. T_NOT shift, and go to state 49
  810. expr go to state 130
  811. symbol go to state 51
  812. state 78
  813. 26 config_option: T_TRISTATE . prompt_stmt_opt T_EOL
  814. T_WORD shift, and go to state 37
  815. T_WORD_QUOTE shift, and go to state 38
  816. $default reduce using rule 85 (prompt_stmt_opt)
  817. prompt_stmt_opt go to state 131
  818. prompt go to state 132
  819. state 79
  820. 27 config_option: T_DEF_TRISTATE . expr if_expr T_EOL
  821. T_WORD shift, and go to state 46
  822. T_WORD_QUOTE shift, and go to state 47
  823. T_OPEN_PAREN shift, and go to state 48
  824. T_NOT shift, and go to state 49
  825. expr go to state 133
  826. symbol go to state 51
  827. state 80
  828. 28 config_option: T_BOOLEAN . prompt_stmt_opt T_EOL
  829. T_WORD shift, and go to state 37
  830. T_WORD_QUOTE shift, and go to state 38
  831. $default reduce using rule 85 (prompt_stmt_opt)
  832. prompt_stmt_opt go to state 134
  833. prompt go to state 132
  834. state 81
  835. 29 config_option: T_DEF_BOOLEAN . expr if_expr T_EOL
  836. T_WORD shift, and go to state 46
  837. T_WORD_QUOTE shift, and go to state 47
  838. T_OPEN_PAREN shift, and go to state 48
  839. T_NOT shift, and go to state 49
  840. expr go to state 135
  841. symbol go to state 51
  842. state 82
  843. 32 config_option: T_STRING . prompt_stmt_opt T_EOL
  844. T_WORD shift, and go to state 37
  845. T_WORD_QUOTE shift, and go to state 38
  846. $default reduce using rule 85 (prompt_stmt_opt)
  847. prompt_stmt_opt go to state 136
  848. prompt go to state 132
  849. state 83
  850. 30 config_option: T_INT . prompt_stmt_opt T_EOL
  851. T_WORD shift, and go to state 37
  852. T_WORD_QUOTE shift, and go to state 38
  853. $default reduce using rule 85 (prompt_stmt_opt)
  854. prompt_stmt_opt go to state 137
  855. prompt go to state 132
  856. state 84
  857. 31 config_option: T_HEX . prompt_stmt_opt T_EOL
  858. T_WORD shift, and go to state 37
  859. T_WORD_QUOTE shift, and go to state 38
  860. $default reduce using rule 85 (prompt_stmt_opt)
  861. prompt_stmt_opt go to state 138
  862. prompt go to state 132
  863. state 85
  864. 25 config_option_list: config_option_list T_EOL .
  865. $default reduce using rule 25 (config_option_list)
  866. state 86
  867. 35 config_option: T_SELECT . T_WORD if_expr T_EOL
  868. 36 | T_SELECT . T_NOT T_WORD if_expr T_EOL
  869. T_WORD shift, and go to state 139
  870. T_NOT shift, and go to state 140
  871. state 87
  872. 37 config_option: T_RANGE . symbol symbol if_expr T_EOL
  873. T_WORD shift, and go to state 46
  874. T_WORD_QUOTE shift, and go to state 47
  875. symbol go to state 141
  876. state 88
  877. 22 config_option_list: config_option_list config_option .
  878. $default reduce using rule 22 (config_option_list)
  879. state 89
  880. 78 help: help_start . T_HELPTEXT
  881. T_HELPTEXT shift, and go to state 142
  882. state 90
  883. 24 config_option_list: config_option_list help .
  884. $default reduce using rule 24 (config_option_list)
  885. state 91
  886. 23 config_option_list: config_option_list depends .
  887. $default reduce using rule 23 (config_option_list)
  888. state 92
  889. 51 choice_option: T_OPTIONAL . T_EOL
  890. T_EOL shift, and go to state 143
  891. state 93
  892. 48 choice_option: T_PROMPT . prompt if_expr T_EOL
  893. T_WORD shift, and go to state 37
  894. T_WORD_QUOTE shift, and go to state 38
  895. prompt go to state 144
  896. state 94
  897. 52 choice_option: T_DEFAULT . T_WORD if_expr T_EOL
  898. T_WORD shift, and go to state 145
  899. state 95
  900. 49 choice_option: T_TRISTATE . prompt_stmt_opt T_EOL
  901. T_WORD shift, and go to state 37
  902. T_WORD_QUOTE shift, and go to state 38
  903. $default reduce using rule 85 (prompt_stmt_opt)
  904. prompt_stmt_opt go to state 146
  905. prompt go to state 132
  906. state 96
  907. 50 choice_option: T_BOOLEAN . prompt_stmt_opt T_EOL
  908. T_WORD shift, and go to state 37
  909. T_WORD_QUOTE shift, and go to state 38
  910. $default reduce using rule 85 (prompt_stmt_opt)
  911. prompt_stmt_opt go to state 147
  912. prompt go to state 132
  913. state 97
  914. 47 choice_option_list: choice_option_list T_EOL .
  915. $default reduce using rule 47 (choice_option_list)
  916. state 98
  917. 44 choice_option_list: choice_option_list choice_option .
  918. $default reduce using rule 44 (choice_option_list)
  919. state 99
  920. 46 choice_option_list: choice_option_list help .
  921. $default reduce using rule 46 (choice_option_list)
  922. state 100
  923. 45 choice_option_list: choice_option_list depends .
  924. $default reduce using rule 45 (choice_option_list)
  925. state 101
  926. 89 end: T_ENDMENU . nl_or_eof
  927. T_EOF shift, and go to state 15
  928. T_EOL shift, and go to state 16
  929. nl_or_eof go to state 148
  930. state 102
  931. 90 end: T_ENDCHOICE . nl_or_eof
  932. T_EOF shift, and go to state 15
  933. T_EOL shift, and go to state 16
  934. nl_or_eof go to state 149
  935. state 103
  936. 91 end: T_ENDIF . nl_or_eof
  937. T_EOF shift, and go to state 15
  938. T_EOL shift, and go to state 16
  939. nl_or_eof go to state 150
  940. state 104
  941. 54 choice_block: choice_block common_block .
  942. $default reduce using rule 54 (choice_block)
  943. state 105
  944. 41 choice_stmt: choice_entry choice_block choice_end .
  945. $default reduce using rule 41 (choice_stmt)
  946. state 106
  947. 40 choice_end: end .
  948. $default reduce using rule 40 (choice_end)
  949. state 107
  950. 60 if_block: if_block common_block .
  951. $default reduce using rule 60 (if_block)
  952. state 108
  953. 62 if_block: if_block choice_stmt .
  954. $default reduce using rule 62 (if_block)
  955. state 109
  956. 57 if_stmt: if if_block if_end .
  957. $default reduce using rule 57 (if_stmt)
  958. state 110
  959. 61 if_block: if_block menu_stmt .
  960. $default reduce using rule 61 (if_block)
  961. state 111
  962. 56 if_end: end .
  963. $default reduce using rule 56 (if_end)
  964. state 112
  965. 81 depends_list: depends_list T_EOL .
  966. $default reduce using rule 81 (depends_list)
  967. state 113
  968. 80 depends_list: depends_list depends .
  969. $default reduce using rule 80 (depends_list)
  970. state 114
  971. 72 menu_block: menu_block error . T_EOL
  972. T_EOL shift, and go to state 151
  973. state 115
  974. 69 menu_block: menu_block common_block .
  975. $default reduce using rule 69 (menu_block)
  976. state 116
  977. 71 menu_block: menu_block choice_stmt .
  978. $default reduce using rule 71 (menu_block)
  979. state 117
  980. 66 menu_stmt: menu_entry menu_block menu_end .
  981. $default reduce using rule 66 (menu_stmt)
  982. state 118
  983. 70 menu_block: menu_block menu_stmt .
  984. $default reduce using rule 70 (menu_block)
  985. state 119
  986. 65 menu_end: end .
  987. $default reduce using rule 65 (menu_end)
  988. state 120
  989. 99 expr: T_OPEN_PAREN expr T_CLOSE_PAREN .
  990. $default reduce using rule 99 (expr)
  991. state 121
  992. 101 expr: expr . T_OR expr
  993. 101 | expr T_OR expr .
  994. 102 | expr . T_AND expr
  995. T_AND shift, and go to state 70
  996. $default reduce using rule 101 (expr)
  997. state 122
  998. 101 expr: expr . T_OR expr
  999. 102 | expr . T_AND expr
  1000. 102 | expr T_AND expr .
  1001. $default reduce using rule 102 (expr)
  1002. state 123
  1003. 98 expr: symbol T_UNEQUAL symbol .
  1004. $default reduce using rule 98 (expr)
  1005. state 124
  1006. 97 expr: symbol T_EQUAL symbol .
  1007. $default reduce using rule 97 (expr)
  1008. state 125
  1009. 77 help_start: T_HELP T_EOL .
  1010. $default reduce using rule 77 (help_start)
  1011. state 126
  1012. 82 depends: T_DEPENDS T_ON . expr T_EOL
  1013. T_WORD shift, and go to state 46
  1014. T_WORD_QUOTE shift, and go to state 47
  1015. T_OPEN_PAREN shift, and go to state 48
  1016. T_NOT shift, and go to state 49
  1017. expr go to state 152
  1018. symbol go to state 51
  1019. state 127
  1020. 83 depends: T_DEPENDS expr . T_EOL
  1021. 101 expr: expr . T_OR expr
  1022. 102 | expr . T_AND expr
  1023. T_EOL shift, and go to state 153
  1024. T_OR shift, and go to state 69
  1025. T_AND shift, and go to state 70
  1026. state 128
  1027. 84 depends: T_REQUIRES expr . T_EOL
  1028. 101 expr: expr . T_OR expr
  1029. 102 | expr . T_AND expr
  1030. T_EOL shift, and go to state 154
  1031. T_OR shift, and go to state 69
  1032. T_AND shift, and go to state 70
  1033. state 129
  1034. 33 config_option: T_PROMPT prompt . if_expr T_EOL
  1035. T_IF shift, and go to state 155
  1036. $default reduce using rule 94 (if_expr)
  1037. if_expr go to state 156
  1038. state 130
  1039. 34 config_option: T_DEFAULT expr . if_expr T_EOL
  1040. 101 expr: expr . T_OR expr
  1041. 102 | expr . T_AND expr
  1042. T_IF shift, and go to state 155
  1043. T_OR shift, and go to state 69
  1044. T_AND shift, and go to state 70
  1045. $default reduce using rule 94 (if_expr)
  1046. if_expr go to state 157
  1047. state 131
  1048. 26 config_option: T_TRISTATE prompt_stmt_opt . T_EOL
  1049. T_EOL shift, and go to state 158
  1050. state 132
  1051. 86 prompt_stmt_opt: prompt . if_expr
  1052. T_IF shift, and go to state 155
  1053. $default reduce using rule 94 (if_expr)
  1054. if_expr go to state 159
  1055. state 133
  1056. 27 config_option: T_DEF_TRISTATE expr . if_expr T_EOL
  1057. 101 expr: expr . T_OR expr
  1058. 102 | expr . T_AND expr
  1059. T_IF shift, and go to state 155
  1060. T_OR shift, and go to state 69
  1061. T_AND shift, and go to state 70
  1062. $default reduce using rule 94 (if_expr)
  1063. if_expr go to state 160
  1064. state 134
  1065. 28 config_option: T_BOOLEAN prompt_stmt_opt . T_EOL
  1066. T_EOL shift, and go to state 161
  1067. state 135
  1068. 29 config_option: T_DEF_BOOLEAN expr . if_expr T_EOL
  1069. 101 expr: expr . T_OR expr
  1070. 102 | expr . T_AND expr
  1071. T_IF shift, and go to state 155
  1072. T_OR shift, and go to state 69
  1073. T_AND shift, and go to state 70
  1074. $default reduce using rule 94 (if_expr)
  1075. if_expr go to state 162
  1076. state 136
  1077. 32 config_option: T_STRING prompt_stmt_opt . T_EOL
  1078. T_EOL shift, and go to state 163
  1079. state 137
  1080. 30 config_option: T_INT prompt_stmt_opt . T_EOL
  1081. T_EOL shift, and go to state 164
  1082. state 138
  1083. 31 config_option: T_HEX prompt_stmt_opt . T_EOL
  1084. T_EOL shift, and go to state 165
  1085. state 139
  1086. 35 config_option: T_SELECT T_WORD . if_expr T_EOL
  1087. T_IF shift, and go to state 155
  1088. $default reduce using rule 94 (if_expr)
  1089. if_expr go to state 166
  1090. state 140
  1091. 36 config_option: T_SELECT T_NOT . T_WORD if_expr T_EOL
  1092. T_WORD shift, and go to state 167
  1093. state 141
  1094. 37 config_option: T_RANGE symbol . symbol if_expr T_EOL
  1095. T_WORD shift, and go to state 46
  1096. T_WORD_QUOTE shift, and go to state 47
  1097. symbol go to state 168
  1098. state 142
  1099. 78 help: help_start T_HELPTEXT .
  1100. $default reduce using rule 78 (help)
  1101. state 143
  1102. 51 choice_option: T_OPTIONAL T_EOL .
  1103. $default reduce using rule 51 (choice_option)
  1104. state 144
  1105. 48 choice_option: T_PROMPT prompt . if_expr T_EOL
  1106. T_IF shift, and go to state 155
  1107. $default reduce using rule 94 (if_expr)
  1108. if_expr go to state 169
  1109. state 145
  1110. 52 choice_option: T_DEFAULT T_WORD . if_expr T_EOL
  1111. T_IF shift, and go to state 155
  1112. $default reduce using rule 94 (if_expr)
  1113. if_expr go to state 170
  1114. state 146
  1115. 49 choice_option: T_TRISTATE prompt_stmt_opt . T_EOL
  1116. T_EOL shift, and go to state 171
  1117. state 147
  1118. 50 choice_option: T_BOOLEAN prompt_stmt_opt . T_EOL
  1119. T_EOL shift, and go to state 172
  1120. state 148
  1121. 89 end: T_ENDMENU nl_or_eof .
  1122. $default reduce using rule 89 (end)
  1123. state 149
  1124. 90 end: T_ENDCHOICE nl_or_eof .
  1125. $default reduce using rule 90 (end)
  1126. state 150
  1127. 91 end: T_ENDIF nl_or_eof .
  1128. $default reduce using rule 91 (end)
  1129. state 151
  1130. 72 menu_block: menu_block error T_EOL .
  1131. $default reduce using rule 72 (menu_block)
  1132. state 152
  1133. 82 depends: T_DEPENDS T_ON expr . T_EOL
  1134. 101 expr: expr . T_OR expr
  1135. 102 | expr . T_AND expr
  1136. T_EOL shift, and go to state 173
  1137. T_OR shift, and go to state 69
  1138. T_AND shift, and go to state 70
  1139. state 153
  1140. 83 depends: T_DEPENDS expr T_EOL .
  1141. $default reduce using rule 83 (depends)
  1142. state 154
  1143. 84 depends: T_REQUIRES expr T_EOL .
  1144. $default reduce using rule 84 (depends)
  1145. state 155
  1146. 95 if_expr: T_IF . expr
  1147. T_WORD shift, and go to state 46
  1148. T_WORD_QUOTE shift, and go to state 47
  1149. T_OPEN_PAREN shift, and go to state 48
  1150. T_NOT shift, and go to state 49
  1151. expr go to state 174
  1152. symbol go to state 51
  1153. state 156
  1154. 33 config_option: T_PROMPT prompt if_expr . T_EOL
  1155. T_EOL shift, and go to state 175
  1156. state 157
  1157. 34 config_option: T_DEFAULT expr if_expr . T_EOL
  1158. T_EOL shift, and go to state 176
  1159. state 158
  1160. 26 config_option: T_TRISTATE prompt_stmt_opt T_EOL .
  1161. $default reduce using rule 26 (config_option)
  1162. state 159
  1163. 86 prompt_stmt_opt: prompt if_expr .
  1164. $default reduce using rule 86 (prompt_stmt_opt)
  1165. state 160
  1166. 27 config_option: T_DEF_TRISTATE expr if_expr . T_EOL
  1167. T_EOL shift, and go to state 177
  1168. state 161
  1169. 28 config_option: T_BOOLEAN prompt_stmt_opt T_EOL .
  1170. $default reduce using rule 28 (config_option)
  1171. state 162
  1172. 29 config_option: T_DEF_BOOLEAN expr if_expr . T_EOL
  1173. T_EOL shift, and go to state 178
  1174. state 163
  1175. 32 config_option: T_STRING prompt_stmt_opt T_EOL .
  1176. $default reduce using rule 32 (config_option)
  1177. state 164
  1178. 30 config_option: T_INT prompt_stmt_opt T_EOL .
  1179. $default reduce using rule 30 (config_option)
  1180. state 165
  1181. 31 config_option: T_HEX prompt_stmt_opt T_EOL .
  1182. $default reduce using rule 31 (config_option)
  1183. state 166
  1184. 35 config_option: T_SELECT T_WORD if_expr . T_EOL
  1185. T_EOL shift, and go to state 179
  1186. state 167
  1187. 36 config_option: T_SELECT T_NOT T_WORD . if_expr T_EOL
  1188. T_IF shift, and go to state 155
  1189. $default reduce using rule 94 (if_expr)
  1190. if_expr go to state 180
  1191. state 168
  1192. 37 config_option: T_RANGE symbol symbol . if_expr T_EOL
  1193. T_IF shift, and go to state 155
  1194. $default reduce using rule 94 (if_expr)
  1195. if_expr go to state 181
  1196. state 169
  1197. 48 choice_option: T_PROMPT prompt if_expr . T_EOL
  1198. T_EOL shift, and go to state 182
  1199. state 170
  1200. 52 choice_option: T_DEFAULT T_WORD if_expr . T_EOL
  1201. T_EOL shift, and go to state 183
  1202. state 171
  1203. 49 choice_option: T_TRISTATE prompt_stmt_opt T_EOL .
  1204. $default reduce using rule 49 (choice_option)
  1205. state 172
  1206. 50 choice_option: T_BOOLEAN prompt_stmt_opt T_EOL .
  1207. $default reduce using rule 50 (choice_option)
  1208. state 173
  1209. 82 depends: T_DEPENDS T_ON expr T_EOL .
  1210. $default reduce using rule 82 (depends)
  1211. state 174
  1212. 95 if_expr: T_IF expr .
  1213. 101 expr: expr . T_OR expr
  1214. 102 | expr . T_AND expr
  1215. T_OR shift, and go to state 69
  1216. T_AND shift, and go to state 70
  1217. $default reduce using rule 95 (if_expr)
  1218. state 175
  1219. 33 config_option: T_PROMPT prompt if_expr T_EOL .
  1220. $default reduce using rule 33 (config_option)
  1221. state 176
  1222. 34 config_option: T_DEFAULT expr if_expr T_EOL .
  1223. $default reduce using rule 34 (config_option)
  1224. state 177
  1225. 27 config_option: T_DEF_TRISTATE expr if_expr T_EOL .
  1226. $default reduce using rule 27 (config_option)
  1227. state 178
  1228. 29 config_option: T_DEF_BOOLEAN expr if_expr T_EOL .
  1229. $default reduce using rule 29 (config_option)
  1230. state 179
  1231. 35 config_option: T_SELECT T_WORD if_expr T_EOL .
  1232. $default reduce using rule 35 (config_option)
  1233. state 180
  1234. 36 config_option: T_SELECT T_NOT T_WORD if_expr . T_EOL
  1235. T_EOL shift, and go to state 184
  1236. state 181
  1237. 37 config_option: T_RANGE symbol symbol if_expr . T_EOL
  1238. T_EOL shift, and go to state 185
  1239. state 182
  1240. 48 choice_option: T_PROMPT prompt if_expr T_EOL .
  1241. $default reduce using rule 48 (choice_option)
  1242. state 183
  1243. 52 choice_option: T_DEFAULT T_WORD if_expr T_EOL .
  1244. $default reduce using rule 52 (choice_option)
  1245. state 184
  1246. 36 config_option: T_SELECT T_NOT T_WORD if_expr T_EOL .
  1247. $default reduce using rule 36 (config_option)
  1248. state 185
  1249. 37 config_option: T_RANGE symbol symbol if_expr T_EOL .
  1250. $default reduce using rule 37 (config_option)