📄 y.tab.c
字号:
187, 190, 319, 175, 189, 294, 0, 0, 0, 0, 0, 0, 0, 0, 178, 0, 179, 0, 176, 177, 0, 0, 0, 188, 185, 183, 184, 182, 181, 180, 186, 187, 190, 0, 175, 189, 0, 0, 237, 0, 0, 0, 0, 0, 0, 178, 0, 179, 0, 176, 177, 0, 0, 0, 188, 185, 183, 184, 182, 181, 180, 186, 187, 190, 0, 175, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 178, 0, 179, 0, 176, 177, 0, 0, 0, 188, 185, 183, 184, 182, 181, 180, 186, 187, 190, 0, 175, 189, 0, 178, 0, 179, 0, 176, 177, 0, 0, 178, 0, 179, 0, 176, 177, 181, 180, 0, 188, 185, 183, 184, 182, 181, 180, 186, 187, 190, 0, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 183, 184, 182, 0, 0, 0, 188, 185, 183, 184, 182 };yytabelem yypact[]={ 773, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 344, 430, 223, -1000, -12, -1000, 240, 33, 611, 610, -1000, -1000, -1000, -74, 1037, -25, -28, -1000, 11, -14, -2, 257, 89, -1000, -1000, -12, -1000, -1000, 203, -1000, 753, -1000, 270, -1000, 591, -1000, 753, -1000, -1000, -1000, 591, -1000, 204, 237, 222, -1000, 254, -12, 288, -12, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 325, 225, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 238, -1000, -1000, -1000, -1000, 22, 1019, 7, 43, -1000, -1000, -1000, 69, 323, 270, 672, 530, -1000, 753, 1407, 817, 300, 343, -11, 236, 201, 881, 881, 881, 881, 881, 881, 881, 945, -37, -1000, 753, -1000, -1000, -1000, -1000, -1000, -1000, -123, 1037, 34, -1000, 38, 430, -1000, 322, 12, 65, -1000, -1000, -1000, 1407, 672, 529, 343, -11, 1345, 321, -1000, -1000, -1000, -1000, 251, -1000, -1000, -1000, 238, -1000, 193, -1000, -1000, 145, 144, -1000, 21, 169, -1000, 174, 7, -1000, 31, 99, 34, -1000, -1000, 257, 1407, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 300, 753, -1000, 753, 672, 95, 86, 672, 672, 50, -1000, 201, 214, -55, 118, 300, 300, 300, 300, 300, 300, 300, 300, 201, -1000, 1314, 28, -1000, -1000, -1000, -58, 40, -1000, 672, 337, -1000, -1000, 317, 124, 672, 18, -1000, 182, -1000, 180, 180, -1000, -1000, -1000, -1000, 201, -1000, -1000, 122, -1000, -1000, -1000, 93, 237, 222, -1000, 7, 753, 162, 32, -75, -1000, -1000, 1407, 64, 64, -1000, 356, 831, 687, 39, 482, -1000, 491, 1399, 889, 1407, 1407, 1283, 1252, 1221, 315, -1000, -128, -1000, -128, 313, 306, -1000, 1037, 302, 244, 238, 881, 244, 286, 286, -68, -1000, -1000, 1037, 510, -1000, 14, 38, 284, 672, -1000, 281, -1000, -1000, -1000, -1000, 672, 244, 319, 122, -1000, -1000, 1407, -1000, -1000, 24, 753, 881, -1000, -1000, -1000, -1000, -1000, -1000, -1000, -1000, 244, 300, -1000, 244, 311, 926, -1000, -1000, 412, -1000, 71, 335, -1000, -1000, -1000, 331, 331, 333, 331, -27, -1000, 35, 1376, -1000, -1000, 753, 5, -1000, -1000, -1000, -1000, 263, -1000, -1000, 251, -1000, 825, 300, 251, -1000, -1000, -1000, -4, 510, 753, 510, -1000, 510, -1000, 753, -1000, 1376, -1000, 510, -1000, -1000, -1000, -1000, -1000, 261, 376, 1190, -1000, 510, -1000, 510, 1159, 510, 346, 45, 510, -1000, 753, -1000, 510, -1000, 331, -1000, -1000, 1128, -1000, -1000, 753, 1097, 510, -1000 };yytabelem yypgo[]={ 0, 457, 404, 389, 8, 387, 112, 456, 13, 5, 455, 1, 145, 31, 453, 71, 27, 17, 41, 444, 65, 441, 35, 439, 64, 433, 38, 497, 7, 430, 34, 3, 429, 427, 12, 0, 11, 25, 14, 24, 51, 22, 424, 21, 26, 423, 4, 414, 20, 23, 2, 10, 19, 409, 401, 399, 397, 394, 391 };yytabelem yyr1[]={ 0, 10, 10, 10, 1, 1, 1, 1, 1, 2, 4, 3, 6, 6, 7, 7, 8, 8, 5, 5, 24, 24, 24, 24, 25, 25, 9, 9, 14, 14, 14, 14, 13, 13, 13, 13, 13, 15, 15, 16, 16, 17, 17, 17, 20, 20, 19, 19, 19, 19, 18, 18, 21, 21, 21, 22, 22, 23, 23, 23, 23, 23, 23, 23, 26, 26, 26, 26, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 51, 51, 51, 51, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 43, 43, 43, 43, 43, 43, 48, 48, 48, 38, 38, 38, 38, 38, 40, 40, 29, 29, 50, 53, 30, 30, 30, 32, 32, 32, 32, 32, 54, 32, 31, 31, 31, 31, 31, 31, 31, 31, 55, 31, 31, 56, 31, 57, 31, 58, 31, 34, 33, 33, 28, 28, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 37, 37, 37, 39, 42, 42, 41, 49, 45, 45, 46, 46, 46, 47, 47, 44, 44, 12, 12, 12, 12, 11 };yytabelem yyr2[]={ 0, 3, 3, 3, 3, 3, 3, 3, 11, 5, 11, 9, 5, 1, 2, 7, 7, 9, 5, 1, 2, 7, 5, 7, 3, 7, 7, 5, 3, 3, 2, 2, 2, 5, 5, 5, 5, 9, 11, 3, 7, 3, 7, 1, 7, 9, 5, 7, 11, 13, 3, 2, 3, 7, 9, 5, 1, 2, 4, 2, 4, 2, 2, 7, 3, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 2, 2, 2, 2, 2, 3, 3, 4, 4, 7, 7, 5, 5, 9, 9, 2, 7, 5, 5, 5, 5, 5, 5, 9, 9, 3, 1, 5, 5, 9, 9, 1, 5, 5, 1, 5, 5, 9, 9, 1, 5, 5, 3, 7, 1, 9, 5, 7, 3, 3, 3, 5, 5, 1, 11, 4, 11, 3, 3, 2, 7, 11, 7, 1, 19, 7, 1, 9, 1, 11, 1, 9, 3, 3, 7, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 11, 5, 11, 2, 1, 9, 9, 5, 9, 5, 9, 5, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 7, 7, 7, 7, 5, 2, 7, 3, 3, 3, 3, 3, 3, 3, 7, 7, 5, 9, 9, 5, 9, 9, 5, 3, 3, 5, 5, 5, 9, 7, 9, 11, 7, 3, 2, 1, 3, 3, 5, 5, 7 };yytabelem yychk[]={ -1000, -10, -1, 72, 0, -9, -4, -3, -2, 1, -13, -27, -14, 123, -26, 80, -51, -12, 40, 97, -20, -15, 47, 24, 50, 52, -19, 13, 156, 40, -27, -25, 72, 97, 123, -20, -15, 80, -24, 69, 72, -5, -46, 40, -11, 42, 45, 160, -46, 40, -11, 45, 123, 80, -26, -27, 123, -27, 123, 123, -52, -41, 54, 55, 50, 52, 65, 64, 94, 92, 93, 91, 66, 67, 40, 42, 46, 47, 95, 90, 70, 23, 9, -42, 97, 123, 97, 97, -21, -22, 73, -18, 80, 123, 73, -18, 81, -5, 70, 71, 72, 69, -35, 9, -36, 97, 123, 23, 113, 50, 52, 55, 54, 46, 47, 95, 30, 160, -37, 40, 86, 82, 83, 81, 84, 34, 80, 24, -6, -9, 69, -13, 123, -34, -47, -33, -44, -28, -45, -35, 73, -13, 97, 123, -35, -34, -26, 80, 45, 45, 41, 41, 43, -40, -12, 74, 25, -23, -9, -4, -3, -2, -51, -16, -17, 80, 73, 73, 69, 41, -6, -28, -24, -27, -35, 70, 54, 55, 50, 52, 65, 64, 94, 92, 93, 91, 66, 67, 90, 71, 68, -36, 42, 95, 42, 40, 44, 45, 40, 40, 160, -49, 40, -13, -39, -13, -36, -36, -36, -36, -36, -36, -36, -36, 113, -18, -35, 160, -52, -41, -30, 73, -7, -8, 40, 80, 41, 41, 155, 71, 71, -34, 123, -43, 80, -12, 40, 43, 41, -46, -11, 40, -40, 97, -22, 69, 72, 72, -18, 123, 80, 74, 71, 70, -16, 123, 25, 72, -30, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -35, -34, -37, 123, -37, 123, -34, -34, -18, 24, -49, -48, -12, 122, -38, -12, 40, -39, 41, -18, 24, -53, 74, 256, 71, -34, 40, 41, 155, -44, -28, 74, -11, 70, -43, -43, -22, 72, -17, -35, 74, 73, 123, 69, 43, 43, 41, 41, 41, -52, -41, 41, -11, -48, -36, -11, -38, -38, 122, -52, -41, -29, -31, -32, 1, -9, -4, -30, 20, 39, 16, 33, 80, 4, 8, -35, 3, 7, 28, 19, 10, 74, -8, 41, -34, 41, -28, 41, 73, -35, -36, 41, -31, 74, 72, 40, -50, 40, -50, 40, -50, 69, -57, 69, -35, 80, -54, 41, -46, -11, -46, -11, 81, -31, -35, -31, -55, -31, -56, -35, -58, -31, 41, 12, 41, -31, -31, 69, -31, 39, 72, -31, -35, -31, -50, 72, -35, 41, -31 };yytabelem yydef[]={ 0, -2, 1, 2, 3, 4, 5, 6, 7, 0, 0, 19, 32, 29, 97, 64, 0, 0, 0, 28, 30, 31, 0, 0, 232, 233, 56, 0, 0, 0, -2, 0, 27, 33, 34, 35, 36, 64, 24, 178, 9, 13, 93, -2, 104, 178, 89, 90, 94, -2, 103, 0, 100, 64, 99, 101, 102, 0, 0, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 0, 0, 82, 83, 84, 85, 86, 87, 88, 121, 219, 220, 234, 235, 0, 52, 43, 0, 50, 51, 46, 0, 0, 13, 178, 0, 26, 178, 22, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 178, 203, 204, 205, 206, 207, 208, 209, 0, 0, 18, 0, 0, 29, 0, 0, 154, 229, 155, 230, 157, 178, 108, 28, 29, 0, 0, 98, 64, 91, 92, 0, 80, 81, 221, 121, 44, 56, 55, 57, 59, 61, 62, 0, 0, 39, 41, 43, 47, 0, 0, 0, 23, 25, 20, 21, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, 175, 178, 183, 178, 178, 0, 0, 178, 178, 0, 181, 0, 113, 0, 116, 185, 186, 187, 188, 189, 190, 191, 192, 0, 200, 0, 0, 212, 215, 11, -2, 12, 14, 178, 0, 95, 225, 0, 231, 178, 0, 34, 223, 107, 108, 108, 236, 96, 105, 106, 231, 122, 45, 53, 56, 58, 60, 0, -2, -2, 37, 43, 178, 0, 0, 0, 8, 10, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 0, 0, 0, 0, 196, 197, 198, 199, 0, 0, 210, 0, 0, 222, 113, 0, 218, 116, 116, 0, 202, 211, 0, 178, 128, 0, 0, 0, 178, 226, 0, 228, 156, 158, 110, 178, 109, 0, 54, 63, 40, 42, 38, 48, 0, 178, 0, 194, 195, 179, 180, 213, 216, 182, 115, 114, 184, 118, 117, 0, 193, 214, 217, 178, 124, 0, 0, 139, 140, 141, 0, 0, 0, 0, 209, 150, 0, 130, 131, 132, 178, 0, 135, 129, 15, 16, 0, 227, 224, 0, 49, 174, 176, 0, 123, 127, 137, 0, 178, 178, 178, 145, 178, 148, 178, 152, 133, 134, 178, 17, 111, 112, 119, 120, 0, 142, 0, 144, 178, 147, 178, 0, 178, 0, 0, 178, 125, 178, 149, 178, 153, 0, 138, 143, 0, 151, 136, 178, 0, 178, 146 };typedef struct { char *t_name; int t_val; } yytoktype;#ifndef YYDEBUG# define YYDEBUG 0 /* don't allow debugging */#endif#if YYDEBUGyytoktype yytoks[] ={ "EOFTOK", 0, "ASM", 1, "BREAK", 3, "CASE", 4, "CONTINUE", 7, "DEFAULT", 8, "DELETE", 9, "DO", 10, "ELSE", 12, "ENUM", 13, "FOR", 16, "FORTRAN", 17, "GOTO", 19, "IF", 20, "NEW", 23, "OPERATOR", 24, "PUBLIC", 25, "RETURN", 28, "SIZEOF", 30, "SWITCH", 33, "THIS", 34, "WHILE", 39, "LP", 40, "RP", 41, "LB", 42, "RB", 43, "REF", 44, "DOT", 45, "NOT", 46, "COMPL", 47, "MUL", 50, "AND", 52, "PLUS", 54, "MINUS", 55, "ER", 64, "OR", 65, "ANDAND", 66, "OROR", 67, "QUEST", 68, "COLON", 69, "ASSIGN", 70, "CM", 71, "SM", 72, "LC", 73, "RC", 74, "CAST", 113, "ENDCAST", 122, "ID", 80, "STRING", 81, "ICON", 82, "FCON", 83, "CCON", 84, "ZERO", 86, "ASOP", 90, "RELOP", 91, "EQUOP", 92, "DIVOP", 93, "SHIFTOP", 94, "ICOP", 95, "TYPE", 97, "TNAME", 123, "EMPTY", 124, "NO_ID", 125, "NO_EXPR", 126, "ELLIPSIS", 155, "AGGR", 156, "MEM", 160, "-unknown-", -1 /* ends search */};char * yyreds[] ={ "-no such reduction-", "ext_def : external_def", "ext_def : SM", "ext_def : EOFTOK", "external_def : data_dcl", "external_def : att_fct_def", "external_def : fct_def", "external_def : fct_dcl", "external_def : ASM LP STRING RP SM", "fct_dcl : decl SM", "att_fct_def : type decl arg_dcl_list base_init block", "fct_def : decl arg_dcl_list base_init block", "base_init : COLON init_list", "base_init : /* empty */", "init_list : binit", "init_list : init_list CM binit", "binit : LP elist RP", "binit : ID LP elist RP", "arg_dcl_list : arg_dcl_list data_dcl", "arg_dcl_list : /* empty */", "dl : decl", "dl : ID COLON e", "dl : COLON e", "dl : decl ASSIGN initializer", "decl_list : dl", "decl_list : decl_list CM dl", "data_dcl : type decl_list SM", "data_dcl : type SM", "tp : TYPE", "tp : TNAME", "tp : class_dcl", "tp : enum_dcl", "type : tp", "type : type TYPE", "type : type TNAME", "type : type class_dcl", "type : type enum_dcl", "enum_dcl : ENUM LC moe_list RC", "enum_dcl : ENUM tag LC moe_list RC", "moe_list : moe", "moe_list : moe_list CM moe", "moe : ID", "moe : ID ASSIGN e", "moe : /* empty */", "class_dcl : class_head mem_list RC", "class_dcl : class_head mem_list RC TYPE", "class_head : AGGR LC", "class_head : AGGR tag LC", "class_head : AGGR tag COLON TNAME LC", "class_head : AGGR tag COLON PUBLIC TNAME LC", "tag : ID", "tag : TNAME", "mem_list : cl_mem_list", "mem_list : cl_mem_list PUBLIC cl_mem_list", "mem_list : cl_mem_list PUBLIC COLON cl_mem_list", "cl_mem_list : cl_mem_list cl_mem", "cl_mem_list : /* empty */", "cl_mem : data_dcl", "cl_mem : att_fct_def SM", "cl_mem : att_fct_def", "cl_mem : fct_def SM", "cl_mem : fct_def", "cl_mem : fct_dcl", "cl_mem : tn_list tag SM", "fname : ID", "fname : COMPL TNAME", "fname : OPERATOR oper", "fname : OPERATOR c_type", "oper : PLUS", "oper : MINUS", "oper : MUL", "oper : AND", "oper : OR", "oper : ER", "oper : SHIFTOP", "oper : EQUOP", "oper : DIVOP", "oper : RELOP", "oper : ANDAND", "oper : OROR", "oper : LP RP", "oper : LB RB", "oper : NOT", "oper : COMPL", "oper : ICOP", "oper : ASOP", "oper : ASSIGN", "oper : NEW", "oper : DELETE", "tn_list : TNAME DOT", "tn_list : TNAME MEM", "tn_list : tn_list TNAME DOT", "tn_list : tn_list ID DOT", "decl : decl arg_list", "decl : TNAME arg_list", "decl : decl LP elist RP", "decl : TNAME LP elist RP", "decl : fname", "decl : ID DOT fname", "decl : tn_list fname", "decl : tn_list TNAME", "decl : ptr decl", "decl : ptr TNAME", "decl : TNAME vec", "decl : decl vec", "decl : LP decl RP arg_list", "decl : LP decl RP vec", "arg_decl : ID", "arg_decl : /* empty */", "arg_decl : ptr arg_decl", "arg_decl : arg_decl vec", "arg_decl : LP arg_decl RP arg_list", "arg_decl : LP arg_decl RP vec", "new_decl : /* empty */", "new_decl : ptr new_decl", "new_decl : new_decl vec", "cast_decl : /* empty */", "cast_decl : ptr cast_decl", "cast_decl : cast_decl vec", "cast_decl : LP cast_decl RP arg_list", "cast_decl : LP cast_decl RP vec", "c_decl : /* empty */", "c_decl : ptr c_decl", "stmt_list : stmt_list statement", "stmt_list : statement", "condition : LP e RP", "block : LC", "block : LC stmt_list RC", "block : LC RC", "block : LC error RC", "simple : e", "simple : BREAK", "simple : CONTINUE", "simple : RETURN e", "simple : GOTO ID", "simple : DO", "simple : DO statement WHILE condition", "statement : simple SM", "statement : ASM LP STRING RP SM", "statement : data_dcl", "statement : att_fct_def", "statement : block", "statement : IF condition statement", "statement : IF condition statement ELSE statement", "statement : WHILE condition statement", "statement : FOR LP", "statement : FOR LP statement e SM e RP statement", "statement : SWITCH condition statement", "statement : ID COLON", "statement : ID COLON statement", "statement : CASE", "statement : CASE e COLON statement", "statement : DEFAULT COLON", "statement : DEFAULT COLON statement", "elist : ex_list", "ex_list : initializer", "ex_list : ex_list CM initializer", "initializer : e",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -