Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
73cea257
Commit
73cea257
authored
Dec 12, 1997
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rebuild after recent changes.
From-SVN: r17074
parent
74c3447c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
495 additions
and
496 deletions
+495
-496
gcc/objc/objc-parse.c
+495
-496
No files found.
gcc/objc/objc-parse.c
View file @
73cea257
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
#include "c-lex.h"
#include "c-lex.h"
#include "c-tree.h"
#include "c-tree.h"
#include "flags.h"
#include "flags.h"
#include "output.h"
#ifdef MULTIBYTE_CHARS
#ifdef MULTIBYTE_CHARS
#include <stdlib.h>
#include <stdlib.h>
...
@@ -94,18 +95,16 @@ char *language_string = "GNU Obj-C";
...
@@ -94,18 +95,16 @@ char *language_string = "GNU Obj-C";
extern
int
errno
;
extern
int
errno
;
#endif
#endif
void
yyerror
();
/* Like YYERROR but do call yyerror. */
/* Like YYERROR but do call yyerror. */
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }
/* Cause the `yydebug' variable to be defined. */
/* Cause the `yydebug' variable to be defined. */
#define YYDEBUG 1
#define YYDEBUG 1
#line 7
2
"objc-parse.y"
#line 7
1
"objc-parse.y"
typedef
union
{
long
itype
;
tree
ttype
;
enum
tree_code
code
;
typedef
union
{
long
itype
;
tree
ttype
;
enum
tree_code
code
;
char
*
filename
;
int
lineno
;
int
ends_in_label
;
}
YYSTYPE
;
char
*
filename
;
int
lineno
;
int
ends_in_label
;
}
YYSTYPE
;
#line 19
9
"objc-parse.y"
#line 19
8
"objc-parse.y"
/* Number of statements (loosely speaking) and compound statements
/* Number of statements (loosely speaking) and compound statements
seen so far. */
seen so far. */
...
@@ -142,7 +141,7 @@ int objc_public_flag;
...
@@ -142,7 +141,7 @@ int objc_public_flag;
/* Tell yyparse how to print a token's value, if yydebug is set. */
/* Tell yyparse how to print a token's value, if yydebug is set. */
#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
extern
void
yyprint
(
);
extern
void
yyprint
PROTO
((
FILE
*
,
int
,
YYSTYPE
)
);
#include <stdio.h>
#include <stdio.h>
#ifndef __cplusplus
#ifndef __cplusplus
...
@@ -434,62 +433,62 @@ static const short yyrhs[] = { -1,
...
@@ -434,62 +433,62 @@ static const short yyrhs[] = { -1,
#if YYDEBUG != 0
#if YYDEBUG != 0
static
const
short
yyrline
[]
=
{
0
,
static
const
short
yyrline
[]
=
{
0
,
23
9
,
244
,
258
,
260
,
260
,
261
,
263
,
265
,
266
,
267
,
23
8
,
243
,
257
,
259
,
259
,
260
,
262
,
264
,
265
,
266
,
27
5
,
279
,
290
,
295
,
300
,
302
,
304
,
305
,
306
,
311
,
27
4
,
278
,
289
,
294
,
299
,
301
,
303
,
304
,
305
,
310
,
31
8
,
320
,
325
,
330
,
336
,
338
,
343
,
348
,
354
,
356
,
31
7
,
319
,
324
,
329
,
335
,
337
,
342
,
347
,
353
,
355
,
36
1
,
368
,
370
,
371
,
372
,
375
,
377
,
379
,
381
,
383
,
36
0
,
367
,
369
,
370
,
371
,
374
,
376
,
378
,
380
,
382
,
38
5
,
387
,
391
,
395
,
398
,
401
,
404
,
408
,
410
,
413
,
38
4
,
386
,
390
,
394
,
397
,
400
,
403
,
407
,
409
,
412
,
41
6
,
420
,
448
,
454
,
457
,
460
,
463
,
465
,
469
,
473
,
41
5
,
419
,
447
,
453
,
456
,
459
,
462
,
464
,
468
,
472
,
47
7
,
479
,
482
,
486
,
513
,
515
,
517
,
519
,
521
,
523
,
47
6
,
478
,
481
,
485
,
512
,
514
,
516
,
518
,
520
,
522
,
52
5
,
527
,
529
,
531
,
533
,
535
,
537
,
539
,
543
,
545
,
52
4
,
526
,
528
,
530
,
532
,
534
,
536
,
538
,
542
,
544
,
54
9
,
551
,
554
,
558
,
560
,
567
,
570
,
573
,
579
,
739
,
54
8
,
550
,
553
,
557
,
559
,
566
,
569
,
572
,
578
,
738
,
7
40
,
742
,
748
,
750
,
764
,
787
,
789
,
791
,
803
,
817
,
7
39
,
741
,
747
,
749
,
763
,
786
,
788
,
790
,
802
,
816
,
81
9
,
821
,
823
,
825
,
827
,
829
,
834
,
836
,
842
,
844
,
81
8
,
820
,
822
,
824
,
826
,
828
,
833
,
835
,
841
,
843
,
84
8
,
850
,
851
,
861
,
866
,
868
,
869
,
870
,
877
,
883
,
84
7
,
849
,
850
,
860
,
865
,
867
,
868
,
869
,
876
,
882
,
88
8
,
891
,
899
,
904
,
906
,
907
,
908
,
915
,
926
,
930
,
88
7
,
890
,
898
,
903
,
905
,
906
,
907
,
914
,
925
,
929
,
93
6
,
941
,
946
,
951
,
953
,
955
,
964
,
967
,
971
,
973
,
93
5
,
940
,
945
,
950
,
952
,
954
,
963
,
966
,
970
,
972
,
97
5
,
980
,
984
,
987
,
991
,
994
,
996
,
1008
,
1011
,
1013
,
97
4
,
979
,
983
,
986
,
990
,
993
,
995
,
1007
,
1010
,
1012
,
101
5
,
1019
,
1023
,
1025
,
1028
,
1041
,
1044
,
1048
,
1050
,
1058
,
101
4
,
1018
,
1022
,
1024
,
1027
,
1040
,
1043
,
1047
,
1049
,
1057
,
105
9
,
1060
,
1064
,
1066
,
1071
,
1073
,
1075
,
1081
,
1082
,
1083
,
105
8
,
1059
,
1063
,
1065
,
1070
,
1072
,
1074
,
1080
,
1081
,
1082
,
108
6
,
1088
,
1091
,
1093
,
1096
,
1099
,
1105
,
1112
,
1114
,
1121
,
108
5
,
1087
,
1090
,
1092
,
1095
,
1098
,
1104
,
1111
,
1113
,
1120
,
112
8
,
1131
,
1138
,
1141
,
1145
,
1148
,
1152
,
1157
,
1160
,
1164
,
112
7
,
1130
,
1137
,
1140
,
1144
,
1147
,
1151
,
1156
,
1159
,
1163
,
116
7
,
1169
,
1171
,
1173
,
1180
,
1182
,
1183
,
1184
,
1189
,
1191
,
116
6
,
1168
,
1170
,
1172
,
1179
,
1181
,
1182
,
1183
,
1188
,
1190
,
119
6
,
1204
,
1209
,
1213
,
1216
,
1218
,
1223
,
1226
,
1228
,
1230
,
119
5
,
1203
,
1208
,
1212
,
1215
,
1217
,
1222
,
1225
,
1227
,
1229
,
123
4
,
1237
,
1237
,
1240
,
1242
,
1253
,
1261
,
1265
,
1276
,
1284
,
123
3
,
1236
,
1236
,
1239
,
1241
,
1252
,
1260
,
1264
,
1275
,
1283
,
129
1
,
1293
,
1298
,
1301
,
1306
,
1308
,
1310
,
1317
,
1319
,
1320
,
129
0
,
1292
,
1297
,
1300
,
1305
,
1307
,
1309
,
1316
,
1318
,
1319
,
132
8
,
1334
,
1336
,
1338
,
1345
,
1347
,
1353
,
1359
,
1361
,
1363
,
132
7
,
1333
,
1335
,
1337
,
1344
,
1346
,
1352
,
1358
,
1360
,
1362
,
136
5
,
1372
,
1374
,
1377
,
1382
,
1384
,
1388
,
1390
,
1392
,
1394
,
136
4
,
1371
,
1373
,
1376
,
1381
,
1383
,
1387
,
1389
,
1391
,
1393
,
139
8
,
1400
,
1403
,
1406
,
1409
,
1412
,
1416
,
1418
,
1421
,
1423
,
139
7
,
1399
,
1402
,
1405
,
1408
,
1411
,
1415
,
1417
,
1420
,
1422
,
142
7
,
1430
,
1435
,
1437
,
1439
,
1443
,
1467
,
1474
,
1479
,
1485
,
142
6
,
1429
,
1434
,
1436
,
1438
,
1442
,
1466
,
1473
,
1478
,
1484
,
14
90
,
1492
,
1497
,
1499
,
1503
,
1507
,
1511
,
1521
,
1523
,
1528
,
14
89
,
1491
,
1496
,
1498
,
1502
,
1506
,
1510
,
1520
,
1522
,
1527
,
153
3
,
1536
,
1540
,
1543
,
1547
,
1550
,
1553
,
1556
,
1560
,
1563
,
153
2
,
1535
,
1539
,
1542
,
1546
,
1549
,
1552
,
1555
,
1559
,
1562
,
156
7
,
1571
,
1573
,
1575
,
1577
,
1579
,
1581
,
1583
,
1585
,
1595
,
156
6
,
1570
,
1572
,
1574
,
1576
,
1578
,
1580
,
1582
,
1584
,
1594
,
160
3
,
1605
,
1607
,
1611
,
1613
,
1616
,
1619
,
1632
,
1634
,
1639
,
160
2
,
1604
,
1606
,
1610
,
1612
,
1615
,
1618
,
1631
,
1633
,
1638
,
164
1
,
1644
,
1658
,
1661
,
1664
,
1666
,
1668
,
1676
,
1684
,
1695
,
164
0
,
1643
,
1657
,
1660
,
1663
,
1665
,
1667
,
1675
,
1683
,
1694
,
1
700
,
1703
,
1717
,
1726
,
1730
,
1734
,
1738
,
1744
,
1748
,
1753
,
1
699
,
1702
,
1716
,
1725
,
1729
,
1733
,
1737
,
1743
,
1747
,
1752
,
175
6
,
1761
,
1764
,
1765
,
1782
,
1787
,
1790
,
1802
,
1804
,
1814
,
175
5
,
1760
,
1763
,
1764
,
1781
,
1786
,
1789
,
1801
,
1803
,
1813
,
182
4
,
1825
,
1833
,
1836
,
1848
,
1852
,
1869
,
1879
,
1888
,
1893
,
182
3
,
1824
,
1832
,
1835
,
1847
,
1851
,
1868
,
1878
,
1887
,
1892
,
189
8
,
1903
,
1907
,
1911
,
1922
,
1929
,
1936
,
1943
,
1954
,
1960
,
189
7
,
1902
,
1906
,
1910
,
1921
,
1928
,
1935
,
1942
,
1953
,
1959
,
196
3
,
1968
,
1991
,
2025
,
2050
,
2081
,
2096
,
2107
,
2111
,
2115
,
196
2
,
1967
,
1990
,
2024
,
2049
,
2080
,
2095
,
2106
,
2110
,
2114
,
211
8
,
2123
,
2125
,
2128
,
2130
,
2134
,
2139
,
2142
,
2148
,
2153
,
211
7
,
2122
,
2124
,
2127
,
2129
,
2133
,
2138
,
2141
,
2147
,
2152
,
215
8
,
2160
,
2169
,
2170
,
2176
,
2178
,
2188
,
2190
,
2194
,
2197
,
215
7
,
2159
,
2168
,
2169
,
2175
,
2177
,
2187
,
2189
,
2193
,
2196
,
220
3
,
2213
,
2222
,
2231
,
2241
,
2255
,
2260
,
2265
,
2267
,
2276
,
220
2
,
2212
,
2221
,
2230
,
2240
,
2254
,
2259
,
2264
,
2266
,
2275
,
227
9
,
2284
,
2287
,
2291
,
2299
,
2301
,
2302
,
2303
,
2304
,
2305
,
227
8
,
2283
,
2286
,
2290
,
2298
,
2300
,
2301
,
2302
,
2303
,
2304
,
231
9
,
2322
,
2326
,
2332
,
2338
,
2345
,
2350
,
2356
,
2363
,
2369
,
231
8
,
2321
,
2325
,
2331
,
2337
,
2344
,
2349
,
2355
,
2362
,
2368
,
237
5
,
2380
,
2386
,
2393
,
2399
,
2405
,
2411
,
2419
,
2425
,
2431
,
237
4
,
2379
,
2385
,
2392
,
2398
,
2404
,
2410
,
2418
,
2424
,
2430
,
243
9
,
2446
,
2452
,
2461
,
2468
,
2476
,
2481
,
2484
,
2494
,
2496
,
243
8
,
2445
,
2451
,
2460
,
2467
,
2475
,
2480
,
2483
,
2493
,
2495
,
249
9
,
2501
,
2502
,
2505
,
2510
,
2511
,
2528
,
2535
,
2541
,
2545
,
249
8
,
2500
,
2501
,
2504
,
2509
,
2510
,
2527
,
2534
,
2540
,
2544
,
254
8
,
2549
,
2552
,
2560
,
2566
,
2575
,
2585
,
2592
,
2596
,
2601
,
254
7
,
2548
,
2551
,
2559
,
2565
,
2574
,
2584
,
2591
,
2595
,
2600
,
26
10
,
2617
,
2621
,
2631
,
2633
,
2634
,
2636
,
2638
,
2639
,
2640
,
26
09
,
2616
,
2620
,
2630
,
2632
,
2633
,
2635
,
2637
,
2638
,
2639
,
264
1
,
2643
,
2645
,
2648
,
2654
,
2659
,
2659
,
2664
,
2668
,
2670
,
264
0
,
2642
,
2644
,
2647
,
2653
,
2658
,
2658
,
2663
,
2667
,
2669
,
267
6
,
2681
,
2686
,
2695
,
2697
,
2703
,
2705
,
2708
,
2710
,
2711
,
267
5
,
2680
,
2685
,
2694
,
2696
,
2702
,
2704
,
2707
,
2709
,
2710
,
271
2
,
2715
,
2721
,
2723
,
2727
,
2730
,
2737
,
2743
,
2748
,
2755
,
271
1
,
2714
,
2720
,
2722
,
2726
,
2729
,
2736
,
2742
,
2747
,
2754
,
27
60
,
2765
,
2770
,
2777
,
2781
,
2784
,
2790
,
2792
,
2793
,
2794
,
27
59
,
2764
,
2769
,
2776
,
2780
,
2783
,
2789
,
2791
,
2792
,
2793
,
279
7
,
2799
,
2800
,
2801
,
2802
,
2803
,
2804
,
2805
,
2806
,
2807
,
279
6
,
2798
,
2799
,
2800
,
2801
,
2802
,
2803
,
2804
,
2805
,
2806
,
280
8
,
2809
,
2810
,
2811
,
2812
,
2813
,
2814
,
2815
,
2816
,
2817
,
280
7
,
2808
,
2809
,
2810
,
2811
,
2812
,
2813
,
2814
,
2815
,
2816
,
281
7
,
2820
,
2826
,
2831
,
2836
,
2842
,
2844
,
2847
,
2849
,
2856
,
281
6
,
2819
,
2825
,
2830
,
2835
,
2841
,
2843
,
2846
,
2848
,
2855
,
286
8
,
2873
,
2879
,
2881
,
2887
,
2891
,
2892
,
2898
,
2900
,
2903
,
286
7
,
2872
,
2878
,
2880
,
2886
,
2890
,
2891
,
2897
,
2899
,
2902
,
290
5
,
2911
,
2916
,
2922
,
2929
,
2938
290
4
,
2910
,
2915
,
2921
,
2928
,
2937
};
};
#endif
#endif
...
@@ -2137,14 +2136,14 @@ yyreduce:
...
@@ -2137,14 +2136,14 @@ yyreduce:
switch
(
yyn
)
{
switch
(
yyn
)
{
case
1
:
case
1
:
#line 2
40
"objc-parse.y"
#line 2
39
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids an empty source file"
);
pedwarn
(
"ANSI C forbids an empty source file"
);
finish_file
();
finish_file
();
;
;
break
;}
break
;}
case
2
:
case
2
:
#line 24
5
"objc-parse.y"
#line 24
4
"objc-parse.y"
{
{
/* In case there were missing closebraces,
/* In case there were missing closebraces,
get us back to the global binding level. */
get us back to the global binding level. */
...
@@ -2154,15 +2153,15 @@ case 2:
...
@@ -2154,15 +2153,15 @@ case 2:
;
;
break
;}
break
;}
case
3
:
case
3
:
#line 25
9
"objc-parse.y"
#line 25
8
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
5
:
case
5
:
#line 2
60
"objc-parse.y"
#line 2
59
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
10
:
case
10
:
#line 26
8
"objc-parse.y"
#line 26
7
"objc-parse.y"
{
STRIP_NOPS
(
yyvsp
[
-
2
].
ttype
);
{
STRIP_NOPS
(
yyvsp
[
-
2
].
ttype
);
if
((
TREE_CODE
(
yyvsp
[
-
2
].
ttype
)
==
ADDR_EXPR
if
((
TREE_CODE
(
yyvsp
[
-
2
].
ttype
)
==
ADDR_EXPR
&&
TREE_CODE
(
TREE_OPERAND
(
yyvsp
[
-
2
].
ttype
,
0
))
==
STRING_CST
)
&&
TREE_CODE
(
TREE_OPERAND
(
yyvsp
[
-
2
].
ttype
,
0
))
==
STRING_CST
)
...
@@ -2172,11 +2171,11 @@ case 10:
...
@@ -2172,11 +2171,11 @@ case 10:
error
(
"argument of `asm' is not a constant string"
);
;
error
(
"argument of `asm' is not a constant string"
);
;
break
;}
break
;}
case
11
:
case
11
:
#line 27
6
"objc-parse.y"
#line 27
5
"objc-parse.y"
{
pedantic
=
yyvsp
[
-
1
].
itype
;
;
{
pedantic
=
yyvsp
[
-
1
].
itype
;
;
break
;}
break
;}
case
12
:
case
12
:
#line 28
1
"objc-parse.y"
#line 28
0
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
error
(
"ANSI C forbids data definition with no type or storage class"
);
error
(
"ANSI C forbids data definition with no type or storage class"
);
else
if
(
!
flag_traditional
)
else
if
(
!
flag_traditional
)
...
@@ -2188,45 +2187,45 @@ case 12:
...
@@ -2188,45 +2187,45 @@ case 12:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
13
:
case
13
:
#line 29
1
"objc-parse.y"
#line 29
0
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
14
:
case
14
:
#line 29
6
"objc-parse.y"
#line 29
5
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
15
:
case
15
:
#line 30
1
"objc-parse.y"
#line 30
0
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
16
:
case
16
:
#line 30
3
"objc-parse.y"
#line 30
2
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
19
:
case
19
:
#line 30
7
"objc-parse.y"
#line 30
6
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C does not allow extra `;' outside of a function"
);
;
pedwarn
(
"ANSI C does not allow extra `;' outside of a function"
);
;
break
;}
break
;}
case
20
:
case
20
:
#line 31
3
"objc-parse.y"
#line 31
2
"objc-parse.y"
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
,
0
))
prefix_attributes
,
NULL_TREE
,
0
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
21
:
case
21
:
#line 31
8
"objc-parse.y"
#line 31
7
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
22
:
case
22
:
#line 3
20
"objc-parse.y"
#line 3
19
"objc-parse.y"
{
finish_function
(
0
);
{
finish_function
(
0
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -2234,25 +2233,25 @@ case 22:
...
@@ -2234,25 +2233,25 @@ case 22:
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
break
;}
break
;}
case
23
:
case
23
:
#line 32
6
"objc-parse.y"
#line 32
5
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
24
:
case
24
:
#line 33
1
"objc-parse.y"
#line 33
0
"objc-parse.y"
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
,
0
))
prefix_attributes
,
NULL_TREE
,
0
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
25
:
case
25
:
#line 33
6
"objc-parse.y"
#line 33
5
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
26
:
case
26
:
#line 33
8
"objc-parse.y"
#line 33
7
"objc-parse.y"
{
finish_function
(
0
);
{
finish_function
(
0
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -2260,25 +2259,25 @@ case 26:
...
@@ -2260,25 +2259,25 @@ case 26:
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
break
;}
break
;}
case
27
:
case
27
:
#line 34
4
"objc-parse.y"
#line 34
3
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
28
:
case
28
:
#line 34
9
"objc-parse.y"
#line 34
8
"objc-parse.y"
{
if
(
!
start_function
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
,
0
))
prefix_attributes
,
NULL_TREE
,
0
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
29
:
case
29
:
#line 35
4
"objc-parse.y"
#line 35
3
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
30
:
case
30
:
#line 35
6
"objc-parse.y"
#line 35
5
"objc-parse.y"
{
finish_function
(
0
);
{
finish_function
(
0
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -2286,72 +2285,72 @@ case 30:
...
@@ -2286,72 +2285,72 @@ case 30:
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
break
;}
break
;}
case
31
:
case
31
:
#line 36
2
"objc-parse.y"
#line 36
1
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
36
:
case
36
:
#line 37
6
"objc-parse.y"
#line 37
5
"objc-parse.y"
{
yyval
.
code
=
ADDR_EXPR
;
;
{
yyval
.
code
=
ADDR_EXPR
;
;
break
;}
break
;}
case
37
:
case
37
:
#line 37
8
"objc-parse.y"
#line 37
7
"objc-parse.y"
{
yyval
.
code
=
NEGATE_EXPR
;
;
{
yyval
.
code
=
NEGATE_EXPR
;
;
break
;}
break
;}
case
38
:
case
38
:
#line 3
80
"objc-parse.y"
#line 3
79
"objc-parse.y"
{
yyval
.
code
=
CONVERT_EXPR
;
;
{
yyval
.
code
=
CONVERT_EXPR
;
;
break
;}
break
;}
case
39
:
case
39
:
#line 38
2
"objc-parse.y"
#line 38
1
"objc-parse.y"
{
yyval
.
code
=
PREINCREMENT_EXPR
;
;
{
yyval
.
code
=
PREINCREMENT_EXPR
;
;
break
;}
break
;}
case
40
:
case
40
:
#line 38
4
"objc-parse.y"
#line 38
3
"objc-parse.y"
{
yyval
.
code
=
PREDECREMENT_EXPR
;
;
{
yyval
.
code
=
PREDECREMENT_EXPR
;
;
break
;}
break
;}
case
41
:
case
41
:
#line 38
6
"objc-parse.y"
#line 38
5
"objc-parse.y"
{
yyval
.
code
=
BIT_NOT_EXPR
;
;
{
yyval
.
code
=
BIT_NOT_EXPR
;
;
break
;}
break
;}
case
42
:
case
42
:
#line 38
8
"objc-parse.y"
#line 38
7
"objc-parse.y"
{
yyval
.
code
=
TRUTH_NOT_EXPR
;
;
{
yyval
.
code
=
TRUTH_NOT_EXPR
;
;
break
;}
break
;}
case
43
:
case
43
:
#line 39
2
"objc-parse.y"
#line 39
1
"objc-parse.y"
{
yyval
.
ttype
=
build_compound_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_compound_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
44
:
case
44
:
#line 39
7
"objc-parse.y"
#line 39
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
46
:
case
46
:
#line 40
3
"objc-parse.y"
#line 40
2
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
47
:
case
47
:
#line 40
5
"objc-parse.y"
#line 40
4
"objc-parse.y"
{
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
{
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
49
:
case
49
:
#line 41
1
"objc-parse.y"
#line 41
0
"objc-parse.y"
{
yyval
.
ttype
=
build_indirect_ref
(
yyvsp
[
0
].
ttype
,
"unary *"
);
;
{
yyval
.
ttype
=
build_indirect_ref
(
yyvsp
[
0
].
ttype
,
"unary *"
);
;
break
;}
break
;}
case
50
:
case
50
:
#line 41
4
"objc-parse.y"
#line 41
3
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
pedantic
=
yyvsp
[
-
1
].
itype
;
;
pedantic
=
yyvsp
[
-
1
].
itype
;
;
break
;}
break
;}
case
51
:
case
51
:
#line 41
7
"objc-parse.y"
#line 41
6
"objc-parse.y"
{
yyval
.
ttype
=
build_unary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
0
].
ttype
,
0
);
{
yyval
.
ttype
=
build_unary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
0
].
ttype
,
0
);
overflow_warning
(
yyval
.
ttype
);
;
overflow_warning
(
yyval
.
ttype
);
;
break
;}
break
;}
case
52
:
case
52
:
#line 42
1
"objc-parse.y"
#line 42
0
"objc-parse.y"
{
tree
label
=
lookup_label
(
yyvsp
[
0
].
ttype
);
{
tree
label
=
lookup_label
(
yyvsp
[
0
].
ttype
);
if
(
pedantic
)
if
(
pedantic
)
pedwarn
(
"ANSI C forbids `&&'"
);
pedwarn
(
"ANSI C forbids `&&'"
);
...
@@ -2366,7 +2365,7 @@ case 52:
...
@@ -2366,7 +2365,7 @@ case 52:
;
;
break
;}
break
;}
case
53
:
case
53
:
#line 44
9
"objc-parse.y"
#line 44
8
"objc-parse.y"
{
skip_evaluation
--
;
{
skip_evaluation
--
;
if
(
TREE_CODE
(
yyvsp
[
0
].
ttype
)
==
COMPONENT_REF
if
(
TREE_CODE
(
yyvsp
[
0
].
ttype
)
==
COMPONENT_REF
&&
DECL_C_BIT_FIELD
(
TREE_OPERAND
(
yyvsp
[
0
].
ttype
,
1
)))
&&
DECL_C_BIT_FIELD
(
TREE_OPERAND
(
yyvsp
[
0
].
ttype
,
1
)))
...
@@ -2374,49 +2373,49 @@ case 53:
...
@@ -2374,49 +2373,49 @@ case 53:
yyval
.
ttype
=
c_sizeof
(
TREE_TYPE
(
yyvsp
[
0
].
ttype
));
;
yyval
.
ttype
=
c_sizeof
(
TREE_TYPE
(
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
54
:
case
54
:
#line 45
5
"objc-parse.y"
#line 45
4
"objc-parse.y"
{
skip_evaluation
--
;
{
skip_evaluation
--
;
yyval
.
ttype
=
c_sizeof
(
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
yyval
.
ttype
=
c_sizeof
(
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
55
:
case
55
:
#line 45
8
"objc-parse.y"
#line 45
7
"objc-parse.y"
{
skip_evaluation
--
;
{
skip_evaluation
--
;
yyval
.
ttype
=
c_alignof_expr
(
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
c_alignof_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
56
:
case
56
:
#line 46
1
"objc-parse.y"
#line 46
0
"objc-parse.y"
{
skip_evaluation
--
;
{
skip_evaluation
--
;
yyval
.
ttype
=
c_alignof
(
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
yyval
.
ttype
=
c_alignof
(
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
57
:
case
57
:
#line 46
4
"objc-parse.y"
#line 46
3
"objc-parse.y"
{
yyval
.
ttype
=
build_unary_op
(
REALPART_EXPR
,
yyvsp
[
0
].
ttype
,
0
);
;
{
yyval
.
ttype
=
build_unary_op
(
REALPART_EXPR
,
yyvsp
[
0
].
ttype
,
0
);
;
break
;}
break
;}
case
58
:
case
58
:
#line 46
6
"objc-parse.y"
#line 46
5
"objc-parse.y"
{
yyval
.
ttype
=
build_unary_op
(
IMAGPART_EXPR
,
yyvsp
[
0
].
ttype
,
0
);
;
{
yyval
.
ttype
=
build_unary_op
(
IMAGPART_EXPR
,
yyvsp
[
0
].
ttype
,
0
);
;
break
;}
break
;}
case
59
:
case
59
:
#line 4
70
"objc-parse.y"
#line 4
69
"objc-parse.y"
{
skip_evaluation
++
;
;
{
skip_evaluation
++
;
;
break
;}
break
;}
case
60
:
case
60
:
#line 47
4
"objc-parse.y"
#line 47
3
"objc-parse.y"
{
skip_evaluation
++
;
;
{
skip_evaluation
++
;
;
break
;}
break
;}
case
62
:
case
62
:
#line 4
80
"objc-parse.y"
#line 4
79
"objc-parse.y"
{
tree
type
=
groktypename
(
yyvsp
[
-
2
].
ttype
);
{
tree
type
=
groktypename
(
yyvsp
[
-
2
].
ttype
);
yyval
.
ttype
=
build_c_cast
(
type
,
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
build_c_cast
(
type
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
63
:
case
63
:
#line 48
3
"objc-parse.y"
#line 48
2
"objc-parse.y"
{
start_init
(
NULL_TREE
,
NULL
,
0
);
{
start_init
(
NULL_TREE
,
NULL
,
0
);
yyvsp
[
-
2
].
ttype
=
groktypename
(
yyvsp
[
-
2
].
ttype
);
yyvsp
[
-
2
].
ttype
=
groktypename
(
yyvsp
[
-
2
].
ttype
);
really_start_incremental_init
(
yyvsp
[
-
2
].
ttype
);
;
really_start_incremental_init
(
yyvsp
[
-
2
].
ttype
);
;
break
;}
break
;}
case
64
:
case
64
:
#line 48
7
"objc-parse.y"
#line 48
6
"objc-parse.y"
{
char
*
name
;
{
char
*
name
;
tree
result
=
pop_init_level
(
0
);
tree
result
=
pop_init_level
(
0
);
tree
type
=
yyvsp
[
-
5
].
ttype
;
tree
type
=
yyvsp
[
-
5
].
ttype
;
...
@@ -2443,90 +2442,90 @@ case 64:
...
@@ -2443,90 +2442,90 @@ case 64:
;
;
break
;}
break
;}
case
66
:
case
66
:
#line 51
6
"objc-parse.y"
#line 51
5
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
67
:
case
67
:
#line 51
8
"objc-parse.y"
#line 51
7
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
68
:
case
68
:
#line 5
20
"objc-parse.y"
#line 5
19
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
69
:
case
69
:
#line 52
2
"objc-parse.y"
#line 52
1
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
70
:
case
70
:
#line 52
4
"objc-parse.y"
#line 52
3
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
71
:
case
71
:
#line 52
6
"objc-parse.y"
#line 52
5
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
72
:
case
72
:
#line 52
8
"objc-parse.y"
#line 52
7
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
73
:
case
73
:
#line 5
30
"objc-parse.y"
#line 5
29
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
74
:
case
74
:
#line 53
2
"objc-parse.y"
#line 53
1
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
75
:
case
75
:
#line 53
4
"objc-parse.y"
#line 53
3
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
76
:
case
76
:
#line 53
6
"objc-parse.y"
#line 53
5
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
77
:
case
77
:
#line 53
8
"objc-parse.y"
#line 53
7
"objc-parse.y"
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
parser_build_binary_op
(
yyvsp
[
-
1
].
code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
78
:
case
78
:
#line 5
40
"objc-parse.y"
#line 5
39
"objc-parse.y"
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_false_node
;
;
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_false_node
;
;
break
;}
break
;}
case
79
:
case
79
:
#line 54
3
"objc-parse.y"
#line 54
2
"objc-parse.y"
{
skip_evaluation
-=
yyvsp
[
-
3
].
ttype
==
boolean_false_node
;
{
skip_evaluation
-=
yyvsp
[
-
3
].
ttype
==
boolean_false_node
;
yyval
.
ttype
=
parser_build_binary_op
(
TRUTH_ANDIF_EXPR
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
parser_build_binary_op
(
TRUTH_ANDIF_EXPR
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
80
:
case
80
:
#line 54
6
"objc-parse.y"
#line 54
5
"objc-parse.y"
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
break
;}
break
;}
case
81
:
case
81
:
#line 54
9
"objc-parse.y"
#line 54
8
"objc-parse.y"
{
skip_evaluation
-=
yyvsp
[
-
3
].
ttype
==
boolean_true_node
;
{
skip_evaluation
-=
yyvsp
[
-
3
].
ttype
==
boolean_true_node
;
yyval
.
ttype
=
parser_build_binary_op
(
TRUTH_ORIF_EXPR
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
parser_build_binary_op
(
TRUTH_ORIF_EXPR
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
82
:
case
82
:
#line 55
2
"objc-parse.y"
#line 55
1
"objc-parse.y"
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
{
yyvsp
[
-
1
].
ttype
=
truthvalue_conversion
(
default_conversion
(
yyvsp
[
-
1
].
ttype
));
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_false_node
;
;
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_false_node
;
;
break
;}
break
;}
case
83
:
case
83
:
#line 55
5
"objc-parse.y"
#line 55
4
"objc-parse.y"
{
skip_evaluation
+=
((
yyvsp
[
-
4
].
ttype
==
boolean_true_node
)
{
skip_evaluation
+=
((
yyvsp
[
-
4
].
ttype
==
boolean_true_node
)
-
(
yyvsp
[
-
4
].
ttype
==
boolean_false_node
));
;
-
(
yyvsp
[
-
4
].
ttype
==
boolean_false_node
));
;
break
;}
break
;}
case
84
:
case
84
:
#line 55
8
"objc-parse.y"
#line 55
7
"objc-parse.y"
{
skip_evaluation
-=
yyvsp
[
-
6
].
ttype
==
boolean_true_node
;
{
skip_evaluation
-=
yyvsp
[
-
6
].
ttype
==
boolean_true_node
;
yyval
.
ttype
=
build_conditional_expr
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
build_conditional_expr
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
85
:
case
85
:
#line 56
1
"objc-parse.y"
#line 56
0
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids omitting the middle term of a ?: expression"
);
pedwarn
(
"ANSI C forbids omitting the middle term of a ?: expression"
);
/* Make sure first operand is calculated only once. */
/* Make sure first operand is calculated only once. */
...
@@ -2535,23 +2534,23 @@ case 85:
...
@@ -2535,23 +2534,23 @@ case 85:
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
break
;}
break
;}
case
86
:
case
86
:
#line 56
8
"objc-parse.y"
#line 56
7
"objc-parse.y"
{
skip_evaluation
-=
yyvsp
[
-
4
].
ttype
==
boolean_true_node
;
{
skip_evaluation
-=
yyvsp
[
-
4
].
ttype
==
boolean_true_node
;
yyval
.
ttype
=
build_conditional_expr
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
build_conditional_expr
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
87
:
case
87
:
#line 57
1
"objc-parse.y"
#line 57
0
"objc-parse.y"
{
yyval
.
ttype
=
build_modify_expr
(
yyvsp
[
-
2
].
ttype
,
NOP_EXPR
,
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
build_modify_expr
(
yyvsp
[
-
2
].
ttype
,
NOP_EXPR
,
yyvsp
[
0
].
ttype
);
C_SET_EXP_ORIGINAL_CODE
(
yyval
.
ttype
,
MODIFY_EXPR
);
;
C_SET_EXP_ORIGINAL_CODE
(
yyval
.
ttype
,
MODIFY_EXPR
);
;
break
;}
break
;}
case
88
:
case
88
:
#line 57
4
"objc-parse.y"
#line 57
3
"objc-parse.y"
{
yyval
.
ttype
=
build_modify_expr
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
code
,
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
build_modify_expr
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
code
,
yyvsp
[
0
].
ttype
);
/* This inhibits warnings in truthvalue_conversion. */
/* This inhibits warnings in truthvalue_conversion. */
C_SET_EXP_ORIGINAL_CODE
(
yyval
.
ttype
,
ERROR_MARK
);
;
C_SET_EXP_ORIGINAL_CODE
(
yyval
.
ttype
,
ERROR_MARK
);
;
break
;}
break
;}
case
89
:
case
89
:
#line 58
1
"objc-parse.y"
#line 58
0
"objc-parse.y"
{
{
yyval
.
ttype
=
lastiddecl
;
yyval
.
ttype
=
lastiddecl
;
if
(
!
yyval
.
ttype
||
yyval
.
ttype
==
error_mark_node
)
if
(
!
yyval
.
ttype
||
yyval
.
ttype
==
error_mark_node
)
...
@@ -2712,11 +2711,11 @@ case 89:
...
@@ -2712,11 +2711,11 @@ case 89:
;
;
break
;}
break
;}
case
91
:
case
91
:
#line 74
1
"objc-parse.y"
#line 74
0
"objc-parse.y"
{
yyval
.
ttype
=
combine_strings
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
combine_strings
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
92
:
case
92
:
#line 74
3
"objc-parse.y"
#line 74
2
"objc-parse.y"
{
char
class
=
TREE_CODE_CLASS
(
TREE_CODE
(
yyvsp
[
-
1
].
ttype
));
{
char
class
=
TREE_CODE_CLASS
(
TREE_CODE
(
yyvsp
[
-
1
].
ttype
));
if
(
class
==
'e'
||
class
==
'1'
if
(
class
==
'e'
||
class
==
'1'
||
class
==
'2'
||
class
==
'<'
)
||
class
==
'2'
||
class
==
'<'
)
...
@@ -2724,11 +2723,11 @@ case 92:
...
@@ -2724,11 +2723,11 @@ case 92:
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
93
:
case
93
:
#line 74
9
"objc-parse.y"
#line 74
8
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
94
:
case
94
:
#line 75
1
"objc-parse.y"
#line 75
0
"objc-parse.y"
{
if
(
current_function_decl
==
0
)
{
if
(
current_function_decl
==
0
)
{
{
error
(
"braced-group within expression allowed only inside a function"
);
error
(
"braced-group within expression allowed only inside a function"
);
...
@@ -2744,7 +2743,7 @@ case 94:
...
@@ -2744,7 +2743,7 @@ case 94:
yyval
.
ttype
=
expand_start_stmt_expr
();
;
yyval
.
ttype
=
expand_start_stmt_expr
();
;
break
;}
break
;}
case
95
:
case
95
:
#line 76
5
"objc-parse.y"
#line 76
4
"objc-parse.y"
{
tree
rtl_exp
;
{
tree
rtl_exp
;
if
(
pedantic
)
if
(
pedantic
)
pedwarn
(
"ANSI C forbids braced-groups within expressions"
);
pedwarn
(
"ANSI C forbids braced-groups within expressions"
);
...
@@ -2769,15 +2768,15 @@ case 95:
...
@@ -2769,15 +2768,15 @@ case 95:
;
;
break
;}
break
;}
case
96
:
case
96
:
#line 78
8
"objc-parse.y"
#line 78
7
"objc-parse.y"
{
yyval
.
ttype
=
build_function_call
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_function_call
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
97
:
case
97
:
#line 7
90
"objc-parse.y"
#line 7
89
"objc-parse.y"
{
yyval
.
ttype
=
build_array_ref
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_array_ref
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
98
:
case
98
:
#line 79
2
"objc-parse.y"
#line 79
1
"objc-parse.y"
{
{
if
(
doing_objc_thang
)
if
(
doing_objc_thang
)
{
{
...
@@ -2791,7 +2790,7 @@ case 98:
...
@@ -2791,7 +2790,7 @@ case 98:
;
;
break
;}
break
;}
case
99
:
case
99
:
#line 80
4
"objc-parse.y"
#line 80
3
"objc-parse.y"
{
{
tree
expr
=
build_indirect_ref
(
yyvsp
[
-
2
].
ttype
,
"->"
);
tree
expr
=
build_indirect_ref
(
yyvsp
[
-
2
].
ttype
,
"->"
);
...
@@ -2807,80 +2806,80 @@ case 99:
...
@@ -2807,80 +2806,80 @@ case 99:
;
;
break
;}
break
;}
case
100
:
case
100
:
#line 81
8
"objc-parse.y"
#line 81
7
"objc-parse.y"
{
yyval
.
ttype
=
build_unary_op
(
POSTINCREMENT_EXPR
,
yyvsp
[
-
1
].
ttype
,
0
);
;
{
yyval
.
ttype
=
build_unary_op
(
POSTINCREMENT_EXPR
,
yyvsp
[
-
1
].
ttype
,
0
);
;
break
;}
break
;}
case
101
:
case
101
:
#line 8
20
"objc-parse.y"
#line 8
19
"objc-parse.y"
{
yyval
.
ttype
=
build_unary_op
(
POSTDECREMENT_EXPR
,
yyvsp
[
-
1
].
ttype
,
0
);
;
{
yyval
.
ttype
=
build_unary_op
(
POSTDECREMENT_EXPR
,
yyvsp
[
-
1
].
ttype
,
0
);
;
break
;}
break
;}
case
102
:
case
102
:
#line 82
2
"objc-parse.y"
#line 82
1
"objc-parse.y"
{
yyval
.
ttype
=
build_message_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_message_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
103
:
case
103
:
#line 82
4
"objc-parse.y"
#line 82
3
"objc-parse.y"
{
yyval
.
ttype
=
build_selector_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_selector_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
104
:
case
104
:
#line 82
6
"objc-parse.y"
#line 82
5
"objc-parse.y"
{
yyval
.
ttype
=
build_protocol_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_protocol_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
105
:
case
105
:
#line 82
8
"objc-parse.y"
#line 82
7
"objc-parse.y"
{
yyval
.
ttype
=
build_encode_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_encode_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
106
:
case
106
:
#line 8
30
"objc-parse.y"
#line 8
29
"objc-parse.y"
{
yyval
.
ttype
=
build_objc_string_object
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_objc_string_object
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
108
:
case
108
:
#line 83
7
"objc-parse.y"
#line 83
6
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
110
:
case
110
:
#line 84
5
"objc-parse.y"
#line 84
4
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
113
:
case
113
:
#line 85
3
"objc-parse.y"
#line 85
2
"objc-parse.y"
{
c_mark_varargs
();
{
c_mark_varargs
();
if
(
pedantic
)
if
(
pedantic
)
pedwarn
(
"ANSI C does not permit use of `varargs.h'"
);
;
pedwarn
(
"ANSI C does not permit use of `varargs.h'"
);
;
break
;}
break
;}
case
114
:
case
114
:
#line 86
3
"objc-parse.y"
#line 86
2
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
119
:
case
119
:
#line 87
9
"objc-parse.y"
#line 87
8
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
120
:
case
120
:
#line 88
4
"objc-parse.y"
#line 88
3
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
121
:
case
121
:
#line 88
9
"objc-parse.y"
#line 88
8
"objc-parse.y"
{
shadow_tag_warned
(
yyvsp
[
-
1
].
ttype
,
1
);
{
shadow_tag_warned
(
yyvsp
[
-
1
].
ttype
,
1
);
pedwarn
(
"empty declaration"
);
;
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
122
:
case
122
:
#line 89
2
"objc-parse.y"
#line 89
1
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
123
:
case
123
:
#line 90
1
"objc-parse.y"
#line 90
0
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
128
:
case
128
:
#line 91
6
"objc-parse.y"
#line 91
5
"objc-parse.y"
{
yyval
.
itype
=
suspend_momentary
();
{
yyval
.
itype
=
suspend_momentary
();
pending_xref_error
();
pending_xref_error
();
declspec_stack
=
tree_cons
(
prefix_attributes
,
declspec_stack
=
tree_cons
(
prefix_attributes
,
...
@@ -2890,131 +2889,131 @@ case 128:
...
@@ -2890,131 +2889,131 @@ case 128:
&
current_declspecs
,
&
prefix_attributes
);
;
&
current_declspecs
,
&
prefix_attributes
);
;
break
;}
break
;}
case
129
:
case
129
:
#line 92
7
"objc-parse.y"
#line 92
6
"objc-parse.y"
{
prefix_attributes
=
chainon
(
prefix_attributes
,
yyvsp
[
0
].
ttype
);
;
{
prefix_attributes
=
chainon
(
prefix_attributes
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
130
:
case
130
:
#line 93
2
"objc-parse.y"
#line 93
1
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
131
:
case
131
:
#line 93
7
"objc-parse.y"
#line 93
6
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
132
:
case
132
:
#line 94
2
"objc-parse.y"
#line 94
1
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
133
:
case
133
:
#line 94
7
"objc-parse.y"
#line 94
6
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
134
:
case
134
:
#line 95
2
"objc-parse.y"
#line 95
1
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
135
:
case
135
:
#line 95
4
"objc-parse.y"
#line 95
3
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
136
:
case
136
:
#line 95
6
"objc-parse.y"
#line 95
5
"objc-parse.y"
{
pedantic
=
yyvsp
[
-
1
].
itype
;
;
{
pedantic
=
yyvsp
[
-
1
].
itype
;
;
break
;}
break
;}
case
137
:
case
137
:
#line 96
6
"objc-parse.y"
#line 96
5
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
138
:
case
138
:
#line 96
8
"objc-parse.y"
#line 96
7
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
break
;}
break
;}
case
139
:
case
139
:
#line 97
2
"objc-parse.y"
#line 97
1
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
140
:
case
140
:
#line 97
4
"objc-parse.y"
#line 97
3
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
141
:
case
141
:
#line 97
6
"objc-parse.y"
#line 97
5
"objc-parse.y"
{
if
(
extra_warnings
)
{
if
(
extra_warnings
)
warning
(
"`%s' is not at beginning of declaration"
,
warning
(
"`%s' is not at beginning of declaration"
,
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
142
:
case
142
:
#line 98
1
"objc-parse.y"
#line 98
0
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
143
:
case
143
:
#line 98
6
"objc-parse.y"
#line 98
5
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
144
:
case
144
:
#line 98
8
"objc-parse.y"
#line 98
7
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
break
;}
break
;}
case
145
:
case
145
:
#line 99
3
"objc-parse.y"
#line 99
2
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
146
:
case
146
:
#line 99
5
"objc-parse.y"
#line 99
4
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
147
:
case
147
:
#line 99
7
"objc-parse.y"
#line 99
6
"objc-parse.y"
{
if
(
extra_warnings
)
{
if
(
extra_warnings
)
warning
(
"`%s' is not at beginning of declaration"
,
warning
(
"`%s' is not at beginning of declaration"
,
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
148
:
case
148
:
#line 10
10
"objc-parse.y"
#line 10
09
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
149
:
case
149
:
#line 101
2
"objc-parse.y"
#line 101
1
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
NULL_TREE
);
;
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
NULL_TREE
);
;
break
;}
break
;}
case
150
:
case
150
:
#line 101
4
"objc-parse.y"
#line 101
3
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
151
:
case
151
:
#line 101
6
"objc-parse.y"
#line 101
5
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
yyvsp
[
0
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
152
:
case
152
:
#line 102
1
"objc-parse.y"
#line 102
0
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
TREE_STATIC
(
yyval
.
ttype
)
=
1
;
;
TREE_STATIC
(
yyval
.
ttype
)
=
1
;
;
break
;}
break
;}
case
153
:
case
153
:
#line 102
4
"objc-parse.y"
#line 102
3
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
154
:
case
154
:
#line 102
6
"objc-parse.y"
#line 102
5
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
TREE_STATIC
(
yyval
.
ttype
)
=
1
;
;
TREE_STATIC
(
yyval
.
ttype
)
=
1
;
;
break
;}
break
;}
case
155
:
case
155
:
#line 102
9
"objc-parse.y"
#line 102
8
"objc-parse.y"
{
if
(
extra_warnings
&&
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
))
{
if
(
extra_warnings
&&
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
))
warning
(
"`%s' is not at beginning of declaration"
,
warning
(
"`%s' is not at beginning of declaration"
,
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
IDENTIFIER_POINTER
(
yyvsp
[
0
].
ttype
));
...
@@ -3022,150 +3021,150 @@ case 155:
...
@@ -3022,150 +3021,150 @@ case 155:
TREE_STATIC
(
yyval
.
ttype
)
=
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
);
;
TREE_STATIC
(
yyval
.
ttype
)
=
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
156
:
case
156
:
#line 104
3
"objc-parse.y"
#line 104
2
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
157
:
case
157
:
#line 104
5
"objc-parse.y"
#line 104
4
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
2
].
ttype
));
;
break
;}
break
;}
case
158
:
case
158
:
#line 104
9
"objc-parse.y"
#line 104
8
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
159
:
case
159
:
#line 105
1
"objc-parse.y"
#line 105
0
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
162
:
case
162
:
#line 106
1
"objc-parse.y"
#line 106
0
"objc-parse.y"
{
/* For a typedef name, record the meaning, not the name.
{
/* For a typedef name, record the meaning, not the name.
In case of `foo foo, bar;'. */
In case of `foo foo, bar;'. */
yyval
.
ttype
=
lookup_name
(
yyvsp
[
0
].
ttype
);
;
yyval
.
ttype
=
lookup_name
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
163
:
case
163
:
#line 106
5
"objc-parse.y"
#line 106
4
"objc-parse.y"
{
yyval
.
ttype
=
get_static_reference
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
get_static_reference
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
164
:
case
164
:
#line 106
7
"objc-parse.y"
#line 106
6
"objc-parse.y"
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
165
:
case
165
:
#line 107
2
"objc-parse.y"
#line 107
1
"objc-parse.y"
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
166
:
case
166
:
#line 107
4
"objc-parse.y"
#line 107
3
"objc-parse.y"
{
yyval
.
ttype
=
TREE_TYPE
(
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
TREE_TYPE
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
167
:
case
167
:
#line 107
6
"objc-parse.y"
#line 107
5
"objc-parse.y"
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
175
:
case
175
:
#line 109
8
"objc-parse.y"
#line 109
7
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
176
:
case
176
:
#line 1
100
"objc-parse.y"
#line 1
099
"objc-parse.y"
{
if
(
TREE_CHAIN
(
yyvsp
[
-
1
].
ttype
))
yyvsp
[
-
1
].
ttype
=
combine_strings
(
yyvsp
[
-
1
].
ttype
);
{
if
(
TREE_CHAIN
(
yyvsp
[
-
1
].
ttype
))
yyvsp
[
-
1
].
ttype
=
combine_strings
(
yyvsp
[
-
1
].
ttype
);
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
;
break
;}
break
;}
case
177
:
case
177
:
#line 110
7
"objc-parse.y"
#line 110
6
"objc-parse.y"
{
yyval
.
ttype
=
start_decl
(
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
1
,
{
yyval
.
ttype
=
start_decl
(
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
1
,
yyvsp
[
-
1
].
ttype
,
prefix_attributes
);
yyvsp
[
-
1
].
ttype
,
prefix_attributes
);
start_init
(
yyval
.
ttype
,
yyvsp
[
-
2
].
ttype
,
global_bindings_p
());
;
start_init
(
yyval
.
ttype
,
yyvsp
[
-
2
].
ttype
,
global_bindings_p
());
;
break
;}
break
;}
case
178
:
case
178
:
#line 111
2
"objc-parse.y"
#line 111
1
"objc-parse.y"
{
finish_init
();
{
finish_init
();
finish_decl
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
4
].
ttype
);
;
finish_decl
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
4
].
ttype
);
;
break
;}
break
;}
case
179
:
case
179
:
#line 111
5
"objc-parse.y"
#line 111
4
"objc-parse.y"
{
tree
d
=
start_decl
(
yyvsp
[
-
2
].
ttype
,
current_declspecs
,
0
,
{
tree
d
=
start_decl
(
yyvsp
[
-
2
].
ttype
,
current_declspecs
,
0
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
yyvsp
[
0
].
ttype
,
prefix_attributes
);
finish_decl
(
d
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
finish_decl
(
d
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
180
:
case
180
:
#line 112
3
"objc-parse.y"
#line 112
2
"objc-parse.y"
{
yyval
.
ttype
=
start_decl
(
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
1
,
{
yyval
.
ttype
=
start_decl
(
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
1
,
yyvsp
[
-
1
].
ttype
,
prefix_attributes
);
yyvsp
[
-
1
].
ttype
,
prefix_attributes
);
start_init
(
yyval
.
ttype
,
yyvsp
[
-
2
].
ttype
,
global_bindings_p
());
;
start_init
(
yyval
.
ttype
,
yyvsp
[
-
2
].
ttype
,
global_bindings_p
());
;
break
;}
break
;}
case
181
:
case
181
:
#line 112
8
"objc-parse.y"
#line 112
7
"objc-parse.y"
{
finish_init
();
{
finish_init
();
decl_attributes
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
3
].
ttype
,
prefix_attributes
);
decl_attributes
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
-
3
].
ttype
,
prefix_attributes
);
finish_decl
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
4
].
ttype
);
;
finish_decl
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
4
].
ttype
);
;
break
;}
break
;}
case
182
:
case
182
:
#line 113
2
"objc-parse.y"
#line 113
1
"objc-parse.y"
{
tree
d
=
start_decl
(
yyvsp
[
-
2
].
ttype
,
current_declspecs
,
0
,
{
tree
d
=
start_decl
(
yyvsp
[
-
2
].
ttype
,
current_declspecs
,
0
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
yyvsp
[
0
].
ttype
,
prefix_attributes
);
finish_decl
(
d
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
finish_decl
(
d
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
183
:
case
183
:
#line 11
40
"objc-parse.y"
#line 11
39
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
184
:
case
184
:
#line 114
2
"objc-parse.y"
#line 114
1
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
185
:
case
185
:
#line 114
7
"objc-parse.y"
#line 114
6
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
186
:
case
186
:
#line 114
9
"objc-parse.y"
#line 114
8
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
187
:
case
187
:
#line 115
4
"objc-parse.y"
#line 115
3
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
;
break
;}
break
;}
case
188
:
case
188
:
#line 115
9
"objc-parse.y"
#line 115
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
189
:
case
189
:
#line 116
1
"objc-parse.y"
#line 116
0
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
190
:
case
190
:
#line 116
6
"objc-parse.y"
#line 116
5
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
191
:
case
191
:
#line 116
8
"objc-parse.y"
#line 116
7
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
192
:
case
192
:
#line 11
70
"objc-parse.y"
#line 11
69
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
));
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
193
:
case
193
:
#line 117
2
"objc-parse.y"
#line 117
1
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
5
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
));
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
5
].
ttype
,
tree_cons
(
NULL_TREE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
194
:
case
194
:
#line 117
4
"objc-parse.y"
#line 117
3
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
200
:
case
200
:
#line 119
2
"objc-parse.y"
#line 119
1
"objc-parse.y"
{
really_start_incremental_init
(
NULL_TREE
);
{
really_start_incremental_init
(
NULL_TREE
);
/* Note that the call to clear_momentary
/* Note that the call to clear_momentary
is in process_init_element. */
is in process_init_element. */
push_momentary
();
;
push_momentary
();
;
break
;}
break
;}
case
201
:
case
201
:
#line 119
7
"objc-parse.y"
#line 119
6
"objc-parse.y"
{
yyval
.
ttype
=
pop_init_level
(
0
);
{
yyval
.
ttype
=
pop_init_level
(
0
);
if
(
yyval
.
ttype
==
error_mark_node
if
(
yyval
.
ttype
==
error_mark_node
&&
!
(
yychar
==
STRING
||
yychar
==
CONSTANT
))
&&
!
(
yychar
==
STRING
||
yychar
==
CONSTANT
))
...
@@ -3174,36 +3173,36 @@ case 201:
...
@@ -3174,36 +3173,36 @@ case 201:
pop_momentary_nofree
();
;
pop_momentary_nofree
();
;
break
;}
break
;}
case
202
:
case
202
:
#line 120
5
"objc-parse.y"
#line 120
4
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
203
:
case
203
:
#line 121
1
"objc-parse.y"
#line 121
0
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids empty initializer braces"
);
;
pedwarn
(
"ANSI C forbids empty initializer braces"
);
;
break
;}
break
;}
case
207
:
case
207
:
#line 122
5
"objc-parse.y"
#line 122
4
"objc-parse.y"
{
process_init_element
(
yyvsp
[
0
].
ttype
);
;
{
process_init_element
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
208
:
case
208
:
#line 122
7
"objc-parse.y"
#line 122
6
"objc-parse.y"
{
push_init_level
(
0
);
;
{
push_init_level
(
0
);
;
break
;}
break
;}
case
209
:
case
209
:
#line 122
9
"objc-parse.y"
#line 122
8
"objc-parse.y"
{
process_init_element
(
pop_init_level
(
0
));
;
{
process_init_element
(
pop_init_level
(
0
));
;
break
;}
break
;}
case
211
:
case
211
:
#line 123
5
"objc-parse.y"
#line 123
4
"objc-parse.y"
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
213
:
case
213
:
#line 123
8
"objc-parse.y"
#line 123
7
"objc-parse.y"
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
215
:
case
215
:
#line 124
4
"objc-parse.y"
#line 124
3
"objc-parse.y"
{
push_c_function_context
();
{
push_c_function_context
();
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
,
1
))
prefix_attributes
,
NULL_TREE
,
1
))
...
@@ -3214,16 +3213,16 @@ case 215:
...
@@ -3214,16 +3213,16 @@ case 215:
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
216
:
case
216
:
#line 125
3
"objc-parse.y"
#line 125
2
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
217
:
case
217
:
#line 126
1
"objc-parse.y"
#line 126
0
"objc-parse.y"
{
finish_function
(
1
);
{
finish_function
(
1
);
pop_c_function_context
();
;
pop_c_function_context
();
;
break
;}
break
;}
case
218
:
case
218
:
#line 126
7
"objc-parse.y"
#line 126
6
"objc-parse.y"
{
push_c_function_context
();
{
push_c_function_context
();
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
,
1
))
prefix_attributes
,
NULL_TREE
,
1
))
...
@@ -3234,172 +3233,172 @@ case 218:
...
@@ -3234,172 +3233,172 @@ case 218:
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
219
:
case
219
:
#line 127
6
"objc-parse.y"
#line 127
5
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
220
:
case
220
:
#line 128
4
"objc-parse.y"
#line 128
3
"objc-parse.y"
{
finish_function
(
1
);
{
finish_function
(
1
);
pop_c_function_context
();
;
pop_c_function_context
();
;
break
;}
break
;}
case
223
:
case
223
:
#line 1
300
"objc-parse.y"
#line 1
299
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
224
:
case
224
:
#line 130
2
"objc-parse.y"
#line 130
1
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
225
:
case
225
:
#line 130
7
"objc-parse.y"
#line 130
6
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
226
:
case
226
:
#line 130
9
"objc-parse.y"
#line 130
8
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
227
:
case
227
:
#line 131
1
"objc-parse.y"
#line 131
0
"objc-parse.y"
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
228
:
case
228
:
#line 131
8
"objc-parse.y"
#line 131
7
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
231
:
case
231
:
#line 13
30
"objc-parse.y"
#line 13
29
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
232
:
case
232
:
#line 133
5
"objc-parse.y"
#line 133
4
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
233
:
case
233
:
#line 133
7
"objc-parse.y"
#line 133
6
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
234
:
case
234
:
#line 133
9
"objc-parse.y"
#line 133
8
"objc-parse.y"
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
235
:
case
235
:
#line 134
6
"objc-parse.y"
#line 134
5
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
237
:
case
237
:
#line 135
5
"objc-parse.y"
#line 135
4
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
238
:
case
238
:
#line 13
60
"objc-parse.y"
#line 13
59
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
239
:
case
239
:
#line 136
2
"objc-parse.y"
#line 136
1
"objc-parse.y"
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
240
:
case
240
:
#line 136
4
"objc-parse.y"
#line 136
3
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
241
:
case
241
:
#line 136
6
"objc-parse.y"
#line 136
5
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
242
:
case
242
:
#line 137
3
"objc-parse.y"
#line 137
2
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
244
:
case
244
:
#line 137
9
"objc-parse.y"
#line 137
8
"objc-parse.y"
{
yyval
.
ttype
=
start_struct
(
RECORD_TYPE
,
yyvsp
[
-
1
].
ttype
);
{
yyval
.
ttype
=
start_struct
(
RECORD_TYPE
,
yyvsp
[
-
1
].
ttype
);
/* Start scope of tag before parsing components. */
/* Start scope of tag before parsing components. */
;
;
break
;}
break
;}
case
245
:
case
245
:
#line 138
3
"objc-parse.y"
#line 138
2
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
246
:
case
246
:
#line 138
5
"objc-parse.y"
#line 138
4
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
start_struct
(
RECORD_TYPE
,
NULL_TREE
),
{
yyval
.
ttype
=
finish_struct
(
start_struct
(
RECORD_TYPE
,
NULL_TREE
),
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
247
:
case
247
:
#line 138
9
"objc-parse.y"
#line 138
8
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
RECORD_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
RECORD_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
248
:
case
248
:
#line 139
1
"objc-parse.y"
#line 139
0
"objc-parse.y"
{
yyval
.
ttype
=
start_struct
(
UNION_TYPE
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
start_struct
(
UNION_TYPE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
249
:
case
249
:
#line 139
3
"objc-parse.y"
#line 139
2
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
250
:
case
250
:
#line 139
5
"objc-parse.y"
#line 139
4
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
start_struct
(
UNION_TYPE
,
NULL_TREE
),
{
yyval
.
ttype
=
finish_struct
(
start_struct
(
UNION_TYPE
,
NULL_TREE
),
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
251
:
case
251
:
#line 139
9
"objc-parse.y"
#line 139
8
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
UNION_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
UNION_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
252
:
case
252
:
#line 140
1
"objc-parse.y"
#line 140
0
"objc-parse.y"
{
yyvsp
[
0
].
itype
=
suspend_momentary
();
{
yyvsp
[
0
].
itype
=
suspend_momentary
();
yyval
.
ttype
=
start_enum
(
yyvsp
[
-
1
].
ttype
);
;
yyval
.
ttype
=
start_enum
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
253
:
case
253
:
#line 140
4
"objc-parse.y"
#line 140
3
"objc-parse.y"
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
yyvsp
[
0
].
ttype
);
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
break
;}
break
;}
case
254
:
case
254
:
#line 140
7
"objc-parse.y"
#line 140
6
"objc-parse.y"
{
yyvsp
[
0
].
itype
=
suspend_momentary
();
{
yyvsp
[
0
].
itype
=
suspend_momentary
();
yyval
.
ttype
=
start_enum
(
NULL_TREE
);
;
yyval
.
ttype
=
start_enum
(
NULL_TREE
);
;
break
;}
break
;}
case
255
:
case
255
:
#line 14
10
"objc-parse.y"
#line 14
09
"objc-parse.y"
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
yyvsp
[
0
].
ttype
);
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
resume_momentary
(
yyvsp
[
-
5
].
itype
);
;
break
;}
break
;}
case
256
:
case
256
:
#line 141
3
"objc-parse.y"
#line 141
2
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
ENUMERAL_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
ENUMERAL_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
260
:
case
260
:
#line 142
4
"objc-parse.y"
#line 142
3
"objc-parse.y"
{
if
(
pedantic
)
pedwarn
(
"comma at end of enumerator list"
);
;
{
if
(
pedantic
)
pedwarn
(
"comma at end of enumerator list"
);
;
break
;}
break
;}
case
261
:
case
261
:
#line 142
9
"objc-parse.y"
#line 142
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
262
:
case
262
:
#line 143
1
"objc-parse.y"
#line 143
0
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
pedwarn
(
"no semicolon at end of struct or union"
);
;
pedwarn
(
"no semicolon at end of struct or union"
);
;
break
;}
break
;}
case
263
:
case
263
:
#line 143
6
"objc-parse.y"
#line 143
5
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
264
:
case
264
:
#line 143
8
"objc-parse.y"
#line 143
7
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
265
:
case
265
:
#line 14
40
"objc-parse.y"
#line 14
39
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"extra semicolon in struct or union specified"
);
;
pedwarn
(
"extra semicolon in struct or union specified"
);
;
break
;}
break
;}
case
266
:
case
266
:
#line 144
4
"objc-parse.y"
#line 144
3
"objc-parse.y"
{
{
tree
interface
=
lookup_interface
(
yyvsp
[
-
1
].
ttype
);
tree
interface
=
lookup_interface
(
yyvsp
[
-
1
].
ttype
);
...
@@ -3414,7 +3413,7 @@ case 266:
...
@@ -3414,7 +3413,7 @@ case 266:
;
;
break
;}
break
;}
case
267
:
case
267
:
#line 146
9
"objc-parse.y"
#line 146
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -3422,14 +3421,14 @@ case 267:
...
@@ -3422,14 +3421,14 @@ case 267:
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
268
:
case
268
:
#line 147
5
"objc-parse.y"
#line 147
4
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids member declarations with no members"
);
pedwarn
(
"ANSI C forbids member declarations with no members"
);
shadow_tag
(
yyvsp
[
0
].
ttype
);
shadow_tag
(
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
NULL_TREE
;
;
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
269
:
case
269
:
#line 14
80
"objc-parse.y"
#line 14
79
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -3437,140 +3436,140 @@ case 269:
...
@@ -3437,140 +3436,140 @@ case 269:
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
270
:
case
270
:
#line 148
6
"objc-parse.y"
#line 148
5
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids member declarations with no members"
);
pedwarn
(
"ANSI C forbids member declarations with no members"
);
shadow_tag
(
yyvsp
[
0
].
ttype
);
shadow_tag
(
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
NULL_TREE
;
;
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
271
:
case
271
:
#line 149
1
"objc-parse.y"
#line 149
0
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
272
:
case
272
:
#line 149
3
"objc-parse.y"
#line 149
2
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
pedantic
=
yyvsp
[
-
1
].
itype
;
;
pedantic
=
yyvsp
[
-
1
].
itype
;
;
break
;}
break
;}
case
274
:
case
274
:
#line 1
500
"objc-parse.y"
#line 1
499
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
275
:
case
275
:
#line 150
5
"objc-parse.y"
#line 150
4
"objc-parse.y"
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
,
yyvsp
[
-
1
].
ttype
,
current_declspecs
,
NULL_TREE
);
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
,
yyvsp
[
-
1
].
ttype
,
current_declspecs
,
NULL_TREE
);
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
break
;}
break
;}
case
276
:
case
276
:
#line 150
9
"objc-parse.y"
#line 150
8
"objc-parse.y"
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
,
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
yyvsp
[
-
1
].
ttype
);
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
,
yyvsp
[
-
3
].
ttype
,
current_declspecs
,
yyvsp
[
-
1
].
ttype
);
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
break
;}
break
;}
case
277
:
case
277
:
#line 151
2
"objc-parse.y"
#line 151
1
"objc-parse.y"
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
,
NULL_TREE
,
current_declspecs
,
yyvsp
[
-
1
].
ttype
);
{
yyval
.
ttype
=
grokfield
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
,
NULL_TREE
,
current_declspecs
,
yyvsp
[
-
1
].
ttype
);
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
decl_attributes
(
yyval
.
ttype
,
yyvsp
[
0
].
ttype
,
prefix_attributes
);
;
break
;}
break
;}
case
279
:
case
279
:
#line 152
4
"objc-parse.y"
#line 152
3
"objc-parse.y"
{
if
(
yyvsp
[
-
2
].
ttype
==
error_mark_node
)
{
if
(
yyvsp
[
-
2
].
ttype
==
error_mark_node
)
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
else
else
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
2
].
ttype
);
;
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
2
].
ttype
);
;
break
;}
break
;}
case
280
:
case
280
:
#line 152
9
"objc-parse.y"
#line 152
8
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
281
:
case
281
:
#line 153
5
"objc-parse.y"
#line 153
4
"objc-parse.y"
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
282
:
case
282
:
#line 153
7
"objc-parse.y"
#line 153
6
"objc-parse.y"
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
283
:
case
283
:
#line 154
2
"objc-parse.y"
#line 154
1
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
284
:
case
284
:
#line 154
4
"objc-parse.y"
#line 154
3
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
285
:
case
285
:
#line 154
9
"objc-parse.y"
#line 154
8
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
287
:
case
287
:
#line 155
5
"objc-parse.y"
#line 155
4
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
288
:
case
288
:
#line 155
7
"objc-parse.y"
#line 155
6
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
289
:
case
289
:
#line 156
2
"objc-parse.y"
#line 156
1
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
290
:
case
290
:
#line 156
4
"objc-parse.y"
#line 156
3
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
291
:
case
291
:
#line 156
9
"objc-parse.y"
#line 156
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
292
:
case
292
:
#line 157
2
"objc-parse.y"
#line 157
1
"objc-parse.y"
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
293
:
case
293
:
#line 157
4
"objc-parse.y"
#line 157
3
"objc-parse.y"
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
make_pointer_declarator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
294
:
case
294
:
#line 157
6
"objc-parse.y"
#line 157
5
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
295
:
case
295
:
#line 157
8
"objc-parse.y"
#line 157
7
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
296
:
case
296
:
#line 15
80
"objc-parse.y"
#line 15
79
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
297
:
case
297
:
#line 158
2
"objc-parse.y"
#line 158
1
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
CALL_EXPR
,
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
298
:
case
298
:
#line 158
4
"objc-parse.y"
#line 158
3
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
299
:
case
299
:
#line 158
6
"objc-parse.y"
#line 158
5
"objc-parse.y"
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
NULL_TREE
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_nt
(
ARRAY_REF
,
NULL_TREE
,
NULL_TREE
);
;
break
;}
break
;}
case
300
:
case
300
:
#line 159
7
"objc-parse.y"
#line 159
6
"objc-parse.y"
{
{
if
(
pedantic
&&
yyvsp
[
0
].
ends_in_label
)
if
(
pedantic
&&
yyvsp
[
0
].
ends_in_label
)
pedwarn
(
"ANSI C forbids label at end of compound statement"
);
pedwarn
(
"ANSI C forbids label at end of compound statement"
);
;
;
break
;}
break
;}
case
302
:
case
302
:
#line 160
6
"objc-parse.y"
#line 160
5
"objc-parse.y"
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
break
;}
break
;}
case
303
:
case
303
:
#line 160
8
"objc-parse.y"
#line 160
7
"objc-parse.y"
{
yyval
.
ends_in_label
=
0
;
;
{
yyval
.
ends_in_label
=
0
;
;
break
;}
break
;}
case
307
:
case
307
:
#line 16
20
"objc-parse.y"
#line 16
19
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
pushlevel
(
0
);
pushlevel
(
0
);
clear_last_expr
();
clear_last_expr
();
...
@@ -3581,12 +3580,12 @@ case 307:
...
@@ -3581,12 +3580,12 @@ case 307:
;
;
break
;}
break
;}
case
309
:
case
309
:
#line 163
5
"objc-parse.y"
#line 163
4
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids label declarations"
);
;
pedwarn
(
"ANSI C forbids label declarations"
);
;
break
;}
break
;}
case
312
:
case
312
:
#line 164
6
"objc-parse.y"
#line 164
5
"objc-parse.y"
{
tree
link
;
{
tree
link
;
for
(
link
=
yyvsp
[
-
1
].
ttype
;
link
;
link
=
TREE_CHAIN
(
link
))
for
(
link
=
yyvsp
[
-
1
].
ttype
;
link
;
link
=
TREE_CHAIN
(
link
))
{
{
...
@@ -3597,19 +3596,19 @@ case 312:
...
@@ -3597,19 +3596,19 @@ case 312:
;
;
break
;}
break
;}
case
313
:
case
313
:
#line 16
60
"objc-parse.y"
#line 16
59
"objc-parse.y"
{;
{;
break
;}
break
;}
case
315
:
case
315
:
#line 166
4
"objc-parse.y"
#line 166
3
"objc-parse.y"
{
compstmt_count
++
;
;
{
compstmt_count
++
;
;
break
;}
break
;}
case
316
:
case
316
:
#line 166
7
"objc-parse.y"
#line 166
6
"objc-parse.y"
{
yyval
.
ttype
=
convert
(
void_type_node
,
integer_zero_node
);
;
{
yyval
.
ttype
=
convert
(
void_type_node
,
integer_zero_node
);
;
break
;}
break
;}
case
317
:
case
317
:
#line 166
9
"objc-parse.y"
#line 166
8
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
expand_end_bindings
(
getdecls
(),
1
,
0
);
expand_end_bindings
(
getdecls
(),
1
,
0
);
yyval
.
ttype
=
poplevel
(
1
,
1
,
0
);
yyval
.
ttype
=
poplevel
(
1
,
1
,
0
);
...
@@ -3619,7 +3618,7 @@ case 317:
...
@@ -3619,7 +3618,7 @@ case 317:
pop_momentary
();
;
pop_momentary
();
;
break
;}
break
;}
case
318
:
case
318
:
#line 167
7
"objc-parse.y"
#line 167
6
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
expand_end_bindings
(
getdecls
(),
kept_level_p
(),
0
);
expand_end_bindings
(
getdecls
(),
kept_level_p
(),
0
);
yyval
.
ttype
=
poplevel
(
kept_level_p
(),
0
,
0
);
yyval
.
ttype
=
poplevel
(
kept_level_p
(),
0
,
0
);
...
@@ -3629,7 +3628,7 @@ case 318:
...
@@ -3629,7 +3628,7 @@ case 318:
pop_momentary
();
;
pop_momentary
();
;
break
;}
break
;}
case
319
:
case
319
:
#line 168
5
"objc-parse.y"
#line 168
4
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
expand_end_bindings
(
getdecls
(),
kept_level_p
(),
0
);
expand_end_bindings
(
getdecls
(),
kept_level_p
(),
0
);
yyval
.
ttype
=
poplevel
(
kept_level_p
(),
0
,
0
);
yyval
.
ttype
=
poplevel
(
kept_level_p
(),
0
,
0
);
...
@@ -3639,7 +3638,7 @@ case 319:
...
@@ -3639,7 +3638,7 @@ case 319:
pop_momentary
();
;
pop_momentary
();
;
break
;}
break
;}
case
322
:
case
322
:
#line 170
5
"objc-parse.y"
#line 170
4
"objc-parse.y"
{
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
{
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
c_expand_start_cond
(
truthvalue_conversion
(
yyvsp
[
-
1
].
ttype
),
0
,
c_expand_start_cond
(
truthvalue_conversion
(
yyvsp
[
-
1
].
ttype
),
0
,
compstmt_count
);
compstmt_count
);
...
@@ -3649,7 +3648,7 @@ case 322:
...
@@ -3649,7 +3648,7 @@ case 322:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
323
:
case
323
:
#line 171
9
"objc-parse.y"
#line 171
8
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
compstmt_count
++
;
compstmt_count
++
;
emit_line_note
(
yyvsp
[
-
2
].
filename
,
yyvsp
[
-
1
].
lineno
);
emit_line_note
(
yyvsp
[
-
2
].
filename
,
yyvsp
[
-
1
].
lineno
);
...
@@ -3659,43 +3658,43 @@ case 323:
...
@@ -3659,43 +3658,43 @@ case 323:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
324
:
case
324
:
#line 172
7
"objc-parse.y"
#line 172
6
"objc-parse.y"
{
expand_loop_continue_here
();
;
{
expand_loop_continue_here
();
;
break
;}
break
;}
case
325
:
case
325
:
#line 173
1
"objc-parse.y"
#line 173
0
"objc-parse.y"
{
yyval
.
filename
=
input_filename
;
;
{
yyval
.
filename
=
input_filename
;
;
break
;}
break
;}
case
326
:
case
326
:
#line 173
5
"objc-parse.y"
#line 173
4
"objc-parse.y"
{
yyval
.
lineno
=
lineno
;
;
{
yyval
.
lineno
=
lineno
;
;
break
;}
break
;}
case
327
:
case
327
:
#line 17
40
"objc-parse.y"
#line 17
39
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
328
:
case
328
:
#line 174
5
"objc-parse.y"
#line 174
4
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
329
:
case
329
:
#line 17
50
"objc-parse.y"
#line 17
49
"objc-parse.y"
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
break
;}
break
;}
case
330
:
case
330
:
#line 175
5
"objc-parse.y"
#line 175
4
"objc-parse.y"
{
yyval
.
ends_in_label
=
0
;
;
{
yyval
.
ends_in_label
=
0
;
;
break
;}
break
;}
case
331
:
case
331
:
#line 175
7
"objc-parse.y"
#line 175
6
"objc-parse.y"
{
yyval
.
ends_in_label
=
1
;
;
{
yyval
.
ends_in_label
=
1
;
;
break
;}
break
;}
case
332
:
case
332
:
#line 176
3
"objc-parse.y"
#line 176
2
"objc-parse.y"
{
stmt_count
++
;
;
{
stmt_count
++
;
;
break
;}
break
;}
case
334
:
case
334
:
#line 176
6
"objc-parse.y"
#line 176
5
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
/* It appears that this should not be done--that a non-lvalue array
/* It appears that this should not be done--that a non-lvalue array
...
@@ -3714,19 +3713,19 @@ case 334:
...
@@ -3714,19 +3713,19 @@ case 334:
clear_momentary
();
;
clear_momentary
();
;
break
;}
break
;}
case
335
:
case
335
:
#line 178
3
"objc-parse.y"
#line 178
2
"objc-parse.y"
{
c_expand_start_else
();
{
c_expand_start_else
();
yyvsp
[
-
1
].
itype
=
stmt_count
;
yyvsp
[
-
1
].
itype
=
stmt_count
;
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
336
:
case
336
:
#line 178
7
"objc-parse.y"
#line 178
6
"objc-parse.y"
{
c_expand_end_cond
();
{
c_expand_end_cond
();
if
(
extra_warnings
&&
stmt_count
==
yyvsp
[
-
3
].
itype
)
if
(
extra_warnings
&&
stmt_count
==
yyvsp
[
-
3
].
itype
)
warning
(
"empty body in an else-statement"
);
;
warning
(
"empty body in an else-statement"
);
;
break
;}
break
;}
case
337
:
case
337
:
#line 179
1
"objc-parse.y"
#line 179
0
"objc-parse.y"
{
c_expand_end_cond
();
{
c_expand_end_cond
();
/* This warning is here instead of in simple_if, because we
/* This warning is here instead of in simple_if, because we
do not want a warning if an empty if is followed by an
do not want a warning if an empty if is followed by an
...
@@ -3737,11 +3736,11 @@ case 337:
...
@@ -3737,11 +3736,11 @@ case 337:
"empty body in an if-statement"
);
;
"empty body in an if-statement"
);
;
break
;}
break
;}
case
338
:
case
338
:
#line 180
3
"objc-parse.y"
#line 180
2
"objc-parse.y"
{
c_expand_end_cond
();
;
{
c_expand_end_cond
();
;
break
;}
break
;}
case
339
:
case
339
:
#line 180
5
"objc-parse.y"
#line 180
4
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
2
].
filename
,
yyvsp
[
-
1
].
lineno
);
emit_line_note
(
yyvsp
[
-
2
].
filename
,
yyvsp
[
-
1
].
lineno
);
/* The emit_nop used to come before emit_line_note,
/* The emit_nop used to come before emit_line_note,
...
@@ -3753,7 +3752,7 @@ case 339:
...
@@ -3753,7 +3752,7 @@ case 339:
emit_nop
();
;
emit_nop
();
;
break
;}
break
;}
case
340
:
case
340
:
#line 181
5
"objc-parse.y"
#line 181
4
"objc-parse.y"
{
/* Don't start the loop till we have succeeded
{
/* Don't start the loop till we have succeeded
in parsing the end test. This is to make sure
in parsing the end test. This is to make sure
that we end every loop we start. */
that we end every loop we start. */
...
@@ -3764,11 +3763,11 @@ case 340:
...
@@ -3764,11 +3763,11 @@ case 340:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
341
:
case
341
:
#line 182
4
"objc-parse.y"
#line 182
3
"objc-parse.y"
{
expand_end_loop
();
;
{
expand_end_loop
();
;
break
;}
break
;}
case
342
:
case
342
:
#line 182
7
"objc-parse.y"
#line 182
6
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
expand_exit_loop_if_false
(
NULL_PTR
,
expand_exit_loop_if_false
(
NULL_PTR
,
truthvalue_conversion
(
yyvsp
[
-
2
].
ttype
));
truthvalue_conversion
(
yyvsp
[
-
2
].
ttype
));
...
@@ -3776,12 +3775,12 @@ case 342:
...
@@ -3776,12 +3775,12 @@ case 342:
clear_momentary
();
;
clear_momentary
();
;
break
;}
break
;}
case
343
:
case
343
:
#line 183
4
"objc-parse.y"
#line 183
3
"objc-parse.y"
{
expand_end_loop
();
{
expand_end_loop
();
clear_momentary
();
;
clear_momentary
();
;
break
;}
break
;}
case
344
:
case
344
:
#line 183
8
"objc-parse.y"
#line 183
7
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
/* See comment in `while' alternative, above. */
/* See comment in `while' alternative, above. */
...
@@ -3794,12 +3793,12 @@ case 344:
...
@@ -3794,12 +3793,12 @@ case 344:
;
;
break
;}
break
;}
case
345
:
case
345
:
#line 18
50
"objc-parse.y"
#line 18
49
"objc-parse.y"
{
yyvsp
[
0
].
lineno
=
lineno
;
{
yyvsp
[
0
].
lineno
=
lineno
;
yyval
.
filename
=
input_filename
;
;
yyval
.
filename
=
input_filename
;
;
break
;}
break
;}
case
346
:
case
346
:
#line 185
3
"objc-parse.y"
#line 185
2
"objc-parse.y"
{
{
/* Start the loop. Doing this after parsing
/* Start the loop. Doing this after parsing
all the expressions ensures we will end the loop. */
all the expressions ensures we will end the loop. */
...
@@ -3817,7 +3816,7 @@ case 346:
...
@@ -3817,7 +3816,7 @@ case 346:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
347
:
case
347
:
#line 186
9
"objc-parse.y"
#line 186
8
"objc-parse.y"
{
/* Emit the increment expression, with a line number. */
{
/* Emit the increment expression, with a line number. */
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
5
].
lineno
);
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
5
].
lineno
);
expand_loop_continue_here
();
expand_loop_continue_here
();
...
@@ -3830,7 +3829,7 @@ case 347:
...
@@ -3830,7 +3829,7 @@ case 347:
expand_end_loop
();
;
expand_end_loop
();
;
break
;}
break
;}
case
348
:
case
348
:
#line 18
80
"objc-parse.y"
#line 18
79
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
emit_line_note
(
yyvsp
[
-
5
].
filename
,
yyvsp
[
-
4
].
lineno
);
c_expand_start_case
(
yyvsp
[
-
1
].
ttype
);
c_expand_start_case
(
yyvsp
[
-
1
].
ttype
);
...
@@ -3840,7 +3839,7 @@ case 348:
...
@@ -3840,7 +3839,7 @@ case 348:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
349
:
case
349
:
#line 188
8
"objc-parse.y"
#line 188
7
"objc-parse.y"
{
expand_end_case
(
yyvsp
[
-
3
].
ttype
);
{
expand_end_case
(
yyvsp
[
-
3
].
ttype
);
if
(
yychar
==
CONSTANT
||
yychar
==
STRING
)
if
(
yychar
==
CONSTANT
||
yychar
==
STRING
)
pop_momentary_nofree
();
pop_momentary_nofree
();
...
@@ -3848,33 +3847,33 @@ case 349:
...
@@ -3848,33 +3847,33 @@ case 349:
pop_momentary
();
;
pop_momentary
();
;
break
;}
break
;}
case
350
:
case
350
:
#line 189
4
"objc-parse.y"
#line 189
3
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
if
(
!
expand_exit_something
())
if
(
!
expand_exit_something
())
error
(
"break statement not within loop or switch"
);
;
error
(
"break statement not within loop or switch"
);
;
break
;}
break
;}
case
351
:
case
351
:
#line 189
9
"objc-parse.y"
#line 189
8
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
if
(
!
expand_continue_loop
(
NULL_PTR
))
if
(
!
expand_continue_loop
(
NULL_PTR
))
error
(
"continue statement not within a loop"
);
;
error
(
"continue statement not within a loop"
);
;
break
;}
break
;}
case
352
:
case
352
:
#line 190
4
"objc-parse.y"
#line 190
3
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
emit_line_note
(
yyvsp
[
-
3
].
filename
,
yyvsp
[
-
2
].
lineno
);
c_expand_return
(
NULL_TREE
);
;
c_expand_return
(
NULL_TREE
);
;
break
;}
break
;}
case
353
:
case
353
:
#line 190
8
"objc-parse.y"
#line 190
7
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
);
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
);
c_expand_return
(
yyvsp
[
-
1
].
ttype
);
;
c_expand_return
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
354
:
case
354
:
#line 191
2
"objc-parse.y"
#line 191
1
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
7
].
filename
,
yyvsp
[
-
6
].
lineno
);
emit_line_note
(
yyvsp
[
-
7
].
filename
,
yyvsp
[
-
6
].
lineno
);
STRIP_NOPS
(
yyvsp
[
-
2
].
ttype
);
STRIP_NOPS
(
yyvsp
[
-
2
].
ttype
);
...
@@ -3886,7 +3885,7 @@ case 354:
...
@@ -3886,7 +3885,7 @@ case 354:
error
(
"argument of `asm' is not a constant string"
);
;
error
(
"argument of `asm' is not a constant string"
);
;
break
;}
break
;}
case
355
:
case
355
:
#line 192
3
"objc-parse.y"
#line 192
2
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
9
].
filename
,
yyvsp
[
-
8
].
lineno
);
emit_line_note
(
yyvsp
[
-
9
].
filename
,
yyvsp
[
-
8
].
lineno
);
c_expand_asm_operands
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
NULL_TREE
,
c_expand_asm_operands
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
NULL_TREE
,
...
@@ -3894,7 +3893,7 @@ case 355:
...
@@ -3894,7 +3893,7 @@ case 355:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
356
:
case
356
:
#line 19
30
"objc-parse.y"
#line 19
29
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
11
].
filename
,
yyvsp
[
-
10
].
lineno
);
emit_line_note
(
yyvsp
[
-
11
].
filename
,
yyvsp
[
-
10
].
lineno
);
c_expand_asm_operands
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
c_expand_asm_operands
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
...
@@ -3902,7 +3901,7 @@ case 356:
...
@@ -3902,7 +3901,7 @@ case 356:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
357
:
case
357
:
#line 193
8
"objc-parse.y"
#line 193
7
"objc-parse.y"
{
stmt_count
++
;
{
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
13
].
filename
,
yyvsp
[
-
12
].
lineno
);
emit_line_note
(
yyvsp
[
-
13
].
filename
,
yyvsp
[
-
12
].
lineno
);
c_expand_asm_operands
(
yyvsp
[
-
8
].
ttype
,
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
c_expand_asm_operands
(
yyvsp
[
-
8
].
ttype
,
yyvsp
[
-
6
].
ttype
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
...
@@ -3910,7 +3909,7 @@ case 357:
...
@@ -3910,7 +3909,7 @@ case 357:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
358
:
case
358
:
#line 194
4
"objc-parse.y"
#line 194
3
"objc-parse.y"
{
tree
decl
;
{
tree
decl
;
stmt_count
++
;
stmt_count
++
;
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
);
emit_line_note
(
yyvsp
[
-
4
].
filename
,
yyvsp
[
-
3
].
lineno
);
...
@@ -3923,7 +3922,7 @@ case 358:
...
@@ -3923,7 +3922,7 @@ case 358:
;
;
break
;}
break
;}
case
359
:
case
359
:
#line 195
5
"objc-parse.y"
#line 195
4
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids `goto *expr;'"
);
pedwarn
(
"ANSI C forbids `goto *expr;'"
);
stmt_count
++
;
stmt_count
++
;
...
@@ -3931,7 +3930,7 @@ case 359:
...
@@ -3931,7 +3930,7 @@ case 359:
expand_computed_goto
(
convert
(
ptr_type_node
,
yyvsp
[
-
1
].
ttype
));
;
expand_computed_goto
(
convert
(
ptr_type_node
,
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
362
:
case
362
:
#line 19
70
"objc-parse.y"
#line 19
69
"objc-parse.y"
{
{
/* The value returned by this action is */
/* The value returned by this action is */
/* 1 if everything is OK */
/* 1 if everything is OK */
...
@@ -3954,14 +3953,14 @@ case 362:
...
@@ -3954,14 +3953,14 @@ case 362:
;
;
break
;}
break
;}
case
363
:
case
363
:
#line 199
1
"objc-parse.y"
#line 199
0
"objc-parse.y"
{
{
if
(
yyvsp
[
-
1
].
itype
)
if
(
yyvsp
[
-
1
].
itype
)
iterator_for_loop_end
(
yyvsp
[
-
3
].
ttype
);
iterator_for_loop_end
(
yyvsp
[
-
3
].
ttype
);
;
;
break
;}
break
;}
case
364
:
case
364
:
#line 202
6
"objc-parse.y"
#line 202
5
"objc-parse.y"
{
register
tree
value
=
check_case_value
(
yyvsp
[
-
1
].
ttype
);
{
register
tree
value
=
check_case_value
(
yyvsp
[
-
1
].
ttype
);
register
tree
label
register
tree
label
=
build_decl
(
LABEL_DECL
,
NULL_TREE
,
NULL_TREE
);
=
build_decl
(
LABEL_DECL
,
NULL_TREE
,
NULL_TREE
);
...
@@ -3988,7 +3987,7 @@ case 364:
...
@@ -3988,7 +3987,7 @@ case 364:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
365
:
case
365
:
#line 205
1
"objc-parse.y"
#line 205
0
"objc-parse.y"
{
register
tree
value1
=
check_case_value
(
yyvsp
[
-
3
].
ttype
);
{
register
tree
value1
=
check_case_value
(
yyvsp
[
-
3
].
ttype
);
register
tree
value2
=
check_case_value
(
yyvsp
[
-
1
].
ttype
);
register
tree
value2
=
check_case_value
(
yyvsp
[
-
1
].
ttype
);
register
tree
label
register
tree
label
...
@@ -4021,7 +4020,7 @@ case 365:
...
@@ -4021,7 +4020,7 @@ case 365:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
366
:
case
366
:
#line 208
2
"objc-parse.y"
#line 208
1
"objc-parse.y"
{
{
tree
duplicate
;
tree
duplicate
;
register
tree
label
register
tree
label
...
@@ -4038,7 +4037,7 @@ case 366:
...
@@ -4038,7 +4037,7 @@ case 366:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
367
:
case
367
:
#line 209
7
"objc-parse.y"
#line 209
6
"objc-parse.y"
{
tree
label
=
define_label
(
input_filename
,
lineno
,
yyvsp
[
-
1
].
ttype
);
{
tree
label
=
define_label
(
input_filename
,
lineno
,
yyvsp
[
-
1
].
ttype
);
stmt_count
++
;
stmt_count
++
;
emit_nop
();
emit_nop
();
...
@@ -4047,52 +4046,52 @@ case 367:
...
@@ -4047,52 +4046,52 @@ case 367:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
368
:
case
368
:
#line 210
9
"objc-parse.y"
#line 210
8
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
{
emit_line_note
(
input_filename
,
lineno
);
yyval
.
ttype
=
NULL_TREE
;
;
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
369
:
case
369
:
#line 211
2
"objc-parse.y"
#line 211
1
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
;
{
emit_line_note
(
input_filename
,
lineno
);
;
break
;}
break
;}
case
370
:
case
370
:
#line 211
7
"objc-parse.y"
#line 211
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
372
:
case
372
:
#line 212
4
"objc-parse.y"
#line 212
3
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
375
:
case
375
:
#line 213
1
"objc-parse.y"
#line 213
0
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
376
:
case
376
:
#line 213
6
"objc-parse.y"
#line 213
5
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
377
:
case
377
:
#line 214
1
"objc-parse.y"
#line 214
0
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
combine_strings
(
yyvsp
[
0
].
ttype
),
NULL_TREE
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
combine_strings
(
yyvsp
[
0
].
ttype
),
NULL_TREE
);
;
break
;}
break
;}
case
378
:
case
378
:
#line 214
3
"objc-parse.y"
#line 214
2
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
combine_strings
(
yyvsp
[
0
].
ttype
),
yyvsp
[
-
2
].
ttype
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
combine_strings
(
yyvsp
[
0
].
ttype
),
yyvsp
[
-
2
].
ttype
);
;
break
;}
break
;}
case
379
:
case
379
:
#line 214
9
"objc-parse.y"
#line 214
8
"objc-parse.y"
{
pushlevel
(
0
);
{
pushlevel
(
0
);
clear_parm_order
();
clear_parm_order
();
declare_parm_level
(
0
);
;
declare_parm_level
(
0
);
;
break
;}
break
;}
case
380
:
case
380
:
#line 215
3
"objc-parse.y"
#line 215
2
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
parmlist_tags_warning
();
parmlist_tags_warning
();
poplevel
(
0
,
0
,
0
);
;
poplevel
(
0
,
0
,
0
);
;
break
;}
break
;}
case
382
:
case
382
:
#line 216
1
"objc-parse.y"
#line 216
0
"objc-parse.y"
{
tree
parm
;
{
tree
parm
;
if
(
pedantic
)
if
(
pedantic
)
pedwarn
(
"ANSI C forbids forward parameter declarations"
);
pedwarn
(
"ANSI C forbids forward parameter declarations"
);
...
@@ -4102,19 +4101,19 @@ case 382:
...
@@ -4102,19 +4101,19 @@ case 382:
clear_parm_order
();
;
clear_parm_order
();
;
break
;}
break
;}
case
383
:
case
383
:
#line 216
9
"objc-parse.y"
#line 216
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
384
:
case
384
:
#line 217
1
"objc-parse.y"
#line 217
0
"objc-parse.y"
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
NULL_TREE
,
NULL_TREE
);
;
{
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
NULL_TREE
,
NULL_TREE
);
;
break
;}
break
;}
case
385
:
case
385
:
#line 217
7
"objc-parse.y"
#line 217
6
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
break
;}
break
;}
case
386
:
case
386
:
#line 217
9
"objc-parse.y"
#line 217
8
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
0
);
{
yyval
.
ttype
=
get_parm_info
(
0
);
/* Gcc used to allow this as an extension. However, it does
/* Gcc used to allow this as an extension. However, it does
not work for all targets, and thus has been disabled.
not work for all targets, and thus has been disabled.
...
@@ -4126,23 +4125,23 @@ case 386:
...
@@ -4126,23 +4125,23 @@ case 386:
;
;
break
;}
break
;}
case
387
:
case
387
:
#line 218
9
"objc-parse.y"
#line 218
8
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
1
);
;
{
yyval
.
ttype
=
get_parm_info
(
1
);
;
break
;}
break
;}
case
388
:
case
388
:
#line 219
1
"objc-parse.y"
#line 219
0
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
break
;}
break
;}
case
389
:
case
389
:
#line 219
6
"objc-parse.y"
#line 219
5
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
390
:
case
390
:
#line 219
8
"objc-parse.y"
#line 219
7
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
391
:
case
391
:
#line 220
5
"objc-parse.y"
#line 220
4
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
...
@@ -4153,7 +4152,7 @@ case 391:
...
@@ -4153,7 +4152,7 @@ case 391:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
392
:
case
392
:
#line 221
4
"objc-parse.y"
#line 221
3
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
...
@@ -4164,7 +4163,7 @@ case 392:
...
@@ -4164,7 +4163,7 @@ case 392:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
393
:
case
393
:
#line 222
3
"objc-parse.y"
#line 222
2
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
...
@@ -4175,7 +4174,7 @@ case 393:
...
@@ -4175,7 +4174,7 @@ case 393:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
394
:
case
394
:
#line 223
2
"objc-parse.y"
#line 223
1
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
...
@@ -4186,7 +4185,7 @@ case 394:
...
@@ -4186,7 +4185,7 @@ case 394:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
395
:
case
395
:
#line 224
2
"objc-parse.y"
#line 224
1
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
...
@@ -4197,19 +4196,19 @@ case 395:
...
@@ -4197,19 +4196,19 @@ case 395:
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
396
:
case
396
:
#line 225
6
"objc-parse.y"
#line 225
5
"objc-parse.y"
{
pushlevel
(
0
);
{
pushlevel
(
0
);
clear_parm_order
();
clear_parm_order
();
declare_parm_level
(
1
);
;
declare_parm_level
(
1
);
;
break
;}
break
;}
case
397
:
case
397
:
#line 22
60
"objc-parse.y"
#line 22
59
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
parmlist_tags_warning
();
parmlist_tags_warning
();
poplevel
(
0
,
0
,
0
);
;
poplevel
(
0
,
0
,
0
);
;
break
;}
break
;}
case
399
:
case
399
:
#line 226
8
"objc-parse.y"
#line 226
7
"objc-parse.y"
{
tree
t
;
{
tree
t
;
for
(
t
=
yyvsp
[
-
1
].
ttype
;
t
;
t
=
TREE_CHAIN
(
t
))
for
(
t
=
yyvsp
[
-
1
].
ttype
;
t
;
t
=
TREE_CHAIN
(
t
))
if
(
TREE_VALUE
(
t
)
==
NULL_TREE
)
if
(
TREE_VALUE
(
t
)
==
NULL_TREE
)
...
@@ -4217,28 +4216,28 @@ case 399:
...
@@ -4217,28 +4216,28 @@ case 399:
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
yyval
.
ttype
=
tree_cons
(
NULL_TREE
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
400
:
case
400
:
#line 227
8
"objc-parse.y"
#line 227
7
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
401
:
case
401
:
#line 22
80
"objc-parse.y"
#line 22
79
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
402
:
case
402
:
#line 228
6
"objc-parse.y"
#line 228
5
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
403
:
case
403
:
#line 228
8
"objc-parse.y"
#line 228
7
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
404
:
case
404
:
#line 229
3
"objc-parse.y"
#line 229
2
"objc-parse.y"
{
yyval
.
itype
=
pedantic
;
{
yyval
.
itype
=
pedantic
;
pedantic
=
0
;
;
pedantic
=
0
;
;
break
;}
break
;}
case
410
:
case
410
:
#line 230
6
"objc-parse.y"
#line 230
5
"objc-parse.y"
{
{
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
{
{
...
@@ -4251,27 +4250,27 @@ case 410:
...
@@ -4251,27 +4250,27 @@ case 410:
;
;
break
;}
break
;}
case
411
:
case
411
:
#line 232
1
"objc-parse.y"
#line 232
0
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
412
:
case
412
:
#line 232
3
"objc-parse.y"
#line 232
2
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
413
:
case
413
:
#line 232
8
"objc-parse.y"
#line 232
7
"objc-parse.y"
{
{
objc_declare_class
(
yyvsp
[
-
1
].
ttype
);
objc_declare_class
(
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
414
:
case
414
:
#line 233
4
"objc-parse.y"
#line 233
3
"objc-parse.y"
{
{
objc_declare_alias
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
objc_declare_alias
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
415
:
case
415
:
#line 23
40
"objc-parse.y"
#line 23
39
"objc-parse.y"
{
{
objc_interface_context
=
objc_ivar_context
objc_interface_context
=
objc_ivar_context
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
);
...
@@ -4279,20 +4278,20 @@ case 415:
...
@@ -4279,20 +4278,20 @@ case 415:
;
;
break
;}
break
;}
case
416
:
case
416
:
#line 234
6
"objc-parse.y"
#line 234
5
"objc-parse.y"
{
{
continue_class
(
objc_interface_context
);
continue_class
(
objc_interface_context
);
;
;
break
;}
break
;}
case
417
:
case
417
:
#line 235
1
"objc-parse.y"
#line 235
0
"objc-parse.y"
{
{
finish_class
(
objc_interface_context
);
finish_class
(
objc_interface_context
);
objc_interface_context
=
NULL_TREE
;
objc_interface_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
418
:
case
418
:
#line 235
7
"objc-parse.y"
#line 235
6
"objc-parse.y"
{
{
objc_interface_context
objc_interface_context
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
...
@@ -4300,14 +4299,14 @@ case 418:
...
@@ -4300,14 +4299,14 @@ case 418:
;
;
break
;}
break
;}
case
419
:
case
419
:
#line 236
4
"objc-parse.y"
#line 236
3
"objc-parse.y"
{
{
finish_class
(
objc_interface_context
);
finish_class
(
objc_interface_context
);
objc_interface_context
=
NULL_TREE
;
objc_interface_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
420
:
case
420
:
#line 23
70
"objc-parse.y"
#line 23
69
"objc-parse.y"
{
{
objc_interface_context
=
objc_ivar_context
objc_interface_context
=
objc_ivar_context
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
...
@@ -4315,20 +4314,20 @@ case 420:
...
@@ -4315,20 +4314,20 @@ case 420:
;
;
break
;}
break
;}
case
421
:
case
421
:
#line 237
6
"objc-parse.y"
#line 237
5
"objc-parse.y"
{
{
continue_class
(
objc_interface_context
);
continue_class
(
objc_interface_context
);
;
;
break
;}
break
;}
case
422
:
case
422
:
#line 238
1
"objc-parse.y"
#line 238
0
"objc-parse.y"
{
{
finish_class
(
objc_interface_context
);
finish_class
(
objc_interface_context
);
objc_interface_context
=
NULL_TREE
;
objc_interface_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
423
:
case
423
:
#line 238
7
"objc-parse.y"
#line 238
6
"objc-parse.y"
{
{
objc_interface_context
objc_interface_context
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
=
start_class
(
CLASS_INTERFACE_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
...
@@ -4336,14 +4335,14 @@ case 423:
...
@@ -4336,14 +4335,14 @@ case 423:
;
;
break
;}
break
;}
case
424
:
case
424
:
#line 239
4
"objc-parse.y"
#line 239
3
"objc-parse.y"
{
{
finish_class
(
objc_interface_context
);
finish_class
(
objc_interface_context
);
objc_interface_context
=
NULL_TREE
;
objc_interface_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
425
:
case
425
:
#line 2
400
"objc-parse.y"
#line 2
399
"objc-parse.y"
{
{
objc_implementation_context
=
objc_ivar_context
objc_implementation_context
=
objc_ivar_context
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
,
NULL_TREE
);
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
,
NULL_TREE
);
...
@@ -4351,14 +4350,14 @@ case 425:
...
@@ -4351,14 +4350,14 @@ case 425:
;
;
break
;}
break
;}
case
426
:
case
426
:
#line 240
6
"objc-parse.y"
#line 240
5
"objc-parse.y"
{
{
objc_ivar_chain
objc_ivar_chain
=
continue_class
(
objc_implementation_context
);
=
continue_class
(
objc_implementation_context
);
;
;
break
;}
break
;}
case
427
:
case
427
:
#line 241
2
"objc-parse.y"
#line 241
1
"objc-parse.y"
{
{
objc_implementation_context
objc_implementation_context
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
,
NULL_TREE
);
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
,
NULL_TREE
);
...
@@ -4367,7 +4366,7 @@ case 427:
...
@@ -4367,7 +4366,7 @@ case 427:
;
;
break
;}
break
;}
case
428
:
case
428
:
#line 24
20
"objc-parse.y"
#line 24
19
"objc-parse.y"
{
{
objc_implementation_context
=
objc_ivar_context
objc_implementation_context
=
objc_ivar_context
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
...
@@ -4375,14 +4374,14 @@ case 428:
...
@@ -4375,14 +4374,14 @@ case 428:
;
;
break
;}
break
;}
case
429
:
case
429
:
#line 242
6
"objc-parse.y"
#line 242
5
"objc-parse.y"
{
{
objc_ivar_chain
objc_ivar_chain
=
continue_class
(
objc_implementation_context
);
=
continue_class
(
objc_implementation_context
);
;
;
break
;}
break
;}
case
430
:
case
430
:
#line 243
2
"objc-parse.y"
#line 243
1
"objc-parse.y"
{
{
objc_implementation_context
objc_implementation_context
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
=
start_class
(
CLASS_IMPLEMENTATION_TYPE
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
...
@@ -4391,7 +4390,7 @@ case 430:
...
@@ -4391,7 +4390,7 @@ case 430:
;
;
break
;}
break
;}
case
431
:
case
431
:
#line 24
40
"objc-parse.y"
#line 24
39
"objc-parse.y"
{
{
objc_interface_context
objc_interface_context
=
start_class
(
CATEGORY_INTERFACE_TYPE
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
=
start_class
(
CATEGORY_INTERFACE_TYPE
,
yyvsp
[
-
4
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
...
@@ -4399,14 +4398,14 @@ case 431:
...
@@ -4399,14 +4398,14 @@ case 431:
;
;
break
;}
break
;}
case
432
:
case
432
:
#line 244
7
"objc-parse.y"
#line 244
6
"objc-parse.y"
{
{
finish_class
(
objc_interface_context
);
finish_class
(
objc_interface_context
);
objc_interface_context
=
NULL_TREE
;
objc_interface_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
433
:
case
433
:
#line 245
3
"objc-parse.y"
#line 245
2
"objc-parse.y"
{
{
objc_implementation_context
objc_implementation_context
=
start_class
(
CATEGORY_IMPLEMENTATION_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
=
start_class
(
CATEGORY_IMPLEMENTATION_TYPE
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
...
@@ -4415,7 +4414,7 @@ case 433:
...
@@ -4415,7 +4414,7 @@ case 433:
;
;
break
;}
break
;}
case
434
:
case
434
:
#line 246
3
"objc-parse.y"
#line 246
2
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
objc_interface_context
objc_interface_context
...
@@ -4423,7 +4422,7 @@ case 434:
...
@@ -4423,7 +4422,7 @@ case 434:
;
;
break
;}
break
;}
case
435
:
case
435
:
#line 246
9
"objc-parse.y"
#line 246
8
"objc-parse.y"
{
{
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
finish_protocol
(
objc_interface_context
);
finish_protocol
(
objc_interface_context
);
...
@@ -4431,13 +4430,13 @@ case 435:
...
@@ -4431,13 +4430,13 @@ case 435:
;
;
break
;}
break
;}
case
436
:
case
436
:
#line 247
8
"objc-parse.y"
#line 247
7
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
438
:
case
438
:
#line 248
6
"objc-parse.y"
#line 248
5
"objc-parse.y"
{
{
if
(
yyvsp
[
-
2
].
code
==
LT_EXPR
&&
yyvsp
[
0
].
code
==
GT_EXPR
)
if
(
yyvsp
[
-
2
].
code
==
LT_EXPR
&&
yyvsp
[
0
].
code
==
GT_EXPR
)
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
...
@@ -4446,32 +4445,32 @@ case 438:
...
@@ -4446,32 +4445,32 @@ case 438:
;
;
break
;}
break
;}
case
441
:
case
441
:
#line 2
500
"objc-parse.y"
#line 2
499
"objc-parse.y"
{
objc_public_flag
=
2
;
;
{
objc_public_flag
=
2
;
;
break
;}
break
;}
case
442
:
case
442
:
#line 250
1
"objc-parse.y"
#line 250
0
"objc-parse.y"
{
objc_public_flag
=
0
;
;
{
objc_public_flag
=
0
;
;
break
;}
break
;}
case
443
:
case
443
:
#line 250
2
"objc-parse.y"
#line 250
1
"objc-parse.y"
{
objc_public_flag
=
1
;
;
{
objc_public_flag
=
1
;
;
break
;}
break
;}
case
444
:
case
444
:
#line 250
7
"objc-parse.y"
#line 250
6
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
446
:
case
446
:
#line 251
2
"objc-parse.y"
#line 251
1
"objc-parse.y"
{
{
if
(
pedantic
)
if
(
pedantic
)
pedwarn
(
"extra semicolon in struct or union specified"
);
pedwarn
(
"extra semicolon in struct or union specified"
);
;
;
break
;}
break
;}
case
447
:
case
447
:
#line 25
30
"objc-parse.y"
#line 25
29
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -4479,7 +4478,7 @@ case 447:
...
@@ -4479,7 +4478,7 @@ case 447:
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
448
:
case
448
:
#line 253
6
"objc-parse.y"
#line 253
5
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
...
@@ -4487,15 +4486,15 @@ case 448:
...
@@ -4487,15 +4486,15 @@ case 448:
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
resume_momentary
(
yyvsp
[
-
1
].
itype
);
;
break
;}
break
;}
case
449
:
case
449
:
#line 254
2
"objc-parse.y"
#line 254
1
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
450
:
case
450
:
#line 254
7
"objc-parse.y"
#line 254
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
453
:
case
453
:
#line 255
4
"objc-parse.y"
#line 255
3
"objc-parse.y"
{
{
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
objc_public_flag
,
objc_public_flag
,
...
@@ -4504,7 +4503,7 @@ case 453:
...
@@ -4504,7 +4503,7 @@ case 453:
;
;
break
;}
break
;}
case
454
:
case
454
:
#line 256
1
"objc-parse.y"
#line 256
0
"objc-parse.y"
{
{
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
objc_public_flag
,
objc_public_flag
,
...
@@ -4512,7 +4511,7 @@ case 454:
...
@@ -4512,7 +4511,7 @@ case 454:
;
;
break
;}
break
;}
case
455
:
case
455
:
#line 256
7
"objc-parse.y"
#line 256
6
"objc-parse.y"
{
{
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
yyval
.
ttype
=
add_instance_variable
(
objc_ivar_context
,
objc_public_flag
,
objc_public_flag
,
...
@@ -4521,7 +4520,7 @@ case 455:
...
@@ -4521,7 +4520,7 @@ case 455:
;
;
break
;}
break
;}
case
456
:
case
456
:
#line 257
7
"objc-parse.y"
#line 257
6
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
...
@@ -4531,7 +4530,7 @@ case 456:
...
@@ -4531,7 +4530,7 @@ case 456:
;
;
break
;}
break
;}
case
457
:
case
457
:
#line 258
5
"objc-parse.y"
#line 258
4
"objc-parse.y"
{
{
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
add_class_method
(
objc_implementation_context
,
yyvsp
[
0
].
ttype
);
add_class_method
(
objc_implementation_context
,
yyvsp
[
0
].
ttype
);
...
@@ -4540,20 +4539,20 @@ case 457:
...
@@ -4540,20 +4539,20 @@ case 457:
;
;
break
;}
break
;}
case
458
:
case
458
:
#line 259
2
"objc-parse.y"
#line 259
1
"objc-parse.y"
{
{
continue_method_def
();
continue_method_def
();
;
;
break
;}
break
;}
case
459
:
case
459
:
#line 259
6
"objc-parse.y"
#line 259
5
"objc-parse.y"
{
{
finish_method_def
();
finish_method_def
();
objc_method_context
=
NULL_TREE
;
objc_method_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
460
:
case
460
:
#line 260
2
"objc-parse.y"
#line 260
1
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
...
@@ -4563,7 +4562,7 @@ case 460:
...
@@ -4563,7 +4562,7 @@ case 460:
;
;
break
;}
break
;}
case
461
:
case
461
:
#line 26
10
"objc-parse.y"
#line 26
09
"objc-parse.y"
{
{
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
add_instance_method
(
objc_implementation_context
,
yyvsp
[
0
].
ttype
);
add_instance_method
(
objc_implementation_context
,
yyvsp
[
0
].
ttype
);
...
@@ -4572,139 +4571,139 @@ case 461:
...
@@ -4572,139 +4571,139 @@ case 461:
;
;
break
;}
break
;}
case
462
:
case
462
:
#line 261
7
"objc-parse.y"
#line 261
6
"objc-parse.y"
{
{
continue_method_def
();
continue_method_def
();
;
;
break
;}
break
;}
case
463
:
case
463
:
#line 262
1
"objc-parse.y"
#line 262
0
"objc-parse.y"
{
{
finish_method_def
();
finish_method_def
();
objc_method_context
=
NULL_TREE
;
objc_method_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
465
:
case
465
:
#line 263
3
"objc-parse.y"
#line 263
2
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
470
:
case
470
:
#line 26
40
"objc-parse.y"
#line 26
39
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
474
:
case
474
:
#line 26
50
"objc-parse.y"
#line 26
49
"objc-parse.y"
{
{
objc_inherit_code
=
CLASS_METHOD_DECL
;
objc_inherit_code
=
CLASS_METHOD_DECL
;
;
;
break
;}
break
;}
case
475
:
case
475
:
#line 265
4
"objc-parse.y"
#line 265
3
"objc-parse.y"
{
{
add_class_method
(
objc_interface_context
,
yyvsp
[
0
].
ttype
);
add_class_method
(
objc_interface_context
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
477
:
case
477
:
#line 26
60
"objc-parse.y"
#line 26
59
"objc-parse.y"
{
{
objc_inherit_code
=
INSTANCE_METHOD_DECL
;
objc_inherit_code
=
INSTANCE_METHOD_DECL
;
;
;
break
;}
break
;}
case
478
:
case
478
:
#line 266
4
"objc-parse.y"
#line 266
3
"objc-parse.y"
{
{
add_instance_method
(
objc_interface_context
,
yyvsp
[
0
].
ttype
);
add_instance_method
(
objc_interface_context
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
480
:
case
480
:
#line 267
2
"objc-parse.y"
#line 267
1
"objc-parse.y"
{
{
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
;
break
;}
break
;}
case
481
:
case
481
:
#line 267
7
"objc-parse.y"
#line 267
6
"objc-parse.y"
{
{
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
NULL_TREE
,
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
;
break
;}
break
;}
case
482
:
case
482
:
#line 268
2
"objc-parse.y"
#line 268
1
"objc-parse.y"
{
{
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
483
:
case
483
:
#line 268
7
"objc-parse.y"
#line 268
6
"objc-parse.y"
{
{
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_method_decl
(
objc_inherit_code
,
NULL_TREE
,
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
492
:
case
492
:
#line 271
7
"objc-parse.y"
#line 271
6
"objc-parse.y"
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
{
current_declspecs
=
TREE_VALUE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
prefix_attributes
=
TREE_PURPOSE
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
resume_momentary
(
yyvsp
[
-
2
].
itype
);
;
break
;}
break
;}
case
493
:
case
493
:
#line 272
2
"objc-parse.y"
#line 272
1
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
494
:
case
494
:
#line 272
4
"objc-parse.y"
#line 272
3
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
495
:
case
495
:
#line 272
9
"objc-parse.y"
#line 272
8
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
496
:
case
496
:
#line 273
1
"objc-parse.y"
#line 273
0
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
497
:
case
497
:
#line 273
9
"objc-parse.y"
#line 273
8
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
yyvsp
[
0
].
ttype
));
;
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
498
:
case
498
:
#line 274
4
"objc-parse.y"
#line 274
3
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
yyvsp
[
0
].
ttype
));
;
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
499
:
case
499
:
#line 274
9
"objc-parse.y"
#line 274
8
"objc-parse.y"
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
{
yyval
.
ttype
=
build_tree_list
(
build_tree_list
(
current_declspecs
,
yyvsp
[
-
1
].
ttype
),
yyvsp
[
-
1
].
ttype
),
build_tree_list
(
prefix_attributes
,
build_tree_list
(
prefix_attributes
,
yyvsp
[
0
].
ttype
));
;
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
500
:
case
500
:
#line 275
7
"objc-parse.y"
#line 275
6
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
501
:
case
501
:
#line 276
1
"objc-parse.y"
#line 276
0
"objc-parse.y"
{
{
/* oh what a kludge! */
/* oh what a kludge! */
yyval
.
ttype
=
(
tree
)
1
;
yyval
.
ttype
=
(
tree
)
1
;
;
;
break
;}
break
;}
case
502
:
case
502
:
#line 276
6
"objc-parse.y"
#line 276
5
"objc-parse.y"
{
{
pushlevel
(
0
);
pushlevel
(
0
);
;
;
break
;}
break
;}
case
503
:
case
503
:
#line 27
70
"objc-parse.y"
#line 27
69
"objc-parse.y"
{
{
/* returns a tree list node generated by get_parm_info */
/* returns a tree list node generated by get_parm_info */
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
...
@@ -4712,119 +4711,119 @@ case 503:
...
@@ -4712,119 +4711,119 @@ case 503:
;
;
break
;}
break
;}
case
506
:
case
506
:
#line 278
5
"objc-parse.y"
#line 278
4
"objc-parse.y"
{
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
511
:
case
511
:
#line 279
8
"objc-parse.y"
#line 279
7
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
512
:
case
512
:
#line 279
9
"objc-parse.y"
#line 279
8
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
513
:
case
513
:
#line 2
800
"objc-parse.y"
#line 2
799
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
514
:
case
514
:
#line 280
1
"objc-parse.y"
#line 280
0
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
515
:
case
515
:
#line 280
2
"objc-parse.y"
#line 280
1
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
516
:
case
516
:
#line 280
3
"objc-parse.y"
#line 280
2
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
517
:
case
517
:
#line 280
4
"objc-parse.y"
#line 280
3
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
518
:
case
518
:
#line 280
5
"objc-parse.y"
#line 280
4
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
519
:
case
519
:
#line 280
6
"objc-parse.y"
#line 280
5
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
520
:
case
520
:
#line 280
7
"objc-parse.y"
#line 280
6
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
521
:
case
521
:
#line 280
8
"objc-parse.y"
#line 280
7
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
522
:
case
522
:
#line 280
9
"objc-parse.y"
#line 280
8
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
523
:
case
523
:
#line 28
10
"objc-parse.y"
#line 28
09
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
524
:
case
524
:
#line 281
1
"objc-parse.y"
#line 281
0
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
525
:
case
525
:
#line 281
2
"objc-parse.y"
#line 281
1
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
526
:
case
526
:
#line 281
3
"objc-parse.y"
#line 281
2
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
527
:
case
527
:
#line 281
4
"objc-parse.y"
#line 281
3
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
528
:
case
528
:
#line 281
5
"objc-parse.y"
#line 281
4
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
529
:
case
529
:
#line 281
6
"objc-parse.y"
#line 281
5
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
532
:
case
532
:
#line 282
2
"objc-parse.y"
#line 282
1
"objc-parse.y"
{
{
yyval
.
ttype
=
build_keyword_decl
(
yyvsp
[
-
5
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_keyword_decl
(
yyvsp
[
-
5
].
ttype
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
533
:
case
533
:
#line 282
7
"objc-parse.y"
#line 282
6
"objc-parse.y"
{
{
yyval
.
ttype
=
build_keyword_decl
(
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_keyword_decl
(
yyvsp
[
-
2
].
ttype
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
534
:
case
534
:
#line 283
2
"objc-parse.y"
#line 283
1
"objc-parse.y"
{
{
yyval
.
ttype
=
build_keyword_decl
(
NULL_TREE
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_keyword_decl
(
NULL_TREE
,
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
535
:
case
535
:
#line 283
7
"objc-parse.y"
#line 283
6
"objc-parse.y"
{
{
yyval
.
ttype
=
build_keyword_decl
(
NULL_TREE
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_keyword_decl
(
NULL_TREE
,
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
539
:
case
539
:
#line 28
50
"objc-parse.y"
#line 28
49
"objc-parse.y"
{
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
540
:
case
540
:
#line 285
8
"objc-parse.y"
#line 285
7
"objc-parse.y"
{
{
if
(
TREE_CHAIN
(
yyvsp
[
0
].
ttype
)
==
NULL_TREE
)
if
(
TREE_CHAIN
(
yyvsp
[
0
].
ttype
)
==
NULL_TREE
)
/* just return the expr., remove a level of indirection */
/* just return the expr., remove a level of indirection */
...
@@ -4835,69 +4834,69 @@ case 540:
...
@@ -4835,69 +4834,69 @@ case 540:
;
;
break
;}
break
;}
case
541
:
case
541
:
#line 28
70
"objc-parse.y"
#line 28
69
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
542
:
case
542
:
#line 287
4
"objc-parse.y"
#line 287
3
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
544
:
case
544
:
#line 288
2
"objc-parse.y"
#line 288
1
"objc-parse.y"
{
{
yyval
.
ttype
=
get_class_reference
(
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
get_class_reference
(
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
545
:
case
545
:
#line 288
9
"objc-parse.y"
#line 288
8
"objc-parse.y"
{
objc_receiver_context
=
1
;
;
{
objc_receiver_context
=
1
;
;
break
;}
break
;}
case
546
:
case
546
:
#line 289
1
"objc-parse.y"
#line 289
0
"objc-parse.y"
{
objc_receiver_context
=
0
;
;
{
objc_receiver_context
=
0
;
;
break
;}
break
;}
case
547
:
case
547
:
#line 289
3
"objc-parse.y"
#line 289
2
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
551
:
case
551
:
#line 290
6
"objc-parse.y"
#line 290
5
"objc-parse.y"
{
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
552
:
case
552
:
#line 291
3
"objc-parse.y"
#line 291
2
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
yyval
.
ttype
=
build_tree_list
(
yyvsp
[
-
1
].
ttype
,
NULL_TREE
);
;
;
break
;}
break
;}
case
553
:
case
553
:
#line 291
7
"objc-parse.y"
#line 291
6
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
NULL_TREE
);
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
NULL_TREE
);
;
;
break
;}
break
;}
case
554
:
case
554
:
#line 292
4
"objc-parse.y"
#line 292
3
"objc-parse.y"
{
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
;
break
;}
break
;}
case
555
:
case
555
:
#line 293
1
"objc-parse.y"
#line 293
0
"objc-parse.y"
{
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
;
break
;}
break
;}
case
556
:
case
556
:
#line 29
40
"objc-parse.y"
#line 29
39
"objc-parse.y"
{
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
;
...
@@ -5100,5 +5099,5 @@ yyerrhandle:
...
@@ -5100,5 +5099,5 @@ yyerrhandle:
yystate
=
yyn
;
yystate
=
yyn
;
goto
yynewstate
;
goto
yynewstate
;
}
}
#line 294
5
"objc-parse.y"
#line 294
4
"objc-parse.y"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment