📄 zconf.tab.c_shipped
字号:
/* YYNNTS -- Number of nonterminals. */#define YYNNTS 45/* YYNRULES -- Number of rules. */#define YYNRULES 108/* YYNRULES -- Number of states. */#define YYNSTATES 178/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */#define YYUNDEFTOK 2#define YYMAXUTOK 289#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */static const yytype_uint8 yytranslate[] ={ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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};#if YYDEBUG/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */static const yytype_uint16 yyprhs[] ={ 0, 0, 3, 5, 6, 9, 12, 15, 20, 23, 28, 33, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 67, 70, 74, 77, 81, 84, 85, 88, 91, 94, 97, 100, 103, 107, 112, 117, 122, 128, 132, 133, 137, 138, 141, 144, 147, 149, 153, 154, 157, 160, 163, 166, 169, 174, 178, 181, 186, 187, 190, 194, 196, 200, 201, 204, 207, 210, 214, 217, 219, 223, 224, 227, 230, 233, 237, 241, 244, 247, 250, 251, 254, 257, 260, 265, 266, 269, 271, 273, 276, 279, 282, 284, 287, 288, 291, 293, 297, 301, 305, 308, 312, 316, 318};/* YYRHS -- A `-1'-separated list of the rules' RHS. */static const yytype_int8 yyrhs[] ={ 36, 0, -1, 37, -1, -1, 37, 39, -1, 37, 53, -1, 37, 64, -1, 37, 3, 74, 76, -1, 37, 75, -1, 37, 25, 1, 30, -1, 37, 38, 1, 30, -1, 37, 1, 30, -1, 16, -1, 18, -1, 19, -1, 21, -1, 17, -1, 22, -1, 20, -1, 30, -1, 59, -1, 68, -1, 42, -1, 44, -1, 66, -1, 25, 1, 30, -1, 1, 30, -1, 10, 25, 30, -1, 41, 45, -1, 11, 25, 30, -1, 43, 45, -1, -1, 45, 46, -1, 45, 47, -1, 45, 72, -1, 45, 70, -1, 45, 40, -1, 45, 30, -1, 19, 73, 30, -1, 18, 74, 77, 30, -1, 20, 78, 77, 30, -1, 21, 25, 77, 30, -1, 22, 79, 79, 77, 30, -1, 23, 48, 30, -1, -1, 48, 25, 49, -1, -1, 33, 74, -1, 7, 30, -1, 50, 54, -1, 75, -1, 51, 56, 52, -1, -1, 54, 55, -1, 54, 72, -1, 54, 70, -1, 54, 30, -1, 54, 40, -1, 18, 74, 77, 30, -1, 19, 73, 30, -1, 17, 30, -1, 20, 25, 77, 30, -1, -1, 56, 39, -1, 14, 78, 76, -1, 75, -1, 57, 60, 58, -1, -1, 60, 39, -1, 60, 64, -1, 60, 53, -1, 4, 74, 30, -1, 61, 71, -1, 75, -1, 62, 65, 63, -1, -1, 65, 39, -1, 65, 64, -1, 65, 53, -1, 6, 74, 30, -1, 9, 74, 30, -1, 67, 71, -1, 12, 30, -1, 69, 13, -1, -1, 71, 72, -1, 71, 30, -1, 71, 40, -1, 16, 24, 78, 30, -1, -1, 74, 77, -1, 25, -1, 26, -1, 5, 30, -1, 8, 30, -1, 15, 30, -1, 30, -1, 76, 30, -1, -1, 14, 78, -1, 79, -1, 79, 33, 79, -1, 79, 27, 79, -1, 29, 78, 28, -1, 34, 78, -1, 78, 31, 78, -1, 78, 32, 78, -1, 25, -1, 26, -1};/* YYRLINE[YYN] -- source line where rule number YYN was defined. */static const yytype_uint16 yyrline[] ={ 0, 104, 104, 106, 108, 109, 110, 111, 112, 113, 114, 118, 122, 122, 122, 122, 122, 122, 122, 126, 127, 128, 129, 130, 131, 135, 136, 142, 150, 156, 164, 174, 176, 177, 178, 179, 180, 181, 184, 192, 198, 208, 214, 220, 223, 225, 236, 237, 242, 251, 256, 264, 267, 269, 270, 271, 272, 273, 276, 282, 293, 299, 309, 311, 316, 324, 332, 335, 337, 338, 339, 344, 351, 356, 364, 367, 369, 370, 371, 374, 382, 389, 396, 402, 409, 411, 412, 413, 416, 424, 426, 431, 432, 435, 436, 437, 441, 442, 445, 446, 449, 450, 451, 452, 453, 454, 455, 458, 459};#endif#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */static const char *const yytname[] ={ "$end", "error", "$undefined", "T_MAINMENU", "T_MENU", "T_ENDMENU", "T_SOURCE", "T_CHOICE", "T_ENDCHOICE", "T_COMMENT", "T_CONFIG", "T_MENUCONFIG", "T_HELP", "T_HELPTEXT", "T_IF", "T_ENDIF", "T_DEPENDS", "T_OPTIONAL", "T_PROMPT", "T_TYPE", "T_DEFAULT", "T_SELECT", "T_RANGE", "T_OPTION", "T_ON", "T_WORD", "T_WORD_QUOTE", "T_UNEQUAL", "T_CLOSE_PAREN", "T_OPEN_PAREN", "T_EOL", "T_OR", "T_AND", "T_EQUAL", "T_NOT", "$accept", "input", "stmt_list", "option_name", "common_stmt", "option_error", "config_entry_start", "config_stmt", "menuconfig_entry_start", "menuconfig_stmt", "config_option_list", "config_option", "symbol_option", "symbol_option_list", "symbol_option_arg", "choice", "choice_entry", "choice_end", "choice_stmt", "choice_option_list", "choice_option", "choice_block", "if_entry", "if_end", "if_stmt", "if_block", "menu", "menu_entry", "menu_end", "menu_stmt", "menu_block", "source_stmt", "comment", "comment_stmt", "help_start", "help", "depends_list", "depends", "prompt_stmt_opt", "prompt", "end", "nl", "if_expr", "expr", "symbol", 0};#endif# ifdef YYPRINT/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */static const yytype_uint16 yytoknum[] ={ 0, 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};# endif/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */static const yytype_uint8 yyr1[] ={ 0, 35, 36, 37, 37, 37, 37, 37, 37, 37, 37, 37, 38, 38, 38, 38, 38, 38, 38, 39, 39, 39, 39, 39, 39, 40, 40, 41, 42, 43, 44, 45, 45, 45, 45, 45, 45, 45, 46, 46, 46, 46, 46, 47, 48, 48, 49, 49, 50, 51, 52, 53, 54, 54, 54, 54, 54, 54, 55, 55, 55, 55, 56, 56, 57, 58, 59, 60, 60, 60, 60, 61, 62, 63, 64, 65, 65, 65, 65, 66, 67, 68, 69, 70, 71, 71, 71, 71, 72, 73, 73, 74, 74, 75, 75, 75, 76, 76, 77, 77, 78, 78, 78, 78, 78, 78, 78, 79, 79};/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */static const yytype_uint8 yyr2[] ={ 0, 2, 1, 0, 2, 2, 2, 4, 2, 4, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 3, 2, 3, 2, 0, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 5, 3, 0, 3, 0, 2, 2, 2, 1, 3, 0, 2, 2, 2, 2, 2, 4, 3, 2, 4, 0, 2, 3, 1, 3, 0, 2, 2, 2, 3, 2, 1, 3, 0, 2, 2, 2, 3, 3, 2, 2, 2, 0, 2, 2, 2, 4, 0, 2, 1, 1, 2, 2, 2, 1, 2, 0, 2, 1, 3, 3, 3, 2, 3, 3, 1, 1};/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */static const yytype_uint8 yydefact[] ={ 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 16, 13, 14, 18, 15, 17, 0, 19, 0, 4, 31, 22, 31, 23, 52, 62, 5, 67, 20, 84, 75, 6, 24, 84, 21, 8, 11, 91, 92, 0, 0, 93, 0, 48, 94, 0, 0, 0, 107, 108, 0, 0, 0, 100, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 7, 71, 79, 80, 27, 29, 0, 104, 0, 0, 64, 0, 0, 9, 10, 0, 0, 0, 0, 89, 0, 0, 0, 44, 0, 37, 36, 32, 33, 0, 35, 34, 0, 0, 89, 0, 56, 57, 53, 55, 54, 63, 51, 50, 68, 70, 66, 69, 65, 86, 87, 85, 76, 78, 74, 77, 73, 97, 103, 105, 106, 102, 101, 26, 82, 0, 98, 0, 98, 98, 98, 0, 0, 0, 83, 60, 98, 0, 98, 0, 0, 0, 38, 90, 0, 0, 98, 46, 43, 25, 0, 59, 0, 88, 99, 39, 40, 41, 0, 0, 45, 58, 61, 42, 47};/* YYDEFGOTO[NTERM-NUM]. */static const yytype_int16 yydefgoto[] ={ -1, 1, 2, 25, 26, 99, 27, 28, 29, 30, 64, 100, 101, 145, 173, 31, 32, 115, 33, 66, 111, 67, 34, 119, 35, 68, 36, 37, 127, 38, 70, 39, 40, 41, 102, 103, 69, 104, 140, 141, 42, 73, 154, 59, 60};/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */#define YYPACT_NINF -78static const yytype_int16 yypact[] ={ -78, 33, 130, -78, -28, 73, 73, 7, 73, 36, 41, 73, 26, 52, -4, 58, -78, -78, -78, -78, -78, -78, -78, 90, -78, 94, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, 74, 85, -78, 96, -78, -78, 131, 134, 147, -78, -78, -4, -4, 193, -10, -78, 162, 164, 38, 102, 64, 148, 5, 192, 5, 165, -78, 174, -78, -78, -78, -78, -78, 65, -78, -4, -4, 174, 103, 103, -78, -78, 175, 185, 197, 73, 73, -4, 194, 103, -78, 231, -78, -78, -78, -78, 220, -78, -78, 204, 73, 73, 210, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, 205, -78, -78, -78, -78, -78, -4, 222, 208, 222, 195, 222, 103, 2, 209, -78, -78, 222, 211, 222, 199, -4, 212, -78, -78, 213, 214, 222, 207, -78, -78, 215, -78, 216, -78, 111, -78, -78, -78, 217, 73, -78, -78, -78, -78, -78};/* YYPGOTO[NTERM-NUM]. */static const yytype_int16 yypgoto[] ={ -78, -78, -78, -78, 121, -35, -78, -78, -78, -78, 219, -78, -78, -78, -78, -78, -78, -78, -44, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -6, -78, -78, -78, -78, -78, 183, 218, 21, 143, -5, 146, 196, 69, -53, -77};/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */#define YYTABLE_NINF -82static const yytype_int16 yytable[] ={ 46, 47, 43, 49, 79, 80, 52, 134, 135, 6, 7, 8, 9, 10, 11, 12, 13, 84, 144, 14, 15, 55, 56, 85, 118, 57, 126, 160, 132, 133, 58, 110, 161, 3, 123, 24, 123, 48, -28, 88, 142, -28, -28, -28, -28, -28, -28, -28, -28, -28, 89, 53, -28, -28, 90, -28, 91, 92, 93, 94, 95, 96, 120, 97, 128, 88, 50, 159, 98, -49, -49, 51, -49, -49, -49, -49, 89, 54, -49, -49, 90, 105, 106, 107, 108, 152, 139, 113, 61, 97, 124, 62, 124, 131, 109, 63, 81, 82, 44, 45, 167, 149, -30, 88, 72, -30, -30, -30, -30, -30, -30, -30, -30, -30, 89, 74, -30, -30, 90, -30, 91, 92, 93, 94, 95, 96, 75, 97, 55, 56, -2, 4, 98, 5, 6, 7, 8, 9, 10, 11, 12, 13, 81, 82, 14, 15, 16, 17, 18, 19, 20, 21, 22, 7, 8, 23, 10, 11, 12, 13, 24, 76, 14, 15, 77, -81, 88, 177, -81, -81, -81, -81, -81, -81, -81, -81, -81, 78, 24, -81, -81, 90, -81, -81, -81, -81, -81, -81, 114, 117, 97, 125, 86, 88, 87, 122, -72, -72, -72, -72, -72, -72, -72, -72, 130, 136, -72, -72, 90, 153, 156, 157, 158, 116, 121, 137, 129, 97, 163, 143, 165, 138, 122, 72, 81, 82, 81, 82, 171, 166, 81, 82, 146, 147, 148, 151, 153, 82, 155, 162, 172, 164, 168, 169, 170, 174, 175, 176, 65, 112, 150, 0, 0, 0, 0, 83, 0, 0, 71};static const yytype_int16 yycheck[] ={ 5, 6, 30, 8, 57, 58, 11, 84, 85, 4, 5, 6, 7, 8, 9, 10, 11, 27, 95, 14, 15, 25, 26, 33, 68, 29, 70, 25, 81, 82, 34, 66, 30, 0, 69, 30, 71, 30, 0, 1, 93, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 25, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 68, 25, 70, 1, 30, 144, 30, 5, 6, 30, 8, 9, 10, 11, 12, 25, 14, 15, 16, 17, 18, 19, 20, 138, 91, 66, 30, 25, 69, 1, 71, 28, 30, 1, 31, 32, 25, 26, 153, 106, 0, 1, 30, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 30, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 30, 25, 25, 26, 0, 1, 30, 3, 4, 5, 6, 7, 8, 9, 10, 11, 31, 32, 14, 15, 16, 17, 18, 19, 20, 21, 22, 5, 6, 25, 8, 9, 10, 11, 30, 30, 14, 15, 30, 0, 1, 172, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 30, 14, 15, 16, 17, 18, 19, 20, 21, 22, 67, 68, 25, 70, 30, 1, 30, 30, 4, 5, 6, 7, 8, 9, 10, 11, 30, 30, 14, 15, 16, 14, 141, 142, 143, 67, 68, 30, 70, 25, 149, 25, 151, 24, 30, 30, 31, 32, 31, 32, 159, 30, 31, 32, 1, 13, 30, 25, 14, 32, 30, 30, 33, 30, 30, 30, 30, 30, 30, 30, 29, 66, 107, -1, -1, -1, -1, 59, -1, -1, 40};/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */static const yytype_uint8 yystos[] ={ 0, 36, 37, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 25, 30, 38, 39, 41, 42, 43, 44, 50, 51, 53, 57, 59, 61, 62, 64, 66, 67, 68, 75, 30, 25, 26, 74, 74, 30, 74, 30, 30, 74, 25, 25, 25, 26, 29, 34, 78, 79, 30, 1, 1, 45, 45, 54, 56, 60, 71, 65, 71, 30, 76, 30, 30, 30, 30, 30, 78, 78, 31, 32, 76, 27, 33, 30, 30, 1, 12, 16, 18, 19, 20, 21, 22, 23, 25, 30, 40, 46, 47, 69, 70, 72, 17, 18, 19, 20, 30, 40, 55, 70, 72, 39, 52, 75, 39, 53, 58, 64, 75, 30, 40, 72, 39, 53, 63, 64, 75, 30, 28, 78, 78, 79, 79, 30, 30, 24, 74, 73, 74, 78, 25, 79, 48, 1, 13, 30, 74, 73, 25, 78, 14, 77, 30, 77, 77, 77, 79, 25, 30, 30, 77, 30, 77, 30, 78, 30, 30, 30, 77, 33, 49, 30, 30, 30, 74};#define yyerrok (yyerrstatus = 0)#define yyclearin (yychar = YYEMPTY)#define YYEMPTY (-2)#define YYEOF 0#define YYACCEPT goto yyacceptlab#define YYABORT goto yyabortlab#define YYERROR goto yyerrorlab/* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */#define YYFAIL goto yyerrlab#define YYRECOVERING() (!!yyerrstatus)#define YYBACKUP(Token, Value) \do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ else \ { \ yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \while (YYID (0))#define YYTERROR 1#define YYERRCODE 256/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. If N is 0, then set CURRENT to the empty location which ends the previous symbol: RHS[0] (always defined). */#define YYRHSLOC(Rhs, K) ((Rhs)[K])#ifndef YYLLOC_DEFAULT# define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0))#endif/* YY_LOCATION_PRINT -- Print the location on the stream. This macro was not mandated originally: define only if we know we won't break user code: when these are the locations we know. */#ifndef YY_LOCATION_PRINT# if YYLTYPE_IS_TRIVIAL# define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ (Loc).last_line, (Loc).last_column)# else# define YY_LOCATION_PRINT(File, Loc) ((void) 0)# endif#endif/* YYLEX -- calling `yylex' with the right arguments. */#ifdef YYLEX_PARAM# define YYLEX yylex (YYLEX_PARAM)#else# define YYLEX yylex ()#endif/* Enable debugging if requested. */#if YYDEBUG# ifndef YYFPRINTF# include <stdio.h> /* INFRINGES ON USER NAME SPACE */# define YYFPRINTF fprintf# endif# define YYDPRINTF(Args) \do { \ if (yydebug) \ YYFPRINTF Args; \} while (YYID (0))# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -