/* A Bison parser, made from cplus-pa.y */ #define YYLSP_NEEDED #define IDENTIFIER 258 #define TYPENAME 259 #define SCSPEC 260 #define TYPESPEC 261 #define TYPE_QUAL 262 #define CONSTANT 263 #define STRING 264 #define ELLIPSIS 265 #define SIZEOF 266 #define ENUM 267 #define IF 268 #define ELSE 269 #define WHILE 270 #define DO 271 #define FOR 272 #define SWITCH 273 #define CASE 274 #define DEFAULT 275 #define BREAK 276 #define CONTINUE 277 #define RETURN 278 #define GOTO 279 #define ASM 280 #define TYPEOF 281 #define ALIGNOF 282 #define AGGR 283 #define DELETE 284 #define NEW 285 #define OVERLOAD 286 #define PRIVATE 287 #define PUBLIC 288 #define PROTECTED 289 #define THIS 290 #define OPERATOR 291 #define OPERATOR_PUSH 292 #define OPERATOR_POP 293 #define DYNAMIC 294 #define POINTSAT_LEFT_RIGHT 295 #define SCOPE 296 #define EMPTY 297 #define TYPENAME_COLON 298 #define ASSIGN 299 #define RANGE 300 #define OROR 301 #define ANDAND 302 #define MIN_MAX 303 #define EQCOMPARE 304 #define ARITHCOMPARE 305 #define LSHIFT 306 #define RSHIFT 307 #define UNARY 308 #define PLUSPLUS 309 #define MINUSMINUS 310 #define HYPERUNARY 311 #define PAREN_STAR_PAREN 312 #define PAREN_X_SCOPE_STAR_PAREN 313 #define PAREN_X_SCOPE_REF_PAREN 314 #define POINTSAT 315 #define TYPENAME_SCOPE 316 #define TYPENAME_ELLIPSIS 317 #define PRE_PARSED_FUNCTION_DECL 318 #define EXTERN_LANG_STRING 319 #line 24 "cplus-pa.y" #include "config.h" #include "tree.h" #include "input.h" #include "cplus-parse.h" #include "cplus-tree.h" #include "assert.h" /* C++ extensions */ extern tree ridpointers[]; /* need this up here */ #include #include extern int errno; extern int end_of_file; void yyerror (); /* true iff ok to declare a new varaible in a stmt decl. */ static int stmt_decl_ok = 1; /* Cause the `yydebug' variable to be defined. */ #define YYDEBUG 1 #line 54 "cplus-pa.y" typedef union {long itype; tree ttype; enum tree_code code; } YYSTYPE; #line 164 "cplus-pa.y" /* the declaration found for the last IDENTIFIER token read in. yylex must look this up to detect typedefs, which get token type TYPENAME, so it is left around in case the identifier is not a typedef but is used in a context which makes it a reference to a variable. */ tree lastiddecl; tree make_pointer_declarator (), make_reference_declarator (); tree combine_strings (); void reinit_parse_for_function (); void reinit_parse_for_method (); /* list of types and structure classes of the current declaration */ tree current_declspecs; int undeclared_variable_notice; /* 1 if we explained undeclared var errors. */ int yylex (); #ifndef YYLTYPE typedef struct yyltype { int timestamp; int first_line; int first_column; int last_line; int last_column; char *text; } yyltype; #define YYLTYPE yyltype #endif #include #ifndef __STDC__ #define const #endif #define YYFINAL 916 #define YYFLAG -32768 #define YYNTBASE 87 #define YYTRANSLATE(x) ((unsigned)(x) <= 319 ? yytranslate[x] : 216) static const char 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, 85, 2, 2, 2, 65, 55, 2, 75, 81, 63, 61, 45, 62, 74, 64, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 49, 82, 2, 47, 2, 48, 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, 76, 2, 86, 54, 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, 44, 53, 83, 84, 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, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 50, 51, 52, 56, 57, 58, 59, 60, 66, 67, 68, 69, 70, 71, 72, 73, 77, 78, 79, 80 }; static const short yyrline[] = { 0, 186, 187, 195, 197, 197, 198, 200, 203, 205, 206, 211, 213, 215, 218, 221, 226, 231, 234, 236, 240, 244, 250, 252, 254, 256, 258, 259, 260, 263, 276, 288, 290, 294, 298, 300, 302, 306, 311, 315, 319, 323, 329, 339, 346, 355, 362, 371, 379, 392, 407, 412, 416, 446, 449, 451, 454, 465, 471, 498, 500, 503, 505, 506, 508, 510, 512, 514, 516, 520, 522, 524, 528, 530, 532, 534, 536, 540, 544, 547, 550, 553, 555, 559, 567, 569, 571, 573, 580, 582, 585, 598, 600, 605, 607, 612, 616, 628, 652, 654, 656, 658, 660, 662, 664, 666, 668, 670, 672, 674, 676, 678, 680, 682, 684, 686, 694, 696, 698, 700, 702, 705, 709, 753, 755, 756, 758, 760, 762, 769, 773, 775, 808, 810, 835, 837, 841, 861, 901, 1013, 1038, 1040, 1042, 1044, 1047, 1050, 1093, 1095, 1097, 1099, 1103, 1106, 1108, 1115, 1119, 1121, 1123, 1125, 1127, 1131, 1133, 1135, 1137, 1142, 1144, 1148, 1151, 1159, 1164, 1183, 1189, 1191, 1192, 1193, 1196, 1199, 1201, 1203, 1210, 1212, 1219, 1222, 1224, 1226, 1230, 1234, 1236, 1238, 1246, 1249, 1251, 1253, 1264, 1267, 1269, 1271, 1275, 1278, 1286, 1287, 1288, 1289, 1293, 1301, 1302, 1303, 1306, 1309, 1311, 1313, 1317, 1323, 1325, 1328, 1330, 1333, 1336, 1344, 1351, 1353, 1362, 1367, 1368, 1374, 1381, 1383, 1392, 1394, 1398, 1400, 1402, 1408, 1411, 1415, 1419, 1423, 1426, 1430, 1434, 1446, 1458, 1462, 1464, 1467, 1469, 1473, 1475, 1477, 1479, 1482, 1485, 1488, 1492, 1495, 1497, 1499, 1503, 1508, 1512, 1516, 1522, 1525, 1527, 1531, 1536, 1541, 1550, 1558, 1561, 1563, 1565, 1567, 1569, 1570, 1571, 1574, 1577, 1580, 1585, 1624, 1629, 1631, 1633, 1635, 1640, 1642, 1644, 1655, 1658, 1659, 1670, 1675, 1678, 1681, 1685, 1689, 1691, 1693, 1701, 1703, 1708, 1711, 1715, 1718, 1722, 1725, 1728, 1731, 1735, 1738, 1747, 1750, 1752, 1754, 1756, 1758, 1760, 1762, 1765, 1768, 1771, 1773, 1775, 1777, 1780, 1783, 1785, 1787, 1789, 1791, 1793, 1796, 1799, 1802, 1804, 1811, 1814, 1816, 1818, 1820, 1822, 1824, 1826, 1828, 1832, 1835, 1838, 1841, 1848, 1855, 1863, 1871, 1874, 1877, 1880, 1883, 1885, 1887, 1890, 1893, 1896, 1899, 1901, 1905, 1907, 1908, 1912, 1917, 1919, 1921, 1924, 1927, 1930, 1932, 1934, 1936, 1938, 1940, 1942, 1944, 1946, 1948, 1950, 1952, 1960, 1962, 1965, 1972, 1983, 1985, 1988, 1989, 1993, 1999, 2005, 2007, 2010, 2014, 2025, 2029, 2032, 2036, 2040, 2043, 2045, 2049, 2051, 2057, 2062, 2065, 2070, 2076, 2080, 2083, 2089, 2103, 2110, 2113, 2156, 2156, 2231, 2231, 2242, 2242, 2246, 2250, 2253, 2258, 2265, 2273, 2282, 2291, 2297, 2303, 2304, 2309, 2310, 2314, 2317, 2319, 2323, 2326, 2328, 2334, 2342, 2348, 2351, 2352, 2358, 2360, 2363, 2365, 2369, 2374, 2377, 2386, 2395, 2401, 2407, 2412, 2417, 2422, 2427, 2444, 2447, 2449, 2455, 2459, 2462, 2465, 2470, 2474, 2479, 2485, 2493, 2496, 2500, 2503, 2505, 2507, 2509, 2511, 2513, 2515, 2517, 2519, 2521, 2523, 2526, 2536, 2538, 2540, 2542, 2544, 2546, 2548, 2550, 2552, 2554, 2556, 2569, 2574, 2579, 2585, 2591, 2595, 2602, 2606 }; static const char * const yytname[] = { 0, "error","$illegal.","IDENTIFIER","TYPENAME","SCSPEC","TYPESPEC","TYPE_QUAL","CONSTANT","STRING","ELLIPSIS", "SIZEOF","ENUM","IF","ELSE","WHILE","DO","FOR","SWITCH","CASE","DEFAULT", "BREAK","CONTINUE","RETURN","GOTO","ASM","TYPEOF","ALIGNOF","AGGR","DELETE","NEW", "OVERLOAD","PRIVATE","PUBLIC","PROTECTED","THIS","OPERATOR","OPERATOR_PUSH","OPERATOR_POP","DYNAMIC","POINTSAT_LEFT_RIGHT", "SCOPE","EMPTY","TYPENAME_COLON","'{'","','","ASSIGN","'='","'?'","':'","RANGE", "OROR","ANDAND","'|'","'^'","'&'","MIN_MAX","EQCOMPARE","ARITHCOMPARE","LSHIFT","RSHIFT", "'+'","'-'","'*'","'/'","'%'","UNARY","PLUSPLUS","MINUSMINUS","HYPERUNARY","PAREN_STAR_PAREN", "PAREN_X_SCOPE_STAR_PAREN","PAREN_X_SCOPE_REF_PAREN","POINTSAT","'.'","'('","'['","TYPENAME_SCOPE","TYPENAME_ELLIPSIS","PRE_PARSED_FUNCTION_DECL","EXTERN_LANG_STRING", "')'","';'","'}'","'~'","'!'","']'","program" }; static const short yyr1[] = { 0, 87, 87, 89, 88, 90, 88, 91, 91, 91, 91, 92, 91, 91, 91, 91, 93, 94, 95, 95, 96, 97, 97, 97, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 100, 100, 100, 100, 100, 101, 102, 102, 103, 103, 104, 105, 105, 105, 106, 106, 106, 107, 107, 108, 108, 108, 108, 108, 108, 108, 108, 109, 109, 109, 110, 110, 110, 110, 110, 111, 112, 112, 113, 113, 113, 114, 114, 114, 114, 114, 115, 115, 115, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 117, 117, 117, 117, 117, 117, 118, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 119, 119, 120, 119, 119, 119, 119, 119, 119, 121, 121, 121, 121, 122, 122, 123, 124, 124, 125, 125, 126, 126, 126, 126, 127, 127, 127, 127, 128, 128, 129, 129, 129, 129, 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, 133, 133, 134, 134, 134, 134, 134, 135, 135, 135, 136, 136, 136, 136, 136, 137, 137, 138, 138, 139, 139, 141, 140, 140, 143, 142, 142, 145, 144, 144, 146, 146, 146, 146, 146, 147, 147, 149, 148, 150, 148, 148, 148, 148, 148, 151, 151, 152, 152, 153, 153, 153, 153, 153, 153, 153, 154, 154, 154, 154, 155, 155, 155, 155, 156, 156, 156, 156, 156, 156, 157, 158, 158, 158, 158, 158, 158, 158, 158, 159, 159, 159, 160, 160, 160, 160, 160, 160, 160, 160, 160, 161, 161, 161, 162, 162, 162, 162, 163, 163, 163, 163, 164, 164, 165, 165, 166, 166, 167, 167, 168, 168, 169, 169, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, 173, 173, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 175, 175, 176, 177, 178, 178, 179, 179, 179, 181, 180, 182, 182, 182, 183, 182, 182, 184, 185, 182, 186, 187, 182, 188, 189, 190, 182, 191, 192, 193, 182, 194, 182, 195, 182, 196, 182, 197, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 198, 182, 199, 182, 182, 200, 200, 200, 201, 201, 201, 202, 202, 203, 203, 203, 204, 204, 205, 205, 206, 207, 207, 208, 208, 208, 208, 208, 208, 208, 208, 209, 209, 209, 210, 210, 210, 210, 211, 212, 213, 213, 214, 214, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215 }; static const short yyr2[] = { 0, 0, 1, 0, 2, 0, 3, 1, 1, 1, 5, 0, 5, 3, 2, 2, 1, 3, 1, 3, 0, 3, 3, 3, 2, 2, 2, 2, 1, 3, 4, 3, 5, 4, 3, 3, 3, 2, 2, 2, 5, 1, 4, 2, 4, 2, 2, 2, 2, 4, 3, 2, 0, 0, 1, 3, 3, 4, 5, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 2, 3, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, 3, 3, 1, 2, 2, 2, 2, 1, 4, 7, 1, 2, 4, 2, 4, 2, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 3, 3, 3, 3, 3, 5, 2, 1, 1, 1, 1, 3, 3, 0, 4, 4, 4, 2, 3, 2, 2, 1, 5, 4, 2, 2, 5, 3, 6, 5, 6, 2, 5, 4, 4, 3, 3, 0, 4, 4, 4, 2, 2, 2, 1, 4, 2, 5, 1, 2, 0, 0, 1, 2, 2, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 1, 2, 2, 3, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 3, 1, 2, 1, 1, 1, 4, 4, 1, 1, 1, 2, 2, 2, 5, 5, 1, 3, 1, 3, 0, 4, 0, 5, 2, 0, 5, 2, 0, 5, 2, 1, 2, 3, 4, 1, 1, 3, 0, 7, 0, 6, 2, 4, 5, 1, 0, 1, 0, 1, 1, 2, 5, 2, 2, 2, 2, 1, 2, 4, 3, 1, 2, 3, 4, 1, 1, 1, 2, 2, 2, 1, 0, 1, 4, 4, 4, 3, 3, 3, 1, 2, 2, 3, 5, 3, 5, 3, 1, 2, 2, 3, 0, 1, 3, 3, 3, 2, 2, 3, 3, 2, 2, 1, 3, 1, 3, 2, 2, 0, 1, 2, 2, 0, 2, 4, 4, 4, 4, 3, 4, 5, 1, 1, 1, 5, 3, 3, 1, 4, 4, 4, 4, 3, 4, 1, 1, 1, 3, 3, 4, 4, 4, 3, 3, 3, 4, 3, 1, 1, 2, 2, 4, 4, 5, 5, 4, 4, 3, 4, 2, 3, 7, 8, 7, 8, 7, 8, 1, 2, 2, 3, 3, 2, 1, 1, 1, 3, 2, 4, 4, 3, 3, 3, 2, 3, 4, 2, 3, 1, 2, 2, 0, 1, 2, 2, 4, 4, 0, 6, 1, 1, 2, 0, 4, 1, 0, 0, 7, 0, 0, 9, 0, 0, 0, 9, 0, 0, 0, 9, 0, 6, 0, 5, 0, 7, 0, 4, 2, 2, 2, 3, 6, 8, 10, 12, 3, 0, 4, 0, 3, 1, 3, 4, 4, 3, 6, 6, 0, 1, 0, 1, 1, 0, 1, 1, 3, 4, 1, 3, 0, 1, 3, 2, 1, 1, 2, 2, 2, 4, 4, 3, 3, 3, 3, 0, 0, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 3, 2, 2, 1, 1, 3, 2 }; static const short yydefact[] = { 3, 5, 0, 0, 0, 0, 0, 41, 16, 28, 4, 0, 9, 0, 8, 7, 0, 0, 0, 180, 6, 26, 27, 0, 18, 0, 11, 15, 14, 343, 208, 189, 206, 188, 0, 0, 245, 0, 504, 505, 0, 308, 308, 20, 308, 0, 0, 213, 207, 252, 240, 0, 344, 0, 0, 0, 0, 474, 165, 0, 0, 20, 0, 0, 0, 171, 323, 308, 308, 317, 318, 319, 20, 25, 0, 0, 211, 178, 179, 200, 191, 198, 190, 0, 24, 181, 0, 199, 0, 185, 203, 204, 182, 184, 205, 163, 0, 0, 17, 13, 3, 308, 20, 59, 60, 235, 237, 20, 507, 503, 502, 499, 487, 488, 0, 494, 493, 482, 483, 481, 497, 486, 485, 489, 490, 479, 480, 476, 477, 478, 491, 492, 498, 0, 0, 484, 495, 0, 304, 192, 0, 246, 0, 0, 0, 459, 460, 471, 471, 0, 0, 456, 474, 355, 470, 346, 345, 0, 0, 21, 59, 248, 249, 250, 251, 0, 253, 266, 0, 36, 0, 0, 20, 225, 386, 47, 51, 53, 208, 0, 20, 48, 0, 0, 0, 0, 387, 29, 388, 31, 172, 173, 176, 215, 0, 177, 0, 215, 0, 0, 308, 308, 0, 34, 219, 0, 23, 0, 20, 20, 183, 22, 35, 187, 186, 164, 0, 19, 5, 356, 470, 0, 0, 233, 122, 124, 20, 20, 20, 159, 136, 0, 20, 73, 72, 20, 74, 75, 0, 363, 20, 76, 0, 20, 0, 77, 88, 91, 80, 83, 20, 125, 0, 304, 192, 0, 304, 0, 123, 496, 500, 501, 306, 0, 308, 308, 369, 370, 371, 20, 20, 308, 506, 305, 194, 196, 307, 193, 0, 309, 340, 339, 304, 304, 338, 0, 458, 20, 462, 461, 463, 353, 0, 0, 215, 214, 0, 262, 261, 260, 256, 255, 0, 283, 20, 0, 0, 287, 287, 0, 0, 275, 0, 0, 0, 0, 180, 0, 342, 0, 0, 0, 223, 59, 20, 50, 54, 0, 0, 230, 0, 226, 475, 0, 79, 0, 30, 33, 389, 390, 0, 174, 175, 322, 321, 0, 0, 308, 308, 330, 331, 332, 20, 0, 217, 212, 0, 0, 0, 314, 0, 0, 0, 10, 12, 354, 0, 40, 300, 243, 298, 0, 364, 0, 92, 0, 94, 20, 96, 161, 20, 139, 85, 0, 84, 0, 0, 0, 0, 86, 306, 87, 209, 0, 20, 20, 0, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 134, 135, 169, 168, 20, 20, 20, 192, 146, 61, 62, 0, 20, 20, 0, 20, 132, 0, 20, 121, 0, 63, 302, 20, 210, 303, 61, 0, 365, 0, 140, 308, 373, 368, 0, 0, 379, 0, 382, 20, 20, 197, 195, 0, 343, 308, 308, 20, 308, 467, 466, 469, 468, 348, 347, 0, 457, 304, 474, 474, 0, 352, 351, 222, 254, 0, 265, 264, 263, 257, 0, 46, 285, 284, 343, 20, 20, 20, 215, 0, 288, 200, 20, 215, 0, 0, 0, 0, 238, 277, 276, 0, 337, 188, 335, 336, 0, 341, 0, 0, 0, 20, 0, 227, 231, 0, 49, 32, 0, 122, 0, 401, 404, 0, 0, 20, 0, 0, 0, 20, 0, 443, 434, 436, 0, 396, 20, 395, 400, 384, 407, 411, 0, 0, 0, 0, 0, 0, 20, 315, 0, 312, 310, 311, 313, 201, 202, 0, 20, 244, 0, 243, 0, 0, 0, 0, 0, 0, 127, 126, 0, 20, 20, 82, 81, 115, 114, 447, 446, 0, 112, 111, 109, 110, 108, 107, 106, 105, 103, 104, 98, 99, 100, 101, 102, 0, 0, 0, 20, 0, 158, 117, 116, 0, 69, 0, 0, 0, 0, 118, 20, 64, 65, 0, 66, 119, 156, 157, 20, 20, 133, 0, 0, 142, 20, 383, 372, 367, 366, 377, 378, 380, 0, 376, 0, 247, 308, 373, 368, 0, 382, 350, 349, 473, 472, 464, 465, 0, 220, 258, 0, 282, 286, 20, 292, 293, 0, 474, 0, 278, 0, 280, 0, 0, 0, 239, 216, 224, 56, 55, 0, 20, 0, 228, 392, 432, 20, 0, 20, 20, 20, 0, 421, 423, 424, 425, 0, 0, 444, 0, 20, 397, 391, 385, 398, 0, 0, 320, 316, 308, 308, 20, 334, 333, 0, 0, 0, 0, 328, 0, 218, 0, 301, 299, 236, 0, 93, 95, 20, 0, 160, 129, 0, 89, 0, 20, 130, 131, 149, 0, 148, 151, 71, 150, 0, 20, 70, 0, 67, 68, 0, 0, 20, 138, 20, 0, 381, 374, 375, 383, 377, 0, 0, 0, 0, 259, 291, 42, 290, 343, 20, 20, 215, 289, 44, 0, 0, 0, 57, 0, 229, 232, 20, 0, 20, 0, 387, 437, 0, 440, 0, 417, 20, 20, 426, 431, 0, 435, 20, 0, 0, 0, 0, 308, 308, 0, 329, 326, 324, 325, 327, 0, 0, 0, 234, 97, 162, 241, 137, 113, 147, 153, 120, 144, 154, 155, 0, 0, 141, 361, 357, 359, 221, 279, 20, 296, 297, 474, 281, 58, 433, 393, 0, 405, 439, 0, 438, 415, 20, 0, 422, 0, 399, 408, 412, 0, 0, 362, 358, 360, 0, 0, 145, 143, 295, 294, 20, 402, 0, 0, 20, 20, 418, 419, 448, 0, 0, 0, 90, 394, 20, 20, 442, 441, 416, 20, 0, 0, 449, 450, 427, 0, 0, 403, 0, 420, 20, 448, 0, 0, 409, 413, 0, 0, 0, 428, 451, 20, 20, 406, 452, 0, 0, 410, 414, 453, 0, 429, 0, 0, 454, 430, 0, 0, 0 }; static const short yydefgoto[] = { 914, 1, 2, 3, 10, 100, 11, 12, 25, 319, 14, 15, 16, 306, 57, 58, 59, 177, 325, 326, 368, 428, 429, 243, 536, 333, 245, 246, 247, 248, 249, 387, 431, 608, 250, 251, 184, 60, 252, 61, 537, 294, 63, 92, 64, 253, 274, 85, 275, 321, 75, 46, 173, 76, 552, 295, 756, 47, 510, 516, 517, 94, 371, 222, 853, 562, 49, 50, 301, 302, 168, 309, 310, 311, 491, 492, 765, 369, 370, 388, 272, 256, 143, 77, 353, 78, 257, 273, 538, 65, 340, 187, 539, 540, 858, 541, 790, 679, 872, 680, 860, 697, 868, 899, 698, 869, 900, 863, 840, 877, 785, 774, 692, 542, 543, 691, 581, 879, 880, 881, 908, 150, 151, 152, 292, 282, 471, 181, 258 }; static const short yypact[] = { 101, 159, 3020, 3020, 3, -19, 79,-32768, 146,-32768,-32768, 3585,-32768, 4747,-32768,-32768, 3005, 4952, 1343, 488,-32768, -32768,-32768, 106,-32768, 117, 112,-32768,-32768, 163, 142, -32768,-32768,-32768, 147, 175,-32768, 1268,-32768,-32768, 32, -32768,-32768, 558, 262, 33, 152,-32768,-32768, 476, 247, 4629,-32768, 212, 308, 411, 690, 245, 138, 129, 129, 130, 525, 4994, 4680,-32768,-32768,-32768,-32768,-32768,-32768, -32768, 1955,-32768, 4842, 158,-32768, 100, 196,-32768,-32768, -32768,-32768, 246,-32768, 488, 173,-32768, 4721,-32768,-32768, -32768, 732,-32768,-32768,-32768, 56, 320,-32768,-32768,-32768, 333, 83,-32768,-32768,-32768, 295, 4257,-32768,-32768,-32768, -32768,-32768,-32768, 302,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768, 279, 280,-32768,-32768, 599, 816, 534, 1060, -32768, 106, 1099, 1099,-32768,-32768,-32768, 901, 314, 289, 89, 327,-32768, 1099,-32768,-32768, 296, 174,-32768, 343, -32768,-32768,-32768,-32768, 612,-32768,-32768, 3075,-32768, 338, 1104, 3107, 378,-32768,-32768,-32768, 29,-32768, 2300, 3940, -32768, 752, 129, 129, 373, 346,-32768,-32768,-32768,-32768, -32768,-32768, 408, 202,-32768, 214, 19, 5036, 5036,-32768, -32768, 5138,-32768, 429, 174,-32768, 1620, 3168, 4257, 732, -32768,-32768,-32768,-32768,-32768, 407,-32768, 413,-32768, 1099, 417, 377,-32768, 458,-32768, 4318, 4379, 4001, 28,-32768, 498, 4491,-32768,-32768, 4491,-32768,-32768, 2385,-32768, 4491, -32768, 1494, 4491, 424, 465,-32768,-32768, 5127, 737, 438, 506, 896, 816, 297, 440, 5086, 39,-32768,-32768,-32768, -32768,-32768, 484,-32768,-32768,-32768,-32768,-32768, 1358, 3229, -32768,-32768, 330, 534,-32768,-32768, 534, 71,-32768, 196, 196, 670, 670,-32768, 65,-32768, 518,-32768,-32768,-32768, -32768, 531, 449, 408,-32768, 612,-32768,-32768,-32768,-32768, 500, 869,-32768, 4257, 4801, 144, 4856, 4535, 198, 2800, -32768, 106, 469, 1383, 52, 415, 471,-32768, 1579, 472, 480,-32768, 458, 3940, 515,-32768, 490, 42,-32768, 1193, 5127,-32768, 482, 465, 129,-32768,-32768,-32768,-32768, 1450, -32768,-32768, 100, 100, 5036, 5036,-32768,-32768,-32768,-32768, -32768,-32768, 326,-32768,-32768, 496, 91, 497,-32768, 494, 504, 507,-32768,-32768,-32768, 577,-32768, 542, 548,-32768, 377,-32768, 2385,-32768, 2385,-32768, 4257,-32768, 532, 4257, -32768,-32768, 205,-32768, 519, 533, 373, 537,-32768, 547, -32768,-32768, 2725, 4257, 4257, 2470, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257, 4257,-32768,-32768,-32768,-32768, 3940, 4257,-32768, 391, 565, 458,-32768, 621, 4257, 4257, 1960, 4440, 551, 108, 4257, 370, 616,-32768,-32768, 3940,-32768,-32768,-32768, 550,-32768, 47, 554,-32768, 923, 923, 467, 553,-32768, 560, 923, 83, 3290,-32768, 534, 609, 607,-32768,-32768, 4201, 262, -32768, 196,-32768, 196,-32768,-32768, 460,-32768, 4588, 327, 327, 576,-32768,-32768, 611, 500, 612,-32768,-32768,-32768, -32768, 5168, 281,-32768,-32768, 224, 4257, 4257, 1955, 315, 216,-32768, 210, 1955, 416, 219, 623, 625, 627, 579, -32768,-32768, 74,-32768, 547,-32768,-32768, 547,-32768, 2300, 600, 29, 3940, 605,-32768,-32768, 115,-32768,-32768, 604, 228, 628,-32768,-32768, 630, 634, 4257, 668, 641, 646, 4062, 377, 736,-32768,-32768, 666,-32768, 3662,-32768, 735, -32768,-32768,-32768, 516, 590, 312, 312, 933, 1705, 3351, -32768, 2300,-32768,-32768,-32768,-32768,-32768,-32768, 680, 4257, 377, 678, 548, 696, 698, 695, 106, 123, 707,-32768, -32768, 703, 4123, 3940,-32768, 5127, 5127, 5127,-32768,-32768, 748, 3008, 1580, 1608, 1385, 1662, 1016, 957, 1222, 789, 789, 649, 649,-32768,-32768,-32768, 718, 714, 720, 3940, 2300,-32768,-32768,-32768, 721, 758, 726, 373, 728, 2045, -32768, 3940, 458,-32768, 51,-32768,-32768,-32768,-32768, 3940, 4257, 739, 740, 745, 743, 3940, 923, 330, 330,-32768, -32768,-32768, 330, 746,-32768, 747,-32768, 333, 5047, 5047, 751, 4899,-32768,-32768,-32768, 196,-32768,-32768, 1790,-32768, -32768, 869,-32768,-32768, 4257, 5127, 5127, 755, 327, 4909, -32768, 756,-32768, 3426, 3479, 3532,-32768,-32768,-32768,-32768, -32768, 761, 3940, 2130,-32768,-32768,-32768, 4257, 754, 3818, 3879, 4257, 435,-32768,-32768,-32768,-32768, 762, 766,-32768, 782, 3818,-32768,-32768,-32768,-32768, 2555, 2555,-32768,-32768, -32768,-32768, 271, 100, 100, 651, 778, 171, 781,-32768, 783,-32768, 1875, 5127,-32768,-32768, 780, 4206, 4206, 4257, 82,-32768,-32768, 2300,-32768, 786, 4257,-32768,-32768,-32768, 796,-32768,-32768,-32768,-32768, 797, 4257,-32768, 801,-32768, -32768, 802, 798, 3940,-32768, 3940, 804, 330,-32768,-32768, 4899, 65, 808, 250, 815, 2300,-32768, 5127, 36,-32768, 294, 4257, 4257, 408,-32768, 44, 2853, 2906, 2959,-32768, 822,-32768,-32768, 3818, 823, 4257, 897, 828,-32768, 832, -32768, 834,-32768, 4257, 3818,-32768,-32768, 106,-32768, 3818, 837, 840, 312, 312,-32768,-32768, 933,-32768,-32768,-32768, -32768,-32768, 835, 265, 842,-32768,-32768,-32768, 883,-32768, 5200,-32768,-32768,-32768,-32768,-32768,-32768, 857, 858,-32768, -32768,-32768,-32768,-32768,-32768, 4257, 5127, 5127, 327,-32768, -32768,-32768,-32768, 864,-32768,-32768, 1535,-32768,-32768, 3818, 898,-32768, 54,-32768,-32768,-32768, 312, 312,-32768,-32768, -32768, 2215, 870,-32768,-32768, 5127,-32768, 3818,-32768, 877, 871, 3740, 3818,-32768,-32768, 946, 874, 2640, 2640,-32768, -32768, 3818, 4257,-32768,-32768,-32768, 3818, 886, 15, 917, -32768,-32768, 884, 885,-32768, 888,-32768, 4257, 946, 890, 946,-32768,-32768, 892, 889, 189,-32768,-32768, 3818, 3818, -32768,-32768, 958, 895,-32768,-32768,-32768, 267,-32768, 974, 902,-32768,-32768, 985, 987,-32768 }; static const short yypgoto[] = {-32768, 906,-32768,-32768, 989,-32768,-32768,-32768,-32768, -2, 979, 990,-32768,-32768,-32768,-32768, 944,-32768,-32768, 495, 98, -238,-32768, 759, -99, -103, 544,-32768, 199, 638,-32768, -32768,-32768,-32768,-32768, -13,-32768, 830, 235,-32768, -12, -1, 55, 925, 181, 988, 749, -116, -14, 18, 961, 10, -72,-32768,-32768, 825,-32768,-32768,-32768, -166, 303, 520,-32768,-32768,-32768, 489,-32768,-32768, 757, 581,-32768, -32768, 70, -295, 753,-32768,-32768, 683, 508, -85, -230, 1019, 114, -192, 522, 304, -150, -231, 234, 1021, 309, -35, -42,-32768,-32768, 151,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768, -667, 200,-32768, 201,-32768, -90,-32768, 803, -217, 943,-32768, -141, 777 }; #define YYLAST 5265 static const short yytable[] = { 13, 13, 204, 366, 62, 93, 343, 344, 244, 13, 96, 290, 221, 332, 56, 502, 74, 188, 188, 442, 19, 19, 255, 434, 277, 189, 437, 328, 86, 19, 791, 792, 323, 104, 19, 137, 155, 156, 446, 465, 466, 56, 438, 422, 170, 103, 104, 465, 466, 190, 103, 104, 461, 463, 740, 139, 23, 17, 17, 56, 141, 19, 193, 215, 889, 215, 17, 379, 465, 466, 202, 93, 380, 320, 196, 37, 38, 39, 214, 19, 215, 317, 24, 215, 467, 21, 22, 37, 38, 39, 19, 215, 467, 145, 171, 172, 890, 393, 147, 286, 56, -1, 432, 866, 324, 242, 239, 142, 157, 360, 361, 613, 614, 467, 439, 95, 440, 358, 825, 440, 19, 204, 624, 441, 362, 254, 830, 147, 440, 278, 185, -167, 106, 506, 287, 867, 393, 216, 288, 386, 277, 188, 188, 338, 37, 38, 39, 166, 336, 337, 103, 104, 455, 544, 545, 668, 144, 147, 154, -2, 674, 146, 97, 808, -455, 420, 305, 289, 393, 314, 62, 449, 554, 186, -167, 207, 208, 29, 66, 447, 56, 198, 199, 18, 18, 239, 19, 55, 484, 316, 26, 105, 18, 485, 622, 99, 214, 158, 675, 98, 19, 883, 884, 205, 101, 314, 722, 242, 421, 422, 37, 38, 39, 628, 629, 220, 393, 102, 158, 633, 182, 511, 475, 307, 148, 316, 147, 254, 446, 67, 497, 498, 499, 432, 159, -323, 242, 68, 903, 645, 206, 37, 38, 39, 69, 70, 71, 205, 137, 72, 107, 44, 800, 148, -323, 211, 254, -323, 45, 158, 453, 660, 147, 300, 660, 101, 153, 56, 419, 372, 904, 171, 172, 655, 386, 327, 386, 677, 566, 615, 439, 500, 239, 148, 341, 469, -323, 19, 564, 569, 565, 167, 179, 188, 174, 393, 342, 580, 661, 503, 519, 663, 93, 90, 91, 19, 490, 495, 305, 34, 393, 175, 910, 597, 345, 346, 66, 51, 598, 279, 180, 209, 88, 217, 147, 36, 795, 607, 19, 647, 648, 822, 623, 599, 796, 101, 40, 219, 314, 223, 170, 609, 147, 826, 669, 572, 850, 149, 911, 308, 548, 259, 148, 636, 704, 705, 171, 172, 316, -43, 260, 634, 328, 654, -43, 307, 261, 701, 197, 641, 285, 242, 435, 242, 179, 702, 149, 293, 444, 445, 103, 104, 69, 70, 71, 450, 712, 703, 148, 171, 172, 254, 296, 254, 300, 284, 748, 90, 91, 658, 481, 549, 550, 34, 662, 451, 452, 551, 628, 629, 672, 633, 176, 312, -52, -52, 137, 186, 659, 36, 89, 90, 91, 659, 242, 322, 514, 34, 683, 339, 40, 382, 688, 170, 384, 732, 139, 618, 619, 389, 453, 170, 391, 36, 254, 620, 621, 280, 281, 56, 148, 711, 473, 474, 40, -52, -52, 56, 291, 709, -45, 546, 547, 643, 644, -45, 600, 383, 148, 19, 383, 726, 502, 502, 502, 383, 354, 19, 383, 160, 104, 161, 162, 163, 783, 784, -52, 202, -52, 363, 435, 308, 202, 89, 90, 91, 364, 731, 367, 372, 34, 381, 280, 281, 164, 392, 147, 19, 773, 739, 393, 386, 19, 418, 147, 215, 36, 742, 760, 165, 748, 436, 743, 747, 365, 443, 53, 40, 468, -170, -170, -170, -170, 48, 366, 472, 314, -170, 87, 625, 90, 91, 451, 452, 147, 477, 34, 314, 630, 147, 504, -170, 507, -170, 721, 435, 316, 627, 509, 755, 512, 29, 36, 518, -170, 513, 736, 316, 145, -170, 771, 639, 640, 40, 642, 651, 48, 553, 555, 775, 556, 559, 780, 782, 87, 557, 462, 464, 558, 560, 824, 207, 208, 561, 37, 38, 39, 699, 580, 580, 570, 343, 344, 178, 147, 32, 262, 567, 242, 483, 327, 34, 601, 41, 571, 103, 104, 297, 573, 438, 422, 42, 574, 805, 602, 35, 612, 36, 254, 626, 689, 606, 148, 43, 631, 44, 146, 637, 40, -455, 148, 818, 45, 819, 298, 299, 632, 314, 638, 280, 281, 649, 37, 38, 39, 544, 545, 48, 650, 764, 87, 667, 305, 305, 305, 207, 208, 316, 87, 781, 148, 700, 664, 456, 665, 148, 666, 834, 314, 314, 673, 670, 19, 19, 19, 841, 773, 676, 857, 695, 314, 439, 829, 440, 178, 31, 32, 33, 316, 316, 569, 797, 34, 678, 147, 681, 37, 38, 39, 682, 316, 314, 409, 410, 411, 315, 35, 684, 36, 307, 307, 307, 48, 685, 334, 457, 549, 550, 686, 40, 148, 316, 798, 458, 767, 768, 769, 213, 90, 91, 266, 267, 268, 690, 34, 459, 270, 460, 693, 696, 757, 357, 751, 53, 45, 713, -20, -20, -20, -20, 36, 716, 48, 149, -20, 305, 305, 305, 147, 580, 580, 40, 314, 646, 886, 843, 87, 718, -20, 719, -20, 720, 624, 314, 723, 19, 19, 19, 314, 895, 52, -20, 316, 149, 52, 52, -166, 727, 149, 728, 729, 730, 733, 316, 412, 413, 734, 735, 316, 737, 414, 415, 416, 417, 744, 793, 794, 331, 746, 263, 52, 745, 307, 307, 307, 48, 738, 749, 87, 776, 148, 777, 752, 750, 48, 314, 759, 766, 314, 48, 52, 52, 770, 789, 786, 308, 308, 308, 787, 52, 407, 408, 409, 410, 411, 316, 314, 788, 316, 799, 314, 314, 801, 806, 374, 376, 378, 810, 334, 802, 314, 264, 103, 104, 478, 314, 316, 812, 813, 265, 316, 316, 815, 816, 817, 820, 266, 267, 268, 821, 316, 269, 270, 271, 148, 316, 823, 314, 314, 421, 422, 479, 480, 831, 833, 79, 80, 81, 82, 847, 848, 836, 835, 34, 838, 839, 849, 316, 316, 845, 52, 52, 846, 851, 568, 832, 263, 83, 852, 36, 279, 52, 37, 38, 39, 52, 842, 423, 854, 855, 40, 844, 482, 280, 281, 859, 291, 865, 308, 308, 308, 424, 873, 870, 874, 878, 882, 233, 234, 425, 334, 888, 891, 236, 237, 892, 893, 907, 331, 894, 902, 426, 897, 239, 901, 52, 52, 909, 264, 334, 427, 241, 52, 912, 913, 915, 265, 916, 347, 48, 27, 864, 20, 266, 267, 268, 348, 52, 269, 270, 271, 28, 183, 349, 350, 351, 218, 671, 352, 871, 210, 430, 335, 695, 876, 404, 405, 406, 407, 408, 409, 410, 411, 885, 194, 138, 454, 809, 887, 433, 355, 576, 577, 578, 433, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 905, 906, 717, 476, 563, 365, 140, 334, 652, 52, 52, 496, 603, 604, 79, 611, 81, 276, 617, 715, 706, 862, 34, 403, 404, 405, 406, 407, 408, 409, 410, 411, 52, 191, 52, 52, 83, 837, 36, 896, 470, 283, 898, 708, 0, 0, 0, 0, 0, 40, 0, 0, 29, 0, 0, 313, 279, 224, -20, -20, -20, -20, 225, 95, 145, 226, -20, 0, 334, 0, 0, 0, 52, 52, 0, 656, 657, 0, 0, 0, -20, 227, -20, 228, 229, 37, 38, 39, 0, 230, 37, 38, 39, -20, 334, 231, 0, 0, 331, 0, 0, 0, 0, 0, 41, 0, 334, 0, 0, 232, 433, 0, 42, 0, 334, 233, 234, 235, 0, 0, 334, 236, 237, 0, 43, 0, 44, 0, 0, 238, 0, 239, 146, 45, 0, -455, 0, 0, 240, 241, 331, 0, 0, 754, 329, 0, 224, -20, 714, -20, -20, 225, 95, 0, 226, -20, 616, 0, 0, 433, 0, 725, 0, 0, 0, 0, 0, 334, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 52, 330, 0, 331, 0, 0, 0, 0, 0, 0, 52, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 804, 0, 0, 236, 237, 0, 0, 0, 0, 52, 0, 238, 108, 239, 52, -20, 0, -20, -20, 515, 240, 241, 0, -20, 405, 406, 407, 408, 409, 410, 411, 334, 0, 334, 0, 0, 758, -20, 0, -20, 109, 110, 0, 0, 0, 0, 0, 0, 0, 0, -20, 111, 0, 0, 0, 331, 0, 112, 113, 114, 0, 0, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 0, 130, 131, 0, 0, 0, 0, 132, 0, 133, 134, 0, 29, 79, 80, 81, 82, 0, 135, 136, 0, 34, 725, 725, 807, 0, 0, 263, 331, 0, 0, 811, 0, 0, 145, 83, 0, 36, 0, 0, 0, 814, 0, 0, 0, 37, 38, 39, 40, 0, 0, 0, 0, 178, 31, 32, 505, 0, 741, 0, 331, 34, 0, 0, 41, 0, 827, 828, 0, 0, 0, 0, 42, 0, 0, 35, 0, 36, 0, 264, 0, 0, 52, 52, 43, 52, 44, 265, 40, 0, 0, 84, 0, 45, 266, 267, 268, 0, 0, 269, 270, 271, 146, 52, 0, -455, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 520, 0, 521, -20, -20, -20, -20, 225, 95, 0, 226, -20, 522, 856, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 331, 231, 0, 534, 186, 0, 0, 0, 178, 0, 32, 390, 0, 0, 0, 232, 34, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 35, 0, 36, 0, 0, 238, 0, 239, 52, 0, 0, 0, 535, 40, 240, 241, 861, 0, 521, -20, -20, -20, -20, 225, 95, 0, 226, -20, 522, 0, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 534, 186, 0, 0, 0, 178, 0, 32, 508, 0, 0, 0, 232, 34, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 35, 0, 36, 0, 0, 238, 0, 239, 0, 0, 0, 0, 535, 40, 240, 241, 356, 0, 224, -20, -20, -20, -20, 225, 95, 145, 226, -20, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 146, 0, 0, -455, 0, 0, 240, 241, 707, 0, 224, -20, -20, -20, -20, 225, 95, 145, 226, -20, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 146, 0, 0, -455, 0, 0, 240, 241, 753, 0, 224, -20, -20, -20, -20, 225, 95, 145, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 146, 0, 0, -455, 0, 0, 240, 241, 803, 0, 224, -20, -20, -20, -20, 225, 95, 145, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 146, 0, 0, -455, 0, 29, 240, 241, 605, 0, 224, -20, 145, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 37, 38, 39, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, -152, 0, 0, 0, 0, 0, 200, 0, 0, 0, 0, 232, 0, 0, 201, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 43, 0, 44, 146, 0, 238, -455, 239, 0, 45, 0, 606, 0, 0, 240, 241, 385, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, -128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 738, 0, 0, 240, 241, 329, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 772, 240, 241, 329, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, -242, 240, 241, 329, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 330, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 385, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, -128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 579, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, -445, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 579, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 0, -445, 0, 240, 241, 579, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, -445, 0, 0, 240, 241, 575, 0, 224, -20, 0, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 303, 239, -20, -20, -20, -20, -20, 0, 240, 241, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, 0, 0, -268, -268, -268, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 303, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 501, -268, -20, -270, -270, -270, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 303, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 501, -270, -20, -269, -269, -269, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 303, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 501, -269, -20, -271, -271, -271, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 53, 0, 304, -20, -20, -20, -20, 0, -20, 0, 0, -20, 0, 0, 0, 4, -20, -20, -20, -20, -20, -20, 54, 0, 0, -20, -20, -20, -20, 0, -20, 0, 0, 0, 0, 501, -271, -20, -20, 5, -20, 0, -20, -166, 0, 6, 0, 0, 55, 0, -20, -20, -20, -20, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 0, -20, 303, 0, -20, -20, -20, -20, -20, -20, 0, 0, 0, -20, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, 7, 8, -20, 9, -20, -20, 0, 0, -267, -267, -267, 224, -20, -20, -20, -20, 225, 95, 0, 226, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 0, -20, 0, 0, 0, 227, 0, 228, 229, -20, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, -20, 0, -20, 0, 0, 0, 0, 0, -267, -20, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 318, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 359, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 448, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 635, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 303, 239, -20, -20, -20, -20, -20, 0, 240, 241, 710, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, 0, 0, -273, -273, -273, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 303, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 0, -273, -20, -272, -272, -272, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 303, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 0, -272, -20, -274, -274, -274, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 304, 0, 0, 0, 0, 4, -20, -20, -20, -20, -20, -20, 0, 0, -20, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, -20, 0, -20, 0, -274, -20, 0, 0, 0, 0, -20, -20, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, 0, 0, 0, 0, 0, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, 0, 7, 521, 0, 9, 0, -20, 225, 95, 0, 226, 0, 522, 0, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 534, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 521, 535, 694, 240, 241, 225, 95, 0, 226, 0, 522, 0, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 534, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 521, 535, 875, 240, 241, 225, 95, 0, 226, 0, 522, 0, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 534, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 535, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 779, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, -78, 0, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 377, 239, 0, 0, 0, 0, 0, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 687, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 724, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 238, 0, 239, 0, 0, 0, 456, 0, 0, 240, 241, 224, -20, 145, -20, -20, 225, 95, 0, 226, -20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, 227, -20, 228, 229, 37, 38, 39, 0, 230, 37, 38, 39, -20, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 457, 0, 0, 0, 224, 0, 0, 0, 458, 225, 95, 0, 226, 0, 0, 266, 267, 268, 0, 0, 459, 270, 460, 146, 0, 238, -455, 239, 227, 45, 228, 229, 0, 0, 240, 241, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 238, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 373, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 0, 0, 0, 0, 0, 233, 234, 235, 224, 0, 0, 236, 237, 225, 95, 0, 226, 0, 0, 375, 0, 239, 0, 0, 0, 0, 0, 0, 240, 241, 0, 0, 227, 0, 228, 229, 0, 0, 0, 0, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 232, 0, 0, 0, 225, 95, 233, 234, 235, 0, 0, 0, 236, 237, 0, 0, 0, 0, 0, 0, 610, 0, 239, 0, 0, 0, 229, 0, 0, 240, 241, 230, 37, 38, 39, 0, 0, 231, 0, 0, 0, 0, 0, 486, 493, 80, 81, 82, 0, 0, 0, 232, 34, 0, 0, 0, 0, 233, 234, 235, 0, 0, 0, 236, 237, 0, 83, 0, 36, 0, 0, 238, 0, 239, 0, 0, 37, 38, 39, 40, 240, 241, 0, 487, 0, 0, 0, 0, 0, 488, 0, 0, 0, 0, 0, 67, 456, 178, 31, 32, 33, 0, 0, 68, 0, 34, 0, 0, 0, 0, 69, 70, 71, 0, 0, 494, 0, 44, 0, 35, 0, 36, 0, 0, 45, 0, 0, 0, 0, 37, 38, 39, 40, 0, 0, 169, 0, 0, -39, -39, -39, -39, 0, 0, 0, 0, -39, 0, 457, 0, 0, 0, 0, 0, 0, 0, 458, -39, 0, 170, -39, 0, -39, 266, 267, 268, 0, 0, 459, 270, 460, 0, 0, -39, 0, 0, 0, 45, -39, -215, 0, -215, 0, -39, 0, 0, 0, 0, 29, 79, 80, 81, 82, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 171, 172, 83, 0, 36, 0, 0, -215, 0, 0, 0, 0, 37, 38, 39, 40, 0, 0, 212, 0, 0, -38, -38, -38, -38, 0, 0, 0, 0, -38, 0, 41, 0, 0, 0, 0, 0, 0, 0, 42, -38, 0, 170, -38, 0, -38, 29, 30, 31, 32, 33, 43, 0, 44, 0, 34, -38, 0, 195, 0, 45, -38, -215, 0, -215, 0, -38, 0, 0, 35, 0, 36, 0, 0, 0, 0, 0, 0, 0, 37, 38, 39, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 171, 172, 0, 0, 0, 0, 41, -215, 29, 178, 31, 32, 33, 0, 42, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 43, 0, 44, 0, 0, 35, 0, 36, 0, 45, 0, 0, 0, 0, 0, 37, 38, 39, 40, 0, 0, 203, 0, 0, -37, -37, -37, -37, 0, 0, 0, 0, -37, 0, 41, 0, 0, 486, 66, 0, 0, 0, 42, -37, 0, 170, -37, 0, -37, 0, 0, 0, 0, 0, 43, 0, 44, 0, 0, -37, 0, 0, 0, 45, -37, -215, 0, -215, 0, -37, 37, 38, 39, 0, 0, 0, 0, 487, 0, 0, 456, -470, 0, 488, 279, 0, 0, 0, 0, 67, 761, 66, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, -215, 0, 69, 70, 71, 0, 0, 489, 0, 44, 0, 37, 38, 39, 0, 0, 45, 0, 0, 0, 0, 37, 38, 39, 0, 0, 0, 0, 762, 0, 457, 29, 66, 0, 763, 0, 0, 0, 458, 0, 67, 0, 0, 0, 0, 266, 267, 268, 68, 0, 459, 270, 460, 0, 0, 69, 70, 71, 0, 45, 72, 0, 44, 0, 37, 38, 39, 0, 0, 45, 0, 0, 0, 29, 66, 0, 0, 0, 0, 0, 0, 0, 0, 67, 0, 0, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0, 69, 70, 71, 0, 0, 72, 0, 44, 37, 38, 39, 0, 73, 0, 45, 0, 0, 29, 66, 0, 0, 279, 0, 0, 0, 0, 0, 67, 456, 0, 0, 0, 279, 0, 0, 68, 0, 0, 0, 0, 0, 0, 69, 70, 71, 0, 0, 72, 0, 44, 37, 38, 39, 0, 192, 0, 45, 0, 0, 0, 0, 37, 38, 39, 0, 0, 0, 263, 79, 67, 81, 276, 0, 0, 0, 0, 34, 68, 0, 0, 457, 0, 0, 0, 69, 70, 71, 0, 458, 72, 83, 44, 36, 0, 0, 266, 267, 268, 45, 0, 459, 270, 460, 40, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 178, 31, 32, 33, 0, 0, 0, 265, 34, 0, 0, 0, 0, 0, 266, 267, 268, 0, 0, 269, 270, 271, 35, 0, 36, 0, 0, 0, 0, 0, 0, 394, 395, 396, 0, 40, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 347, 0, 0, 0, 0, 0, 0, 0, 348, 0, 0, 0, 0, 0, 0, 349, 350, 351, 0, 0, 352, 394, 395, 396, 0, 0, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 396, 0, 653, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411 }; static const short yycheck[] = { 2, 3, 74, 220, 16, 19, 198, 199, 107, 11, 23, 152, 102, 179, 16, 310, 17, 59, 60, 257, 2, 3, 107, 253, 140, 60, 256, 177, 18, 11, 697, 698, 3, 4, 16, 37, 3, 4, 269, 3, 4, 43, 3, 4, 25, 3, 4, 3, 4, 61, 3, 4, 282, 283, 3, 37, 75, 2, 3, 61, 28, 43, 63, 9, 49, 9, 11, 39, 3, 4, 72, 85, 44, 172, 64, 36, 37, 38, 92, 61, 9, 171, 3, 9, 48, 82, 83, 36, 37, 38, 72, 9, 48, 10, 75, 76, 81, 45, 43, 10, 102, 0, 252, 49, 75, 107, 77, 75, 75, 208, 209, 3, 4, 48, 75, 9, 77, 207, 82, 77, 102, 193, 75, 84, 209, 107, 82, 72, 77, 142, 1, 1, 34, 81, 45, 81, 45, 81, 49, 238, 256, 183, 184, 185, 36, 37, 38, 49, 183, 184, 3, 4, 81, 345, 346, 81, 42, 102, 44, 0, 45, 78, 45, 81, 81, 250, 168, 78, 45, 171, 182, 270, 81, 44, 44, 75, 76, 3, 4, 269, 182, 67, 68, 2, 3, 77, 168, 49, 44, 171, 44, 44, 11, 49, 432, 83, 210, 45, 83, 82, 182, 868, 869, 45, 41, 207, 83, 209, 3, 4, 36, 37, 38, 444, 445, 101, 45, 75, 45, 450, 82, 324, 294, 168, 43, 207, 171, 209, 459, 55, 32, 33, 34, 383, 82, 25, 238, 63, 49, 469, 82, 36, 37, 38, 70, 71, 72, 45, 250, 75, 75, 77, 81, 72, 44, 82, 238, 47, 84, 45, 274, 45, 207, 165, 45, 41, 4, 269, 250, 41, 81, 75, 76, 49, 373, 177, 375, 49, 377, 429, 75, 83, 77, 102, 82, 287, 76, 269, 373, 84, 375, 44, 47, 335, 82, 45, 82, 396, 82, 312, 335, 82, 316, 6, 7, 287, 307, 308, 310, 12, 45, 3, 45, 416, 200, 201, 4, 13, 417, 7, 75, 75, 18, 3, 269, 28, 55, 426, 310, 470, 471, 81, 435, 418, 63, 41, 39, 4, 340, 44, 25, 426, 287, 49, 510, 387, 81, 43, 81, 168, 352, 49, 171, 452, 546, 547, 75, 76, 340, 44, 81, 451, 512, 82, 49, 310, 86, 55, 64, 459, 81, 373, 75, 375, 47, 63, 72, 81, 264, 265, 3, 4, 70, 71, 72, 271, 552, 75, 207, 75, 76, 373, 49, 375, 296, 81, 627, 6, 7, 489, 302, 75, 76, 12, 494, 75, 76, 81, 639, 640, 513, 642, 1, 75, 3, 4, 418, 44, 490, 28, 5, 6, 7, 495, 426, 47, 328, 12, 527, 83, 39, 232, 531, 25, 235, 601, 418, 67, 68, 240, 454, 25, 243, 28, 426, 75, 76, 143, 144, 451, 269, 550, 3, 4, 39, 44, 45, 459, 154, 549, 44, 347, 348, 3, 4, 49, 75, 232, 287, 451, 235, 574, 767, 768, 769, 240, 47, 459, 243, 3, 4, 5, 6, 7, 49, 50, 75, 489, 77, 82, 75, 310, 494, 5, 6, 7, 83, 600, 81, 41, 12, 3, 198, 199, 28, 81, 451, 489, 674, 612, 45, 610, 494, 75, 459, 9, 28, 620, 659, 43, 751, 81, 621, 626, 220, 41, 1, 39, 10, 4, 5, 6, 7, 13, 751, 4, 538, 12, 18, 441, 6, 7, 75, 76, 489, 45, 12, 549, 81, 494, 81, 26, 81, 28, 567, 75, 538, 443, 86, 649, 45, 3, 28, 81, 39, 75, 608, 549, 10, 44, 673, 457, 458, 39, 460, 477, 56, 81, 81, 678, 86, 4, 681, 682, 64, 81, 282, 283, 81, 47, 756, 75, 76, 45, 36, 37, 38, 81, 697, 698, 81, 793, 794, 4, 549, 6, 7, 75, 610, 305, 512, 12, 47, 55, 81, 3, 4, 5, 81, 3, 4, 63, 75, 713, 3, 26, 75, 28, 610, 75, 532, 81, 451, 75, 81, 77, 78, 28, 39, 81, 459, 744, 84, 746, 32, 33, 86, 649, 41, 345, 346, 75, 36, 37, 38, 847, 848, 137, 47, 660, 140, 82, 664, 665, 666, 75, 76, 649, 148, 681, 489, 81, 49, 3, 49, 494, 49, 776, 680, 681, 75, 81, 664, 665, 666, 784, 852, 83, 829, 538, 692, 75, 764, 77, 4, 5, 6, 7, 680, 681, 84, 703, 12, 75, 649, 75, 36, 37, 38, 75, 692, 713, 63, 64, 65, 171, 26, 49, 28, 664, 665, 666, 202, 82, 180, 55, 75, 76, 82, 39, 549, 713, 81, 63, 664, 665, 666, 5, 6, 7, 70, 71, 72, 7, 12, 75, 76, 77, 82, 14, 652, 207, 638, 1, 84, 75, 4, 5, 6, 7, 28, 83, 242, 459, 12, 767, 768, 769, 713, 868, 869, 39, 774, 469, 873, 788, 256, 81, 26, 81, 28, 86, 75, 785, 81, 767, 768, 769, 790, 888, 13, 39, 774, 489, 17, 18, 44, 49, 494, 81, 86, 81, 81, 785, 67, 68, 48, 81, 790, 81, 73, 74, 75, 76, 75, 701, 702, 179, 75, 3, 43, 81, 767, 768, 769, 305, 81, 81, 308, 75, 649, 680, 81, 86, 314, 837, 81, 81, 840, 319, 63, 64, 81, 692, 82, 664, 665, 666, 82, 72, 61, 62, 63, 64, 65, 837, 858, 75, 840, 81, 862, 863, 81, 83, 226, 227, 228, 81, 324, 86, 872, 55, 3, 4, 5, 877, 858, 81, 81, 63, 862, 863, 81, 81, 86, 81, 70, 71, 72, 81, 872, 75, 76, 77, 713, 877, 81, 899, 900, 3, 4, 32, 33, 81, 81, 4, 5, 6, 7, 795, 796, 83, 15, 12, 82, 81, 81, 899, 900, 82, 143, 144, 82, 81, 380, 774, 3, 26, 45, 28, 7, 154, 36, 37, 38, 158, 785, 41, 81, 81, 39, 790, 304, 639, 640, 81, 642, 49, 767, 768, 769, 55, 75, 83, 83, 9, 82, 61, 62, 63, 416, 75, 45, 67, 68, 81, 81, 9, 330, 81, 81, 75, 82, 77, 82, 198, 199, 82, 55, 435, 84, 85, 205, 9, 82, 0, 63, 0, 55, 469, 11, 840, 3, 70, 71, 72, 63, 220, 75, 76, 77, 11, 58, 70, 71, 72, 100, 512, 75, 858, 85, 252, 182, 862, 863, 58, 59, 60, 61, 62, 63, 64, 65, 872, 63, 37, 277, 724, 877, 252, 205, 393, 394, 395, 257, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 899, 900, 563, 296, 371, 751, 37, 513, 477, 282, 283, 308, 424, 425, 4, 427, 6, 7, 430, 561, 548, 837, 12, 57, 58, 59, 60, 61, 62, 63, 64, 65, 305, 62, 307, 308, 26, 778, 28, 889, 287, 148, 891, 549, -1, -1, -1, -1, -1, 39, -1, -1, 3, -1, -1, 1, 7, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, -1, 574, -1, -1, -1, 345, 346, -1, 487, 488, -1, -1, -1, 26, 27, 28, 29, 30, 36, 37, 38, -1, 35, 36, 37, 38, 39, 600, 41, -1, -1, 510, -1, -1, -1, -1, -1, 55, -1, 612, -1, -1, 55, 383, -1, 63, -1, 620, 61, 62, 63, -1, -1, 626, 67, 68, -1, 75, -1, 77, -1, -1, 75, -1, 77, 78, 84, -1, 81, -1, -1, 84, 85, 552, -1, -1, 649, 1, -1, 3, 4, 560, 6, 7, 8, 9, -1, 11, 12, 429, -1, -1, 432, -1, 573, -1, -1, -1, -1, -1, 673, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, 459, 44, -1, 601, -1, -1, -1, -1, -1, -1, 469, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 713, -1, -1, 67, 68, -1, -1, -1, -1, 489, -1, 75, 1, 77, 494, 4, -1, 6, 7, 83, 84, 85, -1, 12, 59, 60, 61, 62, 63, 64, 65, 744, -1, 746, -1, -1, 655, 26, -1, 28, 29, 30, -1, -1, -1, -1, -1, -1, -1, -1, 39, 40, -1, -1, -1, 674, -1, 46, 47, 48, -1, -1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, -1, -1, -1, -1, 73, -1, 75, 76, -1, 3, 4, 5, 6, 7, -1, 84, 85, -1, 12, 718, 719, 720, -1, -1, 3, 724, -1, -1, 727, -1, -1, 10, 26, -1, 28, -1, -1, -1, 737, -1, -1, -1, 36, 37, 38, 39, -1, -1, -1, -1, 4, 5, 6, 7, -1, 615, -1, 756, 12, -1, -1, 55, -1, 762, 763, -1, -1, -1, -1, 63, -1, -1, 26, -1, 28, -1, 55, -1, -1, 639, 640, 75, 642, 77, 63, 39, -1, -1, 82, -1, 84, 70, 71, 72, -1, -1, 75, 76, 77, 78, 660, -1, 81, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 1, -1, 3, 4, 5, 6, 7, 8, 9, -1, 11, 12, 13, 826, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, 852, 41, -1, 43, 44, -1, -1, -1, 4, -1, 6, 7, -1, -1, -1, 55, 12, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, 26, -1, 28, -1, -1, 75, -1, 77, 751, -1, -1, -1, 82, 39, 84, 85, 1, -1, 3, 4, 5, 6, 7, 8, 9, -1, 11, 12, 13, -1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, 43, 44, -1, -1, -1, 4, -1, 6, 7, -1, -1, -1, 55, 12, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, 26, -1, 28, -1, -1, 75, -1, 77, -1, -1, -1, -1, 82, 39, 84, 85, 1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, 78, -1, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, 78, -1, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, 78, -1, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, 78, -1, -1, 81, -1, 3, 84, 85, 1, -1, 3, 4, 10, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 36, 37, 38, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, 55, -1, -1, 63, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, 75, -1, 77, 78, -1, 75, 81, 77, -1, 84, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, 83, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, 83, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, -1, 82, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 81, -1, -1, 84, 85, 1, -1, 3, 4, -1, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, 1, 77, 3, 4, 5, 6, 7, -1, 84, 85, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, -1, 28, -1, -1, -1, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, 82, 83, 84, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, 82, 83, 84, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, 82, 83, 84, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, 1, -1, 49, 4, 5, 6, 7, -1, 55, -1, -1, 12, -1, -1, -1, 1, 63, 3, 4, 5, 6, 7, 23, -1, -1, 26, 12, 28, 75, -1, 77, -1, -1, -1, -1, 82, 83, 84, 39, 25, 26, -1, 28, 44, -1, 31, -1, -1, 49, -1, 36, 37, 38, 39, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 55, 1, -1, 3, 4, 5, 6, 7, 63, -1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 79, 80, 26, 82, 28, 84, -1, -1, 32, 33, 34, 3, 36, 37, 38, 39, 8, 9, -1, 11, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, -1, 55, -1, -1, -1, 27, -1, 29, 30, 63, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, 75, -1, 77, -1, -1, -1, -1, -1, 83, 84, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 86, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 86, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 86, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, 86, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, 1, 77, 3, 4, 5, 6, 7, -1, 84, 85, 86, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, -1, 28, -1, -1, -1, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, -1, 83, 84, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, -1, 83, 84, 32, 33, 34, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, 1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 26, -1, 28, -1, 83, 84, -1, -1, -1, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 79, 3, -1, 82, -1, 84, 8, 9, -1, 11, -1, 13, -1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, 43, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 3, 82, 83, 84, 85, 8, 9, -1, 11, -1, 13, -1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, 43, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 3, 82, 83, 84, 85, 8, 9, -1, 11, -1, 13, -1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, 43, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, 82, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, 82, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, 81, -1, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, 76, 77, -1, -1, -1, -1, -1, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, 82, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 3, -1, -1, 84, 85, 3, 4, 10, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 36, 37, 38, -1, 35, 36, 37, 38, 39, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, 3, -1, -1, -1, 63, 8, 9, -1, 11, -1, -1, 70, 71, 72, -1, -1, 75, 76, 77, 78, -1, 75, 81, 77, 27, 84, 29, 30, -1, -1, 84, 85, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, 61, 62, 63, 3, -1, -1, 67, 68, 8, 9, -1, 11, -1, -1, 75, -1, 77, -1, -1, -1, -1, -1, -1, 84, 85, -1, -1, 27, -1, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 55, -1, -1, -1, 8, 9, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, -1, 30, -1, -1, 84, 85, 35, 36, 37, 38, -1, -1, 41, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, -1, -1, -1, 55, 12, -1, -1, -1, -1, 61, 62, 63, -1, -1, -1, 67, 68, -1, 26, -1, 28, -1, -1, 75, -1, 77, -1, -1, 36, 37, 38, 39, 84, 85, -1, 43, -1, -1, -1, -1, -1, 49, -1, -1, -1, -1, -1, 55, 3, 4, 5, 6, 7, -1, -1, 63, -1, 12, -1, -1, -1, -1, 70, 71, 72, -1, -1, 75, -1, 77, -1, 26, -1, 28, -1, -1, 84, -1, -1, -1, -1, 36, 37, 38, 39, -1, -1, 1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, -1, 55, -1, -1, -1, -1, -1, -1, -1, 63, 23, -1, 25, 26, -1, 28, 70, 71, 72, -1, -1, 75, 76, 77, -1, -1, 39, -1, -1, -1, 84, 44, 45, -1, 47, -1, 49, -1, -1, -1, -1, 3, 4, 5, 6, 7, -1, -1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, 76, 26, -1, 28, -1, -1, 82, -1, -1, -1, -1, 36, 37, 38, 39, -1, -1, 1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, -1, 55, -1, -1, -1, -1, -1, -1, -1, 63, 23, -1, 25, 26, -1, 28, 3, 4, 5, 6, 7, 75, -1, 77, -1, 12, 39, -1, 82, -1, 84, 44, 45, -1, 47, -1, 49, -1, -1, 26, -1, 28, -1, -1, -1, -1, -1, -1, -1, 36, 37, 38, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, 76, -1, -1, -1, -1, 55, 82, 3, 4, 5, 6, 7, -1, 63, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, 26, -1, 28, -1, 84, -1, -1, -1, -1, -1, 36, 37, 38, 39, -1, -1, 1, -1, -1, 4, 5, 6, 7, -1, -1, -1, -1, 12, -1, 55, -1, -1, 3, 4, -1, -1, -1, 63, 23, -1, 25, 26, -1, 28, -1, -1, -1, -1, -1, 75, -1, 77, -1, -1, 39, -1, -1, -1, 84, 44, 45, -1, 47, -1, 49, 36, 37, 38, -1, -1, -1, -1, 43, -1, -1, 3, 4, -1, 49, 7, -1, -1, -1, -1, 55, 3, 4, -1, -1, -1, -1, -1, 63, -1, -1, -1, -1, 82, -1, 70, 71, 72, -1, -1, 75, -1, 77, -1, 36, 37, 38, -1, -1, 84, -1, -1, -1, -1, 36, 37, 38, -1, -1, -1, -1, 43, -1, 55, 3, 4, -1, 49, -1, -1, -1, 63, -1, 55, -1, -1, -1, -1, 70, 71, 72, 63, -1, 75, 76, 77, -1, -1, 70, 71, 72, -1, 84, 75, -1, 77, -1, 36, 37, 38, -1, -1, 84, -1, -1, -1, 3, 4, -1, -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, 70, 71, 72, -1, -1, 75, -1, 77, 36, 37, 38, -1, 82, -1, 84, -1, -1, 3, 4, -1, -1, 7, -1, -1, -1, -1, -1, 55, 3, -1, -1, -1, 7, -1, -1, 63, -1, -1, -1, -1, -1, -1, 70, 71, 72, -1, -1, 75, -1, 77, 36, 37, 38, -1, 82, -1, 84, -1, -1, -1, -1, 36, 37, 38, -1, -1, -1, 3, 4, 55, 6, 7, -1, -1, -1, -1, 12, 63, -1, -1, 55, -1, -1, -1, 70, 71, 72, -1, 63, 75, 26, 77, 28, -1, -1, 70, 71, 72, 84, -1, 75, 76, 77, 39, -1, -1, -1, -1, -1, 84, -1, -1, -1, -1, -1, -1, -1, -1, -1, 55, 4, 5, 6, 7, -1, -1, -1, 63, 12, -1, -1, -1, -1, -1, 70, 71, 72, -1, -1, 75, 76, 77, 26, -1, 28, -1, -1, -1, -1, -1, -1, 46, 47, 48, -1, 39, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 55, -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, 70, 71, 72, -1, -1, 75, 46, 47, 48, -1, -1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, -1, 82, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65 }; #define YYPURE 1 /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984 Bob Corbett and Richard Stallman This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) #include #endif /* This is the parser code that is written into each bison parser when the %semantic_parser declaration is not specified in the grammar. It was written by Richard Stallman by simplifying the hairy parser used when %semantic_parser is specified. */ /* Note: there must be only one dollar sign in this file. It is replaced by the list of actions, each action as one case of the switch. */ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY -2 #define YYEOF 0 #define YYFAIL goto yyerrlab; #define YYACCEPT return(0) #define YYABORT return(1) #define YYERROR goto yyerrlab #define YYTERROR 1 #ifndef YYIMPURE #define YYLEX yylex() #endif #ifndef YYPURE #define YYLEX yylex(&yylval, &yylloc) #endif /* If nonreentrant, generate the variables here */ #ifndef YYIMPURE int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ /* lookahead symbol */ YYLTYPE yylloc; /* location data for the lookahead */ /* symbol */ int yynerrs; /* number of parse errors so far */ #endif /* YYIMPURE */ #if YYDEBUG != 0 int yydebug; /* nonzero means print parse trace */ /* Since this is uninitialized, it does not stop multiple parsers from coexisting. */ #endif /* YYMAXDEPTH indicates the initial size of the parser's stacks */ #ifndef YYMAXDEPTH #define YYMAXDEPTH 200 #endif /* YYMAXLIMIT is the maximum size the stacks can grow to (effective only if the built-in stack extension method is used). */ #ifndef YYMAXLIMIT #define YYMAXLIMIT 10000 #endif #line 175 "bison.simple" int yyparse() { register int yystate; register int yyn; register short *yyssp; register YYSTYPE *yyvsp; YYLTYPE *yylsp; int yyerrstatus; /* number of tokens to shift before error messages enabled */ int yychar1; /* lookahead token as an internal (translated) token number */ short yyssa[YYMAXDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYMAXDEPTH]; /* the semantic value stack */ YYLTYPE yylsa[YYMAXDEPTH]; /* the location stack */ short *yyss = yyssa; /* refer to the stacks thru separate pointers */ YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ YYLTYPE *yyls = yylsa; int yymaxdepth = YYMAXDEPTH; #ifndef YYPURE int yychar; YYSTYPE yylval; YYLTYPE yylloc; int yynerrs; #endif YYSTYPE yyval; /* the variable used to return */ /* semantic values from the action */ /* routines */ int yylen; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Starting parse\n"); #endif yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. */ yyssp = yyss - 1; yyvsp = yyvs; yylsp = yyls; /* Push a new state, which is found in yystate . */ /* In all cases, when you get here, the value and location stacks have just been pushed. so pushing a state here evens the stacks. */ yynewstate: *++yyssp = yystate; if (yyssp >= yyss + yymaxdepth - 1) { /* Give user a chance to reallocate the stack */ /* Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; YYLTYPE *yyls1 = yyls; short *yyss1 = yyss; /* Get the current used size of the three stacks, in elements. */ int size = yyssp - yyss + 1; #ifdef yyoverflow /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. */ yyoverflow("parser stack overflow", &yyss1, size * sizeof (*yyssp), &yyvs1, size * sizeof (*yyvsp), &yyls1, size * sizeof (*yylsp), &yymaxdepth); yyss = yyss1; yyvs = yyvs1; yyls = yyls1; #else /* no yyoverflow */ /* Extend the stack our own way. */ if (yymaxdepth >= YYMAXLIMIT) yyerror("parser stack overflow"); yymaxdepth *= 2; if (yymaxdepth > YYMAXLIMIT) yymaxdepth = YYMAXLIMIT; yyss = (short *) alloca (yymaxdepth * sizeof (*yyssp)); bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); yyvs = (YYSTYPE *) alloca (yymaxdepth * sizeof (*yyvsp)); bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED yyls = (YYLTYPE *) alloca (yymaxdepth * sizeof (*yylsp)); bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); #endif #endif /* no yyoverflow */ yyssp = yyss + size - 1; yyvsp = yyvs + size - 1; #ifdef YYLSP_NEEDED yylsp = yyls + size - 1; #endif #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Stack size increased to %d\n", yymaxdepth); #endif if (yyssp >= yyss + yymaxdepth - 1) YYABORT; } #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Entering state %d\n", yystate); #endif /* Do appropriate processing given the current state. */ /* Read a lookahead token if we need one and don't already have one. */ yyresume: /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYFLAG) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* yychar is either YYEMPTY or YYEOF or a valid token in external form. */ if (yychar == YYEMPTY) { #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Reading a token: "); #endif yychar = YYLEX; } /* Convert token to internal form (in yychar1) for indexing tables with */ if (yychar <= 0) /* This means end of input. */ { yychar1 = 0; yychar = YYEOF; /* Don't call YYLEX any more */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Now at end of input.\n"); #endif } else { yychar1 = YYTRANSLATE(yychar); #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Next token is %d (%s)\n", yychar, yytname[yychar1]); #endif } yyn += yychar1; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) goto yydefault; yyn = yytable[yyn]; /* yyn is what to do for this token type in this state. Negative => reduce, -yyn is rule number. Positive => shift, yyn is new state. New state is final state => don't bother to shift, just return success. 0, or most negative number => error. */ if (yyn < 0) { if (yyn == YYFLAG) goto yyerrlab; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); #endif /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; #ifdef YYLSP_NEEDED *++yylsp = yylloc; #endif /* count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; yystate = yyn; goto yynewstate; /* Do the default action for the current state. */ yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; /* Do a reduction. yyn is the number of a rule to reduce with. */ yyreduce: yylen = yyr2[yyn]; yyval = yyvsp[1-yylen]; /* implement default value of the action */ #if YYDEBUG != 0 if (yydebug) { if (yylen == 1) fprintf (stderr, "Reducing 1 value via line %d, ", yyrline[yyn]); else fprintf (stderr, "Reducing %d values via line %d, ", yylen, yyrline[yyn]); } #endif switch (yyn) { case 2: #line 188 "cplus-pa.y" { finish_file (); ; break;} case 3: #line 196 "cplus-pa.y" {yyval.ttype = NULL_TREE; ; break;} case 5: #line 197 "cplus-pa.y" {yyval.ttype = NULL_TREE; ; break;} case 7: #line 202 "cplus-pa.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 8: #line 204 "cplus-pa.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 10: #line 207 "cplus-pa.y" { if (pedantic) warning ("ANSI C forbids use of `asm' keyword"); if (TREE_CHAIN (yyvsp[-2].ttype)) yyvsp[-2].ttype = combine_strings (yyvsp[-2].ttype); assemble_asm (yyvsp[-2].ttype); ; break;} case 11: #line 212 "cplus-pa.y" { push_lang_context (yyvsp[-1].ttype); ; break;} case 12: #line 214 "cplus-pa.y" { pop_lang_context (); ; break;} case 13: #line 216 "cplus-pa.y" { push_lang_context (yyvsp[-2].ttype); pop_lang_context (); ; break;} case 14: #line 219 "cplus-pa.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 15: #line 222 "cplus-pa.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 16: #line 228 "cplus-pa.y" { push_lang_context (yyvsp[0].ttype); ; break;} case 18: #line 235 "cplus-pa.y" { declare_overloaded (yyvsp[0].ttype); ; break;} case 19: #line 237 "cplus-pa.y" { declare_overloaded (yyvsp[0].ttype); ; break;} case 20: #line 241 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 21: #line 246 "cplus-pa.y" { if (pedantic) error ("ANSI C forbids data definition lacking type or storage class"); else if (! flag_traditional) warning ("data definition lacks type or storage class"); ; break;} case 22: #line 251 "cplus-pa.y" {; break;} case 23: #line 253 "cplus-pa.y" {; break;} case 24: #line 255 "cplus-pa.y" { error ("empty declaration"); ; break;} case 25: #line 257 "cplus-pa.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 29: #line 265 "cplus-pa.y" { finish_function (lineno, 1); /* finish_function performs these three statements: expand_end_bindings (getdecls (), 1, 0); poplevel (1, 1, 0); expand_end_bindings (0, 0, 0); poplevel (0, 0, 1); */ ; break;} case 30: #line 277 "cplus-pa.y" { finish_function (lineno, 1); /* finish_function performs these three statements: expand_end_bindings (getdecls (), 1, 0); poplevel (1, 1, 0); expand_end_bindings (0, 0, 0); poplevel (0, 0, 1); */ ; break;} case 31: #line 289 "cplus-pa.y" { finish_function (lineno, 0); ; break;} case 32: #line 291 "cplus-pa.y" { finish_function (lineno, 0); ; break;} case 33: #line 295 "cplus-pa.y" { finish_function (lineno, 0); ; break;} case 34: #line 299 "cplus-pa.y" {; break;} case 35: #line 301 "cplus-pa.y" {; break;} case 36: #line 303 "cplus-pa.y" {; break;} case 37: #line 308 "cplus-pa.y" { if (! start_function (yyvsp[-1].ttype, yyvsp[0].ttype, 0)) YYERROR; reinit_parse_for_function (); ; break;} case 38: #line 312 "cplus-pa.y" { if (! start_function (yyvsp[-1].ttype, yyvsp[0].ttype, 0)) YYERROR; reinit_parse_for_function (); ; break;} case 39: #line 316 "cplus-pa.y" { if (! start_function (NULL_TREE, yyvsp[0].ttype, 0)) YYERROR; reinit_parse_for_function (); ; break;} case 40: #line 320 "cplus-pa.y" { if (! start_function (NULL_TREE, build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype), 0)) YYERROR; reinit_parse_for_function (); ; break;} case 41: #line 324 "cplus-pa.y" { start_function (NULL_TREE, yyvsp[0].ttype, 1); reinit_parse_for_function (); ; break;} case 42: #line 331 "cplus-pa.y" { tree decl = build_nt (CALL_EXPR, TREE_VALUE (yyvsp[-3].ttype), yyvsp[-1].ttype); yyval.ttype = start_method (TREE_CHAIN (yyvsp[-3].ttype), decl); if (! yyval.ttype) YYERROR; if (yychar == YYEMPTY) yychar = YYLEX; reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 43: #line 340 "cplus-pa.y" { yyval.ttype = start_method (yyvsp[-1].ttype, yyvsp[0].ttype); if (! yyval.ttype) YYERROR; if (yychar == YYEMPTY) yychar = YYLEX; reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 44: #line 347 "cplus-pa.y" { tree decl = build_nt (CALL_EXPR, TREE_VALUE (yyvsp[-3].ttype), yyvsp[-1].ttype); yyval.ttype = start_method (TREE_CHAIN (yyvsp[-3].ttype), decl); if (! yyval.ttype) YYERROR; if (yychar == YYEMPTY) yychar = YYLEX; reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 45: #line 356 "cplus-pa.y" { yyval.ttype = start_method (yyvsp[-1].ttype, yyvsp[0].ttype); if (! yyval.ttype) YYERROR; if (yychar == YYEMPTY) yychar = YYLEX; reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 46: #line 363 "cplus-pa.y" { yyval.ttype = start_method (NULL_TREE, yyvsp[0].ttype); if (! yyval.ttype) YYERROR; if (yychar == YYEMPTY) yychar = YYLEX; reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 47: #line 372 "cplus-pa.y" { if (! current_function_parms_stored) store_parm_decls (); yyval.ttype = yyvsp[0].ttype; ; break;} case 48: #line 380 "cplus-pa.y" { extern tree value_identifier; tree result; result = DECL_RESULT (current_function_decl); if (DECL_NAME (result) == value_identifier) DECL_NAME (result) = yyvsp[-1].ttype; else error ("return identifier `%s' already in place", IDENTIFIER_POINTER (DECL_NAME (result))); store_return_init (yyvsp[0].ttype); ; break;} case 49: #line 393 "cplus-pa.y" { extern tree value_identifier; tree result; result = DECL_RESULT (current_function_decl); if (DECL_NAME (result) == value_identifier) DECL_NAME (result) = yyvsp[-3].ttype; else error ("return identifier `%s' already in place", IDENTIFIER_POINTER (DECL_NAME (result))); store_return_init (yyvsp[-1].ttype); ; break;} case 50: #line 409 "cplus-pa.y" { if (yyvsp[0].itype == 0) error ("no base initializers given following ':'"); setup_vtbl_ptr (); ; break;} case 51: #line 413 "cplus-pa.y" { setup_vtbl_ptr (); ; break;} case 52: #line 418 "cplus-pa.y" { char *errmsg = NULL; if (current_class_name == NULL_TREE) errmsg = "base initializers not allowed here"; else if (! DECL_CONSTRUCTOR_P (current_function_decl)) errmsg = "only constructors take base initializers"; if (! current_function_parms_stored) store_parm_decls (); if (DECL_CONSTRUCTOR_P (current_function_decl)) { /* Make a contour for the initializer list. */ pushlevel (0); clear_last_expr (); expand_start_bindings (0); } if (errmsg) { error (errmsg); yyerrstatus = 3; YYERROR; } ; break;} case 53: #line 448 "cplus-pa.y" { yyval.itype = 0; ; break;} case 54: #line 450 "cplus-pa.y" { yyval.itype = 1; ; break;} case 56: #line 456 "cplus-pa.y" { #if 0 warning ("old style base class initialization; use `%s (...)'", IDENTIFIER_POINTER (current_class_name)); #endif if (yyvsp[-1].ttype == NULL_TREE) yyvsp[-1].ttype = void_type_node; expand_member_init (C_C_D, NULL_TREE, yyvsp[-1].ttype); ; break;} case 57: #line 466 "cplus-pa.y" { if (yyvsp[-1].ttype == NULL_TREE) yyvsp[-1].ttype = void_type_node; expand_member_init (C_C_D, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 58: #line 472 "cplus-pa.y" { tree basetype, base; tree member, scopes = yyvsp[-4].ttype; if (yyvsp[-1].ttype == NULL_TREE) yyvsp[-1].ttype = void_type_node; if (TREE_CODE (scopes) == SCOPE_REF) /* just a pain to do this right now. */ abort (); if (! is_aggr_typedef_or_else (scopes)) break; basetype = get_base_type (TREE_TYPE (TREE_TYPE (scopes)), current_class_type, 1); if (basetype == error_mark_node) break; if (basetype == 0) { error_not_derived_type (TREE_TYPE (TREE_TYPE (scopes)), current_class_type); break; } base = convert_to_nonzero_pointer (basetype, current_class_decl); expand_member_init (build_indirect_ref (base), yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 63: #line 507 "cplus-pa.y" { yyval.ttype = hack_operator (yyvsp[0].ttype); ; break;} case 64: #line 509 "cplus-pa.y" { yyval.ttype = hack_wrapper (yyvsp[-1].itype, NULL_TREE, yyvsp[0].ttype); ; break;} case 65: #line 511 "cplus-pa.y" { yyval.ttype = hack_wrapper (yyvsp[-1].itype, NULL_TREE, yyvsp[0].ttype); ; break;} case 66: #line 513 "cplus-pa.y" { yyval.ttype = hack_wrapper (yyvsp[-1].itype, NULL_TREE, yyvsp[0].ttype); ; break;} case 67: #line 515 "cplus-pa.y" { yyval.ttype = hack_wrapper (yyvsp[-2].itype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 68: #line 517 "cplus-pa.y" { yyval.ttype = hack_wrapper (yyvsp[-2].itype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 69: #line 521 "cplus-pa.y" { yyval.itype = 0; ; break;} case 70: #line 523 "cplus-pa.y" { yyval.itype = 1; ; break;} case 71: #line 525 "cplus-pa.y" { yyval.itype = 2; ; break;} case 72: #line 529 "cplus-pa.y" { yyval.code = NEGATE_EXPR; ; break;} case 73: #line 531 "cplus-pa.y" { yyval.code = CONVERT_EXPR; ; break;} case 74: #line 533 "cplus-pa.y" { yyval.code = PREINCREMENT_EXPR; ; break;} case 75: #line 535 "cplus-pa.y" { yyval.code = PREDECREMENT_EXPR; ; break;} case 76: #line 537 "cplus-pa.y" { yyval.code = TRUTH_NOT_EXPR; ; break;} case 77: #line 541 "cplus-pa.y" { yyval.ttype = build_compound_expr (yyvsp[0].ttype); ; break;} case 78: #line 546 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 80: #line 552 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 81: #line 554 "cplus-pa.y" { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 82: #line 556 "cplus-pa.y" { chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, error_mark_node)); ; break;} case 83: #line 561 "cplus-pa.y" { if (TREE_CODE (yyvsp[0].ttype) == TYPE_EXPR) yyval.ttype = build_component_type_expr (C_C_D, yyvsp[0].ttype, NULL_TREE, 1); else yyval.ttype = yyvsp[0].ttype; ; break;} case 84: #line 568 "cplus-pa.y" { yyval.ttype = build_x_indirect_ref (yyvsp[0].ttype, "unary *"); ; break;} case 85: #line 570 "cplus-pa.y" { yyval.ttype = build_x_unary_op (ADDR_EXPR, yyvsp[0].ttype); ; break;} case 86: #line 572 "cplus-pa.y" { yyval.ttype = build_x_unary_op (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 87: #line 574 "cplus-pa.y" { yyval.ttype = build_x_unary_op (yyvsp[-1].code, yyvsp[0].ttype); if (yyvsp[-1].code == NEGATE_EXPR && TREE_CODE (yyvsp[0].ttype) == INTEGER_CST) TREE_NEGATED_INT (yyval.ttype) = 1; ; break;} case 89: #line 583 "cplus-pa.y" { tree type = groktypename (yyvsp[-2].ttype); yyval.ttype = build_c_cast (type, yyvsp[0].ttype); ; break;} case 90: #line 586 "cplus-pa.y" { tree type = groktypename (yyvsp[-5].ttype); if (pedantic) warning ("ANSI C forbids constructor-expressions"); yyval.ttype = digest_init (type, build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)), 0); if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0) { int failure = complete_array_type (type, yyval.ttype, 1); assert (!failure); } ; break;} case 92: #line 601 "cplus-pa.y" { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF && TREE_PACKED (TREE_OPERAND (yyvsp[0].ttype, 1))) error ("sizeof applied to a bit-field"); yyval.ttype = cplus_sizeof (TREE_TYPE (yyvsp[0].ttype)); ; break;} case 93: #line 606 "cplus-pa.y" { yyval.ttype = cplus_sizeof (groktypename (yyvsp[-1].ttype)); ; break;} case 94: #line 608 "cplus-pa.y" { if (TREE_CODE (yyvsp[0].ttype) == COMPONENT_REF && TREE_PACKED (TREE_OPERAND (yyvsp[0].ttype, 1))) error ("__alignof applied to a bit-field"); yyval.ttype = c_alignof (TREE_TYPE (yyvsp[0].ttype)); ; break;} case 95: #line 613 "cplus-pa.y" { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ttype)); ; break;} case 96: #line 617 "cplus-pa.y" { tree expr = convert_from_reference (yyvsp[0].ttype); tree type = TREE_TYPE (expr); if (TREE_CODE (type) != POINTER_TYPE) { error ("non-pointer type to `delete'"); yyval.ttype = error_mark_node; } else yyval.ttype = build_delete (type, expr, integer_one_node, 1); ; break;} case 97: #line 629 "cplus-pa.y" { tree maxindex = build_binary_op (MINUS_EXPR, yyvsp[-2].ttype, integer_one_node); tree exp = convert_from_reference (yyvsp[0].ttype); tree elt_size = cplus_sizeof (TREE_TYPE (exp)); if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == ';') { /* This is an optimization that allows vector delete to be called as an inline function. */ expand_vec_delete (exp, maxindex, elt_size, NULL_TREE, integer_one_node, integer_zero_node); yyval.ttype = error_mark_node; } else { yyval.ttype = build_vec_delete (exp, maxindex, elt_size, NULL_TREE, integer_one_node, integer_zero_node); } ; break;} case 98: #line 653 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 99: #line 655 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 100: #line 657 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 101: #line 659 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 102: #line 661 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 103: #line 663 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 104: #line 665 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 105: #line 667 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 106: #line 669 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 107: #line 671 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 108: #line 673 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 109: #line 675 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 110: #line 677 "cplus-pa.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 111: #line 679 "cplus-pa.y" { yyval.ttype = build_x_binary_op (TRUTH_ANDIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 112: #line 681 "cplus-pa.y" { yyval.ttype = build_x_binary_op (TRUTH_ORIF_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 113: #line 683 "cplus-pa.y" { yyval.ttype = build_x_conditional_expr (yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 114: #line 685 "cplus-pa.y" { yyval.ttype = build_modify_expr (yyvsp[-2].ttype, NOP_EXPR, yyvsp[0].ttype); ; break;} case 115: #line 687 "cplus-pa.y" { register tree rval; if (rval = build_opfncall (MODIFY_EXPR, yyvsp[-2].ttype, yyvsp[0].ttype, yyvsp[-1].code)) yyval.ttype = rval; else yyval.ttype = build_modify_expr (yyvsp[-2].ttype, yyvsp[-1].code, yyvsp[0].ttype); ; break;} case 116: #line 695 "cplus-pa.y" { yyval.ttype = build_m_component_ref (yyvsp[-2].ttype, build_x_indirect_ref (yyvsp[0].ttype, "unary *")); ; break;} case 117: #line 697 "cplus-pa.y" { yyval.ttype = build_m_component_ref (yyvsp[-2].ttype, build_x_unary_op (ADDR_EXPR, yyvsp[0].ttype)); ; break;} case 118: #line 699 "cplus-pa.y" { yyval.ttype = build_m_component_ref (yyvsp[-2].ttype, build_x_unary_op (BIT_NOT_EXPR, yyvsp[0].ttype)); ; break;} case 119: #line 701 "cplus-pa.y" { yyval.ttype = build_m_component_ref (yyvsp[-2].ttype, build_x_unary_op (yyvsp[-1].code, yyvsp[0].ttype)); ; break;} case 120: #line 703 "cplus-pa.y" { tree type = groktypename (yyvsp[-2].ttype); yyval.ttype = build_m_component_ref (yyvsp[-4].ttype, build_c_cast (type, yyvsp[0].ttype)); ; break;} case 121: #line 706 "cplus-pa.y" { yyval.ttype = build_m_component_ref (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 122: #line 711 "cplus-pa.y" { yyval.ttype = lastiddecl; if (yychar == YYEMPTY) yychar = YYLEX; if (!yyval.ttype || yyval.ttype == error_mark_node) { if (yychar == '(') { yyval.ttype = implicitly_declare (yyvsp[0].ttype); assemble_external (yyval.ttype); TREE_USED (yyval.ttype) = 1; } else if (current_function_decl == 0) { error ("`%s' undeclared, outside of functions", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = error_mark_node; } else { if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl) { error ("`%s' was not declared (first use this function)", IDENTIFIER_POINTER (yyvsp[0].ttype)); if (! undeclared_variable_notice) { error ("(Each undeclared identifier is reported only once"); error ("for each function it appears in.)"); undeclared_variable_notice = 1; } } yyval.ttype = error_mark_node; /* Prevent repeated error messages. */ IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node; IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) = current_function_decl; } } /* TREE_USED is set in `hack_identifier'. */ if (TREE_CODE (yyval.ttype) == CONST_DECL) yyval.ttype = DECL_INITIAL (yyval.ttype); else yyval.ttype = hack_identifier (yyval.ttype, yyvsp[0].ttype, yychar); ; break;} case 123: #line 754 "cplus-pa.y" { yyval.ttype = hack_operator (yyvsp[0].ttype); ; break;} case 125: #line 757 "cplus-pa.y" { yyval.ttype = combine_strings (yyvsp[0].ttype); ; break;} case 126: #line 759 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 127: #line 761 "cplus-pa.y" { yyval.ttype = error_mark_node; ; break;} case 128: #line 763 "cplus-pa.y" { if (current_function_decl == 0) { error ("braced-group within expression allowed only inside a function"); YYERROR; } yyval.ttype = expand_start_stmt_expr (); ; break;} case 129: #line 770 "cplus-pa.y" { if (pedantic) warning ("ANSI C forbids braced-groups within expressions"); yyval.ttype = expand_end_stmt_expr (yyvsp[-2].ttype); ; break;} case 130: #line 774 "cplus-pa.y" { yyval.ttype = build_x_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype, current_class_decl); ; break;} case 131: #line 776 "cplus-pa.y" { do_array: { tree type = TREE_TYPE (yyvsp[-3].ttype); if (type == error_mark_node) yyval.ttype = error_mark_node; else if (type == NULL_TREE) { /* Something has gone very wrong. Assume we are mistakenly reducing an expression instead of a declaration. */ error ("parser may be lost: is there a '{' missing somewhere?"); yyval.ttype = NULL_TREE; } else { if (TREE_CODE (type) == OFFSET_TYPE) type = TREE_TYPE (type); if (TREE_CODE (type) == REFERENCE_TYPE) type = TREE_TYPE (type); if (IS_AGGR_TYPE (type) && (TYPE_OVERLOADS_ARRAY_REF(TYPE_MAIN_VARIANT (type)))) yyval.ttype = build_opfncall (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); else if (TREE_CODE(type) == POINTER_TYPE || TREE_CODE(type) == ARRAY_TYPE) yyval.ttype = build_array_ref (yyvsp[-3].ttype, yyvsp[-1].ttype); else error("[] applied to non-pointer type"); } } ; break;} case 132: #line 809 "cplus-pa.y" { yyval.ttype = build_component_ref (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE, 1); ; break;} case 133: #line 811 "cplus-pa.y" { do_scoped_member: { tree basetype = (TREE_CODE (yyvsp[-1].ttype) == SCOPE_REF) ? TREE_OPERAND (yyvsp[-1].ttype, 1) : yyvsp[-1].ttype; if (is_aggr_typedef_or_else (basetype)) { basetype = TREE_TYPE (TREE_TYPE (basetype)); if (yyvsp[-2].ttype == error_mark_node) yyval.ttype = error_mark_node; else if (basetype == TYPE_MAIN_VARIANT (TREE_TYPE (yyvsp[-2].ttype)) || get_base_type (basetype, TYPE_MAIN_VARIANT (TREE_TYPE (yyvsp[-2].ttype)), 0)) { yyval.ttype = build_component_ref (build_scoped_ref (yyvsp[-2].ttype, yyvsp[-1].ttype), yyvsp[0].ttype, NULL_TREE, 1); } else { error_not_derived_type (basetype, TREE_TYPE (yyvsp[-2].ttype)); yyval.ttype = error_mark_node; } } else yyval.ttype = error_mark_node; } ; break;} case 134: #line 836 "cplus-pa.y" { yyval.ttype = build_x_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype); ; break;} case 135: #line 838 "cplus-pa.y" { yyval.ttype = build_x_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype); ; break;} case 136: #line 842 "cplus-pa.y" { if (current_class_decl) { #ifdef WARNING_ABOUT_CCD TREE_USED (current_class_decl) = 1; #endif yyval.ttype = current_class_decl; } else if (current_function_decl && DECL_STATIC_FUNCTION_P (current_function_decl)) { error ("`this' is unavailable for static member functions"); yyval.ttype = error_mark_node; } else { error ("request for `this' not in a class, struct, or union"); yyval.ttype = error_mark_node; } ; break;} case 137: #line 862 "cplus-pa.y" { do_functional_cast: { tree type; tree id = yyvsp[-3].ttype; int i; /* This is a C cast in C++'s `functional' notation. */ if (yyvsp[-1].ttype == error_mark_node) { yyval.ttype = error_mark_node; break; } if (yyvsp[-1].ttype == NULL_TREE) { error ("cannot cast null list to type `%s'", IDENTIFIER_POINTER (TYPE_NAME (yyvsp[-3].ttype))); yyval.ttype = error_mark_node; break; } if (type == error_mark_node) yyval.ttype = error_mark_node; else { if (id == ridpointers[(int) RID_CONST]) type = build_type_variant (integer_type_node, 1, 0); else if (id == ridpointers[(int) RID_VOLATILE]) type = build_type_variant (integer_type_node, 0, 1); else if (id == ridpointers[(int) RID_FRIEND]) { error ("cannot cast expression to `friend' type"); yyval.ttype = error_mark_node; break; } else abort (); yyval.ttype = build_c_cast (type, build_compound_expr (yyvsp[-1].ttype)); } } ; break;} case 138: #line 902 "cplus-pa.y" { do_functional_cast2: { /* This is either a call to a constructor, or a C cast in C++'s `functional' notation. */ tree tem, type; if (yyvsp[-1].ttype == error_mark_node) { yyval.ttype = error_mark_node; break; } if (TREE_CODE (yyvsp[-3].ttype) == IDENTIFIER_NODE) { if (! TREE_TYPE (yyvsp[-3].ttype)) { type = lookup_name (yyvsp[-3].ttype); if (!type || TREE_CODE (type) != TYPE_DECL) { error ("`%s' fails to be a typedef or built-in type", IDENTIFIER_POINTER (yyvsp[-3].ttype)); yyval.ttype = error_mark_node; break; } type = TREE_TYPE (type); } else /* Either an enum or an aggregate type. */ type = TREE_TYPE (TREE_TYPE (yyvsp[-3].ttype)); } else type = yyvsp[-3].ttype; if (! IS_AGGR_TYPE (type)) { /* this must build a C cast */ if (yyvsp[-1].ttype == NULL_TREE) { error ("cannot cast null list to type `%s'", IDENTIFIER_POINTER (yyvsp[-3].ttype)); yyval.ttype = error_mark_node; break; } yyval.ttype = build_c_cast (type, build_compound_expr (yyvsp[-1].ttype)); } else { /* Call to a consructor. If this expression is actually used, for example, return X (arg1, arg2, ...); then the slot being initialized will be filled in. */ tree name = DECL_NAME (TYPE_NAME (type)); if (! TYPE_NEEDS_CONSTRUCTOR (type)) { error ("type `%s' does not have a constructor", IDENTIFIER_POINTER (name)); yyval.ttype = error_mark_node; break; } else if (! TYPE_HAS_CONSTRUCTOR (type)) { /* Look through this type until we find the base type which has a constructor. */ do { int i, index = 0, win = 0; while (CLASSTYPE_N_BASECLASSES (type) == 1 && ! TYPE_HAS_CONSTRUCTOR (type)) type = CLASSTYPE_BASECLASS (type, 1); if (TYPE_HAS_CONSTRUCTOR (type)) break; /* Hack for MI. */ i = CLASSTYPE_N_BASECLASSES (type); while (i > 0) { if (TYPE_HAS_CONSTRUCTOR (CLASSTYPE_BASECLASS (type, i))) { if (index == 0) index = i; else { error ("multiple base classes with constructor, ambiguous"); type = 0; break; } } i -= 1; } if (type == 0) break; } while (! TYPE_HAS_CONSTRUCTOR (type)); if (type == 0) { yyval.ttype = error_mark_node; break; } name = DECL_NAME (TYPE_NAME (type)); } yyval.ttype = build_method_call (NULL_TREE, name, yyvsp[-1].ttype, NULL_TREE, LOOKUP_NORMAL); if (yyval.ttype != error_mark_node) { yyval.ttype = build (NEW_EXPR, type, TREE_OPERAND (yyval.ttype, 0), TREE_OPERAND (yyval.ttype, 1)); TREE_ADDRESSABLE (yyval.ttype) = 1; } } } ; break;} case 139: #line 1014 "cplus-pa.y" { do_scoped_identifier: yyval.ttype = IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype); if (yychar == YYEMPTY) yychar = YYLEX; if (! yyval.ttype) { if (yychar == '(') { yyval.ttype = implicitly_declare (yyvsp[0].ttype); } else { if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node) error ("undeclared variable `%s' (first use here)", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = error_mark_node; /* Prevent repeated error messages. */ IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) = error_mark_node; } } else if (TREE_CODE (yyval.ttype) == CONST_DECL) yyval.ttype = DECL_INITIAL (yyval.ttype); ; break;} case 140: #line 1039 "cplus-pa.y" { yyval.ttype = build_member_ref (yyvsp[-1].ttype, yyvsp[0].ttype, 0); ; break;} case 141: #line 1041 "cplus-pa.y" { yyval.ttype = build_member_call (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, 0); ; break;} case 142: #line 1043 "cplus-pa.y" { yyval.ttype = build_member_ref (yyvsp[-2].ttype, yyvsp[0].ttype, 1); ; break;} case 143: #line 1045 "cplus-pa.y" { yyval.ttype = build_member_call (yyvsp[-5].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, 1); ; break;} case 144: #line 1048 "cplus-pa.y" { yyval.ttype = build_method_call (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE, (LOOKUP_NORMAL|LOOKUP_AGGR)); ; break;} case 145: #line 1051 "cplus-pa.y" { /* Because this syntactic form does not allow a pointer to a base class to be `stolen', we need not protect the drived->base conversion that happens here. @@ But we do have to check visibility privileges later. */ tree basename = (TREE_CODE (yyvsp[-4].ttype) == SCOPE_REF) ? TREE_OPERAND (yyvsp[-4].ttype, 1) : yyvsp[-4].ttype; /* This is how virtual function calls are avoided. */ if (yyvsp[-5].ttype != error_mark_node && is_aggr_typedef_or_else (basename)) { tree basetype = TREE_TYPE (TREE_TYPE (basename)); if (basetype == TYPE_MAIN_VARIANT (TREE_TYPE (yyvsp[-5].ttype)) || (basetype = get_base_type (basetype, TYPE_MAIN_VARIANT (TREE_TYPE (yyvsp[-5].ttype)), 0))) { tree decl; if (basetype == error_mark_node) { yyval.ttype = error_mark_node; break; } if (TREE_CODE (yyvsp[-5].ttype) == INDIRECT_REF) decl = convert (TYPE_POINTER_TO (basetype), build_unary_op (ADDR_EXPR, yyvsp[-5].ttype, 0)); else decl = build_scoped_ref (yyvsp[-5].ttype, yyvsp[-4].ttype); yyval.ttype = build_method_call (decl, yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE, LOOKUP_NORMAL|LOOKUP_NONVIRTUAL); } else { error_not_derived_type (TREE_TYPE (TREE_TYPE (basename)), TREE_TYPE (yyvsp[-5].ttype)); yyval.ttype = error_mark_node; } } else yyval.ttype = error_mark_node; ; break;} case 146: #line 1094 "cplus-pa.y" { yyval.ttype = build_new (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 147: #line 1096 "cplus-pa.y" { yyval.ttype = build_new (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 148: #line 1098 "cplus-pa.y" { yyval.ttype = build_new (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 149: #line 1100 "cplus-pa.y" { yyval.ttype = build_new (yyvsp[-3].ttype, yyvsp[-1].ttype, NULL_TREE); ; break;} case 150: #line 1105 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 151: #line 1107 "cplus-pa.y" { yyval.ttype = error_mark_node; ; break;} case 152: #line 1109 "cplus-pa.y" { if (current_function_decl == 0) { error ("braced-group within expression allowed only inside a function"); YYERROR; } yyval.ttype = expand_start_stmt_expr (); ; break;} case 153: #line 1116 "cplus-pa.y" { if (pedantic) warning ("ANSI C forbids braced-groups within expressions"); yyval.ttype = expand_end_stmt_expr (yyvsp[-2].ttype); ; break;} case 154: #line 1120 "cplus-pa.y" { yyval.ttype = build_x_function_call (yyvsp[-3].ttype, yyvsp[-1].ttype, current_class_decl); ; break;} case 155: #line 1122 "cplus-pa.y" { goto do_array; ; break;} case 156: #line 1124 "cplus-pa.y" { yyval.ttype = build_x_unary_op (POSTINCREMENT_EXPR, yyvsp[-1].ttype); ; break;} case 157: #line 1126 "cplus-pa.y" { yyval.ttype = build_x_unary_op (POSTDECREMENT_EXPR, yyvsp[-1].ttype); ; break;} case 158: #line 1128 "cplus-pa.y" { goto do_scoped_identifier; ; break;} case 159: #line 1132 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 160: #line 1134 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 161: #line 1136 "cplus-pa.y" { yyval.ttype = void_type_node; ; break;} case 162: #line 1138 "cplus-pa.y" { yyval.ttype = combine_strings (yyvsp[-1].ttype); ; break;} case 164: #line 1145 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 165: #line 1149 "cplus-pa.y" { goto do_xdecls; ; break;} case 166: #line 1153 "cplus-pa.y" { do_xdecls: if (! current_function_parms_stored) store_parm_decls (); setup_vtbl_ptr (); ; break;} case 167: #line 1160 "cplus-pa.y" { warning ("Old style parameter specification frowned upon"); goto do_xdecls; ; break;} case 168: #line 1165 "cplus-pa.y" { if (yyvsp[-1].ttype == error_mark_node) yyval.ttype = error_mark_node; else { tree type = TREE_TYPE (yyvsp[-1].ttype); if (IS_AGGR_TYPE (type) || (TREE_CODE (type) == REFERENCE_TYPE && IS_AGGR_TYPE (TREE_TYPE (type)))) yyval.ttype = yyvsp[-1].ttype; else { error ("object in '.' expression is not of aggregate type"); yyval.ttype = error_mark_node; } } ; break;} case 169: #line 1184 "cplus-pa.y" { yyval.ttype = build_x_arrow (yyvsp[-1].ttype); ; break;} case 174: #line 1198 "cplus-pa.y" { resume_momentary (yyvsp[-1].itype); ; break;} case 175: #line 1200 "cplus-pa.y" { resume_momentary (yyvsp[-1].itype); ; break;} case 176: #line 1202 "cplus-pa.y" { shadow_tag (yyvsp[-1].ttype); ; break;} case 177: #line 1204 "cplus-pa.y" { warning ("empty declaration"); ; break;} case 180: #line 1221 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 181: #line 1223 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 182: #line 1225 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 183: #line 1227 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, chainon (yyvsp[0].ttype, yyvsp[-2].ttype)); ; break;} case 184: #line 1233 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 185: #line 1235 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 186: #line 1237 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 187: #line 1239 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 188: #line 1248 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 189: #line 1250 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 190: #line 1252 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 191: #line 1254 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 192: #line 1266 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 193: #line 1268 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 194: #line 1270 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 195: #line 1272 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[-1].ttype, chainon (yyvsp[0].ttype, yyvsp[-2].ttype)); ; break;} case 196: #line 1277 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 197: #line 1279 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 201: #line 1290 "cplus-pa.y" { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); if (pedantic) warning ("ANSI C forbids `typeof'"); ; break;} case 202: #line 1294 "cplus-pa.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); if (pedantic) warning ("ANSI C forbids `typeof'"); ; break;} case 206: #line 1308 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 207: #line 1310 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 208: #line 1312 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 209: #line 1314 "cplus-pa.y" { yyval.ttype = TREE_TYPE (yyvsp[-1].ttype); if (pedantic) warning ("ANSI C forbids `typeof'") ; break;} case 210: #line 1318 "cplus-pa.y" { yyval.ttype = groktypename (yyvsp[-1].ttype); if (pedantic) warning ("ANSI C forbids `typeof'") ; break;} case 215: #line 1335 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 216: #line 1337 "cplus-pa.y" { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); yyval.ttype = yyvsp[-1].ttype; if (pedantic) warning ("ANSI C forbids use of `asm' keyword"); ; break;} case 217: #line 1346 "cplus-pa.y" { current_declspecs = yyvsp[-3].ttype; yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_decl (yyvsp[-2].ttype, current_declspecs, 1); ; break;} case 218: #line 1351 "cplus-pa.y" { finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-3].ttype ? TREE_STRING_POINTER (yyvsp[-3].ttype) : 0); yyval.itype = yyvsp[-2].itype; ; break;} case 219: #line 1354 "cplus-pa.y" { tree d; current_declspecs = yyvsp[-2].ttype; yyval.itype = suspend_momentary (); d = start_decl (yyvsp[-1].ttype, current_declspecs, 0); finish_decl (d, NULL_TREE, yyvsp[0].ttype ? TREE_STRING_POINTER (yyvsp[0].ttype) : 0); ; break;} case 220: #line 1364 "cplus-pa.y" { yyval.ttype = start_decl (yyvsp[-2].ttype, current_declspecs, 1); ; break;} case 221: #line 1367 "cplus-pa.y" { finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-3].ttype ? TREE_STRING_POINTER (yyvsp[-3].ttype) : 0); ; break;} case 222: #line 1369 "cplus-pa.y" { tree d = start_decl (yyvsp[-1].ttype, current_declspecs, 0); finish_decl (d, NULL_TREE, yyvsp[0].ttype ? TREE_STRING_POINTER (yyvsp[0].ttype) : 0); ; break;} case 223: #line 1376 "cplus-pa.y" { current_declspecs = yyvsp[-3].ttype; yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_decl (yyvsp[-2].ttype, current_declspecs, 1); ; break;} case 224: #line 1381 "cplus-pa.y" { finish_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-3].ttype ? TREE_STRING_POINTER (yyvsp[-3].ttype) : 0); yyval.itype = yyvsp[-2].itype; ; break;} case 225: #line 1384 "cplus-pa.y" { tree d; current_declspecs = yyvsp[-2].ttype; yyval.itype = suspend_momentary (); d = start_decl (yyvsp[-1].ttype, current_declspecs, 0); finish_decl (d, NULL_TREE, yyvsp[0].ttype ? TREE_STRING_POINTER (yyvsp[0].ttype) : 0); ; break;} case 227: #line 1395 "cplus-pa.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE); if (pedantic) warning ("ANSI C forbids empty initializer braces"); ; break;} case 228: #line 1399 "cplus-pa.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); ; break;} case 229: #line 1401 "cplus-pa.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); ; break;} case 230: #line 1403 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 231: #line 1410 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 232: #line 1412 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 233: #line 1417 "cplus-pa.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (yyvsp[-1].ttype); ; break;} case 234: #line 1420 "cplus-pa.y" { yyval.ttype = finish_enum (yyvsp[-3].ttype, yyvsp[-2].ttype); resume_momentary (yyvsp[-6].itype); check_for_missing_semicolon (yyvsp[-3].ttype); ; break;} case 235: #line 1424 "cplus-pa.y" { yyvsp[0].itype = suspend_momentary (); yyval.ttype = start_enum (make_anon_name ()); ; break;} case 236: #line 1427 "cplus-pa.y" { yyval.ttype = finish_enum (yyvsp[-3].ttype, yyvsp[-2].ttype); resume_momentary (yyvsp[-5].itype); check_for_missing_semicolon (yyvsp[-3].ttype); ; break;} case 237: #line 1431 "cplus-pa.y" { yyval.ttype = xref_tag (enum_type_node, yyvsp[0].ttype, NULL_TREE); ; break;} case 238: #line 1435 "cplus-pa.y" { if (TREE_CODE (yyvsp[-3].ttype) == ENUMERAL_TYPE) yyval.ttype = yyvsp[-3].ttype; else yyval.ttype = finish_struct (yyvsp[-3].ttype, yyvsp[-1].ttype, 0, 0); if (yyvsp[-2].itype & 1) resume_temporary_allocation (); if (yyvsp[-2].itype & 2) resume_momentary (1); check_for_missing_semicolon (yyval.ttype); ; break;} case 239: #line 1447 "cplus-pa.y" { extern FILE *finput; if (TREE_CODE (yyvsp[-4].ttype) == ENUMERAL_TYPE) yyval.ttype = yyvsp[-4].ttype; else yyval.ttype = finish_struct (yyvsp[-4].ttype, yyvsp[-2].ttype, 1, 1); if (yyvsp[-3].itype & 1) resume_temporary_allocation (); if (yyvsp[-3].itype & 2) resume_momentary (1); ungetc (';', finput); ; break;} case 240: #line 1459 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 244: #line 1470 "cplus-pa.y" { if (pedantic) warning ("comma at end of enumerator list"); ; break;} case 245: #line 1474 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 246: #line 1476 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 247: #line 1478 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 248: #line 1480 "cplus-pa.y" { error ("storage class specifier `%s' not allow after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 249: #line 1483 "cplus-pa.y" { error ("storage class specifier `%s' not allow after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 250: #line 1486 "cplus-pa.y" { error ("storage class specifier `%s' not allow after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 251: #line 1489 "cplus-pa.y" { error ("no body nor ';' separates two class, struct or union declarations"); ; break;} case 252: #line 1494 "cplus-pa.y" { yyval.ttype = xref_tag (yyvsp[0].ttype, make_anon_name (), NULL_TREE); ; break;} case 253: #line 1496 "cplus-pa.y" { yyval.ttype = xref_tag (yyvsp[-1].ttype, yyvsp[0].ttype, NULL_TREE); ; break;} case 254: #line 1498 "cplus-pa.y" { yyval.ttype = xref_tag (yyvsp[-3].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 255: #line 1500 "cplus-pa.y" { yyval.ttype = xref_tag (yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 256: #line 1505 "cplus-pa.y" { if (! is_aggr_typedef_or_else (yyvsp[0].ttype)) yyval.ttype = NULL_TREE; else yyval.ttype = build_tree_list ((tree)visibility_default, yyvsp[0].ttype); ; break;} case 257: #line 1509 "cplus-pa.y" { if (! is_aggr_typedef_or_else (yyvsp[0].ttype)) yyval.ttype = NULL_TREE; else yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 258: #line 1513 "cplus-pa.y" { if (! is_aggr_typedef_or_else (yyvsp[0].ttype)) yyval.ttype = NULL_TREE; else yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list ((tree)visibility_default, yyvsp[0].ttype)); ; break;} case 259: #line 1517 "cplus-pa.y" { if (! is_aggr_typedef_or_else (yyvsp[0].ttype)) yyval.ttype = NULL_TREE; else yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype)); ; break;} case 260: #line 1524 "cplus-pa.y" { yyval.ttype = (tree)visibility_public; ; break;} case 261: #line 1526 "cplus-pa.y" { yyval.ttype = (tree)visibility_private; ; break;} case 262: #line 1528 "cplus-pa.y" { if (yyvsp[0].ttype != ridpointers[(int)RID_VIRTUAL]) sorry ("non-virtual visibility"); yyval.ttype = (tree)visibility_default_virtual; ; break;} case 263: #line 1532 "cplus-pa.y" { if (yyvsp[-1].ttype == (tree)visibility_private) error ("base class cannot be public and private"); else if (yyvsp[-1].ttype == (tree)visibility_default_virtual) yyval.ttype = (tree)visibility_public_virtual; ; break;} case 264: #line 1537 "cplus-pa.y" { if (yyvsp[-1].ttype == (tree)visibility_public) error ("base class cannot be private and public"); else if (yyvsp[-1].ttype == (tree)visibility_default_virtual) yyval.ttype = (tree)visibility_private_virtual; ; break;} case 265: #line 1542 "cplus-pa.y" { if (yyvsp[0].ttype != ridpointers[(int)RID_VIRTUAL]) sorry ("non-virtual visibility"); if (yyvsp[-1].ttype == (tree)visibility_public) yyval.ttype = (tree)visibility_public_virtual; else if (yyvsp[-1].ttype == (tree)visibility_private) yyval.ttype = (tree)visibility_private_virtual; ; break;} case 266: #line 1551 "cplus-pa.y" { int temp = allocation_temporary_p (); int momentary = suspend_momentary (); if (temp) end_temporary_allocation (); yyval.itype = (momentary << 1) | temp; pushclass (yyvsp[-1].ttype, 0); ; break;} case 267: #line 1560 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 268: #line 1562 "cplus-pa.y" { yyval.ttype = build_tree_list ((tree)visibility_default, yyvsp[0].ttype); ; break;} case 269: #line 1564 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list ((tree)visibility_public, yyvsp[0].ttype)); ; break;} case 270: #line 1566 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list ((tree)visibility_private, yyvsp[0].ttype)); ; break;} case 271: #line 1568 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list ((tree)visibility_protected, yyvsp[0].ttype)); ; break;} case 275: #line 1576 "cplus-pa.y" { if (yyvsp[0].ttype == void_type_node) yyval.ttype = NULL_TREE; ; break;} case 276: #line 1578 "cplus-pa.y" { if (yyvsp[0].ttype != NULL_TREE && yyvsp[0].ttype != void_type_node) yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 277: #line 1581 "cplus-pa.y" { if (pedantic) warning ("extra semicolon in struct or union specified"); ; break;} case 278: #line 1587 "cplus-pa.y" { do_components: if (yyvsp[-1].ttype == void_type_node) /* We just got some friends. They have been recorded elsewhere. */ yyval.ttype = NULL_TREE; else if (yyvsp[-1].ttype == NULL_TREE) { tree t = groktypename (build_tree_list (yyvsp[-2].ttype, NULL_TREE)); if (t == NULL_TREE) { yylineerror (yylsp[-2].first_line, "error in component specification"); yyval.ttype = NULL_TREE; } else if (TREE_CODE (t) == UNION_TYPE) { /* handle anonymous unions */ if (CLASSTYPE_FN_FIELDS (t)) sorry ("methods in anonymous unions"); yyval.ttype = build_lang_decl (FIELD_DECL, NULL_TREE, t); DECL_ANON_UNION_ELEM (yyval.ttype) = 1; } else if (TREE_CODE (t) == ENUMERAL_TYPE) yyval.ttype = grok_enum_decls (t, NULL_TREE); else yyval.ttype = NULL_TREE; } else { tree t = TREE_TYPE (yyvsp[-1].ttype); if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL (t)) yyval.ttype = grok_enum_decls (t, yyvsp[-1].ttype); else yyval.ttype = yyvsp[-1].ttype; } ; break;} case 279: #line 1625 "cplus-pa.y" { do_type_component: yyval.ttype = groktypefield (yyvsp[-4].ttype, yyvsp[-2].ttype); ; break;} case 280: #line 1630 "cplus-pa.y" { goto do_components; ; break;} case 281: #line 1632 "cplus-pa.y" { goto do_type_component; ; break;} case 282: #line 1634 "cplus-pa.y" { yyval.ttype = grokfield (NULL_TREE, NULL_TREE, yyvsp[-1].ttype, NULL_TREE, NULL_TREE); ; break;} case 283: #line 1636 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 284: #line 1641 "cplus-pa.y" { yyval.ttype = finish_method (yyvsp[-1].ttype); ; break;} case 285: #line 1643 "cplus-pa.y" { yyval.ttype = finish_method (yyvsp[-1].ttype); ; break;} case 286: #line 1645 "cplus-pa.y" { yyval.ttype = grokfield (yyvsp[-1].ttype, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE); ; break;} case 287: #line 1657 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 289: #line 1660 "cplus-pa.y" { /* In this context, void_type_node encodes friends. They have been recorded elsewhere. */ if (yyvsp[-2].ttype == void_type_node) yyval.ttype = yyvsp[0].ttype; else yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 290: #line 1672 "cplus-pa.y" { current_declspecs = yyvsp[-3].ttype; yyval.ttype = grokfield (yyvsp[-2].ttype, current_declspecs, NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype ? TREE_STRING_POINTER (yyvsp[-1].ttype) : 0); ; break;} case 291: #line 1676 "cplus-pa.y" { current_declspecs = yyvsp[-3].ttype; yyval.ttype = grokfield (yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 292: #line 1679 "cplus-pa.y" { current_declspecs = yyvsp[-2].ttype; yyval.ttype = grokfield (yyvsp[-1].ttype, current_declspecs, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 293: #line 1682 "cplus-pa.y" { yyval.ttype = grokfield (NULL_TREE, NULL_TREE, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 294: #line 1687 "cplus-pa.y" { yyval.ttype = grokfield (yyvsp[-2].ttype, current_declspecs, NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype ? TREE_STRING_POINTER (yyvsp[-1].ttype) : 0); ; break;} case 295: #line 1690 "cplus-pa.y" { yyval.ttype = grokfield (yyvsp[-2].ttype, current_declspecs, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 296: #line 1692 "cplus-pa.y" { yyval.ttype = grokfield (yyvsp[-1].ttype, current_declspecs, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 297: #line 1694 "cplus-pa.y" { yyval.ttype = grokfield (NULL_TREE, NULL_TREE, yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 299: #line 1704 "cplus-pa.y" { TREE_CHAIN (yyvsp[0].ttype) = yyvsp[-2].ttype; yyval.ttype = yyvsp[0].ttype; ; break;} case 300: #line 1710 "cplus-pa.y" { yyval.ttype = build_enumerator (yyvsp[0].ttype, NULL_TREE); ; break;} case 301: #line 1712 "cplus-pa.y" { yyval.ttype = build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 302: #line 1717 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 303: #line 1719 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 304: #line 1724 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 306: #line 1730 "cplus-pa.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 307: #line 1732 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 308: #line 1737 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 309: #line 1739 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 310: #line 1749 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 311: #line 1751 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 312: #line 1753 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, NULL_TREE); ; break;} case 313: #line 1755 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 314: #line 1757 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 315: #line 1759 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 316: #line 1761 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 317: #line 1763 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 318: #line 1766 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 319: #line 1769 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 320: #line 1772 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 321: #line 1774 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 322: #line 1776 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 324: #line 1782 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 325: #line 1784 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 326: #line 1786 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, NULL_TREE); ; break;} case 327: #line 1788 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 328: #line 1790 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 329: #line 1792 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 330: #line 1794 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 331: #line 1797 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 332: #line 1800 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 333: #line 1803 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 334: #line 1805 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 335: #line 1813 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 336: #line 1815 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 337: #line 1817 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, NULL_TREE); ; break;} case 338: #line 1819 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 339: #line 1821 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 340: #line 1823 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 341: #line 1825 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 342: #line 1827 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 343: #line 1829 "cplus-pa.y" { see_typename (); ; break;} case 344: #line 1833 "cplus-pa.y" { see_typename (); ; break;} case 345: #line 1836 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 346: #line 1839 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 347: #line 1842 "cplus-pa.y" { see_typename (); if (yyvsp[-2].ttype && (TREE_CHAIN (yyvsp[-2].ttype) || TREE_VALUE (yyvsp[-2].ttype) != void_type_node)) error ("junk in wrapper declaration"); yyval.ttype = build_nt (WRAPPER_EXPR, yyvsp[0].ttype); ; break;} case 348: #line 1849 "cplus-pa.y" { see_typename (); if (yyvsp[-2].ttype && (TREE_CHAIN (yyvsp[-2].ttype) || TREE_VALUE (yyvsp[-2].ttype) != void_type_node)) error ("junk in wrapper declaration"); yyval.ttype = build_nt (WRAPPER_EXPR, yyvsp[0].ttype); ; break;} case 349: #line 1856 "cplus-pa.y" { see_typename (); if (yyvsp[-3].ttype && (TREE_CHAIN (yyvsp[-3].ttype) || TREE_VALUE (yyvsp[-3].ttype) != void_type_node)) error ("junk in wrapper predicate declaration"); yyval.ttype = build_nt (WRAPPER_EXPR, build_nt (COND_EXPR, yyvsp[0].ttype, NULL_TREE, NULL_TREE)); ; break;} case 350: #line 1864 "cplus-pa.y" { see_typename (); if (yyvsp[-3].ttype && (TREE_CHAIN (yyvsp[-3].ttype) || TREE_VALUE (yyvsp[-3].ttype) != void_type_node)) error ("junk in wrapper predicate declaration"); yyval.ttype = build_nt (WRAPPER_EXPR, build_nt (COND_EXPR, yyvsp[0].ttype, NULL_TREE, NULL_TREE)); ; break;} case 351: #line 1872 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (ANTI_WRAPPER_EXPR, yyvsp[0].ttype); ; break;} case 352: #line 1875 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (ANTI_WRAPPER_EXPR, yyvsp[0].ttype); ; break;} case 353: #line 1878 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 354: #line 1881 "cplus-pa.y" { see_typename (); yyval.ttype = build_nt (SCOPE_REF, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 355: #line 1884 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 356: #line 1886 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 357: #line 1888 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-6].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 358: #line 1891 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-7].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 359: #line 1894 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-6].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 360: #line 1897 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-7].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 361: #line 1900 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-6].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, NULL_TREE)); ; break;} case 362: #line 1902 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-7].ttype, build_nt (CALL_EXPR, yyvsp[-3].ttype, NULL_TREE)); ; break;} case 365: #line 1909 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 366: #line 1914 "cplus-pa.y" { see_typename (); yyval.ttype = yyvsp[-1].ttype; ; break;} case 367: #line 1918 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 368: #line 1920 "cplus-pa.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 369: #line 1922 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 370: #line 1925 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 371: #line 1928 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; see_typename (); ; break;} case 372: #line 1931 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 373: #line 1933 "cplus-pa.y" { yyval.ttype = make_reference_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 374: #line 1935 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 375: #line 1937 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 376: #line 1939 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, yyvsp[-2].ttype, NULL_TREE); ; break;} case 377: #line 1941 "cplus-pa.y" { yyval.ttype = build_nt (CALL_EXPR, NULL_TREE, yyvsp[-1].ttype); ; break;} case 378: #line 1943 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 379: #line 1945 "cplus-pa.y" { yyval.ttype = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); ; break;} case 380: #line 1947 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 381: #line 1949 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-3].ttype, yyvsp[0].ttype); ; break;} case 382: #line 1951 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-1].ttype, 0); ; break;} case 383: #line 1953 "cplus-pa.y" { yyval.ttype = build_nt (SCOPE_REF, yyvsp[-2].ttype, 0); ; break;} case 387: #line 1973 "cplus-pa.y" { pushlevel (0); clear_last_expr (); push_momentary (); expand_start_bindings (0); stmt_decl_ok = 1; ; break;} case 391: #line 1990 "cplus-pa.y" { expand_end_bindings (getdecls (), 1, 1); poplevel (1, 1, 0); pop_momentary (); ; break;} case 392: #line 1994 "cplus-pa.y" { expand_end_bindings (getdecls (), 0, 1); poplevel (0, 0, 0); pop_momentary (); ; break;} case 393: #line 2001 "cplus-pa.y" { emit_line_note (input_filename, lineno); expand_start_cond (truthvalue_conversion (yyvsp[-1].ttype), 0); stmt_decl_ok = 0; ; break;} case 395: #line 2009 "cplus-pa.y" { finish_stmt (); ; break;} case 396: #line 2011 "cplus-pa.y" { if (stmt_decl_ok == 0) error ("declaration(s) in conditional statement invalid"); finish_stmt (); ; break;} case 397: #line 2015 "cplus-pa.y" { emit_line_note (input_filename, lineno); /* Do default conversion if safe and possibly important, in case within ({...}). */ if ((TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == ARRAY_TYPE && lvalue_p (yyvsp[-1].ttype)) || TREE_CODE (TREE_TYPE (yyvsp[-1].ttype)) == FUNCTION_TYPE) yyvsp[-1].ttype = default_conversion (yyvsp[-1].ttype); expand_cplus_expr_stmt (yyvsp[-1].ttype); clear_momentary (); finish_stmt (); ; break;} case 398: #line 2026 "cplus-pa.y" { expand_start_else (); stmt_decl_ok = 0; ; break;} case 399: #line 2029 "cplus-pa.y" { expand_end_else (); stmt_decl_ok = 1; finish_stmt (); ; break;} case 400: #line 2033 "cplus-pa.y" { expand_end_cond (); stmt_decl_ok = 1; finish_stmt (); ; break;} case 401: #line 2037 "cplus-pa.y" { emit_nop (); emit_line_note (input_filename, lineno); expand_start_loop (1); ; break;} case 402: #line 2041 "cplus-pa.y" { expand_exit_loop_if_false (truthvalue_conversion (yyvsp[-1].ttype)); ; break;} case 403: #line 2043 "cplus-pa.y" { expand_end_loop (); finish_stmt (); ; break;} case 404: #line 2046 "cplus-pa.y" { emit_nop (); emit_line_note (input_filename, lineno); expand_start_loop_continue_elsewhere (1); ; break;} case 405: #line 2050 "cplus-pa.y" { expand_loop_continue_here (); ; break;} case 406: #line 2052 "cplus-pa.y" { emit_line_note (input_filename, lineno); expand_exit_loop_if_false (truthvalue_conversion (yyvsp[-2].ttype)); expand_end_loop (); clear_momentary (); finish_stmt (); ; break;} case 407: #line 2058 "cplus-pa.y" { emit_nop (); emit_line_note (input_filename, lineno); if (yyvsp[0].ttype) expand_cplus_expr_stmt (yyvsp[0].ttype); expand_start_loop_continue_elsewhere (1); ; break;} case 408: #line 2063 "cplus-pa.y" { emit_line_note (input_filename, lineno); if (yyvsp[-1].ttype) expand_exit_loop_if_false (truthvalue_conversion (yyvsp[-1].ttype)); ; break;} case 409: #line 2068 "cplus-pa.y" { push_momentary (); ; break;} case 410: #line 2070 "cplus-pa.y" { emit_line_note (input_filename, lineno); expand_loop_continue_here (); if (yyvsp[-3].ttype) expand_cplus_expr_stmt (yyvsp[-3].ttype); pop_momentary (); expand_end_loop (); finish_stmt (); ; break;} case 411: #line 2077 "cplus-pa.y" { emit_nop (); emit_line_note (input_filename, lineno); expand_start_loop_continue_elsewhere (1); ; break;} case 412: #line 2081 "cplus-pa.y" { emit_line_note (input_filename, lineno); if (yyvsp[-1].ttype) expand_exit_loop_if_false (truthvalue_conversion (yyvsp[-1].ttype)); ; break;} case 413: #line 2086 "cplus-pa.y" { push_momentary (); yyvsp[0].itype = lineno; ; break;} case 414: #line 2089 "cplus-pa.y" { emit_line_note (input_filename, yyvsp[-2].itype); expand_loop_continue_here (); if (yyvsp[-3].ttype) expand_cplus_expr_stmt (yyvsp[-3].ttype); pop_momentary (); expand_end_loop (); if (yyvsp[-8].itype) { register keep = yyvsp[-8].itype > 0; if (keep) expand_end_bindings (0, keep, 1); poplevel (keep, 1, 0); pop_momentary (); } finish_stmt (); ; break;} case 415: #line 2104 "cplus-pa.y" { emit_line_note (input_filename, lineno); c_expand_start_case (yyvsp[-1].ttype); /* Don't let the tree nodes for $3 be discarded by clear_momentary during the parsing of the next stmt. */ push_momentary (); ; break;} case 416: #line 2110 "cplus-pa.y" { expand_end_case (yyvsp[-3].ttype); pop_momentary (); finish_stmt (); ; break;} case 417: #line 2114 "cplus-pa.y" { register tree value = yyvsp[-1].ttype; register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value) == NOP_EXPR && TREE_TYPE (value) == TREE_TYPE (TREE_OPERAND (value, 0))) value = TREE_OPERAND (value, 0); if (TREE_READONLY (value) && TREE_CODE (value) == VAR_DECL) { value = decl_constant_value (value); /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value) == NOP_EXPR && TREE_TYPE (value) == TREE_TYPE (TREE_OPERAND (value, 0))) value = TREE_OPERAND (value, 0); } value = fold (value); if (TREE_CODE (value) != INTEGER_CST && value != error_mark_node) { error ("case label does not reduce to an integer constant"); value = error_mark_node; } else /* Promote char or short to int. */ value = default_conversion (value); if (value != error_mark_node) { int success = pushcase (value, label); if (success == 1) error ("case label not within a switch statement"); else if (success == 2) error ("duplicate case value"); else if (success == 3) warning ("case value out of range"); } ; break;} case 419: #line 2157 "cplus-pa.y" { register tree value1 = yyvsp[-3].ttype; register tree value2 = yyvsp[-1].ttype; register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); if (pedantic) { error ("ANSI C does not allow range expressions in switch statement"); value1 = error_mark_node; value2 = error_mark_node; break; } /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value1) == NOP_EXPR && TREE_TYPE (value1) == TREE_TYPE (TREE_OPERAND (value1, 0))) value1 = TREE_OPERAND (value1, 0); if (TREE_READONLY (value1) && TREE_CODE (value1) == VAR_DECL) { value1 = decl_constant_value (value1); /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value1) == NOP_EXPR && TREE_TYPE (value1) == TREE_TYPE (TREE_OPERAND (value1, 0))) value1 = TREE_OPERAND (value1, 0); } value1 = fold (value1); /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value2) == NOP_EXPR && TREE_TYPE (value2) == TREE_TYPE (TREE_OPERAND (value2, 0))) value2 = TREE_OPERAND (value2, 0); if (TREE_READONLY (value2) && TREE_CODE (value2) == VAR_DECL) { value2 = decl_constant_value (value2); /* build_c_cast puts on a NOP_EXPR to make a non-lvalue. Strip such NOP_EXPRs. */ if (TREE_CODE (value2) == NOP_EXPR && TREE_TYPE (value2) == TREE_TYPE (TREE_OPERAND (value2, 0))) value2 = TREE_OPERAND (value2, 0); } value2 = fold (value2); if (TREE_CODE (value1) != INTEGER_CST && value1 != error_mark_node) { error ("case label does not reduce to an integer constant"); value1 = error_mark_node; } if (TREE_CODE (value2) != INTEGER_CST && value2 != error_mark_node) { error ("case label does not reduce to an integer constant"); value2 = error_mark_node; } if (value1 != error_mark_node && value2 != error_mark_node) { int success = pushcase_range (value1, value2, label); if (success == 1) error ("case label not within a switch statement"); else if (success == 2) error ("duplicate (or overlapping) case value"); else if (success == 3) warning ("case value out of range"); else if (success == 4) warning ("empty range specified"); } ; break;} case 421: #line 2232 "cplus-pa.y" { register tree label = build_decl (LABEL_DECL, NULL_TREE, NULL_TREE); int success = pushcase (NULL_TREE, label); if (success == 1) error ("default label not within a switch statement"); else if (success == 2) error ("multiple default labels in one switch"); ; break;} case 423: #line 2243 "cplus-pa.y" { emit_line_note (input_filename, lineno); if ( ! expand_exit_something ()) error ("break statement not within loop or switch"); ; break;} case 424: #line 2247 "cplus-pa.y" { emit_line_note (input_filename, lineno); if (! expand_continue_loop ()) error ("continue statement not within a loop"); ; break;} case 425: #line 2251 "cplus-pa.y" { emit_line_note (input_filename, lineno); c_expand_return (NULL_TREE); ; break;} case 426: #line 2254 "cplus-pa.y" { emit_line_note (input_filename, lineno); c_expand_return (yyvsp[-1].ttype); finish_stmt (); ; break;} case 427: #line 2259 "cplus-pa.y" { if (TREE_CHAIN (yyvsp[-2].ttype)) yyvsp[-2].ttype = combine_strings (yyvsp[-2].ttype); emit_line_note (input_filename, lineno); expand_asm (yyvsp[-2].ttype); finish_stmt (); ; break;} case 428: #line 2266 "cplus-pa.y" { if (TREE_CHAIN (yyvsp[-4].ttype)) yyvsp[-4].ttype = combine_strings (yyvsp[-4].ttype); c_expand_asm_operands (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE, yyvsp[-6].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); finish_stmt (); ; break;} case 429: #line 2274 "cplus-pa.y" { if (TREE_CHAIN (yyvsp[-6].ttype)) yyvsp[-6].ttype = combine_strings (yyvsp[-6].ttype); emit_line_note (input_filename, lineno); c_expand_asm_operands (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, yyvsp[-8].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); finish_stmt (); ; break;} case 430: #line 2284 "cplus-pa.y" { if (TREE_CHAIN (yyvsp[-8].ttype)) yyvsp[-8].ttype = combine_strings (yyvsp[-8].ttype); emit_line_note (input_filename, lineno); c_expand_asm_operands (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, yyvsp[-10].ttype == ridpointers[(int)RID_VOLATILE], input_filename, lineno); finish_stmt (); ; break;} case 431: #line 2292 "cplus-pa.y" { tree decl; emit_line_note (input_filename, lineno); decl = lookup_label (yyvsp[-1].ttype); TREE_USED (decl) = 1; expand_goto (decl); ; break;} case 432: #line 2298 "cplus-pa.y" { tree label = define_label (input_filename, lineno, yyvsp[-1].ttype); emit_nop (); if (label) expand_label (label); ; break;} case 433: #line 2303 "cplus-pa.y" { finish_stmt (); ; break;} case 434: #line 2305 "cplus-pa.y" { tree label = define_label (input_filename, lineno, yyvsp[0].ttype); if (label) expand_label (label); ; break;} case 435: #line 2309 "cplus-pa.y" { finish_stmt (); ; break;} case 436: #line 2311 "cplus-pa.y" { finish_stmt (); ; break;} case 437: #line 2316 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 438: #line 2318 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 439: #line 2320 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 440: #line 2325 "cplus-pa.y" { yyval.itype = 0; ; break;} case 441: #line 2327 "cplus-pa.y" { yyval.itype = 1; ; break;} case 442: #line 2329 "cplus-pa.y" { yyval.itype = -1; ; break;} case 443: #line 2336 "cplus-pa.y" { if (pedantic) warning ("ANSI C forbids use of `asm' keyword"); /* We use emit_note rather than emit_line_note so that this note is emitted even if line #s are not generally wanted. */ emit_note (input_filename, lineno); ; break;} case 444: #line 2343 "cplus-pa.y" { if (pedantic) warning ("ANSI C forbids use of `asm' keyword"); emit_note (input_filename, lineno); ; break;} case 445: #line 2350 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 447: #line 2353 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 448: #line 2359 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 451: #line 2366 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 452: #line 2371 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 453: #line 2376 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 454: #line 2378 "cplus-pa.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype); ; break;} case 455: #line 2387 "cplus-pa.y" { if (strict_prototype) { yyval.ttype = build_tree_list (NULL_TREE, void_type_node); TREE_PARMLIST(yyval.ttype) = 1; } else yyval.ttype = NULL_TREE; ; break;} case 456: #line 2396 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[0].ttype, build_tree_list (NULL_TREE, void_type_node)); TREE_PARMLIST (yyval.ttype) = 1; ; break;} case 457: #line 2402 "cplus-pa.y" { yyval.ttype = yyvsp[-2].ttype; TREE_PARMLIST (yyval.ttype) = 1; ; break;} case 458: #line 2408 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; TREE_PARMLIST (yyval.ttype) = 1; ; break;} case 459: #line 2413 "cplus-pa.y" { warning ("lazy prototyping frowned upon"); yyval.ttype = NULL_TREE; ; break;} case 460: #line 2418 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; TREE_PARMLIST (yyval.ttype) = 1; ; break;} case 461: #line 2423 "cplus-pa.y" { yyval.ttype = yyvsp[-1].ttype; TREE_PARMLIST (yyval.ttype) = 1; ; break;} case 462: #line 2428 "cplus-pa.y" { /* This helps us recover from really nasty parse errors, for example, a missing right parenthesis. */ extern FILE *finput; yyerror ("possibly missing ')'"); yyval.ttype = chainon (yyvsp[-1].ttype, build_tree_list (NULL_TREE, void_type_node)); TREE_PARMLIST (yyval.ttype) = 1; ungetc (':', finput); yychar = ')'; ; break;} case 463: #line 2446 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 464: #line 2448 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list (yyvsp[0].ttype, yyvsp[-1].ttype)); ; break;} case 465: #line 2450 "cplus-pa.y" { yyval.ttype = chainon (yyvsp[-3].ttype, build_tree_list (yyvsp[0].ttype, yyvsp[-1].ttype)); ; break;} case 466: #line 2457 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); see_typename (); ; break;} case 467: #line 2460 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); see_typename (); ; break;} case 468: #line 2463 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); see_typename (); ; break;} case 469: #line 2466 "cplus-pa.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); see_typename (); ; break;} case 470: #line 2471 "cplus-pa.y" { see_typename (); ; break;} case 471: #line 2475 "cplus-pa.y" { dont_see_typename (); ; break;} case 472: #line 2481 "cplus-pa.y" { warning ("type specifier omitted for parameter"); yyval.ttype = build_tree_list (TREE_PURPOSE (TREE_VALUE (yyvsp[-3].ttype)), yyvsp[0].ttype); ; break;} case 473: #line 2486 "cplus-pa.y" { warning ("type specifier omitted for parameter"); yyval.ttype = build_tree_list (TREE_PURPOSE (TREE_VALUE (yyvsp[-3].ttype)), yyvsp[0].ttype); ; break;} case 474: #line 2495 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} case 475: #line 2497 "cplus-pa.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 476: #line 2502 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (MULT_EXPR)); ; break;} case 477: #line 2504 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (TRUNC_DIV_EXPR)); ; break;} case 478: #line 2506 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (TRUNC_MOD_EXPR)); ; break;} case 479: #line 2508 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (PLUS_EXPR)); ; break;} case 480: #line 2510 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (MINUS_EXPR)); ; break;} case 481: #line 2512 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (BIT_AND_EXPR)); ; break;} case 482: #line 2514 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (BIT_IOR_EXPR)); ; break;} case 483: #line 2516 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (BIT_XOR_EXPR)); ; break;} case 484: #line 2518 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (BIT_NOT_EXPR)); ; break;} case 485: #line 2520 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (yyvsp[0].code)); ; break;} case 486: #line 2522 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (yyvsp[0].code)); ; break;} case 487: #line 2524 "cplus-pa.y" { yyval.ttype = build_op_identifier (make_node (MODIFY_EXPR), make_node (yyvsp[0].code)); ; break;} case 488: #line 2527 "cplus-pa.y" { yyval.ttype = build_op_identifier (make_node (MODIFY_EXPR), make_node (NOP_EXPR)); if (current_class_type) { TREE_HAS_ASSIGNMENT (current_class_type) = 1; TREE_GETS_ASSIGNMENT (current_class_type) = 1; } ; break;} case 489: #line 2537 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (yyvsp[0].code)); ; break;} case 490: #line 2539 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (yyvsp[0].code)); ; break;} case 491: #line 2541 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (POSTINCREMENT_EXPR)); ; break;} case 492: #line 2543 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (PREDECREMENT_EXPR)); ; break;} case 493: #line 2545 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (TRUTH_ANDIF_EXPR)); ; break;} case 494: #line 2547 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (TRUTH_ORIF_EXPR)); ; break;} case 495: #line 2549 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (TRUTH_NOT_EXPR)); ; break;} case 496: #line 2551 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (COND_EXPR)); ; break;} case 497: #line 2553 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (yyvsp[0].code)); ; break;} case 498: #line 2555 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (COMPONENT_REF)); ; break;} case 499: #line 2557 "cplus-pa.y" { if (yychar == YYEMPTY) yychar = YYLEX; if (yychar == '(') { yyval.ttype = build_op_identifier (0, make_node (METHOD_CALL_EXPR)); if (current_class_type) TYPE_OVERLOADS_METHOD_CALL_EXPR (current_class_type) = 1; } else yyval.ttype = build_nt (CALL_EXPR, build_op_identifier (0, make_node (COMPONENT_REF)), NULL_TREE); ; break;} case 500: #line 2570 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (CALL_EXPR)); if (current_class_type) TYPE_OVERLOADS_CALL_EXPR (current_class_type) = 1; ; break;} case 501: #line 2575 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (ARRAY_REF)); if (current_class_type) TYPE_OVERLOADS_ARRAY_REF (current_class_type) = 1; ; break;} case 502: #line 2580 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (NEW_EXPR)); if (current_class_type) TREE_GETS_NEW (current_class_type) = 1; ; break;} case 503: #line 2586 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (DELETE_EXPR)); if (current_class_type) TREE_GETS_DELETE (current_class_type) = 1; ; break;} case 504: #line 2592 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (PUSH_EXPR)); ; break;} case 505: #line 2596 "cplus-pa.y" { yyval.ttype = build_op_identifier (0, make_node (POP_EXPR)); ; break;} case 506: #line 2603 "cplus-pa.y" { yyval.ttype = build (TYPE_EXPR, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 507: #line 2607 "cplus-pa.y" { yyval.ttype = NULL_TREE; ; break;} } /* the action file gets copied in in place of this dollarsign */ #line 412 "bison.simple" yyvsp -= yylen; yyssp -= yylen; #ifdef YYLSP_NEEDED yylsp -= yylen; #endif #if YYDEBUG != 0 if (yydebug) { short *ssp1 = yyss - 1; fprintf (stderr, "state stack now"); while (ssp1 != yyssp) fprintf (stderr, " %d", *++ssp1); fprintf (stderr, "\n"); } #endif *++yyvsp = yyval; #ifdef YYLSP_NEEDED yylsp++; if (yylen == 0) { yylsp->first_line = yylloc.first_line; yylsp->first_column = yylloc.first_column; yylsp->last_line = (yylsp-1)->last_line; yylsp->last_column = (yylsp-1)->last_column; yylsp->text = 0; } else { yylsp->last_line = (yylsp+yylen-1)->last_line; yylsp->last_column = (yylsp+yylen-1)->last_column; } #endif /* Now "shift" the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTBASE] + *yyssp; if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTBASE]; goto yynewstate; yyerrlab: /* here on detecting error */ if (! yyerrstatus) /* If not already recovering from an error, report this error. */ { ++yynerrs; yyerror("parse error"); } if (yyerrstatus == 3) { /* if just tried and failed to reuse lookahead token after an error, discard it. */ /* return failure if at end of input */ if (yychar == YYEOF) YYABORT; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); #endif yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ yyerrstatus = 3; /* Each real token shifted decrements this */ goto yyerrhandle; yyerrdefault: /* current state does not do anything special for the error token. */ #if 0 /* This is wrong; only states that explicitly want error tokens should shift them. */ yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ if (yyn) goto yydefault; #endif yyerrpop: /* pop the current state because it cannot handle the error token */ if (yyssp == yyss) YYABORT; yyvsp--; yystate = *--yyssp; #ifdef YYLSP_NEEDED yylsp--; #endif #if YYDEBUG != 0 if (yydebug) { short *ssp1 = yyss - 1; fprintf (stderr, "Error: state stack now"); while (ssp1 != yyssp) fprintf (stderr, " %d", *++ssp1); fprintf (stderr, "\n"); } #endif yyerrhandle: yyn = yypact[yystate]; if (yyn == YYFLAG) goto yyerrdefault; yyn += YYTERROR; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) goto yyerrdefault; yyn = yytable[yyn]; if (yyn < 0) { if (yyn == YYFLAG) goto yyerrpop; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrpop; if (yyn == YYFINAL) YYACCEPT; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Shifting error token, "); #endif *++yyvsp = yylval; #ifdef YYLSP_NEEDED *++yylsp = yylloc; #endif yystate = yyn; goto yynewstate; } #line 2610 "cplus-pa.y" db_yyerror (s, yyps, yychar) char *s; short *yyps; int yychar; { FILE *yyout; char buf[1024]; int st; yyerror (s); printf ("State is %d, input token number is %d.\n", *yyps, yychar); #ifdef PARSE_OUTPUT if (*yyps < 1) fatal ("Cannot start from here"); else if ((yyout = fopen (PARSE_OUTPUT, "r")) == NULL) error ("cannot open file parse.output"); else { printf ("That is to say,\n\n"); while (fgets(buf, sizeof (buf)-1, yyout)) { if (buf[0] != 's') continue; st = atoi (buf+6); if (st != *yyps) continue; printf ("%s", buf); while (fgets (buf, sizeof (buf)-1, yyout)) { if (buf[0] == 's') break; printf ("%s", buf); } break; } printf ("With the token %s\n", yytname[YYTRANSLATE (yychar)]); fclose (yyout); } #endif } void yyerror (string) char *string; { extern FILE *finput; extern char *token_buffer; char buf[200]; strcpy (buf, string); /* We can't print string and character constants well because the token_buffer contains the result of processing escapes. */ if (end_of_file || feof (finput)) strcat (buf, " at end of input"); else if (token_buffer[0] == 0) strcat (buf, " at null character"); else if (token_buffer[0] == '"') strcat (buf, " before string constant"); else if (token_buffer[0] == '\'') strcat (buf, " before character constant"); else strcat (buf, " before `%s'"); error (buf, token_buffer); }