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
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
|
#define yy_create_buffer configYY_create_buffer
#define yy_delete_buffer configYY_delete_buffer
#define yy_scan_buffer configYY_scan_buffer
#define yy_scan_string configYY_scan_string
#define yy_scan_bytes configYY_scan_bytes
#define yy_flex_debug configYY_flex_debug
#define yy_init_buffer configYY_init_buffer
#define yy_flush_buffer configYY_flush_buffer
#define yy_load_buffer_state configYY_load_buffer_state
#define yy_switch_to_buffer configYY_switch_to_buffer
#define yyin configYYin
#define yyleng configYYleng
#define yylex configYYlex
#define yyout configYYout
#define yyrestart configYYrestart
#define yytext configYYtext
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header$
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include <stdlib.h>
#include <unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
#if __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#pragma warn -rch
#pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN yy_start = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START ((yy_start - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* The funky do-while in the following #define is used to turn the definition
* int a single C statement (which needs a semi-colon terminator). This
* avoids problems with code like:
*
* if ( condition_holds )
* yyless( 5 );
* else
* do_something_else();
*
* Prior to using the do-while the compiler would get upset at the
* "else" because it interpreted the "if" statement as being all
* done when it reached the ';' after the yyless() call.
*/
/* Return all but the first 'n' matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
*yy_cp = yy_hold_char; \
YY_RESTORE_YY_MORE_OFFSET \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define unput(c) yyunput( c, yytext_ptr )
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
*/
typedef unsigned int yy_size_t;
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via yyrestart()), so that the user can continue scanning by
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
};
static YY_BUFFER_STATE yy_current_buffer = 0;
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*/
#define YY_CURRENT_BUFFER yy_current_buffer
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 1; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
* instead of setting up a fresh yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart YY_PROTO(( FILE *input_file ));
void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
#define yywrap() 1
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern char *yytext;
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yytext_ptr = yy_bp; \
yyleng = (int) (yy_cp - yy_bp); \
yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 102
#define YY_END_OF_BUFFER 103
static yyconst short int yy_accept[1039] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 103, 100, 101, 100,
100, 2, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 97, 100, 88, 85, 89, 2, 100,
88, 88, 95, 96, 87, 86, 96, 96, 94, 92,
92, 94, 94, 94, 100, 0, 99, 0, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 98, 88,
90, 88, 95, 96, 87, 96, 93, 91, 0, 0,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 88, 96, 1, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 1,
1, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 31, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 0, 42, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 0, 14, 84, 84,
84, 84, 84, 84, 0, 15, 84, 84, 0, 32,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 0, 13, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 0, 77, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 0, 24, 0, 37, 84, 0,
43, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 0, 18, 84, 84,
84, 0, 44, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 30, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 0, 7, 84, 84, 0, 21, 84, 0,
39, 84, 84, 84, 84, 0, 9, 84, 84, 84,
84, 84, 84, 84, 84, 0, 16, 84, 84, 84,
84, 84, 84, 0, 82, 84, 0, 17, 84, 84,
84, 84, 84, 0, 47, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 0,
11, 0, 10, 0, 6, 84, 84, 84, 84, 84,
84, 0, 75, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
84, 84, 84, 0, 45, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 0, 29, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 52, 0,
81, 84, 84, 84, 84, 84, 84, 84, 84, 84,
0, 28, 0, 74, 84, 0, 20, 84, 84, 0,
12, 0, 8, 84, 84, 84, 84, 84, 0, 3,
84, 0, 64, 84, 0, 46, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 63, 0,
49, 84, 84, 84, 84, 84, 84, 0, 38, 0,
33, 84, 0, 51, 84, 84, 84, 84, 84, 84,
84, 84, 0, 27, 84, 0, 79, 84, 0, 65,
84, 84, 0, 23, 84, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 62, 84,
84, 84, 84, 84, 84, 84, 0, 40, 84, 84,
0, 50, 84, 84, 84, 84, 84, 84, 0, 36,
0, 76, 84, 84, 84, 84, 0, 73, 0, 4,
0, 83, 84, 0, 69, 84, 84, 84, 84, 84,
84, 84, 84, 84, 84, 84, 84, 0, 48, 0,
61, 84, 84, 84, 84, 84, 84, 0, 25, 84,
0, 54, 84, 0, 22, 0, 55, 0, 41, 84,
84, 84, 84, 0, 66, 84, 84, 84, 0, 35,
0, 34, 84, 84, 0, 19, 84, 84, 84, 84,
84, 0, 5, 0, 67, 84, 84, 0, 56, 84,
84, 84, 84, 0, 71, 84, 84, 84, 84, 0,
70, 0, 72, 84, 84, 84, 84, 0, 60, 84,
0, 59, 0, 58, 0, 68, 0, 57, 0, 78,
0, 26, 84, 0, 80, 0, 53, 0
} ;
static yyconst int yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 5, 6, 7, 1, 1, 1, 8,
9, 1, 1, 1, 1, 1, 1, 10, 11, 11,
11, 11, 11, 11, 11, 11, 11, 1, 1, 1,
12, 1, 1, 1, 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,
1, 39, 1, 1, 40, 1, 41, 41, 41, 42,
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
41, 41, 41, 41, 41, 41, 41, 41, 41, 43,
41, 41, 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, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
static yyconst int yy_meta[45] =
{ 0,
1, 2, 2, 2, 2, 3, 2, 1, 4, 5,
5, 1, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 1, 5,
6, 6, 6, 1
} ;
static yyconst short int yy_base[1050] =
{ 0,
0, 1, 45, 0, 87, 88, 131, 174, 218, 262,
305, 348, 100, 101, 392, 436, 1357, 1358, 1358, 3,
1313, 1358, 0, 1331, 0, 0, 1, 0, 2, 1,
79, 76, 1341, 1340, 1339, 1318, 80, 1317, 0, 82,
1336, 1331, 1334, 1358, 6, 0, 1358, 1358, 0, 1338,
12, 1302, 0, 0, 1342, 1358, 39, 1300, 1358, 1358,
1358, 1334, 113, 1298, 1331, 117, 1358, 1329, 0, 118,
1312, 1316, 1305, 1314, 1321, 9, 1302, 1317, 1318, 115,
1306, 1305, 1302, 1314, 1292, 1309, 1299, 1297, 1309, 134,
1287, 1288, 97, 1287, 1290, 1299, 1286, 124, 1294, 10,
1296, 1300, 1279, 1281, 110, 1280, 1279, 153, 1358, 0,
1358, 1298, 0, 0, 1305, 1296, 1358, 1358, 1296, 1262,
1286, 1282, 1288, 1260, 1282, 1281, 1257, 1265, 128, 1267,
1281, 1253, 1278, 1266, 1266, 1276, 120, 1271, 1263, 1269,
1257, 1267, 1266, 1258, 1254, 1261, 1255, 1261, 1256, 1243,
1258, 1261, 1256, 1242, 1231, 1242, 1252, 1228, 1243, 1250,
1243, 1247, 1230, 1245, 1221, 1230, 1229, 1237, 1217, 1238,
1241, 1228, 1211, 1210, 1358, 1215, 1237, 1212, 1235, 1229,
1206, 135, 1214, 1231, 1203, 1229, 1227, 150, 1216, 1211,
1205, 1211, 1223, 1219, 1194, 1193, 1202, 1211, 1190, 1189,
1188, 1197, 1209, 1192, 1194, 1197, 1190, 1191, 1204, 1183,
1191, 147, 1184, 1186, 1195, 1174, 1196, 1195, 1179, 1180,
1196, 145, 1193, 1192, 1178, 1174, 1183, 1190, 1181, 0,
0, 1169, 1186, 1168, 1184, 1157, 1165, 1182, 1164, 1153,
1178, 1170, 1175, 1165, 1174, 1157, 1169, 1161, 1168, 1167,
133, 1155, 1153, 1152, 1166, 1157, 1161, 1143, 169, 1158,
1134, 1157, 1151, 1154, 191, 1144, 1142, 1128, 1127, 1130,
1132, 1132, 1123, 1125, 1133, 1142, 1144, 0, 1127, 1125,
1119, 1122, 1134, 1136, 1112, 1130, 1126, 1117, 1122, 1130,
1129, 1105, 1113, 1118, 1125, 1116, 1116, 1123, 1111, 1111,
1104, 1118, 1103, 1109, 1092, 1114, 1113, 1089, 1096, 1099,
1111, 1112, 1111, 1091, 1107, 1094, 1094, 1095, 1091, 1100,
1083, 1083, 1074, 1085, 1095, 1079, 1070, 182, 1358, 1091,
1095, 1092, 165, 1089, 1073, 1072, 1063, 1070, 1073, 1087,
1078, 1066, 186, 1358, 1076, 1056, 1067, 1062, 150, 1053,
1074, 1053, 1073, 1068, 1069, 1057, 1054, 1069, 1056, 1066,
1056, 1064, 189, 1059, 1049, 1038, 1037, 1036, 1047, 193,
1046, 1033, 195, 1045, 1031, 1057, 1029, 1036, 1035, 1049,
1052, 1032, 1047, 1041, 1034, 1047, 1027, 1021, 1029, 1043,
1015, 1014, 178, 1032, 1028, 1011, 1033, 1016, 1012, 1030,
1018, 13, 1008, 1027, 1011, 1016, 1001, 1006, 1025, 1021,
1009, 1010, 1014, 1020, 1003, 1015, 1000, 1005, 998, 1002,
1006, 1009, 1012, 999, 992, 200, 202, 1358, 1009, 1008,
1007, 186, 998, 1005, 230, 1358, 987, 988, 231, 1358,
987, 988, 85, 998, 984, 979, 990, 969, 984, 232,
980, 987, 973, 988, 975, 978, 971, 968, 187, 983,
972, 970, 972, 955, 981, 980, 960, 963, 964, 956,
967, 974, 958, 955, 964, 966, 956, 964, 950, 949,
945, 958, 950, 945, 947, 234, 235, 933, 236, 959,
956, 938, 937, 954, 950, 237, 1358, 947, 933, 940,
950, 930, 935, 928, 942, 945, 944, 932, 931, 924,
930, 939, 934, 910, 255, 909, 238, 1358, 933, 921,
929, 928, 911, 926, 925, 221, 911, 927, 912, 920,
904, 904, 919, 901, 917, 904, 918, 899, 897, 898,
901, 909, 901, 243, 908, 243, 249, 902, 898, 889,
899, 904, 891, 892, 276, 1358, 279, 1358, 896, 280,
1358, 891, 901, 900, 892, 894, 870, 879, 887, 879,
874, 887, 888, 883, 874, 869, 868, 862, 874, 876,
883, 863, 864, 867, 860, 878, 877, 857, 875, 867,
846, 845, 854, 853, 850, 850, 862, 281, 862, 865,
845, 861, 848, 844, 856, 845, 839, 853, 836, 842,
840, 282, 843, 835, 284, 792, 287, 1358, 288, 787,
786, 293, 1358, 793, 788, 301, 782, 70, 87, 85,
152, 140, 162, 187, 302, 181, 191, 239, 227, 239,
243, 313, 260, 314, 267, 297, 266, 278, 318, 285,
302, 302, 297, 311, 302, 296, 305, 314, 314, 313,
320, 311, 335, 336, 344, 319, 319, 355, 1358, 311,
314, 323, 327, 357, 345, 331, 347, 336, 334, 333,
335, 341, 368, 1358, 356, 339, 371, 1358, 348, 373,
1358, 359, 363, 360, 353, 379, 1358, 365, 351, 355,
360, 376, 400, 350, 379, 403, 1358, 366, 394, 383,
383, 397, 375, 411, 1358, 378, 414, 1358, 390, 416,
402, 403, 393, 420, 1358, 411, 408, 396, 398, 405,
409, 417, 444, 445, 417, 432, 426, 434, 435, 451,
1358, 452, 1358, 453, 1358, 441, 423, 434, 441, 460,
464, 465, 1358, 451, 467, 439, 457, 471, 472, 457,
455, 450, 472, 463, 485, 471, 487, 467, 489, 476,
476, 481, 479, 494, 1358, 477, 483, 486, 478, 473,
465, 467, 506, 507, 495, 509, 1358, 482, 483, 484,
483, 485, 515, 518, 505, 521, 488, 523, 1358, 524,
1358, 507, 499, 518, 507, 509, 520, 536, 508, 538,
540, 1358, 541, 1358, 513, 543, 1358, 544, 517, 547,
1358, 549, 1358, 527, 555, 531, 541, 531, 561, 1358,
534, 563, 1358, 535, 566, 1358, 552, 540, 539, 555,
548, 560, 560, 562, 578, 562, 561, 581, 1358, 582,
1358, 568, 560, 561, 571, 572, 589, 590, 1358, 593,
1358, 565, 595, 1358, 581, 597, 576, 590, 573, 592,
594, 578, 609, 1358, 610, 611, 1358, 612, 613, 1358,
595, 591, 616, 1358, 589, 603, 624, 625, 627, 599,
629, 612, 603, 618, 595, 607, 609, 640, 1358, 613,
618, 614, 615, 616, 632, 647, 648, 1358, 649, 629,
652, 1358, 638, 626, 626, 641, 645, 661, 663, 1358,
664, 1358, 650, 666, 632, 668, 669, 1358, 670, 1358,
672, 1358, 675, 677, 1358, 681, 654, 669, 657, 675,
689, 679, 678, 664, 694, 695, 681, 697, 1358, 698,
1358, 674, 701, 689, 688, 678, 681, 710, 1358, 696,
713, 1358, 714, 715, 1358, 716, 1358, 717, 1358, 718,
685, 706, 722, 729, 1358, 704, 716, 714, 734, 1358,
735, 1358, 720, 737, 738, 1358, 722, 712, 713, 714,
746, 749, 1358, 750, 1358, 751, 739, 753, 1358, 736,
721, 733, 758, 762, 1358, 729, 765, 766, 767, 769,
1358, 770, 1358, 771, 773, 774, 761, 782, 1358, 785,
786, 1358, 787, 1358, 788, 1358, 789, 1358, 790, 1358,
791, 1358, 793, 794, 1358, 802, 1358, 1358, 814, 820,
826, 832, 838, 844, 846, 852, 801, 858, 861
} ;
static yyconst short int yy_def[1050] =
{ 0,
1039, 1039, 1038, 3, 1039, 1039, 1040, 1040, 1041, 1041,
1042, 1042, 1043, 1043, 1044, 1044, 1038, 1038, 1038, 1038,
1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1038, 1038, 1046, 1038, 1038, 1046, 1038,
1046, 1046, 1047, 1048, 1038, 1038, 1048, 1048, 1038, 1038,
1038, 1038, 1038, 1038, 1049, 1038, 1038, 1038, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1046,
1038, 1046, 1047, 1048, 1038, 1048, 1038, 1038, 1049, 1038,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1046, 1048, 1038, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1046,
1048, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045,
1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045, 1038, 1038,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1038, 1038, 1038, 1038, 1045, 1038,
1038, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045,
1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1038, 1038, 1045, 1045, 1038, 1038, 1045, 1038,
1038, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045,
1045, 1045, 1045, 1038, 1038, 1045, 1038, 1038, 1045, 1045,
1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038,
1038, 1038, 1038, 1038, 1038, 1045, 1045, 1045, 1045, 1045,
1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1038,
1038, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045,
1038, 1038, 1038, 1038, 1045, 1038, 1038, 1045, 1045, 1038,
1038, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1038, 1038,
1045, 1038, 1038, 1045, 1038, 1038, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1038,
1038, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1038,
1038, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1038, 1038, 1045, 1038, 1038, 1045, 1038, 1038,
1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045, 1045,
1038, 1038, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038,
1038, 1038, 1045, 1045, 1045, 1045, 1038, 1038, 1038, 1038,
1038, 1038, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1045,
1045, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1038,
1038, 1045, 1045, 1045, 1045, 1045, 1045, 1038, 1038, 1045,
1038, 1038, 1045, 1038, 1038, 1038, 1038, 1038, 1038, 1045,
1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045, 1038, 1038,
1038, 1038, 1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045,
1045, 1038, 1038, 1038, 1038, 1045, 1045, 1038, 1038, 1045,
1045, 1045, 1045, 1038, 1038, 1045, 1045, 1045, 1045, 1038,
1038, 1038, 1038, 1045, 1045, 1045, 1045, 1038, 1038, 1045,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1045, 1038, 1038, 1038, 1038, 0, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038
} ;
static yyconst short int yy_nxt[1403] =
{ 0,
1038, 343, 19, 19, 66, 67, 66, 108, 109, 108,
1038, 344, 73, 66, 67, 66, 100, 83, 74, 1038,
71, 77, 81, 75, 163, 79, 76, 78, 471, 72,
84, 101, 129, 130, 82, 80, 472, 164, 20, 20,
66, 67, 66, 21, 21, 18, 18, 19, 18, 18,
22, 18, 18, 18, 23, 23, 18, 24, 25, 26,
27, 28, 29, 30, 31, 32, 33, 23, 34, 35,
23, 36, 37, 38, 39, 40, 41, 23, 42, 43,
23, 23, 23, 20, 23, 23, 23, 23, 21, 44,
44, 85, 95, 699, 88, 96, 97, 509, 102, 86,
89, 90, 60, 60, 61, 61, 62, 62, 103, 98,
87, 154, 510, 104, 66, 67, 66, 117, 66, 67,
66, 700, 155, 169, 701, 45, 45, 134, 170, 135,
21, 21, 18, 47, 18, 48, 49, 50, 63, 63,
160, 121, 136, 64, 64, 122, 137, 309, 147, 193,
161, 184, 123, 148, 108, 109, 108, 149, 185, 194,
238, 150, 245, 270, 281, 151, 412, 239, 702, 51,
703, 282, 310, 271, 52, 18, 47, 18, 48, 49,
50, 318, 246, 328, 397, 704, 319, 343, 320, 413,
427, 398, 328, 329, 435, 321, 439, 344, 461, 322,
428, 496, 329, 427, 436, 527, 440, 705, 462, 501,
708, 497, 51, 428, 528, 502, 709, 52, 18, 18,
47, 18, 18, 22, 18, 18, 18, 18, 18, 18,
330, 435, 439, 517, 441, 555, 557, 560, 496, 517,
598, 436, 440, 518, 617, 556, 558, 561, 497, 518,
622, 710, 599, 711, 618, 620, 20, 18, 712, 713,
623, 21, 18, 18, 47, 18, 18, 22, 18, 18,
18, 18, 18, 18, 585, 621, 716, 555, 586, 587,
557, 560, 668, 683, 588, 687, 589, 556, 617, 690,
558, 561, 669, 684, 622, 688, 719, 722, 618, 691,
20, 18, 696, 706, 623, 21, 55, 56, 18, 48,
22, 50, 697, 707, 714, 717, 720, 723, 726, 724,
727, 728, 729, 730, 715, 718, 731, 732, 721, 725,
733, 734, 735, 736, 737, 739, 740, 742, 746, 747,
748, 749, 750, 57, 738, 744, 741, 743, 58, 55,
56, 18, 48, 22, 50, 745, 668, 751, 752, 754,
755, 756, 757, 758, 759, 760, 669, 761, 753, 683,
762, 763, 687, 764, 690, 765, 766, 767, 768, 684,
696, 769, 688, 770, 691, 771, 57, 772, 773, 776,
697, 58, 18, 18, 19, 18, 18, 18, 18, 18,
18, 774, 777, 18, 706, 778, 779, 780, 781, 782,
783, 775, 714, 784, 707, 717, 785, 786, 788, 789,
790, 724, 715, 791, 792, 718, 793, 787, 794, 795,
20, 725, 796, 797, 802, 21, 18, 18, 19, 18,
18, 18, 18, 18, 18, 798, 800, 18, 803, 804,
805, 806, 740, 742, 744, 799, 801, 807, 808, 809,
810, 811, 741, 743, 745, 813, 752, 815, 816, 818,
819, 812, 820, 822, 20, 814, 753, 824, 817, 21,
825, 826, 821, 823, 827, 828, 829, 831, 832, 834,
835, 837, 838, 839, 840, 774, 830, 841, 833, 842,
836, 843, 844, 845, 846, 775, 847, 848, 850, 852,
786, 853, 854, 855, 856, 857, 858, 849, 851, 860,
787, 862, 863, 866, 798, 800, 859, 867, 868, 861,
869, 870, 864, 871, 799, 801, 872, 873, 875, 876,
865, 811, 813, 878, 816, 879, 881, 874, 820, 877,
822, 812, 814, 882, 817, 880, 883, 885, 821, 886,
823, 887, 829, 888, 832, 889, 884, 835, 890, 891,
892, 893, 830, 894, 833, 895, 896, 836, 897, 898,
900, 901, 848, 850, 902, 903, 904, 905, 906, 899,
907, 858, 849, 851, 860, 909, 863, 910, 911, 913,
908, 859, 914, 915, 861, 916, 864, 917, 912, 918,
873, 919, 876, 921, 879, 923, 924, 883, 925, 926,
874, 920, 877, 922, 880, 927, 929, 884, 931, 933,
934, 936, 937, 938, 939, 928, 930, 940, 932, 941,
935, 898, 942, 943, 944, 945, 946, 947, 948, 907,
950, 899, 952, 911, 953, 954, 955, 956, 949, 908,
951, 957, 958, 912, 919, 921, 960, 961, 963, 964,
927, 929, 959, 931, 920, 922, 966, 962, 934, 965,
928, 930, 968, 932, 970, 971, 967, 972, 935, 973,
974, 976, 969, 977, 978, 979, 981, 983, 948, 950,
975, 984, 985, 987, 988, 980, 982, 989, 949, 951,
990, 958, 986, 991, 961, 992, 964, 966, 968, 994,
996, 959, 997, 998, 962, 993, 965, 967, 969, 995,
974, 1000, 1001, 999, 1002, 979, 981, 1003, 1004, 985,
975, 1006, 1007, 1008, 1009, 980, 982, 1010, 1005, 986,
992, 994, 1012, 1014, 998, 1015, 1016, 1011, 1017, 1018,
993, 995, 1013, 1004, 999, 1020, 1021, 1023, 1025, 1019,
1010, 1012, 1027, 1005, 1029, 1031, 1022, 1024, 1026, 1033,
1011, 1013, 1028, 1018, 1030, 1032, 1034, 1021, 1023, 1025,
1027, 1029, 1031, 1019, 1036, 1034, 1035, 1022, 1024, 1026,
1028, 1030, 1032, 1036, 1037, 1035, 113, 698, 695, 694,
693, 692, 689, 1037, 18, 18, 18, 18, 18, 18,
46, 46, 46, 46, 46, 46, 53, 53, 53, 53,
53, 53, 54, 54, 54, 54, 54, 54, 59, 59,
59, 59, 59, 59, 65, 65, 65, 65, 65, 65,
69, 69, 110, 686, 110, 110, 110, 110, 114, 685,
682, 114, 114, 114, 119, 119, 119, 681, 680, 679,
678, 677, 676, 675, 674, 673, 672, 671, 670, 667,
666, 665, 664, 663, 662, 661, 660, 659, 658, 657,
656, 655, 654, 653, 652, 651, 650, 649, 648, 647,
646, 645, 644, 643, 642, 641, 640, 639, 638, 637,
636, 635, 634, 633, 632, 631, 630, 629, 628, 627,
626, 625, 624, 619, 616, 615, 614, 613, 612, 611,
610, 609, 608, 607, 606, 605, 604, 603, 602, 601,
600, 597, 596, 595, 594, 593, 592, 591, 590, 584,
583, 582, 581, 580, 579, 578, 577, 576, 575, 574,
573, 572, 571, 570, 569, 568, 567, 566, 565, 564,
563, 562, 559, 554, 553, 552, 551, 550, 549, 548,
547, 546, 545, 544, 543, 542, 541, 540, 539, 538,
537, 536, 535, 534, 533, 532, 531, 530, 529, 526,
525, 524, 523, 522, 521, 520, 519, 516, 515, 514,
513, 512, 511, 508, 507, 506, 505, 504, 503, 500,
499, 498, 495, 494, 493, 492, 491, 490, 489, 488,
487, 486, 485, 484, 483, 482, 481, 480, 479, 478,
477, 476, 475, 474, 473, 470, 469, 468, 467, 466,
465, 464, 463, 460, 459, 458, 457, 456, 455, 454,
453, 452, 451, 450, 449, 448, 447, 446, 445, 444,
443, 442, 438, 437, 434, 433, 432, 431, 430, 429,
426, 425, 424, 423, 422, 421, 420, 419, 418, 417,
416, 415, 414, 411, 410, 409, 408, 407, 406, 405,
404, 403, 402, 401, 400, 399, 396, 395, 394, 393,
392, 391, 390, 389, 388, 387, 386, 385, 384, 383,
382, 381, 380, 379, 378, 377, 376, 375, 374, 373,
372, 371, 370, 369, 368, 367, 366, 365, 364, 363,
362, 361, 360, 359, 358, 357, 356, 355, 354, 353,
352, 351, 350, 349, 348, 347, 346, 345, 342, 341,
340, 339, 338, 337, 336, 335, 334, 333, 332, 331,
327, 326, 325, 324, 323, 317, 316, 315, 314, 313,
312, 311, 308, 307, 306, 305, 304, 303, 302, 301,
300, 299, 298, 297, 296, 295, 294, 293, 292, 291,
290, 289, 288, 287, 286, 285, 284, 283, 280, 279,
278, 277, 276, 275, 274, 273, 272, 269, 268, 267,
266, 265, 264, 263, 262, 261, 260, 259, 258, 257,
256, 255, 254, 253, 252, 251, 250, 249, 248, 247,
244, 243, 242, 241, 240, 237, 236, 235, 234, 233,
232, 231, 230, 229, 228, 227, 226, 225, 224, 223,
222, 221, 220, 219, 218, 217, 216, 215, 214, 213,
212, 211, 210, 209, 208, 207, 206, 205, 204, 203,
202, 201, 200, 199, 198, 197, 196, 195, 192, 191,
190, 189, 188, 187, 186, 183, 182, 181, 180, 179,
178, 177, 176, 175, 118, 174, 115, 173, 172, 171,
168, 167, 166, 165, 162, 159, 158, 157, 156, 153,
152, 146, 145, 144, 143, 142, 141, 140, 139, 138,
133, 132, 131, 128, 127, 126, 125, 124, 120, 118,
68, 111, 116, 115, 112, 111, 107, 106, 105, 99,
94, 93, 92, 91, 70, 68, 1038, 17, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038
} ;
static yyconst short int yy_chk[1403] =
{ 0,
0, 278, 1, 2, 20, 20, 20, 45, 45, 45,
0, 278, 26, 51, 51, 51, 39, 30, 26, 0,
25, 27, 29, 26, 100, 28, 26, 27, 402, 25,
30, 39, 76, 76, 29, 28, 402, 100, 1, 2,
57, 57, 57, 1, 2, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 5,
6, 31, 37, 628, 32, 37, 37, 443, 40, 31,
32, 32, 13, 14, 13, 14, 13, 14, 40, 37,
31, 93, 443, 40, 63, 63, 63, 63, 66, 66,
66, 629, 93, 105, 630, 5, 6, 80, 105, 80,
5, 6, 7, 7, 7, 7, 7, 7, 13, 14,
98, 70, 80, 13, 14, 70, 80, 251, 90, 137,
98, 129, 70, 90, 108, 108, 108, 90, 129, 137,
182, 90, 188, 212, 222, 90, 349, 182, 631, 7,
632, 222, 251, 212, 7, 8, 8, 8, 8, 8,
8, 259, 188, 328, 333, 633, 259, 343, 259, 349,
363, 333, 265, 328, 370, 259, 373, 343, 393, 259,
363, 426, 265, 427, 370, 459, 373, 634, 393, 432,
636, 426, 8, 427, 459, 432, 637, 8, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
265, 435, 439, 450, 373, 486, 487, 489, 496, 517,
526, 435, 439, 450, 544, 486, 487, 489, 496, 517,
547, 638, 526, 639, 544, 546, 9, 9, 640, 641,
547, 9, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 10, 10, 515, 546, 643, 555, 515, 515,
557, 560, 598, 612, 515, 615, 515, 555, 617, 619,
557, 560, 598, 612, 622, 615, 645, 647, 617, 619,
10, 10, 626, 635, 622, 10, 11, 11, 11, 11,
11, 11, 626, 635, 642, 644, 646, 648, 650, 649,
651, 652, 653, 654, 642, 644, 655, 656, 646, 649,
657, 658, 659, 660, 661, 662, 663, 664, 666, 667,
670, 671, 672, 11, 661, 665, 663, 664, 11, 12,
12, 12, 12, 12, 12, 665, 668, 673, 674, 675,
676, 677, 678, 679, 680, 681, 668, 682, 674, 683,
685, 686, 687, 689, 690, 692, 693, 694, 695, 683,
696, 698, 687, 699, 690, 700, 12, 701, 702, 704,
696, 12, 15, 15, 15, 15, 15, 15, 15, 15,
15, 703, 705, 15, 706, 708, 709, 710, 711, 712,
713, 703, 714, 716, 706, 717, 719, 720, 721, 722,
723, 724, 714, 726, 727, 717, 728, 720, 729, 730,
15, 724, 731, 732, 735, 15, 16, 16, 16, 16,
16, 16, 16, 16, 16, 733, 734, 16, 736, 737,
738, 739, 740, 742, 744, 733, 734, 746, 747, 748,
749, 750, 740, 742, 744, 751, 752, 754, 755, 756,
757, 750, 758, 759, 16, 751, 752, 760, 755, 16,
761, 762, 758, 759, 763, 764, 765, 766, 767, 768,
769, 770, 771, 772, 773, 774, 765, 776, 767, 777,
769, 778, 779, 780, 781, 774, 782, 783, 784, 785,
786, 788, 789, 790, 791, 792, 793, 783, 784, 794,
786, 795, 796, 797, 798, 800, 793, 802, 803, 794,
804, 805, 796, 806, 798, 800, 807, 808, 809, 810,
796, 811, 813, 815, 816, 818, 819, 808, 820, 810,
822, 811, 813, 824, 816, 818, 825, 826, 820, 827,
822, 828, 829, 831, 832, 834, 825, 835, 837, 838,
839, 840, 829, 841, 832, 842, 843, 835, 844, 845,
846, 847, 848, 850, 852, 853, 854, 855, 856, 845,
857, 858, 848, 850, 860, 862, 863, 865, 866, 867,
857, 858, 868, 869, 860, 870, 863, 871, 866, 872,
873, 875, 876, 878, 879, 881, 882, 883, 885, 886,
873, 875, 876, 878, 879, 887, 888, 883, 889, 890,
891, 892, 893, 894, 895, 887, 888, 896, 889, 897,
891, 898, 900, 901, 902, 903, 904, 905, 906, 907,
909, 898, 910, 911, 913, 914, 915, 916, 906, 907,
909, 917, 918, 911, 919, 921, 923, 924, 925, 926,
927, 929, 918, 931, 919, 921, 933, 924, 934, 926,
927, 929, 936, 931, 937, 938, 933, 939, 934, 940,
941, 942, 936, 943, 944, 945, 946, 947, 948, 950,
941, 952, 953, 954, 955, 945, 946, 956, 948, 950,
957, 958, 953, 960, 961, 963, 964, 966, 968, 970,
971, 958, 972, 973, 961, 963, 964, 966, 968, 970,
974, 976, 977, 973, 978, 979, 981, 983, 984, 985,
974, 987, 988, 989, 990, 979, 981, 991, 984, 985,
992, 994, 996, 997, 998, 1000, 1001, 991, 1002, 1003,
992, 994, 996, 1004, 998, 1006, 1007, 1008, 1009, 1003,
1010, 1012, 1014, 1004, 1015, 1016, 1007, 1008, 1009, 1017,
1010, 1012, 1014, 1018, 1015, 1016, 1020, 1021, 1023, 1025,
1027, 1029, 1031, 1018, 1033, 1034, 1020, 1021, 1023, 1025,
1027, 1029, 1031, 1036, 1033, 1034, 1047, 627, 625, 624,
621, 620, 616, 1036, 1039, 1039, 1039, 1039, 1039, 1039,
1040, 1040, 1040, 1040, 1040, 1040, 1041, 1041, 1041, 1041,
1041, 1041, 1042, 1042, 1042, 1042, 1042, 1042, 1043, 1043,
1043, 1043, 1043, 1043, 1044, 1044, 1044, 1044, 1044, 1044,
1045, 1045, 1046, 614, 1046, 1046, 1046, 1046, 1048, 613,
611, 1048, 1048, 1048, 1049, 1049, 1049, 610, 609, 608,
607, 606, 605, 604, 603, 602, 601, 600, 599, 597,
596, 595, 594, 593, 592, 591, 590, 589, 588, 587,
586, 585, 584, 583, 582, 581, 580, 579, 578, 577,
576, 575, 574, 573, 572, 571, 570, 569, 568, 567,
566, 565, 564, 563, 562, 559, 554, 553, 552, 551,
550, 549, 548, 545, 543, 542, 541, 540, 539, 538,
537, 536, 535, 534, 533, 532, 531, 530, 529, 528,
527, 525, 524, 523, 522, 521, 520, 519, 516, 514,
513, 512, 511, 510, 509, 508, 507, 506, 505, 504,
503, 502, 501, 500, 499, 498, 495, 494, 493, 492,
491, 490, 488, 485, 484, 483, 482, 481, 480, 479,
478, 477, 476, 475, 474, 473, 472, 471, 470, 469,
468, 467, 466, 465, 464, 463, 462, 461, 460, 458,
457, 456, 455, 454, 453, 452, 451, 449, 448, 447,
446, 445, 444, 442, 441, 438, 437, 434, 433, 431,
430, 429, 425, 424, 423, 422, 421, 420, 419, 418,
417, 416, 415, 414, 413, 412, 411, 410, 409, 408,
407, 406, 405, 404, 403, 401, 400, 399, 398, 397,
396, 395, 394, 392, 391, 390, 389, 388, 387, 386,
385, 384, 383, 382, 381, 380, 379, 378, 377, 376,
375, 374, 372, 371, 369, 368, 367, 366, 365, 364,
362, 361, 360, 359, 358, 357, 356, 355, 354, 353,
352, 351, 350, 348, 347, 346, 345, 342, 341, 340,
339, 338, 337, 336, 335, 334, 332, 331, 330, 327,
326, 325, 324, 323, 322, 321, 320, 319, 318, 317,
316, 315, 314, 313, 312, 311, 310, 309, 308, 307,
306, 305, 304, 303, 302, 301, 300, 299, 298, 297,
296, 295, 294, 293, 292, 291, 290, 289, 288, 287,
286, 285, 284, 283, 282, 281, 280, 279, 277, 276,
275, 274, 273, 272, 271, 270, 269, 268, 267, 266,
264, 263, 262, 261, 260, 258, 257, 256, 255, 254,
253, 252, 250, 249, 248, 247, 246, 245, 244, 243,
242, 241, 240, 239, 238, 237, 236, 235, 234, 233,
232, 229, 228, 227, 226, 225, 224, 223, 221, 220,
219, 218, 217, 216, 215, 214, 213, 211, 210, 209,
208, 207, 206, 205, 204, 203, 202, 201, 200, 199,
198, 197, 196, 195, 194, 193, 192, 191, 190, 189,
187, 186, 185, 184, 183, 181, 180, 179, 178, 177,
176, 174, 173, 172, 171, 170, 169, 168, 167, 166,
165, 164, 163, 162, 161, 160, 159, 158, 157, 156,
155, 154, 153, 152, 151, 150, 149, 148, 147, 146,
145, 144, 143, 142, 141, 140, 139, 138, 136, 135,
134, 133, 132, 131, 130, 128, 127, 126, 125, 124,
123, 122, 121, 120, 119, 116, 115, 112, 107, 106,
104, 103, 102, 101, 99, 97, 96, 95, 94, 92,
91, 89, 88, 87, 86, 85, 84, 83, 82, 81,
79, 78, 77, 75, 74, 73, 72, 71, 68, 65,
64, 62, 58, 55, 52, 50, 43, 42, 41, 38,
36, 35, 34, 33, 24, 21, 17, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038,
1038, 1038
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "config.l"
#define INITIAL 0
/******************************************************************************
*
* $Id$
*
* Copyright (C) 1997-2000 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* All output generated with Doxygen is not covered by this license.
*
*/
#line 18 "config.l"
/*
* includes
*/
#include <stdio.h>
#include <iostream.h>
#include <assert.h>
#include <ctype.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <qtextstream.h>
#include "config.h"
#include "version.h"
#ifdef DOXYWIZARD
#include <stdarg.h>
void err(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
vfprintf(stderr, fmt, args);
va_end(args);
}
void warn(const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
vfprintf(stderr, fmt, args);
va_end(args);
}
#else
#include "doxygen.h"
#include "message.h"
#include "pre.h"
#include "version.h"
#include "language.h"
#endif
#define YY_NEVER_INTERACTIVE 1
/* -----------------------------------------------------------------
*
* exported variables
*/
QCString Config::projectName;
QCString Config::projectNumber;
QCString Config::outputDir;
QCString Config::htmlOutputDir;
QCString Config::latexOutputDir;
QCString Config::manOutputDir;
QCString Config::rtfOutputDir;
QCString Config::outputLanguage;
QCString Config::headerFile;
QCString Config::latexHeaderFile;
QCString Config::footerFile;
QCString Config::cgiName;
QCString Config::cgiURL;
QCString Config::docURL;
QCString Config::binAbsPath;
QCString Config::docAbsPath;
QCString Config::perlPath;
QCString Config::genTagFile;
QCString Config::inputFilter;
QCString Config::paperType;
QCString Config::manExtension;
QCString Config::htmlStyleSheet;
QCString Config::ignorePrefix;
QStrList Config::includePath;
QStrList Config::examplePath;
QStrList Config::imagePath;
QStrList Config::inputSources;
QStrList Config::excludeSources;
QStrList Config::filePatternList;
QStrList Config::excludePatternList;
QStrList Config::examplePatternList;
QStrList Config::imagePatternList;
QStrList Config::tagFileList;
QStrList Config::extDocPathList;
QStrList Config::predefined;
QStrList Config::extraPackageList;
QStrList Config::stripFromPath;
bool Config::quietFlag = FALSE;
bool Config::recursiveFlag = FALSE;
bool Config::allExtFlag = FALSE;
bool Config::searchEngineFlag = FALSE;
bool Config::extractAllFlag = FALSE;
bool Config::extractPrivateFlag = FALSE;
bool Config::noIndexFlag = FALSE;
bool Config::hideMemberFlag = FALSE;
bool Config::hideClassFlag = FALSE;
bool Config::macroExpansionFlag = FALSE;
bool Config::onlyPredefinedFlag = FALSE;
bool Config::fullPathNameFlag = FALSE;
bool Config::compactLatexFlag = FALSE;
bool Config::internalDocsFlag = FALSE;
bool Config::caseSensitiveNames = FALSE;
bool Config::sourceBrowseFlag = FALSE;
bool Config::htmlHelpFlag = FALSE;
bool Config::alphaIndexFlag = FALSE;
bool Config::pdfHyperFlag = FALSE;
bool Config::alwaysDetailsFlag = FALSE;
bool Config::inlineSourceFlag = FALSE;
bool Config::rtfHyperFlag = FALSE;
bool Config::compactRTFFlag = FALSE;
bool Config::haveDotFlag = FALSE;
bool Config::autoBriefFlag = TRUE;
bool Config::warningFlag = TRUE;
bool Config::generateHtml = TRUE;
bool Config::generateLatex = TRUE;
bool Config::generateMan = TRUE;
bool Config::generateRTF = FALSE;
bool Config::preprocessingFlag = TRUE;
bool Config::briefMemDescFlag = TRUE;
bool Config::searchIncludeFlag = TRUE;
bool Config::classDiagramFlag = TRUE;
bool Config::repeatBriefFlag = TRUE;
bool Config::verbatimHeaderFlag = TRUE;
bool Config::htmlAlignMemberFlag = TRUE;
bool Config::inheritDocsFlag = TRUE;
bool Config::inlineInfoFlag = TRUE;
bool Config::collGraphFlag = TRUE;
bool Config::includeGraphFlag = TRUE;
bool Config::gfxHierarchyFlag = TRUE;
int Config::tabSize = 8;
int Config::colsInAlphaIndex = 5;
/* -----------------------------------------------------------------
*
* static variables
*/
static const char * inputString;
static int inputPosition;
static int yyLineNr;
static QCString tmpString;
static QCString * s=0;
static bool * b=0;
static QStrList * l=0;
static int lastState;
static int lastEnvState;
static QCString elemStr;
static QCString tabSizeString;
static QCString colsInAlphaIndexString;
/* -----------------------------------------------------------------
*/
#undef YY_INPUT
#define YY_INPUT(buf,result,max_size) result=yyread(buf,max_size);
static int yyread(char *buf,int max_size)
{
int c=0;
while( c < max_size && inputString[inputPosition] )
{
*buf = inputString[inputPosition++] ;
c++; buf++;
}
return c;
}
#define Start 1
#define SkipComment 2
#define GetString 3
#define GetBool 4
#define GetStrList 5
#define GetQuotedString 6
#define GetEnvVar 7
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif
#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YY_PROTO(( yyconst char * ));
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif
#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif
#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines. This will fail
* miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
* or sizeof(void*) != sizeof(int).
*/
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( yy_current_buffer->yy_is_interactive ) \
{ \
int c = '*', n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif
/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif
/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif
/* Default declaration of generated scanner - a define so the user can
* easily add parameters.
*/
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
*/
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
YY_USER_ACTION
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 194 "config.l"
if ( yy_init )
{
yy_init = 0;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
if ( ! yy_start )
yy_start = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
if ( ! yy_current_buffer )
yy_current_buffer =
yy_create_buffer( yyin, YY_BUF_SIZE );
yy_load_buffer_state();
}
while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = yy_c_buf_p;
/* Support of yytext. */
*yy_cp = yy_hold_char;
/* yy_bp points to the position in yy_ch_buf of the start of
* the current run.
*/
yy_bp = yy_cp;
yy_current_state = yy_start;
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1039 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
while ( yy_base[yy_current_state] != 1358 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
if ( yy_act == 0 )
{ /* have to back up */
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
yy_act = yy_accept[yy_current_state];
}
YY_DO_BEFORE_ACTION;
do_action: /* This label is used only to access EOF actions. */
switch ( yy_act )
{ /* beginning of action switch */
case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yy_hold_char;
yy_cp = yy_last_accepting_cpos;
yy_current_state = yy_last_accepting_state;
goto yy_find_action;
case 1:
YY_RULE_SETUP
#line 196 "config.l"
YY_BREAK
case 2:
YY_RULE_SETUP
#line 197 "config.l"
{ BEGIN(SkipComment); }
YY_BREAK
case 3:
YY_RULE_SETUP
#line 198 "config.l"
{ BEGIN(GetString); s=&Config::projectName; s->resize(0); }
YY_BREAK
case 4:
YY_RULE_SETUP
#line 199 "config.l"
{ BEGIN(GetString); s=&Config::projectNumber; s->resize(0); }
YY_BREAK
case 5:
YY_RULE_SETUP
#line 200 "config.l"
{ BEGIN(GetString); s=&Config::outputDir; s->resize(0); }
YY_BREAK
case 6:
YY_RULE_SETUP
#line 201 "config.l"
{ BEGIN(GetString); s=&Config::htmlOutputDir; s->resize(0); }
YY_BREAK
case 7:
YY_RULE_SETUP
#line 202 "config.l"
{ BEGIN(GetString); s=&Config::manOutputDir; s->resize(0); }
YY_BREAK
case 8:
YY_RULE_SETUP
#line 203 "config.l"
{ BEGIN(GetString); s=&Config::latexOutputDir; s->resize(0); }
YY_BREAK
case 9:
YY_RULE_SETUP
#line 204 "config.l"
{ BEGIN(GetString); s=&Config::rtfOutputDir; s->resize(0); }
YY_BREAK
case 10:
YY_RULE_SETUP
#line 205 "config.l"
{ BEGIN(GetString); s=&Config::headerFile; s->resize(0); }
YY_BREAK
case 11:
YY_RULE_SETUP
#line 206 "config.l"
{ BEGIN(GetString); s=&Config::footerFile; s->resize(0); }
YY_BREAK
case 12:
YY_RULE_SETUP
#line 207 "config.l"
{ BEGIN(GetString); s=&Config::latexHeaderFile; s->resize(0); }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 208 "config.l"
{ BEGIN(GetString); s=&Config::cgiName; s->resize(0); }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 209 "config.l"
{ BEGIN(GetString); s=&Config::cgiURL; s->resize(0); }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 210 "config.l"
{ BEGIN(GetString); s=&Config::docURL; s->resize(0); }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 211 "config.l"
{ BEGIN(GetString); s=&Config::binAbsPath; s->resize(0); }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 212 "config.l"
{ BEGIN(GetString); s=&Config::docAbsPath; s->resize(0); }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 213 "config.l"
{ BEGIN(GetString); s=&Config::perlPath; s->resize(0); }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 214 "config.l"
{ BEGIN(GetString); s=&Config::genTagFile; s->resize(0); }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 215 "config.l"
{ BEGIN(GetString); s=&Config::inputFilter; s->resize(0); }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 216 "config.l"
{ BEGIN(GetString); s=&Config::paperType; s->resize(0); }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 217 "config.l"
{ BEGIN(GetString); s=&Config::outputLanguage; s->resize(0); }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 218 "config.l"
{ BEGIN(GetString); s=&Config::manExtension; s->resize(0); }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 219 "config.l"
{ BEGIN(GetString); s=&tabSizeString; s->resize(0); }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 220 "config.l"
{ BEGIN(GetString); s=&Config::htmlStyleSheet; s->resize(0); }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 221 "config.l"
{ BEGIN(GetString); s=&colsInAlphaIndexString; s->resize(0); }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 222 "config.l"
{ BEGIN(GetString); s=&Config::ignorePrefix; s->resize(0); }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 223 "config.l"
{ BEGIN(GetStrList); l=&Config::includePath; l->clear(); elemStr=""; }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 224 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePath; l->clear(); elemStr=""; }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 225 "config.l"
{ BEGIN(GetStrList); l=&Config::imagePath; l->clear(); elemStr=""; }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 226 "config.l"
{ BEGIN(GetStrList); l=&Config::inputSources; l->clear(); elemStr=""; }
YY_BREAK
case 32:
YY_RULE_SETUP
#line 227 "config.l"
{ BEGIN(GetStrList); l=&Config::excludeSources; l->clear(); elemStr=""; }
YY_BREAK
case 33:
YY_RULE_SETUP
#line 228 "config.l"
{ BEGIN(GetStrList); l=&Config::filePatternList; l->clear(); elemStr=""; }
YY_BREAK
case 34:
YY_RULE_SETUP
#line 229 "config.l"
{ BEGIN(GetStrList); l=&Config::excludePatternList; l->clear(); elemStr=""; }
YY_BREAK
case 35:
YY_RULE_SETUP
#line 230 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePatternList; l->clear(); elemStr=""; }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 231 "config.l"
{ BEGIN(GetStrList); l=&Config::imagePatternList; l->clear(); elemStr=""; }
YY_BREAK
case 37:
YY_RULE_SETUP
#line 232 "config.l"
{ BEGIN(GetStrList); l=&Config::tagFileList; l->clear(); elemStr=""; }
YY_BREAK
case 38:
YY_RULE_SETUP
#line 233 "config.l"
{ BEGIN(GetStrList); l=&Config::extDocPathList; l->clear(); elemStr=""; }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 234 "config.l"
{ BEGIN(GetStrList); l=&Config::predefined; l->clear(); elemStr=""; }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 235 "config.l"
{ BEGIN(GetStrList); l=&Config::extraPackageList; l->clear(); elemStr=""; }
YY_BREAK
case 41:
YY_RULE_SETUP
#line 236 "config.l"
{ BEGIN(GetStrList); l=&Config::stripFromPath; l->clear(); elemStr=""; }
YY_BREAK
case 42:
YY_RULE_SETUP
#line 237 "config.l"
{ BEGIN(GetBool); b=&Config::quietFlag; }
YY_BREAK
case 43:
YY_RULE_SETUP
#line 238 "config.l"
{ BEGIN(GetBool); b=&Config::warningFlag; }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 239 "config.l"
{ BEGIN(GetBool); b=&Config::recursiveFlag; }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 240 "config.l"
{ BEGIN(GetBool); b=&Config::allExtFlag; }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 241 "config.l"
{ BEGIN(GetBool); b=&Config::searchEngineFlag; }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 242 "config.l"
{ BEGIN(GetBool); b=&Config::extractAllFlag; }
YY_BREAK
case 48:
YY_RULE_SETUP
#line 243 "config.l"
{ BEGIN(GetBool); b=&Config::extractPrivateFlag; }
YY_BREAK
case 49:
YY_RULE_SETUP
#line 244 "config.l"
{ BEGIN(GetBool); b=&Config::noIndexFlag; }
YY_BREAK
case 50:
YY_RULE_SETUP
#line 245 "config.l"
{ BEGIN(GetBool); b=&Config::generateLatex; }
YY_BREAK
case 51:
YY_RULE_SETUP
#line 246 "config.l"
{ BEGIN(GetBool); b=&Config::generateHtml; }
YY_BREAK
case 52:
YY_RULE_SETUP
#line 247 "config.l"
{ BEGIN(GetBool); b=&Config::generateMan; }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 248 "config.l"
{ BEGIN(GetBool); b=&Config::preprocessingFlag; }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 249 "config.l"
{ BEGIN(GetBool); b=&Config::macroExpansionFlag; }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 250 "config.l"
{ BEGIN(GetBool); b=&Config::searchIncludeFlag; }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 251 "config.l"
{ BEGIN(GetBool); b=&Config::briefMemDescFlag; }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 252 "config.l"
{ BEGIN(GetBool); b=&Config::alwaysDetailsFlag; }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 253 "config.l"
{ BEGIN(GetBool); b=&Config::hideMemberFlag; }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 254 "config.l"
{ BEGIN(GetBool); b=&Config::hideClassFlag; }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 255 "config.l"
{ BEGIN(GetBool); b=&Config::onlyPredefinedFlag; }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 256 "config.l"
{ BEGIN(GetBool); b=&Config::fullPathNameFlag; }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 257 "config.l"
{ BEGIN(GetBool); b=&Config::classDiagramFlag; }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 258 "config.l"
{ BEGIN(GetBool); b=&Config::compactLatexFlag; }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 259 "config.l"
{ BEGIN(GetBool); b=&Config::repeatBriefFlag; }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 260 "config.l"
{ BEGIN(GetBool); b=&Config::internalDocsFlag; }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 261 "config.l"
{ BEGIN(GetBool); b=&Config::caseSensitiveNames; }
YY_BREAK
case 67:
YY_RULE_SETUP
#line 262 "config.l"
{ BEGIN(GetBool); b=&Config::verbatimHeaderFlag; }
YY_BREAK
case 68:
YY_RULE_SETUP
#line 263 "config.l"
{ BEGIN(GetBool); b=&Config::htmlAlignMemberFlag; }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 264 "config.l"
{ BEGIN(GetBool); b=&Config::sourceBrowseFlag; }
YY_BREAK
case 70:
YY_RULE_SETUP
#line 265 "config.l"
{ BEGIN(GetBool); b=&Config::autoBriefFlag; }
YY_BREAK
case 71:
YY_RULE_SETUP
#line 266 "config.l"
{ BEGIN(GetBool); b=&Config::htmlHelpFlag; }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 267 "config.l"
{ BEGIN(GetBool); b=&Config::alphaIndexFlag; }
YY_BREAK
case 73:
YY_RULE_SETUP
#line 268 "config.l"
{ BEGIN(GetBool); b=&Config::pdfHyperFlag; }
YY_BREAK
case 74:
YY_RULE_SETUP
#line 269 "config.l"
{ BEGIN(GetBool); b=&Config::inheritDocsFlag; }
YY_BREAK
case 75:
YY_RULE_SETUP
#line 270 "config.l"
{ BEGIN(GetBool); b=&Config::inlineInfoFlag; }
YY_BREAK
case 76:
YY_RULE_SETUP
#line 271 "config.l"
{ BEGIN(GetBool); b=&Config::inlineSourceFlag; }
YY_BREAK
case 77:
YY_RULE_SETUP
#line 272 "config.l"
{ BEGIN(GetBool); b=&Config::haveDotFlag; }
YY_BREAK
case 78:
YY_RULE_SETUP
#line 273 "config.l"
{ BEGIN(GetBool); b=&Config::collGraphFlag; }
YY_BREAK
case 79:
YY_RULE_SETUP
#line 274 "config.l"
{ BEGIN(GetBool); b=&Config::includeGraphFlag; }
YY_BREAK
case 80:
YY_RULE_SETUP
#line 275 "config.l"
{ BEGIN(GetBool); b=&Config::gfxHierarchyFlag; }
YY_BREAK
case 81:
YY_RULE_SETUP
#line 276 "config.l"
{ BEGIN(GetBool); b=&Config::generateRTF; }
YY_BREAK
case 82:
YY_RULE_SETUP
#line 277 "config.l"
{ BEGIN(GetBool); b=&Config::compactRTFFlag; }
YY_BREAK
case 83:
YY_RULE_SETUP
#line 278 "config.l"
{ BEGIN(GetBool); b=&Config::rtfHyperFlag; }
YY_BREAK
case 84:
YY_RULE_SETUP
#line 279 "config.l"
{ err("Warning: ignoring unknown tag `%s' at line %d\n",yytext,yyLineNr); }
YY_BREAK
case 85:
YY_RULE_SETUP
#line 280 "config.l"
{ yyLineNr++; BEGIN(Start); }
YY_BREAK
case 86:
YY_RULE_SETUP
#line 281 "config.l"
{
yyLineNr++;
if (!elemStr.isEmpty())
{
//printf("elemStr1=`%s'\n",elemStr.data());
l->append(elemStr);
}
BEGIN(Start);
}
YY_BREAK
case 87:
YY_RULE_SETUP
#line 290 "config.l"
{
if (!elemStr.isEmpty())
{
//printf("elemStr2=`%s'\n",elemStr.data());
l->append(elemStr);
}
elemStr.resize(0);
}
YY_BREAK
case 88:
YY_RULE_SETUP
#line 298 "config.l"
{ (*s)+=yytext; }
YY_BREAK
case 89:
YY_RULE_SETUP
#line 299 "config.l"
{ lastState=YY_START;
BEGIN(GetQuotedString);
tmpString.resize(0);
}
YY_BREAK
case 90:
YY_RULE_SETUP
#line 303 "config.l"
{
//printf(">> Enter env\n");
lastEnvState=YY_START;
BEGIN(GetEnvVar);
}
YY_BREAK
case 91:
YY_RULE_SETUP
#line 308 "config.l"
{
yytext[yyleng-1]='\0';
const char *env=getenv(yytext);
int i;
int l=strlen(env);
//printf("env name=`%s' text=`%s'\n",yytext,env);
for (i=l-1;i>=0;i--) unput(env[i]);
BEGIN(lastEnvState);
}
YY_BREAK
case 92:
YY_RULE_SETUP
#line 317 "config.l"
{
//printf("Quoted String = `%s'\n",tmpString.data());
if (lastState==GetString)
(*s)+=tmpString;
else
elemStr+=tmpString;
if (*yytext=='\n')
{
err("Warning: Missing end quote (\") on line %d\n",yyLineNr);
yyLineNr++;
}
BEGIN(lastState);
}
YY_BREAK
case 93:
YY_RULE_SETUP
#line 330 "config.l"
{
tmpString+='"';
}
YY_BREAK
case 94:
YY_RULE_SETUP
#line 333 "config.l"
{ tmpString+=*yytext; }
YY_BREAK
case 95:
YY_RULE_SETUP
#line 334 "config.l"
{
QCString bs=yytext;
bs=bs.upper();
if (bs=="YES")
*b=TRUE;
else if (bs=="NO")
*b=FALSE;
else
{
*b=FALSE;
warn("Warning: Invalid value `%s' for "
"boolean tag in line %d; use YES or NO\n",
bs.data(),yyLineNr);
}
}
YY_BREAK
case 96:
YY_RULE_SETUP
#line 349 "config.l"
{
elemStr+=yytext;
}
YY_BREAK
case 97:
YY_RULE_SETUP
#line 352 "config.l"
{ yyLineNr++; BEGIN(Start); }
YY_BREAK
case 98:
YY_RULE_SETUP
#line 353 "config.l"
{ yyLineNr++; BEGIN(Start); }
YY_BREAK
case 99:
YY_RULE_SETUP
#line 354 "config.l"
{ yyLineNr++; }
YY_BREAK
case 100:
YY_RULE_SETUP
#line 355 "config.l"
YY_BREAK
case 101:
YY_RULE_SETUP
#line 356 "config.l"
{ yyLineNr++ ; }
YY_BREAK
case 102:
YY_RULE_SETUP
#line 358 "config.l"
ECHO;
YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(Start):
case YY_STATE_EOF(SkipComment):
case YY_STATE_EOF(GetString):
case YY_STATE_EOF(GetBool):
case YY_STATE_EOF(GetStrList):
case YY_STATE_EOF(GetQuotedString):
case YY_STATE_EOF(GetEnvVar):
yyterminate();
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
*yy_cp = yy_hold_char;
YY_RESTORE_YY_MORE_OFFSET
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
{
/* We're scanning a new file or input source. It's
* possible that this happened because the user
* just pointed yyin at a new source and called
* yylex(). If so, then we have to assure
* consistency between yy_current_buffer and our
* globals. Here is the right place to do so, because
* this is the first action (other than possibly a
* back-up) that will match for the new input source.
*/
yy_n_chars = yy_current_buffer->yy_n_chars;
yy_current_buffer->yy_input_file = yyin;
yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
}
/* Note that here we test for yy_c_buf_p "<=" to the position
* of the first EOB in the buffer, since yy_c_buf_p will
* already have been incremented past the NUL character
* (since all states make transitions on EOB to the
* end-of-buffer state). Contrast this with the test
* in input().
*/
if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
* yy_get_previous_state() go ahead and do it
* for us because it doesn't know how to deal
* with the possibility of jamming (and we don't
* want to build jamming into it because then it
* will run more slowly).
*/
yy_next_state = yy_try_NUL_trans( yy_current_state );
yy_bp = yytext_ptr + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
yy_cp = ++yy_c_buf_p;
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
yy_cp = yy_c_buf_p;
goto yy_find_action;
}
}
else switch ( yy_get_next_buffer() )
{
case EOB_ACT_END_OF_FILE:
{
yy_did_buffer_switch_on_eof = 0;
if ( yywrap() )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* yytext, we can now set up
* yy_c_buf_p so that if some total
* hoser (like flex itself) wants to
* call the scanner after we return the
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
}
else
{
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p =
yytext_ptr + yy_amount_of_matched_text;
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
&yy_current_buffer->yy_ch_buf[yy_n_chars];
yy_current_state = yy_get_previous_state();
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_find_action;
}
break;
}
default:
YY_FATAL_ERROR(
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* Returns a code representing an action:
* EOB_ACT_LAST_MATCH -
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
static int yy_get_next_buffer()
{
register char *dest = yy_current_buffer->yy_ch_buf;
register char *source = yytext_ptr;
register int number_to_move, i;
int ret_val;
if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
if ( yy_current_buffer->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
{
/* We matched a single character, the EOB, so
* treat this as a final EOF.
*/
return EOB_ACT_END_OF_FILE;
}
else
{
/* We matched some text prior to the EOB, first
* process it.
*/
return EOB_ACT_LAST_MATCH;
}
}
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
/* don't do the read, it's not guaranteed to return an EOF,
* just force an EOF
*/
yy_current_buffer->yy_n_chars = yy_n_chars = 0;
else
{
int num_to_read =
yy_current_buffer->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = yy_current_buffer;
int yy_c_buf_p_offset =
(int) (yy_c_buf_p - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
else
b->yy_buf_size *= 2;
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
yy_flex_realloc( (void *) b->yy_ch_buf,
b->yy_buf_size + 2 );
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
"fatal error - scanner input buffer overflow" );
yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = yy_current_buffer->yy_buf_size -
number_to_move - 1;
#endif
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
yy_n_chars, num_to_read );
yy_current_buffer->yy_n_chars = yy_n_chars;
}
if ( yy_n_chars == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
yyrestart( yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
yy_current_buffer->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
yy_n_chars += number_to_move;
yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
return ret_val;
}
/* yy_get_previous_state - get the state just before the EOB char was reached */
static yy_state_type yy_get_previous_state()
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_current_state = yy_start;
for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 44);
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1039 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
}
return yy_current_state;
}
/* yy_try_NUL_trans - try to make a transition on the NUL character
*
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
{
register int yy_is_jam;
register char *yy_cp = yy_c_buf_p;
register YY_CHAR yy_c = 44;
if ( yy_accept[yy_current_state] )
{
yy_last_accepting_state = yy_current_state;
yy_last_accepting_cpos = yy_cp;
}
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 1039 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 1038);
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
{
register char *yy_cp = yy_c_buf_p;
/* undo effects of setting up yytext */
*yy_cp = yy_hold_char;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
register int number_to_move = yy_n_chars + 2;
register char *dest = &yy_current_buffer->yy_ch_buf[
yy_current_buffer->yy_buf_size + 2];
register char *source =
&yy_current_buffer->yy_ch_buf[number_to_move];
while ( source > yy_current_buffer->yy_ch_buf )
*--dest = *--source;
yy_cp += (int) (dest - source);
yy_bp += (int) (dest - source);
yy_current_buffer->yy_n_chars =
yy_n_chars = yy_current_buffer->yy_buf_size;
if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
*--yy_cp = (char) c;
yytext_ptr = yy_bp;
yy_hold_char = *yy_cp;
yy_c_buf_p = yy_cp;
}
#endif /* ifndef YY_NO_UNPUT */
#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
{
int c;
*yy_c_buf_p = yy_hold_char;
if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
{
/* yy_c_buf_p now points to the character we want to return.
* If this occurs *before* the EOB characters, then it's a
* valid NUL; if not, then we've hit the end of the buffer.
*/
if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
/* This was really a NUL. */
*yy_c_buf_p = '\0';
else
{ /* need more input */
int offset = yy_c_buf_p - yytext_ptr;
++yy_c_buf_p;
switch ( yy_get_next_buffer() )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
* sees that we've accumulated a
* token and flags that we need to
* try matching the token before
* proceeding. But for input(),
* there's no matching to consider.
* So convert the EOB_ACT_LAST_MATCH
* to EOB_ACT_END_OF_FILE.
*/
/* Reset buffer status. */
yyrestart( yyin );
/* fall through */
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
return EOF;
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
#else
return input();
#endif
}
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p = yytext_ptr + offset;
break;
}
}
}
c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
*yy_c_buf_p = '\0'; /* preserve yytext */
yy_hold_char = *++yy_c_buf_p;
return c;
}
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
{
if ( ! yy_current_buffer )
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
yy_init_buffer( yy_current_buffer, input_file );
yy_load_buffer_state();
}
#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
{
if ( yy_current_buffer == new_buffer )
return;
if ( yy_current_buffer )
{
/* Flush out information for old buffer. */
*yy_c_buf_p = yy_hold_char;
yy_current_buffer->yy_buf_pos = yy_c_buf_p;
yy_current_buffer->yy_n_chars = yy_n_chars;
}
yy_current_buffer = new_buffer;
yy_load_buffer_state();
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
yy_did_buffer_switch_on_eof = 1;
}
#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
{
yy_n_chars = yy_current_buffer->yy_n_chars;
yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
yyin = yy_current_buffer->yy_input_file;
yy_hold_char = *yy_c_buf_p;
}
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
{
YY_BUFFER_STATE b;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
yy_init_buffer( b, file );
return b;
}
#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
return;
if ( b == yy_current_buffer )
yy_current_buffer = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
yy_flex_free( (void *) b->yy_ch_buf );
yy_flex_free( (void *) b );
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif
{
yy_flush_buffer( b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
#if YY_ALWAYS_INTERACTIVE
b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
b->yy_is_interactive = 0;
#else
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
}
#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif
{
if ( ! b )
return;
b->yy_n_chars = 0;
/* We always need two end-of-buffer characters. The first causes
* a transition to the end-of-buffer state. The second causes
* a jam in that state.
*/
b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
b->yy_buf_pos = &b->yy_ch_buf[0];
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == yy_current_buffer )
yy_load_buffer_state();
}
#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
{
YY_BUFFER_STATE b;
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/* They forgot to leave room for the EOB's. */
return 0;
b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = 0;
b->yy_n_chars = b->yy_buf_size;
b->yy_is_interactive = 0;
b->yy_at_bol = 1;
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
yy_switch_to_buffer( b );
return b;
}
#endif
#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
#else
YY_BUFFER_STATE yy_scan_string( yy_str )
yyconst char *yy_str;
#endif
{
int len;
for ( len = 0; yy_str[len]; ++len )
;
return yy_scan_bytes( yy_str, len );
}
#endif
#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
yyconst char *bytes;
int len;
#endif
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = len + 2;
buf = (char *) yy_flex_alloc( n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
for ( i = 0; i < len; ++i )
buf[i] = bytes[i];
buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
b = yy_scan_buffer( buf, n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
/* It's okay to grow etc. this buffer, and we should throw it
* away when we're done.
*/
b->yy_is_our_buffer = 1;
return b;
}
#endif
#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
{
if ( yy_start_stack_ptr >= yy_start_stack_depth )
{
yy_size_t new_size;
yy_start_stack_depth += YY_START_STACK_INCR;
new_size = yy_start_stack_depth * sizeof( int );
if ( ! yy_start_stack )
yy_start_stack = (int *) yy_flex_alloc( new_size );
else
yy_start_stack = (int *) yy_flex_realloc(
(void *) yy_start_stack, new_size );
if ( ! yy_start_stack )
YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
}
yy_start_stack[yy_start_stack_ptr++] = YY_START;
BEGIN(new_state);
}
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state()
{
if ( --yy_start_stack_ptr < 0 )
YY_FATAL_ERROR( "start-condition stack underflow" );
BEGIN(yy_start_stack[yy_start_stack_ptr]);
}
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state()
{
return yy_start_stack[yy_start_stack_ptr - 1];
}
#endif
#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif
#ifdef YY_USE_PROTOS
static void yy_fatal_error( yyconst char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
/* Redefine yyless() so it works in section 3 code. */
#undef yyless
#define yyless(n) \
do \
{ \
/* Undo effects of setting up yytext. */ \
yytext[yyleng] = yy_hold_char; \
yy_c_buf_p = yytext + n; \
yy_hold_char = *yy_c_buf_p; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )
/* Internal utility routines. */
#ifndef yytext_ptr
#ifdef YY_USE_PROTOS
static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
#else
static void yy_flex_strncpy( s1, s2, n )
char *s1;
yyconst char *s2;
int n;
#endif
{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#endif
#ifdef YY_NEED_STRLEN
#ifdef YY_USE_PROTOS
static int yy_flex_strlen( yyconst char *s )
#else
static int yy_flex_strlen( s )
yyconst char *s;
#endif
{
register int n;
for ( n = 0; s[n]; ++n )
;
return n;
}
#endif
#ifdef YY_USE_PROTOS
static void *yy_flex_alloc( yy_size_t size )
#else
static void *yy_flex_alloc( size )
yy_size_t size;
#endif
{
return (void *) malloc( size );
}
#ifdef YY_USE_PROTOS
static void *yy_flex_realloc( void *ptr, yy_size_t size )
#else
static void *yy_flex_realloc( ptr, size )
void *ptr;
yy_size_t size;
#endif
{
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
* because both ANSI C and C++ allow castless assignment from
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
}
#ifdef YY_USE_PROTOS
static void yy_flex_free( void *ptr )
#else
static void yy_flex_free( ptr )
void *ptr;
#endif
{
free( ptr );
}
#if YY_MAIN
int main()
{
yylex();
return 0;
}
#endif
#line 358 "config.l"
/*@ ----------------------------------------------------------------------------
*/
void dumpConfig()
{
printf("projectName=`%s'\n",Config::projectName.data());
printf("outputDir=`%s'\n", Config::outputDir.data());
printf("headerFile=`%s'\n", Config::headerFile.data());
printf("footerFile=`%s'\n", Config::footerFile.data());
char *ip=Config::includePath.first();
while (ip)
{
printf("includePath=`%s'\n",ip);
ip=Config::includePath.next();
}
printf("quiet=`%d'\n", Config::quietFlag);
printf("warnings=`%d'\n", Config::warningFlag);
char *is=Config::inputSources.first();
while (is)
{
printf("inputSources=`%s'\n",is);
is=Config::inputSources.next();
}
char *fp=Config::filePatternList.first();
while (fp)
{
printf("filePattern=`%s'\n",fp);
fp=Config::filePatternList.next();
}
printf("recusive=`%d'\n",Config::recursiveFlag);
printf("inputFilter=`%s'\n",Config::inputFilter.data());
char *tf=Config::tagFileList.first();
while (tf)
{
printf("tagFile=`%s'\n",tf);
tf=Config::tagFileList.next();
}
printf("allExternals=`%d'\n",Config::allExtFlag);
printf("searchEngine=`%d'\n",Config::searchEngineFlag);
printf("cgiName=`%s'\n",Config::cgiName.data());
printf("cgiURL=`%s'\n",Config::cgiURL.data());
printf("docURL=`%s'\n",Config::docURL.data());
printf("binAbsPath=`%s'\n",Config::binAbsPath.data());
char *ed=Config::extDocPathList.first();
while (ed)
{
printf("binAbsPathFile=`%s'\n",ed);
ed=Config::extDocPathList.next();
}
}
void Config::init()
{
Config::projectName.resize(0);
Config::projectNumber.resize(0);
Config::outputDir.resize(0);
Config::htmlOutputDir = "html";
Config::latexOutputDir ="latex";
Config::manOutputDir ="man";
Config::rtfOutputDir = "rtf";
Config::outputLanguage = "English";
Config::headerFile.resize(0);
Config::latexHeaderFile.resize(0);
Config::footerFile.resize(0);
Config::cgiName = "search.cgi";
Config::cgiURL.resize(0);
Config::docURL.resize(0);
Config::binAbsPath = "/usr/local/bin/";
Config::docAbsPath.resize(0);
Config::perlPath = "/usr/bin/perl";
Config::genTagFile.resize(0);
Config::inputFilter.resize(0);
Config::paperType = "a4wide";
Config::manExtension = ".3";
Config::htmlStyleSheet.resize(0);
Config::ignorePrefix.resize(0);
Config::includePath.clear();
Config::examplePath.clear();
Config::imagePath.clear();
Config::inputSources.clear();
Config::excludeSources.clear();
Config::filePatternList.clear();
Config::examplePatternList.clear();
Config::imagePatternList.clear();
Config::excludePatternList.clear();
Config::tagFileList.clear();
Config::extDocPathList.clear();
Config::predefined.clear();
Config::extraPackageList.clear();
Config::stripFromPath.clear();
Config::tabSize=8;
Config::colsInAlphaIndex=5;
Config::quietFlag = FALSE;
Config::recursiveFlag = FALSE;
Config::allExtFlag = FALSE;
Config::searchEngineFlag = FALSE;
Config::extractAllFlag = FALSE;
Config::extractPrivateFlag = FALSE;
Config::noIndexFlag = FALSE;
Config::hideMemberFlag = FALSE;
Config::hideClassFlag = FALSE;
Config::macroExpansionFlag = FALSE;
Config::onlyPredefinedFlag = FALSE;
Config::fullPathNameFlag = FALSE;
Config::compactLatexFlag = FALSE;
Config::internalDocsFlag = FALSE;
Config::caseSensitiveNames = FALSE;
Config::sourceBrowseFlag = FALSE;
Config::htmlHelpFlag = FALSE;
Config::alphaIndexFlag = FALSE;
Config::pdfHyperFlag = FALSE;
Config::alwaysDetailsFlag = FALSE;
Config::inlineSourceFlag = FALSE;
Config::haveDotFlag = FALSE;
Config::compactRTFFlag = FALSE;
Config::rtfHyperFlag = FALSE;
Config::warningFlag = TRUE;
Config::generateHtml = TRUE;
Config::generateLatex = TRUE;
Config::generateMan = TRUE;
Config::generateRTF = FALSE;
Config::preprocessingFlag = TRUE;
Config::briefMemDescFlag = TRUE;
Config::searchIncludeFlag = TRUE;
Config::classDiagramFlag = TRUE;
Config::repeatBriefFlag = TRUE;
Config::verbatimHeaderFlag = TRUE;
Config::htmlAlignMemberFlag = TRUE;
Config::autoBriefFlag = TRUE;
Config::inheritDocsFlag = TRUE;
Config::inlineInfoFlag = TRUE;
Config::collGraphFlag = TRUE;
Config::includeGraphFlag = TRUE;
Config::gfxHierarchyFlag = TRUE;
}
void writeTemplateConfig(QFile *f,bool sl)
{
QTextStream t(f);
#ifdef DOXYWIZARD
t << "# Doxygen configuration generated by Doxywizard version " << versionString << endl;
#else
t << "# Doxyfile " << versionString << endl << endl;
#endif
if (!sl)
{
t << "# This file describes the settings to be used by doxygen for a project\n";
t << "#\n";
t << "# All text after a hash (#) is considered a comment and will be ignored\n";
t << "# The format is:\n";
t << "# TAG = value [value, ...]\n";
t << "# Values that contain spaces should be placed between quotes (\" \")\n";
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# General configuration options\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# The PROJECT_NAME tag is a single word (or a sequence of word surrounded\n";
t << "# by quotes) that should identify the project. \n";
t << "\n";
}
t << "PROJECT_NAME =\n";
if (!sl)
{
t << "\n";
t << "# The PROJECT_NUMBER tag can be used to enter a project or revision number.\n" ;
t << "# This could be handy for archiving the generated documentation or \n";
t << "# if some version control system is used.\n";
t << "\n";
}
t << "PROJECT_NUMBER =\n";
if (!sl)
{
t << "\n";
t << "# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) \n";
t << "# base path where the generated documentation will be put. \n";
t << "# If a relative path is entered, it will be relative to the location \n";
t << "# where doxygen was started. If left blank the current directory will be used.\n";
t << "\n";
}
t << "OUTPUT_DIRECTORY =\n";
if (!sl)
{
t << "\n";
t << "# The OUTPUT_LANGUAGE tag is used to specify the language in which all\n";
t << "# documentation generated by doxygen is written. Doxygen will use this\n";
t << "# information to generate all constant output in the proper language.\n";
t << "# The default language is English, other supported languages are: \n";
t << "# Dutch, French, Italian, Czech, Swedish, German and Japanese\n";
t << "\n";
}
t << "OUTPUT_LANGUAGE = English\n";
if (!sl)
{
t << "\n";
t << "# The QUIET tag can be used to turn on/off the messages that are generated\n";
t << "# by doxygen. Possible values are YES and NO. If left blank NO is used.\n";
t << "\n";
}
t << "QUIET = NO\n";
if (!sl)
{
t << "\n";
t << "# The WARNINGS tag can be used to turn on/off the warning messages that are\n";
t << "# generated by doxygen. Possible values are YES and NO. If left blank\n";
t << "# NO is used.\n";
t << "\n";
}
t << "WARNINGS = YES\n";
if (!sl)
{
t << "\n";
t << "# The DISABLE_INDEX tag can be used to turn on/off the condensed index at\n";
t << "# top of each HTML page. The value NO (the default) enables the index and\n";
t << "# the value YES disables it.\n";
t << "\n";
}
t << "DISABLE_INDEX = NO\n";
if (!sl)
{
t << "\n";
t << "# If the EXTRACT_ALL tag is set to YES all classes and functions will be\n";
t << "# included in the documentation, even if no documentation was available.\n";
t << "\n";
}
t << "EXTRACT_ALL = NO\n";
if (!sl)
{
t << "\n";
t << "# If the EXTRACT_PRIVATE tag is set to YES all private members of a class\n";
t << "# will be included in the documentation.\n";
t << "\n";
}
t << "EXTRACT_PRIVATE = NO\n";
if (!sl)
{
t << "\n";
t << "# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all\n";
t << "# undocumented members inside documented classes or files.\n";
t << "\n";
}
t << "HIDE_UNDOC_MEMBERS = NO\n";
if (!sl)
{
t << "\n";
t << "# If the HIDE_UNDOC_CLASSESS tag is set to YES, Doxygen will hide all\n";
t << "# undocumented classes.\n";
t << "\n";
}
t << "HIDE_UNDOC_CLASSES = NO\n";
if (!sl)
{
t << "\n";
t << "# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will\n";
t << "# include brief member descriptions after the members that are listed in \n";
t << "# the file and class documentation (similar to JavaDoc).\n";
t << "# Set to NO to disable this.\n";
t << "\n";
}
t << "BRIEF_MEMBER_DESC = YES\n";
if (!sl)
{
t << "\n";
t << "# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend\n";
t << "# the brief description of a member or function before the detailed description.\n";
t << "# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the \n";
t << "# brief descriptions will be completely suppressed.\n";
t << "\n";
}
t << "REPEAT_BRIEF = YES\n";
if (!sl)
{
t <<"\n";
t << "# If the ALWAYS_DETAILS_SEC and REPEAT_BRIEF tags are both set to YES then\n";
t << "# Doxygen will generate a detailed section even if there is only a brief\n";
t << "# description.\n";
t <<"\n";
}
t << "ALWAYS_DETAILED_SEC = NO\n";
if (!sl)
{
t << "\n";
t << "# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full\n";
t << "# path before files name in the file list and in the header files. If set\n" ;
t << "# to NO the shortest path that makes the file name unique will be used.\n";
t << "\n";
}
t << "FULL_PATH_NAMES = NO\n";
if (!sl)
{
t << "\n";
t << "# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag\n";
t << "# can be used to strip a user defined part of the path. Stripping is\n" ;
t << "# only done if one of the specified strings matches the left-hand part of\n";
t << "# the path.\n";
t << "\n";
}
t << "STRIP_FROM_PATH =\n";
if (!sl)
{
t << "\n";
t << "# The INTERNAL_DOCS tag determines if documentation\n";
t << "# that is typed after a \\internal command is included. If the tag is set \n";
t << "# to NO (the default) then the documentation will be excluded.\n";
t << "# Set it to YES to include the internal documentation.\n";
t << "\n";
}
t << "INTERNAL_DOCS = NO\n";
if (!sl)
{
t << "\n";
t << "# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will\n";
t << "# generate a class diagram (in Html and LaTeX) for classes with base or\n";
t << "# super classes. Setting the tag to NO turns the diagrams off.\n";
t << "\n";
}
t << "CLASS_DIAGRAMS = YES\n";
if (!sl)
{
t << "\n";
t << "# If the SOURCE_BROWSER tag is set to YES then a list of source files will\n";
t << "# be generated. Documented entities will be cross-referenced with these sources.\n";
t << "\n";
}
t << "SOURCE_BROWSER = NO\n";
if (!sl)
{
t << "\n";
t << "# Setting the INLINE_SOURCES tag to YES will include the body\n";
t << "# of functions and classes directly in the documentation.\n";
t << "\n";
}
t << "INLINE_SOURCES = NO\n";
if (!sl)
{
t << "\n";
t << "# If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen\n";
t << "# will only generate file names in lower case letters. If set to\n";
t << "# YES upper case letters are also allowed. This is useful if you have\n";
t << "# classes or files whose names only differ in case and if your file system\n";
t << "# supports case sensitive file names.\n";
t << "\n";
}
t << "CASE_SENSE_NAMES = NO\n";
if (!sl)
{
t << "\n";
t << "# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen\n";
t << "# will generate a verbatim copy of the header file for each class for\n";
t << "# which an include is specified. Set to NO to disable this.\n";
t << "\n";
}
t << "VERBATIM_HEADERS = YES\n";
if (!sl)
{
t << "\n";
t << "# If the JAVADOC_AUTOBRIEF tag is set to YES (the default) then Doxygen\n";
t << "# will interpret the first line (until the first dot) of a JavaDoc-style\n";
t << "# comment as the brief description. If set to NO, the Javadoc-style will\n";
t << "# behave just like the Qt-style comments.\n";
t << "\n";
}
t << "JAVADOC_AUTOBRIEF = YES\n";
if (!sl)
{
t << "\n";
t << "# if the INHERIT_DOCS tag is set to YES (the default) then an undocumented\n";
t << "# member inherits the documentation from any documented member that it\n";
t << "# reimplements.\n";
t << "\n";
}
t << "INHERIT_DOCS = YES\n";
if (!sl)
{
t << "\n";
t << "# if the INLINE_INFO tag is set to YES (the default) then a tag [inline]\n";
t << "# is inserted in the documentation for inline members.\n";
t << "\n";
}
t << "INLINE_INFO = YES\n";
if (!sl)
{
t << "\n";
t << "# the TAB_SIZE tag can be used to set the number of spaces in a tab.\n";
t << "# Doxygen uses this value to replace tabs by spaces in code fragments.\n";
t << "\n";
}
t << "TAB_SIZE = 8\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the input files\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# The INPUT tag can be used to specify the files and/or directories that contain \n";
t << "# documented source files. You may enter file names like \"myfile.cpp\" or \n";
t << "# directories like \"/usr/src/myproject\". Separate the files or directories \n";
t << "# with spaces.\n";
t << "\n";
}
t << "INPUT =\n";
if (!sl)
{
t << "\n";
t << "# If the value of the INPUT tag contains directories, you can use the \n";
t << "# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp \n";
t << "# and *.h) to filter out the source-files in the directories. If left \n";
t << "# blank all files are included.\n";
t << "\n";
}
t << "FILE_PATTERNS =\n";
if (!sl)
{
t << "\n";
t << "# The RECURSIVE tag can be used to turn specify whether or not subdirectories\n";
t << "# should be searched for input files as well. Possible values are YES and NO.\n";
t << "# If left blank NO is used.\n";
t << "\n";
}
t << "RECURSIVE = NO\n";
if (!sl)
{
t << "\n";
t << "# The EXCLUDE tag can be used to specify files and/or directories that should\n";
t << "# excluded from the INPUT source files. This way you can easily exclude a \n";
t << "# subdirectory from a directory tree whose root is specified with the INPUT tag.\n";
t << "\n";
}
t << "EXCLUDE =\n";
if (!sl)
{
t << "\n";
t << "# If the value of the INPUT tag contains directories, you can use the\n";
t << "# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude\n";
t << "# certain files from those directories.\n";
t << "\n";
}
t << "EXCLUDE_PATTERNS =\n";
if (!sl)
{
t << "\n";
t << "# The EXAMPLE_PATH tag can be used to specify one or more files or \n";
t << "# directories that contain example code fragments that are included (see \n";
t << "# the \\include command).\n";
t << "\n";
}
t << "EXAMPLE_PATH =\n";
if (!sl)
{
t << "\n";
t << "# If the value of the EXAMPLE_PATH tag contains directories, you can use the\n";
t << "# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp \n";
t << "# and *.h) to filter out the source-files in the directories. If left \n";
t << "# blank all files are included.\n";
t << "\n";
}
t << "EXAMPLE_PATTERNS =\n";
if (!sl)
{
t << "\n";
t << "# The IMAGE_PATH tag can be used to specify one or more files or \n";
t << "# directories that contain image that are included in the documentation (see \n";
t << "# the \\image command).\n";
t << "\n";
}
t << "IMAGE_PATH =\n";
if (!sl)
{
t << "\n";
t << "# The INPUT_FILTER tag can be used to specify a program that doxygen should\n";
t << "# invoke to filter for each input file. Doxygen will invoke the filter program \n";
t << "# by executing (via popen()) the command <filter> <input-file>, where <filter>\n";
t << "# is the value of the INPUT_FILTER tag, and <input-file> is the name of an\n";
t << "# input file. Doxygen will then use the output that the filter program writes\n";
t << "# to standard output.\n";
t << "\n";
}
t << "INPUT_FILTER =\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the HTML output\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the GENERATE_HTML tag is set to YES (the default) Doxygen will\n";
t << "# generate HTML output\n";
t << "\n";
}
t << "GENERATE_HTML = YES\n";
if (!sl)
{
t << "\n";
t << "# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.\n";
t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n";
t << "# put in front of it. If left blank `html' will be used as the default path.\n";
t << "\n";
}
t << "HTML_OUTPUT =\n";
if (!sl)
{
t << "\n";
t << "# The HTML_HEADER tag can be used to specify a personal HTML header for \n";
t << "# each generated HTML page. If it is left blank doxygen will generate a \n";
t << "# standard header.\n";
t << "\n";
}
t << "HTML_HEADER =\n";
if (!sl)
{
t << "\n";
t << "# The HTML_FOOTER tag can be used to specify a personal HTML footer for \n";
t << "# each generated HTML page. If it is left blank doxygen will generate a \n";
t << "# standard footer.\n";
t << "\n";
}
t << "HTML_FOOTER =\n";
if (!sl)
{
t << "\n";
t << "# The HTML_STYLESHEET tag can be used to specify a user defined cascading\n";
t << "# style sheet that is used by each HTML page. It can be used to \n";
t << "# fine-tune the look of the HTML output. If the tag is left blank doxygen\n";
t << "# will generate a default style sheet\n";
t << "\n";
}
t << "HTML_STYLESHEET =\n";
if (!sl)
{
t << "\n";
t << "# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,\n";
t << "# files or namespaces will be aligned in HTML using tables. If set to\n";
t << "# NO a bullet list will be used.\n";
t << "\n";
}
t << "HTML_ALIGN_MEMBERS = YES\n";
if (!sl)
{
t << "\n";
t << "# If the GENERATE_HTMLHELP tag is set to YES, additional index files\n";
t << "# will be generated that can be used as input for tools like the\n";
t << "# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)\n";
t << "# of the generated HTML documentation.\n";
t << "\n";
}
t << "GENERATE_HTMLHELP = NO\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the alphabetical class index\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index\n";
t << "# of all compounds will be generated. Enable this if the project\n";
t << "# contains a lot of classes, structs, unions or interfaces.\n";
t << "\n";
}
t << "ALPHABETICAL_INDEX = NO\n";
if (!sl)
{
t << "\n";
t << "# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then\n";
t << "# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns\n";
t << "# in which this list will be split (can be a number in the range [1..20])\n";
t << "\n";
}
t << "COLS_IN_ALPHA_INDEX = 5\n";
if (!sl)
{
t << "\n";
t << "# In case all classes in a project start with a common prefix, all\n";
t << "# classes will be put under the same header in the alphabetical index.\n";
t << "# The IGNORE_PREFIX tag can be use to specify a prefix that should be ignored\n";
t << "# while generating the index headers.\n";
t << "\n";
}
t << "IGNORE_PREFIX = \n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the LaTeX output\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will\n";
t << "# generate Latex output.\n";
t << "\n";
}
t << "GENERATE_LATEX = YES\n";
if (!sl)
{
t << "\n";
t << "# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.\n";
t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n";
t << "# put in front of it. If left blank `latex' will be used as the default path.\n";
t << "\n";
}
t << "LATEX_OUTPUT =\n";
if (!sl)
{
t << "\n";
t << "# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact\n";
t << "# LaTeX documents. This may be useful for small projects and may help to\n";
t << "# save some trees in general.\n";
t << "\n";
}
t << "COMPACT_LATEX = NO\n";
if (!sl)
{
t << "\n";
t << "# The PAPER_TYPE tag can be used to set the paper type that is used\n";
t << "# by the printer. Possible values are: a4, a4wide, letter, legal and \n";
t << "# executive. If left blank a4wide will be used.\n";
t << "\n";
}
t << "PAPER_TYPE = a4wide\n";
if (!sl)
{
t << "\n";
t << "# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX\n";
t << "# packages that should be included in the LaTeX output.\n";
t << "\n";
}
t << "EXTRA_PACKAGES =\n";
if (!sl)
{
t << "\n";
t << "# The LATEX_HEADER tag can be used to specify a personal LaTeX header for \n";
t << "# the generated latex document. The header should contain everything until\n";
t << "# the first chapter. If it is left blank doxygen will generate a \n";
t << "# standard header. Notice: only use this tag if you know what you are doing!\n";
t << "\n";
}
t << "LATEX_HEADER =\n";
if (!sl)
{
t << "\n";
t << "# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated\n";
t << "# is prepared for conversion to pdf (using ps2pdf). The pdf file will\n";
t << "# contain links (just like the HTML output) instead of page references\n";
t << "# This makes the output suitable for online browsing using a pdf viewer.\n";
t << "\n";
}
t << "PDF_HYPERLINKS = NO\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the RTF output\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output\n";
t << "# For now this is experimental and is disabled by default. The RTF output\n";
t << "# is optimised for Word 97 and may not look too pretty with other readers\n";
t << "# or editors.\n";
t << "\n";
}
t << "GENERATE_RTF = NO\n";
if (!sl)
{
t << "\n";
t << "# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.\n";
t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n";
t << "# put in front of it. If left blank `rtf' will be used as the default path.\n";
t << "\n";
}
t << "RTF_OUTPUT =\n";
if (!sl)
{
t << "\n";
t << "# If the COMPACT_RTF tag is set to YES Doxygen generates more compact\n";
t << "# RTF documents. This may be useful for small projects and may help to\n";
t << "# save some trees in general.\n";
t << "\n";
}
t << "COMPACT_RTF = NO\n";
if (!sl)
{
t << "\n";
t << "# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated\n";
t << "# will contain hyperlink fields. The RTF file will\n";
t << "# contain links (just like the HTML output) instead of page references.\n";
t << "# This makes the output suitable for online browsing using a WORD or other.\n";
t << "# programs which support those fields.\n";
t << "# Note: wordpad (write) and others do not support links.\n";
t << "\n";
}
t << "RTF_HYPERLINKS = NO\n";
t << "#---------------------------------------------------------------------------\n";
t << "# configuration options related to the man page output\n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the GENERATE_MAN tag is set to YES (the default) Doxygen will\n";
t << "# generate man pages\n";
t << "\n";
}
t << "GENERATE_MAN = YES\n";
if (!sl)
{
t << "\n";
t << "# The MAN_OUTPUT tag is used to specify where the man pages will be put.\n";
t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be\n";
t << "# put in front of it. If left blank `man' will be used as the default path.\n";
t << "\n";
}
t << "MAN_OUTPUT =\n";
if (!sl)
{
t << "\n";
t << "# The MAN_EXTENSION tag determines the extension that is added to\n";
t << "# the generated man pages (default is the subroutine's section .3)\n";
t << "\n";
}
t << "MAN_EXTENSION = .3\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# Configuration options related to the preprocessor \n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will\n";
t << "# evaluate all C-preprocessor directives found in the sources and include\n";
t << "# files.\n";
t << "\n";
}
t << "ENABLE_PREPROCESSING = YES\n";
if (!sl)
{
t << "\n";
t << "# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro\n";
t << "# names in the source code. If set to NO (the default) only conditional \n";
t << "# compilation will be performed.\n";
t << "\n";
}
t << "MACRO_EXPANSION = NO\n";
if (!sl)
{
t << "\n";
t << "# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files\n";
t << "# in the INCLUDE_PATH (see below) will be search if a #include is found.\n";
t << "\n";
}
t << "SEARCH_INCLUDES = YES\n";
if (!sl)
{
t << "\n";
t << "# The INCLUDE_PATH tag can be used to specify one or more directories that\n";
t << "# contain include files that are not input files but should be processed by\n";
t << "# the preprocessor.\n" ;
t << "\n";
}
t << "INCLUDE_PATH =\n";
if (!sl)
{
t << "\n";
t << "# The PREDEFINED tag can be used to specify one or more macro names that\n";
t << "# are defined before the preprocessor is started (similar to the -D option of\n";
t << "# gcc). The argument of the tag is a list of macros of the form: name\n";
t << "# or name=definition (no spaces). If the definition and the = are \n";
t << "# omitted =1 is assumed.\n";
t << "\n";
}
t << "PREDEFINED =\n";
if (!sl)
{
t << "\n";
t << "# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES\n";
t << "# then the macro expansion is limited to the macros specified with the\n";
t << "# PREDEFINED tag.\n";
t << "\n";
}
t << "EXPAND_ONLY_PREDEF = NO\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# Configuration options related to external references \n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# The TAGFILES tag can be used to specify one or more tagfiles. \n";
t << "\n";
}
t << "TAGFILES =\n";
if (!sl)
{
t << "\n";
t << "# When a file name is specified after GENERATE_TAGFILE, doxygen will create\n";
t << "# a tag file that is based on the input files it reads.\n";
t << "\n";
}
t << "GENERATE_TAGFILE =\n";
if (!sl)
{
t << "\n";
t << "# If the ALLEXTERNALS tag is set to YES all external classes will be listed\n";
t << "# in the class index. If set to NO only the inherited external classes\n";
t << "# will be listed.\n";
t << "\n";
}
t << "ALLEXTERNALS = NO\n";
if (!sl)
{
t << "\n";
t << "# The PERL_PATH should be the absolute path and name of the perl script\n";
t << "# interpreter (i.e. the result of `which perl').\n";
t << "\n";
}
t << "PERL_PATH = /usr/bin/perl\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# Configuration options related to the dot tool \n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is\n";
t << "# available from the path. This tool is part of Graphviz, a graph visualization\n";
t << "# toolkit from AT&T and Lucent Bell Labs. The other options in this section\n";
t << "# have no effect if this option is set to NO (the default)\n";
t << "\n";
}
t << "HAVE_DOT = NO\n";
if (!sl)
{
t << "\n";
t << "# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen\n";
t << "# will generate a graph for each documented class showing the direct and\n";
t << "# indirect implementation dependencies (inheritance, containment, and\n";
t << "# class references variables) of the class with other documented classes.\n";
t << "\n";
}
t << "COLLABORATION_GRAPH = YES\n";
if (!sl)
{
t << "\n";
t << "# If the ENABLE_PREPROCESSING, INCLUDE_GRAPH, and HAVE_DOT tags are set to\n";
t << "# YES then doxygen will generate a graph for each documented file showing\n";
t << "# the direct and indirect include dependencies of the file with other \n";
t << "# documented files.\n";
t << "\n";
}
t << "INCLUDE_GRAPH = YES\n";
if (!sl)
{
t << "\n";
t << "# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen\n";
t << "# will graphical hierarchy of all classes instead of a textual one.\n";
t << "\n";
}
t << "GRAPHICAL_HIERARCHY = YES\n";
if (!sl)
{
t << "\n";
}
t << "#---------------------------------------------------------------------------\n";
t << "# Configuration options related to the search engine \n";
t << "#---------------------------------------------------------------------------\n";
if (!sl)
{
t << "\n";
t << "# The SEARCHENGINE tag specifies whether or not a search engine should be \n";
t << "# used. If set to NO the values of all tags below this one will be ignored.\n";
t << "\n";
}
t << "SEARCHENGINE = NO\n";
if (!sl)
{
t << "\n";
t << "# The CGI_NAME tag should be the name of the CGI script that\n";
t << "# starts the search engine (doxysearch) with the correct parameters.\n";
t << "# A script with this name will be generated by doxygen.\n";
t << "\n";
}
t << "CGI_NAME = search.cgi\n";
if (!sl)
{
t << "\n";
t << "# The CGI_URL tag should be the absolute URL to the directory where the\n";
t << "# cgi binaries are located. See the documentation of your http daemon for \n";
t << "# details.\n";
t << "\n";
}
t << "CGI_URL =\n";
if (!sl)
{
t << "\n";
t << "# The DOC_URL tag should be the absolute URL to the directory where the\n";
t << "# documentation is located. If left blank the absolute path to the \n";
t << "# documentation, with file:// prepended to it, will be used.\n";
t << "\n";
}
t << "DOC_URL =\n";
if (!sl)
{
t << "\n";
t << "# The DOC_ABSPATH tag should be the absolute path to the directory where the\n";
t << "# documentation is located. If left blank the directory on the local machine\n";
t << "# will be used.\n";
t << "\n";
}
t << "DOC_ABSPATH =\n";
if (!sl)
{
t << "\n";
t << "# The BIN_ABSPATH tag must point to the directory where the doxysearch binary\n";
t << "# is installed.\n";
t << "\n";
}
t << "BIN_ABSPATH = /usr/local/bin/\n";
if (!sl)
{
t << "\n";
t << "# The EXT_DOC_PATHS tag can be used to specify one or more paths to \n";
t << "# documentation generated for other projects. This allows doxysearch to search\n";
t << "# the documentation for these projects as well.\n";
t << "\n";
}
t << "EXT_DOC_PATHS =\n";
}
void checkConfig()
{
//if (!projectName.isEmpty())
//{
// projectName[0]=toupper(projectName[0]);
//}
if (tabSizeString.isEmpty())
{
Config::tabSize=8;
}
else
{
bool ok;
int ts = tabSizeString.toInt(&ok);
if (!ok || ts<1 || ts>16)
{
warn("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n");
ts=8;
}
Config::tabSize = ts;
}
if (colsInAlphaIndexString.isEmpty())
{
Config::colsInAlphaIndex=5;
}
else
{
bool ok;
int cols = colsInAlphaIndexString.toInt(&ok);
if (!ok || cols<1 || cols>20)
{
warn("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n"
"Using the default of 5 columns!\n");
cols = 5;
}
Config::colsInAlphaIndex=cols;
}
// set default man page extension if non is given by the user
if (Config::manExtension.isEmpty())
{
Config::manExtension=".3";
}
Config::paperType = Config::paperType.lower().stripWhiteSpace();
if (Config::paperType.isEmpty())
{
Config::paperType = "a4wide";
}
if (Config::paperType!="a4" && Config::paperType!="a4wide" && Config::paperType!="letter" &&
Config::paperType!="legal" && Config::paperType!="executive")
{
err("Error: Unknown page type specified");
}
Config::outputLanguage=Config::outputLanguage.stripWhiteSpace();
if (Config::outputLanguage.isEmpty())
{
Config::outputLanguage = "English";
#ifndef DOXYWIZARD
setTranslator("English");
#endif
}
else
{
#ifndef DOXYWIZARD
if (!setTranslator(Config::outputLanguage))
{
err("Error: Output language %s not supported! Using English instead.\n",
Config::outputLanguage.data());
}
#endif
}
// Test to see if output directory is valid
if (Config::outputDir.isEmpty())
Config::outputDir=QDir::currentDirPath();
else
{
QDir dir(Config::outputDir);
if (!dir.exists())
{
dir.setPath(QDir::currentDirPath());
if (!dir.mkdir(Config::outputDir))
{
err("Error: tag OUTPUT_DIRECTORY: Output directory `%s' does not "
"exist and cannot be created\n",Config::outputDir.data());
exit(1);
}
else if (!Config::quietFlag)
{
err("Notice: Output directory `%s' does not exist. "
"I have created it for you.\n", Config::outputDir.data());
}
dir.cd(Config::outputDir);
}
Config::outputDir=dir.absPath();
}
if (Config::htmlOutputDir.isEmpty() && Config::generateHtml)
{
Config::htmlOutputDir=Config::outputDir+"/html";
}
else if (Config::htmlOutputDir && Config::htmlOutputDir[0]!='/')
{
Config::htmlOutputDir.prepend(Config::outputDir+'/');
}
QDir htmlDir(Config::htmlOutputDir);
if (Config::generateHtml && !htmlDir.exists() &&
!htmlDir.mkdir(Config::htmlOutputDir))
{
err("Could not create output directory %s\n",Config::htmlOutputDir.data());
exit(1);
}
if (Config::latexOutputDir.isEmpty() && Config::generateLatex)
{
Config::latexOutputDir=Config::outputDir+"/latex";
}
else if (Config::latexOutputDir && Config::latexOutputDir[0]!='/')
{
Config::latexOutputDir.prepend(Config::outputDir+'/');
}
QDir latexDir(Config::latexOutputDir);
if (Config::generateLatex && !latexDir.exists() &&
!latexDir.mkdir(Config::latexOutputDir))
{
err("Could not create output directory %s\n",Config::latexOutputDir.data());
exit(1);
}
if (Config::rtfOutputDir.isEmpty() && Config::generateRTF)
{
Config::rtfOutputDir=Config::outputDir+"/rtf";
}
else if (Config::rtfOutputDir && Config::rtfOutputDir[0]!='/')
{
Config::rtfOutputDir.prepend(Config::outputDir+'/');
}
QDir rtfDir(Config::rtfOutputDir);
if (Config::generateRTF && !rtfDir.exists() &&
!rtfDir.mkdir(Config::rtfOutputDir))
{
err("Could not create output directory %s\n",Config::rtfOutputDir.data());
exit(1);
}
if (Config::manOutputDir.isEmpty() && Config::generateMan)
{
Config::manOutputDir=Config::outputDir+"/man";
}
else if (Config::manOutputDir && Config::manOutputDir[0]!='/')
{
Config::manOutputDir.prepend(Config::outputDir+'/');
}
QDir manDir(Config::manOutputDir);
if (Config::generateMan && !manDir.exists() &&
!manDir.mkdir(Config::manOutputDir))
{
err("Could not create output directory %s\n",Config::manOutputDir.data());
exit(1);
}
// Test to see if HTML header is valid
if (!Config::headerFile.isEmpty())
{
QFileInfo fi(Config::headerFile);
if (!fi.exists())
{
err("Error: tag HTML_HEADER: header file `%s' "
"does not exist\n",Config::headerFile.data());
exit(1);
}
}
// Test to see if HTML footer is valid
if (!Config::footerFile.isEmpty())
{
QFileInfo fi(Config::footerFile);
if (!fi.exists())
{
err("Error: tag HTML_FOOTER: footer file `%s' "
"does not exist\n",Config::footerFile.data());
exit(1);
}
}
// Test to see if LaTeX header is valid
if (!Config::latexHeaderFile.isEmpty())
{
QFileInfo fi(Config::latexHeaderFile);
if (!fi.exists())
{
err("Error: tag LATEX_HEADER: header file `%s' "
"does not exist\n",Config::latexHeaderFile.data());
exit(1);
}
}
// check include path
char *s=Config::includePath.first();
while (s)
{
QFileInfo fi(s);
if (!fi.exists()) err("Warning: tag INCLUDE_PATH: include path `%s' "
"does not exist\n",s);
#ifndef DOXYWIZARD
addSearchDir(fi.absFilePath());
#endif
s=Config::includePath.next();
}
// check input
if (Config::inputSources.count()==0)
{
err("Error: tag INPUT: no input files specified after the INPUT tag.\n");
exit(1);
}
else
{
s=Config::inputSources.first();
while (s)
{
QFileInfo fi(s);
if (!fi.exists())
{
err("Error: tag INPUT: input source `%s' does not exist\n",s);
exit(1);
}
s=Config::inputSources.next();
}
}
// add default pattern if needed
if (Config::filePatternList.count()==0)
{
Config::filePatternList.append("*");
}
// add default pattern if needed
if (Config::examplePatternList.count()==0)
{
Config::examplePatternList.append("*");
}
// add default pattern if needed
if (Config::imagePatternList.count()==0)
{
Config::imagePatternList.append("*");
}
// more checks needed if and only if the search engine is enabled.
if (Config::searchEngineFlag)
{
// check cgi name
if (Config::cgiName.isEmpty())
{
err("Error: tag CGI_NAME: no cgi script name after the CGI_NAME tag.\n");
exit(1);
}
// check cgi URL
if (Config::cgiURL.isEmpty())
{
err("Error: tag CGI_URL: no URL to cgi directory specified.\n");
exit(1);
}
else if (Config::cgiURL.left(7)!="http://")
{
err("Error: tag CGI_URL: URL to cgi directory is invalid (must "
"start with http://).\n");
exit(1);
}
// check documentation URL
if (Config::docURL.isEmpty())
{
Config::docURL = Config::outputDir.copy().prepend("file://").append("html");
}
else if (Config::docURL.left(7)!="http://" && Config::docURL.left(7)!="file://")
{
err("Error: tag DOC_URL: URL to documentation is invalid or "
"not absolute.\n");
exit(1);
}
// check absolute documentation path
if (Config::docAbsPath.isEmpty())
{
Config::docAbsPath = Config::outputDir+"/html";
}
else if (Config::docAbsPath[0]!='/' && Config::docAbsPath[1]!=':')
{
err("Error: tag DOC_ABSPATH: path is not absolute!\n");
exit(1);
}
// check path to doxysearch
if (Config::binAbsPath.isEmpty())
{
err("Error: tag BIN_ABSPATH: no absolute path to doxysearch "
"specified.\n");
exit(1);
}
else if (Config::binAbsPath[0]!='/' && Config::binAbsPath[1]!=':')
{
err("Error: tag BIN_ABSPATH: path is not absolute!\n");
exit(1);
}
// check perl path
bool found=FALSE;
if (Config::perlPath.isEmpty())
{
QFileInfo fi;
fi.setFile("/usr/bin/perl");
if (fi.exists())
{
Config::perlPath="/usr/bin/perl";
found=TRUE;
}
else
{
fi.setFile("/usr/local/bin/perl");
if (fi.exists())
{
Config::perlPath="/usr/local/bin/perl";
found=TRUE;
}
}
}
if (!found)
{
QFileInfo fi(Config::perlPath);
if (!fi.exists())
{
warn("Warning: tag PERL_PATH: perl interpreter not found at default or"
"user specified (%s) location\n",
Config::perlPath.data());
}
}
}
}
void parseConfig(const QCString &s)
{
inputString = s;
inputPosition = 0;
yyLineNr = 1;
configYYrestart( configYYin );
BEGIN( Start );
configYYlex();
}
//extern "C" { // some bogus code to keep the compiler happy
// int configYYwrap() { return 1 ; }
//}
|