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
40a20da4
Commit
40a20da4
authored
Apr 21, 2000
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update. Build with the same version of bison.
From-SVN: r33322
parent
8ca17330
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
507 additions
and
506 deletions
+507
-506
gcc/c-parse.c
+5
-4
gcc/objc/objc-parse.c
+502
-502
No files found.
gcc/c-parse.c
View file @
40a20da4
/* A Bison parser, made from c-parse.y
/* A Bison parser, made from c-parse.y
by GNU Bison version 1.28 */
by GNU Bison version 1.27
*/
#define YYBISON 1
/* Identify Bison output. */
#define YYBISON 1
/* Identify Bison output. */
...
@@ -1275,7 +1276,7 @@ static const short yycheck[] = { 38,
...
@@ -1275,7 +1276,7 @@ static const short yycheck[] = { 38,
};
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/lib/bison.simple"
#line 3 "/usr/lib/bison.simple"
/* This file comes from bison-1.2
8
. */
/* This file comes from bison-1.2
7
. */
/* Skeleton output parser for bison,
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
...
@@ -1488,7 +1489,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
...
@@ -1488,7 +1489,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
#endif
#endif
#endif
#endif
#line 21
7
"/usr/lib/bison.simple"
#line 21
6
"/usr/lib/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
into yyparse. The argument should have type void *.
...
@@ -3835,7 +3836,7 @@ case 407:
...
@@ -3835,7 +3836,7 @@ case 407:
break
;}
break
;}
}
}
/* the action file gets copied in in place of this dollarsign */
/* the action file gets copied in in place of this dollarsign */
#line 54
3
"/usr/lib/bison.simple"
#line 54
2
"/usr/lib/bison.simple"
yyvsp
-=
yylen
;
yyvsp
-=
yylen
;
yyssp
-=
yylen
;
yyssp
-=
yylen
;
...
...
gcc/objc/objc-parse.c
View file @
40a20da4
...
@@ -463,63 +463,63 @@ static const short yyrhs[] = { -1,
...
@@ -463,63 +463,63 @@ static const short yyrhs[] = { -1,
#if YYDEBUG != 0
#if YYDEBUG != 0
static
const
short
yyrline
[]
=
{
0
,
static
const
short
yyrline
[]
=
{
0
,
2
59
,
264
,
278
,
280
,
280
,
281
,
283
,
285
,
286
,
287
,
2
64
,
269
,
283
,
285
,
285
,
286
,
288
,
290
,
291
,
292
,
295
,
299
,
309
,
313
,
317
,
319
,
321
,
322
,
323
,
328
,
300
,
304
,
314
,
318
,
322
,
324
,
326
,
327
,
328
,
333
,
3
35
,
337
,
341
,
345
,
351
,
353
,
357
,
361
,
367
,
369
,
3
40
,
342
,
346
,
350
,
356
,
358
,
362
,
366
,
372
,
374
,
37
3
,
379
,
381
,
382
,
383
,
386
,
388
,
390
,
392
,
394
,
37
8
,
384
,
386
,
387
,
388
,
391
,
393
,
395
,
397
,
399
,
396
,
398
,
402
,
406
,
409
,
412
,
415
,
419
,
421
,
424
,
401
,
403
,
407
,
411
,
414
,
417
,
420
,
424
,
426
,
429
,
4
27
,
431
,
459
,
465
,
468
,
471
,
474
,
476
,
478
,
482
,
4
32
,
436
,
464
,
470
,
473
,
476
,
479
,
481
,
483
,
487
,
4
86
,
490
,
492
,
495
,
499
,
526
,
528
,
530
,
532
,
534
,
4
91
,
495
,
497
,
500
,
504
,
531
,
533
,
535
,
537
,
539
,
5
36
,
538
,
540
,
542
,
544
,
546
,
548
,
550
,
552
,
556
,
5
41
,
543
,
545
,
547
,
549
,
551
,
553
,
555
,
557
,
561
,
5
58
,
562
,
564
,
567
,
571
,
573
,
580
,
583
,
591
,
602
,
5
63
,
567
,
569
,
572
,
576
,
578
,
585
,
588
,
596
,
607
,
76
2
,
763
,
765
,
771
,
773
,
796
,
805
,
807
,
809
,
821
,
76
7
,
768
,
770
,
776
,
778
,
801
,
810
,
812
,
814
,
826
,
8
35
,
837
,
839
,
841
,
843
,
845
,
847
,
852
,
854
,
861
,
8
40
,
842
,
844
,
846
,
848
,
850
,
852
,
857
,
859
,
866
,
86
3
,
867
,
869
,
870
,
880
,
885
,
887
,
888
,
889
,
896
,
86
8
,
872
,
874
,
875
,
885
,
890
,
892
,
893
,
894
,
901
,
90
1
,
905
,
908
,
916
,
921
,
923
,
924
,
925
,
932
,
942
,
90
6
,
910
,
913
,
921
,
926
,
928
,
929
,
930
,
937
,
947
,
9
46
,
951
,
955
,
959
,
963
,
965
,
967
,
976
,
979
,
983
,
9
51
,
956
,
960
,
964
,
968
,
970
,
972
,
981
,
984
,
988
,
9
85
,
987
,
992
,
996
,
999
,
1003
,
1006
,
1008
,
1020
,
1023
,
9
90
,
992
,
997
,
1001
,
1004
,
1008
,
1011
,
1013
,
1025
,
1028
,
10
25
,
1027
,
1031
,
1035
,
1037
,
1040
,
1053
,
1056
,
1060
,
1062
,
10
30
,
1032
,
1036
,
1040
,
1042
,
1045
,
1058
,
1061
,
1065
,
1067
,
107
0
,
1071
,
1072
,
1076
,
1078
,
1083
,
1085
,
1087
,
1093
,
1094
,
107
5
,
1076
,
1077
,
1081
,
1083
,
1088
,
1090
,
1092
,
1098
,
1099
,
1
095
,
1098
,
1100
,
1103
,
1105
,
1108
,
1111
,
1117
,
1124
,
1126
,
1
100
,
1103
,
1105
,
1108
,
1110
,
1113
,
1116
,
1122
,
1129
,
1131
,
113
3
,
1140
,
1143
,
1150
,
1153
,
1157
,
1160
,
1164
,
1169
,
1172
,
113
8
,
1145
,
1148
,
1155
,
1158
,
1162
,
1165
,
1169
,
1174
,
1177
,
11
76
,
1179
,
1181
,
1183
,
1185
,
1192
,
1194
,
1195
,
1196
,
1201
,
11
81
,
1184
,
1186
,
1188
,
1190
,
1197
,
1199
,
1200
,
1201
,
1206
,
120
3
,
1205
,
1207
,
1212
,
1216
,
1219
,
1221
,
1226
,
1228
,
1229
,
120
8
,
1210
,
1212
,
1217
,
1221
,
1224
,
1226
,
1231
,
1233
,
1234
,
123
2
,
1232
,
1235
,
1238
,
1240
,
1242
,
1245
,
1247
,
1250
,
1258
,
123
7
,
1237
,
1240
,
1243
,
1245
,
1247
,
1250
,
1252
,
1255
,
1263
,
127
2
,
1280
,
1284
,
1298
,
1306
,
1313
,
1315
,
1320
,
1323
,
1328
,
127
7
,
1285
,
1289
,
1303
,
1311
,
1318
,
1320
,
1325
,
1328
,
1333
,
133
0
,
1332
,
1339
,
1341
,
1342
,
1350
,
1356
,
1358
,
1360
,
1367
,
133
5
,
1337
,
1344
,
1346
,
1347
,
1355
,
1361
,
1363
,
1365
,
1372
,
13
69
,
1375
,
1381
,
1383
,
1385
,
1387
,
1394
,
1396
,
1399
,
1402
,
13
74
,
1380
,
1386
,
1388
,
1390
,
1392
,
1399
,
1401
,
1404
,
1407
,
14
06
,
1409
,
1413
,
1416
,
1420
,
1425
,
1427
,
1431
,
1433
,
1435
,
14
11
,
1414
,
1418
,
1421
,
1425
,
1430
,
1432
,
1436
,
1438
,
1440
,
14
37
,
1441
,
1443
,
1445
,
1448
,
1450
,
1453
,
1457
,
1459
,
1462
,
14
42
,
1446
,
1448
,
1450
,
1453
,
1455
,
1458
,
1462
,
1464
,
1467
,
146
4
,
1469
,
1472
,
1477
,
1479
,
1481
,
1485
,
1509
,
1515
,
1528
,
146
9
,
1474
,
1477
,
1482
,
1484
,
1486
,
1490
,
1514
,
1520
,
1533
,
153
3
,
1538
,
1540
,
1545
,
1547
,
1551
,
1555
,
1559
,
1569
,
1571
,
153
8
,
1543
,
1545
,
1550
,
1552
,
1556
,
1560
,
1564
,
1574
,
1576
,
15
76
,
1581
,
1584
,
1588
,
1591
,
1595
,
1598
,
1601
,
1604
,
1608
,
15
81
,
1586
,
1589
,
1593
,
1596
,
1600
,
1603
,
1606
,
1609
,
1613
,
161
1
,
1615
,
1619
,
1621
,
1623
,
1625
,
1627
,
1629
,
1631
,
1633
,
161
6
,
1620
,
1624
,
1626
,
1628
,
1630
,
1632
,
1634
,
1636
,
1638
,
16
37
,
1645
,
1653
,
1655
,
1657
,
1661
,
1663
,
1666
,
1669
,
1681
,
16
42
,
1650
,
1658
,
1660
,
1662
,
1666
,
1668
,
1671
,
1674
,
1686
,
168
3
,
1688
,
1690
,
1693
,
1707
,
1710
,
1713
,
1715
,
1717
,
1721
,
168
8
,
1693
,
1695
,
1698
,
1712
,
1715
,
1718
,
1720
,
1722
,
1726
,
17
25
,
1731
,
1749
,
1754
,
1759
,
1762
,
1776
,
1785
,
1789
,
1793
,
17
30
,
1736
,
1754
,
1759
,
1764
,
1767
,
1781
,
1790
,
1794
,
1798
,
1
797
,
1803
,
1807
,
1812
,
1815
,
1820
,
1823
,
1824
,
1840
,
1845
,
1
802
,
1808
,
1812
,
1817
,
1820
,
1825
,
1828
,
1829
,
1845
,
1850
,
18
48
,
1860
,
1862
,
1872
,
1882
,
1883
,
1890
,
1892
,
1904
,
1908
,
18
53
,
1865
,
1867
,
1877
,
1887
,
1888
,
1895
,
1897
,
1909
,
1913
,
192
2
,
1928
,
1934
,
1935
,
1940
,
1945
,
1949
,
1953
,
1964
,
1971
,
192
7
,
1933
,
1939
,
1940
,
1945
,
1950
,
1954
,
1958
,
1969
,
1976
,
19
78
,
1985
,
1996
,
2002
,
2005
,
2010
,
2033
,
2063
,
2094
,
2125
,
19
83
,
1990
,
2001
,
2007
,
2010
,
2015
,
2038
,
2068
,
2099
,
2130
,
214
0
,
2154
,
2158
,
2162
,
2165
,
2170
,
2172
,
2175
,
2177
,
2181
,
214
5
,
2159
,
2163
,
2167
,
2170
,
2175
,
2177
,
2180
,
2182
,
2186
,
21
86
,
2189
,
2195
,
2200
,
2205
,
2207
,
2216
,
2217
,
2223
,
2225
,
21
91
,
2194
,
2200
,
2205
,
2210
,
2212
,
2221
,
2222
,
2228
,
2230
,
22
35
,
2237
,
2241
,
2244
,
2250
,
2259
,
2267
,
2275
,
2284
,
2297
,
22
40
,
2242
,
2246
,
2249
,
2255
,
2264
,
2272
,
2280
,
2289
,
2302
,
230
2
,
2307
,
2309
,
2318
,
2321
,
2326
,
2329
,
2333
,
2342
,
2344
,
230
7
,
2312
,
2314
,
2323
,
2326
,
2331
,
2334
,
2338
,
2347
,
2349
,
23
45
,
2346
,
2347
,
2348
,
2362
,
2365
,
2369
,
2375
,
2381
,
2388
,
23
50
,
2351
,
2352
,
2353
,
2367
,
2370
,
2374
,
2380
,
2386
,
2393
,
239
3
,
2399
,
2406
,
2412
,
2418
,
2423
,
2429
,
2436
,
2442
,
2448
,
239
8
,
2404
,
2411
,
2417
,
2423
,
2428
,
2434
,
2441
,
2447
,
2453
,
245
4
,
2462
,
2468
,
2474
,
2482
,
2489
,
2495
,
2504
,
2511
,
2519
,
245
9
,
2467
,
2473
,
2479
,
2487
,
2494
,
2500
,
2509
,
2516
,
2524
,
252
4
,
2527
,
2537
,
2539
,
2542
,
2544
,
2545
,
2548
,
2553
,
2554
,
252
9
,
2532
,
2542
,
2544
,
2547
,
2549
,
2550
,
2553
,
2558
,
2559
,
257
1
,
2577
,
2582
,
2586
,
2589
,
2590
,
2593
,
2601
,
2607
,
2616
,
257
6
,
2582
,
2587
,
2591
,
2594
,
2595
,
2598
,
2606
,
2612
,
2621
,
26
26
,
2633
,
2637
,
2642
,
2651
,
2658
,
2662
,
2672
,
2674
,
2675
,
26
31
,
2638
,
2642
,
2647
,
2656
,
2663
,
2667
,
2677
,
2679
,
2680
,
26
77
,
2679
,
2680
,
2681
,
2682
,
2684
,
2686
,
2689
,
2697
,
2704
,
26
82
,
2684
,
2685
,
2686
,
2687
,
2689
,
2691
,
2694
,
2702
,
2709
,
270
4
,
2711
,
2717
,
2719
,
2725
,
2730
,
2735
,
2744
,
2746
,
2752
,
270
9
,
2716
,
2722
,
2724
,
2730
,
2735
,
2740
,
2749
,
2751
,
2757
,
275
4
,
2757
,
2759
,
2760
,
2761
,
2764
,
2769
,
2771
,
2775
,
2778
,
275
9
,
2762
,
2764
,
2765
,
2766
,
2769
,
2774
,
2776
,
2780
,
2783
,
27
85
,
2791
,
2796
,
2803
,
2808
,
2813
,
2818
,
2825
,
2829
,
2832
,
27
90
,
2796
,
2801
,
2808
,
2813
,
2818
,
2823
,
2830
,
2834
,
2837
,
28
38
,
2840
,
2841
,
2842
,
2845
,
2847
,
2848
,
2849
,
2850
,
2851
,
28
43
,
2845
,
2846
,
2847
,
2850
,
2852
,
2853
,
2854
,
2855
,
2856
,
285
2
,
2853
,
2854
,
2855
,
2856
,
2857
,
2858
,
2859
,
2860
,
2861
,
285
7
,
2858
,
2859
,
2860
,
2861
,
2862
,
2863
,
2864
,
2865
,
2866
,
286
2
,
2863
,
2864
,
2865
,
2865
,
2868
,
2874
,
2879
,
2884
,
2890
,
286
7
,
2868
,
2869
,
2870
,
2870
,
2873
,
2879
,
2884
,
2889
,
2895
,
289
2
,
2895
,
2897
,
2904
,
2916
,
2921
,
2927
,
2929
,
2935
,
2939
,
289
7
,
2900
,
2902
,
2909
,
2921
,
2926
,
2932
,
2934
,
2940
,
2944
,
294
0
,
2946
,
2948
,
2951
,
2953
,
2959
,
2964
,
2970
,
2977
,
2986
294
5
,
2951
,
2953
,
2956
,
2958
,
2964
,
2969
,
2975
,
2982
,
2991
};
};
#endif
#endif
...
@@ -2302,14 +2302,14 @@ yyreduce:
...
@@ -2302,14 +2302,14 @@ yyreduce:
switch
(
yyn
)
{
switch
(
yyn
)
{
case
1
:
case
1
:
#line 26
0
"objc-parse.y"
#line 26
5
"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 2
65
"objc-parse.y"
#line 2
70
"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. */
...
@@ -2319,15 +2319,15 @@ case 2:
...
@@ -2319,15 +2319,15 @@ case 2:
;
;
break
;}
break
;}
case
3
:
case
3
:
#line 2
79
"objc-parse.y"
#line 2
84
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
5
:
case
5
:
#line 28
0
"objc-parse.y"
#line 28
5
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
10
:
case
10
:
#line 2
88
"objc-parse.y"
#line 2
93
"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
)
...
@@ -2337,11 +2337,11 @@ case 10:
...
@@ -2337,11 +2337,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
296
"objc-parse.y"
#line
301
"objc-parse.y"
{
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
{
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
12
:
case
12
:
#line 30
1
"objc-parse.y"
#line 30
6
"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
)
...
@@ -2352,162 +2352,162 @@ case 12:
...
@@ -2352,162 +2352,162 @@ case 12:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
13
:
case
13
:
#line 31
0
"objc-parse.y"
#line 31
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
);
;
break
;}
break
;}
case
14
:
case
14
:
#line 31
4
"objc-parse.y"
#line 31
9
"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
);
;
break
;}
break
;}
case
15
:
case
15
:
#line 3
18
"objc-parse.y"
#line 3
23
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
16
:
case
16
:
#line 32
0
"objc-parse.y"
#line 32
5
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
19
:
case
19
:
#line 32
4
"objc-parse.y"
#line 32
9
"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 33
0
"objc-parse.y"
#line 33
5
"objc-parse.y"
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
))
prefix_attributes
,
NULL_TREE
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
21
:
case
21
:
#line 3
35
"objc-parse.y"
#line 3
40
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
22
:
case
22
:
#line 3
37
"objc-parse.y"
#line 3
42
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
23
:
case
23
:
#line 34
2
"objc-parse.y"
#line 34
7
"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
);
;
break
;}
break
;}
case
24
:
case
24
:
#line 3
46
"objc-parse.y"
#line 3
51
"objc-parse.y"
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
current_declspecs
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
))
prefix_attributes
,
NULL_TREE
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
25
:
case
25
:
#line 35
1
"objc-parse.y"
#line 35
6
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
26
:
case
26
:
#line 35
3
"objc-parse.y"
#line 35
8
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
27
:
case
27
:
#line 3
58
"objc-parse.y"
#line 3
63
"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
);
;
break
;}
break
;}
case
28
:
case
28
:
#line 36
2
"objc-parse.y"
#line 36
7
"objc-parse.y"
{
if
(
!
start_function
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
{
if
(
!
start_function
(
NULL_TREE
,
yyvsp
[
0
].
ttype
,
prefix_attributes
,
NULL_TREE
))
prefix_attributes
,
NULL_TREE
))
YYERROR1
;
YYERROR1
;
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
29
:
case
29
:
#line 3
67
"objc-parse.y"
#line 3
72
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
30
:
case
30
:
#line 3
69
"objc-parse.y"
#line 3
74
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
31
:
case
31
:
#line 37
4
"objc-parse.y"
#line 37
9
"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
);
;
break
;}
break
;}
case
36
:
case
36
:
#line 3
87
"objc-parse.y"
#line 3
92
"objc-parse.y"
{
yyval
.
code
=
ADDR_EXPR
;
;
{
yyval
.
code
=
ADDR_EXPR
;
;
break
;}
break
;}
case
37
:
case
37
:
#line 3
89
"objc-parse.y"
#line 3
94
"objc-parse.y"
{
yyval
.
code
=
NEGATE_EXPR
;
;
{
yyval
.
code
=
NEGATE_EXPR
;
;
break
;}
break
;}
case
38
:
case
38
:
#line 39
1
"objc-parse.y"
#line 39
6
"objc-parse.y"
{
yyval
.
code
=
CONVERT_EXPR
;
;
{
yyval
.
code
=
CONVERT_EXPR
;
;
break
;}
break
;}
case
39
:
case
39
:
#line 39
3
"objc-parse.y"
#line 39
8
"objc-parse.y"
{
yyval
.
code
=
PREINCREMENT_EXPR
;
;
{
yyval
.
code
=
PREINCREMENT_EXPR
;
;
break
;}
break
;}
case
40
:
case
40
:
#line
395
"objc-parse.y"
#line
400
"objc-parse.y"
{
yyval
.
code
=
PREDECREMENT_EXPR
;
;
{
yyval
.
code
=
PREDECREMENT_EXPR
;
;
break
;}
break
;}
case
41
:
case
41
:
#line
397
"objc-parse.y"
#line
402
"objc-parse.y"
{
yyval
.
code
=
BIT_NOT_EXPR
;
;
{
yyval
.
code
=
BIT_NOT_EXPR
;
;
break
;}
break
;}
case
42
:
case
42
:
#line
399
"objc-parse.y"
#line
404
"objc-parse.y"
{
yyval
.
code
=
TRUTH_NOT_EXPR
;
;
{
yyval
.
code
=
TRUTH_NOT_EXPR
;
;
break
;}
break
;}
case
43
:
case
43
:
#line 40
3
"objc-parse.y"
#line 40
8
"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 4
08
"objc-parse.y"
#line 4
13
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
46
:
case
46
:
#line 41
4
"objc-parse.y"
#line 41
9
"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 4
16
"objc-parse.y"
#line 4
21
"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 42
2
"objc-parse.y"
#line 42
7
"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 4
25
"objc-parse.y"
#line 4
30
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
51
:
case
51
:
#line 4
28
"objc-parse.y"
#line 4
33
"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 43
2
"objc-parse.y"
#line 43
7
"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 `&&'"
);
...
@@ -2522,7 +2522,7 @@ case 52:
...
@@ -2522,7 +2522,7 @@ case 52:
;
;
break
;}
break
;}
case
53
:
case
53
:
#line 46
0
"objc-parse.y"
#line 46
5
"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
)))
...
@@ -2530,53 +2530,53 @@ case 53:
...
@@ -2530,53 +2530,53 @@ 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 4
66
"objc-parse.y"
#line 4
71
"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 4
69
"objc-parse.y"
#line 4
74
"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 47
2
"objc-parse.y"
#line 47
7
"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 4
75
"objc-parse.y"
#line 4
80
"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 4
77
"objc-parse.y"
#line 4
82
"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
79
"objc-parse.y"
#line 4
84
"objc-parse.y"
{
yyval
.
ttype
=
build_va_arg
(
yyvsp
[
-
3
].
ttype
,
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
{
yyval
.
ttype
=
build_va_arg
(
yyvsp
[
-
3
].
ttype
,
groktypename
(
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
60
:
case
60
:
#line 48
3
"objc-parse.y"
#line 48
8
"objc-parse.y"
{
skip_evaluation
++
;
;
{
skip_evaluation
++
;
;
break
;}
break
;}
case
61
:
case
61
:
#line 4
87
"objc-parse.y"
#line 4
92
"objc-parse.y"
{
skip_evaluation
++
;
;
{
skip_evaluation
++
;
;
break
;}
break
;}
case
63
:
case
63
:
#line 49
3
"objc-parse.y"
#line 49
8
"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
64
:
case
64
:
#line
496
"objc-parse.y"
#line
501
"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
65
:
case
65
:
#line 50
0
"objc-parse.y"
#line 50
5
"objc-parse.y"
{
const
char
*
name
;
{
const
char
*
name
;
tree
result
=
pop_init_level
(
0
);
tree
result
=
pop_init_level
(
0
);
tree
type
=
yyvsp
[
-
5
].
ttype
;
tree
type
=
yyvsp
[
-
5
].
ttype
;
...
@@ -2603,90 +2603,90 @@ case 65:
...
@@ -2603,90 +2603,90 @@ case 65:
;
;
break
;}
break
;}
case
67
:
case
67
:
#line 5
29
"objc-parse.y"
#line 5
34
"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 53
1
"objc-parse.y"
#line 53
6
"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 53
3
"objc-parse.y"
#line 53
8
"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 5
35
"objc-parse.y"
#line 5
40
"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 5
37
"objc-parse.y"
#line 5
42
"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 5
39
"objc-parse.y"
#line 5
44
"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 54
1
"objc-parse.y"
#line 54
6
"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 54
3
"objc-parse.y"
#line 54
8
"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 5
45
"objc-parse.y"
#line 5
50
"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 5
47
"objc-parse.y"
#line 5
52
"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 5
49
"objc-parse.y"
#line 5
54
"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 55
1
"objc-parse.y"
#line 55
6
"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
79
:
case
79
:
#line 55
3
"objc-parse.y"
#line 55
8
"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
80
:
case
80
:
#line 5
56
"objc-parse.y"
#line 5
61
"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
81
:
case
81
:
#line 5
59
"objc-parse.y"
#line 5
64
"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
82
:
case
82
:
#line 56
2
"objc-parse.y"
#line 56
7
"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
83
:
case
83
:
#line 5
65
"objc-parse.y"
#line 5
70
"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
84
:
case
84
:
#line 5
68
"objc-parse.y"
#line 5
73
"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
85
:
case
85
:
#line 57
1
"objc-parse.y"
#line 57
6
"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
86
:
case
86
:
#line 57
4
"objc-parse.y"
#line 57
9
"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. */
...
@@ -2695,12 +2695,12 @@ case 86:
...
@@ -2695,12 +2695,12 @@ case 86:
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
skip_evaluation
+=
yyvsp
[
-
1
].
ttype
==
boolean_true_node
;
;
break
;}
break
;}
case
87
:
case
87
:
#line 58
1
"objc-parse.y"
#line 58
6
"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
88
:
case
88
:
#line 58
4
"objc-parse.y"
#line 58
9
"objc-parse.y"
{
char
class
;
{
char
class
;
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
);
class
=
TREE_CODE_CLASS
(
TREE_CODE
(
yyval
.
ttype
));
class
=
TREE_CODE_CLASS
(
TREE_CODE
(
yyval
.
ttype
));
...
@@ -2710,7 +2710,7 @@ case 88:
...
@@ -2710,7 +2710,7 @@ case 88:
;
;
break
;}
break
;}
case
89
:
case
89
:
#line 59
2
"objc-parse.y"
#line 59
7
"objc-parse.y"
{
char
class
;
{
char
class
;
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. */
...
@@ -2721,7 +2721,7 @@ case 89:
...
@@ -2721,7 +2721,7 @@ case 89:
;
;
break
;}
break
;}
case
90
:
case
90
:
#line 60
4
"objc-parse.y"
#line 60
9
"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
)
...
@@ -2882,11 +2882,11 @@ case 90:
...
@@ -2882,11 +2882,11 @@ case 90:
;
;
break
;}
break
;}
case
92
:
case
92
:
#line 76
4
"objc-parse.y"
#line 76
9
"objc-parse.y"
{
yyval
.
ttype
=
combine_strings
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
combine_strings
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
93
:
case
93
:
#line 7
66
"objc-parse.y"
#line 7
71
"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
==
'<'
)
...
@@ -2894,11 +2894,11 @@ case 93:
...
@@ -2894,11 +2894,11 @@ case 93:
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
94
:
case
94
:
#line 77
2
"objc-parse.y"
#line 77
7
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
95
:
case
95
:
#line 77
4
"objc-parse.y"
#line 77
9
"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"
);
...
@@ -2923,7 +2923,7 @@ case 95:
...
@@ -2923,7 +2923,7 @@ case 95:
;
;
break
;}
break
;}
case
96
:
case
96
:
#line
797
"objc-parse.y"
#line
802
"objc-parse.y"
{
{
/* Make sure we call expand_end_stmt_expr. Otherwise
/* Make sure we call expand_end_stmt_expr. Otherwise
we are likely to lose sequences and crash later. */
we are likely to lose sequences and crash later. */
...
@@ -2934,15 +2934,15 @@ case 96:
...
@@ -2934,15 +2934,15 @@ case 96:
;
;
break
;}
break
;}
case
97
:
case
97
:
#line 8
06
"objc-parse.y"
#line 8
11
"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
98
:
case
98
:
#line 8
08
"objc-parse.y"
#line 8
13
"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
99
:
case
99
:
#line 81
0
"objc-parse.y"
#line 81
5
"objc-parse.y"
{
{
if
(
doing_objc_thang
)
if
(
doing_objc_thang
)
{
{
...
@@ -2956,7 +2956,7 @@ case 99:
...
@@ -2956,7 +2956,7 @@ case 99:
;
;
break
;}
break
;}
case
100
:
case
100
:
#line 82
2
"objc-parse.y"
#line 82
7
"objc-parse.y"
{
{
tree
expr
=
build_indirect_ref
(
yyvsp
[
-
2
].
ttype
,
"->"
);
tree
expr
=
build_indirect_ref
(
yyvsp
[
-
2
].
ttype
,
"->"
);
...
@@ -2972,79 +2972,79 @@ case 100:
...
@@ -2972,79 +2972,79 @@ case 100:
;
;
break
;}
break
;}
case
101
:
case
101
:
#line 8
36
"objc-parse.y"
#line 8
41
"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
102
:
case
102
:
#line 8
38
"objc-parse.y"
#line 8
43
"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
103
:
case
103
:
#line 84
0
"objc-parse.y"
#line 84
5
"objc-parse.y"
{
yyval
.
ttype
=
build_message_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_message_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
104
:
case
104
:
#line 84
2
"objc-parse.y"
#line 84
7
"objc-parse.y"
{
yyval
.
ttype
=
build_selector_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_selector_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
105
:
case
105
:
#line 84
4
"objc-parse.y"
#line 84
9
"objc-parse.y"
{
yyval
.
ttype
=
build_protocol_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_protocol_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
106
:
case
106
:
#line 8
46
"objc-parse.y"
#line 8
51
"objc-parse.y"
{
yyval
.
ttype
=
build_encode_expr
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_encode_expr
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
107
:
case
107
:
#line 8
48
"objc-parse.y"
#line 8
53
"objc-parse.y"
{
yyval
.
ttype
=
build_objc_string_object
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
build_objc_string_object
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
109
:
case
109
:
#line 8
55
"objc-parse.y"
#line 8
60
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
111
:
case
111
:
#line 86
4
"objc-parse.y"
#line 86
9
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
114
:
case
114
:
#line 87
2
"objc-parse.y"
#line 87
7
"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
115
:
case
115
:
#line 88
2
"objc-parse.y"
#line 88
7
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
120
:
case
120
:
#line
898
"objc-parse.y"
#line
903
"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
);
;
break
;}
break
;}
case
121
:
case
121
:
#line 90
2
"objc-parse.y"
#line 90
7
"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
);
;
break
;}
break
;}
case
122
:
case
122
:
#line 9
06
"objc-parse.y"
#line 9
11
"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
123
:
case
123
:
#line 9
09
"objc-parse.y"
#line 9
14
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
124
:
case
124
:
#line 9
18
"objc-parse.y"
#line 9
23
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
129
:
case
129
:
#line 93
3
"objc-parse.y"
#line 93
8
"objc-parse.y"
{
pending_xref_error
();
{
pending_xref_error
();
declspec_stack
=
tree_cons
(
prefix_attributes
,
declspec_stack
=
tree_cons
(
prefix_attributes
,
current_declspecs
,
current_declspecs
,
...
@@ -3053,127 +3053,127 @@ case 129:
...
@@ -3053,127 +3053,127 @@ case 129:
&
current_declspecs
,
&
prefix_attributes
);
;
&
current_declspecs
,
&
prefix_attributes
);
;
break
;}
break
;}
case
130
:
case
130
:
#line 94
3
"objc-parse.y"
#line 94
8
"objc-parse.y"
{
prefix_attributes
=
chainon
(
prefix_attributes
,
yyvsp
[
0
].
ttype
);
;
{
prefix_attributes
=
chainon
(
prefix_attributes
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
131
:
case
131
:
#line 9
48
"objc-parse.y"
#line 9
53
"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
);
;
break
;}
break
;}
case
132
:
case
132
:
#line 95
2
"objc-parse.y"
#line 95
7
"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
);
;
break
;}
break
;}
case
133
:
case
133
:
#line 9
56
"objc-parse.y"
#line 9
61
"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
);
;
break
;}
break
;}
case
134
:
case
134
:
#line 96
0
"objc-parse.y"
#line 96
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
);
;
break
;}
break
;}
case
135
:
case
135
:
#line 96
4
"objc-parse.y"
#line 96
9
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
136
:
case
136
:
#line 9
66
"objc-parse.y"
#line 9
71
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
137
:
case
137
:
#line 9
68
"objc-parse.y"
#line 9
73
"objc-parse.y"
{
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
{
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
138
:
case
138
:
#line 9
78
"objc-parse.y"
#line 9
83
"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
139
:
case
139
:
#line 98
0
"objc-parse.y"
#line 98
5
"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
140
:
case
140
:
#line 98
4
"objc-parse.y"
#line 98
9
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
141
:
case
141
:
#line 9
86
"objc-parse.y"
#line 9
91
"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
142
:
case
142
:
#line 9
88
"objc-parse.y"
#line 9
93
"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
143
:
case
143
:
#line 99
3
"objc-parse.y"
#line 99
8
"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
144
:
case
144
:
#line
998
"objc-parse.y"
#line
1003
"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
145
:
case
145
:
#line 100
0
"objc-parse.y"
#line 100
5
"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
146
:
case
146
:
#line 10
05
"objc-parse.y"
#line 10
10
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
147
:
case
147
:
#line 10
07
"objc-parse.y"
#line 10
12
"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
148
:
case
148
:
#line 10
09
"objc-parse.y"
#line 10
14
"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
149
:
case
149
:
#line 102
2
"objc-parse.y"
#line 102
7
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
150
:
case
150
:
#line 102
4
"objc-parse.y"
#line 102
9
"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
151
:
case
151
:
#line 10
26
"objc-parse.y"
#line 10
31
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
0
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
152
:
case
152
:
#line 10
28
"objc-parse.y"
#line 10
33
"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
153
:
case
153
:
#line 103
3
"objc-parse.y"
#line 103
8
"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
154
:
case
154
:
#line 10
36
"objc-parse.y"
#line 10
41
"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
155
:
case
155
:
#line 10
38
"objc-parse.y"
#line 10
43
"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
156
:
case
156
:
#line 104
1
"objc-parse.y"
#line 104
6
"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
));
...
@@ -3181,180 +3181,180 @@ case 156:
...
@@ -3181,180 +3181,180 @@ case 156:
TREE_STATIC
(
yyval
.
ttype
)
=
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
);
;
TREE_STATIC
(
yyval
.
ttype
)
=
TREE_STATIC
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
157
:
case
157
:
#line 10
55
"objc-parse.y"
#line 10
60
"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
158
:
case
158
:
#line 10
57
"objc-parse.y"
#line 10
62
"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
159
:
case
159
:
#line 106
1
"objc-parse.y"
#line 106
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
160
:
case
160
:
#line 106
3
"objc-parse.y"
#line 106
8
"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
163
:
case
163
:
#line 107
3
"objc-parse.y"
#line 107
8
"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
164
:
case
164
:
#line 10
77
"objc-parse.y"
#line 10
82
"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
165
:
case
165
:
#line 10
79
"objc-parse.y"
#line 10
84
"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 108
4
"objc-parse.y"
#line 108
9
"objc-parse.y"
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
get_object_reference
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
167
:
case
167
:
#line 10
86
"objc-parse.y"
#line 10
91
"objc-parse.y"
{
yyval
.
ttype
=
TREE_TYPE
(
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
TREE_TYPE
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
168
:
case
168
:
#line 10
88
"objc-parse.y"
#line 10
93
"objc-parse.y"
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
176
:
case
176
:
#line 111
0
"objc-parse.y"
#line 111
5
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
177
:
case
177
:
#line 111
2
"objc-parse.y"
#line 111
7
"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
178
:
case
178
:
#line 11
19
"objc-parse.y"
#line 11
24
"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
179
:
case
179
:
#line 112
4
"objc-parse.y"
#line 112
9
"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
180
:
case
180
:
#line 11
27
"objc-parse.y"
#line 11
32
"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
181
:
case
181
:
#line 11
35
"objc-parse.y"
#line 11
40
"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
182
:
case
182
:
#line 114
0
"objc-parse.y"
#line 114
5
"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
183
:
case
183
:
#line 114
4
"objc-parse.y"
#line 114
9
"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
184
:
case
184
:
#line 115
2
"objc-parse.y"
#line 115
7
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
185
:
case
185
:
#line 115
4
"objc-parse.y"
#line 115
9
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
186
:
case
186
:
#line 11
59
"objc-parse.y"
#line 11
64
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
187
:
case
187
:
#line 116
1
"objc-parse.y"
#line 116
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
188
:
case
188
:
#line 11
66
"objc-parse.y"
#line 11
71
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
2
].
ttype
;
;
break
;}
break
;}
case
189
:
case
189
:
#line 117
1
"objc-parse.y"
#line 117
6
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
190
:
case
190
:
#line 117
3
"objc-parse.y"
#line 117
8
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
191
:
case
191
:
#line 11
78
"objc-parse.y"
#line 11
83
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
192
:
case
192
:
#line 118
0
"objc-parse.y"
#line 118
5
"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
193
:
case
193
:
#line 118
2
"objc-parse.y"
#line 118
7
"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
194
:
case
194
:
#line 118
4
"objc-parse.y"
#line 118
9
"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
195
:
case
195
:
#line 11
86
"objc-parse.y"
#line 11
91
"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
201
:
case
201
:
#line 120
4
"objc-parse.y"
#line 120
9
"objc-parse.y"
{
really_start_incremental_init
(
NULL_TREE
);
;
{
really_start_incremental_init
(
NULL_TREE
);
;
break
;}
break
;}
case
202
:
case
202
:
#line 12
06
"objc-parse.y"
#line 12
11
"objc-parse.y"
{
yyval
.
ttype
=
pop_init_level
(
0
);
;
{
yyval
.
ttype
=
pop_init_level
(
0
);
;
break
;}
break
;}
case
203
:
case
203
:
#line 12
08
"objc-parse.y"
#line 12
13
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
204
:
case
204
:
#line 121
4
"objc-parse.y"
#line 121
9
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids empty initializer braces"
);
;
pedwarn
(
"ANSI C forbids empty initializer braces"
);
;
break
;}
break
;}
case
210
:
case
210
:
#line 123
0
"objc-parse.y"
#line 123
5
"objc-parse.y"
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
{
set_init_label
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
213
:
case
213
:
#line 12
37
"objc-parse.y"
#line 12
42
"objc-parse.y"
{
push_init_level
(
0
);
;
{
push_init_level
(
0
);
;
break
;}
break
;}
case
214
:
case
214
:
#line 12
39
"objc-parse.y"
#line 12
44
"objc-parse.y"
{
process_init_element
(
pop_init_level
(
0
));
;
{
process_init_element
(
pop_init_level
(
0
));
;
break
;}
break
;}
case
215
:
case
215
:
#line 124
1
"objc-parse.y"
#line 124
6
"objc-parse.y"
{
process_init_element
(
yyvsp
[
0
].
ttype
);
;
{
process_init_element
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
219
:
case
219
:
#line 125
2
"objc-parse.y"
#line 125
7
"objc-parse.y"
{
set_init_label
(
yyvsp
[
0
].
ttype
);
;
{
set_init_label
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
220
:
case
220
:
#line 126
0
"objc-parse.y"
#line 126
5
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids nested functions"
);
pedwarn
(
"ANSI C forbids nested functions"
);
...
@@ -3368,16 +3368,16 @@ case 220:
...
@@ -3368,16 +3368,16 @@ case 220:
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
221
:
case
221
:
#line 127
2
"objc-parse.y"
#line 127
7
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
222
:
case
222
:
#line 128
0
"objc-parse.y"
#line 128
5
"objc-parse.y"
{
finish_function
(
1
);
{
finish_function
(
1
);
pop_function_context
();
;
pop_function_context
();
;
break
;}
break
;}
case
223
:
case
223
:
#line 12
86
"objc-parse.y"
#line 12
91
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids nested functions"
);
pedwarn
(
"ANSI C forbids nested functions"
);
...
@@ -3391,195 +3391,195 @@ case 223:
...
@@ -3391,195 +3391,195 @@ case 223:
reinit_parse_for_function
();
;
reinit_parse_for_function
();
;
break
;}
break
;}
case
224
:
case
224
:
#line 1
298
"objc-parse.y"
#line 1
303
"objc-parse.y"
{
store_parm_decls
();
;
{
store_parm_decls
();
;
break
;}
break
;}
case
225
:
case
225
:
#line 13
06
"objc-parse.y"
#line 13
11
"objc-parse.y"
{
finish_function
(
1
);
{
finish_function
(
1
);
pop_function_context
();
;
pop_function_context
();
;
break
;}
break
;}
case
228
:
case
228
:
#line 132
2
"objc-parse.y"
#line 132
7
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
229
:
case
229
:
#line 132
4
"objc-parse.y"
#line 132
9
"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
230
:
case
230
:
#line 13
29
"objc-parse.y"
#line 13
34
"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
231
:
case
231
:
#line 133
1
"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
232
:
case
232
:
#line 133
3
"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
233
:
case
233
:
#line 134
0
"objc-parse.y"
#line 134
5
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
236
:
case
236
:
#line 135
2
"objc-parse.y"
#line 135
7
"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
237
:
case
237
:
#line 13
57
"objc-parse.y"
#line 13
62
"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
238
:
case
238
:
#line 13
59
"objc-parse.y"
#line 13
64
"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
239
:
case
239
:
#line 136
1
"objc-parse.y"
#line 136
6
"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 13
68
"objc-parse.y"
#line 13
73
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
242
:
case
242
:
#line 13
77
"objc-parse.y"
#line 13
82
"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
243
:
case
243
:
#line 138
2
"objc-parse.y"
#line 138
7
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
244
:
case
244
:
#line 138
4
"objc-parse.y"
#line 138
9
"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
245
:
case
245
:
#line 13
86
"objc-parse.y"
#line 13
91
"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
246
:
case
246
:
#line 13
88
"objc-parse.y"
#line 13
93
"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
247
:
case
247
:
#line 1
395
"objc-parse.y"
#line 1
400
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
249
:
case
249
:
#line 140
1
"objc-parse.y"
#line 140
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
250
:
case
250
:
#line 140
3
"objc-parse.y"
#line 140
8
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
251
:
case
251
:
#line 14
08
"objc-parse.y"
#line 14
13
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
252
:
case
252
:
#line 141
0
"objc-parse.y"
#line 141
5
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
253
:
case
253
:
#line 14
15
"objc-parse.y"
#line 14
20
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
254
:
case
254
:
#line 14
17
"objc-parse.y"
#line 14
22
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
255
:
case
255
:
#line 142
2
"objc-parse.y"
#line 142
7
"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
256
:
case
256
:
#line 14
26
"objc-parse.y"
#line 14
31
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
257
:
case
257
:
#line 14
28
"objc-parse.y"
#line 14
33
"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
,
chainon
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
0
].
ttype
));
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
0
].
ttype
));
;
;
break
;}
break
;}
case
258
:
case
258
:
#line 143
2
"objc-parse.y"
#line 143
7
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
RECORD_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
RECORD_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
259
:
case
259
:
#line 143
4
"objc-parse.y"
#line 143
9
"objc-parse.y"
{
yyval
.
ttype
=
start_struct
(
UNION_TYPE
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
start_struct
(
UNION_TYPE
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
260
:
case
260
:
#line 14
36
"objc-parse.y"
#line 14
41
"objc-parse.y"
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
{
yyval
.
ttype
=
finish_struct
(
yyvsp
[
-
3
].
ttype
,
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
261
:
case
261
:
#line 14
38
"objc-parse.y"
#line 14
43
"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
,
chainon
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
0
].
ttype
));
yyvsp
[
-
2
].
ttype
,
chainon
(
yyvsp
[
-
4
].
ttype
,
yyvsp
[
0
].
ttype
));
;
;
break
;}
break
;}
case
262
:
case
262
:
#line 144
2
"objc-parse.y"
#line 144
7
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
UNION_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
UNION_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
263
:
case
263
:
#line 144
4
"objc-parse.y"
#line 144
9
"objc-parse.y"
{
yyval
.
ttype
=
start_enum
(
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
start_enum
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
264
:
case
264
:
#line 14
46
"objc-parse.y"
#line 14
51
"objc-parse.y"
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
chainon
(
yyvsp
[
-
7
].
ttype
,
yyvsp
[
0
].
ttype
));
;
chainon
(
yyvsp
[
-
7
].
ttype
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
265
:
case
265
:
#line 14
49
"objc-parse.y"
#line 14
54
"objc-parse.y"
{
yyval
.
ttype
=
start_enum
(
NULL_TREE
);
;
{
yyval
.
ttype
=
start_enum
(
NULL_TREE
);
;
break
;}
break
;}
case
266
:
case
266
:
#line 145
1
"objc-parse.y"
#line 145
6
"objc-parse.y"
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
{
yyval
.
ttype
=
finish_enum
(
yyvsp
[
-
4
].
ttype
,
nreverse
(
yyvsp
[
-
3
].
ttype
),
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
chainon
(
yyvsp
[
-
6
].
ttype
,
yyvsp
[
0
].
ttype
));
;
break
;}
break
;}
case
267
:
case
267
:
#line 145
4
"objc-parse.y"
#line 145
9
"objc-parse.y"
{
yyval
.
ttype
=
xref_tag
(
ENUMERAL_TYPE
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
xref_tag
(
ENUMERAL_TYPE
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
271
:
case
271
:
#line 14
65
"objc-parse.y"
#line 14
70
"objc-parse.y"
{
if
(
pedantic
&&
!
flag_isoc99
)
{
if
(
pedantic
&&
!
flag_isoc99
)
pedwarn
(
"comma at end of enumerator list"
);
;
pedwarn
(
"comma at end of enumerator list"
);
;
break
;}
break
;}
case
272
:
case
272
:
#line 147
1
"objc-parse.y"
#line 147
6
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
273
:
case
273
:
#line 147
3
"objc-parse.y"
#line 147
8
"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
274
:
case
274
:
#line 14
78
"objc-parse.y"
#line 14
83
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
275
:
case
275
:
#line 148
0
"objc-parse.y"
#line 148
5
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
276
:
case
276
:
#line 148
2
"objc-parse.y"
#line 148
7
"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
277
:
case
277
:
#line 14
86
"objc-parse.y"
#line 14
91
"objc-parse.y"
{
{
tree
interface
=
lookup_interface
(
yyvsp
[
-
1
].
ttype
);
tree
interface
=
lookup_interface
(
yyvsp
[
-
1
].
ttype
);
...
@@ -3594,14 +3594,14 @@ case 277:
...
@@ -3594,14 +3594,14 @@ case 277:
;
;
break
;}
break
;}
case
278
:
case
278
:
#line 151
1
"objc-parse.y"
#line 151
6
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
279
:
case
279
:
#line 15
16
"objc-parse.y"
#line 15
21
"objc-parse.y"
{
{
/* Support for unnamed structs or unions as members of
/* Support for unnamed structs or unions as members of
structs or unions (which is [a] useful and [b] supports
structs or unions (which is [a] useful and [b] supports
...
@@ -3616,151 +3616,151 @@ case 279:
...
@@ -3616,151 +3616,151 @@ case 279:
;
;
break
;}
break
;}
case
280
:
case
280
:
#line 15
29
"objc-parse.y"
#line 15
34
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
281
:
case
281
:
#line 153
4
"objc-parse.y"
#line 153
9
"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
282
:
case
282
:
#line 15
39
"objc-parse.y"
#line 15
44
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
283
:
case
283
:
#line 154
1
"objc-parse.y"
#line 154
6
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
RESTORE_WARN_FLAGS
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
285
:
case
285
:
#line 15
48
"objc-parse.y"
#line 15
53
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
286
:
case
286
:
#line 155
3
"objc-parse.y"
#line 155
8
"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
287
:
case
287
:
#line 15
57
"objc-parse.y"
#line 15
62
"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
288
:
case
288
:
#line 156
0
"objc-parse.y"
#line 156
5
"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
290
:
case
290
:
#line 157
2
"objc-parse.y"
#line 157
7
"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
291
:
case
291
:
#line 15
77
"objc-parse.y"
#line 15
82
"objc-parse.y"
{
yyval
.
ttype
=
error_mark_node
;
;
{
yyval
.
ttype
=
error_mark_node
;
;
break
;}
break
;}
case
292
:
case
292
:
#line 158
3
"objc-parse.y"
#line 158
8
"objc-parse.y"
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
{
yyval
.
ttype
=
build_enumerator
(
yyvsp
[
0
].
ttype
,
NULL_TREE
);
;
break
;}
break
;}
case
293
:
case
293
:
#line 15
85
"objc-parse.y"
#line 15
90
"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
294
:
case
294
:
#line 159
0
"objc-parse.y"
#line 159
5
"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
295
:
case
295
:
#line 159
2
"objc-parse.y"
#line 159
7
"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
296
:
case
296
:
#line 1
597
"objc-parse.y"
#line 1
602
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
298
:
case
298
:
#line 160
3
"objc-parse.y"
#line 160
8
"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
299
:
case
299
:
#line 16
05
"objc-parse.y"
#line 16
10
"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
300
:
case
300
:
#line 161
0
"objc-parse.y"
#line 161
5
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
301
:
case
301
:
#line 161
2
"objc-parse.y"
#line 161
7
"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
302
:
case
302
:
#line 16
17
"objc-parse.y"
#line 16
22
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
break
;}
break
;}
case
303
:
case
303
:
#line 162
0
"objc-parse.y"
#line 162
5
"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
304
:
case
304
:
#line 162
2
"objc-parse.y"
#line 162
7
"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
305
:
case
305
:
#line 162
4
"objc-parse.y"
#line 162
9
"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
306
:
case
306
:
#line 16
26
"objc-parse.y"
#line 16
31
"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
307
:
case
307
:
#line 16
28
"objc-parse.y"
#line 16
33
"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
308
:
case
308
:
#line 163
0
"objc-parse.y"
#line 163
5
"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
309
:
case
309
:
#line 163
2
"objc-parse.y"
#line 163
7
"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
310
:
case
310
:
#line 163
4
"objc-parse.y"
#line 163
9
"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
311
:
case
311
:
#line 16
38
"objc-parse.y"
#line 16
43
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
312
:
case
312
:
#line 16
47
"objc-parse.y"
#line 16
52
"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
314
:
case
314
:
#line 16
56
"objc-parse.y"
#line 16
61
"objc-parse.y"
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
break
;}
break
;}
case
315
:
case
315
:
#line 16
58
"objc-parse.y"
#line 16
63
"objc-parse.y"
{
yyval
.
ends_in_label
=
0
;
;
{
yyval
.
ends_in_label
=
0
;
;
break
;}
break
;}
case
319
:
case
319
:
#line 167
0
"objc-parse.y"
#line 167
5
"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
();
...
@@ -3770,12 +3770,12 @@ case 319:
...
@@ -3770,12 +3770,12 @@ case 319:
;
;
break
;}
break
;}
case
321
:
case
321
:
#line 168
4
"objc-parse.y"
#line 168
9
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids label declarations"
);
;
pedwarn
(
"ANSI C forbids label declarations"
);
;
break
;}
break
;}
case
324
:
case
324
:
#line 1
695
"objc-parse.y"
#line 1
700
"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
))
{
{
...
@@ -3786,37 +3786,37 @@ case 324:
...
@@ -3786,37 +3786,37 @@ case 324:
;
;
break
;}
break
;}
case
325
:
case
325
:
#line 17
09
"objc-parse.y"
#line 17
14
"objc-parse.y"
{;
{;
break
;}
break
;}
case
327
:
case
327
:
#line 171
3
"objc-parse.y"
#line 171
8
"objc-parse.y"
{
compstmt_count
++
;
;
{
compstmt_count
++
;
;
break
;}
break
;}
case
328
:
case
328
:
#line 17
16
"objc-parse.y"
#line 17
21
"objc-parse.y"
{
yyval
.
ttype
=
convert
(
void_type_node
,
integer_zero_node
);
;
{
yyval
.
ttype
=
convert
(
void_type_node
,
integer_zero_node
);
;
break
;}
break
;}
case
329
:
case
329
:
#line 17
18
"objc-parse.y"
#line 17
23
"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
);
;
break
;}
break
;}
case
330
:
case
330
:
#line 172
2
"objc-parse.y"
#line 172
7
"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
);
;
break
;}
break
;}
case
331
:
case
331
:
#line 17
26
"objc-parse.y"
#line 17
31
"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
);
;
break
;}
break
;}
case
332
:
case
332
:
#line 173
3
"objc-parse.y"
#line 173
8
"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"
);
...
@@ -3834,11 +3834,11 @@ case 332:
...
@@ -3834,11 +3834,11 @@ case 332:
;
;
break
;}
break
;}
case
333
:
case
333
:
#line 175
0
"objc-parse.y"
#line 175
5
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
336
:
case
336
:
#line 176
4
"objc-parse.y"
#line 176
9
"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
);
...
@@ -3848,7 +3848,7 @@ case 336:
...
@@ -3848,7 +3848,7 @@ case 336:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
337
:
case
337
:
#line 17
78
"objc-parse.y"
#line 17
83
"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
);
...
@@ -3858,43 +3858,43 @@ case 337:
...
@@ -3858,43 +3858,43 @@ case 337:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
338
:
case
338
:
#line 17
86
"objc-parse.y"
#line 17
91
"objc-parse.y"
{
expand_loop_continue_here
();
;
{
expand_loop_continue_here
();
;
break
;}
break
;}
case
339
:
case
339
:
#line 179
0
"objc-parse.y"
#line 179
5
"objc-parse.y"
{
yyval
.
filename
=
input_filename
;
;
{
yyval
.
filename
=
input_filename
;
;
break
;}
break
;}
case
340
:
case
340
:
#line 179
4
"objc-parse.y"
#line 179
9
"objc-parse.y"
{
yyval
.
lineno
=
lineno
;
;
{
yyval
.
lineno
=
lineno
;
;
break
;}
break
;}
case
341
:
case
341
:
#line 1
799
"objc-parse.y"
#line 1
804
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
342
:
case
342
:
#line 180
4
"objc-parse.y"
#line 180
9
"objc-parse.y"
{
;
{
;
break
;}
break
;}
case
343
:
case
343
:
#line 18
09
"objc-parse.y"
#line 18
14
"objc-parse.y"
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
{
yyval
.
ends_in_label
=
yyvsp
[
0
].
ends_in_label
;
;
break
;}
break
;}
case
344
:
case
344
:
#line 181
4
"objc-parse.y"
#line 181
9
"objc-parse.y"
{
yyval
.
ends_in_label
=
0
;
;
{
yyval
.
ends_in_label
=
0
;
;
break
;}
break
;}
case
345
:
case
345
:
#line 18
16
"objc-parse.y"
#line 18
21
"objc-parse.y"
{
yyval
.
ends_in_label
=
1
;
;
{
yyval
.
ends_in_label
=
1
;
;
break
;}
break
;}
case
346
:
case
346
:
#line 182
2
"objc-parse.y"
#line 182
7
"objc-parse.y"
{
stmt_count
++
;
;
{
stmt_count
++
;
;
break
;}
break
;}
case
348
:
case
348
:
#line 18
25
"objc-parse.y"
#line 18
30
"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
...
@@ -3912,19 +3912,19 @@ case 348:
...
@@ -3912,19 +3912,19 @@ case 348:
iterator_expand
(
yyvsp
[
-
1
].
ttype
);
;
iterator_expand
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
349
:
case
349
:
#line 184
1
"objc-parse.y"
#line 184
6
"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
350
:
case
350
:
#line 18
45
"objc-parse.y"
#line 18
50
"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
351
:
case
351
:
#line 18
49
"objc-parse.y"
#line 18
54
"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
...
@@ -3935,11 +3935,11 @@ case 351:
...
@@ -3935,11 +3935,11 @@ case 351:
"empty body in an if-statement"
);
;
"empty body in an if-statement"
);
;
break
;}
break
;}
case
352
:
case
352
:
#line 186
1
"objc-parse.y"
#line 186
6
"objc-parse.y"
{
c_expand_end_cond
();
;
{
c_expand_end_cond
();
;
break
;}
break
;}
case
353
:
case
353
:
#line 186
3
"objc-parse.y"
#line 186
8
"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,
...
@@ -3951,7 +3951,7 @@ case 353:
...
@@ -3951,7 +3951,7 @@ case 353:
emit_nop
();
;
emit_nop
();
;
break
;}
break
;}
case
354
:
case
354
:
#line 187
3
"objc-parse.y"
#line 187
8
"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. */
...
@@ -3962,22 +3962,22 @@ case 354:
...
@@ -3962,22 +3962,22 @@ case 354:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
355
:
case
355
:
#line 188
2
"objc-parse.y"
#line 188
7
"objc-parse.y"
{
expand_end_loop
();
;
{
expand_end_loop
();
;
break
;}
break
;}
case
356
:
case
356
:
#line 18
85
"objc-parse.y"
#line 18
90
"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
));
expand_end_loop
();
;
expand_end_loop
();
;
break
;}
break
;}
case
357
:
case
357
:
#line 189
1
"objc-parse.y"
#line 189
6
"objc-parse.y"
{
expand_end_loop
();
;
{
expand_end_loop
();
;
break
;}
break
;}
case
358
:
case
358
:
#line 189
4
"objc-parse.y"
#line 189
9
"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. */
...
@@ -3990,12 +3990,12 @@ case 358:
...
@@ -3990,12 +3990,12 @@ case 358:
;
;
break
;}
break
;}
case
359
:
case
359
:
#line 19
06
"objc-parse.y"
#line 19
11
"objc-parse.y"
{
yyvsp
[
0
].
lineno
=
lineno
;
{
yyvsp
[
0
].
lineno
=
lineno
;
yyval
.
filename
=
input_filename
;
;
yyval
.
filename
=
input_filename
;
;
break
;}
break
;}
case
360
:
case
360
:
#line 19
09
"objc-parse.y"
#line 19
14
"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. */
...
@@ -4010,7 +4010,7 @@ case 360:
...
@@ -4010,7 +4010,7 @@ case 360:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
361
:
case
361
:
#line 192
2
"objc-parse.y"
#line 192
7
"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
();
...
@@ -4019,44 +4019,44 @@ case 361:
...
@@ -4019,44 +4019,44 @@ case 361:
expand_end_loop
();
;
expand_end_loop
();
;
break
;}
break
;}
case
362
:
case
362
:
#line 19
29
"objc-parse.y"
#line 19
34
"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
);
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
363
:
case
363
:
#line 193
4
"objc-parse.y"
#line 193
9
"objc-parse.y"
{
expand_end_case
(
yyvsp
[
-
3
].
ttype
);
;
{
expand_end_case
(
yyvsp
[
-
3
].
ttype
);
;
break
;}
break
;}
case
364
:
case
364
:
#line 19
36
"objc-parse.y"
#line 19
41
"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
365
:
case
365
:
#line 194
1
"objc-parse.y"
#line 194
6
"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
366
:
case
366
:
#line 19
46
"objc-parse.y"
#line 19
51
"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
367
:
case
367
:
#line 195
0
"objc-parse.y"
#line 195
5
"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
368
:
case
368
:
#line 195
4
"objc-parse.y"
#line 195
9
"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
);
...
@@ -4068,7 +4068,7 @@ case 368:
...
@@ -4068,7 +4068,7 @@ case 368:
error
(
"argument of `asm' is not a constant string"
);
;
error
(
"argument of `asm' is not a constant string"
);
;
break
;}
break
;}
case
369
:
case
369
:
#line 19
65
"objc-parse.y"
#line 19
70
"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
,
...
@@ -4076,7 +4076,7 @@ case 369:
...
@@ -4076,7 +4076,7 @@ case 369:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
370
:
case
370
:
#line 197
2
"objc-parse.y"
#line 197
7
"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
,
...
@@ -4084,7 +4084,7 @@ case 370:
...
@@ -4084,7 +4084,7 @@ case 370:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
371
:
case
371
:
#line 198
0
"objc-parse.y"
#line 198
5
"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
,
...
@@ -4092,7 +4092,7 @@ case 371:
...
@@ -4092,7 +4092,7 @@ case 371:
input_filename
,
lineno
);
;
input_filename
,
lineno
);
;
break
;}
break
;}
case
372
:
case
372
:
#line 19
86
"objc-parse.y"
#line 19
91
"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
);
...
@@ -4105,7 +4105,7 @@ case 372:
...
@@ -4105,7 +4105,7 @@ case 372:
;
;
break
;}
break
;}
case
373
:
case
373
:
#line
1997
"objc-parse.y"
#line
2002
"objc-parse.y"
{
if
(
pedantic
)
{
if
(
pedantic
)
pedwarn
(
"ANSI C forbids `goto *expr;'"
);
pedwarn
(
"ANSI C forbids `goto *expr;'"
);
stmt_count
++
;
stmt_count
++
;
...
@@ -4113,7 +4113,7 @@ case 373:
...
@@ -4113,7 +4113,7 @@ case 373:
expand_computed_goto
(
convert
(
ptr_type_node
,
yyvsp
[
-
1
].
ttype
));
;
expand_computed_goto
(
convert
(
ptr_type_node
,
yyvsp
[
-
1
].
ttype
));
;
break
;}
break
;}
case
376
:
case
376
:
#line 201
2
"objc-parse.y"
#line 201
7
"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 */
...
@@ -4136,14 +4136,14 @@ case 376:
...
@@ -4136,14 +4136,14 @@ case 376:
;
;
break
;}
break
;}
case
377
:
case
377
:
#line 203
3
"objc-parse.y"
#line 203
8
"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
378
:
case
378
:
#line 206
4
"objc-parse.y"
#line 206
9
"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
);
...
@@ -4176,7 +4176,7 @@ case 378:
...
@@ -4176,7 +4176,7 @@ case 378:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
379
:
case
379
:
#line 2
095
"objc-parse.y"
#line 2
100
"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
...
@@ -4209,7 +4209,7 @@ case 379:
...
@@ -4209,7 +4209,7 @@ case 379:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
380
:
case
380
:
#line 21
26
"objc-parse.y"
#line 21
31
"objc-parse.y"
{
{
tree
duplicate
;
tree
duplicate
;
register
tree
label
register
tree
label
...
@@ -4226,7 +4226,7 @@ case 380:
...
@@ -4226,7 +4226,7 @@ case 380:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
381
:
case
381
:
#line 214
1
"objc-parse.y"
#line 214
6
"objc-parse.y"
{
tree
label
=
define_label
(
input_filename
,
lineno
,
yyvsp
[
-
2
].
ttype
);
{
tree
label
=
define_label
(
input_filename
,
lineno
,
yyvsp
[
-
2
].
ttype
);
stmt_count
++
;
stmt_count
++
;
emit_nop
();
emit_nop
();
...
@@ -4238,52 +4238,52 @@ case 381:
...
@@ -4238,52 +4238,52 @@ case 381:
position_after_white_space
();
;
position_after_white_space
();
;
break
;}
break
;}
case
382
:
case
382
:
#line 21
56
"objc-parse.y"
#line 21
61
"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
383
:
case
383
:
#line 21
59
"objc-parse.y"
#line 21
64
"objc-parse.y"
{
emit_line_note
(
input_filename
,
lineno
);
;
{
emit_line_note
(
input_filename
,
lineno
);
;
break
;}
break
;}
case
384
:
case
384
:
#line 216
4
"objc-parse.y"
#line 216
9
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
386
:
case
386
:
#line 217
1
"objc-parse.y"
#line 217
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
389
:
case
389
:
#line 21
78
"objc-parse.y"
#line 21
83
"objc-parse.y"
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
390
:
case
390
:
#line 218
3
"objc-parse.y"
#line 218
8
"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
391
:
case
391
:
#line 21
88
"objc-parse.y"
#line 21
93
"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
392
:
case
392
:
#line 219
0
"objc-parse.y"
#line 219
5
"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
393
:
case
393
:
#line 2
196
"objc-parse.y"
#line 2
201
"objc-parse.y"
{
pushlevel
(
0
);
{
pushlevel
(
0
);
clear_parm_order
();
clear_parm_order
();
declare_parm_level
(
0
);
;
declare_parm_level
(
0
);
;
break
;}
break
;}
case
394
:
case
394
:
#line 220
0
"objc-parse.y"
#line 220
5
"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
396
:
case
396
:
#line 22
08
"objc-parse.y"
#line 22
13
"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"
);
...
@@ -4293,19 +4293,19 @@ case 396:
...
@@ -4293,19 +4293,19 @@ case 396:
clear_parm_order
();
;
clear_parm_order
();
;
break
;}
break
;}
case
397
:
case
397
:
#line 22
16
"objc-parse.y"
#line 22
21
"objc-parse.y"
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
{
yyval
.
ttype
=
yyvsp
[
0
].
ttype
;
;
break
;}
break
;}
case
398
:
case
398
:
#line 22
18
"objc-parse.y"
#line 22
23
"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
399
:
case
399
:
#line 222
4
"objc-parse.y"
#line 222
9
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
break
;}
break
;}
case
400
:
case
400
:
#line 22
26
"objc-parse.y"
#line 22
31
"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.
...
@@ -4317,23 +4317,23 @@ case 400:
...
@@ -4317,23 +4317,23 @@ case 400:
;
;
break
;}
break
;}
case
401
:
case
401
:
#line 22
36
"objc-parse.y"
#line 22
41
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
1
);
;
{
yyval
.
ttype
=
get_parm_info
(
1
);
;
break
;}
break
;}
case
402
:
case
402
:
#line 22
38
"objc-parse.y"
#line 22
43
"objc-parse.y"
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
{
yyval
.
ttype
=
get_parm_info
(
0
);
;
break
;}
break
;}
case
403
:
case
403
:
#line 224
3
"objc-parse.y"
#line 224
8
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
404
:
case
404
:
#line 22
45
"objc-parse.y"
#line 22
50
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
405
:
case
405
:
#line 225
2
"objc-parse.y"
#line 225
7
"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
,
...
@@ -4343,7 +4343,7 @@ case 405:
...
@@ -4343,7 +4343,7 @@ case 405:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
406
:
case
406
:
#line 226
0
"objc-parse.y"
#line 226
5
"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
,
...
@@ -4353,7 +4353,7 @@ case 406:
...
@@ -4353,7 +4353,7 @@ case 406:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
407
:
case
407
:
#line 22
68
"objc-parse.y"
#line 22
73
"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
,
...
@@ -4363,7 +4363,7 @@ case 407:
...
@@ -4363,7 +4363,7 @@ case 407:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
408
:
case
408
:
#line 22
76
"objc-parse.y"
#line 22
81
"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
,
...
@@ -4373,7 +4373,7 @@ case 408:
...
@@ -4373,7 +4373,7 @@ case 408:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
409
:
case
409
:
#line 22
85
"objc-parse.y"
#line 22
90
"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
,
...
@@ -4383,19 +4383,19 @@ case 409:
...
@@ -4383,19 +4383,19 @@ case 409:
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
410
:
case
410
:
#line 2
298
"objc-parse.y"
#line 2
303
"objc-parse.y"
{
pushlevel
(
0
);
{
pushlevel
(
0
);
clear_parm_order
();
clear_parm_order
();
declare_parm_level
(
1
);
;
declare_parm_level
(
1
);
;
break
;}
break
;}
case
411
:
case
411
:
#line 230
2
"objc-parse.y"
#line 230
7
"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
413
:
case
413
:
#line 231
0
"objc-parse.y"
#line 231
5
"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
)
...
@@ -4403,29 +4403,29 @@ case 413:
...
@@ -4403,29 +4403,29 @@ case 413:
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
414
:
case
414
:
#line 232
0
"objc-parse.y"
#line 232
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
415
:
case
415
:
#line 232
2
"objc-parse.y"
#line 232
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
416
:
case
416
:
#line 23
28
"objc-parse.y"
#line 23
33
"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
417
:
case
417
:
#line 233
0
"objc-parse.y"
#line 233
5
"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
418
:
case
418
:
#line 23
35
"objc-parse.y"
#line 23
40
"objc-parse.y"
{
yyval
.
ttype
=
SAVE_WARN_FLAGS
();
{
yyval
.
ttype
=
SAVE_WARN_FLAGS
();
pedantic
=
0
;
pedantic
=
0
;
warn_pointer_arith
=
0
;
;
warn_pointer_arith
=
0
;
;
break
;}
break
;}
case
424
:
case
424
:
#line 23
49
"objc-parse.y"
#line 23
54
"objc-parse.y"
{
{
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
{
{
...
@@ -4438,27 +4438,27 @@ case 424:
...
@@ -4438,27 +4438,27 @@ case 424:
;
;
break
;}
break
;}
case
425
:
case
425
:
#line 236
4
"objc-parse.y"
#line 236
9
"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
426
:
case
426
:
#line 23
66
"objc-parse.y"
#line 23
71
"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
427
:
case
427
:
#line 237
1
"objc-parse.y"
#line 237
6
"objc-parse.y"
{
{
objc_declare_class
(
yyvsp
[
-
1
].
ttype
);
objc_declare_class
(
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
428
:
case
428
:
#line 23
77
"objc-parse.y"
#line 23
82
"objc-parse.y"
{
{
objc_declare_alias
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
objc_declare_alias
(
yyvsp
[
-
2
].
ttype
,
yyvsp
[
-
1
].
ttype
);
;
;
break
;}
break
;}
case
429
:
case
429
:
#line 238
3
"objc-parse.y"
#line 238
8
"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
);
...
@@ -4466,20 +4466,20 @@ case 429:
...
@@ -4466,20 +4466,20 @@ case 429:
;
;
break
;}
break
;}
case
430
:
case
430
:
#line 23
89
"objc-parse.y"
#line 23
94
"objc-parse.y"
{
{
continue_class
(
objc_interface_context
);
continue_class
(
objc_interface_context
);
;
;
break
;}
break
;}
case
431
:
case
431
:
#line 239
4
"objc-parse.y"
#line 239
9
"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
432
:
case
432
:
#line 240
0
"objc-parse.y"
#line 240
5
"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
);
...
@@ -4487,14 +4487,14 @@ case 432:
...
@@ -4487,14 +4487,14 @@ case 432:
;
;
break
;}
break
;}
case
433
:
case
433
:
#line 24
07
"objc-parse.y"
#line 24
12
"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
434
:
case
434
:
#line 241
3
"objc-parse.y"
#line 241
8
"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
);
...
@@ -4502,20 +4502,20 @@ case 434:
...
@@ -4502,20 +4502,20 @@ case 434:
;
;
break
;}
break
;}
case
435
:
case
435
:
#line 24
19
"objc-parse.y"
#line 24
24
"objc-parse.y"
{
{
continue_class
(
objc_interface_context
);
continue_class
(
objc_interface_context
);
;
;
break
;}
break
;}
case
436
:
case
436
:
#line 242
4
"objc-parse.y"
#line 242
9
"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
437
:
case
437
:
#line 243
0
"objc-parse.y"
#line 243
5
"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
);
...
@@ -4523,14 +4523,14 @@ case 437:
...
@@ -4523,14 +4523,14 @@ case 437:
;
;
break
;}
break
;}
case
438
:
case
438
:
#line 24
37
"objc-parse.y"
#line 24
42
"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
439
:
case
439
:
#line 244
3
"objc-parse.y"
#line 244
8
"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
);
...
@@ -4538,14 +4538,14 @@ case 439:
...
@@ -4538,14 +4538,14 @@ case 439:
;
;
break
;}
break
;}
case
440
:
case
440
:
#line 24
49
"objc-parse.y"
#line 24
54
"objc-parse.y"
{
{
objc_ivar_chain
objc_ivar_chain
=
continue_class
(
objc_implementation_context
);
=
continue_class
(
objc_implementation_context
);
;
;
break
;}
break
;}
case
441
:
case
441
:
#line 24
55
"objc-parse.y"
#line 24
60
"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
);
...
@@ -4554,7 +4554,7 @@ case 441:
...
@@ -4554,7 +4554,7 @@ case 441:
;
;
break
;}
break
;}
case
442
:
case
442
:
#line 246
3
"objc-parse.y"
#line 246
8
"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
);
...
@@ -4562,14 +4562,14 @@ case 442:
...
@@ -4562,14 +4562,14 @@ case 442:
;
;
break
;}
break
;}
case
443
:
case
443
:
#line 24
69
"objc-parse.y"
#line 24
74
"objc-parse.y"
{
{
objc_ivar_chain
objc_ivar_chain
=
continue_class
(
objc_implementation_context
);
=
continue_class
(
objc_implementation_context
);
;
;
break
;}
break
;}
case
444
:
case
444
:
#line 24
75
"objc-parse.y"
#line 24
80
"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
);
...
@@ -4578,7 +4578,7 @@ case 444:
...
@@ -4578,7 +4578,7 @@ case 444:
;
;
break
;}
break
;}
case
445
:
case
445
:
#line 248
3
"objc-parse.y"
#line 248
8
"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
);
...
@@ -4586,14 +4586,14 @@ case 445:
...
@@ -4586,14 +4586,14 @@ case 445:
;
;
break
;}
break
;}
case
446
:
case
446
:
#line 249
0
"objc-parse.y"
#line 249
5
"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
447
:
case
447
:
#line 2
496
"objc-parse.y"
#line 2
501
"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
);
...
@@ -4602,7 +4602,7 @@ case 447:
...
@@ -4602,7 +4602,7 @@ case 447:
;
;
break
;}
break
;}
case
448
:
case
448
:
#line 25
06
"objc-parse.y"
#line 25
11
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
objc_interface_context
objc_interface_context
...
@@ -4610,7 +4610,7 @@ case 448:
...
@@ -4610,7 +4610,7 @@ case 448:
;
;
break
;}
break
;}
case
449
:
case
449
:
#line 251
2
"objc-parse.y"
#line 251
7
"objc-parse.y"
{
{
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
finish_protocol
(
objc_interface_context
);
finish_protocol
(
objc_interface_context
);
...
@@ -4618,13 +4618,13 @@ case 449:
...
@@ -4618,13 +4618,13 @@ case 449:
;
;
break
;}
break
;}
case
450
:
case
450
:
#line 252
1
"objc-parse.y"
#line 252
6
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
452
:
case
452
:
#line 25
29
"objc-parse.y"
#line 25
34
"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
;
...
@@ -4633,54 +4633,54 @@ case 452:
...
@@ -4633,54 +4633,54 @@ case 452:
;
;
break
;}
break
;}
case
455
:
case
455
:
#line 254
3
"objc-parse.y"
#line 254
8
"objc-parse.y"
{
objc_public_flag
=
2
;
;
{
objc_public_flag
=
2
;
;
break
;}
break
;}
case
456
:
case
456
:
#line 254
4
"objc-parse.y"
#line 254
9
"objc-parse.y"
{
objc_public_flag
=
0
;
;
{
objc_public_flag
=
0
;
;
break
;}
break
;}
case
457
:
case
457
:
#line 25
45
"objc-parse.y"
#line 25
50
"objc-parse.y"
{
objc_public_flag
=
1
;
;
{
objc_public_flag
=
1
;
;
break
;}
break
;}
case
458
:
case
458
:
#line 255
0
"objc-parse.y"
#line 255
5
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
460
:
case
460
:
#line 25
55
"objc-parse.y"
#line 25
60
"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
461
:
case
461
:
#line 257
3
"objc-parse.y"
#line 257
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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
462
:
case
462
:
#line 25
78
"objc-parse.y"
#line 25
83
"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
);
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
declspec_stack
=
TREE_CHAIN
(
declspec_stack
);
;
break
;}
break
;}
case
463
:
case
463
:
#line 258
3
"objc-parse.y"
#line 258
8
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
464
:
case
464
:
#line 25
88
"objc-parse.y"
#line 25
93
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
467
:
case
467
:
#line 2
595
"objc-parse.y"
#line 2
600
"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
,
...
@@ -4689,7 +4689,7 @@ case 467:
...
@@ -4689,7 +4689,7 @@ case 467:
;
;
break
;}
break
;}
case
468
:
case
468
:
#line 260
2
"objc-parse.y"
#line 260
7
"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
,
...
@@ -4697,7 +4697,7 @@ case 468:
...
@@ -4697,7 +4697,7 @@ case 468:
;
;
break
;}
break
;}
case
469
:
case
469
:
#line 26
08
"objc-parse.y"
#line 26
13
"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
,
...
@@ -4706,7 +4706,7 @@ case 469:
...
@@ -4706,7 +4706,7 @@ case 469:
;
;
break
;}
break
;}
case
470
:
case
470
:
#line 26
18
"objc-parse.y"
#line 26
23
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
...
@@ -4716,7 +4716,7 @@ case 470:
...
@@ -4716,7 +4716,7 @@ case 470:
;
;
break
;}
break
;}
case
471
:
case
471
:
#line 26
26
"objc-parse.y"
#line 26
31
"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
);
...
@@ -4725,20 +4725,20 @@ case 471:
...
@@ -4725,20 +4725,20 @@ case 471:
;
;
break
;}
break
;}
case
472
:
case
472
:
#line 263
3
"objc-parse.y"
#line 263
8
"objc-parse.y"
{
{
continue_method_def
();
continue_method_def
();
;
;
break
;}
break
;}
case
473
:
case
473
:
#line 26
37
"objc-parse.y"
#line 26
42
"objc-parse.y"
{
{
finish_method_def
();
finish_method_def
();
objc_method_context
=
NULL_TREE
;
objc_method_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
474
:
case
474
:
#line 264
3
"objc-parse.y"
#line 264
8
"objc-parse.y"
{
{
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
if
(
objc_implementation_context
)
if
(
objc_implementation_context
)
...
@@ -4748,7 +4748,7 @@ case 474:
...
@@ -4748,7 +4748,7 @@ case 474:
;
;
break
;}
break
;}
case
475
:
case
475
:
#line 265
1
"objc-parse.y"
#line 265
6
"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
);
...
@@ -4757,28 +4757,28 @@ case 475:
...
@@ -4757,28 +4757,28 @@ case 475:
;
;
break
;}
break
;}
case
476
:
case
476
:
#line 26
58
"objc-parse.y"
#line 26
63
"objc-parse.y"
{
{
continue_method_def
();
continue_method_def
();
;
;
break
;}
break
;}
case
477
:
case
477
:
#line 266
2
"objc-parse.y"
#line 266
7
"objc-parse.y"
{
{
finish_method_def
();
finish_method_def
();
objc_method_context
=
NULL_TREE
;
objc_method_context
=
NULL_TREE
;
;
;
break
;}
break
;}
case
479
:
case
479
:
#line 267
4
"objc-parse.y"
#line 267
9
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
484
:
case
484
:
#line 268
1
"objc-parse.y"
#line 268
6
"objc-parse.y"
{
yyval
.
ttype
=
NULL_TREE
;
;
{
yyval
.
ttype
=
NULL_TREE
;
;
break
;}
break
;}
case
488
:
case
488
:
#line 269
1
"objc-parse.y"
#line 269
6
"objc-parse.y"
{
{
/* Remember protocol qualifiers in prototypes. */
/* Remember protocol qualifiers in prototypes. */
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
...
@@ -4786,7 +4786,7 @@ case 488:
...
@@ -4786,7 +4786,7 @@ case 488:
;
;
break
;}
break
;}
case
489
:
case
489
:
#line 2
697
"objc-parse.y"
#line 2
702
"objc-parse.y"
{
{
/* Forget protocol qualifiers here. */
/* Forget protocol qualifiers here. */
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
...
@@ -4794,7 +4794,7 @@ case 489:
...
@@ -4794,7 +4794,7 @@ case 489:
;
;
break
;}
break
;}
case
491
:
case
491
:
#line 27
05
"objc-parse.y"
#line 27
10
"objc-parse.y"
{
{
/* Remember protocol qualifiers in prototypes. */
/* Remember protocol qualifiers in prototypes. */
remember_protocol_qualifiers
();
remember_protocol_qualifiers
();
...
@@ -4802,7 +4802,7 @@ case 491:
...
@@ -4802,7 +4802,7 @@ case 491:
;
;
break
;}
break
;}
case
492
:
case
492
:
#line 271
1
"objc-parse.y"
#line 271
6
"objc-parse.y"
{
{
/* Forget protocol qualifiers here. */
/* Forget protocol qualifiers here. */
forget_protocol_qualifiers
();
forget_protocol_qualifiers
();
...
@@ -4810,93 +4810,93 @@ case 492:
...
@@ -4810,93 +4810,93 @@ case 492:
;
;
break
;}
break
;}
case
494
:
case
494
:
#line 272
1
"objc-parse.y"
#line 272
6
"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
495
:
case
495
:
#line 27
26
"objc-parse.y"
#line 27
31
"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
496
:
case
496
:
#line 273
1
"objc-parse.y"
#line 273
6
"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
497
:
case
497
:
#line 27
36
"objc-parse.y"
#line 27
41
"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
506
:
case
506
:
#line 27
66
"objc-parse.y"
#line 27
71
"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
);
;
break
;}
break
;}
case
507
:
case
507
:
#line 277
0
"objc-parse.y"
#line 277
5
"objc-parse.y"
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
{
shadow_tag
(
yyvsp
[
-
1
].
ttype
);
;
break
;}
break
;}
case
508
:
case
508
:
#line 277
2
"objc-parse.y"
#line 277
7
"objc-parse.y"
{
pedwarn
(
"empty declaration"
);
;
{
pedwarn
(
"empty declaration"
);
;
break
;}
break
;}
case
509
:
case
509
:
#line 27
77
"objc-parse.y"
#line 27
82
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
510
:
case
510
:
#line 27
79
"objc-parse.y"
#line 27
84
"objc-parse.y"
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
{
push_parm_decl
(
yyvsp
[
0
].
ttype
);
;
break
;}
break
;}
case
511
:
case
511
:
#line 27
87
"objc-parse.y"
#line 27
92
"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
512
:
case
512
:
#line 279
2
"objc-parse.y"
#line 279
7
"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
513
:
case
513
:
#line 2
797
"objc-parse.y"
#line 2
802
"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
514
:
case
514
:
#line 28
05
"objc-parse.y"
#line 28
10
"objc-parse.y"
{
{
yyval
.
ttype
=
NULL_TREE
;
yyval
.
ttype
=
NULL_TREE
;
;
;
break
;}
break
;}
case
515
:
case
515
:
#line 28
09
"objc-parse.y"
#line 28
14
"objc-parse.y"
{
{
/* oh what a kludge! */
/* oh what a kludge! */
yyval
.
ttype
=
objc_ellipsis_node
;
yyval
.
ttype
=
objc_ellipsis_node
;
;
;
break
;}
break
;}
case
516
:
case
516
:
#line 281
4
"objc-parse.y"
#line 281
9
"objc-parse.y"
{
{
pushlevel
(
0
);
pushlevel
(
0
);
;
;
break
;}
break
;}
case
517
:
case
517
:
#line 28
18
"objc-parse.y"
#line 28
23
"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
;
...
@@ -4904,119 +4904,119 @@ case 517:
...
@@ -4904,119 +4904,119 @@ case 517:
;
;
break
;}
break
;}
case
520
:
case
520
:
#line 283
3
"objc-parse.y"
#line 283
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
525
:
case
525
:
#line 28
46
"objc-parse.y"
#line 28
51
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
526
:
case
526
:
#line 28
47
"objc-parse.y"
#line 28
52
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
527
:
case
527
:
#line 28
48
"objc-parse.y"
#line 28
53
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
528
:
case
528
:
#line 28
49
"objc-parse.y"
#line 28
54
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
529
:
case
529
:
#line 285
0
"objc-parse.y"
#line 285
5
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
530
:
case
530
:
#line 285
1
"objc-parse.y"
#line 285
6
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
531
:
case
531
:
#line 285
2
"objc-parse.y"
#line 285
7
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
532
:
case
532
:
#line 285
3
"objc-parse.y"
#line 285
8
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
533
:
case
533
:
#line 285
4
"objc-parse.y"
#line 285
9
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
534
:
case
534
:
#line 28
55
"objc-parse.y"
#line 28
60
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
535
:
case
535
:
#line 28
56
"objc-parse.y"
#line 28
61
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
536
:
case
536
:
#line 28
57
"objc-parse.y"
#line 28
62
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
537
:
case
537
:
#line 28
58
"objc-parse.y"
#line 28
63
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
538
:
case
538
:
#line 28
59
"objc-parse.y"
#line 28
64
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
539
:
case
539
:
#line 286
0
"objc-parse.y"
#line 286
5
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
540
:
case
540
:
#line 286
1
"objc-parse.y"
#line 286
6
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
541
:
case
541
:
#line 286
2
"objc-parse.y"
#line 286
7
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
542
:
case
542
:
#line 286
3
"objc-parse.y"
#line 286
8
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
543
:
case
543
:
#line 286
4
"objc-parse.y"
#line 286
9
"objc-parse.y"
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
{
yyval
.
ttype
=
get_identifier
(
token_buffer
);
;
break
;}
break
;}
case
546
:
case
546
:
#line 287
0
"objc-parse.y"
#line 287
5
"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
547
:
case
547
:
#line 28
75
"objc-parse.y"
#line 28
80
"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
548
:
case
548
:
#line 288
0
"objc-parse.y"
#line 288
5
"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
549
:
case
549
:
#line 28
85
"objc-parse.y"
#line 28
90
"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
553
:
case
553
:
#line 2
898
"objc-parse.y"
#line 2
903
"objc-parse.y"
{
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
554
:
case
554
:
#line 29
06
"objc-parse.y"
#line 29
11
"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 */
...
@@ -5027,69 +5027,69 @@ case 554:
...
@@ -5027,69 +5027,69 @@ case 554:
;
;
break
;}
break
;}
case
555
:
case
555
:
#line 29
18
"objc-parse.y"
#line 29
23
"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
556
:
case
556
:
#line 292
2
"objc-parse.y"
#line 292
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
558
:
case
558
:
#line 293
0
"objc-parse.y"
#line 293
5
"objc-parse.y"
{
{
yyval
.
ttype
=
get_class_reference
(
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
get_class_reference
(
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
559
:
case
559
:
#line 29
37
"objc-parse.y"
#line 29
42
"objc-parse.y"
{
objc_receiver_context
=
1
;
;
{
objc_receiver_context
=
1
;
;
break
;}
break
;}
case
560
:
case
560
:
#line 29
39
"objc-parse.y"
#line 29
44
"objc-parse.y"
{
objc_receiver_context
=
0
;
;
{
objc_receiver_context
=
0
;
;
break
;}
break
;}
case
561
:
case
561
:
#line 294
1
"objc-parse.y"
#line 294
6
"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
565
:
case
565
:
#line 295
4
"objc-parse.y"
#line 295
9
"objc-parse.y"
{
{
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
yyval
.
ttype
=
chainon
(
yyvsp
[
-
1
].
ttype
,
yyvsp
[
0
].
ttype
);
;
;
break
;}
break
;}
case
566
:
case
566
:
#line 296
1
"objc-parse.y"
#line 296
6
"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
567
:
case
567
:
#line 29
65
"objc-parse.y"
#line 29
70
"objc-parse.y"
{
{
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
NULL_TREE
);
yyval
.
ttype
=
build_tree_list
(
NULL_TREE
,
NULL_TREE
);
;
;
break
;}
break
;}
case
568
:
case
568
:
#line 297
2
"objc-parse.y"
#line 297
7
"objc-parse.y"
{
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
;
break
;}
break
;}
case
569
:
case
569
:
#line 29
79
"objc-parse.y"
#line 29
84
"objc-parse.y"
{
{
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
yyval
.
ttype
=
yyvsp
[
-
1
].
ttype
;
;
;
break
;}
break
;}
case
570
:
case
570
:
#line 29
88
"objc-parse.y"
#line 29
93
"objc-parse.y"
{
{
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
yyval
.
ttype
=
groktypename
(
yyvsp
[
-
1
].
ttype
);
;
;
...
@@ -5316,5 +5316,5 @@ yyerrhandle:
...
@@ -5316,5 +5316,5 @@ yyerrhandle:
}
}
return
1
;
return
1
;
}
}
#line 299
3
"objc-parse.y"
#line 299
8
"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