1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
|
/* A Bison parser, made from ./parse-scan.y
by GNU Bison version 1.25
*/
#define YYBISON 1 /* Identify Bison output. */
#define PLUS_TK 258
#define MINUS_TK 259
#define MULT_TK 260
#define DIV_TK 261
#define REM_TK 262
#define LS_TK 263
#define SRS_TK 264
#define ZRS_TK 265
#define AND_TK 266
#define XOR_TK 267
#define OR_TK 268
#define BOOL_AND_TK 269
#define BOOL_OR_TK 270
#define EQ_TK 271
#define NEQ_TK 272
#define GT_TK 273
#define GTE_TK 274
#define LT_TK 275
#define LTE_TK 276
#define PLUS_ASSIGN_TK 277
#define MINUS_ASSIGN_TK 278
#define MULT_ASSIGN_TK 279
#define DIV_ASSIGN_TK 280
#define REM_ASSIGN_TK 281
#define LS_ASSIGN_TK 282
#define SRS_ASSIGN_TK 283
#define ZRS_ASSIGN_TK 284
#define AND_ASSIGN_TK 285
#define XOR_ASSIGN_TK 286
#define OR_ASSIGN_TK 287
#define PUBLIC_TK 288
#define PRIVATE_TK 289
#define PROTECTED_TK 290
#define STATIC_TK 291
#define FINAL_TK 292
#define SYNCHRONIZED_TK 293
#define VOLATILE_TK 294
#define TRANSIENT_TK 295
#define NATIVE_TK 296
#define PAD_TK 297
#define ABSTRACT_TK 298
#define MODIFIER_TK 299
#define DECR_TK 300
#define INCR_TK 301
#define DEFAULT_TK 302
#define IF_TK 303
#define THROW_TK 304
#define BOOLEAN_TK 305
#define DO_TK 306
#define IMPLEMENTS_TK 307
#define THROWS_TK 308
#define BREAK_TK 309
#define IMPORT_TK 310
#define ELSE_TK 311
#define INSTANCEOF_TK 312
#define RETURN_TK 313
#define VOID_TK 314
#define CATCH_TK 315
#define INTERFACE_TK 316
#define CASE_TK 317
#define EXTENDS_TK 318
#define FINALLY_TK 319
#define SUPER_TK 320
#define WHILE_TK 321
#define CLASS_TK 322
#define SWITCH_TK 323
#define CONST_TK 324
#define TRY_TK 325
#define FOR_TK 326
#define NEW_TK 327
#define CONTINUE_TK 328
#define GOTO_TK 329
#define PACKAGE_TK 330
#define THIS_TK 331
#define BYTE_TK 332
#define SHORT_TK 333
#define INT_TK 334
#define LONG_TK 335
#define CHAR_TK 336
#define INTEGRAL_TK 337
#define FLOAT_TK 338
#define DOUBLE_TK 339
#define FP_TK 340
#define ID_TK 341
#define REL_QM_TK 342
#define REL_CL_TK 343
#define NOT_TK 344
#define NEG_TK 345
#define ASSIGN_ANY_TK 346
#define ASSIGN_TK 347
#define OP_TK 348
#define CP_TK 349
#define OCB_TK 350
#define CCB_TK 351
#define OSB_TK 352
#define CSB_TK 353
#define SC_TK 354
#define C_TK 355
#define DOT_TK 356
#define STRING_LIT_TK 357
#define CHAR_LIT_TK 358
#define INT_LIT_TK 359
#define FP_LIT_TK 360
#define TRUE_TK 361
#define FALSE_TK 362
#define BOOL_LIT_TK 363
#define NULL_TK 364
#line 37 "./parse-scan.y"
#define JC1_LITE
#include "config.h"
#include "system.h"
#include "obstack.h"
#include "toplev.h"
extern char *input_filename;
extern FILE *finput, *out;
/* Obstack for the lexer. */
struct obstack temporary_obstack;
/* The current parser context. */
static struct parser_ctxt *ctxp;
/* Error and warning counts, current line number, because they're used
elsewhere */
int java_error_count;
int java_warning_count;
int lineno;
/* Tweak default rules when necessary. */
static int absorber;
#define USE_ABSORBER absorber = 0
/* Keep track of the current class name and package name. */
static char *current_class;
static char *package_name;
/* Keep track of whether things have be listed before. */
static int previous_output;
/* Record modifier uses */
static int modifier_value;
/* Keep track of number of bracket pairs after a variable declarator
id. */
static int bracket_count;
/* Record a method declaration */
struct method_declarator {
char *method_name;
char *args;
};
#define NEW_METHOD_DECLARATOR(D,N,A) \
{ \
(D) = \
(struct method_declarator *)xmalloc (sizeof (struct method_declarator)); \
(D)->method_name = (N); \
(D)->args = (A); \
}
/* Two actions for this grammar */
static void report_class_declaration PROTO ((char *));
static void report_main_declaration PROTO ((struct method_declarator *));
#include "lex.h"
#include "parse.h"
#line 100 "./parse-scan.y"
typedef union {
char *node;
struct method_declarator *declarator;
int value; /* For modifiers */
} YYSTYPE;
#ifndef YYDEBUG
#define YYDEBUG 1
#endif
#include <stdio.h>
#ifndef __cplusplus
#ifndef __STDC__
#define const
#endif
#endif
#define YYFINAL 601
#define YYFLAG -32768
#define YYNTBASE 110
#define YYTRANSLATE(x) ((unsigned)(x) <= 364 ? yytranslate[x] : 253)
static const char yytranslate[] = { 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109
};
#if YYDEBUG != 0
static const short yyprhs[] = { 0,
0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
20, 22, 24, 26, 28, 30, 32, 34, 38, 42,
46, 48, 50, 52, 56, 58, 59, 61, 63, 65,
68, 71, 74, 78, 80, 83, 85, 88, 92, 94,
96, 100, 106, 108, 110, 112, 114, 117, 118, 126,
127, 134, 135, 138, 139, 142, 144, 148, 151, 155,
157, 160, 162, 164, 166, 168, 170, 172, 174, 176,
180, 185, 187, 191, 193, 197, 199, 203, 205, 207,
210, 214, 218, 223, 228, 232, 237, 241, 243, 247,
250, 254, 255, 258, 260, 264, 266, 269, 271, 274,
278, 280, 284, 289, 294, 300, 304, 309, 312, 316,
320, 325, 330, 336, 344, 351, 353, 355, 359, 364,
369, 375, 378, 382, 385, 389, 391, 394, 396, 398,
400, 402, 404, 407, 410, 414, 418, 423, 425, 429,
432, 436, 438, 441, 443, 445, 447, 450, 453, 457,
459, 461, 463, 465, 467, 469, 471, 473, 475, 477,
479, 481, 483, 485, 487, 489, 491, 493, 495, 497,
499, 501, 503, 506, 509, 512, 515, 517, 519, 521,
523, 525, 527, 529, 535, 543, 551, 557, 560, 564,
568, 573, 575, 578, 581, 583, 586, 590, 593, 598,
601, 604, 606, 614, 622, 629, 637, 644, 647, 650,
651, 653, 655, 656, 658, 660, 664, 667, 671, 674,
678, 681, 685, 689, 695, 701, 703, 707, 711, 716,
718, 721, 727, 730, 732, 734, 736, 738, 742, 744,
746, 748, 750, 754, 758, 762, 766, 772, 777, 784,
790, 795, 801, 807, 814, 818, 822, 824, 828, 832,
836, 840, 845, 850, 855, 860, 862, 865, 869, 872,
876, 880, 884, 888, 893, 899, 906, 912, 919, 924,
929, 931, 933, 935, 937, 940, 943, 945, 947, 950,
953, 955, 958, 961, 963, 966, 969, 971, 977, 982,
987, 993, 995, 999, 1003, 1007, 1009, 1013, 1017, 1019,
1023, 1027, 1031, 1033, 1037, 1041, 1045, 1049, 1053, 1055,
1059, 1063, 1065, 1069, 1071, 1075, 1077, 1081, 1083, 1087,
1089, 1093, 1095, 1101, 1103, 1105, 1109, 1111, 1113, 1115,
1117, 1119, 1121
};
static const short yyrhs[] = { 123,
0, 104, 0, 105, 0, 108, 0, 103, 0, 102,
0, 109, 0, 113, 0, 114, 0, 82, 0, 85,
0, 50, 0, 115, 0, 118, 0, 119, 0, 115,
0, 115, 0, 113, 97, 98, 0, 119, 97, 98,
0, 118, 97, 98, 0, 120, 0, 121, 0, 122,
0, 119, 101, 122, 0, 86, 0, 0, 126, 0,
124, 0, 125, 0, 126, 124, 0, 126, 125, 0,
124, 125, 0, 126, 124, 125, 0, 127, 0, 124,
127, 0, 130, 0, 125, 130, 0, 75, 119, 99,
0, 128, 0, 129, 0, 55, 119, 99, 0, 55,
119, 101, 5, 99, 0, 132, 0, 162, 0, 99,
0, 44, 0, 131, 44, 0, 0, 131, 67, 122,
135, 136, 133, 138, 0, 0, 67, 122, 135, 136,
134, 138, 0, 0, 63, 116, 0, 0, 52, 137,
0, 117, 0, 137, 100, 117, 0, 95, 96, 0,
95, 139, 96, 0, 140, 0, 139, 140, 0, 141,
0, 155, 0, 157, 0, 171, 0, 142, 0, 147,
0, 132, 0, 162, 0, 112, 143, 99, 0, 131,
112, 143, 99, 0, 144, 0, 143, 100, 144, 0,
145, 0, 145, 92, 146, 0, 122, 0, 145, 97,
98, 0, 251, 0, 169, 0, 148, 154, 0, 112,
149, 152, 0, 59, 149, 152, 0, 131, 112, 149,
152, 0, 131, 59, 149, 152, 0, 122, 93, 94,
0, 122, 93, 150, 94, 0, 149, 97, 98, 0,
151, 0, 150, 100, 151, 0, 112, 145, 0, 131,
112, 145, 0, 0, 53, 153, 0, 116, 0, 153,
100, 116, 0, 171, 0, 171, 99, 0, 99, 0,
156, 171, 0, 156, 171, 99, 0, 44, 0, 158,
152, 159, 0, 131, 158, 152, 159, 0, 158, 152,
159, 99, 0, 131, 158, 152, 159, 99, 0, 120,
93, 94, 0, 120, 93, 150, 94, 0, 95, 96,
0, 95, 160, 96, 0, 95, 172, 96, 0, 95,
160, 172, 96, 0, 161, 93, 94, 99, 0, 161,
93, 220, 94, 99, 0, 119, 101, 65, 93, 220,
94, 99, 0, 119, 101, 65, 93, 94, 99, 0,
76, 0, 65, 0, 61, 122, 164, 0, 131, 61,
122, 164, 0, 61, 122, 163, 164, 0, 131, 61,
122, 163, 164, 0, 63, 117, 0, 163, 100, 117,
0, 95, 96, 0, 95, 165, 96, 0, 166, 0,
165, 166, 0, 167, 0, 168, 0, 132, 0, 162,
0, 142, 0, 148, 99, 0, 95, 96, 0, 95,
170, 96, 0, 95, 100, 96, 0, 95, 170, 100,
96, 0, 146, 0, 170, 100, 146, 0, 95, 96,
0, 95, 172, 96, 0, 173, 0, 172, 173, 0,
174, 0, 176, 0, 132, 0, 175, 99, 0, 112,
143, 0, 131, 112, 143, 0, 178, 0, 181, 0,
185, 0, 186, 0, 195, 0, 199, 0, 178, 0,
182, 0, 187, 0, 196, 0, 200, 0, 171, 0,
179, 0, 183, 0, 188, 0, 198, 0, 206, 0,
207, 0, 208, 0, 210, 0, 209, 0, 212, 0,
99, 0, 122, 88, 0, 180, 176, 0, 180, 177,
0, 184, 99, 0, 248, 0, 232, 0, 233, 0,
229, 0, 230, 0, 226, 0, 218, 0, 48, 93,
251, 94, 176, 0, 48, 93, 251, 94, 177, 56,
176, 0, 48, 93, 251, 94, 177, 56, 177, 0,
68, 93, 251, 94, 189, 0, 95, 96, 0, 95,
192, 96, 0, 95, 190, 96, 0, 95, 190, 192,
96, 0, 191, 0, 190, 191, 0, 192, 172, 0,
193, 0, 192, 193, 0, 62, 252, 88, 0, 47,
88, 0, 66, 93, 251, 94, 0, 194, 176, 0,
194, 177, 0, 51, 0, 197, 176, 66, 93, 251,
94, 99, 0, 202, 99, 251, 99, 204, 94, 176,
0, 202, 99, 99, 204, 94, 176, 0, 202, 99,
251, 99, 204, 94, 177, 0, 202, 99, 99, 204,
94, 177, 0, 71, 93, 0, 201, 203, 0, 0,
205, 0, 175, 0, 0, 205, 0, 184, 0, 205,
100, 184, 0, 54, 99, 0, 54, 122, 99, 0,
73, 99, 0, 73, 122, 99, 0, 58, 99, 0,
58, 251, 99, 0, 49, 251, 99, 0, 211, 93,
251, 94, 171, 0, 211, 93, 251, 94, 1, 0,
44, 0, 70, 171, 213, 0, 70, 171, 215, 0,
70, 171, 213, 215, 0, 214, 0, 213, 214, 0,
60, 93, 151, 94, 171, 0, 64, 171, 0, 217,
0, 221, 0, 111, 0, 76, 0, 93, 251, 94,
0, 218, 0, 225, 0, 226, 0, 227, 0, 119,
101, 67, 0, 113, 101, 67, 0, 59, 101, 67,
0, 119, 101, 76, 0, 72, 116, 93, 220, 94,
0, 72, 116, 93, 94, 0, 72, 116, 93, 220,
94, 138, 0, 72, 116, 93, 94, 138, 0, 219,
122, 93, 94, 0, 219, 122, 93, 94, 138, 0,
219, 122, 93, 220, 94, 0, 219, 122, 93, 220,
94, 138, 0, 119, 101, 72, 0, 216, 101, 72,
0, 251, 0, 220, 100, 251, 0, 220, 100, 1,
0, 72, 113, 222, 0, 72, 115, 222, 0, 72,
113, 222, 224, 0, 72, 115, 222, 224, 0, 72,
115, 224, 169, 0, 72, 113, 224, 169, 0, 223,
0, 222, 223, 0, 97, 251, 98, 0, 97, 98,
0, 224, 97, 98, 0, 216, 101, 122, 0, 65,
101, 122, 0, 119, 93, 94, 0, 119, 93, 220,
94, 0, 216, 101, 122, 93, 94, 0, 216, 101,
122, 93, 220, 94, 0, 65, 101, 122, 93, 94,
0, 65, 101, 122, 93, 220, 94, 0, 119, 97,
251, 98, 0, 217, 97, 251, 98, 0, 216, 0,
119, 0, 229, 0, 230, 0, 228, 46, 0, 228,
45, 0, 232, 0, 233, 0, 3, 231, 0, 4,
231, 0, 234, 0, 46, 231, 0, 45, 231, 0,
228, 0, 89, 231, 0, 90, 231, 0, 235, 0,
93, 113, 224, 94, 231, 0, 93, 113, 94, 231,
0, 93, 251, 94, 234, 0, 93, 119, 224, 94,
234, 0, 231, 0, 236, 5, 231, 0, 236, 6,
231, 0, 236, 7, 231, 0, 236, 0, 237, 3,
236, 0, 237, 4, 236, 0, 237, 0, 238, 8,
237, 0, 238, 9, 237, 0, 238, 10, 237, 0,
238, 0, 239, 20, 238, 0, 239, 18, 238, 0,
239, 21, 238, 0, 239, 19, 238, 0, 239, 57,
114, 0, 239, 0, 240, 16, 239, 0, 240, 17,
239, 0, 240, 0, 241, 11, 240, 0, 241, 0,
242, 12, 241, 0, 242, 0, 243, 13, 242, 0,
243, 0, 244, 14, 243, 0, 244, 0, 245, 15,
244, 0, 245, 0, 245, 87, 251, 88, 246, 0,
246, 0, 248, 0, 249, 250, 247, 0, 119, 0,
225, 0, 227, 0, 91, 0, 92, 0, 247, 0,
251, 0
};
#endif
#if YYDEBUG != 0
static const short yyrline[] = { 0,
171, 176, 178, 179, 180, 181, 182, 186, 188, 191,
197, 202, 209, 211, 214, 218, 222, 226, 228, 235,
245, 247, 250, 254, 263, 268, 269, 270, 271, 272,
273, 274, 275, 278, 280, 283, 285, 288, 293, 295,
298, 302, 306, 308, 309, 315, 324, 335, 342, 342,
345, 347, 348, 351, 352, 355, 358, 362, 364, 367,
369, 372, 374, 375, 376, 379, 381, 382, 383, 387,
390, 394, 397, 400, 402, 405, 408, 412, 414, 418,
422, 425, 426, 428, 435, 442, 448, 451, 453, 461,
477, 493, 494, 497, 500, 504, 506, 507, 511, 513,
516, 526, 528, 531, 533, 539, 542, 546, 548, 549,
550, 554, 556, 559, 561, 565, 567, 572, 575, 577,
579, 583, 585, 588, 590, 593, 595, 598, 600, 601,
602, 605, 609, 614, 616, 617, 618, 621, 623, 627,
629, 632, 634, 637, 639, 640, 643, 647, 650, 654,
656, 657, 658, 659, 660, 663, 665, 666, 667, 668,
671, 673, 674, 675, 676, 677, 678, 679, 680, 681,
682, 685, 689, 694, 698, 704, 708, 710, 711, 712,
713, 714, 715, 718, 722, 726, 730, 734, 736, 737,
738, 741, 743, 746, 751, 753, 756, 758, 761, 765,
769, 773, 777, 781, 783, 786, 788, 791, 795, 798,
799, 800, 803, 804, 807, 809, 812, 814, 817, 819,
822, 824, 827, 831, 833, 836, 841, 843, 844, 847,
849, 852, 856, 861, 863, 866, 868, 869, 870, 871,
872, 873, 877, 879, 881, 885, 889, 891, 895, 896,
900, 901, 902, 903, 906, 909, 912, 914, 915, 918,
920, 921, 922, 925, 926, 929, 931, 934, 938, 940,
943, 945, 948, 951, 953, 954, 955, 956, 959, 962,
965, 967, 969, 970, 973, 977, 981, 983, 984, 985,
986, 989, 993, 997, 999, 1000, 1001, 1004, 1006, 1007,
1008, 1011, 1013, 1014, 1015, 1018, 1020, 1021, 1024, 1026,
1027, 1028, 1031, 1033, 1034, 1035, 1036, 1037, 1040, 1042,
1043, 1046, 1048, 1051, 1053, 1056, 1058, 1061, 1063, 1066,
1068, 1071, 1073, 1076, 1078, 1081, 1085, 1088, 1089, 1092,
1094, 1097, 1101
};
#endif
#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
static const char * const yytname[] = { "$","error","$undefined.","PLUS_TK",
"MINUS_TK","MULT_TK","DIV_TK","REM_TK","LS_TK","SRS_TK","ZRS_TK","AND_TK","XOR_TK",
"OR_TK","BOOL_AND_TK","BOOL_OR_TK","EQ_TK","NEQ_TK","GT_TK","GTE_TK","LT_TK",
"LTE_TK","PLUS_ASSIGN_TK","MINUS_ASSIGN_TK","MULT_ASSIGN_TK","DIV_ASSIGN_TK",
"REM_ASSIGN_TK","LS_ASSIGN_TK","SRS_ASSIGN_TK","ZRS_ASSIGN_TK","AND_ASSIGN_TK",
"XOR_ASSIGN_TK","OR_ASSIGN_TK","PUBLIC_TK","PRIVATE_TK","PROTECTED_TK","STATIC_TK",
"FINAL_TK","SYNCHRONIZED_TK","VOLATILE_TK","TRANSIENT_TK","NATIVE_TK","PAD_TK",
"ABSTRACT_TK","MODIFIER_TK","DECR_TK","INCR_TK","DEFAULT_TK","IF_TK","THROW_TK",
"BOOLEAN_TK","DO_TK","IMPLEMENTS_TK","THROWS_TK","BREAK_TK","IMPORT_TK","ELSE_TK",
"INSTANCEOF_TK","RETURN_TK","VOID_TK","CATCH_TK","INTERFACE_TK","CASE_TK","EXTENDS_TK",
"FINALLY_TK","SUPER_TK","WHILE_TK","CLASS_TK","SWITCH_TK","CONST_TK","TRY_TK",
"FOR_TK","NEW_TK","CONTINUE_TK","GOTO_TK","PACKAGE_TK","THIS_TK","BYTE_TK","SHORT_TK",
"INT_TK","LONG_TK","CHAR_TK","INTEGRAL_TK","FLOAT_TK","DOUBLE_TK","FP_TK","ID_TK",
"REL_QM_TK","REL_CL_TK","NOT_TK","NEG_TK","ASSIGN_ANY_TK","ASSIGN_TK","OP_TK",
"CP_TK","OCB_TK","CCB_TK","OSB_TK","CSB_TK","SC_TK","C_TK","DOT_TK","STRING_LIT_TK",
"CHAR_LIT_TK","INT_LIT_TK","FP_LIT_TK","TRUE_TK","FALSE_TK","BOOL_LIT_TK","NULL_TK",
"goal","literal","type","primitive_type","reference_type","class_or_interface_type",
"class_type","interface_type","array_type","name","simple_name","qualified_name",
"identifier","compilation_unit","import_declarations","type_declarations","package_declaration",
"import_declaration","single_type_import_declaration","type_import_on_demand_declaration",
"type_declaration","modifiers","class_declaration","@1","@2","super","interfaces",
"interface_type_list","class_body","class_body_declarations","class_body_declaration",
"class_member_declaration","field_declaration","variable_declarators","variable_declarator",
"variable_declarator_id","variable_initializer","method_declaration","method_header",
"method_declarator","formal_parameter_list","formal_parameter","throws","class_type_list",
"method_body","static_initializer","static","constructor_declaration","constructor_declarator",
"constructor_body","explicit_constructor_invocation","this_or_super","interface_declaration",
"extends_interfaces","interface_body","interface_member_declarations","interface_member_declaration",
"constant_declaration","abstract_method_declaration","array_initializer","variable_initializers",
"block","block_statements","block_statement","local_variable_declaration_statement",
"local_variable_declaration","statement","statement_nsi","statement_without_trailing_substatement",
"empty_statement","label_decl","labeled_statement","labeled_statement_nsi","expression_statement",
"statement_expression","if_then_statement","if_then_else_statement","if_then_else_statement_nsi",
"switch_statement","switch_block","switch_block_statement_groups","switch_block_statement_group",
"switch_labels","switch_label","while_expression","while_statement","while_statement_nsi",
"do_statement_begin","do_statement","for_statement","for_statement_nsi","for_header",
"for_begin","for_init","for_update","statement_expression_list","break_statement",
"continue_statement","return_statement","throw_statement","synchronized_statement",
"synchronized","try_statement","catches","catch_clause","finally","primary",
"primary_no_new_array","class_instance_creation_expression","something_dot_new",
"argument_list","array_creation_expression","dim_exprs","dim_expr","dims","field_access",
"method_invocation","array_access","postfix_expression","post_increment_expression",
"post_decrement_expression","unary_expression","pre_increment_expression","pre_decrement_expression",
"unary_expression_not_plus_minus","cast_expression","multiplicative_expression",
"additive_expression","shift_expression","relational_expression","equality_expression",
"and_expression","exclusive_or_expression","inclusive_or_expression","conditional_and_expression",
"conditional_or_expression","conditional_expression","assignment_expression",
"assignment","left_hand_side","assignment_operator","expression","constant_expression", NULL
};
#endif
static const short yyr1[] = { 0,
110, 111, 111, 111, 111, 111, 111, 112, 112, 113,
113, 113, 114, 114, 115, 116, 117, 118, 118, 118,
119, 119, 120, 121, 122, 123, 123, 123, 123, 123,
123, 123, 123, 124, 124, 125, 125, 126, 127, 127,
128, 129, 130, 130, 130, 131, 131, 133, 132, 134,
132, 135, 135, 136, 136, 137, 137, 138, 138, 139,
139, 140, 140, 140, 140, 141, 141, 141, 141, 142,
142, 143, 143, 144, 144, 145, 145, 146, 146, 147,
148, 148, 148, 148, 149, 149, 149, 150, 150, 151,
151, 152, 152, 153, 153, 154, 154, 154, 155, 155,
156, 157, 157, 157, 157, 158, 158, 159, 159, 159,
159, 160, 160, 160, 160, 161, 161, 162, 162, 162,
162, 163, 163, 164, 164, 165, 165, 166, 166, 166,
166, 167, 168, 169, 169, 169, 169, 170, 170, 171,
171, 172, 172, 173, 173, 173, 174, 175, 175, 176,
176, 176, 176, 176, 176, 177, 177, 177, 177, 177,
178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
178, 179, 180, 181, 182, 183, 184, 184, 184, 184,
184, 184, 184, 185, 186, 187, 188, 189, 189, 189,
189, 190, 190, 191, 192, 192, 193, 193, 194, 195,
196, 197, 198, 199, 199, 200, 200, 201, 202, 203,
203, 203, 204, 204, 205, 205, 206, 206, 207, 207,
208, 208, 209, 210, 210, 211, 212, 212, 212, 213,
213, 214, 215, 216, 216, 217, 217, 217, 217, 217,
217, 217, 217, 217, 217, 217, 218, 218, 218, 218,
218, 218, 218, 218, 219, 219, 220, 220, 220, 221,
221, 221, 221, 221, 221, 222, 222, 223, 224, 224,
225, 225, 226, 226, 226, 226, 226, 226, 227, 227,
228, 228, 228, 228, 229, 230, 231, 231, 231, 231,
231, 232, 233, 234, 234, 234, 234, 235, 235, 235,
235, 236, 236, 236, 236, 237, 237, 237, 238, 238,
238, 238, 239, 239, 239, 239, 239, 239, 240, 240,
240, 241, 241, 242, 242, 243, 243, 244, 244, 245,
245, 246, 246, 247, 247, 248, 249, 249, 249, 250,
250, 251, 252
};
static const short yyr2[] = { 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 3, 3, 3,
1, 1, 1, 3, 1, 0, 1, 1, 1, 2,
2, 2, 3, 1, 2, 1, 2, 3, 1, 1,
3, 5, 1, 1, 1, 1, 2, 0, 7, 0,
6, 0, 2, 0, 2, 1, 3, 2, 3, 1,
2, 1, 1, 1, 1, 1, 1, 1, 1, 3,
4, 1, 3, 1, 3, 1, 3, 1, 1, 2,
3, 3, 4, 4, 3, 4, 3, 1, 3, 2,
3, 0, 2, 1, 3, 1, 2, 1, 2, 3,
1, 3, 4, 4, 5, 3, 4, 2, 3, 3,
4, 4, 5, 7, 6, 1, 1, 3, 4, 4,
5, 2, 3, 2, 3, 1, 2, 1, 1, 1,
1, 1, 2, 2, 3, 3, 4, 1, 3, 2,
3, 1, 2, 1, 1, 1, 2, 2, 3, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 1, 1, 1, 1,
1, 1, 1, 5, 7, 7, 5, 2, 3, 3,
4, 1, 2, 2, 1, 2, 3, 2, 4, 2,
2, 1, 7, 7, 6, 7, 6, 2, 2, 0,
1, 1, 0, 1, 1, 3, 2, 3, 2, 3,
2, 3, 3, 5, 5, 1, 3, 3, 4, 1,
2, 5, 2, 1, 1, 1, 1, 3, 1, 1,
1, 1, 3, 3, 3, 3, 5, 4, 6, 5,
4, 5, 5, 6, 3, 3, 1, 3, 3, 3,
3, 4, 4, 4, 4, 1, 2, 3, 2, 3,
3, 3, 3, 4, 5, 6, 5, 6, 4, 4,
1, 1, 1, 1, 2, 2, 1, 1, 2, 2,
1, 2, 2, 1, 2, 2, 1, 5, 4, 4,
5, 1, 3, 3, 3, 1, 3, 3, 1, 3,
3, 3, 1, 3, 3, 3, 3, 3, 1, 3,
3, 1, 3, 1, 3, 1, 3, 1, 3, 1,
3, 1, 5, 1, 1, 3, 1, 1, 1, 1,
1, 1, 1
};
static const short yydefact[] = { 26,
46, 0, 0, 0, 0, 45, 1, 28, 29, 27,
34, 39, 40, 36, 0, 43, 44, 25, 0, 21,
22, 23, 0, 52, 0, 32, 35, 37, 30, 31,
47, 0, 0, 41, 0, 0, 0, 0, 118, 0,
54, 38, 0, 33, 0, 52, 0, 24, 17, 122,
15, 12, 0, 10, 11, 124, 0, 8, 9, 13,
14, 15, 0, 130, 132, 0, 131, 0, 126, 128,
129, 0, 120, 16, 53, 0, 50, 0, 119, 54,
42, 0, 92, 76, 0, 72, 74, 92, 0, 0,
0, 0, 0, 133, 125, 127, 123, 56, 55, 0,
121, 48, 0, 0, 0, 82, 70, 0, 0, 0,
81, 18, 20, 19, 92, 0, 92, 0, 0, 51,
0, 85, 0, 0, 0, 88, 94, 93, 87, 76,
73, 0, 0, 0, 0, 0, 0, 0, 237, 0,
0, 0, 0, 6, 5, 2, 3, 4, 7, 236,
0, 282, 75, 79, 281, 234, 239, 0, 235, 240,
241, 242, 294, 283, 284, 302, 287, 288, 291, 297,
306, 309, 313, 319, 322, 324, 326, 328, 330, 332,
334, 342, 335, 0, 78, 77, 84, 71, 83, 57,
46, 0, 58, 21, 0, 68, 0, 60, 62, 66,
67, 0, 63, 0, 64, 92, 69, 65, 49, 90,
0, 86, 0, 0, 282, 240, 242, 289, 290, 293,
292, 0, 0, 0, 16, 0, 295, 296, 0, 282,
0, 134, 0, 138, 0, 0, 0, 0, 0, 0,
0, 0, 286, 285, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 340, 341, 0, 46, 0,
0, 202, 0, 0, 0, 0, 0, 0, 0, 0,
140, 172, 0, 8, 282, 23, 0, 146, 161, 0,
142, 144, 0, 145, 150, 162, 0, 151, 163, 0,
152, 153, 164, 0, 154, 0, 165, 155, 210, 0,
166, 167, 168, 170, 169, 0, 171, 239, 241, 0,
180, 181, 178, 179, 177, 0, 92, 59, 61, 98,
80, 96, 99, 0, 91, 89, 95, 245, 272, 0,
260, 266, 0, 261, 0, 0, 0, 0, 0, 0,
0, 238, 136, 135, 0, 244, 273, 0, 257, 0,
243, 255, 246, 256, 271, 0, 0, 303, 304, 305,
307, 308, 310, 311, 312, 315, 317, 314, 316, 0,
318, 320, 321, 323, 325, 327, 329, 331, 0, 336,
0, 0, 217, 0, 221, 0, 0, 0, 0, 208,
219, 0, 0, 148, 0, 173, 0, 141, 143, 147,
226, 174, 176, 200, 0, 0, 212, 215, 209, 211,
0, 0, 106, 0, 0, 97, 100, 0, 102, 0,
269, 0, 267, 262, 0, 265, 263, 264, 248, 0,
299, 0, 0, 300, 137, 139, 274, 0, 279, 0,
280, 251, 0, 0, 0, 223, 218, 222, 0, 0,
0, 0, 227, 230, 228, 220, 238, 149, 0, 0,
213, 0, 0, 107, 103, 117, 237, 108, 282, 0,
0, 0, 104, 277, 0, 268, 270, 250, 247, 298,
301, 259, 258, 275, 0, 252, 253, 333, 0, 199,
0, 0, 233, 231, 229, 0, 216, 0, 214, 213,
0, 105, 0, 109, 0, 0, 110, 278, 249, 276,
254, 0, 184, 0, 150, 0, 157, 158, 0, 159,
160, 0, 0, 187, 0, 0, 0, 0, 225, 224,
0, 111, 0, 0, 0, 0, 175, 201, 0, 0,
0, 188, 0, 192, 0, 195, 0, 0, 205, 0,
0, 112, 0, 0, 185, 213, 0, 198, 343, 0,
190, 193, 0, 189, 194, 196, 232, 203, 204, 0,
0, 113, 0, 0, 213, 197, 191, 115, 0, 0,
0, 0, 114, 0, 207, 0, 186, 206, 0, 0,
0
};
static const short yydefgoto[] = { 599,
150, 283, 151, 59, 60, 75, 50, 61, 152, 20,
21, 22, 7, 8, 9, 10, 11, 12, 13, 14,
287, 288, 121, 100, 41, 77, 99, 120, 197, 198,
199, 65, 85, 86, 87, 153, 201, 66, 83, 125,
126, 106, 128, 331, 203, 204, 205, 206, 429, 480,
481, 17, 38, 39, 68, 69, 70, 71, 154, 235,
289, 575, 291, 292, 293, 294, 524, 295, 296, 297,
298, 527, 299, 300, 301, 302, 528, 303, 534, 553,
554, 555, 556, 304, 305, 530, 306, 307, 308, 531,
309, 310, 419, 508, 509, 311, 312, 313, 314, 315,
316, 317, 463, 464, 465, 155, 156, 157, 158, 358,
159, 341, 342, 343, 160, 161, 162, 163, 164, 165,
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
176, 177, 178, 179, 180, 181, 182, 183, 184, 268,
359, 570
};
static const short yypact[] = { 11,
-32768, -52, -52, -52, -52,-32768,-32768, 18, 154, 18,
-32768,-32768,-32768,-32768, 185,-32768,-32768,-32768, 187,-32768,
-32768,-32768, -24, -5, 332, 154,-32768,-32768, 18, 154,
-32768, -52, -52,-32768, 5, -52, 745, 162,-32768, -52,
76,-32768, -52, 154, -24, -5, 57,-32768,-32768,-32768,
41,-32768, -52,-32768,-32768,-32768, -52, 71,-32768,-32768,
170, 113, 518,-32768,-32768, 126,-32768, 758,-32768,-32768,
-32768, -52,-32768,-32768,-32768, -52,-32768, 162,-32768, 76,
-32768, 249, -15, 249, 321,-32768, 205, -15, 149, 255,
265, -52, -52,-32768,-32768,-32768,-32768,-32768, 198, 294,
-32768,-32768, 58, -52, 298,-32768,-32768, -52, 1568, 309,
-32768,-32768,-32768,-32768, -15, 359, -15, -52, 596,-32768,
294,-32768, -52, 199, -13,-32768,-32768, 310,-32768,-32768,
-32768, 2315, 2315, 2315, 2315, 329, 352, 88,-32768, 2315,
2315, 2315, 1438,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
354, 393,-32768,-32768, 360, 369,-32768, -52,-32768, 347,
-32768, 378, 437,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
445, 495, 483, 380, 492, 461, 462, 467, 502, 1,
-32768,-32768,-32768, 412,-32768,-32768,-32768,-32768,-32768,-32768,
423, 2513,-32768, 429, 518,-32768, 683,-32768,-32768,-32768,
-32768, 128,-32768, 432,-32768, 471,-32768,-32768,-32768, 435,
-52,-32768, 337, -52, 52,-32768,-32768,-32768,-32768,-32768,
-32768, 468, -52, 440, 440, 449,-32768,-32768, 174, 414,
454,-32768, 460,-32768, 235, 500, 1619, 2315, 261, -21,
2315, 476,-32768,-32768, 2315, 2315, 2315, 2315, 2315, 2315,
2315, 2315, 2315, 2315, 2315, 2315, 88, 2315, 2315, 2315,
2315, 2315, 2315, 2315, 2315,-32768,-32768, 2315, 480, 482,
2315,-32768, 60, 1684, 490, 491, 432, 494, 89, 2315,
-32768,-32768, -52, 137, 559, 488, 496,-32768,-32768, 2579,
-32768,-32768, 493,-32768,-32768,-32768, 2975,-32768,-32768, 498,
-32768,-32768,-32768, 2975,-32768, 2975,-32768,-32768, 1029, 499,
-32768,-32768,-32768,-32768,-32768, 497,-32768, 96, 196, 437,
485, 505,-32768,-32768,-32768, 323, 471,-32768,-32768,-32768,
-32768, 506, 507, 504, 435,-32768,-32768,-32768, 508, 1735,
440,-32768, 339, 440, 339, 1800, 2315, 509, 180, 1735,
246, 1364,-32768,-32768, 1503,-32768,-32768, 3,-32768, 512,
-32768,-32768,-32768,-32768, 520, 513, 1851,-32768,-32768,-32768,
445, 445, 495, 495, 495, 483, 483, 483, 483, 71,
-32768, 380, 380, 492, 461, 462, 467, 502, 501,-32768,
2315, 522,-32768, 523,-32768, 526, 2315, 2315, 322,-32768,
-32768, 528, 534, 535, 1916,-32768, -52,-32768,-32768,-32768,
-32768,-32768,-32768,-32768, 572, 199,-32768,-32768,-32768, 539,
1967, 2315,-32768, 141, 504,-32768,-32768, 2645, 543, 2032,
-32768, 545,-32768, 547, 549,-32768, 547,-32768, 294, 244,
-32768, 2315, 1364,-32768,-32768,-32768,-32768, 1323,-32768, 2083,
-32768, 294, 251, 2315, 555,-32768,-32768,-32768, 564, 565,
573, 432, 322,-32768,-32768,-32768,-32768, 535, 576, 1171,
1171, 566, 582,-32768, 571, 352, 584,-32768, 849, 2711,
587, 2777,-32768,-32768, 256,-32768,-32768,-32768, 294,-32768,
-32768,-32768,-32768,-32768, 260,-32768, 294,-32768, 3041,-32768,
588, 337,-32768,-32768,-32768, 2315,-32768, 591, 539, 1171,
6,-32768, 183,-32768, 2843, 2148,-32768,-32768,-32768,-32768,
-32768, 593,-32768, 631, 632, 3041,-32768,-32768, 3041,-32768,
-32768, 590, -16,-32768, 600, 601, 2975, 602,-32768,-32768,
604,-32768, 603, 272, 2315, 2975,-32768,-32768, 2199, 611,
2315,-32768, 45,-32768, 2381,-32768, 432, 609,-32768, 2975,
2264,-32768, 610, 616,-32768, 1171, 613,-32768,-32768, 615,
-32768,-32768, 2447,-32768, 2909,-32768,-32768,-32768,-32768, 619,
280,-32768, 3041, 621, 1171,-32768,-32768,-32768, 623, 670,
3041, 636,-32768, 3041,-32768, 3041,-32768,-32768, 725, 735,
-32768
};
static const short yypgoto[] = {-32768,
-32768, 139, -26, 479, 253, -85, 43,-32768, 59, -72,
-32768, -3,-32768, 729, 150,-32768, 20,-32768,-32768, 200,
15, 586,-32768,-32768, 695, 665,-32768, -113,-32768, 550,
-32768, -83, -80, 640, -105, -138,-32768, -71, 93, 426,
-211, -82,-32768,-32768,-32768,-32768,-32768, 554, 328,-32768,
-32768, -25, 709, -18,-32768, 688,-32768,-32768, 103,-32768,
-93, -188, -276,-32768, 450, -167, -372, -378,-32768, -151,
-32768,-32768,-32768, -306,-32768,-32768,-32768,-32768,-32768,-32768,
207, 208, -499, -134,-32768,-32768,-32768,-32768,-32768,-32768,
-32768, -58,-32768, -453, 458,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768, 295, 300,-32768,-32768, 138,-32768, -283,
-32768, 546, 14, -208, 1037, 191, 1059, 327, 410, 434,
-65, 487, 570, -343,-32768, 305, 308, 159, 306, 510,
511, 519, 517, 524,-32768, 319, 531, 669,-32768,-32768,
123,-32768
};
#define YYLAST 3150
static const short yytable[] = { 23,
24, 336, 418, 290, 234, 111, 539, 209, 444, 47,
58, 67, 116, 409, 15, 264, 345, 210, 127, 73,
349, 351, 15, 15, 15, 208, 79, 27, 45, 46,
550, 48, 187, 18, 189, 200, 58, 104, 36, 48,
15, 58, 67, 15, 15, 551, 194, 202, 27, 82,
364, 63, 226, 84, 1, 576, 538, 40, 15, 101,
19, 1, 440, 25, 18, 2, 218, 219, 220, 221,
37, 3, 2, 576, 227, 228, 58, 4, 3, 552,
212, 105, 63, 453, 4, 5, 213, 265, 82, 84,
18, 550, 58, 207, 51, 62, 447, 58, 51, 491,
192, 1, 448, 208, 130, 335, 551, 52, 332, 6,
333, 224, 584, 200, 97, 229, 6, 124, 98, 130,
525, 62, 194, 334, 194, 202, 62, 76, 337, 412,
51, 592, 434, 195, 51, 437, 414, 52, 415, 54,
571, 43, 55, 18, 237, 18, 485, 525, 238, 88,
525, 122, 239, 547, 242, 81, 548, 26, 393, 30,
190, 62, 51, 507, 418, 284, 495, 89, 58, 54,
58, 207, 55, 18, 18, 57, 51, 62, 44, 368,
369, 370, 62, 399, 115, 117, 58, 401, 286, -183,
215, 215, 215, 215, -183, -183, 51, 1, 215, 215,
230, 93, 404, 418, 525, 409, 57, 130, 28, 91,
590, 195, 525, 43, 3, 525, 446, 525, 595, 339,
4, 597, 192, 598, 94, 28, 330, 124, 31, 28,
380, 185, 544, 89, 474, 48, 365, 236, 409, 482,
213, 123, 31, 28, 425, 32, 112, 541, 52, 361,
285, 33, 6, 62, 362, 62, 37, 57, 363, 418,
58, 72, 211, 284, 231, 185, 90, 347, 18, 394,
348, 62, 51, 442, 236, 402, 435, 581, 418, 130,
54, 441, 284, 55, 18, 34, 286, 35, 49, -182,
535, 515, 74, 286, -182, -182, 109, 118, 409, 58,
286, 110, 286, 215, 215, 215, 215, 215, 215, 215,
215, 215, 215, 215, 215, 62, 215, 215, 215, 215,
215, 215, 215, 416, 49, 488, 468, 361, 49, 318,
354, 523, 362, 93, 355, 57, 363, 489, 496, 443,
124, 103, 435, 448, 497, 62, 18, 526, 285, 518,
448, 123, 113, 520, 433, 448, 74, 433, 412, 448,
360, 414, 114, 366, 529, 563, 1, 285, 503, 559,
49, 448, 52, 589, 526, 519, 490, 526, 565, 448,
1, 461, 319, 521, 62, 462, 52, 389, 119, 58,
225, 529, 579, 392, 529, 129, 396, 253, 254, 255,
256, 284, 403, 130, 54, 215, 186, 55, 18, 214,
215, 376, 377, 378, 379, 523, 423, 540, 54, 107,
108, 55, 18, 559, 286, 407, 565, 318, 579, 222,
42, 526, 43, 143, 318, 435, 257, -338, -338, 526,
532, 318, 526, 318, 526, 436, 318, 438, 529, 245,
246, 247, 223, 284, 236, 284, 529, 188, 108, 529,
240, 529, 432, 577, 123, 241, 74, 532, -339, -339,
532, 260, 360, 261, 62, 58, 286, 185, 286, 262,
319, 243, 244, -337, -337, 237, 479, 319, 284, 238,
250, 251, 252, 239, 319, 286, 319, 248, 249, 319,
215, 215, 266, 267, -337, -337, 237, 258, 259, 48,
350, 286, 215, 455, 239, 263, 124, -101, 320, 459,
460, 326, 286, 104, 532, 286, 192, 360, 284, -283,
-283, 110, 532, 286, 338, 532, 340, 532, 285, 31,
285, 346, 286, 472, 473, 52, 284, 352, 284, -284,
-284, 286, 371, 372, 407, 353, 286, 373, 374, 375,
62, 31, 33, 382, 383, 318, 356, 52, 367, 286,
493, 286, -226, 285, 391, 406, 92, 54, 32, 286,
55, 18, 397, 398, 33, 16, 400, 286, 454, 422,
286, 410, 286, 16, 16, 16, 413, 421, 428, 54,
430, 321, 55, 18, 426, 427, 431, 318, 318, 449,
451, 16, 450, 285, 16, 16, 320, 318, 319, 318,
456, 457, 64, 320, 458, 322, 466, 467, 536, 16,
320, 285, 320, 285, 108, 320, 318, 469, 470, 191,
123, 483, 486, 435, -15, 52, 487, 318, 499, -337,
-337, 237, 318, 64, 53, 405, 3, 500, 501, 239,
319, 319, 4, 318, 510, 502, 318, 564, 506, 512,
319, 567, 319, 569, 318, 511, -116, 54, 323, 516,
55, 18, 533, 318, 537, 545, 546, -156, 549, 319,
192, 193, 318, 557, 558, 560, 561, 318, 568, 321,
319, 562, 586, 318, 196, 319, 321, 578, 582, 583,
318, 585, 318, 321, 591, 321, 319, 588, 321, 319,
318, 593, 318, 322, 600, 594, 191, 319, 318, 596,
322, 318, 52, 318, 601, 381, 319, 322, 29, 322,
80, 53, 322, 3, 102, 319, 329, 131, 327, 4,
319, 424, 475, 78, 320, 96, 319, 504, 417, 572,
573, 324, 505, 319, 54, 319, 420, 55, 18, 384,
344, 385, 498, 319, 0, 319, 323, 192, 328, 387,
386, 319, 196, 323, 319, 0, 319, 388, 1, 0,
323, 0, 323, 0, 52, 323, 320, 320, 390, 0,
0, 1, 0, 53, 0, 3, 320, 52, 320, 0,
0, 4, 0, 0, 0, 0, 53, 0, 3, 0,
0, 0, 0, 0, 4, 320, 54, 0, 0, 55,
18, 0, 0, 0, 0, 0, 320, 321, 0, 54,
56, 320, 55, 18, 0, 0, 0, 0, 0, 0,
0, 0, 320, 95, 0, 320, 0, 0, 0, 324,
325, 322, 0, 320, 0, 0, 324, 0, 0, 0,
0, 0, 320, 324, 0, 324, 0, 0, 324, 321,
321, 320, 0, 0, 0, 0, 320, 0, 0, 321,
0, 321, 320, 0, 0, 0, 0, 0, 0, 320,
0, 320, 0, 322, 322, 0, 0, 0, 321, 320,
0, 320, 0, 322, 323, 322, 0, 320, 0, 321,
320, 0, 320, 0, 321, 0, 0, 0, 0, 0,
0, 0, 322, 0, -15, 321, 0, 0, 321, -337,
-337, 237, 0, 322, 0, 405, 321, 0, 322, 513,
0, 0, 0, 0, 0, 321, 323, 323, 325, 322,
0, 0, 322, 0, 321, 325, 323, 0, 323, 321,
322, 0, 325, 0, 325, 321, 0, 325, 0, 322,
0, 0, 321, 0, 321, 323, 0, 0, 322, 0,
0, 0, 321, 322, 321, 0, 323, 324, 0, 322,
321, 323, 0, 321, 0, 321, 322, 0, 322, 0,
0, 0, 323, 0, 0, 323, 322, 0, 322, 0,
0, 0, 0, 323, 322, 0, 0, 322, 0, 322,
0, 0, 323, 0, 0, 0, 0, 0, 0, 324,
324, 323, 0, 0, 0, 0, 323, 0, 0, 324,
0, 324, 323, 0, 0, 0, 0, 0, 0, 323,
0, 323, 0, 0, 0, 0, 0, 0, 324, 323,
0, 323, 1, 134, 135, 0, 0, 323, 52, 324,
323, 0, 323, 0, 324, 0, 0, 136, 0, 0,
0, 0, 0, 137, 0, 324, 325, 0, 324, 0,
138, 0, 0, 0, 139, 0, 324, 0, 0, 0,
54, 0, 0, 55, 18, 324, 0, 0, 0, 0,
0, 280, 0, 0, 324, 0, 0, 0, 0, 324,
144, 145, 146, 147, 0, 324, 148, 149, 325, 325,
0, 0, 324, 0, 324, 0, 0, 0, 325, 0,
325, 0, 324, 0, 324, 0, 0, 0, 0, 0,
324, 0, 0, 324, 0, 324, 0, 325, 216, 216,
216, 216, 0, 0, 0, 0, 216, 216, 325, 0,
0, 0, 0, 325, 0, 0, 0, 0, 0, 0,
217, 217, 217, 217, 325, 0, 0, 325, 217, 217,
0, 0, 0, 0, 0, 325, 0, 0, 0, 0,
0, 0, 0, 0, 325, 134, 135, 0, 0, 0,
52, 0, 0, 325, 0, 0, 0, 0, 325, 136,
0, 0, 0, 0, 325, 137, 0, 0, 0, 0,
0, 325, 138, 325, 0, 0, 139, 0, 0, 0,
0, 325, 54, 325, 0, 55, 18, 0, 0, 325,
0, 0, 325, 280, 325, 0, 0, 0, 0, 0,
0, 0, 144, 145, 146, 147, 0, 0, 148, 149,
0, 216, 216, 216, 216, 216, 216, 216, 216, 216,
216, 216, 216, 0, 216, 216, 216, 216, 216, 216,
216, 0, 0, 217, 217, 217, 217, 217, 217, 217,
217, 217, 217, 217, 217, 0, 217, 217, 217, 217,
217, 217, 217, 492, 0, 132, 133, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 134, 135, 0,
0, 0, 52, 0, 0, 0, 0, 0, 0, 0,
0, 136, 0, 216, 0, 0, 0, 137, 216, 0,
0, 0, 0, 0, 138, 0, 0, 0, 139, 0,
0, 0, 0, 0, 54, 217, 0, 55, 18, 0,
217, 140, 141, 52, 0, 142, 0, 0, 0, 0,
0, 0, 136, 0, 144, 145, 146, 147, 137, 0,
148, 149, 0, 0, 0, 138, 0, 0, 0, 139,
132, 133, 0, 0, 0, 54, 0, 0, 55, 18,
0, 0, 140, 141, 0, 0, 142, 0, 0, 0,
0, 0, 0, 0, 0, 144, 145, 146, 147, 0,
0, 148, 149, 0, 0, 0, 0, 0, 216, 216,
0, 0, 134, 135, 0, 0, 0, 52, 0, 0,
216, 0, 0, 0, 0, 0, 136, 0, 0, 0,
217, 217, 137, 0, 0, 132, 133, 0, 0, 138,
0, 0, 217, 139, 0, 0, 0, 0, 0, 54,
0, 0, 55, 18, 0, 0, 140, 141, 0, 0,
142, 0, 143, 232, 0, 0, 0, 233, 0, 144,
145, 146, 147, 0, 0, 148, 149, 134, 135, 0,
0, 0, 52, 0, 0, 0, 0, 0, 0, 0,
0, 136, 0, 0, 0, 0, 0, 137, 0, 0,
132, 133, 0, 0, 138, 0, 0, 0, 139, 0,
0, 0, 0, 0, 54, 0, 0, 55, 18, 0,
0, 140, 141, 0, 0, 142, 0, 143, 445, 0,
0, 0, 0, 0, 144, 145, 146, 147, 0, 0,
148, 149, 134, 135, 0, 0, 0, 52, 0, 0,
0, 132, 133, 0, 0, 0, 136, 0, 0, 0,
0, 0, 137, 0, 0, 0, 0, 0, 0, 138,
0, 0, 0, 139, 0, 0, 0, 0, 0, 54,
0, 0, 55, 18, 0, 0, 140, 141, 0, 0,
142, 0, 143, 134, 135, 0, 0, 0, 52, 144,
145, 146, 147, 0, 0, 148, 149, 136, 0, 0,
0, 0, 0, 137, 0, 0, 132, 133, 0, 0,
138, 0, 0, 0, 139, 0, 0, 0, 0, 0,
54, 0, 0, 55, 18, 0, 0, 140, 141, 0,
0, 142, 357, 0, 0, 0, 0, 0, 0, 0,
144, 145, 146, 147, 0, 0, 148, 149, 134, 135,
0, 0, 0, 52, 0, 0, 0, 132, 133, 0,
0, 0, 136, 0, 0, 0, 0, 0, 137, 0,
0, 0, 0, 0, 0, 138, 0, 0, 0, 139,
0, 0, 0, 0, 0, 54, 0, 0, 55, 18,
0, 0, 140, 141, 0, 0, 142, 0, 0, 134,
135, 0, 395, 0, 52, 144, 145, 146, 147, 0,
0, 148, 149, 136, 0, 0, 0, 0, 0, 137,
0, 0, 132, 133, 0, 0, 138, 0, 0, 0,
139, 0, 0, 0, 0, 0, 54, 0, 0, 55,
18, 0, 0, 140, 141, 0, 0, 142, 0, 0,
0, 0, 431, 0, 0, 0, 144, 145, 146, 147,
0, 0, 148, 149, 134, 135, 0, 0, 0, 52,
0, 0, 0, 132, 133, 0, 0, 0, 136, 0,
0, 0, 0, 0, 137, 0, 0, 0, 0, 0,
0, 138, 0, 0, 0, 139, 0, 0, 0, 0,
0, 54, 0, 0, 55, 18, 0, 0, 140, 141,
0, 0, 142, 439, 0, 134, 135, 0, 0, 0,
52, 144, 145, 146, 147, 0, 0, 148, 149, 136,
0, 0, 0, 0, 0, 137, 0, 0, 132, 133,
0, 0, 138, 0, 0, 0, 139, 0, 0, 0,
0, 0, 54, 0, 0, 55, 18, 0, 0, 140,
141, 0, 0, 142, 452, 0, 0, 0, 0, 0,
0, 0, 144, 145, 146, 147, 0, 0, 148, 149,
134, 135, 0, 0, 0, 52, 0, 0, 0, 132,
133, 0, 0, 0, 136, 0, 0, 0, 0, 0,
137, 0, 0, 0, 0, 0, 0, 138, 0, 0,
0, 139, 0, 0, 0, 0, 0, 54, 0, 0,
55, 18, 0, 0, 140, 141, 0, 0, 142, 0,
0, 134, 135, 114, 0, 0, 52, 144, 145, 146,
147, 0, 0, 148, 149, 136, 0, 0, 0, 0,
0, 137, 0, 0, 132, 133, 0, 0, 138, 0,
0, 0, 139, 0, 0, 0, 0, 0, 54, 0,
0, 55, 18, 0, 0, 140, 141, 0, 0, 142,
0, 0, 0, 0, 0, 471, 0, 0, 144, 145,
146, 147, 0, 0, 148, 149, 134, 135, 0, 0,
0, 52, 0, 0, 0, 132, 133, 0, 0, 0,
136, 0, 0, 0, 0, 0, 137, 0, 0, 0,
0, 0, 0, 138, 0, 0, 0, 139, 0, 0,
0, 0, 0, 54, 0, 0, 55, 18, 0, 0,
140, 141, 0, 0, 142, 484, 0, 134, 135, 0,
0, 0, 52, 144, 145, 146, 147, 0, 0, 148,
149, 136, 0, 0, 0, 0, 0, 137, 0, 0,
132, 133, 0, 0, 138, 0, 0, 0, 139, 0,
0, 0, 0, 0, 54, 0, 0, 55, 18, 0,
0, 140, 141, 0, 0, 142, 494, 0, 0, 0,
0, 0, 0, 0, 144, 145, 146, 147, 0, 0,
148, 149, 134, 135, 0, 0, 0, 52, 0, 0,
0, 132, 133, 0, 0, 0, 136, 0, 0, 0,
0, 0, 137, 0, 0, 0, 0, 0, 0, 138,
0, 0, 0, 139, 0, 0, 0, 0, 0, 54,
0, 0, 55, 18, 0, 0, 140, 141, 0, 0,
142, 543, 0, 134, 135, 0, 0, 0, 52, 144,
145, 146, 147, 0, 0, 148, 149, 136, 0, 0,
0, 0, 0, 137, 0, 0, 132, 133, 0, 0,
138, 0, 0, 0, 139, 0, 0, 0, 0, 0,
54, 0, 0, 55, 18, 0, 0, 140, 141, 0,
0, 142, 0, 0, 0, 0, 0, 566, 0, 0,
144, 145, 146, 147, 0, 0, 148, 149, 134, 135,
0, 0, 0, 52, 0, 0, 0, 132, 133, 0,
0, 0, 136, 0, 0, 0, 0, 0, 137, 0,
0, 0, 0, 0, 0, 138, 0, 0, 0, 139,
0, 0, 0, 0, 0, 54, 0, 0, 55, 18,
0, 0, 140, 141, 0, 0, 142, 580, 0, 134,
135, 0, 0, 0, 52, 144, 145, 146, 147, 0,
0, 148, 149, 136, 0, 0, 0, 0, 0, 137,
0, 0, 0, 0, 0, 0, 138, 0, 0, 0,
139, 0, 0, 0, 0, 0, 54, 0, 0, 55,
18, 0, 0, 140, 141, 0, 0, 142, 0, 0,
0, 0, 0, 0, 0, 0, 144, 145, 146, 147,
0, 0, 148, 149, 269, 134, 135, 550, 270, 271,
52, 272, 0, 0, 273, 0, 0, 0, 274, 136,
0, 0, 551, 0, 0, 137, 275, 4, 276, 0,
277, 278, 138, 279, 0, 0, 139, 0, 0, 0,
0, 0, 54, 0, 0, 55, 18, 0, 0, 0,
0, 0, 0, 280, 0, 192, 574, 0, 0, 282,
0, 0, 144, 145, 146, 147, 0, 0, 148, 149,
269, 134, 135, 550, 270, 271, 52, 272, 0, 0,
273, 0, 0, 0, 274, 136, 0, 0, 551, 0,
0, 137, 275, 4, 276, 0, 277, 278, 138, 279,
0, 0, 139, 0, 0, 0, 0, 0, 54, 0,
0, 55, 18, 0, 0, 0, 0, 0, 0, 280,
0, 192, 587, 0, 0, 282, 0, 0, 144, 145,
146, 147, 0, 0, 148, 149, 269, 134, 135, 0,
270, 271, 52, 272, 0, 0, 273, 0, 0, 0,
274, 136, 0, 0, 0, 0, 0, 137, 275, 4,
276, 0, 277, 278, 138, 279, 0, 0, 139, 0,
0, 0, 0, 0, 54, 0, 0, 55, 18, 0,
0, 0, 0, 0, 0, 280, 0, 192, 281, 0,
0, 282, 0, 0, 144, 145, 146, 147, 0, 0,
148, 149, 269, 134, 135, 0, 270, 271, 52, 272,
0, 0, 273, 0, 0, 0, 274, 136, 0, 0,
0, 0, 0, 137, 275, 4, 276, 0, 277, 278,
138, 279, 0, 0, 139, 0, 0, 0, 0, 0,
54, 0, 0, 55, 18, 0, 0, 0, 0, 0,
0, 280, 0, 192, 408, 0, 0, 282, 0, 0,
144, 145, 146, 147, 0, 0, 148, 149, 269, 134,
135, 0, 270, 271, 52, 272, 0, 0, 273, 0,
0, 0, 274, 136, 0, 0, 0, 0, 0, 476,
275, 4, 276, 0, 277, 278, 138, 279, 0, 0,
477, 0, 0, 0, 0, 0, 54, 0, 0, 55,
18, 0, 0, 0, 0, 0, 0, 280, 0, 192,
478, 0, 0, 282, 0, 0, 144, 145, 146, 147,
0, 0, 148, 149, 269, 134, 135, 0, 270, 271,
52, 272, 0, 0, 273, 0, 0, 0, 274, 136,
0, 0, 0, 0, 0, 137, 275, 4, 276, 0,
277, 278, 138, 279, 0, 0, 139, 0, 0, 0,
0, 0, 54, 0, 0, 55, 18, 0, 0, 0,
0, 0, 0, 280, 0, 192, 514, 0, 0, 282,
0, 0, 144, 145, 146, 147, 0, 0, 148, 149,
269, 134, 135, 0, 270, 271, 52, 272, 0, 0,
273, 0, 0, 0, 274, 136, 0, 0, 0, 0,
0, 137, 275, 4, 276, 0, 277, 278, 138, 279,
0, 0, 139, 0, 0, 0, 0, 0, 54, 0,
0, 55, 18, 0, 0, 0, 0, 0, 0, 280,
0, 192, 517, 0, 0, 282, 0, 0, 144, 145,
146, 147, 0, 0, 148, 149, 269, 134, 135, 0,
270, 271, 52, 272, 0, 0, 273, 0, 0, 0,
274, 136, 0, 0, 0, 0, 0, 137, 275, 4,
276, 0, 277, 278, 138, 279, 0, 0, 139, 0,
0, 0, 0, 0, 54, 0, 0, 55, 18, 0,
0, 0, 0, 0, 0, 280, 0, 192, 542, 0,
0, 282, 0, 0, 144, 145, 146, 147, 0, 0,
148, 149, 269, 134, 135, 0, 270, 271, 52, 272,
0, 0, 273, 0, 0, 0, 274, 136, 0, 0,
0, 0, 0, 137, 275, 4, 276, 0, 277, 278,
138, 279, 0, 0, 139, 0, 0, 0, 0, 0,
54, 0, 0, 55, 18, 0, 0, 0, 0, 0,
0, 280, 0, 192, 0, 0, 0, 282, 0, 0,
144, 145, 146, 147, 0, 0, 148, 149, 411, 134,
135, 0, 270, 271, 52, 272, 0, 0, 273, 0,
0, 0, 274, 136, 0, 0, 0, 0, 0, 137,
275, 0, 276, 0, 277, 278, 138, 279, 0, 0,
139, 0, 0, 0, 0, 0, 54, 0, 0, 55,
18, 0, 0, 0, 0, 0, 0, 280, 0, 192,
0, 0, 0, 282, 0, 0, 144, 145, 146, 147,
0, 0, 148, 149, 411, 134, 135, 0, 522, 271,
52, 272, 0, 0, 273, 0, 0, 0, 274, 136,
0, 0, 0, 0, 0, 137, 275, 0, 276, 0,
277, 278, 138, 279, 0, 0, 139, 0, 0, 0,
0, 0, 54, 0, 0, 55, 18, 0, 0, 0,
0, 0, 0, 280, 0, 192, 0, 0, 0, 282,
0, 0, 144, 145, 146, 147, 0, 0, 148, 149
};
static const short yycheck[] = { 3,
4, 213, 309, 192, 143, 88, 1, 121, 352, 5,
37, 37, 93, 290, 0, 15, 225, 123, 104, 38,
229, 230, 8, 9, 10, 119, 45, 8, 32, 33,
47, 35, 115, 86, 117, 119, 63, 53, 63, 43,
26, 68, 68, 29, 30, 62, 119, 119, 29, 53,
72, 37, 138, 57, 44, 555, 510, 63, 44, 78,
2, 44, 346, 5, 86, 55, 132, 133, 134, 135,
95, 61, 55, 573, 140, 141, 103, 67, 61, 96,
94, 97, 68, 367, 67, 75, 100, 87, 92, 93,
86, 47, 119, 119, 36, 37, 94, 124, 40, 443,
95, 44, 100, 197, 108, 211, 62, 50, 202, 99,
204, 138, 566, 197, 72, 142, 99, 103, 76, 123,
499, 63, 195, 206, 197, 197, 68, 52, 214, 297,
72, 585, 341, 119, 76, 344, 304, 50, 306, 82,
96, 101, 85, 86, 93, 86, 430, 526, 97, 57,
529, 94, 101, 526, 158, 99, 529, 8, 99, 10,
118, 103, 104, 470, 471, 192, 450, 97, 195, 82,
197, 197, 85, 86, 86, 37, 118, 119, 29, 245,
246, 247, 124, 277, 92, 93, 213, 99, 192, 94,
132, 133, 134, 135, 99, 100, 138, 44, 140, 141,
142, 63, 283, 510, 583, 482, 68, 211, 9, 97,
583, 197, 591, 101, 61, 594, 355, 596, 591, 223,
67, 594, 95, 596, 99, 26, 99, 213, 44, 30,
257, 109, 516, 97, 94, 239, 240, 101, 515, 428,
100, 103, 44, 44, 327, 61, 98, 65, 50, 67,
192, 67, 99, 195, 72, 197, 95, 119, 76, 566,
287, 100, 124, 290, 142, 143, 97, 94, 86, 273,
97, 213, 214, 94, 101, 279, 97, 561, 585, 283,
82, 347, 309, 85, 86, 99, 290, 101, 36, 94,
502, 480, 40, 297, 99, 100, 92, 100, 575, 326,
304, 97, 306, 245, 246, 247, 248, 249, 250, 251,
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
262, 263, 264, 309, 72, 439, 407, 67, 76, 192,
96, 499, 72, 195, 100, 197, 76, 94, 452, 94,
326, 93, 97, 100, 94, 287, 86, 499, 290, 94,
100, 213, 98, 94, 341, 100, 104, 344, 526, 100,
238, 529, 98, 241, 499, 94, 44, 309, 462, 537,
118, 100, 50, 94, 526, 489, 442, 529, 546, 100,
44, 60, 192, 497, 326, 64, 50, 265, 95, 416,
138, 526, 560, 271, 529, 98, 274, 18, 19, 20,
21, 428, 280, 407, 82, 347, 98, 85, 86, 100,
352, 253, 254, 255, 256, 583, 94, 511, 82, 99,
100, 85, 86, 591, 428, 287, 594, 290, 596, 101,
99, 583, 101, 95, 297, 97, 57, 91, 92, 591,
499, 304, 594, 306, 596, 343, 309, 345, 583, 5,
6, 7, 101, 480, 101, 482, 591, 99, 100, 594,
101, 596, 340, 557, 326, 97, 214, 526, 91, 92,
529, 11, 350, 12, 416, 502, 480, 355, 482, 13,
290, 45, 46, 91, 92, 93, 428, 297, 515, 97,
8, 9, 10, 101, 304, 499, 306, 3, 4, 309,
442, 443, 91, 92, 91, 92, 93, 16, 17, 513,
97, 515, 454, 391, 101, 14, 502, 95, 192, 397,
398, 93, 526, 53, 583, 529, 95, 405, 555, 45,
46, 97, 591, 537, 67, 594, 97, 596, 480, 44,
482, 93, 546, 421, 422, 50, 573, 94, 575, 45,
46, 555, 248, 249, 416, 96, 560, 250, 251, 252,
502, 44, 67, 258, 259, 428, 67, 50, 93, 573,
448, 575, 93, 515, 93, 88, 59, 82, 61, 583,
85, 86, 93, 93, 67, 0, 93, 591, 88, 93,
594, 99, 596, 8, 9, 10, 99, 99, 95, 82,
93, 192, 85, 86, 99, 99, 98, 470, 471, 98,
98, 26, 93, 555, 29, 30, 290, 480, 428, 482,
99, 99, 37, 297, 99, 192, 99, 94, 506, 44,
304, 573, 306, 575, 100, 309, 499, 66, 100, 44,
502, 99, 98, 97, 86, 50, 98, 510, 94, 91,
92, 93, 515, 68, 59, 97, 61, 94, 94, 101,
470, 471, 67, 526, 99, 93, 529, 545, 93, 99,
480, 549, 482, 551, 537, 94, 93, 82, 192, 93,
85, 86, 95, 546, 94, 93, 56, 56, 99, 499,
95, 96, 555, 94, 94, 94, 93, 560, 88, 290,
510, 99, 88, 566, 119, 515, 297, 99, 99, 94,
573, 99, 575, 304, 94, 306, 526, 99, 309, 529,
583, 99, 585, 290, 0, 56, 44, 537, 591, 94,
297, 594, 50, 596, 0, 257, 546, 304, 10, 306,
46, 59, 309, 61, 80, 555, 197, 108, 195, 67,
560, 326, 425, 45, 428, 68, 566, 463, 309, 553,
553, 192, 463, 573, 82, 575, 309, 85, 86, 260,
225, 261, 454, 583, -1, 585, 290, 95, 96, 263,
262, 591, 197, 297, 594, -1, 596, 264, 44, -1,
304, -1, 306, -1, 50, 309, 470, 471, 268, -1,
-1, 44, -1, 59, -1, 61, 480, 50, 482, -1,
-1, 67, -1, -1, -1, -1, 59, -1, 61, -1,
-1, -1, -1, -1, 67, 499, 82, -1, -1, 85,
86, -1, -1, -1, -1, -1, 510, 428, -1, 82,
96, 515, 85, 86, -1, -1, -1, -1, -1, -1,
-1, -1, 526, 96, -1, 529, -1, -1, -1, 290,
192, 428, -1, 537, -1, -1, 297, -1, -1, -1,
-1, -1, 546, 304, -1, 306, -1, -1, 309, 470,
471, 555, -1, -1, -1, -1, 560, -1, -1, 480,
-1, 482, 566, -1, -1, -1, -1, -1, -1, 573,
-1, 575, -1, 470, 471, -1, -1, -1, 499, 583,
-1, 585, -1, 480, 428, 482, -1, 591, -1, 510,
594, -1, 596, -1, 515, -1, -1, -1, -1, -1,
-1, -1, 499, -1, 86, 526, -1, -1, 529, 91,
92, 93, -1, 510, -1, 97, 537, -1, 515, 101,
-1, -1, -1, -1, -1, 546, 470, 471, 290, 526,
-1, -1, 529, -1, 555, 297, 480, -1, 482, 560,
537, -1, 304, -1, 306, 566, -1, 309, -1, 546,
-1, -1, 573, -1, 575, 499, -1, -1, 555, -1,
-1, -1, 583, 560, 585, -1, 510, 428, -1, 566,
591, 515, -1, 594, -1, 596, 573, -1, 575, -1,
-1, -1, 526, -1, -1, 529, 583, -1, 585, -1,
-1, -1, -1, 537, 591, -1, -1, 594, -1, 596,
-1, -1, 546, -1, -1, -1, -1, -1, -1, 470,
471, 555, -1, -1, -1, -1, 560, -1, -1, 480,
-1, 482, 566, -1, -1, -1, -1, -1, -1, 573,
-1, 575, -1, -1, -1, -1, -1, -1, 499, 583,
-1, 585, 44, 45, 46, -1, -1, 591, 50, 510,
594, -1, 596, -1, 515, -1, -1, 59, -1, -1,
-1, -1, -1, 65, -1, 526, 428, -1, 529, -1,
72, -1, -1, -1, 76, -1, 537, -1, -1, -1,
82, -1, -1, 85, 86, 546, -1, -1, -1, -1,
-1, 93, -1, -1, 555, -1, -1, -1, -1, 560,
102, 103, 104, 105, -1, 566, 108, 109, 470, 471,
-1, -1, 573, -1, 575, -1, -1, -1, 480, -1,
482, -1, 583, -1, 585, -1, -1, -1, -1, -1,
591, -1, -1, 594, -1, 596, -1, 499, 132, 133,
134, 135, -1, -1, -1, -1, 140, 141, 510, -1,
-1, -1, -1, 515, -1, -1, -1, -1, -1, -1,
132, 133, 134, 135, 526, -1, -1, 529, 140, 141,
-1, -1, -1, -1, -1, 537, -1, -1, -1, -1,
-1, -1, -1, -1, 546, 45, 46, -1, -1, -1,
50, -1, -1, 555, -1, -1, -1, -1, 560, 59,
-1, -1, -1, -1, 566, 65, -1, -1, -1, -1,
-1, 573, 72, 575, -1, -1, 76, -1, -1, -1,
-1, 583, 82, 585, -1, 85, 86, -1, -1, 591,
-1, -1, 594, 93, 596, -1, -1, -1, -1, -1,
-1, -1, 102, 103, 104, 105, -1, -1, 108, 109,
-1, 245, 246, 247, 248, 249, 250, 251, 252, 253,
254, 255, 256, -1, 258, 259, 260, 261, 262, 263,
264, -1, -1, 245, 246, 247, 248, 249, 250, 251,
252, 253, 254, 255, 256, -1, 258, 259, 260, 261,
262, 263, 264, 1, -1, 3, 4, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 45, 46, -1,
-1, -1, 50, -1, -1, -1, -1, -1, -1, -1,
-1, 59, -1, 347, -1, -1, -1, 65, 352, -1,
-1, -1, -1, -1, 72, -1, -1, -1, 76, -1,
-1, -1, -1, -1, 82, 347, -1, 85, 86, -1,
352, 89, 90, 50, -1, 93, -1, -1, -1, -1,
-1, -1, 59, -1, 102, 103, 104, 105, 65, -1,
108, 109, -1, -1, -1, 72, -1, -1, -1, 76,
3, 4, -1, -1, -1, 82, -1, -1, 85, 86,
-1, -1, 89, 90, -1, -1, 93, -1, -1, -1,
-1, -1, -1, -1, -1, 102, 103, 104, 105, -1,
-1, 108, 109, -1, -1, -1, -1, -1, 442, 443,
-1, -1, 45, 46, -1, -1, -1, 50, -1, -1,
454, -1, -1, -1, -1, -1, 59, -1, -1, -1,
442, 443, 65, -1, -1, 3, 4, -1, -1, 72,
-1, -1, 454, 76, -1, -1, -1, -1, -1, 82,
-1, -1, 85, 86, -1, -1, 89, 90, -1, -1,
93, -1, 95, 96, -1, -1, -1, 100, -1, 102,
103, 104, 105, -1, -1, 108, 109, 45, 46, -1,
-1, -1, 50, -1, -1, -1, -1, -1, -1, -1,
-1, 59, -1, -1, -1, -1, -1, 65, -1, -1,
3, 4, -1, -1, 72, -1, -1, -1, 76, -1,
-1, -1, -1, -1, 82, -1, -1, 85, 86, -1,
-1, 89, 90, -1, -1, 93, -1, 95, 96, -1,
-1, -1, -1, -1, 102, 103, 104, 105, -1, -1,
108, 109, 45, 46, -1, -1, -1, 50, -1, -1,
-1, 3, 4, -1, -1, -1, 59, -1, -1, -1,
-1, -1, 65, -1, -1, -1, -1, -1, -1, 72,
-1, -1, -1, 76, -1, -1, -1, -1, -1, 82,
-1, -1, 85, 86, -1, -1, 89, 90, -1, -1,
93, -1, 95, 45, 46, -1, -1, -1, 50, 102,
103, 104, 105, -1, -1, 108, 109, 59, -1, -1,
-1, -1, -1, 65, -1, -1, 3, 4, -1, -1,
72, -1, -1, -1, 76, -1, -1, -1, -1, -1,
82, -1, -1, 85, 86, -1, -1, 89, 90, -1,
-1, 93, 94, -1, -1, -1, -1, -1, -1, -1,
102, 103, 104, 105, -1, -1, 108, 109, 45, 46,
-1, -1, -1, 50, -1, -1, -1, 3, 4, -1,
-1, -1, 59, -1, -1, -1, -1, -1, 65, -1,
-1, -1, -1, -1, -1, 72, -1, -1, -1, 76,
-1, -1, -1, -1, -1, 82, -1, -1, 85, 86,
-1, -1, 89, 90, -1, -1, 93, -1, -1, 45,
46, -1, 99, -1, 50, 102, 103, 104, 105, -1,
-1, 108, 109, 59, -1, -1, -1, -1, -1, 65,
-1, -1, 3, 4, -1, -1, 72, -1, -1, -1,
76, -1, -1, -1, -1, -1, 82, -1, -1, 85,
86, -1, -1, 89, 90, -1, -1, 93, -1, -1,
-1, -1, 98, -1, -1, -1, 102, 103, 104, 105,
-1, -1, 108, 109, 45, 46, -1, -1, -1, 50,
-1, -1, -1, 3, 4, -1, -1, -1, 59, -1,
-1, -1, -1, -1, 65, -1, -1, -1, -1, -1,
-1, 72, -1, -1, -1, 76, -1, -1, -1, -1,
-1, 82, -1, -1, 85, 86, -1, -1, 89, 90,
-1, -1, 93, 94, -1, 45, 46, -1, -1, -1,
50, 102, 103, 104, 105, -1, -1, 108, 109, 59,
-1, -1, -1, -1, -1, 65, -1, -1, 3, 4,
-1, -1, 72, -1, -1, -1, 76, -1, -1, -1,
-1, -1, 82, -1, -1, 85, 86, -1, -1, 89,
90, -1, -1, 93, 94, -1, -1, -1, -1, -1,
-1, -1, 102, 103, 104, 105, -1, -1, 108, 109,
45, 46, -1, -1, -1, 50, -1, -1, -1, 3,
4, -1, -1, -1, 59, -1, -1, -1, -1, -1,
65, -1, -1, -1, -1, -1, -1, 72, -1, -1,
-1, 76, -1, -1, -1, -1, -1, 82, -1, -1,
85, 86, -1, -1, 89, 90, -1, -1, 93, -1,
-1, 45, 46, 98, -1, -1, 50, 102, 103, 104,
105, -1, -1, 108, 109, 59, -1, -1, -1, -1,
-1, 65, -1, -1, 3, 4, -1, -1, 72, -1,
-1, -1, 76, -1, -1, -1, -1, -1, 82, -1,
-1, 85, 86, -1, -1, 89, 90, -1, -1, 93,
-1, -1, -1, -1, -1, 99, -1, -1, 102, 103,
104, 105, -1, -1, 108, 109, 45, 46, -1, -1,
-1, 50, -1, -1, -1, 3, 4, -1, -1, -1,
59, -1, -1, -1, -1, -1, 65, -1, -1, -1,
-1, -1, -1, 72, -1, -1, -1, 76, -1, -1,
-1, -1, -1, 82, -1, -1, 85, 86, -1, -1,
89, 90, -1, -1, 93, 94, -1, 45, 46, -1,
-1, -1, 50, 102, 103, 104, 105, -1, -1, 108,
109, 59, -1, -1, -1, -1, -1, 65, -1, -1,
3, 4, -1, -1, 72, -1, -1, -1, 76, -1,
-1, -1, -1, -1, 82, -1, -1, 85, 86, -1,
-1, 89, 90, -1, -1, 93, 94, -1, -1, -1,
-1, -1, -1, -1, 102, 103, 104, 105, -1, -1,
108, 109, 45, 46, -1, -1, -1, 50, -1, -1,
-1, 3, 4, -1, -1, -1, 59, -1, -1, -1,
-1, -1, 65, -1, -1, -1, -1, -1, -1, 72,
-1, -1, -1, 76, -1, -1, -1, -1, -1, 82,
-1, -1, 85, 86, -1, -1, 89, 90, -1, -1,
93, 94, -1, 45, 46, -1, -1, -1, 50, 102,
103, 104, 105, -1, -1, 108, 109, 59, -1, -1,
-1, -1, -1, 65, -1, -1, 3, 4, -1, -1,
72, -1, -1, -1, 76, -1, -1, -1, -1, -1,
82, -1, -1, 85, 86, -1, -1, 89, 90, -1,
-1, 93, -1, -1, -1, -1, -1, 99, -1, -1,
102, 103, 104, 105, -1, -1, 108, 109, 45, 46,
-1, -1, -1, 50, -1, -1, -1, 3, 4, -1,
-1, -1, 59, -1, -1, -1, -1, -1, 65, -1,
-1, -1, -1, -1, -1, 72, -1, -1, -1, 76,
-1, -1, -1, -1, -1, 82, -1, -1, 85, 86,
-1, -1, 89, 90, -1, -1, 93, 94, -1, 45,
46, -1, -1, -1, 50, 102, 103, 104, 105, -1,
-1, 108, 109, 59, -1, -1, -1, -1, -1, 65,
-1, -1, -1, -1, -1, -1, 72, -1, -1, -1,
76, -1, -1, -1, -1, -1, 82, -1, -1, 85,
86, -1, -1, 89, 90, -1, -1, 93, -1, -1,
-1, -1, -1, -1, -1, -1, 102, 103, 104, 105,
-1, -1, 108, 109, 44, 45, 46, 47, 48, 49,
50, 51, -1, -1, 54, -1, -1, -1, 58, 59,
-1, -1, 62, -1, -1, 65, 66, 67, 68, -1,
70, 71, 72, 73, -1, -1, 76, -1, -1, -1,
-1, -1, 82, -1, -1, 85, 86, -1, -1, -1,
-1, -1, -1, 93, -1, 95, 96, -1, -1, 99,
-1, -1, 102, 103, 104, 105, -1, -1, 108, 109,
44, 45, 46, 47, 48, 49, 50, 51, -1, -1,
54, -1, -1, -1, 58, 59, -1, -1, 62, -1,
-1, 65, 66, 67, 68, -1, 70, 71, 72, 73,
-1, -1, 76, -1, -1, -1, -1, -1, 82, -1,
-1, 85, 86, -1, -1, -1, -1, -1, -1, 93,
-1, 95, 96, -1, -1, 99, -1, -1, 102, 103,
104, 105, -1, -1, 108, 109, 44, 45, 46, -1,
48, 49, 50, 51, -1, -1, 54, -1, -1, -1,
58, 59, -1, -1, -1, -1, -1, 65, 66, 67,
68, -1, 70, 71, 72, 73, -1, -1, 76, -1,
-1, -1, -1, -1, 82, -1, -1, 85, 86, -1,
-1, -1, -1, -1, -1, 93, -1, 95, 96, -1,
-1, 99, -1, -1, 102, 103, 104, 105, -1, -1,
108, 109, 44, 45, 46, -1, 48, 49, 50, 51,
-1, -1, 54, -1, -1, -1, 58, 59, -1, -1,
-1, -1, -1, 65, 66, 67, 68, -1, 70, 71,
72, 73, -1, -1, 76, -1, -1, -1, -1, -1,
82, -1, -1, 85, 86, -1, -1, -1, -1, -1,
-1, 93, -1, 95, 96, -1, -1, 99, -1, -1,
102, 103, 104, 105, -1, -1, 108, 109, 44, 45,
46, -1, 48, 49, 50, 51, -1, -1, 54, -1,
-1, -1, 58, 59, -1, -1, -1, -1, -1, 65,
66, 67, 68, -1, 70, 71, 72, 73, -1, -1,
76, -1, -1, -1, -1, -1, 82, -1, -1, 85,
86, -1, -1, -1, -1, -1, -1, 93, -1, 95,
96, -1, -1, 99, -1, -1, 102, 103, 104, 105,
-1, -1, 108, 109, 44, 45, 46, -1, 48, 49,
50, 51, -1, -1, 54, -1, -1, -1, 58, 59,
-1, -1, -1, -1, -1, 65, 66, 67, 68, -1,
70, 71, 72, 73, -1, -1, 76, -1, -1, -1,
-1, -1, 82, -1, -1, 85, 86, -1, -1, -1,
-1, -1, -1, 93, -1, 95, 96, -1, -1, 99,
-1, -1, 102, 103, 104, 105, -1, -1, 108, 109,
44, 45, 46, -1, 48, 49, 50, 51, -1, -1,
54, -1, -1, -1, 58, 59, -1, -1, -1, -1,
-1, 65, 66, 67, 68, -1, 70, 71, 72, 73,
-1, -1, 76, -1, -1, -1, -1, -1, 82, -1,
-1, 85, 86, -1, -1, -1, -1, -1, -1, 93,
-1, 95, 96, -1, -1, 99, -1, -1, 102, 103,
104, 105, -1, -1, 108, 109, 44, 45, 46, -1,
48, 49, 50, 51, -1, -1, 54, -1, -1, -1,
58, 59, -1, -1, -1, -1, -1, 65, 66, 67,
68, -1, 70, 71, 72, 73, -1, -1, 76, -1,
-1, -1, -1, -1, 82, -1, -1, 85, 86, -1,
-1, -1, -1, -1, -1, 93, -1, 95, 96, -1,
-1, 99, -1, -1, 102, 103, 104, 105, -1, -1,
108, 109, 44, 45, 46, -1, 48, 49, 50, 51,
-1, -1, 54, -1, -1, -1, 58, 59, -1, -1,
-1, -1, -1, 65, 66, 67, 68, -1, 70, 71,
72, 73, -1, -1, 76, -1, -1, -1, -1, -1,
82, -1, -1, 85, 86, -1, -1, -1, -1, -1,
-1, 93, -1, 95, -1, -1, -1, 99, -1, -1,
102, 103, 104, 105, -1, -1, 108, 109, 44, 45,
46, -1, 48, 49, 50, 51, -1, -1, 54, -1,
-1, -1, 58, 59, -1, -1, -1, -1, -1, 65,
66, -1, 68, -1, 70, 71, 72, 73, -1, -1,
76, -1, -1, -1, -1, -1, 82, -1, -1, 85,
86, -1, -1, -1, -1, -1, -1, 93, -1, 95,
-1, -1, -1, 99, -1, -1, 102, 103, 104, 105,
-1, -1, 108, 109, 44, 45, 46, -1, 48, 49,
50, 51, -1, -1, 54, -1, -1, -1, 58, 59,
-1, -1, -1, -1, -1, 65, 66, -1, 68, -1,
70, 71, 72, 73, -1, -1, 76, -1, -1, -1,
-1, -1, 82, -1, -1, 85, 86, -1, -1, -1,
-1, -1, -1, 93, -1, 95, -1, -1, -1, 99,
-1, -1, 102, 103, 104, 105, -1, -1, 108, 109
};
#define YYPURE 1
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/cygnus/gnupro-98r2/share/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
#ifndef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not GNU C. */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
#include <alloca.h>
#else /* not sparc */
#if defined (MSDOS) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
#pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
void *alloca (unsigned int);
};
#else /* not __cplusplus */
void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc. */
#endif /* not GNU C. */
#endif /* alloca not defined. */
/* This is the parser code that is written into each bison parser
when the %semantic_parser declaration is not specified in the grammar.
It was written by Richard Stallman by simplifying the hairy parser
used when %semantic_parser is specified. */
/* Note: there must be only one dollar sign in this file.
It is replaced by the list of actions, each action
as one case of the switch. */
#define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY -2
#define YYEOF 0
#define YYACCEPT return(0)
#define YYABORT return(1)
#define YYERROR goto yyerrlab1
/* Like YYERROR except do call yyerror.
This remains here temporarily to ease the
transition to the new meaning of YYERROR, for GCC.
Once GCC version 2 has supplanted version 1, this can go. */
#define YYFAIL goto yyerrlab
#define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(token, value) \
do \
if (yychar == YYEMPTY && yylen == 1) \
{ yychar = (token), yylval = (value); \
yychar1 = YYTRANSLATE (yychar); \
YYPOPSTACK; \
goto yybackup; \
} \
else \
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
while (0)
#define YYTERROR 1
#define YYERRCODE 256
#ifndef YYPURE
#define YYLEX yylex()
#endif
#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif
/* If nonreentrant, generate the variables here */
#ifndef YYPURE
int yychar; /* the lookahead symbol */
YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */
#ifdef YYLSP_NEEDED
YYLTYPE yylloc; /* location data for the lookahead */
/* symbol */
#endif
int yynerrs; /* number of parse errors so far */
#endif /* not YYPURE */
#if YYDEBUG != 0
int yydebug; /* nonzero means print parse trace */
/* Since this is uninitialized, it does not stop multiple parsers
from coexisting. */
#endif
/* YYINITDEPTH indicates the initial size of the parser's stacks */
#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif
/* YYMAXDEPTH is the maximum size the stacks can grow to
(effective only if the built-in stack extension method is used). */
#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif
#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
int yyparse (void);
#endif
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
#else /* not GNU C or C++ */
#ifndef __cplusplus
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (to, from, count)
char *to;
char *from;
int count;
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#else /* __cplusplus */
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (char *to, char *from, int count)
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}
#endif
#endif
#line 196 "/usr/cygnus/gnupro-98r2/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
It should actually point to an object.
Grammar actions can access the variable by casting it
to the proper pointer type. */
#ifdef YYPARSE_PARAM
#ifdef __cplusplus
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#else /* not __cplusplus */
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#endif /* not __cplusplus */
#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#endif /* not YYPARSE_PARAM */
int
yyparse(YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
register int yystate;
register int yyn;
register short *yyssp;
register YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */
short yyssa[YYINITDEPTH]; /* the state stack */
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
#ifdef YYLSP_NEEDED
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
YYLTYPE *yyls = yylsa;
YYLTYPE *yylsp;
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK (yyvsp--, yyssp--)
#endif
int yystacksize = YYINITDEPTH;
#ifdef YYPURE
int yychar;
YYSTYPE yylval;
int yynerrs;
#ifdef YYLSP_NEEDED
YYLTYPE yylloc;
#endif
#endif
YYSTYPE yyval; /* the variable used to return */
/* semantic values from the action */
/* routines */
int yylen;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Starting parse\n");
#endif
yystate = 0;
yyerrstatus = 0;
yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */
/* Initialize stack pointers.
Waste one element of value and location stack
so that they stay on the same level as the state stack.
The wasted elements are never initialized. */
yyssp = yyss - 1;
yyvsp = yyvs;
#ifdef YYLSP_NEEDED
yylsp = yyls;
#endif
/* Push a new state, which is found in yystate . */
/* In all cases, when you get here, the value and location stacks
have just been pushed. so pushing a state here evens the stacks. */
yynewstate:
*++yyssp = yystate;
if (yyssp >= yyss + yystacksize - 1)
{
/* Give user a chance to reallocate the stack */
/* Use copies of these so that the &'s don't force the real ones into memory. */
YYSTYPE *yyvs1 = yyvs;
short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
YYLTYPE *yyls1 = yyls;
#endif
/* Get the current used size of the three stacks, in elements. */
int size = yyssp - yyss + 1;
#ifdef yyoverflow
/* Each stack pointer address is followed by the size of
the data in use in that stack, in bytes. */
#ifdef YYLSP_NEEDED
/* This used to be a conditional around just the two extra args,
but that might be undefined if yyoverflow is a macro. */
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yyls1, size * sizeof (*yylsp),
&yystacksize);
#else
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yystacksize);
#endif
yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
yyls = yyls1;
#endif
#else /* no yyoverflow */
/* Extend the stack our own way. */
if (yystacksize >= YYMAXDEPTH)
{
yyerror("parser stack overflow");
return 2;
}
yystacksize *= 2;
if (yystacksize > YYMAXDEPTH)
yystacksize = YYMAXDEPTH;
yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
__yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp));
yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
__yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
__yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp));
#endif
#endif /* no yyoverflow */
yyssp = yyss + size - 1;
yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
yylsp = yyls + size - 1;
#endif
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif
if (yyssp >= yyss + yystacksize - 1)
YYABORT;
}
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Entering state %d\n", yystate);
#endif
goto yybackup;
yybackup:
/* Do appropriate processing given the current state. */
/* Read a lookahead token if we need one and don't already have one. */
/* yyresume: */
/* First try to decide what to do without reference to lookahead token. */
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yydefault;
/* Not known => get a lookahead token if don't already have one. */
/* yychar is either YYEMPTY or YYEOF
or a valid token in external form. */
if (yychar == YYEMPTY)
{
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Reading a token: ");
#endif
yychar = YYLEX;
}
/* Convert token to internal form (in yychar1) for indexing tables with */
if (yychar <= 0) /* This means end of input. */
{
yychar1 = 0;
yychar = YYEOF; /* Don't call YYLEX any more */
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Now at end of input.\n");
#endif
}
else
{
yychar1 = YYTRANSLATE(yychar);
#if YYDEBUG != 0
if (yydebug)
{
fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
/* Give the individual parser a way to print the precise meaning
of a token, for further debugging info. */
#ifdef YYPRINT
YYPRINT (stderr, yychar, yylval);
#endif
fprintf (stderr, ")\n");
}
#endif
}
yyn += yychar1;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
goto yydefault;
yyn = yytable[yyn];
/* yyn is what to do for this token type in this state.
Negative => reduce, -yyn is rule number.
Positive => shift, yyn is new state.
New state is final state => don't bother to shift,
just return success.
0, or most negative number => error. */
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrlab;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrlab;
if (yyn == YYFINAL)
YYACCEPT;
/* Shift the lookahead token. */
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif
/* Discard the token being shifted unless it is eof. */
if (yychar != YYEOF)
yychar = YYEMPTY;
*++yyvsp = yylval;
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif
/* count tokens shifted since error; after three, turn off error status. */
if (yyerrstatus) yyerrstatus--;
yystate = yyn;
goto yynewstate;
/* Do the default action for the current state. */
yydefault:
yyn = yydefact[yystate];
if (yyn == 0)
goto yyerrlab;
/* Do a reduction. yyn is the number of a rule to reduce with. */
yyreduce:
yylen = yyr2[yyn];
if (yylen > 0)
yyval = yyvsp[1-yylen]; /* implement default value of the action */
#if YYDEBUG != 0
if (yydebug)
{
int i;
fprintf (stderr, "Reducing via rule %d (line %d), ",
yyn, yyrline[yyn]);
/* Print the symbols being reduced, and their result. */
for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
fprintf (stderr, "%s ", yytname[yyrhs[i]]);
fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
}
#endif
switch (yyn) {
case 10:
#line 193 "./parse-scan.y"
{
/* use preset global here. FIXME */
yyval.node = xstrdup ("int");
;
break;}
case 11:
#line 198 "./parse-scan.y"
{
/* use preset global here. FIXME */
yyval.node = xstrdup ("double");
;
break;}
case 12:
#line 203 "./parse-scan.y"
{
/* use preset global here. FIXME */
yyval.node = xstrdup ("boolean");
;
break;}
case 19:
#line 229 "./parse-scan.y"
{
char *n = xmalloc (strlen (yyvsp[-2].node)+2);
n [0] = '[';
strcpy (n+1, yyvsp[-2].node);
yyval.node = n;
;
break;}
case 20:
#line 236 "./parse-scan.y"
{
char *n = xmalloc (strlen (yyvsp[-2].node)+2);
n [0] = '[';
strcpy (n+1, yyvsp[-2].node);
yyval.node = n;
;
break;}
case 24:
#line 256 "./parse-scan.y"
{
char *n = xmalloc (strlen (yyvsp[-2].node)+strlen (yyvsp[0].node)+2);
sprintf (n, "%s.%s", yyvsp[-2].node, yyvsp[0].node);
yyval.node = n;
;
break;}
case 38:
#line 290 "./parse-scan.y"
{ package_name = yyvsp[-1].node; ;
break;}
case 46:
#line 317 "./parse-scan.y"
{
if (yyvsp[0].value == PUBLIC_TK)
modifier_value++;
if (yyvsp[0].value == STATIC_TK)
modifier_value++;
USE_ABSORBER;
;
break;}
case 47:
#line 325 "./parse-scan.y"
{
if (yyvsp[0].value == PUBLIC_TK)
modifier_value++;
if (yyvsp[0].value == STATIC_TK)
modifier_value++;
USE_ABSORBER;
;
break;}
case 48:
#line 337 "./parse-scan.y"
{
report_class_declaration(yyvsp[-2].node);
modifier_value = 0;
;
break;}
case 50:
#line 343 "./parse-scan.y"
{ report_class_declaration(yyvsp[-2].node); ;
break;}
case 56:
#line 357 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 57:
#line 359 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 70:
#line 389 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 71:
#line 391 "./parse-scan.y"
{ modifier_value = 0; ;
break;}
case 76:
#line 407 "./parse-scan.y"
{ bracket_count = 0; USE_ABSORBER; ;
break;}
case 77:
#line 409 "./parse-scan.y"
{ ++bracket_count; ;
break;}
case 81:
#line 424 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 83:
#line 427 "./parse-scan.y"
{ modifier_value = 0; ;
break;}
case 84:
#line 429 "./parse-scan.y"
{
report_main_declaration (yyvsp[-1].declarator);
modifier_value = 0;
;
break;}
case 85:
#line 437 "./parse-scan.y"
{
struct method_declarator *d;
NEW_METHOD_DECLARATOR (d, yyvsp[-2].node, NULL);
yyval.declarator = d;
;
break;}
case 86:
#line 443 "./parse-scan.y"
{
struct method_declarator *d;
NEW_METHOD_DECLARATOR (d, yyvsp[-3].node, yyvsp[-1].node);
yyval.declarator = d;
;
break;}
case 89:
#line 454 "./parse-scan.y"
{
char *n = xmalloc (strlen (yyvsp[-2].node)+strlen(yyvsp[0].node)+2);
sprintf (n, "%s,%s", yyvsp[-2].node, yyvsp[0].node);
yyval.node = n;
;
break;}
case 90:
#line 463 "./parse-scan.y"
{
USE_ABSORBER;
if (bracket_count)
{
int i;
char *n = xmalloc (bracket_count + 1 + strlen (yyval.node));
for (i = 0; i < bracket_count; ++i)
n[i] = '[';
strcpy (n + bracket_count, yyval.node);
yyval.node = n;
}
else
yyval.node = yyvsp[-1].node;
;
break;}
case 91:
#line 478 "./parse-scan.y"
{
if (bracket_count)
{
int i;
char *n = xmalloc (bracket_count + 1 + strlen (yyval.node));
for (i = 0; i < bracket_count; ++i)
n[i] = '[';
strcpy (n + bracket_count, yyval.node);
yyval.node = n;
}
else
yyval.node = yyvsp[-1].node;
;
break;}
case 94:
#line 499 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 95:
#line 501 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 101:
#line 518 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 103:
#line 529 "./parse-scan.y"
{ modifier_value = 0; ;
break;}
case 105:
#line 534 "./parse-scan.y"
{ modifier_value = 0; ;
break;}
case 106:
#line 541 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 107:
#line 543 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 114:
#line 560 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 115:
#line 562 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 118:
#line 574 "./parse-scan.y"
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
break;}
case 119:
#line 576 "./parse-scan.y"
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
break;}
case 120:
#line 578 "./parse-scan.y"
{ report_class_declaration (yyvsp[-2].node); modifier_value = 0; ;
break;}
case 121:
#line 580 "./parse-scan.y"
{ report_class_declaration (yyvsp[-2].node); modifier_value = 0; ;
break;}
case 148:
#line 649 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 149:
#line 651 "./parse-scan.y"
{ modifier_value = 0; ;
break;}
case 173:
#line 691 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 226:
#line 838 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 243:
#line 878 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 244:
#line 880 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 246:
#line 886 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 255:
#line 908 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 273:
#line 950 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 274:
#line 952 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 279:
#line 961 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 282:
#line 968 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
case 337:
#line 1087 "./parse-scan.y"
{ USE_ABSORBER; ;
break;}
}
/* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/cygnus/gnupro-98r2/share/bison.simple"
yyvsp -= yylen;
yyssp -= yylen;
#ifdef YYLSP_NEEDED
yylsp -= yylen;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
*++yyvsp = yyval;
#ifdef YYLSP_NEEDED
yylsp++;
if (yylen == 0)
{
yylsp->first_line = yylloc.first_line;
yylsp->first_column = yylloc.first_column;
yylsp->last_line = (yylsp-1)->last_line;
yylsp->last_column = (yylsp-1)->last_column;
yylsp->text = 0;
}
else
{
yylsp->last_line = (yylsp+yylen-1)->last_line;
yylsp->last_column = (yylsp+yylen-1)->last_column;
}
#endif
/* Now "shift" the result of the reduction.
Determine what state that goes to,
based on the state we popped back to
and the rule number reduced by. */
yyn = yyr1[yyn];
yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
yystate = yytable[yystate];
else
yystate = yydefgoto[yyn - YYNTBASE];
goto yynewstate;
yyerrlab: /* here on detecting error */
if (! yyerrstatus)
/* If not already recovering from an error, report this error. */
{
++yynerrs;
#ifdef YYERROR_VERBOSE
yyn = yypact[yystate];
if (yyn > YYFLAG && yyn < YYLAST)
{
int size = 0;
char *msg;
int x, count;
count = 0;
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
size += strlen(yytname[x]) + 15, count++;
msg = (char *) malloc(size + 15);
if (msg != 0)
{
strcpy(msg, "parse error");
if (count < 5)
{
count = 0;
for (x = (yyn < 0 ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)
{
strcat(msg, count == 0 ? ", expecting `" : " or `");
strcat(msg, yytname[x]);
strcat(msg, "'");
count++;
}
}
yyerror(msg);
free(msg);
}
else
yyerror ("parse error; also virtual memory exceeded");
}
else
#endif /* YYERROR_VERBOSE */
yyerror("parse error");
}
goto yyerrlab1;
yyerrlab1: /* here on error raised explicitly by an action */
if (yyerrstatus == 3)
{
/* if just tried and failed to reuse lookahead token after an error, discard it. */
/* return failure if at end of input */
if (yychar == YYEOF)
YYABORT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif
yychar = YYEMPTY;
}
/* Else will try to reuse lookahead token
after shifting the error token. */
yyerrstatus = 3; /* Each real token shifted decrements this */
goto yyerrhandle;
yyerrdefault: /* current state does not do anything special for the error token. */
#if 0
/* This is wrong; only states that explicitly want error tokens
should shift them. */
yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
if (yyn) goto yydefault;
#endif
yyerrpop: /* pop the current state because it cannot handle the error token */
if (yyssp == yyss) YYABORT;
yyvsp--;
yystate = *--yyssp;
#ifdef YYLSP_NEEDED
yylsp--;
#endif
#if YYDEBUG != 0
if (yydebug)
{
short *ssp1 = yyss - 1;
fprintf (stderr, "Error: state stack now");
while (ssp1 != yyssp)
fprintf (stderr, " %d", *++ssp1);
fprintf (stderr, "\n");
}
#endif
yyerrhandle:
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yyerrdefault;
yyn += YYTERROR;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
goto yyerrdefault;
yyn = yytable[yyn];
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrpop;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrpop;
if (yyn == YYFINAL)
YYACCEPT;
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting error token, ");
#endif
*++yyvsp = yylval;
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif
yystate = yyn;
goto yynewstate;
}
#line 1105 "./parse-scan.y"
#include "lex.c"
/* Create a new parser context */
void
java_push_parser_context ()
{
struct parser_ctxt *new =
(struct parser_ctxt *)xmalloc(sizeof (struct parser_ctxt));
bzero ((PTR) new, sizeof (struct parser_ctxt));
new->next = ctxp;
ctxp = new;
}
/* Actions defined here */
static void
report_class_declaration (name)
char * name;
{
extern int flag_dump_class, flag_list_filename;
if (flag_dump_class)
{
if (!previous_output)
{
if (flag_list_filename)
fprintf (out, "%s: ", input_filename);
previous_output = 1;
}
if (package_name)
fprintf (out, "%s.%s ", package_name, name);
else
fprintf (out, "%s ", name);
}
current_class = name;
}
static void
report_main_declaration (declarator)
struct method_declarator *declarator;
{
extern int flag_find_main;
if (flag_find_main
&& modifier_value == 2
&& !strcmp (declarator->method_name, "main")
&& declarator->args
&& declarator->args [0] == '['
&& (! strcmp (declarator->args+1, "String")
|| ! strcmp (declarator->args + 1, "java.lang.String"))
&& current_class)
{
if (!previous_output)
{
if (package_name)
fprintf (out, "%s.%s ", package_name, current_class);
else
fprintf (out, current_class);
previous_output = 1;
}
}
}
/* Reset global status used by the report functions. */
void reset_report ()
{
previous_output = 0;
current_class = package_name = NULL;
}
void
yyerror (msg)
char *msg ATTRIBUTE_UNUSED;
{
}
char *
xstrdup (s)
const char *s;
{
char *ret;
ret = xmalloc (strlen (s) + 1);
strcpy (ret, s);
return ret;
}
|