diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-02-28 09:46:46 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-02-28 09:46:46 -0500 |
commit | b6a6823ed0b970d0ea76e72a1fb7e219365433e4 (patch) | |
tree | fe10203d311671fb8bb08173d6376e51ba583bf2 /gcc/cp | |
parent | b0e3a658532609fa9641f8efcee7f950f532d68c (diff) | |
download | gcc-b6a6823ed0b970d0ea76e72a1fb7e219365433e4.zip gcc-b6a6823ed0b970d0ea76e72a1fb7e219365433e4.tar.gz gcc-b6a6823ed0b970d0ea76e72a1fb7e219365433e4.tar.bz2 |
regen
From-SVN: r32236
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/parse.c | 1616 |
1 files changed, 808 insertions, 808 deletions
diff --git a/gcc/cp/parse.c b/gcc/cp/parse.c index 6532e27..2d5610d 100644 --- a/gcc/cp/parse.c +++ b/gcc/cp/parse.c @@ -90,7 +90,7 @@ #define END_OF_LINE 340 #define END_OF_SAVED_INPUT 341 -#line 29 "parse.y" +#line 30 "parse.y" /* Cause the `yydebug' variable to be defined. */ #define YYDEBUG 1 @@ -279,7 +279,7 @@ cp_parse_init () ggc_add_tree_root (¤t_enum_type, 1); } -#line 220 "parse.y" +#line 221 "parse.y" typedef union { long itype; tree ttype; @@ -288,7 +288,7 @@ typedef union { flagged_type_tree ftype; struct pending_inline *pi; } YYSTYPE; -#line 423 "parse.y" +#line 424 "parse.y" /* Tell yyparse how to print a token's value, if yydebug is set. */ #define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL) @@ -732,94 +732,94 @@ static const short yyrhs[] = { -1, #if YYDEBUG != 0 static const short yyrline[] = { 0, - 430, 432, 440, 443, 444, 448, 450, 453, 458, 462, - 468, 472, 476, 480, 483, 485, 487, 490, 492, 495, - 498, 500, 502, 504, 506, 507, 509, 510, 514, 517, - 526, 529, 531, 535, 538, 540, 544, 547, 559, 566, - 574, 576, 577, 579, 583, 586, 592, 595, 597, 602, - 605, 609, 612, 615, 618, 622, 627, 637, 639, 641, - 643, 645, 658, 661, 665, 668, 670, 672, 675, 678, - 682, 684, 686, 688, 693, 695, 697, 699, 701, 702, - 709, 710, 711, 714, 717, 721, 723, 724, 727, 729, - 732, 735, 737, 741, 744, 746, 750, 752, 754, 758, - 760, 762, 766, 768, 770, 776, 780, 783, 786, 789, - 794, 797, 799, 801, 807, 816, 819, 821, 823, 826, - 828, 833, 842, 845, 847, 851, 860, 876, 879, 881, - 882, 885, 892, 898, 900, 902, 904, 906, 909, 912, - 915, 917, 918, 919, 920, 923, 925, 926, 929, 931, - 932, 935, 940, 940, 944, 944, 947, 947, 950, 950, - 954, 954, 959, 959, 962, 962, 965, 967, 970, 977, - 981, 984, 987, 989, 993, 999, 1008, 1010, 1018, 1021, - 1024, 1027, 1031, 1034, 1036, 1039, 1042, 1044, 1046, 1048, - 1052, 1055, 1058, 1063, 1067, 1072, 1076, 1079, 1080, 1084, - 1101, 1107, 1110, 1112, 1113, 1114, 1117, 1121, 1122, 1126, - 1130, 1133, 1135, 1139, 1142, 1145, 1149, 1152, 1154, 1156, - 1158, 1161, 1165, 1167, 1170, 1172, 1178, 1181, 1184, 1187, - 1190, 1195, 1198, 1201, 1205, 1207, 1211, 1215, 1217, 1219, - 1224, 1227, 1232, 1235, 1237, 1245, 1258, 1263, 1269, 1271, - 1273, 1286, 1289, 1291, 1293, 1295, 1297, 1299, 1301, 1303, - 1305, 1307, 1309, 1311, 1313, 1315, 1317, 1319, 1321, 1323, - 1325, 1327, 1329, 1333, 1335, 1337, 1354, 1357, 1359, 1360, - 1361, 1362, 1363, 1366, 1378, 1381, 1385, 1388, 1390, 1395, - 1397, 1398, 1401, 1403, 1411, 1413, 1415, 1417, 1421, 1424, - 1428, 1432, 1433, 1434, 1438, 1446, 1447, 1448, 1458, 1460, - 1463, 1465, 1476, 1481, 1483, 1485, 1487, 1489, 1491, 1493, - 1496, 1498, 1509, 1510, 1514, 1518, 1522, 1526, 1528, 1532, - 1534, 1536, 1544, 1546, 1548, 1550, 1554, 1556, 1558, 1560, - 1565, 1567, 1569, 1571, 1574, 1576, 1578, 1622, 1625, 1629, - 1632, 1636, 1639, 1644, 1646, 1650, 1659, 1662, 1669, 1675, - 1679, 1681, 1686, 1688, 1695, 1697, 1701, 1705, 1711, 1715, - 1718, 1722, 1725, 1735, 1738, 1742, 1746, 1749, 1752, 1755, - 1758, 1764, 1770, 1772, 1777, 1779, 1797, 1800, 1805, 1810, - 1818, 1820, 1833, 1837, 1840, 1843, 1848, 1851, 1859, 1862, - 1864, 1866, 1869, 1872, 1887, 1906, 1909, 1911, 1914, 1916, - 1920, 1922, 1926, 1928, 1932, 1935, 1939, 1944, 1945, 1958, - 1965, 1966, 1972, 1977, 1982, 1988, 1989, 1996, 1999, 2003, - 2006, 2010, 2015, 2018, 2022, 2025, 2027, 2029, 2031, 2038, - 2040, 2041, 2042, 2046, 2049, 2053, 2056, 2062, 2064, 2067, - 2070, 2073, 2079, 2082, 2085, 2087, 2089, 2093, 2100, 2106, - 2111, 2117, 2119, 2124, 2127, 2130, 2132, 2134, 2138, 2142, - 2147, 2150, 2155, 2158, 2161, 2167, 2169, 2181, 2185, 2190, - 2216, 2218, 2221, 2223, 2228, 2230, 2232, 2234, 2236, 2238, - 2242, 2250, 2253, 2255, 2259, 2266, 2272, 2278, 2284, 2294, - 2300, 2304, 2311, 2339, 2349, 2355, 2358, 2361, 2363, 2367, - 2369, 2373, 2376, 2380, 2388, 2391, 2393, 2397, 2408, 2422, - 2423, 2424, 2425, 2428, 2437, 2442, 2448, 2450, 2455, 2457, - 2459, 2461, 2463, 2465, 2468, 2478, 2485, 2510, 2516, 2519, - 2522, 2524, 2535, 2540, 2543, 2548, 2551, 2558, 2568, 2571, - 2578, 2588, 2590, 2593, 2595, 2598, 2602, 2607, 2611, 2614, - 2617, 2622, 2625, 2629, 2632, 2634, 2638, 2640, 2647, 2649, - 2652, 2655, 2660, 2664, 2669, 2679, 2682, 2686, 2690, 2699, - 2702, 2704, 2706, 2712, 2714, 2723, 2726, 2728, 2730, 2732, - 2736, 2739, 2742, 2744, 2746, 2748, 2752, 2755, 2766, 2776, - 2778, 2779, 2783, 2791, 2793, 2801, 2804, 2806, 2808, 2810, - 2814, 2817, 2820, 2822, 2824, 2826, 2830, 2833, 2836, 2838, - 2840, 2842, 2844, 2851, 2855, 2860, 2864, 2869, 2871, 2875, - 2878, 2880, 2884, 2886, 2887, 2890, 2892, 2894, 2901, 2912, - 2918, 2924, 2938, 2940, 2944, 2958, 2960, 2962, 2966, 2972, - 2985, 2988, 2993, 3006, 3012, 3014, 3015, 3016, 3024, 3029, - 3038, 3039, 3043, 3046, 3052, 3058, 3061, 3063, 3065, 3067, - 3071, 3075, 3079, 3082, 3086, 3088, 3097, 3100, 3102, 3104, - 3106, 3108, 3110, 3112, 3114, 3118, 3122, 3126, 3130, 3132, - 3134, 3136, 3138, 3140, 3142, 3144, 3146, 3154, 3156, 3157, - 3158, 3161, 3167, 3169, 3174, 3176, 3179, 3192, 3195, 3198, - 3202, 3205, 3212, 3214, 3217, 3219, 3221, 3224, 3227, 3230, - 3233, 3235, 3238, 3242, 3244, 3250, 3252, 3253, 3255, 3260, - 3262, 3264, 3266, 3268, 3271, 3272, 3274, 3277, 3278, 3281, - 3281, 3284, 3284, 3287, 3287, 3289, 3291, 3293, 3295, 3301, - 3307, 3309, 3312, 3315, 3318, 3321, 3327, 3329, 3330, 3333, - 3335, 3336, 3337, 3339, 3342, 3345, 3348, 3354, 3358, 3360, - 3363, 3365, 3368, 3372, 3374, 3377, 3379, 3382, 3399, 3407, - 3410, 3412, 3414, 3418, 3421, 3422, 3430, 3433, 3436, 3439, - 3440, 3446, 3449, 3452, 3454, 3458, 3463, 3466, 3476, 3481, - 3482, 3489, 3492, 3495, 3497, 3500, 3502, 3512, 3526, 3530, - 3533, 3535, 3539, 3543, 3546, 3549, 3551, 3555, 3557, 3564, - 3571, 3574, 3578, 3582, 3586, 3592, 3596, 3601, 3603, 3606, - 3611, 3617, 3628, 3631, 3633, 3637, 3645, 3648, 3652, 3655, - 3657, 3659, 3665, 3670, 3673, 3675, 3677, 3679, 3681, 3683, - 3685, 3687, 3689, 3691, 3693, 3695, 3697, 3699, 3701, 3703, - 3705, 3707, 3709, 3711, 3713, 3715, 3717, 3719, 3721, 3723, - 3725, 3727, 3729, 3731, 3733, 3735, 3738, 3740 + 431, 433, 441, 444, 445, 449, 451, 454, 459, 463, + 469, 473, 477, 481, 484, 486, 488, 491, 493, 496, + 499, 501, 503, 505, 507, 508, 510, 511, 515, 518, + 527, 530, 532, 536, 539, 541, 545, 548, 560, 567, + 575, 577, 578, 580, 584, 587, 593, 596, 598, 603, + 606, 610, 613, 616, 619, 623, 628, 638, 640, 642, + 644, 646, 659, 662, 666, 669, 671, 673, 676, 679, + 683, 685, 687, 689, 694, 696, 698, 700, 702, 703, + 710, 711, 712, 715, 718, 722, 724, 725, 728, 730, + 733, 736, 738, 742, 745, 747, 751, 753, 755, 759, + 761, 763, 767, 769, 771, 777, 781, 784, 787, 790, + 795, 798, 800, 802, 808, 817, 820, 822, 824, 827, + 829, 834, 843, 846, 848, 852, 861, 877, 880, 882, + 883, 886, 893, 899, 901, 903, 905, 907, 910, 913, + 916, 918, 919, 920, 921, 924, 926, 927, 930, 932, + 933, 936, 941, 941, 945, 945, 948, 948, 951, 951, + 955, 955, 960, 960, 963, 963, 966, 968, 971, 978, + 982, 985, 988, 990, 994, 1000, 1009, 1011, 1019, 1022, + 1025, 1028, 1032, 1035, 1037, 1040, 1043, 1045, 1047, 1049, + 1053, 1056, 1059, 1064, 1068, 1073, 1077, 1080, 1081, 1085, + 1102, 1108, 1111, 1113, 1114, 1115, 1118, 1122, 1123, 1127, + 1131, 1134, 1136, 1140, 1143, 1146, 1150, 1153, 1155, 1157, + 1159, 1162, 1166, 1168, 1171, 1173, 1179, 1182, 1185, 1188, + 1191, 1196, 1199, 1202, 1206, 1208, 1212, 1216, 1218, 1220, + 1225, 1228, 1233, 1236, 1238, 1246, 1259, 1264, 1270, 1272, + 1274, 1287, 1290, 1292, 1294, 1296, 1298, 1300, 1302, 1304, + 1306, 1308, 1310, 1312, 1314, 1316, 1318, 1320, 1322, 1324, + 1326, 1328, 1330, 1334, 1336, 1338, 1355, 1358, 1360, 1361, + 1362, 1363, 1364, 1367, 1379, 1382, 1386, 1389, 1391, 1396, + 1398, 1399, 1402, 1404, 1412, 1414, 1416, 1418, 1422, 1425, + 1429, 1433, 1434, 1435, 1439, 1447, 1448, 1449, 1459, 1461, + 1464, 1466, 1477, 1482, 1484, 1486, 1488, 1490, 1492, 1494, + 1497, 1499, 1510, 1511, 1515, 1519, 1523, 1527, 1529, 1533, + 1535, 1537, 1545, 1547, 1549, 1551, 1555, 1557, 1559, 1561, + 1566, 1568, 1570, 1572, 1575, 1577, 1579, 1623, 1626, 1630, + 1633, 1637, 1640, 1645, 1647, 1651, 1660, 1663, 1670, 1676, + 1680, 1682, 1687, 1689, 1696, 1698, 1702, 1706, 1712, 1716, + 1719, 1723, 1726, 1736, 1739, 1743, 1747, 1750, 1753, 1756, + 1759, 1765, 1771, 1773, 1778, 1780, 1798, 1801, 1806, 1811, + 1819, 1821, 1834, 1838, 1841, 1844, 1849, 1852, 1860, 1863, + 1865, 1867, 1870, 1873, 1888, 1907, 1910, 1912, 1915, 1917, + 1921, 1923, 1927, 1929, 1933, 1936, 1940, 1945, 1946, 1959, + 1966, 1967, 1973, 1978, 1983, 1989, 1990, 1997, 2000, 2004, + 2007, 2011, 2016, 2019, 2023, 2026, 2028, 2030, 2032, 2039, + 2041, 2042, 2043, 2047, 2050, 2054, 2057, 2063, 2065, 2068, + 2071, 2074, 2080, 2083, 2086, 2088, 2090, 2094, 2101, 2107, + 2112, 2118, 2120, 2125, 2128, 2131, 2133, 2135, 2139, 2143, + 2148, 2151, 2156, 2159, 2162, 2168, 2170, 2182, 2186, 2191, + 2217, 2219, 2222, 2224, 2229, 2231, 2233, 2235, 2237, 2239, + 2243, 2251, 2254, 2256, 2260, 2267, 2273, 2279, 2285, 2295, + 2301, 2305, 2312, 2340, 2350, 2356, 2359, 2362, 2364, 2368, + 2370, 2374, 2377, 2381, 2389, 2392, 2394, 2398, 2409, 2423, + 2424, 2425, 2426, 2429, 2438, 2443, 2449, 2451, 2456, 2458, + 2460, 2462, 2464, 2466, 2469, 2479, 2486, 2511, 2517, 2520, + 2523, 2525, 2536, 2541, 2544, 2549, 2552, 2559, 2569, 2572, + 2579, 2589, 2591, 2594, 2596, 2599, 2603, 2608, 2612, 2615, + 2618, 2623, 2626, 2630, 2633, 2635, 2639, 2641, 2648, 2650, + 2653, 2656, 2661, 2665, 2670, 2680, 2683, 2687, 2691, 2700, + 2703, 2705, 2707, 2713, 2715, 2724, 2727, 2729, 2731, 2733, + 2737, 2740, 2743, 2745, 2747, 2749, 2753, 2756, 2767, 2777, + 2779, 2780, 2784, 2792, 2794, 2802, 2805, 2807, 2809, 2811, + 2815, 2818, 2821, 2823, 2825, 2827, 2831, 2834, 2837, 2839, + 2841, 2843, 2845, 2852, 2856, 2861, 2865, 2870, 2872, 2876, + 2879, 2881, 2885, 2887, 2888, 2891, 2893, 2895, 2902, 2913, + 2919, 2925, 2939, 2941, 2945, 2959, 2961, 2963, 2967, 2973, + 2986, 2989, 2994, 3007, 3013, 3015, 3016, 3017, 3025, 3030, + 3039, 3040, 3044, 3047, 3053, 3059, 3062, 3064, 3066, 3068, + 3072, 3076, 3080, 3083, 3087, 3089, 3098, 3101, 3103, 3105, + 3107, 3109, 3111, 3113, 3115, 3119, 3123, 3127, 3131, 3133, + 3135, 3137, 3139, 3141, 3143, 3145, 3147, 3155, 3157, 3158, + 3159, 3162, 3168, 3170, 3175, 3177, 3180, 3193, 3196, 3199, + 3203, 3206, 3213, 3215, 3218, 3220, 3222, 3225, 3228, 3231, + 3234, 3236, 3239, 3243, 3245, 3251, 3253, 3254, 3256, 3261, + 3263, 3265, 3267, 3269, 3272, 3273, 3275, 3278, 3279, 3282, + 3282, 3285, 3285, 3288, 3288, 3290, 3292, 3294, 3296, 3302, + 3308, 3310, 3313, 3316, 3319, 3322, 3328, 3330, 3331, 3334, + 3336, 3337, 3338, 3340, 3343, 3346, 3349, 3355, 3359, 3361, + 3364, 3366, 3369, 3373, 3375, 3378, 3380, 3383, 3400, 3408, + 3411, 3413, 3415, 3419, 3422, 3423, 3431, 3434, 3437, 3440, + 3441, 3447, 3450, 3453, 3455, 3459, 3464, 3467, 3477, 3482, + 3483, 3490, 3493, 3496, 3498, 3501, 3503, 3513, 3527, 3531, + 3534, 3536, 3540, 3544, 3547, 3550, 3552, 3556, 3558, 3565, + 3572, 3575, 3579, 3583, 3587, 3593, 3597, 3602, 3604, 3607, + 3612, 3618, 3629, 3632, 3634, 3638, 3646, 3649, 3653, 3656, + 3658, 3660, 3666, 3671, 3674, 3676, 3678, 3680, 3682, 3684, + 3686, 3688, 3690, 3692, 3694, 3696, 3698, 3700, 3702, 3704, + 3706, 3708, 3710, 3712, 3714, 3716, 3718, 3720, 3722, 3724, + 3726, 3728, 3730, 3732, 3734, 3736, 3739, 3741 }; #endif @@ -4573,107 +4573,107 @@ yyreduce: switch (yyn) { case 2: -#line 433 "parse.y" +#line 434 "parse.y" { finish_translation_unit (); ; break;} case 3: -#line 441 "parse.y" +#line 442 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 4: -#line 443 "parse.y" +#line 444 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 5: -#line 445 "parse.y" +#line 446 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 8: -#line 454 "parse.y" +#line 455 "parse.y" { have_extern_spec = 1; used_extern_spec = 0; yyval.ttype = NULL_TREE; ; break;} case 9: -#line 459 "parse.y" +#line 460 "parse.y" { have_extern_spec = 0; ; break;} case 10: -#line 464 "parse.y" +#line 465 "parse.y" { yyval.itype = pedantic; pedantic = 0; ; break;} case 12: -#line 473 "parse.y" +#line 474 "parse.y" { if (pending_lang_change) do_pending_lang_change(); type_lookups = NULL_TREE; ; break;} case 13: -#line 476 "parse.y" +#line 477 "parse.y" { if (! toplevel_bindings_p ()) pop_everything (); ; break;} case 14: -#line 482 "parse.y" +#line 483 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 15: -#line 484 "parse.y" +#line 485 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 16: -#line 486 "parse.y" +#line 487 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 17: -#line 488 "parse.y" +#line 489 "parse.y" { if (TREE_CHAIN (yyvsp[-2].ttype)) yyvsp[-2].ttype = combine_strings (yyvsp[-2].ttype); assemble_asm (yyvsp[-2].ttype); ; break;} case 18: -#line 491 "parse.y" +#line 492 "parse.y" { pop_lang_context (); ; break;} case 19: -#line 493 "parse.y" +#line 494 "parse.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 20: -#line 496 "parse.y" +#line 497 "parse.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 21: -#line 499 "parse.y" +#line 500 "parse.y" { push_namespace (yyvsp[-1].ttype); ; break;} case 22: -#line 501 "parse.y" +#line 502 "parse.y" { pop_namespace (); ; break;} case 23: -#line 503 "parse.y" +#line 504 "parse.y" { push_namespace (NULL_TREE); ; break;} case 24: -#line 505 "parse.y" +#line 506 "parse.y" { pop_namespace (); ; break;} case 26: -#line 508 "parse.y" +#line 509 "parse.y" { do_toplevel_using_decl (yyvsp[-1].ttype); ; break;} case 28: -#line 511 "parse.y" +#line 512 "parse.y" { pedantic = yyvsp[-1].itype; ; break;} case 29: -#line 516 "parse.y" +#line 517 "parse.y" { begin_only_namespace_names (); ; break;} case 30: -#line 518 "parse.y" +#line 519 "parse.y" { end_only_namespace_names (); if (lastiddecl) @@ -4682,35 +4682,35 @@ case 30: ; break;} case 31: -#line 528 "parse.y" +#line 529 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 32: -#line 530 "parse.y" +#line 531 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 33: -#line 532 "parse.y" +#line 533 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 34: -#line 537 "parse.y" +#line 538 "parse.y" { yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 35: -#line 539 "parse.y" +#line 540 "parse.y" { yyval.ttype = build_parse_node (SCOPE_REF, global_namespace, yyvsp[0].ttype); ; break;} case 36: -#line 541 "parse.y" +#line 542 "parse.y" { yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 37: -#line 546 "parse.y" +#line 547 "parse.y" { begin_only_namespace_names (); ; break;} case 38: -#line 548 "parse.y" +#line 549 "parse.y" { end_only_namespace_names (); /* If no declaration was found, the using-directive is @@ -4722,7 +4722,7 @@ case 38: ; break;} case 39: -#line 561 "parse.y" +#line 562 "parse.y" { if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) yyval.ttype = lastiddecl; @@ -4730,7 +4730,7 @@ case 39: ; break;} case 40: -#line 567 "parse.y" +#line 568 "parse.y" { yyval.ttype = yyvsp[-1].ttype; if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) @@ -4739,86 +4739,86 @@ case 40: ; break;} case 43: -#line 578 "parse.y" +#line 579 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 44: -#line 580 "parse.y" +#line 581 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 45: -#line 585 "parse.y" +#line 586 "parse.y" { push_lang_context (yyvsp[0].ttype); ; break;} case 46: -#line 587 "parse.y" +#line 588 "parse.y" { if (current_lang_name != yyvsp[0].ttype) cp_error ("use of linkage spec `%D' is different from previous spec `%D'", yyvsp[0].ttype, current_lang_name); pop_lang_context (); push_lang_context (yyvsp[0].ttype); ; break;} case 47: -#line 594 "parse.y" +#line 595 "parse.y" { begin_template_parm_list (); ; break;} case 48: -#line 596 "parse.y" +#line 597 "parse.y" { yyval.ttype = end_template_parm_list (yyvsp[-1].ttype); ; break;} case 49: -#line 598 "parse.y" +#line 599 "parse.y" { begin_specialization(); yyval.ttype = NULL_TREE; ; break;} case 50: -#line 604 "parse.y" +#line 605 "parse.y" { yyval.ttype = process_template_parm (NULL_TREE, yyvsp[0].ttype); ; break;} case 51: -#line 606 "parse.y" +#line 607 "parse.y" { yyval.ttype = process_template_parm (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 52: -#line 611 "parse.y" +#line 612 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 53: -#line 613 "parse.y" +#line 614 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 54: -#line 617 "parse.y" +#line 618 "parse.y" { yyval.ttype = finish_template_type_parm (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 55: -#line 619 "parse.y" +#line 620 "parse.y" { yyval.ttype = finish_template_type_parm (class_type_node, yyvsp[0].ttype); ; break;} case 56: -#line 624 "parse.y" +#line 625 "parse.y" { yyval.ttype = finish_template_template_parm (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 57: -#line 636 "parse.y" +#line 637 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 58: -#line 638 "parse.y" +#line 639 "parse.y" { yyval.ttype = build_tree_list (groktypename (yyvsp[0].ftype.t), yyvsp[-2].ttype); ; break;} case 59: -#line 640 "parse.y" +#line 641 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); ; break;} case 60: -#line 642 "parse.y" +#line 643 "parse.y" { yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-2].ftype.t); ; break;} case 61: -#line 644 "parse.y" +#line 645 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 62: -#line 646 "parse.y" +#line 647 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) != TEMPLATE_DECL && TREE_CODE (yyvsp[0].ttype) != TEMPLATE_TEMPLATE_PARM @@ -4831,66 +4831,66 @@ case 62: ; break;} case 63: -#line 660 "parse.y" +#line 661 "parse.y" { finish_template_decl (yyvsp[-1].ttype); ; break;} case 64: -#line 662 "parse.y" +#line 663 "parse.y" { finish_template_decl (yyvsp[-1].ttype); ; break;} case 65: -#line 667 "parse.y" +#line 668 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 66: -#line 669 "parse.y" +#line 670 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 67: -#line 671 "parse.y" +#line 672 "parse.y" { if (pending_inlines) do_pending_inlines (); ; break;} case 68: -#line 673 "parse.y" +#line 674 "parse.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 69: -#line 676 "parse.y" +#line 677 "parse.y" { if (pending_inlines) do_pending_inlines (); pop_lang_context (); ; break;} case 70: -#line 679 "parse.y" +#line 680 "parse.y" { pedantic = yyvsp[-1].itype; ; break;} case 72: -#line 685 "parse.y" +#line 686 "parse.y" {; break;} case 73: -#line 687 "parse.y" +#line 688 "parse.y" { note_list_got_semicolon (yyvsp[-2].ftype.t); ; break;} case 74: -#line 689 "parse.y" +#line 690 "parse.y" { maybe_process_partial_specialization (yyvsp[-1].ftype.t); note_got_semicolon (yyvsp[-1].ftype.t); ; break;} case 76: -#line 696 "parse.y" +#line 697 "parse.y" {; break;} case 77: -#line 698 "parse.y" +#line 699 "parse.y" { note_list_got_semicolon (yyvsp[-2].ftype.t); ; break;} case 78: -#line 700 "parse.y" +#line 701 "parse.y" { pedwarn ("empty declaration"); ; break;} case 80: -#line 703 "parse.y" +#line 704 "parse.y" { tree t, attrs; split_specs_attrs (yyvsp[-1].ftype.t, &t, &attrs); @@ -4899,124 +4899,124 @@ case 80: ; break;} case 84: -#line 716 "parse.y" +#line 717 "parse.y" { yyval.itype = 0; ; break;} case 85: -#line 718 "parse.y" +#line 719 "parse.y" { yyval.itype = 1; ; break;} case 91: -#line 734 "parse.y" +#line 735 "parse.y" { expand_body (finish_function (lineno, (int)yyvsp[-1].itype)); ; break;} case 92: -#line 736 "parse.y" +#line 737 "parse.y" { expand_body (finish_function (lineno, (int)yyvsp[0].itype)); ; break;} case 93: -#line 738 "parse.y" +#line 739 "parse.y" { ; break;} case 94: -#line 743 "parse.y" +#line 744 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 95: -#line 745 "parse.y" +#line 746 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 96: -#line 747 "parse.y" +#line 748 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 97: -#line 751 "parse.y" +#line 752 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 98: -#line 753 "parse.y" +#line 754 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 99: -#line 755 "parse.y" +#line 756 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 100: -#line 759 "parse.y" +#line 760 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 101: -#line 761 "parse.y" +#line 762 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 102: -#line 763 "parse.y" +#line 764 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 103: -#line 767 "parse.y" +#line 768 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 104: -#line 769 "parse.y" +#line 770 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 105: -#line 771 "parse.y" +#line 772 "parse.y" { yyval.ttype = begin_constructor_declarator (yyvsp[-4].ttype, yyvsp[-3].ttype); yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 106: -#line 778 "parse.y" +#line 779 "parse.y" { if (!begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) YYERROR1; ; break;} case 107: -#line 781 "parse.y" +#line 782 "parse.y" { if (!begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) YYERROR1; ; break;} case 108: -#line 784 "parse.y" +#line 785 "parse.y" { if (!begin_function_definition (NULL_TREE, yyvsp[0].ttype)) YYERROR1; ; break;} case 109: -#line 787 "parse.y" +#line 788 "parse.y" { if (!begin_function_definition (yyvsp[-1].ftype.t, yyvsp[0].ttype)) YYERROR1; ; break;} case 110: -#line 790 "parse.y" +#line 791 "parse.y" { if (!begin_function_definition (NULL_TREE, yyvsp[0].ttype)) YYERROR1; ; break;} case 111: -#line 796 "parse.y" +#line 797 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-5].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 112: -#line 798 "parse.y" +#line 799 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-3].ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 113: -#line 800 "parse.y" +#line 801 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-5].ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 114: -#line 802 "parse.y" +#line 803 "parse.y" { yyval.ttype = make_call_declarator (yyvsp[-3].ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 115: -#line 809 "parse.y" +#line 810 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); rest_of_mdef: if (! yyval.ttype) @@ -5026,34 +5026,34 @@ case 115: reinit_parse_for_method (yychar, yyval.ttype); ; break;} case 116: -#line 817 "parse.y" +#line 818 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); goto rest_of_mdef; ; break;} case 117: -#line 820 "parse.y" +#line 821 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;; break;} case 118: -#line 822 "parse.y" +#line 823 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;; break;} case 119: -#line 824 "parse.y" +#line 825 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); goto rest_of_mdef; ; break;} case 120: -#line 827 "parse.y" +#line 828 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, yyvsp[-1].ftype.t, yyvsp[-1].ftype.lookups); goto rest_of_mdef;; break;} case 121: -#line 829 "parse.y" +#line 830 "parse.y" { yyval.ttype = parse_method (yyvsp[0].ttype, NULL_TREE, NULL_TREE); goto rest_of_mdef; ; break;} case 122: -#line 835 "parse.y" +#line 836 "parse.y" { if (! current_function_parms_stored) store_parm_decls (); @@ -5061,19 +5061,19 @@ case 122: ; break;} case 123: -#line 844 "parse.y" +#line 845 "parse.y" { finish_named_return_value (yyval.ttype, yyvsp[0].ttype); ; break;} case 124: -#line 846 "parse.y" +#line 847 "parse.y" { finish_named_return_value (yyval.ttype, yyvsp[-1].ttype); ; break;} case 125: -#line 848 "parse.y" +#line 849 "parse.y" { finish_named_return_value (yyval.ttype, NULL_TREE); ; break;} case 126: -#line 853 "parse.y" +#line 854 "parse.y" { if (yyvsp[0].itype == 0) error ("no base initializers given following ':'"); @@ -5081,7 +5081,7 @@ case 126: ; break;} case 127: -#line 862 "parse.y" +#line 863 "parse.y" { if (! current_function_parms_stored) store_parm_decls (); @@ -5096,15 +5096,15 @@ case 127: ; break;} case 128: -#line 878 "parse.y" +#line 879 "parse.y" { yyval.itype = 0; ; break;} case 129: -#line 880 "parse.y" +#line 881 "parse.y" { yyval.itype = 1; ; break;} case 132: -#line 887 "parse.y" +#line 888 "parse.y" { if (current_class_name) pedwarn ("anachronistic old style base class initializer"); @@ -5112,7 +5112,7 @@ case 132: ; break;} case 133: -#line 893 "parse.y" +#line 894 "parse.y" { if (current_class_name) pedwarn ("anachronistic old style base class initializer"); @@ -5120,93 +5120,93 @@ case 133: ; break;} case 134: -#line 899 "parse.y" +#line 900 "parse.y" { expand_member_init (current_class_ref, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 135: -#line 901 "parse.y" +#line 902 "parse.y" { expand_member_init (current_class_ref, yyvsp[-1].ttype, void_type_node); ; break;} case 136: -#line 903 "parse.y" +#line 904 "parse.y" { expand_member_init (current_class_ref, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 137: -#line 905 "parse.y" +#line 906 "parse.y" { expand_member_init (current_class_ref, yyvsp[-1].ttype, void_type_node); ; break;} case 138: -#line 907 "parse.y" +#line 908 "parse.y" { expand_member_init (current_class_ref, TYPE_MAIN_DECL (yyvsp[-3].ttype), yyvsp[-1].ttype); ; break;} case 139: -#line 910 "parse.y" +#line 911 "parse.y" { expand_member_init (current_class_ref, TYPE_MAIN_DECL (yyvsp[-1].ttype), void_type_node); ; break;} case 152: -#line 937 "parse.y" +#line 938 "parse.y" { do_type_instantiation (yyvsp[-1].ftype.t, NULL_TREE); yyungetc (';', 1); ; break;} case 154: -#line 941 "parse.y" +#line 942 "parse.y" { tree specs = strip_attrs (yyvsp[-1].ftype.t); do_decl_instantiation (specs, yyvsp[0].ttype, NULL_TREE); ; break;} case 156: -#line 945 "parse.y" +#line 946 "parse.y" { do_decl_instantiation (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 158: -#line 948 "parse.y" +#line 949 "parse.y" { do_decl_instantiation (NULL_TREE, yyvsp[0].ttype, NULL_TREE); ; break;} case 160: -#line 951 "parse.y" +#line 952 "parse.y" { do_type_instantiation (yyvsp[-1].ftype.t, yyvsp[-4].ttype); yyungetc (';', 1); ; break;} case 162: -#line 956 "parse.y" +#line 957 "parse.y" { tree specs = strip_attrs (yyvsp[-1].ftype.t); do_decl_instantiation (specs, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 164: -#line 960 "parse.y" +#line 961 "parse.y" { do_decl_instantiation (NULL_TREE, yyvsp[0].ttype, yyvsp[-3].ttype); ; break;} case 166: -#line 963 "parse.y" +#line 964 "parse.y" { do_decl_instantiation (NULL_TREE, yyvsp[0].ttype, yyvsp[-3].ttype); ; break;} case 168: -#line 968 "parse.y" +#line 969 "parse.y" { begin_explicit_instantiation(); ; break;} case 169: -#line 971 "parse.y" +#line 972 "parse.y" { end_explicit_instantiation(); ; break;} case 170: -#line 980 "parse.y" +#line 981 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 171: -#line 983 "parse.y" +#line 984 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 174: -#line 991 "parse.y" +#line 992 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 175: -#line 996 "parse.y" +#line 997 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 176: -#line 1000 "parse.y" +#line 1001 "parse.y" { if (yychar == YYEMPTY) yychar = YYLEX; @@ -5216,7 +5216,7 @@ case 176: ; break;} case 178: -#line 1011 "parse.y" +#line 1012 "parse.y" { /* Handle `Class<Class<Type>>' without space in the `>>' */ pedwarn ("`>>' should be `> >' in template class name"); @@ -5224,79 +5224,79 @@ case 178: ; break;} case 179: -#line 1020 "parse.y" +#line 1021 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 181: -#line 1026 "parse.y" +#line 1027 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ; break;} case 182: -#line 1028 "parse.y" +#line 1029 "parse.y" { yyval.ttype = chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 183: -#line 1033 "parse.y" +#line 1034 "parse.y" { yyval.ttype = groktypename (yyvsp[0].ftype.t); ; break;} case 184: -#line 1035 "parse.y" +#line 1036 "parse.y" { yyval.ttype = lastiddecl; ; break;} case 186: -#line 1041 "parse.y" +#line 1042 "parse.y" { yyval.code = NEGATE_EXPR; ; break;} case 187: -#line 1043 "parse.y" +#line 1044 "parse.y" { yyval.code = CONVERT_EXPR; ; break;} case 188: -#line 1045 "parse.y" +#line 1046 "parse.y" { yyval.code = PREINCREMENT_EXPR; ; break;} case 189: -#line 1047 "parse.y" +#line 1048 "parse.y" { yyval.code = PREDECREMENT_EXPR; ; break;} case 190: -#line 1049 "parse.y" +#line 1050 "parse.y" { yyval.code = TRUTH_NOT_EXPR; ; break;} case 191: -#line 1054 "parse.y" +#line 1055 "parse.y" { yyval.ttype = build_x_compound_expr (yyval.ttype); ; break;} case 193: -#line 1060 "parse.y" +#line 1061 "parse.y" { error ("ISO C++ forbids an empty condition for `%s'", cond_stmt_keyword); yyval.ttype = integer_zero_node; ; break;} case 194: -#line 1064 "parse.y" +#line 1065 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 195: -#line 1069 "parse.y" +#line 1070 "parse.y" { error ("ISO C++ forbids an empty condition for `%s'", cond_stmt_keyword); yyval.ttype = integer_zero_node; ; break;} case 196: -#line 1073 "parse.y" +#line 1074 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 197: -#line 1078 "parse.y" +#line 1079 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 199: -#line 1081 "parse.y" +#line 1082 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 200: -#line 1086 "parse.y" +#line 1087 "parse.y" { { tree d; for (d = getdecls (); d; d = TREE_CHAIN (d)) @@ -5313,7 +5313,7 @@ case 200: ; break;} case 201: -#line 1101 "parse.y" +#line 1102 "parse.y" { parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-3].ttype); yyval.ttype = convert_from_reference (yyvsp[-1].ttype); @@ -5322,180 +5322,180 @@ case 201: ; break;} case 207: -#line 1119 "parse.y" +#line 1120 "parse.y" { yyval.ttype = begin_compound_stmt (1); ; break;} case 208: -#line 1121 "parse.y" +#line 1122 "parse.y" { finish_compound_stmt (1, yyvsp[-1].ttype); ; break;} case 210: -#line 1128 "parse.y" +#line 1129 "parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 211: -#line 1131 "parse.y" +#line 1132 "parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyval.ttype, build_tree_list (NULL_TREE, error_mark_node)); ; break;} case 212: -#line 1134 "parse.y" +#line 1135 "parse.y" { chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 213: -#line 1136 "parse.y" +#line 1137 "parse.y" { chainon (yyval.ttype, build_tree_list (NULL_TREE, error_mark_node)); ; break;} case 214: -#line 1141 "parse.y" +#line 1142 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ; break;} case 216: -#line 1147 "parse.y" +#line 1148 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 217: -#line 1150 "parse.y" +#line 1151 "parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-1].itype; ; break;} case 218: -#line 1153 "parse.y" +#line 1154 "parse.y" { yyval.ttype = build_x_indirect_ref (yyvsp[0].ttype, "unary *"); ; break;} case 219: -#line 1155 "parse.y" +#line 1156 "parse.y" { yyval.ttype = build_x_unary_op (ADDR_EXPR, yyvsp[0].ttype); ; break;} case 220: -#line 1157 "parse.y" +#line 1158 "parse.y" { yyval.ttype = build_x_unary_op (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 221: -#line 1159 "parse.y" +#line 1160 "parse.y" { yyval.ttype = finish_unary_op_expr (yyvsp[-1].code, yyvsp[0].ttype); ; break;} case 222: -#line 1162 "parse.y" +#line 1163 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids `&&'"); yyval.ttype = finish_label_address_expr (yyvsp[0].ttype); ; break;} case 223: -#line 1166 "parse.y" +#line 1167 "parse.y" { yyval.ttype = expr_sizeof (yyvsp[0].ttype); ; break;} case 224: -#line 1168 "parse.y" +#line 1169 "parse.y" { yyval.ttype = c_sizeof (groktypename (yyvsp[-1].ftype.t)); check_for_new_type ("sizeof", yyvsp[-1].ftype); ; break;} case 225: -#line 1171 "parse.y" +#line 1172 "parse.y" { yyval.ttype = grok_alignof (yyvsp[0].ttype); ; break;} case 226: -#line 1173 "parse.y" +#line 1174 "parse.y" { yyval.ttype = c_alignof (groktypename (yyvsp[-1].ftype.t)); check_for_new_type ("alignof", yyvsp[-1].ftype); ; break;} case 227: -#line 1179 "parse.y" +#line 1180 "parse.y" { yyval.ttype = build_new (NULL_TREE, yyvsp[0].ftype.t, NULL_TREE, yyvsp[-1].itype); check_for_new_type ("new", yyvsp[0].ftype); ; break;} case 228: -#line 1182 "parse.y" +#line 1183 "parse.y" { yyval.ttype = build_new (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype, yyvsp[-2].itype); check_for_new_type ("new", yyvsp[-1].ftype); ; break;} case 229: -#line 1185 "parse.y" +#line 1186 "parse.y" { yyval.ttype = build_new (yyvsp[-1].ttype, yyvsp[0].ftype.t, NULL_TREE, yyvsp[-2].itype); check_for_new_type ("new", yyvsp[0].ftype); ; break;} case 230: -#line 1188 "parse.y" +#line 1189 "parse.y" { yyval.ttype = build_new (yyvsp[-2].ttype, yyvsp[-1].ftype.t, yyvsp[0].ttype, yyvsp[-3].itype); check_for_new_type ("new", yyvsp[-1].ftype); ; break;} case 231: -#line 1192 "parse.y" +#line 1193 "parse.y" { yyval.ttype = build_new (NULL_TREE, groktypename(yyvsp[-1].ftype.t), NULL_TREE, yyvsp[-3].itype); check_for_new_type ("new", yyvsp[-1].ftype); ; break;} case 232: -#line 1196 "parse.y" +#line 1197 "parse.y" { yyval.ttype = build_new (NULL_TREE, groktypename(yyvsp[-2].ftype.t), yyvsp[0].ttype, yyvsp[-4].itype); check_for_new_type ("new", yyvsp[-2].ftype); ; break;} case 233: -#line 1199 "parse.y" +#line 1200 "parse.y" { yyval.ttype = build_new (yyvsp[-3].ttype, groktypename(yyvsp[-1].ftype.t), NULL_TREE, yyvsp[-4].itype); check_for_new_type ("new", yyvsp[-1].ftype); ; break;} case 234: -#line 1202 "parse.y" +#line 1203 "parse.y" { yyval.ttype = build_new (yyvsp[-4].ttype, groktypename(yyvsp[-2].ftype.t), yyvsp[0].ttype, yyvsp[-5].itype); check_for_new_type ("new", yyvsp[-2].ftype); ; break;} case 235: -#line 1206 "parse.y" +#line 1207 "parse.y" { yyval.ttype = delete_sanity (yyvsp[0].ttype, NULL_TREE, 0, yyvsp[-1].itype); ; break;} case 236: -#line 1208 "parse.y" +#line 1209 "parse.y" { yyval.ttype = delete_sanity (yyvsp[0].ttype, NULL_TREE, 1, yyvsp[-3].itype); if (yychar == YYEMPTY) yychar = YYLEX; ; break;} case 237: -#line 1212 "parse.y" +#line 1213 "parse.y" { yyval.ttype = delete_sanity (yyvsp[0].ttype, yyvsp[-2].ttype, 2, yyvsp[-4].itype); if (yychar == YYEMPTY) yychar = YYLEX; ; break;} case 238: -#line 1216 "parse.y" +#line 1217 "parse.y" { yyval.ttype = build_x_unary_op (REALPART_EXPR, yyvsp[0].ttype); ; break;} case 239: -#line 1218 "parse.y" +#line 1219 "parse.y" { yyval.ttype = build_x_unary_op (IMAGPART_EXPR, yyvsp[0].ttype); ; break;} case 240: -#line 1220 "parse.y" +#line 1221 "parse.y" { yyval.ttype = build_x_va_arg (yyvsp[-3].ttype, groktypename (yyvsp[-1].ftype.t)); check_for_new_type ("__builtin_va_arg", yyvsp[-1].ftype); ; break;} case 241: -#line 1226 "parse.y" +#line 1227 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 242: -#line 1228 "parse.y" +#line 1229 "parse.y" { cp_pedwarn ("old style placement syntax, use () instead"); yyval.ttype = yyvsp[-1].ttype; ; break;} case 243: -#line 1234 "parse.y" +#line 1235 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 244: -#line 1236 "parse.y" +#line 1237 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 245: -#line 1238 "parse.y" +#line 1239 "parse.y" { cp_error ("`%T' is not a valid expression", yyvsp[-1].ftype.t); yyval.ttype = error_mark_node; ; break;} case 246: -#line 1246 "parse.y" +#line 1247 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids initialization of new expression with `='"); @@ -5507,23 +5507,23 @@ case 246: ; break;} case 247: -#line 1260 "parse.y" +#line 1261 "parse.y" { yyvsp[-1].ftype.t = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), 0); yyval.ttype = make_call_declarator (NULL_TREE, yyvsp[-1].ftype.t, NULL_TREE, NULL_TREE); check_for_new_type ("cast", yyvsp[-1].ftype); ; break;} case 248: -#line 1264 "parse.y" +#line 1265 "parse.y" { yyvsp[-1].ftype.t = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), 0); yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-1].ftype.t, NULL_TREE, NULL_TREE); check_for_new_type ("cast", yyvsp[-1].ftype); ; break;} case 250: -#line 1272 "parse.y" +#line 1273 "parse.y" { yyval.ttype = reparse_absdcl_as_casts (yyval.ttype, yyvsp[0].ttype); ; break;} case 251: -#line 1274 "parse.y" +#line 1275 "parse.y" { tree init = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); @@ -5536,113 +5536,113 @@ case 251: ; break;} case 253: -#line 1290 "parse.y" +#line 1291 "parse.y" { yyval.ttype = build_x_binary_op (MEMBER_REF, yyval.ttype, yyvsp[0].ttype); ; break;} case 254: -#line 1292 "parse.y" +#line 1293 "parse.y" { yyval.ttype = build_m_component_ref (yyval.ttype, yyvsp[0].ttype); ; break;} case 255: -#line 1294 "parse.y" +#line 1295 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 256: -#line 1296 "parse.y" +#line 1297 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 257: -#line 1298 "parse.y" +#line 1299 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 258: -#line 1300 "parse.y" +#line 1301 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 259: -#line 1302 "parse.y" +#line 1303 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 260: -#line 1304 "parse.y" +#line 1305 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 261: -#line 1306 "parse.y" +#line 1307 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 262: -#line 1308 "parse.y" +#line 1309 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 263: -#line 1310 "parse.y" +#line 1311 "parse.y" { yyval.ttype = build_x_binary_op (LT_EXPR, yyval.ttype, yyvsp[0].ttype); ; break;} case 264: -#line 1312 "parse.y" +#line 1313 "parse.y" { yyval.ttype = build_x_binary_op (GT_EXPR, yyval.ttype, yyvsp[0].ttype); ; break;} case 265: -#line 1314 "parse.y" +#line 1315 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 266: -#line 1316 "parse.y" +#line 1317 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 267: -#line 1318 "parse.y" +#line 1319 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 268: -#line 1320 "parse.y" +#line 1321 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 269: -#line 1322 "parse.y" +#line 1323 "parse.y" { yyval.ttype = build_x_binary_op (yyvsp[-1].code, yyval.ttype, yyvsp[0].ttype); ; break;} case 270: -#line 1324 "parse.y" +#line 1325 "parse.y" { yyval.ttype = build_x_binary_op (TRUTH_ANDIF_EXPR, yyval.ttype, yyvsp[0].ttype); ; break;} case 271: -#line 1326 "parse.y" +#line 1327 "parse.y" { yyval.ttype = build_x_binary_op (TRUTH_ORIF_EXPR, yyval.ttype, yyvsp[0].ttype); ; break;} case 272: -#line 1328 "parse.y" +#line 1329 "parse.y" { yyval.ttype = build_x_conditional_expr (yyval.ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 273: -#line 1330 "parse.y" +#line 1331 "parse.y" { yyval.ttype = build_x_modify_expr (yyval.ttype, NOP_EXPR, yyvsp[0].ttype); if (yyval.ttype != error_mark_node) C_SET_EXP_ORIGINAL_CODE (yyval.ttype, MODIFY_EXPR); ; break;} case 274: -#line 1334 "parse.y" +#line 1335 "parse.y" { yyval.ttype = build_x_modify_expr (yyval.ttype, yyvsp[-1].code, yyvsp[0].ttype); ; break;} case 275: -#line 1336 "parse.y" +#line 1337 "parse.y" { yyval.ttype = build_throw (NULL_TREE); ; break;} case 276: -#line 1338 "parse.y" +#line 1339 "parse.y" { yyval.ttype = build_throw (yyvsp[0].ttype); ; break;} case 277: -#line 1356 "parse.y" +#line 1357 "parse.y" { yyval.ttype = build_parse_node (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 278: -#line 1358 "parse.y" +#line 1359 "parse.y" { yyval.ttype = build_parse_node (BIT_NOT_EXPR, yyvsp[0].ttype); ; break;} case 284: -#line 1367 "parse.y" +#line 1368 "parse.y" { /* If lastiddecl is a TREE_LIST, it's a baselink, which means that we're in an expression like S::f<int>, so @@ -5655,27 +5655,27 @@ case 284: ; break;} case 285: -#line 1380 "parse.y" +#line 1381 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 286: -#line 1382 "parse.y" +#line 1383 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 287: -#line 1387 "parse.y" +#line 1388 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 288: -#line 1389 "parse.y" +#line 1390 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 289: -#line 1392 "parse.y" +#line 1393 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 294: -#line 1404 "parse.y" +#line 1405 "parse.y" { /* Provide support for '(' attributes '*' declarator ')' etc */ @@ -5683,31 +5683,31 @@ case 294: ; break;} case 296: -#line 1414 "parse.y" +#line 1415 "parse.y" { yyval.ttype = build_parse_node (INDIRECT_REF, yyvsp[0].ttype); ; break;} case 297: -#line 1416 "parse.y" +#line 1417 "parse.y" { yyval.ttype = build_parse_node (ADDR_EXPR, yyvsp[0].ttype); ; break;} case 298: -#line 1418 "parse.y" +#line 1419 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 299: -#line 1423 "parse.y" +#line 1424 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 300: -#line 1425 "parse.y" +#line 1426 "parse.y" { yyval.ttype = lookup_template_function (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 304: -#line 1435 "parse.y" +#line 1436 "parse.y" { yyval.ttype = finish_decl_parsing (yyvsp[-1].ttype); ; break;} case 305: -#line 1440 "parse.y" +#line 1441 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) == BIT_NOT_EXPR) yyval.ttype = build_x_unary_op (BIT_NOT_EXPR, TREE_OPERAND (yyvsp[0].ttype, 0)); @@ -5716,7 +5716,7 @@ case 305: ; break;} case 308: -#line 1449 "parse.y" +#line 1450 "parse.y" { yyval.ttype = combine_strings (yyval.ttype); /* combine_strings doesn't set up TYPE_MAIN_VARIANT of @@ -5728,20 +5728,20 @@ case 308: ; break;} case 309: -#line 1459 "parse.y" +#line 1460 "parse.y" { yyval.ttype = finish_parenthesized_expr (yyvsp[-1].ttype); ; break;} case 310: -#line 1461 "parse.y" +#line 1462 "parse.y" { yyvsp[-1].ttype = reparse_decl_as_expr (NULL_TREE, yyvsp[-1].ttype); yyval.ttype = finish_parenthesized_expr (yyvsp[-1].ttype); ; break;} case 311: -#line 1464 "parse.y" +#line 1465 "parse.y" { yyval.ttype = error_mark_node; ; break;} case 312: -#line 1466 "parse.y" +#line 1467 "parse.y" { tree scope = current_scope (); if (!scope || TREE_CODE (scope) != FUNCTION_DECL) { @@ -5754,43 +5754,43 @@ case 312: ; break;} case 313: -#line 1477 "parse.y" +#line 1478 "parse.y" { yyval.ttype = finish_stmt_expr (yyvsp[-2].ttype); ; break;} case 314: -#line 1482 "parse.y" +#line 1483 "parse.y" { yyval.ttype = finish_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype, 1); ; break;} case 315: -#line 1484 "parse.y" +#line 1485 "parse.y" { yyval.ttype = finish_call_expr (yyvsp[-1].ttype, NULL_TREE, 1); ; break;} case 316: -#line 1486 "parse.y" +#line 1487 "parse.y" { yyval.ttype = finish_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype, 0); ; break;} case 317: -#line 1488 "parse.y" +#line 1489 "parse.y" { yyval.ttype = finish_call_expr (yyvsp[-1].ttype, NULL_TREE, 0); ; break;} case 318: -#line 1490 "parse.y" +#line 1491 "parse.y" { yyval.ttype = grok_array_decl (yyval.ttype, yyvsp[-1].ttype); ; break;} case 319: -#line 1492 "parse.y" +#line 1493 "parse.y" { yyval.ttype = finish_increment_expr (yyvsp[-1].ttype, POSTINCREMENT_EXPR); ; break;} case 320: -#line 1494 "parse.y" +#line 1495 "parse.y" { yyval.ttype = finish_increment_expr (yyvsp[-1].ttype, POSTDECREMENT_EXPR); ; break;} case 321: -#line 1497 "parse.y" +#line 1498 "parse.y" { yyval.ttype = finish_this_expr (); ; break;} case 322: -#line 1499 "parse.y" +#line 1500 "parse.y" { /* This is a C cast in C++'s `functional' notation using the "implicit int" extension so that: @@ -5803,49 +5803,49 @@ case 322: ; break;} case 324: -#line 1511 "parse.y" +#line 1512 "parse.y" { tree type = groktypename (yyvsp[-4].ftype.t); check_for_new_type ("dynamic_cast", yyvsp[-4].ftype); yyval.ttype = build_dynamic_cast (type, yyvsp[-1].ttype); ; break;} case 325: -#line 1515 "parse.y" +#line 1516 "parse.y" { tree type = groktypename (yyvsp[-4].ftype.t); check_for_new_type ("static_cast", yyvsp[-4].ftype); yyval.ttype = build_static_cast (type, yyvsp[-1].ttype); ; break;} case 326: -#line 1519 "parse.y" +#line 1520 "parse.y" { tree type = groktypename (yyvsp[-4].ftype.t); check_for_new_type ("reinterpret_cast", yyvsp[-4].ftype); yyval.ttype = build_reinterpret_cast (type, yyvsp[-1].ttype); ; break;} case 327: -#line 1523 "parse.y" +#line 1524 "parse.y" { tree type = groktypename (yyvsp[-4].ftype.t); check_for_new_type ("const_cast", yyvsp[-4].ftype); yyval.ttype = build_const_cast (type, yyvsp[-1].ttype); ; break;} case 328: -#line 1527 "parse.y" +#line 1528 "parse.y" { yyval.ttype = build_typeid (yyvsp[-1].ttype); ; break;} case 329: -#line 1529 "parse.y" +#line 1530 "parse.y" { tree type = groktypename (yyvsp[-1].ftype.t); check_for_new_type ("typeid", yyvsp[-1].ftype); yyval.ttype = get_typeid (TYPE_MAIN_VARIANT (type)); ; break;} case 330: -#line 1533 "parse.y" +#line 1534 "parse.y" { yyval.ttype = do_scoped_id (yyvsp[0].ttype, 1); ; break;} case 331: -#line 1535 "parse.y" +#line 1536 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 332: -#line 1537 "parse.y" +#line 1538 "parse.y" { got_scope = NULL_TREE; if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) @@ -5855,102 +5855,102 @@ case 332: ; break;} case 333: -#line 1545 "parse.y" +#line 1546 "parse.y" { yyval.ttype = build_offset_ref (OP0 (yyval.ttype), OP1 (yyval.ttype)); ; break;} case 334: -#line 1547 "parse.y" +#line 1548 "parse.y" { yyval.ttype = finish_qualified_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 335: -#line 1549 "parse.y" +#line 1550 "parse.y" { yyval.ttype = finish_qualified_call_expr (yyvsp[-1].ttype, NULL_TREE); ; break;} case 336: -#line 1551 "parse.y" +#line 1552 "parse.y" { yyval.ttype = build_x_component_ref (yyval.ttype, yyvsp[0].ttype, NULL_TREE, 1); ; break;} case 337: -#line 1555 "parse.y" +#line 1556 "parse.y" { yyval.ttype = finish_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ; break;} case 338: -#line 1557 "parse.y" +#line 1558 "parse.y" { yyval.ttype = finish_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ; break;} case 339: -#line 1559 "parse.y" +#line 1560 "parse.y" { yyval.ttype = build_x_component_ref (yyval.ttype, yyvsp[0].ttype, NULL_TREE, 1); ; break;} case 340: -#line 1561 "parse.y" +#line 1562 "parse.y" { if (processing_template_decl) yyval.ttype = build_min_nt (COMPONENT_REF, yyvsp[-1].ttype, yyvsp[0].ttype); else yyval.ttype = build_object_ref (yyval.ttype, OP0 (yyvsp[0].ttype), OP1 (yyvsp[0].ttype)); ; break;} case 341: -#line 1566 "parse.y" +#line 1567 "parse.y" { yyval.ttype = finish_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ; break;} case 342: -#line 1568 "parse.y" +#line 1569 "parse.y" { yyval.ttype = finish_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ; break;} case 343: -#line 1570 "parse.y" +#line 1571 "parse.y" { yyval.ttype = finish_qualified_object_call_expr (yyvsp[-3].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ; break;} case 344: -#line 1572 "parse.y" +#line 1573 "parse.y" { yyval.ttype = finish_qualified_object_call_expr (yyvsp[-1].ttype, yyvsp[-2].ttype, NULL_TREE); ; break;} case 345: -#line 1575 "parse.y" +#line 1576 "parse.y" { yyval.ttype = finish_pseudo_destructor_call_expr (yyvsp[-3].ttype, NULL_TREE, yyvsp[-1].ttype); ; break;} case 346: -#line 1577 "parse.y" +#line 1578 "parse.y" { yyval.ttype = finish_pseudo_destructor_call_expr (yyvsp[-5].ttype, yyvsp[-4].ttype, yyvsp[-1].ttype); ; break;} case 347: -#line 1579 "parse.y" +#line 1580 "parse.y" { yyval.ttype = error_mark_node; ; break;} case 348: -#line 1624 "parse.y" +#line 1625 "parse.y" { yyval.itype = 0; ; break;} case 349: -#line 1626 "parse.y" +#line 1627 "parse.y" { got_scope = NULL_TREE; yyval.itype = 1; ; break;} case 350: -#line 1631 "parse.y" +#line 1632 "parse.y" { yyval.itype = 0; ; break;} case 351: -#line 1633 "parse.y" +#line 1634 "parse.y" { got_scope = NULL_TREE; yyval.itype = 1; ; break;} case 352: -#line 1638 "parse.y" +#line 1639 "parse.y" { yyval.ttype = boolean_true_node; ; break;} case 353: -#line 1640 "parse.y" +#line 1641 "parse.y" { yyval.ttype = boolean_false_node; ; break;} case 355: -#line 1647 "parse.y" +#line 1648 "parse.y" { yyval.ttype = chainon (yyval.ttype, yyvsp[0].ttype); ; break;} case 356: -#line 1652 "parse.y" +#line 1653 "parse.y" { if (! current_function_parms_stored) store_parm_decls (); @@ -5958,169 +5958,169 @@ case 356: ; break;} case 357: -#line 1661 "parse.y" +#line 1662 "parse.y" { got_object = TREE_TYPE (yyval.ttype); ; break;} case 358: -#line 1663 "parse.y" +#line 1664 "parse.y" { yyval.ttype = build_x_arrow (yyval.ttype); got_object = TREE_TYPE (yyval.ttype); ; break;} case 359: -#line 1671 "parse.y" +#line 1672 "parse.y" { if (yyvsp[-2].ftype.t && IS_AGGR_TYPE_CODE (TREE_CODE (yyvsp[-2].ftype.t))) note_got_semicolon (yyvsp[-2].ftype.t); ; break;} case 360: -#line 1676 "parse.y" +#line 1677 "parse.y" { note_list_got_semicolon (yyvsp[-2].ftype.t); ; break;} case 361: -#line 1680 "parse.y" +#line 1681 "parse.y" {; break;} case 362: -#line 1682 "parse.y" +#line 1683 "parse.y" { shadow_tag (yyvsp[-1].ftype.t); note_list_got_semicolon (yyvsp[-1].ftype.t); ; break;} case 363: -#line 1687 "parse.y" +#line 1688 "parse.y" { warning ("empty declaration"); ; break;} case 364: -#line 1689 "parse.y" +#line 1690 "parse.y" { pedantic = yyvsp[-1].itype; ; break;} case 367: -#line 1703 "parse.y" +#line 1704 "parse.y" { yyval.ttype = make_call_declarator (NULL_TREE, empty_parms (), NULL_TREE, NULL_TREE); ; break;} case 368: -#line 1706 "parse.y" +#line 1707 "parse.y" { yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), NULL_TREE, NULL_TREE); ; break;} case 369: -#line 1713 "parse.y" +#line 1714 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 370: -#line 1716 "parse.y" +#line 1717 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 371: -#line 1719 "parse.y" +#line 1720 "parse.y" { yyval.ftype.t = build_decl_list (build_decl_list (NULL_TREE, yyvsp[-1].ftype.t), yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 372: -#line 1723 "parse.y" +#line 1724 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[0].ftype.t, NULL_TREE); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 373: -#line 1726 "parse.y" +#line 1727 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[0].ftype.t, NULL_TREE); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 374: -#line 1737 "parse.y" +#line 1738 "parse.y" { yyval.ftype.lookups = type_lookups; ; break;} case 375: -#line 1739 "parse.y" +#line 1740 "parse.y" { yyval.ftype.lookups = type_lookups; ; break;} case 376: -#line 1744 "parse.y" +#line 1745 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 377: -#line 1747 "parse.y" +#line 1748 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 378: -#line 1750 "parse.y" +#line 1751 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-2].ftype.t, chainon (yyvsp[-1].ttype, yyvsp[0].ttype)); yyval.ftype.new_type_flag = yyvsp[-2].ftype.new_type_flag; ; break;} case 379: -#line 1753 "parse.y" +#line 1754 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 380: -#line 1756 "parse.y" +#line 1757 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 381: -#line 1759 "parse.y" +#line 1760 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-2].ftype.t, chainon (yyvsp[-1].ttype, chainon (yyvsp[0].ttype, yyvsp[-3].ftype.t))); yyval.ftype.new_type_flag = yyvsp[-2].ftype.new_type_flag; ; break;} case 382: -#line 1766 "parse.y" +#line 1767 "parse.y" { if (extra_warnings) warning ("`%s' is not at beginning of declaration", IDENTIFIER_POINTER (yyval.ttype)); yyval.ttype = build_decl_list (NULL_TREE, yyval.ttype); ; break;} case 383: -#line 1771 "parse.y" +#line 1772 "parse.y" { yyval.ttype = decl_tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyval.ttype); ; break;} case 384: -#line 1773 "parse.y" +#line 1774 "parse.y" { if (extra_warnings) warning ("`%s' is not at beginning of declaration", IDENTIFIER_POINTER (yyvsp[0].ttype)); yyval.ttype = decl_tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ; break;} case 385: -#line 1778 "parse.y" +#line 1779 "parse.y" { yyval.ttype = decl_tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ttype); ; break;} case 386: -#line 1780 "parse.y" +#line 1781 "parse.y" { yyval.ttype = decl_tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); ; break;} case 387: -#line 1799 "parse.y" +#line 1800 "parse.y" { yyval.ftype.lookups = NULL_TREE; TREE_STATIC (yyval.ftype.t) = 1; ; break;} case 388: -#line 1801 "parse.y" +#line 1802 "parse.y" { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 389: -#line 1806 "parse.y" +#line 1807 "parse.y" { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ftype.t); TREE_STATIC (yyval.ftype.t) = 1; ; break;} case 390: -#line 1811 "parse.y" +#line 1812 "parse.y" { if (extra_warnings && TREE_STATIC (yyval.ftype.t)) warning ("`%s' is not at beginning of declaration", @@ -6130,68 +6130,68 @@ case 390: ; break;} case 391: -#line 1819 "parse.y" +#line 1820 "parse.y" { yyval.ftype.t = hash_tree_cons (yyvsp[0].ttype, NULL_TREE, yyvsp[-1].ftype.t); ; break;} case 392: -#line 1821 "parse.y" +#line 1822 "parse.y" { yyval.ftype.t = hash_tree_cons (yyvsp[0].ttype, NULL_TREE, NULL_TREE); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 393: -#line 1835 "parse.y" +#line 1836 "parse.y" { yyval.ftype.t = build_decl_list (NULL_TREE, yyvsp[0].ftype.t); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 394: -#line 1838 "parse.y" +#line 1839 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 395: -#line 1841 "parse.y" +#line 1842 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 396: -#line 1844 "parse.y" +#line 1845 "parse.y" { yyval.ftype.t = decl_tree_cons (NULL_TREE, yyvsp[-1].ftype.t, chainon (yyvsp[0].ttype, yyvsp[-2].ftype.t)); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 397: -#line 1850 "parse.y" +#line 1851 "parse.y" { yyval.ttype = build_decl_list (NULL_TREE, yyvsp[0].ftype.t); ; break;} case 398: -#line 1852 "parse.y" +#line 1853 "parse.y" { yyval.ttype = decl_tree_cons (NULL_TREE, yyvsp[0].ftype.t, yyvsp[-1].ttype); ; break;} case 399: -#line 1861 "parse.y" +#line 1862 "parse.y" { yyval.ftype.lookups = NULL_TREE; ; break;} case 400: -#line 1863 "parse.y" +#line 1864 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 401: -#line 1865 "parse.y" +#line 1866 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 402: -#line 1867 "parse.y" +#line 1868 "parse.y" { yyval.ftype.t = finish_typeof (yyvsp[-1].ttype); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 403: -#line 1870 "parse.y" +#line 1871 "parse.y" { yyval.ftype.t = groktypename (yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; ; break;} case 404: -#line 1873 "parse.y" +#line 1874 "parse.y" { tree type = TREE_TYPE (yyvsp[-1].ttype); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; @@ -6208,7 +6208,7 @@ case 404: ; break;} case 405: -#line 1888 "parse.y" +#line 1889 "parse.y" { tree type = groktypename (yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = 0; yyval.ftype.lookups = NULL_TREE; @@ -6225,279 +6225,279 @@ case 405: ; break;} case 406: -#line 1908 "parse.y" +#line 1909 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; ; break;} case 407: -#line 1910 "parse.y" +#line 1911 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; ; break;} case 410: -#line 1917 "parse.y" +#line 1918 "parse.y" { check_multiple_declarators (); ; break;} case 412: -#line 1923 "parse.y" +#line 1924 "parse.y" { check_multiple_declarators (); ; break;} case 414: -#line 1929 "parse.y" +#line 1930 "parse.y" { check_multiple_declarators (); ; break;} case 415: -#line 1934 "parse.y" +#line 1935 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 416: -#line 1936 "parse.y" +#line 1937 "parse.y" { if (TREE_CHAIN (yyvsp[-1].ttype)) yyvsp[-1].ttype = combine_strings (yyvsp[-1].ttype); yyval.ttype = yyvsp[-1].ttype; ; break;} case 417: -#line 1941 "parse.y" +#line 1942 "parse.y" { yyval.ttype = parse_decl (yyvsp[-3].ttype, yyvsp[-1].ttype, 1); ; break;} case 418: -#line 1944 "parse.y" +#line 1945 "parse.y" { parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 419: -#line 1946 "parse.y" +#line 1947 "parse.y" { yyval.ttype = parse_decl (yyvsp[-2].ttype, yyvsp[0].ttype, 0); parse_end_decl (yyval.ttype, NULL_TREE, yyvsp[-1].ttype); ; break;} case 420: -#line 1960 "parse.y" +#line 1961 "parse.y" { yyval.ttype = parse_decl0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[-1].ttype, 1); ; break;} case 421: -#line 1965 "parse.y" +#line 1966 "parse.y" { parse_end_decl (yyvsp[-1].ttype, yyvsp[0].ttype, yyvsp[-4].ttype); ; break;} case 422: -#line 1967 "parse.y" +#line 1968 "parse.y" { tree d = parse_decl0 (yyvsp[-2].ttype, yyvsp[-3].ftype.t, yyvsp[-3].ftype.lookups, yyvsp[0].ttype, 0); parse_end_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 423: -#line 1974 "parse.y" +#line 1975 "parse.y" {; break;} case 424: -#line 1979 "parse.y" +#line 1980 "parse.y" {; break;} case 425: -#line 1984 "parse.y" +#line 1985 "parse.y" { /* Set things up as initdcl0_innards expects. */ yyvsp[0].ttype = yyvsp[-1].ttype; yyvsp[-1].ttype = NULL_TREE; ; break;} case 426: -#line 1988 "parse.y" +#line 1989 "parse.y" {; break;} case 427: -#line 1990 "parse.y" +#line 1991 "parse.y" { tree d = parse_decl0 (yyvsp[-2].ttype, NULL_TREE, NULL_TREE, yyvsp[0].ttype, 0); parse_end_decl (d, NULL_TREE, yyvsp[-1].ttype); ; break;} case 428: -#line 1998 "parse.y" +#line 1999 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 429: -#line 2000 "parse.y" +#line 2001 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 430: -#line 2005 "parse.y" +#line 2006 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 431: -#line 2007 "parse.y" +#line 2008 "parse.y" { yyval.ttype = chainon (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 432: -#line 2012 "parse.y" +#line 2013 "parse.y" { yyval.ttype = yyvsp[-2].ttype; ; break;} case 433: -#line 2017 "parse.y" +#line 2018 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 434: -#line 2019 "parse.y" +#line 2020 "parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 435: -#line 2024 "parse.y" +#line 2025 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 436: -#line 2026 "parse.y" +#line 2027 "parse.y" { yyval.ttype = build_tree_list (yyvsp[0].ttype, NULL_TREE); ; break;} case 437: -#line 2028 "parse.y" +#line 2029 "parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, build_tree_list (NULL_TREE, yyvsp[-1].ttype)); ; break;} case 438: -#line 2030 "parse.y" +#line 2031 "parse.y" { yyval.ttype = build_tree_list (yyvsp[-5].ttype, tree_cons (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype)); ; break;} case 439: -#line 2032 "parse.y" +#line 2033 "parse.y" { yyval.ttype = build_tree_list (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 444: -#line 2048 "parse.y" +#line 2049 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ttype); ; break;} case 445: -#line 2050 "parse.y" +#line 2051 "parse.y" { yyval.ttype = chainon (yyvsp[-2].ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 446: -#line 2055 "parse.y" +#line 2056 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 447: -#line 2057 "parse.y" +#line 2058 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 449: -#line 2065 "parse.y" +#line 2066 "parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, NULL_TREE); TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ; break;} case 450: -#line 2068 "parse.y" +#line 2069 "parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-1].ttype)); TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ; break;} case 451: -#line 2071 "parse.y" +#line 2072 "parse.y" { yyval.ttype = build_nt (CONSTRUCTOR, NULL_TREE, nreverse (yyvsp[-2].ttype)); TREE_HAS_CONSTRUCTOR (yyval.ttype) = 1; ; break;} case 452: -#line 2074 "parse.y" +#line 2075 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 453: -#line 2081 "parse.y" +#line 2082 "parse.y" { yyval.ttype = build_tree_list (NULL_TREE, yyval.ttype); ; break;} case 454: -#line 2083 "parse.y" +#line 2084 "parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ; break;} case 455: -#line 2086 "parse.y" +#line 2087 "parse.y" { yyval.ttype = build_tree_list (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 456: -#line 2088 "parse.y" +#line 2089 "parse.y" { yyval.ttype = build_tree_list (yyval.ttype, yyvsp[0].ttype); ; break;} case 457: -#line 2090 "parse.y" +#line 2091 "parse.y" { yyval.ttype = tree_cons (yyvsp[-2].ttype, yyvsp[0].ttype, yyval.ttype); ; break;} case 458: -#line 2095 "parse.y" +#line 2096 "parse.y" { start_function (NULL_TREE, yyvsp[0].pi->fndecl, NULL_TREE, (SF_DEFAULT | SF_PRE_PARSED | SF_INCLASS_INLINE)); reinit_parse_for_function (); ; break;} case 459: -#line 2102 "parse.y" +#line 2103 "parse.y" { expand_body (finish_function (lineno, (int)yyvsp[-1].itype | 2)); process_next_inline (yyvsp[-3].pi); ; break;} case 460: -#line 2107 "parse.y" +#line 2108 "parse.y" { expand_body (finish_function (lineno, (int)yyvsp[0].itype | 2)); process_next_inline (yyvsp[-2].pi); ; break;} case 461: -#line 2112 "parse.y" +#line 2113 "parse.y" { finish_function (lineno, 2); process_next_inline (yyvsp[-2].pi); ; break;} case 464: -#line 2126 "parse.y" +#line 2127 "parse.y" { replace_defarg (yyvsp[-2].ttype, yyvsp[-1].ttype); ; break;} case 465: -#line 2128 "parse.y" +#line 2129 "parse.y" { replace_defarg (yyvsp[-2].ttype, error_mark_node); ; break;} case 467: -#line 2133 "parse.y" +#line 2134 "parse.y" { do_pending_defargs (); ; break;} case 468: -#line 2135 "parse.y" +#line 2136 "parse.y" { do_pending_defargs (); ; break;} case 469: -#line 2140 "parse.y" +#line 2141 "parse.y" { yyval.ttype = current_enum_type; current_enum_type = start_enum (yyvsp[-1].ttype); ; break;} case 470: -#line 2143 "parse.y" +#line 2144 "parse.y" { yyval.ftype.t = finish_enum (current_enum_type); yyval.ftype.new_type_flag = 1; current_enum_type = yyvsp[-2].ttype; check_for_missing_semicolon (yyval.ftype.t); ; break;} case 471: -#line 2148 "parse.y" +#line 2149 "parse.y" { yyval.ttype = current_enum_type; current_enum_type = start_enum (make_anon_name ()); ; break;} case 472: -#line 2151 "parse.y" +#line 2152 "parse.y" { yyval.ftype.t = finish_enum (current_enum_type); yyval.ftype.new_type_flag = 1; current_enum_type = yyvsp[-2].ttype; check_for_missing_semicolon (yyval.ftype.t); ; break;} case 473: -#line 2156 "parse.y" +#line 2157 "parse.y" { yyval.ftype.t = xref_tag (enum_type_node, yyvsp[0].ttype, 1); yyval.ftype.new_type_flag = 0; ; break;} case 474: -#line 2159 "parse.y" +#line 2160 "parse.y" { yyval.ftype.t = xref_tag (enum_type_node, yyvsp[0].ttype, 1); yyval.ftype.new_type_flag = 0; ; break;} case 475: -#line 2162 "parse.y" +#line 2163 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; if (!processing_template_decl) cp_pedwarn ("using `typename' outside of template"); ; break;} case 476: -#line 2168 "parse.y" +#line 2169 "parse.y" { yyvsp[-1].ftype.t = begin_class_definition (yyvsp[-1].ftype.t); ; break;} case 477: -#line 2170 "parse.y" +#line 2171 "parse.y" { int semi; @@ -6510,13 +6510,13 @@ case 477: ; break;} case 478: -#line 2181 "parse.y" +#line 2182 "parse.y" { begin_inline_definitions (); ; break;} case 479: -#line 2185 "parse.y" +#line 2186 "parse.y" { finish_inline_definitions (); yyval.ftype.t = yyvsp[-3].ttype; @@ -6524,7 +6524,7 @@ case 479: ; break;} case 480: -#line 2191 "parse.y" +#line 2192 "parse.y" { if (yyvsp[0].ftype.new_type_flag && yyvsp[0].ftype.t != error_mark_node) pop_scope (CP_DECL_CONTEXT (TYPE_MAIN_DECL (yyvsp[0].ftype.t))); @@ -6550,51 +6550,51 @@ case 480: ; break;} case 484: -#line 2224 "parse.y" +#line 2225 "parse.y" { if (pedantic && !in_system_header) pedwarn ("comma at end of enumerator list"); ; break;} case 486: -#line 2231 "parse.y" +#line 2232 "parse.y" { error ("storage class specifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 487: -#line 2233 "parse.y" +#line 2234 "parse.y" { error ("type specifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 488: -#line 2235 "parse.y" +#line 2236 "parse.y" { error ("type qualifier `%s' not allowed after struct or class", IDENTIFIER_POINTER (yyvsp[0].ttype)); ; break;} case 489: -#line 2237 "parse.y" +#line 2238 "parse.y" { error ("no body nor ';' separates two class, struct or union declarations"); ; break;} case 490: -#line 2239 "parse.y" +#line 2240 "parse.y" { yyval.ttype = build_decl_list (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 491: -#line 2244 "parse.y" +#line 2245 "parse.y" { current_aggr = yyvsp[-1].ttype; yyval.ttype = yyvsp[0].ttype; ; break;} case 492: -#line 2252 "parse.y" +#line 2253 "parse.y" { current_aggr = yyval.ttype; yyval.ttype = yyvsp[0].ttype; ; break;} case 493: -#line 2254 "parse.y" +#line 2255 "parse.y" { yyungetc ('{', 1); ; break;} case 494: -#line 2256 "parse.y" +#line 2257 "parse.y" { yyungetc (':', 1); ; break;} case 495: -#line 2261 "parse.y" +#line 2262 "parse.y" { current_aggr = yyvsp[-2].ttype; yyval.ftype.t = handle_class_head (yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); @@ -6602,7 +6602,7 @@ case 495: ; break;} case 496: -#line 2267 "parse.y" +#line 2268 "parse.y" { current_aggr = yyvsp[-3].ttype; yyval.ftype.t = handle_class_head (yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); @@ -6610,7 +6610,7 @@ case 496: ; break;} case 497: -#line 2273 "parse.y" +#line 2274 "parse.y" { current_aggr = yyvsp[-2].ttype; yyval.ftype.t = handle_class_head (yyvsp[-2].ttype, NULL_TREE, yyvsp[0].ttype); @@ -6618,7 +6618,7 @@ case 497: ; break;} case 498: -#line 2279 "parse.y" +#line 2280 "parse.y" { current_aggr = yyvsp[-1].ttype; yyval.ftype.t = yyvsp[0].ttype; @@ -6626,7 +6626,7 @@ case 498: ; break;} case 499: -#line 2285 "parse.y" +#line 2286 "parse.y" { current_aggr = yyvsp[-2].ttype; yyval.ftype.t = yyvsp[0].ttype; @@ -6636,18 +6636,18 @@ case 499: ; break;} case 500: -#line 2296 "parse.y" +#line 2297 "parse.y" { yyval.ftype.t = xref_tag (current_aggr, yyvsp[0].ttype, 1); yyval.ftype.new_type_flag = 0; ; break;} case 501: -#line 2301 "parse.y" +#line 2302 "parse.y" { yyval.ttype = xref_tag (current_aggr, yyvsp[0].ttype, 0); ; break;} case 502: -#line 2305 "parse.y" +#line 2306 "parse.y" { yyval.ftype.t = yyvsp[-1].ttype; yyval.ftype.new_type_flag = 0; @@ -6656,7 +6656,7 @@ case 502: ; break;} case 503: -#line 2313 "parse.y" +#line 2314 "parse.y" { if (yyvsp[-1].ftype.t != error_mark_node) { @@ -6683,43 +6683,43 @@ case 503: ; break;} case 504: -#line 2341 "parse.y" +#line 2342 "parse.y" { yyval.ttype = xref_tag (yyval.ttype, make_anon_name (), 0); yyungetc ('{', 1); ; break;} case 505: -#line 2351 "parse.y" +#line 2352 "parse.y" { yyval.ftype.t = yyvsp[0].ttype; yyval.ftype.new_type_flag = 0; ; break;} case 507: -#line 2360 "parse.y" +#line 2361 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 508: -#line 2362 "parse.y" +#line 2363 "parse.y" { yyungetc(':', 1); yyval.ttype = NULL_TREE; ; break;} case 509: -#line 2364 "parse.y" +#line 2365 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 511: -#line 2370 "parse.y" +#line 2371 "parse.y" { yyval.ttype = chainon (yyval.ttype, yyvsp[0].ttype); ; break;} case 512: -#line 2375 "parse.y" +#line 2376 "parse.y" { yyval.ttype = finish_base_specifier (access_default_node, yyvsp[0].ttype); ; break;} case 513: -#line 2377 "parse.y" +#line 2378 "parse.y" { yyval.ttype = finish_base_specifier (yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 514: -#line 2382 "parse.y" +#line 2383 "parse.y" { if (yyval.ttype == error_mark_node) ; else if (!TYPE_P (yyval.ttype)) @@ -6728,13 +6728,13 @@ case 514: yyval.ttype = TYPE_MAIN_DECL (yyvsp[0].ttype); ; break;} case 517: -#line 2394 "parse.y" +#line 2395 "parse.y" { if (yyvsp[-1].ttype != ridpointers[(int)RID_VIRTUAL]) cp_error ("`%D' access", yyvsp[-1].ttype); yyval.ttype = access_default_virtual_node; ; break;} case 518: -#line 2398 "parse.y" +#line 2399 "parse.y" { if (yyvsp[-2].ttype != access_default_virtual_node) error ("multiple access specifiers"); @@ -6747,7 +6747,7 @@ case 518: ; break;} case 519: -#line 2409 "parse.y" +#line 2410 "parse.y" { if (yyvsp[-1].ttype != ridpointers[(int)RID_VIRTUAL]) cp_error ("`%D' access", yyvsp[-1].ttype); else if (yyval.ttype == access_public_node) @@ -6761,55 +6761,55 @@ case 519: ; break;} case 524: -#line 2430 "parse.y" +#line 2431 "parse.y" { current_access_specifier = yyvsp[-1].ttype; ; break;} case 525: -#line 2439 "parse.y" +#line 2440 "parse.y" { finish_member_declaration (yyvsp[0].ttype); ; break;} case 526: -#line 2443 "parse.y" +#line 2444 "parse.y" { finish_member_declaration (yyvsp[0].ttype); ; break;} case 528: -#line 2451 "parse.y" +#line 2452 "parse.y" { error ("missing ';' before right brace"); yyungetc ('}', 0); ; break;} case 529: -#line 2456 "parse.y" +#line 2457 "parse.y" { yyval.ttype = finish_method (yyval.ttype); ; break;} case 530: -#line 2458 "parse.y" +#line 2459 "parse.y" { yyval.ttype = finish_method (yyval.ttype); ; break;} case 531: -#line 2460 "parse.y" +#line 2461 "parse.y" { yyval.ttype = finish_method (yyval.ttype); ; break;} case 532: -#line 2462 "parse.y" +#line 2463 "parse.y" { yyval.ttype = finish_method (yyval.ttype); ; break;} case 533: -#line 2464 "parse.y" +#line 2465 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 534: -#line 2466 "parse.y" +#line 2467 "parse.y" { yyval.ttype = yyvsp[0].ttype; pedantic = yyvsp[-1].itype; ; break;} case 535: -#line 2469 "parse.y" +#line 2470 "parse.y" { if (yyvsp[0].ttype) yyval.ttype = finish_member_template_decl (yyvsp[0].ttype); @@ -6821,14 +6821,14 @@ case 535: ; break;} case 536: -#line 2479 "parse.y" +#line 2480 "parse.y" { yyval.ttype = finish_member_class_template (yyvsp[-1].ftype.t); finish_template_decl (yyvsp[-2].ttype); ; break;} case 537: -#line 2490 "parse.y" +#line 2491 "parse.y" { /* Most of the productions for component_decl only allow the creation of one new member, so we call @@ -6851,7 +6851,7 @@ case 537: ; break;} case 538: -#line 2511 "parse.y" +#line 2512 "parse.y" { if (!yyvsp[0].itype) grok_x_components (yyvsp[-1].ftype.t); @@ -6859,45 +6859,45 @@ case 538: ; break;} case 539: -#line 2517 "parse.y" +#line 2518 "parse.y" { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, build_tree_list (yyvsp[-1].ttype, NULL_TREE)); ; break;} case 540: -#line 2520 "parse.y" +#line 2521 "parse.y" { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, build_tree_list (yyvsp[-1].ttype, NULL_TREE)); ; break;} case 541: -#line 2523 "parse.y" +#line 2524 "parse.y" { yyval.ttype = grokbitfield (NULL_TREE, NULL_TREE, yyvsp[0].ttype); ; break;} case 542: -#line 2525 "parse.y" +#line 2526 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 543: -#line 2536 "parse.y" +#line 2537 "parse.y" { tree specs, attrs; split_specs_attrs (yyvsp[-4].ftype.t, &specs, &attrs); yyval.ttype = grokfield (yyvsp[-3].ttype, specs, yyvsp[0].ttype, yyvsp[-2].ttype, build_tree_list (yyvsp[-1].ttype, attrs)); ; break;} case 544: -#line 2541 "parse.y" +#line 2542 "parse.y" { yyval.ttype = grokfield (yyval.ttype, NULL_TREE, yyvsp[0].ttype, yyvsp[-2].ttype, build_tree_list (yyvsp[-1].ttype, NULL_TREE)); ; break;} case 545: -#line 2544 "parse.y" +#line 2545 "parse.y" { yyval.ttype = do_class_using_decl (yyvsp[0].ttype); ; break;} case 546: -#line 2550 "parse.y" +#line 2551 "parse.y" { yyval.itype = 0; ; break;} case 547: -#line 2552 "parse.y" +#line 2553 "parse.y" { if (PROCESSING_REAL_TEMPLATE_DECL_P ()) yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); @@ -6906,7 +6906,7 @@ case 547: ; break;} case 548: -#line 2559 "parse.y" +#line 2560 "parse.y" { check_multiple_declarators (); if (PROCESSING_REAL_TEMPLATE_DECL_P ()) @@ -6916,11 +6916,11 @@ case 548: ; break;} case 549: -#line 2570 "parse.y" +#line 2571 "parse.y" { yyval.itype = 0; ; break;} case 550: -#line 2572 "parse.y" +#line 2573 "parse.y" { if (PROCESSING_REAL_TEMPLATE_DECL_P ()) yyvsp[0].ttype = finish_member_template_decl (yyvsp[0].ttype); @@ -6929,7 +6929,7 @@ case 550: ; break;} case 551: -#line 2579 "parse.y" +#line 2580 "parse.y" { check_multiple_declarators (); if (PROCESSING_REAL_TEMPLATE_DECL_P ()) @@ -6939,75 +6939,75 @@ case 551: ; break;} case 556: -#line 2600 "parse.y" +#line 2601 "parse.y" { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 557: -#line 2603 "parse.y" +#line 2604 "parse.y" { yyval.ttype = parse_bitfield0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 558: -#line 2609 "parse.y" +#line 2610 "parse.y" { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 559: -#line 2612 "parse.y" +#line 2613 "parse.y" { yyval.ttype = parse_field0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 560: -#line 2615 "parse.y" +#line 2616 "parse.y" { yyval.ttype = parse_bitfield0 (yyvsp[-3].ttype, yyvsp[-4].ftype.t, yyvsp[-4].ftype.lookups, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 561: -#line 2618 "parse.y" +#line 2619 "parse.y" { yyval.ttype = parse_bitfield0 (NULL_TREE, yyvsp[-3].ftype.t, yyvsp[-3].ftype.lookups, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 562: -#line 2624 "parse.y" +#line 2625 "parse.y" { yyval.ttype = parse_field (yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 563: -#line 2626 "parse.y" +#line 2627 "parse.y" { yyval.ttype = parse_bitfield (yyvsp[-3].ttype, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 564: -#line 2631 "parse.y" +#line 2632 "parse.y" { yyval.ttype = parse_field (yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[-2].ttype, yyvsp[0].ttype); ; break;} case 565: -#line 2633 "parse.y" +#line 2634 "parse.y" { yyval.ttype = parse_bitfield (yyvsp[-3].ttype, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 566: -#line 2635 "parse.y" +#line 2636 "parse.y" { yyval.ttype = parse_bitfield (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 571: -#line 2654 "parse.y" +#line 2655 "parse.y" { build_enumerator (yyvsp[0].ttype, NULL_TREE, current_enum_type); ; break;} case 572: -#line 2656 "parse.y" +#line 2657 "parse.y" { build_enumerator (yyvsp[-2].ttype, yyvsp[0].ttype, current_enum_type); ; break;} case 573: -#line 2662 "parse.y" +#line 2663 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 574: -#line 2665 "parse.y" +#line 2666 "parse.y" { yyval.ftype.t = build_decl_list (yyvsp[0].ftype.t, NULL_TREE); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 575: -#line 2670 "parse.y" +#line 2671 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids array dimensions with parenthesized type in new"); @@ -7017,41 +7017,41 @@ case 575: ; break;} case 576: -#line 2681 "parse.y" +#line 2682 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 577: -#line 2683 "parse.y" +#line 2684 "parse.y" { yyval.ttype = decl_tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ; break;} case 578: -#line 2688 "parse.y" +#line 2689 "parse.y" { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, NULL_TREE); yyval.ftype.new_type_flag = 0; ; break;} case 579: -#line 2691 "parse.y" +#line 2692 "parse.y" { yyval.ftype.t = hash_tree_cons (NULL_TREE, yyvsp[0].ttype, yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 580: -#line 2701 "parse.y" +#line 2702 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 581: -#line 2703 "parse.y" +#line 2704 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 582: -#line 2705 "parse.y" +#line 2706 "parse.y" { yyval.ttype = empty_parms (); ; break;} case 583: -#line 2707 "parse.y" +#line 2708 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 585: -#line 2715 "parse.y" +#line 2716 "parse.y" { /* Provide support for '(' attributes '*' declarator ')' etc */ @@ -7059,51 +7059,51 @@ case 585: ; break;} case 586: -#line 2725 "parse.y" +#line 2726 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 587: -#line 2727 "parse.y" +#line 2728 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 588: -#line 2729 "parse.y" +#line 2730 "parse.y" { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 589: -#line 2731 "parse.y" +#line 2732 "parse.y" { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 590: -#line 2733 "parse.y" +#line 2734 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 592: -#line 2741 "parse.y" +#line 2742 "parse.y" { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 593: -#line 2743 "parse.y" +#line 2744 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ; break;} case 594: -#line 2745 "parse.y" +#line 2746 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, NULL_TREE); ; break;} case 595: -#line 2747 "parse.y" +#line 2748 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 596: -#line 2749 "parse.y" +#line 2750 "parse.y" { push_nested_class (yyvsp[-1].ttype, 3); yyval.ttype = build_parse_node (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); TREE_COMPLEXITY (yyval.ttype) = current_class_depth; ; break;} case 598: -#line 2757 "parse.y" +#line 2758 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) { @@ -7115,7 +7115,7 @@ case 598: ; break;} case 599: -#line 2767 "parse.y" +#line 2768 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) yyval.ttype = IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype); @@ -7125,15 +7125,15 @@ case 599: ; break;} case 602: -#line 2780 "parse.y" +#line 2781 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 603: -#line 2785 "parse.y" +#line 2786 "parse.y" { yyval.ttype = get_type_decl (yyvsp[0].ttype); ; break;} case 605: -#line 2794 "parse.y" +#line 2795 "parse.y" { /* Provide support for '(' attributes '*' declarator ')' etc */ @@ -7141,123 +7141,123 @@ case 605: ; break;} case 606: -#line 2803 "parse.y" +#line 2804 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 607: -#line 2805 "parse.y" +#line 2806 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 608: -#line 2807 "parse.y" +#line 2808 "parse.y" { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 609: -#line 2809 "parse.y" +#line 2810 "parse.y" { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 610: -#line 2811 "parse.y" +#line 2812 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 612: -#line 2819 "parse.y" +#line 2820 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 613: -#line 2821 "parse.y" +#line 2822 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 614: -#line 2823 "parse.y" +#line 2824 "parse.y" { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 615: -#line 2825 "parse.y" +#line 2826 "parse.y" { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 616: -#line 2827 "parse.y" +#line 2828 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 618: -#line 2835 "parse.y" +#line 2836 "parse.y" { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-2].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 619: -#line 2837 "parse.y" +#line 2838 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 620: -#line 2839 "parse.y" +#line 2840 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ; break;} case 621: -#line 2841 "parse.y" +#line 2842 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, NULL_TREE); ; break;} case 622: -#line 2843 "parse.y" +#line 2844 "parse.y" { enter_scope_of (yyvsp[0].ttype); ; break;} case 623: -#line 2845 "parse.y" +#line 2846 "parse.y" { got_scope = NULL_TREE; yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); enter_scope_of (yyval.ttype); ; break;} case 624: -#line 2853 "parse.y" +#line 2854 "parse.y" { got_scope = NULL_TREE; yyval.ttype = build_parse_node (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); ; break;} case 625: -#line 2856 "parse.y" +#line 2857 "parse.y" { got_scope = NULL_TREE; yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 626: -#line 2862 "parse.y" +#line 2863 "parse.y" { got_scope = NULL_TREE; yyval.ttype = build_parse_node (SCOPE_REF, yyval.ttype, yyvsp[0].ttype); ; break;} case 627: -#line 2865 "parse.y" +#line 2866 "parse.y" { got_scope = NULL_TREE; yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 629: -#line 2872 "parse.y" +#line 2873 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 630: -#line 2877 "parse.y" +#line 2878 "parse.y" { yyval.ttype = build_functional_cast (yyvsp[-3].ftype.t, yyvsp[-1].ttype); ; break;} case 631: -#line 2879 "parse.y" +#line 2880 "parse.y" { yyval.ttype = reparse_decl_as_expr (yyvsp[-3].ftype.t, yyvsp[-1].ttype); ; break;} case 632: -#line 2881 "parse.y" +#line 2882 "parse.y" { yyval.ttype = reparse_absdcl_as_expr (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 637: -#line 2893 "parse.y" +#line 2894 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 638: -#line 2895 "parse.y" +#line 2896 "parse.y" { got_scope = yyval.ttype = make_typename_type (yyvsp[-3].ttype, yyvsp[-1].ttype, /*complain=*/1); ; break;} case 639: -#line 2903 "parse.y" +#line 2904 "parse.y" { if (TREE_CODE (yyvsp[-1].ttype) == IDENTIFIER_NODE) { @@ -7269,7 +7269,7 @@ case 639: ; break;} case 640: -#line 2913 "parse.y" +#line 2914 "parse.y" { if (TREE_CODE (yyvsp[-1].ttype) == IDENTIFIER_NODE) yyval.ttype = lastiddecl; @@ -7277,7 +7277,7 @@ case 640: ; break;} case 641: -#line 2919 "parse.y" +#line 2920 "parse.y" { if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) yyval.ttype = lastiddecl; @@ -7285,15 +7285,15 @@ case 641: ; break;} case 642: -#line 2925 "parse.y" +#line 2926 "parse.y" { got_scope = yyval.ttype = complete_type (TREE_TYPE (yyvsp[-1].ttype)); ; break;} case 644: -#line 2941 "parse.y" +#line 2942 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 645: -#line 2946 "parse.y" +#line 2947 "parse.y" { if (TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)) == 't') yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, /*complain=*/1); @@ -7308,26 +7308,26 @@ case 645: ; break;} case 646: -#line 2959 "parse.y" +#line 2960 "parse.y" { yyval.ttype = TREE_TYPE (yyvsp[0].ttype); ; break;} case 647: -#line 2961 "parse.y" +#line 2962 "parse.y" { yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, /*complain=*/1); ; break;} case 648: -#line 2963 "parse.y" +#line 2964 "parse.y" { yyval.ttype = make_typename_type (yyvsp[-2].ttype, yyvsp[0].ttype, /*complain=*/1); ; break;} case 649: -#line 2968 "parse.y" +#line 2969 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) cp_error ("`%T' is not a class or namespace", yyvsp[0].ttype); ; break;} case 650: -#line 2973 "parse.y" +#line 2974 "parse.y" { if (TREE_CODE_CLASS (TREE_CODE (yyvsp[-1].ttype)) == 't') yyval.ttype = make_typename_type (yyvsp[-1].ttype, yyvsp[0].ttype, /*complain=*/1); @@ -7342,17 +7342,17 @@ case 650: ; break;} case 651: -#line 2986 "parse.y" +#line 2987 "parse.y" { got_scope = yyval.ttype = make_typename_type (yyvsp[-2].ttype, yyvsp[-1].ttype, /*complain=*/1); ; break;} case 652: -#line 2989 "parse.y" +#line 2990 "parse.y" { got_scope = yyval.ttype = make_typename_type (yyvsp[-3].ttype, yyvsp[-1].ttype, /*complain=*/1); ; break;} case 653: -#line 2995 "parse.y" +#line 2996 "parse.y" { if (TREE_CODE (yyvsp[-1].ttype) != IDENTIFIER_NODE) yyvsp[-1].ttype = lastiddecl; @@ -7366,7 +7366,7 @@ case 653: ; break;} case 654: -#line 3007 "parse.y" +#line 3008 "parse.y" { if (TREE_CODE (yyvsp[-1].ttype) != IDENTIFIER_NODE) yyval.ttype = lastiddecl; @@ -7374,11 +7374,11 @@ case 654: ; break;} case 655: -#line 3013 "parse.y" +#line 3014 "parse.y" { got_scope = yyval.ttype = complete_type (TREE_TYPE (yyval.ttype)); ; break;} case 658: -#line 3017 "parse.y" +#line 3018 "parse.y" { if (TREE_CODE (yyval.ttype) == IDENTIFIER_NODE) yyval.ttype = lastiddecl; @@ -7386,11 +7386,11 @@ case 658: ; break;} case 659: -#line 3026 "parse.y" +#line 3027 "parse.y" { yyval.ttype = build_min_nt (TEMPLATE_ID_EXPR, yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 660: -#line 3031 "parse.y" +#line 3032 "parse.y" { if (TREE_CODE (yyvsp[0].ttype) == IDENTIFIER_NODE) yyval.ttype = IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype); @@ -7400,59 +7400,59 @@ case 660: ; break;} case 662: -#line 3040 "parse.y" +#line 3041 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 663: -#line 3045 "parse.y" +#line 3046 "parse.y" { got_scope = NULL_TREE; ; break;} case 664: -#line 3047 "parse.y" +#line 3048 "parse.y" { yyval.ttype = yyvsp[-1].ttype; got_scope = NULL_TREE; ; break;} case 665: -#line 3054 "parse.y" +#line 3055 "parse.y" { got_scope = void_type_node; ; break;} case 666: -#line 3060 "parse.y" +#line 3061 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 667: -#line 3062 "parse.y" +#line 3063 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 668: -#line 3064 "parse.y" +#line 3065 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 669: -#line 3066 "parse.y" +#line 3067 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[0].ttype, NULL_TREE); ; break;} case 670: -#line 3068 "parse.y" +#line 3069 "parse.y" { tree arg = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, arg); ; break;} case 671: -#line 3072 "parse.y" +#line 3073 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 673: -#line 3081 "parse.y" +#line 3082 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 674: -#line 3083 "parse.y" +#line 3084 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ; break;} case 676: -#line 3089 "parse.y" +#line 3090 "parse.y" { /* Provide support for '(' attributes '*' declarator ')' etc */ @@ -7460,96 +7460,96 @@ case 676: ; break;} case 677: -#line 3099 "parse.y" +#line 3100 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 678: -#line 3101 "parse.y" +#line 3102 "parse.y" { yyval.ttype = make_pointer_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 679: -#line 3103 "parse.y" +#line 3104 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[0].ftype.t, NULL_TREE); ; break;} case 680: -#line 3105 "parse.y" +#line 3106 "parse.y" { yyval.ttype = make_pointer_declarator (NULL_TREE, NULL_TREE); ; break;} case 681: -#line 3107 "parse.y" +#line 3108 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 682: -#line 3109 "parse.y" +#line 3110 "parse.y" { yyval.ttype = make_reference_declarator (NULL_TREE, yyvsp[0].ttype); ; break;} case 683: -#line 3111 "parse.y" +#line 3112 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[0].ftype.t, NULL_TREE); ; break;} case 684: -#line 3113 "parse.y" +#line 3114 "parse.y" { yyval.ttype = make_reference_declarator (NULL_TREE, NULL_TREE); ; break;} case 685: -#line 3115 "parse.y" +#line 3116 "parse.y" { tree arg = make_pointer_declarator (yyvsp[0].ttype, NULL_TREE); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-1].ttype, arg); ; break;} case 686: -#line 3119 "parse.y" +#line 3120 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 688: -#line 3128 "parse.y" +#line 3129 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 689: -#line 3131 "parse.y" +#line 3132 "parse.y" { yyval.ttype = make_call_declarator (yyval.ttype, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 690: -#line 3133 "parse.y" +#line 3134 "parse.y" { yyval.ttype = make_call_declarator (yyval.ttype, empty_parms (), yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 691: -#line 3135 "parse.y" +#line 3136 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, yyvsp[-1].ttype); ; break;} case 692: -#line 3137 "parse.y" +#line 3138 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, yyval.ttype, NULL_TREE); ; break;} case 693: -#line 3139 "parse.y" +#line 3140 "parse.y" { yyval.ttype = make_call_declarator (NULL_TREE, yyvsp[-3].ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 694: -#line 3141 "parse.y" +#line 3142 "parse.y" { set_quals_and_spec (yyval.ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 695: -#line 3143 "parse.y" +#line 3144 "parse.y" { set_quals_and_spec (yyval.ttype, yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 696: -#line 3145 "parse.y" +#line 3146 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, NULL_TREE, yyvsp[-1].ttype); ; break;} case 697: -#line 3147 "parse.y" +#line 3148 "parse.y" { yyval.ttype = build_parse_node (ARRAY_REF, NULL_TREE, NULL_TREE); ; break;} case 704: -#line 3170 "parse.y" +#line 3171 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids label declarations"); ; break;} case 707: -#line 3181 "parse.y" +#line 3182 "parse.y" { while (yyvsp[-1].ttype) { @@ -7559,193 +7559,193 @@ case 707: ; break;} case 708: -#line 3194 "parse.y" +#line 3195 "parse.y" {; break;} case 710: -#line 3200 "parse.y" +#line 3201 "parse.y" { yyval.ttype = begin_compound_stmt (0); ; break;} case 711: -#line 3202 "parse.y" +#line 3203 "parse.y" { yyval.ttype = finish_compound_stmt (0, yyvsp[-1].ttype); ; break;} case 712: -#line 3207 "parse.y" +#line 3208 "parse.y" { yyval.ttype = begin_if_stmt (); cond_stmt_keyword = "if"; ; break;} case 713: -#line 3212 "parse.y" +#line 3213 "parse.y" { finish_if_stmt_cond (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 714: -#line 3214 "parse.y" +#line 3215 "parse.y" { yyval.ttype = finish_then_clause (yyvsp[-3].ttype); ; break;} case 716: -#line 3219 "parse.y" +#line 3220 "parse.y" { yyval.ttype = begin_compound_stmt (0); ; break;} case 717: -#line 3221 "parse.y" +#line 3222 "parse.y" { yyval.ttype = finish_compound_stmt (0, yyvsp[-1].ttype); ; break;} case 718: -#line 3226 "parse.y" +#line 3227 "parse.y" {; break;} case 720: -#line 3232 "parse.y" +#line 3233 "parse.y" { finish_stmt (); ; break;} case 721: -#line 3234 "parse.y" +#line 3235 "parse.y" { finish_expr_stmt (yyvsp[-1].ttype); ; break;} case 722: -#line 3236 "parse.y" +#line 3237 "parse.y" { begin_else_clause (); ; break;} case 723: -#line 3238 "parse.y" +#line 3239 "parse.y" { finish_else_clause (yyvsp[-3].ttype); finish_if_stmt (); ; break;} case 724: -#line 3243 "parse.y" +#line 3244 "parse.y" { finish_if_stmt (); ; break;} case 725: -#line 3245 "parse.y" +#line 3246 "parse.y" { yyval.ttype = begin_while_stmt (); cond_stmt_keyword = "while"; ; break;} case 726: -#line 3250 "parse.y" +#line 3251 "parse.y" { finish_while_stmt_cond (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 727: -#line 3252 "parse.y" +#line 3253 "parse.y" { finish_while_stmt (yyvsp[-3].ttype); ; break;} case 728: -#line 3254 "parse.y" +#line 3255 "parse.y" { yyval.ttype = begin_do_stmt (); ; break;} case 729: -#line 3256 "parse.y" +#line 3257 "parse.y" { finish_do_body (yyvsp[-2].ttype); cond_stmt_keyword = "do"; ; break;} case 730: -#line 3261 "parse.y" +#line 3262 "parse.y" { finish_do_stmt (yyvsp[-1].ttype, yyvsp[-5].ttype); ; break;} case 731: -#line 3263 "parse.y" +#line 3264 "parse.y" { yyval.ttype = begin_for_stmt (); ; break;} case 732: -#line 3265 "parse.y" +#line 3266 "parse.y" { finish_for_init_stmt (yyvsp[-2].ttype); ; break;} case 733: -#line 3267 "parse.y" +#line 3268 "parse.y" { finish_for_cond (yyvsp[-1].ttype, yyvsp[-5].ttype); ; break;} case 734: -#line 3269 "parse.y" +#line 3270 "parse.y" { finish_for_expr (yyvsp[-1].ttype, yyvsp[-8].ttype); ; break;} case 735: -#line 3271 "parse.y" +#line 3272 "parse.y" { finish_for_stmt (yyvsp[-3].ttype, yyvsp[-10].ttype); ; break;} case 736: -#line 3273 "parse.y" +#line 3274 "parse.y" { yyval.ttype = begin_switch_stmt (); ; break;} case 737: -#line 3275 "parse.y" +#line 3276 "parse.y" { finish_switch_cond (yyvsp[-1].ttype, yyvsp[-3].ttype); ; break;} case 738: -#line 3277 "parse.y" +#line 3278 "parse.y" { finish_switch_stmt (yyvsp[-3].ttype, yyvsp[-5].ttype); ; break;} case 739: -#line 3279 "parse.y" +#line 3280 "parse.y" { finish_case_label (yyvsp[-1].ttype, NULL_TREE); ; break;} case 741: -#line 3282 "parse.y" +#line 3283 "parse.y" { finish_case_label (yyvsp[-3].ttype, yyvsp[-1].ttype); ; break;} case 743: -#line 3285 "parse.y" +#line 3286 "parse.y" { finish_case_label (NULL_TREE, NULL_TREE); ; break;} case 745: -#line 3288 "parse.y" +#line 3289 "parse.y" { finish_break_stmt (); ; break;} case 746: -#line 3290 "parse.y" +#line 3291 "parse.y" { finish_continue_stmt (); ; break;} case 747: -#line 3292 "parse.y" +#line 3293 "parse.y" { finish_return_stmt (NULL_TREE); ; break;} case 748: -#line 3294 "parse.y" +#line 3295 "parse.y" { finish_return_stmt (yyvsp[-1].ttype); ; break;} case 749: -#line 3296 "parse.y" +#line 3297 "parse.y" { finish_asm_stmt (yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE, NULL_TREE); ; break;} case 750: -#line 3302 "parse.y" +#line 3303 "parse.y" { finish_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE, NULL_TREE); ; break;} case 751: -#line 3308 "parse.y" +#line 3309 "parse.y" { finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype, NULL_TREE); ; break;} case 752: -#line 3310 "parse.y" +#line 3311 "parse.y" { finish_asm_stmt (yyvsp[-6].ttype, yyvsp[-4].ttype, NULL_TREE, yyvsp[-2].ttype, NULL_TREE); ; break;} case 753: -#line 3314 "parse.y" +#line 3315 "parse.y" { finish_asm_stmt (yyvsp[-10].ttype, yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, yyvsp[-2].ttype); ; break;} case 754: -#line 3317 "parse.y" +#line 3318 "parse.y" { finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, NULL_TREE, yyvsp[-4].ttype, yyvsp[-2].ttype); ; break;} case 755: -#line 3320 "parse.y" +#line 3321 "parse.y" { finish_asm_stmt (yyvsp[-8].ttype, yyvsp[-6].ttype, yyvsp[-4].ttype, NULL_TREE, yyvsp[-2].ttype); ; break;} case 756: -#line 3322 "parse.y" +#line 3323 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids computed gotos"); @@ -7753,67 +7753,67 @@ case 756: ; break;} case 757: -#line 3328 "parse.y" +#line 3329 "parse.y" { finish_goto_stmt (yyvsp[-1].ttype); ; break;} case 759: -#line 3331 "parse.y" +#line 3332 "parse.y" { error ("label must be followed by statement"); yyungetc ('}', 0); ; break;} case 760: -#line 3334 "parse.y" +#line 3335 "parse.y" { finish_stmt (); ; break;} case 763: -#line 3338 "parse.y" +#line 3339 "parse.y" { do_local_using_decl (yyvsp[0].ttype); ; break;} case 765: -#line 3344 "parse.y" +#line 3345 "parse.y" { yyval.ttype = begin_function_try_block (); ; break;} case 766: -#line 3346 "parse.y" +#line 3347 "parse.y" { finish_function_try_block (yyvsp[-2].ttype); ; break;} case 767: -#line 3348 "parse.y" +#line 3349 "parse.y" { finish_function_handler_sequence (yyvsp[-4].ttype); yyval.itype = yyvsp[-3].itype; ; break;} case 768: -#line 3356 "parse.y" +#line 3357 "parse.y" { yyval.ttype = begin_try_block (); ; break;} case 769: -#line 3358 "parse.y" +#line 3359 "parse.y" { finish_try_block (yyvsp[-1].ttype); ; break;} case 770: -#line 3360 "parse.y" +#line 3361 "parse.y" { finish_handler_sequence (yyvsp[-3].ttype); ; break;} case 773: -#line 3370 "parse.y" +#line 3371 "parse.y" { yyval.ttype = begin_handler(); ; break;} case 774: -#line 3372 "parse.y" +#line 3373 "parse.y" { yyval.ttype = finish_handler_parms (yyvsp[0].ttype, yyvsp[-1].ttype); ; break;} case 775: -#line 3374 "parse.y" +#line 3375 "parse.y" { finish_handler (yyvsp[-1].ttype, yyvsp[-3].ttype); ; break;} case 778: -#line 3384 "parse.y" +#line 3385 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 779: -#line 3400 "parse.y" +#line 3401 "parse.y" { check_for_new_type ("inside exception declarations", yyvsp[-1].ftype); yyval.ttype = start_handler_parms (TREE_PURPOSE (yyvsp[-1].ftype.t), @@ -7821,97 +7821,97 @@ case 779: ; break;} case 780: -#line 3409 "parse.y" +#line 3410 "parse.y" { finish_label_stmt (yyvsp[-1].ttype); ; break;} case 781: -#line 3411 "parse.y" +#line 3412 "parse.y" { finish_label_stmt (yyvsp[-1].ttype); ; break;} case 782: -#line 3413 "parse.y" +#line 3414 "parse.y" { finish_label_stmt (yyvsp[-1].ttype); ; break;} case 783: -#line 3415 "parse.y" +#line 3416 "parse.y" { finish_label_stmt (yyvsp[-1].ttype); ; break;} case 784: -#line 3420 "parse.y" +#line 3421 "parse.y" { finish_expr_stmt (yyvsp[-1].ttype); ; break;} case 786: -#line 3423 "parse.y" +#line 3424 "parse.y" { if (pedantic) pedwarn ("ISO C++ forbids compound statements inside for initializations"); ; break;} case 787: -#line 3432 "parse.y" +#line 3433 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 789: -#line 3438 "parse.y" +#line 3439 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 791: -#line 3441 "parse.y" +#line 3442 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 792: -#line 3448 "parse.y" +#line 3449 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 795: -#line 3455 "parse.y" +#line 3456 "parse.y" { yyval.ttype = chainon (yyval.ttype, yyvsp[0].ttype); ; break;} case 796: -#line 3460 "parse.y" +#line 3461 "parse.y" { yyval.ttype = build_tree_list (yyval.ttype, yyvsp[-1].ttype); ; break;} case 797: -#line 3465 "parse.y" +#line 3466 "parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyval.ttype, NULL_TREE); ; break;} case 798: -#line 3467 "parse.y" +#line 3468 "parse.y" { yyval.ttype = tree_cons (NULL_TREE, yyvsp[0].ttype, yyval.ttype); ; break;} case 799: -#line 3478 "parse.y" +#line 3479 "parse.y" { yyval.ttype = empty_parms(); ; break;} case 801: -#line 3483 "parse.y" +#line 3484 "parse.y" { yyval.ttype = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[0].ftype.t), 0); check_for_new_type ("inside parameter list", yyvsp[0].ftype); ; break;} case 802: -#line 3491 "parse.y" +#line 3492 "parse.y" { yyval.ttype = finish_parmlist (yyval.ttype, 0); ; break;} case 803: -#line 3493 "parse.y" +#line 3494 "parse.y" { yyval.ttype = finish_parmlist (yyvsp[-1].ttype, 1); ; break;} case 804: -#line 3496 "parse.y" +#line 3497 "parse.y" { yyval.ttype = finish_parmlist (yyvsp[-1].ttype, 1); ; break;} case 805: -#line 3498 "parse.y" +#line 3499 "parse.y" { yyval.ttype = finish_parmlist (build_tree_list (NULL_TREE, yyvsp[-1].ftype.t), 1); ; break;} case 806: -#line 3501 "parse.y" +#line 3502 "parse.y" { yyval.ttype = finish_parmlist (NULL_TREE, 1); ; break;} case 807: -#line 3503 "parse.y" +#line 3504 "parse.y" { /* This helps us recover from really nasty parse errors, for example, a missing right @@ -7923,7 +7923,7 @@ case 807: ; break;} case 808: -#line 3513 "parse.y" +#line 3514 "parse.y" { /* This helps us recover from really nasty parse errors, for example, a missing right @@ -7936,99 +7936,99 @@ case 808: ; break;} case 809: -#line 3528 "parse.y" +#line 3529 "parse.y" { maybe_snarf_defarg (); ; break;} case 810: -#line 3530 "parse.y" +#line 3531 "parse.y" { yyval.ttype = yyvsp[0].ttype; ; break;} case 813: -#line 3541 "parse.y" +#line 3542 "parse.y" { check_for_new_type ("in a parameter list", yyvsp[0].ftype); yyval.ttype = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); ; break;} case 814: -#line 3544 "parse.y" +#line 3545 "parse.y" { check_for_new_type ("in a parameter list", yyvsp[-1].ftype); yyval.ttype = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ftype.t); ; break;} case 815: -#line 3547 "parse.y" +#line 3548 "parse.y" { check_for_new_type ("in a parameter list", yyvsp[0].ftype); yyval.ttype = chainon (yyval.ttype, yyvsp[0].ftype.t); ; break;} case 816: -#line 3550 "parse.y" +#line 3551 "parse.y" { yyval.ttype = chainon (yyval.ttype, build_tree_list (NULL_TREE, yyvsp[0].ttype)); ; break;} case 817: -#line 3552 "parse.y" +#line 3553 "parse.y" { yyval.ttype = chainon (yyval.ttype, build_tree_list (yyvsp[0].ttype, yyvsp[-2].ttype)); ; break;} case 819: -#line 3558 "parse.y" +#line 3559 "parse.y" { check_for_new_type ("in a parameter list", yyvsp[-1].ftype); yyval.ttype = build_tree_list (NULL_TREE, yyvsp[-1].ftype.t); ; break;} case 820: -#line 3568 "parse.y" +#line 3569 "parse.y" { tree specs = strip_attrs (yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; yyval.ftype.t = build_tree_list (specs, yyvsp[0].ttype); ; break;} case 821: -#line 3572 "parse.y" +#line 3573 "parse.y" { yyval.ftype.t = build_tree_list (yyvsp[-1].ftype.t, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 822: -#line 3575 "parse.y" +#line 3576 "parse.y" { yyval.ftype.t = build_tree_list (build_decl_list (NULL_TREE, yyvsp[-1].ftype.t), yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 823: -#line 3579 "parse.y" +#line 3580 "parse.y" { tree specs = strip_attrs (yyvsp[-1].ftype.t); yyval.ftype.t = build_tree_list (specs, yyvsp[0].ttype); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 824: -#line 3583 "parse.y" +#line 3584 "parse.y" { tree specs = strip_attrs (yyvsp[0].ftype.t); yyval.ftype.t = build_tree_list (specs, NULL_TREE); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 825: -#line 3587 "parse.y" +#line 3588 "parse.y" { tree specs = strip_attrs (yyvsp[-1].ftype.t); yyval.ftype.t = build_tree_list (specs, yyvsp[0].ttype); yyval.ftype.new_type_flag = 0; ; break;} case 826: -#line 3594 "parse.y" +#line 3595 "parse.y" { yyval.ftype.t = build_tree_list (NULL_TREE, yyvsp[0].ftype.t); yyval.ftype.new_type_flag = yyvsp[0].ftype.new_type_flag; ; break;} case 827: -#line 3597 "parse.y" +#line 3598 "parse.y" { yyval.ftype.t = build_tree_list (yyvsp[0].ttype, yyvsp[-1].ftype.t); yyval.ftype.new_type_flag = yyvsp[-1].ftype.new_type_flag; ; break;} case 830: -#line 3608 "parse.y" +#line 3609 "parse.y" { see_typename (); ; break;} case 831: -#line 3613 "parse.y" +#line 3614 "parse.y" { error ("type specifier omitted for parameter"); yyval.ttype = build_tree_list (integer_type_node, NULL_TREE); ; break;} case 832: -#line 3618 "parse.y" +#line 3619 "parse.y" { error ("type specifier omitted for parameter"); if (TREE_CODE (yyval.ttype) == SCOPE_REF @@ -8039,192 +8039,192 @@ case 832: ; break;} case 833: -#line 3630 "parse.y" +#line 3631 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 834: -#line 3632 "parse.y" +#line 3633 "parse.y" { yyval.ttype = yyvsp[-1].ttype; ; break;} case 835: -#line 3634 "parse.y" +#line 3635 "parse.y" { yyval.ttype = empty_except_spec; ; break;} case 836: -#line 3639 "parse.y" +#line 3640 "parse.y" { check_for_new_type ("exception specifier", yyvsp[0].ftype); yyval.ttype = groktypename (yyvsp[0].ftype.t); ; break;} case 837: -#line 3647 "parse.y" +#line 3648 "parse.y" { yyval.ttype = add_exception_specifier (NULL_TREE, yyvsp[0].ttype, 1); ; break;} case 838: -#line 3649 "parse.y" +#line 3650 "parse.y" { yyval.ttype = add_exception_specifier (yyvsp[-2].ttype, yyvsp[0].ttype, 1); ; break;} case 839: -#line 3654 "parse.y" +#line 3655 "parse.y" { yyval.ttype = NULL_TREE; ; break;} case 840: -#line 3656 "parse.y" +#line 3657 "parse.y" { yyval.ttype = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 841: -#line 3658 "parse.y" +#line 3659 "parse.y" { yyval.ttype = make_reference_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); ; break;} case 842: -#line 3660 "parse.y" +#line 3661 "parse.y" { tree arg = make_pointer_declarator (yyvsp[-1].ttype, yyvsp[0].ttype); yyval.ttype = build_parse_node (SCOPE_REF, yyvsp[-2].ttype, arg); ; break;} case 843: -#line 3667 "parse.y" +#line 3668 "parse.y" { got_scope = NULL_TREE; ; break;} case 844: -#line 3672 "parse.y" +#line 3673 "parse.y" { yyval.ttype = ansi_opname[MULT_EXPR]; ; break;} case 845: -#line 3674 "parse.y" +#line 3675 "parse.y" { yyval.ttype = ansi_opname[TRUNC_DIV_EXPR]; ; break;} case 846: -#line 3676 "parse.y" +#line 3677 "parse.y" { yyval.ttype = ansi_opname[TRUNC_MOD_EXPR]; ; break;} case 847: -#line 3678 "parse.y" +#line 3679 "parse.y" { yyval.ttype = ansi_opname[PLUS_EXPR]; ; break;} case 848: -#line 3680 "parse.y" +#line 3681 "parse.y" { yyval.ttype = ansi_opname[MINUS_EXPR]; ; break;} case 849: -#line 3682 "parse.y" +#line 3683 "parse.y" { yyval.ttype = ansi_opname[BIT_AND_EXPR]; ; break;} case 850: -#line 3684 "parse.y" +#line 3685 "parse.y" { yyval.ttype = ansi_opname[BIT_IOR_EXPR]; ; break;} case 851: -#line 3686 "parse.y" +#line 3687 "parse.y" { yyval.ttype = ansi_opname[BIT_XOR_EXPR]; ; break;} case 852: -#line 3688 "parse.y" +#line 3689 "parse.y" { yyval.ttype = ansi_opname[BIT_NOT_EXPR]; ; break;} case 853: -#line 3690 "parse.y" +#line 3691 "parse.y" { yyval.ttype = ansi_opname[COMPOUND_EXPR]; ; break;} case 854: -#line 3692 "parse.y" +#line 3693 "parse.y" { yyval.ttype = ansi_opname[yyvsp[0].code]; ; break;} case 855: -#line 3694 "parse.y" +#line 3695 "parse.y" { yyval.ttype = ansi_opname[LT_EXPR]; ; break;} case 856: -#line 3696 "parse.y" +#line 3697 "parse.y" { yyval.ttype = ansi_opname[GT_EXPR]; ; break;} case 857: -#line 3698 "parse.y" +#line 3699 "parse.y" { yyval.ttype = ansi_opname[yyvsp[0].code]; ; break;} case 858: -#line 3700 "parse.y" +#line 3701 "parse.y" { yyval.ttype = ansi_assopname[yyvsp[0].code]; ; break;} case 859: -#line 3702 "parse.y" +#line 3703 "parse.y" { yyval.ttype = ansi_opname [MODIFY_EXPR]; ; break;} case 860: -#line 3704 "parse.y" +#line 3705 "parse.y" { yyval.ttype = ansi_opname[yyvsp[0].code]; ; break;} case 861: -#line 3706 "parse.y" +#line 3707 "parse.y" { yyval.ttype = ansi_opname[yyvsp[0].code]; ; break;} case 862: -#line 3708 "parse.y" +#line 3709 "parse.y" { yyval.ttype = ansi_opname[POSTINCREMENT_EXPR]; ; break;} case 863: -#line 3710 "parse.y" +#line 3711 "parse.y" { yyval.ttype = ansi_opname[PREDECREMENT_EXPR]; ; break;} case 864: -#line 3712 "parse.y" +#line 3713 "parse.y" { yyval.ttype = ansi_opname[TRUTH_ANDIF_EXPR]; ; break;} case 865: -#line 3714 "parse.y" +#line 3715 "parse.y" { yyval.ttype = ansi_opname[TRUTH_ORIF_EXPR]; ; break;} case 866: -#line 3716 "parse.y" +#line 3717 "parse.y" { yyval.ttype = ansi_opname[TRUTH_NOT_EXPR]; ; break;} case 867: -#line 3718 "parse.y" +#line 3719 "parse.y" { yyval.ttype = ansi_opname[COND_EXPR]; ; break;} case 868: -#line 3720 "parse.y" +#line 3721 "parse.y" { yyval.ttype = ansi_opname[yyvsp[0].code]; ; break;} case 869: -#line 3722 "parse.y" +#line 3723 "parse.y" { yyval.ttype = ansi_opname[COMPONENT_REF]; ; break;} case 870: -#line 3724 "parse.y" +#line 3725 "parse.y" { yyval.ttype = ansi_opname[MEMBER_REF]; ; break;} case 871: -#line 3726 "parse.y" +#line 3727 "parse.y" { yyval.ttype = ansi_opname[CALL_EXPR]; ; break;} case 872: -#line 3728 "parse.y" +#line 3729 "parse.y" { yyval.ttype = ansi_opname[ARRAY_REF]; ; break;} case 873: -#line 3730 "parse.y" +#line 3731 "parse.y" { yyval.ttype = ansi_opname[NEW_EXPR]; ; break;} case 874: -#line 3732 "parse.y" +#line 3733 "parse.y" { yyval.ttype = ansi_opname[DELETE_EXPR]; ; break;} case 875: -#line 3734 "parse.y" +#line 3735 "parse.y" { yyval.ttype = ansi_opname[VEC_NEW_EXPR]; ; break;} case 876: -#line 3736 "parse.y" +#line 3737 "parse.y" { yyval.ttype = ansi_opname[VEC_DELETE_EXPR]; ; break;} case 877: -#line 3739 "parse.y" +#line 3740 "parse.y" { yyval.ttype = grokoptypename (yyvsp[-1].ftype.t, yyvsp[0].ttype); ; break;} case 878: -#line 3741 "parse.y" +#line 3742 "parse.y" { yyval.ttype = ansi_opname[ERROR_MARK]; ; break;} } @@ -8449,7 +8449,7 @@ yyerrhandle: } return 1; } -#line 3744 "parse.y" +#line 3745 "parse.y" #ifdef SPEW_DEBUG |