summaryrefslogblamecommitdiffstats
path: root/private/sdktools/flex/scan.c
blob: 7cc761a8d11cff30af46a9b39460b2a06897541a (plain) (tree)
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























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                   
/* A lexical scanner generated by flex */

/* scanner skeleton version:
 * $Header: /usr/fsys/odin/a/vern/flex/RCS/flex.skel,v 2.16 90/08/03 14:09:36 vern Exp $
 */

#define FLEX_SCANNER

#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 <osfcn.h>

/* use prototypes in function declarations */
#define YY_USE_PROTOS

/* the "const" storage-class-modifier is valid */
#define YY_USE_CONST

#else   /* ! __cplusplus */

#ifdef __STDC__

#ifdef __GNUC__
#include <stddef.h>
void *malloc( size_t );
void free( void* );
#else
#include <stdlib.h>
#endif  /* __GNUC__ */

#define YY_USE_PROTOS
#define YY_USE_CONST

#endif  /* __STDC__ */
#endif  /* ! __cplusplus */


#ifdef __TURBOC__
#define YY_USE_CONST
#endif


#ifndef YY_USE_CONST
#define const
#endif


#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
/* we can't get here if it's an ANSI C compiler, or a C++ compiler,
 * so it's got to be a K&R compiler, and therefore there's no standard
 * place from which to include these definitions
 */
/*
char *malloc();
int free();
int read();
*/
#endif


/* amount of stuff to slurp up with each read */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif

/* returned upon end-of-file */
#define YY_END_TOK 0

/* copy whatever the last rule matched to the standard output */

/* cast to (char *) is because for 8-bit chars, yytext is (unsigned char *) */
/* this used to be an fputs(), but since the string might contain NUL's,
 * we now use fwrite()
 */
#define ECHO (void) fwrite( (char *) yytext, yyleng, 1, yyout )

/* gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
 * is returned in "result".
 */
#define YY_INPUT(buf,result,max_size) \
        if ( (result = _read( _fileno(yyin), (char *) buf, max_size )) < 0 ) \
            YY_FATAL_ERROR( "read() in flex scanner failed" );
#define YY_NULL 0

/* 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.
 */
#define yyterminate() return ( YY_NULL )

/* report a fatal error */

/* The funky do-while is used to turn this macro definition into
 * a single C statement (which needs a semi-colon terminator).
 * This avoids problems with code like:
 *
 *      if ( something_happens )
 *              YY_FATAL_ERROR( "oops, the something happened" );
 *      else
 *              everything_okay();
 *
 * 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 YY_FATAL_ERROR() call.
 */

#define YY_FATAL_ERROR(msg) \
        do \
                { \
                (void) fputs( msg, stderr ); \
                (void) putc( '\n', stderr ); \
                exit( 1 ); \
                } \
        while ( 0 )

/* default yywrap function - always treat EOF as an EOF */
#define yywrap() 1

/* 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 *

/* 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 \
        do \
                { \
                yy_init_buffer( yy_current_buffer, yyin ); \
                yy_load_buffer_state(); \
                } \
        while ( 0 )

/* default declaration of generated scanner - a define so the user can
 * easily add parameters
 */
#define YY_DECL int yylex YY_PROTO(( void ))

/* code executed at the end of each rule */
#define YY_BREAK break;

#define YY_END_OF_BUFFER_CHAR 0

#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2) /* size of default input buffer */
#endif

typedef struct yy_buffer_state *YY_BUFFER_STATE;

#define YY_CHAR unsigned char
# line 1 "scan.l"
#define INITIAL 0
/* scan.l - scanner for flex input */
# line 5 "scan.l"
/*-
 * Copyright (c) 1990 The Regents of the University of California.
 * All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Vern Paxson.
 *
 * The United States Government has rights in this work pursuant
 * to contract no. DE-AC03-76SF00098 between the United States
 * Department of Energy and the University of California.
 *
 * Redistribution and use in source and binary forms are permitted provided
 * that: (1) source distributions retain this entire copyright notice and
 * comment, and (2) distributions including binaries display the following
 * acknowledgement:  ``This product includes software developed by the
 * University of California, Berkeley and its contributors'' in the
 * documentation or other materials provided with the distribution and in
 * all advertising materials mentioning features or use of this software.
 * Neither the name of the University nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#ifndef lint
static char rcsid[] =
    "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/scan.l,v 2.9 90/06/27 23:48:34 vern Exp $ (LBL)";
#endif

#undef yywrap

#include "flexdef.h"
#include "parse.h"

#define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
#define MARK_END_OF_PROLOG fprintf( temp_action_file, "%%%% end of prolog\n" );

#undef YY_DECL
#define YY_DECL \
        int flexscan()

#define RETURNCHAR \
        yylval = yytext[0]; \
        return ( CHAR );

#define RETURNNAME \
        (void) strcpy( nmstr, (char *) yytext ); \
        return ( NAME );

#define PUT_BACK_STRING(str, start) \
        for ( i = strlen( (char *) (str) ) - 1; i >= start; --i ) \
            unput((str)[i])

#define CHECK_REJECT(str) \
        if ( all_upper( str ) ) \
            reject = true;

#define CHECK_YYMORE(str) \
        if ( all_lower( str ) ) \
            yymore_used = true;
#define SECT2 1
#define SECT2PROLOG 2
#define SECT3 3
#define CODEBLOCK 4
#define PICKUPDEF 5
#define SC 6
#define CARETISBOL 7
#define NUM 8
#define QUOTE 9
#define FIRSTCCL 10
#define CCL 11
#define ACTION 12
#define RECOVER 13
#define BRACEERROR 14
#define C_COMMENT 15
#define ACTION_COMMENT 16
#define ACTION_STRING 17
#define PERCENT_BRACE_ACTION 18
#define USED_LIST 19
#define CODEBLOCK_2 20
#define XLATION 21
# line 84 "scan.l"

/* done after the current pattern has been matched and before the
 * corresponding action - sets up yytext
 */
#define YY_DO_BEFORE_ACTION \
        yytext = yy_bp; \
        yyleng = yy_cp - yy_bp; \
        yy_hold_char = *yy_cp; \
        *yy_cp = '\0'; \
        yy_c_buf_p = yy_cp;

#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2

/* 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_c_buf_p = yy_cp = yy_bp + n; \
                YY_DO_BEFORE_ACTION; /* set up yytext again */ \
                } \
        while ( 0 )

#define unput(c) yyunput( c, yytext )


struct yy_buffer_state
    {
    FILE *yy_input_file;

    YY_CHAR *yy_ch_buf;         /* input buffer */
    YY_CHAR *yy_buf_pos;        /* current position in input buffer */

    /* size of input buffer in bytes, not including room for EOB characters*/
    int yy_buf_size;

    /* number of characters read into yy_ch_buf, not including EOB characters */
    int yy_n_chars;

    int yy_eof_status;          /* whether we've seen an EOF on this buffer */
#define EOF_NOT_SEEN 0
    /* "pending" happens when the EOF has been seen but there's still
     * some text process
     */
#define EOF_PENDING 1
#define EOF_DONE 2
    };

static YY_BUFFER_STATE yy_current_buffer;

/* 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 YY_CHAR yy_hold_char;

static int yy_n_chars;          /* number of characters read into yy_ch_buf */



#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif

#ifndef YY_USER_INIT
#define YY_USER_INIT
#endif

extern YY_CHAR *yytext;
extern int yyleng;
extern FILE *yyin, *yyout;

YY_CHAR *yytext;
int yyleng;

FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;

#define YY_END_OF_BUFFER 121
typedef int yy_state_type;
static const short int yy_accept[341] =
    {   0,
        0,    0,    0,    0,    0,    0,  119,  119,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,  121,   19,    7,   18,   19,   16,
        1,   17,   19,   19,   19,   15,   67,   59,   60,   53,
       67,   66,   51,   67,   67,   67,   50,   49,   67,   52,
      120,   47,  119,  119,   28,   29,   28,   28,   28,   28,
       31,   30,   32,   73,  120,   69,   70,   72,   74,   88,
       89,   86,   85,   87,   75,   77,   76,   75,   81,   80,

       81,   81,   83,   83,   83,   84,   99,  104,  103,  105,
      105,  100,  100,  100,   97,   98,  120,   33,   91,   90,
       22,   24,   23,  107,  109,  108,  111,  113,  114,  115,
       95,   95,   96,   95,   95,   95,   95,   38,   35,   34,
       38,   38,   44,   42,   45,   44,   44,   41,   41,   41,
       40,   41,    7,   18,    0,   16,    1,   17,    0,    2,
       14,    8,    0,   12,    4,    0,    0,    5,    0,    3,
       15,   59,   60,    0,    0,   56,    0,    0,    0,  117,
      117,  117,   55,   54,   55,   50,   49,   63,   50,    0,
       47,   46,  119,  119,   28,   28,   28,   28,   28,   31,

       30,   71,   72,   85,  118,  118,  118,   78,   79,   82,
       99,    0,  102,    0,  101,  100,  100,  100,    0,   33,
       22,   20,  107,  106,  111,  112,   95,   95,   95,   92,
       95,   95,   95,   38,   35,   38,   38,   42,    0,   43,
       43,   43,   42,   40,    0,   13,   14,    8,    8,    0,
       12,    4,    0,    0,    0,    5,    0,    6,   57,    0,
       58,    0,   64,    0,    0,  117,  117,   55,   55,   65,
       63,   28,   28,   28,   25,    0,  118,  118,  100,  100,
        0,   21,   92,   92,   95,   95,   38,   38,    0,   39,
       43,   43,    0,   11,    4,    0,   11,    0,    0,    5,

        0,    0,    0,  117,   28,   28,  118,  100,  100,   95,
       95,   38,   38,   43,    0,    9,    0,    0,    0,   28,
       28,  100,  100,   95,   95,   38,   38,    0,    0,   26,
       27,   93,   94,   93,   94,   36,   37,   10,   62,    0
    } ;

static const YY_CHAR yy_ec[256] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
        1,    4,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    5,    1,    6,    7,    8,    9,    1,   10,   11,
       11,   12,   11,   13,   14,   11,   15,   16,   16,   16,
       16,   16,   16,   16,   16,   16,   16,    1,    1,   17,
        1,   18,   11,    1,   24,   25,   26,   27,   28,   29,
       23,   23,   23,   30,   31,   23,   32,   33,   34,   31,
       23,   35,   36,   37,   38,   23,   23,   39,   40,   23,
       19,   20,   21,   22,   23,    1,   24,   25,   26,   27,

       28,   29,   23,   23,   23,   30,   31,   23,   32,   33,
       34,   31,   23,   35,   36,   37,   38,   23,   23,   39,
       40,   23,   41,   42,   43,    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 const YY_CHAR yy_meta[44] =
    {   0,
        1,    2,    3,    2,    2,    4,    1,    1,    1,    5,
        1,    6,    1,    7,    5,    8,    1,    1,    1,    9,
       10,    1,   11,   12,   12,   12,   12,   12,   12,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
        5,    1,   13
    } ;

static const short int yy_base[404] =
    {   0,
        0,   43,   85,  126, 1371, 1370, 1369, 1353,  168, 1346,
      104,  108,  211,    0, 1332, 1320,  120,  252,   95,  119,
      137,  144,  100,  141,  295,    0, 1327, 1323,  113,  336,
      254,  255,  257,  258,  253,  268,  379,    0,  338,  421,
        0,    0,  273,  460, 1325, 1442,  281, 1442, 1287,    0,
      287, 1442, 1279,  472, 1257,    0, 1442,  425, 1442, 1442,
      147, 1442, 1239, 1235,   78,  513,  433, 1442,   83, 1442,
     1248,    0, 1247, 1442,    0, 1442,    0, 1218, 1205, 1194,
        0,  342, 1442, 1442, 1442, 1442, 1202,    0, 1442, 1442,
     1442, 1442, 1201, 1442, 1442, 1442, 1442,   79, 1442, 1442,

      103, 1198, 1442,    0,  248, 1442,    0, 1442, 1442,  252,
     1199,    0, 1173, 1158, 1442, 1442, 1185, 1442, 1442, 1442,
        0, 1442, 1170,    0, 1442, 1152,    0, 1442, 1442,    0,
        0,  346, 1442, 1123,    0, 1125, 1105,    0,  352, 1442,
     1116, 1103, 1442,  356, 1442, 1100,  329, 1442,  360, 1093,
     1101,  333,  441, 1442,  445,    0,  449, 1442, 1101, 1442,
      365,  453, 1094,  466,    0,  480,  330,    0, 1095, 1442,
        0,  555, 1442, 1044, 1077, 1442, 1051,  133,  456, 1442,
     1059,    0,    0, 1442,  584,  563, 1442,    0, 1442, 1071,
        0, 1442, 1063, 1442,    0,    0, 1010, 1007,  627,    0,

      484, 1442,    0,  998, 1442,  992,    0, 1442, 1442, 1442,
        0,  421, 1442,    0, 1442,    0,  971,  964,  992, 1442,
        0,  962,    0, 1442,    0, 1442,    0,  488,  921,  670,
        0,  717,  714,    0,  497,  715,  712,  569,  573, 1442,
      727,    0,  577,  726,  581, 1442,  585,    0,  590,  738,
      597,    0,  712,  683,  691,    0,  670, 1442, 1442,  623,
     1442,  591, 1442,  458,  702,  590,    0,    0,    0, 1442,
        0,  576,  569,    0, 1442,  593,  575,    0,  560,  546,
      567, 1442,    0,    0,  541,  529,  534,  527,  730, 1442,
      500,    0,  509, 1442,    0,  734, 1442,  468,  467,    0,

      462,  704,  724, 1442,  461,  438, 1442,  440,  425,  433,
      405,  413,  398, 1442,  404, 1442,  359,  259,  332,  338,
      346,  334,  331,  257,  253,  226,  137,  133,   81,    0,
        0,    0,    0,    0,    0,    0,    0, 1442, 1442, 1442,
      753,  766,  779,  792,  805,  818,  831,  844,  857,  870,
      883,  896,  909,  922,  935,  948,  955,  967,  980,  986,
      998, 1011, 1024, 1037, 1050, 1063, 1070, 1082, 1089, 1101,
     1114, 1127, 1140, 1150, 1157, 1169, 1182, 1195, 1208, 1221,
     1234, 1241, 1253, 1266, 1279, 1282, 1284, 1296, 1309, 1315,
     1327, 1339, 1345, 1357, 1363, 1375, 1382, 1388, 1393, 1405,

     1411, 1423, 1429
    } ;

static const short int yy_def[404] =
    {   0,
      340,  340,  341,  341,  342,  342,  343,  343,  340,    9,
      344,  344,  340,   13,  345,  345,  346,  346,  347,  347,
      348,  348,  349,  349,  340,   25,  350,  350,  345,  345,
      351,  351,  352,  352,  353,  353,  340,   37,  354,  354,
       37,   37,  355,  356,  340,  340,  340,  340,  340,  357,
      340,  340,  358,  359,  340,  360,  340,  340,  340,  340,
      340,  340,  340,  361,  362,  340,  340,  340,  340,  340,
      363,  364,  365,  340,  366,  340,  367,  367,  367,  366,
      368,  340,  340,  340,  340,  340,  340,  369,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  362,  340,  340,

      370,  371,  340,  372,  362,  340,  373,  340,  340,  374,
      340,  375,  375,  375,  340,  340,  376,  340,  340,  340,
      377,  340,  340,  378,  340,  340,  379,  340,  340,  380,
      381,  381,  340,  381,  382,  382,  382,  383,  340,  340,
      383,  383,  340,  340,  340,  340,  384,  340,  340,  340,
      340,  384,  340,  340,  340,  357,  340,  340,  358,  340,
      340,  385,  340,  340,  386,  340,  340,  387,  388,  340,
      360,  340,  340,  340,  389,  340,  340,  361,  361,  340,
      340,  390,  391,  340,  391,  340,  340,  392,  340,  363,
      364,  340,  365,  340,  366,  367,  367,  367,  340,  368,

      340,  340,  369,  340,  340,  340,  393,  340,  340,  340,
      373,  374,  340,  374,  340,  375,  375,  375,  376,  340,
      377,  394,  378,  340,  379,  340,  381,  381,  381,  340,
      382,  382,  382,  383,  340,  383,  383,  340,  340,  340,
      340,  395,  340,  340,  340,  340,  340,  385,  385,  396,
      340,  397,  396,  340,  340,  398,  388,  340,  340,  389,
      340,  340,  340,  361,  361,  340,  399,  391,  185,  340,
      392,  367,  367,  199,  340,  400,  340,  401,  375,  375,
      394,  340,  230,  402,  382,  382,  383,  383,  340,  340,
      340,  403,  396,  340,  397,  396,  340,  340,  340,  398,

      340,  361,  265,  340,  367,  367,  340,  375,  375,  382,
      382,  383,  383,  340,  340,  340,  340,  361,  361,  367,
      367,  375,  375,  382,  382,  383,  383,  340,  340,  367,
      367,  375,  375,  382,  382,  383,  383,  340,  340,    0,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,

      340,  340,  340
    } ;

static const short int yy_nxt[1486] =
    {   0,
       46,   47,   48,   47,   47,   46,   46,   46,   49,   46,
       46,   46,   46,   46,   46,   46,   46,   46,   46,   46,
       46,   46,   50,   50,   50,   50,   50,   50,   50,   50,
       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
       46,   46,   46,   46,   51,   52,   51,   51,   46,   53,
       46,   54,   46,   46,   46,   46,   46,   55,   46,   46,
       46,   46,   46,   46,   46,   56,   56,   56,   56,   56,
       56,   56,   56,   56,   56,   56,   56,   56,   56,   56,
       56,   56,   56,   46,   46,   46,   58,   59,   58,   58,
       60,  188,   61,  181,  181,   62,   62,   96,  339,   62,

       97,   63,   85,   64,   65,   82,   83,   82,   82,   82,
       83,   82,   82,  104,   98,  119,  182,  182,  206,  105,
      106,   96,   91,  189,   97,   66,   62,   67,   68,   67,
       67,   60,   92,   61,   69,   93,   62,   62,   98,   85,
       62,  207,   63,   85,   64,   65,   85,   70,  176,  176,
      100,  176,  179,  263,  104,  120,  101,  100,  102,  338,
      105,  106,   94,  101,  337,  102,   66,   62,   75,   75,
       76,   75,   75,   75,   75,   75,   75,   75,   75,   75,
       75,   75,   75,   75,   75,   75,   75,   75,   75,   75,
       77,   77,   77,   77,   77,   77,   77,   77,   77,   77,

       77,   77,   78,   77,   77,   77,   77,   79,   75,   75,
       75,   84,   84,   85,   84,   84,   84,   84,   84,   84,
       84,   84,   84,   86,   84,   84,   84,   84,   87,   84,
       84,   84,   84,   88,   88,   88,   88,   88,   88,   88,
       88,   88,   88,   88,   88,   88,   88,   88,   88,   88,
       88,   84,   84,   84,   91,  128,  122,  122,  129,  125,
      125,  213,  336,  181,   92,  123,  123,   93,  126,  126,
      128,  214,  130,  129,  144,  145,  144,  144,  179,  263,
      335,  146,  153,  154,  153,  153,  182,  130,  157,  158,
      157,  157,  147,  334,   94,  107,  107,  108,  107,  107,

      109,  107,  107,  107,  110,  107,  107,  107,  107,  111,
      107,  107,  107,  107,  107,  107,  107,  112,  112,  112,
      112,  112,  112,  112,  112,  112,  112,  112,  112,  113,
      112,  112,  112,  112,  114,  115,  107,  116,  119,  139,
      140,  139,  139,  201,  241,  201,  201,  228,  241,  228,
      228,  179,  263,  235,  229,  235,  235,  238,  333,  238,
      238,  243,  254,  243,  243,  255,  247,  242,  247,  247,
      332,  242,  141,  331,  330,  244,  329,  142,  120,  131,
      132,  133,  132,  132,  131,  131,  131,  134,  131,  131,
      131,  131,  131,  131,  131,  131,  131,  131,  131,  131,

      131,  135,  135,  135,  135,  135,  135,  135,  135,  135,
      135,  135,  135,  136,  135,  135,  135,  135,  137,  131,
      131,  131,  139,  140,  139,  139,  172,  173,  172,  172,
      213,  328,  327,  174,  186,  187,  186,  186,  326,  325,
      214,  174,  153,  154,  153,  153,  245,  246,  245,  245,
      157,  158,  157,  157,  249,  141,  249,  249,  324,  323,
      142,  149,  145,  149,  149,  322,  175,  251,  150,  251,
      251,  264,  321,  302,  175,  151,  178,  179,  263,  152,
      162,  245,  246,  245,  253,  201,  320,  201,  201,  228,
      317,  228,  228,  316,  265,  163,  229,  164,  235,  163,

      235,  235,  163,  315,  163,  163,  164,  165,  166,  167,
      168,  294,  169,  183,  183,  240,  183,  183,  183,  183,
      183,  183,  183,  183,  183,  183,  183,  183,  184,  183,
      183,  183,  183,  183,  183,  185,  185,  185,  185,  185,
      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
      185,  185,  185,  183,  183,  183,  172,  173,  172,  172,
      313,  312,  311,  174,  186,  187,  186,  186,  310,  282,
      238,  174,  238,  238,  289,  290,  289,  289,  243,  309,
      243,  243,  245,  246,  245,  245,  247,  308,  247,  247,
      205,  249,  244,  249,  249,  275,  175,  269,  251,  269,

      251,  251,  306,  305,  175,  180,  269,  269,  269,  269,
      269,  269,  269,  269,  269,  269,  269,  269,  269,  269,
      269,  269,  269,  269,  301,  261,  270,  274,  274,  275,
      274,  274,  274,  274,  274,  274,  274,  274,  274,  274,
      274,  274,  274,  274,  274,  274,  274,  274,  274,  276,
      276,  276,  276,  276,  276,  276,  276,  276,  276,  276,
      276,  276,  276,  276,  276,  276,  276,  274,  274,  274,
      283,  283,  258,  283,  283,  283,  283,  283,  283,  283,
      283,  283,  283,  283,  283,  283,  283,  283,  283,  283,
      283,  283,  284,  284,  284,  284,  284,  284,  284,  284,

      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,
      283,  283,  283,  296,  297,  296,  296,  303,  299,  318,
      298,  179,  263,  179,  263,  303,  303,  303,  303,  303,
      303,  289,  290,  289,  289,  296,  297,  296,  296,  319,
      294,  244,  291,  288,  287,  286,  285,  319,  319,  319,
      319,  319,  319,   57,   57,   57,   57,   57,   57,   57,
       57,   57,   57,   57,   57,   57,   71,   71,   71,   71,
       71,   71,   71,   71,   71,   71,   71,   71,   71,   73,
       73,   73,   73,   73,   73,   73,   73,   73,   73,   73,
       73,   73,   81,   81,   81,   81,   81,   81,   81,   81,

       81,   81,   81,   81,   81,   85,   85,   85,   85,   85,
       85,   85,   85,   85,   85,   85,   85,   85,   90,   90,
       90,   90,   90,   90,   90,   90,   90,   90,   90,   90,
       90,   95,   95,   95,   95,   95,   95,   95,   95,   95,
       95,   95,   95,   95,   99,   99,   99,   99,   99,   99,
       99,   99,   99,   99,   99,   99,   99,  103,  103,  103,
      103,  103,  103,  103,  103,  103,  103,  103,  103,  103,
      117,  117,  117,  117,  117,  117,  117,  117,  117,  117,
      117,  117,  117,  121,  121,  121,  121,  121,  121,  121,
      121,  121,  121,  121,  121,  121,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  127,
      127,  127,  127,  127,  127,  127,  127,  127,  127,  127,
      127,  127,  138,  138,  138,  138,  138,  138,  138,  138,
      138,  138,  138,  138,  138,  143,  143,  143,  143,  143,
      143,  143,  143,  143,  143,  143,  143,  143,  148,  148,
      148,  148,  148,  148,  148,  148,  148,  148,  148,  148,
      148,  156,  156,  230,  282,  156,  156,  159,  159,  159,
      159,  159,  159,  159,  159,  159,  159,  159,  159,  159,
      161,  161,  161,  161,  161,  161,  161,  161,  161,  161,
      161,  161,  171,  171,  220,  280,  171,  171,  178,  178,

      279,  178,  178,  178,  178,  178,  178,  277,  178,  178,
      178,  180,  180,  204,  180,  180,  180,  180,  180,  180,
      180,  180,  180,  180,  190,  190,  190,  190,  190,  190,
      190,  190,  190,  190,  190,  190,  190,  192,  273,  272,
      192,  192,  192,  192,  192,  192,  192,  192,  192,  192,
      193,  193,  193,  193,  193,  193,  193,  193,  193,  193,
      193,  193,  193,  195,  195,  194,  195,  195,  195,  195,
      195,  195,  195,  191,  266,  195,  196,  196,  262,  261,
      196,  196,  200,  200,  259,  200,  200,  200,  200,  200,
      200,  200,  200,  200,  200,  203,  203,  258,  250,  203,

      203,  205,  205,  160,  205,  205,  205,  205,  205,  205,
      205,  205,  205,  205,  208,  208,  244,  208,  208,  208,
      208,  208,  208,  208,  208,  208,  208,  210,  210,  239,
      210,  210,  210,  210,  210,  210,  239,  210,  210,  210,
      211,  211,  237,  236,  233,  211,  211,  211,  211,  211,
      212,  212,  232,  212,  212,  212,  212,  212,  212,  212,
      212,  212,  212,  216,  216,  230,  224,  216,  216,  219,
      219,  219,  219,  219,  219,  219,  219,  219,  219,  219,
      219,  219,  221,  221,  222,  221,  221,  220,  221,  221,
      221,  221,  221,  221,  221,  223,  223,  218,  223,  223,

      217,  223,  223,  223,  223,  223,  223,  223,  225,  225,
      215,  209,  225,  225,  225,  225,  204,  225,  225,  225,
      225,  226,  226,  202,  226,  226,  226,  226,  226,  226,
      226,  226,  226,  226,  227,  227,  199,  227,  227,  227,
      227,  227,  227,  227,  198,  197,  227,  231,  231,  194,
      191,  231,  231,  234,  179,  177,  234,  234,  234,  234,
      234,  234,  234,  234,  234,  234,  240,  240,  170,  240,
      240,  240,  240,  240,  240,  240,  240,  240,  240,  248,
      248,  160,  248,  248,  248,  248,  248,  248,  248,  248,
      248,  248,  252,  252,  256,  256,  257,  257,  257,  257,

      257,  257,  257,  257,  257,  257,  257,  257,  257,  260,
      260,  260,  260,  260,  260,  260,  260,  260,  260,  260,
      260,  260,  267,  155,  340,  118,  267,  268,  268,  118,
      268,  268,  268,  268,  268,  268,  268,  268,  268,  271,
      271,   89,  271,  271,  271,  271,  271,  271,  271,  271,
      271,  271,  278,   89,   80,   74,  278,  281,  281,  281,
      281,  281,  281,  281,  281,  281,  281,  281,  281,  281,
      292,   74,   72,   72,  292,  293,  293,  293,  293,  293,
      293,  293,  293,  293,  293,  293,  293,  293,  295,  295,
      340,  340,  295,  295,  300,  300,  340,  340,  300,  300,

      304,  340,  340,  340,  304,  276,  276,  276,  276,  276,
      276,  276,  276,  276,  276,  276,  276,  276,  307,  340,
      340,  340,  307,  284,  284,  340,  284,  284,  284,  284,
      284,  284,  284,  284,  284,  284,  314,  340,  340,  340,
      314,   45,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340
    } ;

static const short int yy_chk[1486] =
    {   0,
        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,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    3,    3,    3,    3,
        3,   69,    3,   65,   98,    3,    3,   19,  329,    3,

       19,    3,   23,    3,    3,   11,   11,   11,   11,   12,
       12,   12,   12,   23,   19,   29,   65,   98,  101,   23,
       23,   20,   17,   69,   20,    3,    3,    4,    4,    4,
        4,    4,   17,    4,    4,   17,    4,    4,   20,   21,
        4,  101,    4,   24,    4,    4,   22,    4,   61,   61,
       21,   61,  178,  178,   24,   29,   21,   22,   21,  328,
       24,   24,   17,   22,  327,   22,    4,    4,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,

        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
        9,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
       13,   13,   13,   13,   18,   35,   31,   32,   35,   33,
       34,  110,  326,  105,   18,   31,   32,   18,   33,   34,
       36,  110,   35,   36,   43,   43,   43,   43,  318,  318,
      325,   43,   47,   47,   47,   47,  105,   36,   51,   51,
       51,   51,   43,  324,   18,   25,   25,   25,   25,   25,

       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
       25,   25,   25,   25,   25,   25,   25,   25,   30,   39,
       39,   39,   39,   82,  147,   82,   82,  132,  152,  132,
      132,  319,  319,  139,  132,  139,  139,  144,  323,  144,
      144,  149,  167,  149,  149,  167,  161,  147,  161,  161,
      322,  152,   39,  321,  320,  149,  317,   39,   30,   37,
       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,

       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
       37,   37,   40,   40,   40,   40,   58,   58,   58,   58,
      212,  315,  313,   58,   67,   67,   67,   67,  312,  311,
      212,   67,  153,  153,  153,  153,  155,  155,  155,  155,
      157,  157,  157,  157,  162,   40,  162,  162,  310,  309,
       40,   44,   44,   44,   44,  308,   58,  164,   44,  164,
      164,  179,  306,  264,   67,   44,  179,  264,  264,   44,
       54,  166,  166,  166,  166,  201,  305,  201,  201,  228,
      301,  228,  228,  299,  179,   54,  228,   54,  235,   54,

      235,  235,   54,  298,   54,   54,   54,   54,   54,   54,
       54,  293,   54,   66,   66,  291,   66,   66,   66,   66,
       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
       66,   66,   66,   66,   66,   66,  172,  172,  172,  172,
      288,  287,  286,  172,  186,  186,  186,  186,  285,  281,
      238,  186,  238,  238,  239,  239,  239,  239,  243,  280,
      243,  243,  245,  245,  245,  245,  247,  279,  247,  247,
      277,  249,  243,  249,  249,  276,  172,  185,  251,  185,

      251,  251,  273,  272,  186,  266,  185,  185,  185,  185,
      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
      185,  185,  185,  185,  262,  260,  185,  199,  199,  199,
      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
      230,  230,  257,  230,  230,  230,  230,  230,  230,  230,
      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,
      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,

      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,
      230,  230,  230,  253,  253,  253,  253,  265,  255,  302,
      254,  265,  265,  302,  302,  265,  265,  265,  265,  265,
      265,  289,  289,  289,  289,  296,  296,  296,  296,  303,
      250,  244,  241,  237,  236,  233,  232,  303,  303,  303,
      303,  303,  303,  341,  341,  341,  341,  341,  341,  341,
      341,  341,  341,  341,  341,  341,  342,  342,  342,  342,
      342,  342,  342,  342,  342,  342,  342,  342,  342,  343,
      343,  343,  343,  343,  343,  343,  343,  343,  343,  343,
      343,  343,  344,  344,  344,  344,  344,  344,  344,  344,

      344,  344,  344,  344,  344,  345,  345,  345,  345,  345,
      345,  345,  345,  345,  345,  345,  345,  345,  346,  346,
      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
      346,  347,  347,  347,  347,  347,  347,  347,  347,  347,
      347,  347,  347,  347,  348,  348,  348,  348,  348,  348,
      348,  348,  348,  348,  348,  348,  348,  349,  349,  349,
      349,  349,  349,  349,  349,  349,  349,  349,  349,  349,
      350,  350,  350,  350,  350,  350,  350,  350,  350,  350,
      350,  350,  350,  351,  351,  351,  351,  351,  351,  351,
      351,  351,  351,  351,  351,  351,  352,  352,  352,  352,

      352,  352,  352,  352,  352,  352,  352,  352,  352,  353,
      353,  353,  353,  353,  353,  353,  353,  353,  353,  353,
      353,  353,  354,  354,  354,  354,  354,  354,  354,  354,
      354,  354,  354,  354,  354,  355,  355,  355,  355,  355,
      355,  355,  355,  355,  355,  355,  355,  355,  356,  356,
      356,  356,  356,  356,  356,  356,  356,  356,  356,  356,
      356,  357,  357,  229,  222,  357,  357,  358,  358,  358,
      358,  358,  358,  358,  358,  358,  358,  358,  358,  358,
      359,  359,  359,  359,  359,  359,  359,  359,  359,  359,
      359,  359,  360,  360,  219,  218,  360,  360,  361,  361,

      217,  361,  361,  361,  361,  361,  361,  206,  361,  361,
      361,  362,  362,  204,  362,  362,  362,  362,  362,  362,
      362,  362,  362,  362,  363,  363,  363,  363,  363,  363,
      363,  363,  363,  363,  363,  363,  363,  364,  198,  197,
      364,  364,  364,  364,  364,  364,  364,  364,  364,  364,
      365,  365,  365,  365,  365,  365,  365,  365,  365,  365,
      365,  365,  365,  366,  366,  193,  366,  366,  366,  366,
      366,  366,  366,  190,  181,  366,  367,  367,  177,  175,
      367,  367,  368,  368,  174,  368,  368,  368,  368,  368,
      368,  368,  368,  368,  368,  369,  369,  169,  163,  369,

      369,  370,  370,  159,  370,  370,  370,  370,  370,  370,
      370,  370,  370,  370,  371,  371,  151,  371,  371,  371,
      371,  371,  371,  371,  371,  371,  371,  372,  372,  150,
      372,  372,  372,  372,  372,  372,  146,  372,  372,  372,
      373,  373,  142,  141,  137,  373,  373,  373,  373,  373,
      374,  374,  136,  374,  374,  374,  374,  374,  374,  374,
      374,  374,  374,  375,  375,  134,  126,  375,  375,  376,
      376,  376,  376,  376,  376,  376,  376,  376,  376,  376,
      376,  376,  377,  377,  123,  377,  377,  117,  377,  377,
      377,  377,  377,  377,  377,  378,  378,  114,  378,  378,

      113,  378,  378,  378,  378,  378,  378,  378,  379,  379,
      111,  102,  379,  379,  379,  379,   93,  379,  379,  379,
      379,  380,  380,   87,  380,  380,  380,  380,  380,  380,
      380,  380,  380,  380,  381,  381,   80,  381,  381,  381,
      381,  381,  381,  381,   79,   78,  381,  382,  382,   73,
       71,  382,  382,  383,   64,   63,  383,  383,  383,  383,
      383,  383,  383,  383,  383,  383,  384,  384,   55,  384,
      384,  384,  384,  384,  384,  384,  384,  384,  384,  385,
      385,   53,  385,  385,  385,  385,  385,  385,  385,  385,
      385,  385,  386,  386,  387,  387,  388,  388,  388,  388,

      388,  388,  388,  388,  388,  388,  388,  388,  388,  389,
      389,  389,  389,  389,  389,  389,  389,  389,  389,  389,
      389,  389,  390,   49,   45,   28,  390,  391,  391,   27,
      391,  391,  391,  391,  391,  391,  391,  391,  391,  392,
      392,   16,  392,  392,  392,  392,  392,  392,  392,  392,
      392,  392,  393,   15,   10,    8,  393,  394,  394,  394,
      394,  394,  394,  394,  394,  394,  394,  394,  394,  394,
      395,    7,    6,    5,  395,  396,  396,  396,  396,  396,
      396,  396,  396,  396,  396,  396,  396,  396,  397,  397,
        0,    0,  397,  397,  398,  398,    0,    0,  398,  398,

      399,    0,    0,    0,  399,  400,  400,  400,  400,  400,
      400,  400,  400,  400,  400,  400,  400,  400,  401,    0,
        0,    0,  401,  402,  402,    0,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  403,    0,    0,    0,
      403,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
      340,  340,  340,  340,  340
    } ;

static yy_state_type yy_last_accepting_state;
static YY_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

/* these variables are all declared out here so that section 3 code can
 * manipulate them
 */
/* points to current character in buffer */
static YY_CHAR *yy_c_buf_p = (YY_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;

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 yyunput YY_PROTO(( YY_CHAR c, YY_CHAR *buf_ptr ));
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 ));

#define yy_new_buffer yy_create_buffer

#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif

YY_DECL
    {
    register yy_state_type yy_current_state;
    register YY_CHAR *yy_cp, *yy_bp;
    register int yy_act;


    static int bracelevel, didadef;
    int i, indented_code, checking_used, new_xlation;
    int doing_codeblock = false;
    Char nmdef[MAXLINE], myesc();


    if ( yy_init )
        {
        YY_USER_INIT;

        if ( ! yy_start )
            yy_start = 1;       /* first start state */

        if ( ! yyin )
            yyin = stdin;

        if ( ! yyout )
            yyout = stdout;

        if ( yy_current_buffer )
            yy_init_buffer( yy_current_buffer, yyin );
        else
            yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );

        yy_load_buffer_state();

        yy_init = 0;
        }

    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;
        if ( yy_bp[-1] == '\n' )
            ++yy_current_state;
yy_match:
        do
            {
            register YY_CHAR yy_c = yy_ec[*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 = yy_def[yy_current_state];
                if ( yy_current_state >= 341 )
                    yy_c = yy_meta[yy_c];
                }
            yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
            ++yy_cp;
            }
        while ( yy_current_state != 340 );
        yy_cp = yy_last_accepting_cpos;
        yy_current_state = yy_last_accepting_state;

yy_find_action:
        yy_act = yy_accept[yy_current_state];

        YY_DO_BEFORE_ACTION;
        YY_USER_ACTION;

do_action:      /* this label is used only to access EOF actions */


        switch ( yy_act )
            {
            case 0: /* must backtrack */
            /* 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:
# line 90 "scan.l"
indented_code = true; BEGIN(CODEBLOCK);
        YY_BREAK
case 2:
# line 91 "scan.l"
++linenum; /* treat as a comment */
        YY_BREAK
case 3:
# line 92 "scan.l"
ECHO; BEGIN(C_COMMENT);
        YY_BREAK
case 4:
# line 93 "scan.l"
return ( SCDECL );
        YY_BREAK
case 5:
# line 94 "scan.l"
return ( XSCDECL );
        YY_BREAK
case 6:
# line 95 "scan.l"
{
                        ++linenum;
                        line_directive_out( stdout );
                        indented_code = false;
                        BEGIN(CODEBLOCK);
                        }
        YY_BREAK
case 7:
# line 102 "scan.l"
return ( WHITESPACE );
        YY_BREAK
case 8:
# line 104 "scan.l"
{
                        sectnum = 2;
                        line_directive_out( stdout );
                        BEGIN(SECT2PROLOG);
                        return ( SECTEND );
                        }
        YY_BREAK
case 9:
# line 111 "scan.l"
{
        pinpoint_message( "warning - %%used/%%unused have been deprecated" );
                        checking_used = REALLY_USED; BEGIN(USED_LIST);
                        }
        YY_BREAK
case 10:
# line 115 "scan.l"
{
                        checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
        pinpoint_message( "warning - %%used/%%unused have been deprecated" );
                        checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
                        }
        YY_BREAK
case 11:
# line 122 "scan.l"
{
#ifdef NOTDEF
                        fprintf( stderr,
                             "old-style lex command at line %d ignored:\n\t%s",
                                 linenum, yytext );
#endif
                        ++linenum;
                        }
        YY_BREAK
case 12:
# line 131 "scan.l"
/* ignore old lex directive */
        YY_BREAK
case 13:
# line 133 "scan.l"
{
                        ++linenum;
                        xlation =
                            (int *) malloc( sizeof( int ) * (unsigned) csize );

                        if ( ! xlation )
                            flexfatal(
                                "dynamic memory failure building %t table" );

                        for ( i = 0; i < csize; ++i )
                            xlation[i] = 0;

                        num_xlations = 0;

                        BEGIN(XLATION);
                        }
        YY_BREAK
case 14:
# line 150 "scan.l"
synerr( "unrecognized '%' directive" );
        YY_BREAK
case 15:
# line 152 "scan.l"
{
                        (void) strcpy( nmstr, (char *) yytext );
                        didadef = false;
                        BEGIN(PICKUPDEF);
                        }
        YY_BREAK
case 16:
# line 158 "scan.l"
RETURNNAME;
        YY_BREAK
case 17:
# line 159 "scan.l"
++linenum; /* allows blank lines in section 1 */
        YY_BREAK
case 18:
# line 160 "scan.l"
++linenum; return ( '\n' );
        YY_BREAK
case 19:
# line 161 "scan.l"
synerr( "illegal character" ); BEGIN(RECOVER);
        YY_BREAK
case 20:
# line 164 "scan.l"
ECHO; BEGIN(INITIAL);
        YY_BREAK
case 21:
# line 165 "scan.l"
++linenum; ECHO; BEGIN(INITIAL);
        YY_BREAK
case 22:
# line 166 "scan.l"
ECHO;
        YY_BREAK
case 23:
# line 167 "scan.l"
ECHO;
        YY_BREAK
case 24:
# line 168 "scan.l"
++linenum; ECHO;
        YY_BREAK
case 25:
# line 171 "scan.l"
++linenum; BEGIN(INITIAL);
        YY_BREAK
case 26:
# line 172 "scan.l"
ECHO; CHECK_REJECT(yytext);
        YY_BREAK
case 27:
# line 173 "scan.l"
ECHO; CHECK_YYMORE(yytext);
        YY_BREAK
case 28:
# line 174 "scan.l"
ECHO;
        YY_BREAK
case 29:
# line 175 "scan.l"
{
                        ++linenum;
                        ECHO;
                        if ( indented_code )
                            BEGIN(INITIAL);
                        }
        YY_BREAK
case 30:
# line 183 "scan.l"
/* separates name and definition */
        YY_BREAK
case 31:
# line 185 "scan.l"
{
                        (void) strcpy( (char *) nmdef, (char *) yytext );

                        for ( i = strlen( (char *) nmdef ) - 1;
                              i >= 0 &&
                              (nmdef[i] == ' ' || nmdef[i] == '\t');
                              --i )
                            ;

                        nmdef[i + 1] = '\0';

                        ndinstal( nmstr, nmdef );
                        didadef = true;
                        }
        YY_BREAK
case 32:
# line 200 "scan.l"
{
                        if ( ! didadef )
                            synerr( "incomplete name definition" );
                        BEGIN(INITIAL);
                        ++linenum;
                        }
        YY_BREAK
case 33:
# line 207 "scan.l"
++linenum; BEGIN(INITIAL); RETURNNAME;
        YY_BREAK
case 34:
# line 210 "scan.l"
++linenum; BEGIN(INITIAL);
        YY_BREAK
case 35:
# line 211 "scan.l"

        YY_BREAK
case 36:
# line 212 "scan.l"
{
                        if ( all_upper( yytext ) )
                            reject_really_used = checking_used;
                        else
                            synerr( "unrecognized %used/%unused construct" );
                        }
        YY_BREAK
case 37:
# line 218 "scan.l"
{
                        if ( all_lower( yytext ) )
                            yymore_really_used = checking_used;
                        else
                            synerr( "unrecognized %used/%unused construct" );
                        }
        YY_BREAK
case 38:
# line 224 "scan.l"
synerr( "unrecognized %used/%unused construct" );
        YY_BREAK
case 39:
# line 227 "scan.l"
++linenum; BEGIN(INITIAL);
        YY_BREAK
case 40:
# line 228 "scan.l"
++num_xlations; new_xlation = true;
        YY_BREAK
case 41:
# line 229 "scan.l"
synerr( "bad row in translation table" );
        YY_BREAK
case 42:
# line 230 "scan.l"
/* ignore whitespace */
        YY_BREAK
case 43:
# line 232 "scan.l"
{
                        xlation[myesc( yytext )] =
                                (new_xlation ? num_xlations : -num_xlations);
                        new_xlation = false;
                        }
        YY_BREAK
case 44:
# line 237 "scan.l"
{
                        xlation[yytext[0]] =
                                (new_xlation ? num_xlations : -num_xlations);
                        new_xlation = false;
                        }
        YY_BREAK
case 45:
# line 243 "scan.l"
++linenum;
        YY_BREAK
case 46:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 246 "scan.l"
{
                        ++linenum;
                        ACTION_ECHO;
                        MARK_END_OF_PROLOG;
                        BEGIN(SECT2);
                        }
        YY_BREAK
case 47:
# line 253 "scan.l"
++linenum; ACTION_ECHO;
        YY_BREAK
case YY_STATE_EOF(SECT2PROLOG):
# line 255 "scan.l"
MARK_END_OF_PROLOG; yyterminate();
        YY_BREAK
case 49:
# line 257 "scan.l"
++linenum; /* allow blank lines in section 2 */
        YY_BREAK
case 50:
# line 259 "scan.l"
{
                        indented_code = (yytext[0] != '%');
                        doing_codeblock = true;
                        bracelevel = 1;

                        if ( indented_code )
                            ACTION_ECHO;

                        BEGIN(CODEBLOCK_2);
                        }
        YY_BREAK
case 51:
# line 270 "scan.l"
BEGIN(SC); return ( '<' );
        YY_BREAK
case 52:
# line 271 "scan.l"
return ( '^' );
        YY_BREAK
case 53:
# line 272 "scan.l"
BEGIN(QUOTE); return ( '"' );
        YY_BREAK
case 54:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 273 "scan.l"
BEGIN(NUM); return ( '{' );
        YY_BREAK
case 55:
# line 274 "scan.l"
BEGIN(BRACEERROR);
        YY_BREAK
case 56:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 275 "scan.l"
return ( '$' );
        YY_BREAK
case 57:
# line 277 "scan.l"
{
                        bracelevel = 1;
                        BEGIN(PERCENT_BRACE_ACTION);
                        return ( '\n' );
                        }
        YY_BREAK
case 58:
# line 282 "scan.l"
continued_action = true; ++linenum; return ( '\n' );
        YY_BREAK
case 59:
# line 284 "scan.l"
{
                        /* this rule is separate from the one below because
                         * otherwise we get variable trailing context, so
                         * we can't build the scanner using -{f,F}
                         */
                        bracelevel = 0;
                        continued_action = false;
                        BEGIN(ACTION);
                        return ( '\n' );
                        }
        YY_BREAK
case 60:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 295 "scan.l"
{
                        bracelevel = 0;
                        continued_action = false;
                        BEGIN(ACTION);
                        return ( '\n' );
                        }
        YY_BREAK
case 61:
# line 302 "scan.l"
++linenum; return ( '\n' );
        YY_BREAK
case 62:
# line 304 "scan.l"
return ( EOF_OP );
        YY_BREAK
case 63:
# line 306 "scan.l"
{
                        sectnum = 3;
                        BEGIN(SECT3);
                        return ( EOF ); /* to stop the parser */
                        }
        YY_BREAK
case 64:
# line 312 "scan.l"
{
                        int cclval;

                        (void) strcpy( nmstr, (char *) yytext );

                        /* check to see if we've already encountered this ccl */
                        if ( (cclval = ccllookup( (Char *) nmstr )) )
                            {
                            yylval = cclval;
                            ++cclreuse;
                            return ( PREVCCL );
                            }
                        else
                            {
                            /* we fudge a bit.  We know that this ccl will
                             * soon be numbered as lastccl + 1 by cclinit
                             */
                            cclinstal( (Char *) nmstr, lastccl + 1 );

                            /* push back everything but the leading bracket
                             * so the ccl can be rescanned
                             */
                            PUT_BACK_STRING((Char *) nmstr, 1);

                            BEGIN(FIRSTCCL);
                            return ( '[' );
                            }
                        }
        YY_BREAK
case 65:
# line 341 "scan.l"
{
                        register Char *nmdefptr;
                        Char *ndlookup();

                        (void) strcpy( nmstr, (char *) yytext );
                        nmstr[yyleng - 1] = '\0';  /* chop trailing brace */

                        /* lookup from "nmstr + 1" to chop leading brace */
                        if ( ! (nmdefptr = ndlookup( nmstr + 1 )) )
                            synerr( "undefined {name}" );

                        else
                            { /* push back name surrounded by ()'s */
                            unput(')');
                            PUT_BACK_STRING(nmdefptr, 0);
                            unput('(');
                            }
                        }
        YY_BREAK
case 66:
# line 360 "scan.l"
return ( yytext[0] );
        YY_BREAK
case 67:
# line 361 "scan.l"
RETURNCHAR;
        YY_BREAK
case 68:
# line 362 "scan.l"
++linenum; return ( '\n' );
        YY_BREAK
case 69:
# line 365 "scan.l"
return ( ',' );
        YY_BREAK
case 70:
# line 366 "scan.l"
BEGIN(SECT2); return ( '>' );
        YY_BREAK
case 71:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 367 "scan.l"
BEGIN(CARETISBOL); return ( '>' );
        YY_BREAK
case 72:
# line 368 "scan.l"
RETURNNAME;
        YY_BREAK
case 73:
# line 369 "scan.l"
synerr( "bad start condition name" );
        YY_BREAK
case 74:
# line 371 "scan.l"
BEGIN(SECT2); return ( '^' );
        YY_BREAK
case 75:
# line 374 "scan.l"
RETURNCHAR;
        YY_BREAK
case 76:
# line 375 "scan.l"
BEGIN(SECT2); return ( '"' );
        YY_BREAK
case 77:
# line 377 "scan.l"
{
                        synerr( "missing quote" );
                        BEGIN(SECT2);
                        ++linenum;
                        return ( '"' );
                        }
        YY_BREAK
case 78:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 385 "scan.l"
BEGIN(CCL); return ( '^' );
        YY_BREAK
case 79:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 386 "scan.l"
return ( '^' );
        YY_BREAK
case 80:
# line 387 "scan.l"
BEGIN(CCL); yylval = '-'; return ( CHAR );
        YY_BREAK
case 81:
# line 388 "scan.l"
BEGIN(CCL); RETURNCHAR;
        YY_BREAK
case 82:
*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
yy_c_buf_p = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
# line 390 "scan.l"
return ( '-' );
        YY_BREAK
case 83:
# line 391 "scan.l"
RETURNCHAR;
        YY_BREAK
case 84:
# line 392 "scan.l"
BEGIN(SECT2); return ( ']' );
        YY_BREAK
case 85:
# line 395 "scan.l"
{
                        yylval = myctoi( yytext );
                        return ( NUMBER );
                        }
        YY_BREAK
case 86:
# line 400 "scan.l"
return ( ',' );
        YY_BREAK
case 87:
# line 401 "scan.l"
BEGIN(SECT2); return ( '}' );
        YY_BREAK
case 88:
# line 403 "scan.l"
{
                        synerr( "bad character inside {}'s" );
                        BEGIN(SECT2);
                        return ( '}' );
                        }
        YY_BREAK
case 89:
# line 409 "scan.l"
{
                        synerr( "missing }" );
                        BEGIN(SECT2);
                        ++linenum;
                        return ( '}' );
                        }
        YY_BREAK
case 90:
# line 417 "scan.l"
synerr( "bad name in {}'s" ); BEGIN(SECT2);
        YY_BREAK
case 91:
# line 418 "scan.l"
synerr( "missing }" ); ++linenum; BEGIN(SECT2);
        YY_BREAK
case 92:
# line 421 "scan.l"
bracelevel = 0;
        YY_BREAK
case 93:
# line 422 "scan.l"
{
                        ACTION_ECHO;
                        CHECK_REJECT(yytext);
                        }
        YY_BREAK
case 94:
# line 426 "scan.l"
{
                        ACTION_ECHO;
                        CHECK_YYMORE(yytext);
                        }
        YY_BREAK
case 95:
# line 430 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 96:
# line 431 "scan.l"
{
                        ++linenum;
                        ACTION_ECHO;
                        if ( bracelevel == 0 ||
                             (doing_codeblock && indented_code) )
                            {
                            if ( ! doing_codeblock )
                                fputs( "\tYY_BREAK\n", temp_action_file );

                            doing_codeblock = false;
                            BEGIN(SECT2);
                            }
                        }
        YY_BREAK
        /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */
case 97:
# line 447 "scan.l"
ACTION_ECHO; ++bracelevel;
        YY_BREAK
case 98:
# line 448 "scan.l"
ACTION_ECHO; --bracelevel;
        YY_BREAK
case 99:
# line 449 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 100:
# line 450 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 101:
# line 451 "scan.l"
ACTION_ECHO; BEGIN(ACTION_COMMENT);
        YY_BREAK
case 102:
# line 452 "scan.l"
ACTION_ECHO; /* character constant */
        YY_BREAK
case 103:
# line 453 "scan.l"
ACTION_ECHO; BEGIN(ACTION_STRING);
        YY_BREAK
case 104:
# line 454 "scan.l"
{
                        ++linenum;
                        ACTION_ECHO;
                        if ( bracelevel == 0 )
                            {
                            fputs( "\tYY_BREAK\n", temp_action_file );
                            BEGIN(SECT2);
                            }
                        }
        YY_BREAK
case 105:
# line 463 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 106:
# line 465 "scan.l"
ACTION_ECHO; BEGIN(ACTION);
        YY_BREAK
case 107:
# line 466 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 108:
# line 467 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 109:
# line 468 "scan.l"
++linenum; ACTION_ECHO;
        YY_BREAK
case 110:
# line 469 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 111:
# line 471 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 112:
# line 472 "scan.l"
ACTION_ECHO;
        YY_BREAK
case 113:
# line 473 "scan.l"
++linenum; ACTION_ECHO;
        YY_BREAK
case 114:
# line 474 "scan.l"
ACTION_ECHO; BEGIN(ACTION);
        YY_BREAK
case 115:
# line 475 "scan.l"
ACTION_ECHO;
        YY_BREAK
case YY_STATE_EOF(ACTION):
case YY_STATE_EOF(ACTION_COMMENT):
case YY_STATE_EOF(ACTION_STRING):
# line 477 "scan.l"
{
                        synerr( "EOF encountered inside an action" );
                        yyterminate();
                        }
        YY_BREAK
case 117:
# line 483 "scan.l"
{
                        yylval = myesc( yytext );
                        return ( CHAR );
                        }
        YY_BREAK
case 118:
# line 488 "scan.l"
{
                        yylval = myesc( yytext );
                        BEGIN(CCL);
                        return ( CHAR );
                        }
        YY_BREAK
case 119:
# line 495 "scan.l"
ECHO;
        YY_BREAK
case 120:
# line 496 "scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
        YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(SECT2):
case YY_STATE_EOF(SECT3):
case YY_STATE_EOF(CODEBLOCK):
case YY_STATE_EOF(PICKUPDEF):
case YY_STATE_EOF(SC):
case YY_STATE_EOF(CARETISBOL):
case YY_STATE_EOF(NUM):
case YY_STATE_EOF(QUOTE):
case YY_STATE_EOF(FIRSTCCL):
case YY_STATE_EOF(CCL):
case YY_STATE_EOF(RECOVER):
case YY_STATE_EOF(BRACEERROR):
case YY_STATE_EOF(C_COMMENT):
case YY_STATE_EOF(PERCENT_BRACE_ACTION):
case YY_STATE_EOF(USED_LIST):
case YY_STATE_EOF(CODEBLOCK_2):
case YY_STATE_EOF(XLATION):
    yyterminate();

            case YY_END_OF_BUFFER:
                {
                /* amount of text matched not including the EOB char */
                int yy_amount_of_matched_text = yy_cp - yytext - 1;

                /* undo the effects of YY_DO_BEFORE_ACTION */
                *yy_cp = yy_hold_char;

                /* 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 yyinput().
                 */
                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 + 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 + 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_last_accepting_cpos;
                            yy_current_state = yy_last_accepting_state;
                        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 + YY_MORE_ADJ;

                            yy_act = YY_STATE_EOF((yy_start - 1) / 2);
                            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 + yy_amount_of_matched_text;

                        yy_current_state = yy_get_previous_state();

                        yy_cp = yy_c_buf_p;
                        yy_bp = yytext + 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 + YY_MORE_ADJ;
                        goto yy_find_action;
                    }
                break;
                }

            default:
#ifdef FLEX_DEBUG
                printf( "action # %d\n", yy_act );
#endif
                YY_FATAL_ERROR(
                        "fatal flex scanner internal error--no action found" );
            }
        }
    }


/* yy_get_next_buffer - try to read in a new buffer
 *
 * synopsis
 *     int yy_get_next_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 YY_CHAR *dest = yy_current_buffer->yy_ch_buf;
    register YY_CHAR *source = yytext - 1; /* copy prev. char, too */
    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" );

    /* try to read more data */

    /* first move last chars to start of buffer */
    number_to_move = yy_c_buf_p - yytext;

    for ( i = 0; i < number_to_move; ++i )
        *(dest++) = *(source++);

    if ( yy_current_buffer->yy_eof_status != EOF_NOT_SEEN )
        /* don't do the read, it's not guaranteed to return an EOF,
         * just force an EOF
         */
        yy_n_chars = 0;

    else
        {
        int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1;

        if ( num_to_read > YY_READ_BUF_SIZE )
            num_to_read = YY_READ_BUF_SIZE;

        else if ( num_to_read <= 0 )
            YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" );

        /* read in more data */
        YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
                  yy_n_chars, num_to_read );
        }

    if ( yy_n_chars == 0 )
        {
        if ( number_to_move == 1 )
            {
            ret_val = EOB_ACT_END_OF_FILE;
            yy_current_buffer->yy_eof_status = EOF_DONE;
            }

        else
            {
            ret_val = EOB_ACT_LAST_MATCH;
            yy_current_buffer->yy_eof_status = 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 begins at the second character in yy_ch_buf; the first
     * character is the one which preceded it before reading in the latest
     * buffer; it needs to be kept around in case it's a newline, so
     * yy_get_previous_state() will have with '^' rules active
     */

    yytext = &yy_current_buffer->yy_ch_buf[1];

    return ( ret_val );
    }


/* yy_get_previous_state - get the state just before the EOB char was reached
 *
 * synopsis
 *     yy_state_type yy_get_previous_state();
 */

static yy_state_type yy_get_previous_state()

    {
    register yy_state_type yy_current_state;
    register YY_CHAR *yy_cp;

    register YY_CHAR *yy_bp = yytext;

    yy_current_state = yy_start;
    if ( yy_bp[-1] == '\n' )
        ++yy_current_state;

    for ( yy_cp = yytext + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
        {
        register YY_CHAR yy_c = (*yy_cp ? yy_ec[*yy_cp] : 1);
        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 = yy_def[yy_current_state];
            if ( yy_current_state >= 341 )
                yy_c = yy_meta[yy_c];
            }
        yy_current_state = yy_nxt[yy_base[yy_current_state] + 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( register yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
register yy_state_type yy_current_state;
#endif

    {
    register int yy_is_jam;
    register YY_CHAR *yy_cp = yy_c_buf_p;

    register YY_CHAR yy_c = 1;
    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 = yy_def[yy_current_state];
        if ( yy_current_state >= 341 )
            yy_c = yy_meta[yy_c];
        }
    yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
    yy_is_jam = (yy_current_state == 340);

    return ( yy_is_jam ? 0 : yy_current_state );
    }


#ifdef YY_USE_PROTOS
static void yyunput( YY_CHAR c, register YY_CHAR *yy_bp )
#else
static void yyunput( c, yy_bp )
YY_CHAR c;
register YY_CHAR *yy_bp;
#endif

    {
    register YY_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 */
        register int number_to_move = yy_n_chars + 2; /* +2 for EOB chars */
        register YY_CHAR *dest =
            &yy_current_buffer->yy_ch_buf[yy_current_buffer->yy_buf_size + 2];
        register YY_CHAR *source =
            &yy_current_buffer->yy_ch_buf[number_to_move];

        while ( source > yy_current_buffer->yy_ch_buf )
            *--dest = *--source;

        yy_cp += dest - source;
        yy_bp += dest - source;
        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" );
        }

    if ( yy_cp > yy_bp && yy_cp[-1] == '\n' )
        yy_cp[-2] = '\n';

    *--yy_cp = c;

    /* note: the formal parameter *must* be called "yy_bp" for this
     *       macro to now work correctly
     */
    YY_DO_BEFORE_ACTION; /* set up yytext again */
    }


#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif

    {
    int c;
    YY_CHAR *yy_cp = yy_c_buf_p;

    *yy_cp = 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 */
            yytext = yy_c_buf_p;
            ++yy_c_buf_p;

            switch ( yy_get_next_buffer() )
                {
                case EOB_ACT_END_OF_FILE:
                    {
                    if ( yywrap() )
                        {
                        yy_c_buf_p = yytext + YY_MORE_ADJ;
                        return ( EOF );
                        }

                    YY_NEW_FILE;

#ifdef __cplusplus
                    return ( yyinput() );
#else
                    return ( input() );
#endif
                    }
                    break;

                case EOB_ACT_CONTINUE_SCAN:
                    yy_c_buf_p = yytext + YY_MORE_ADJ;
                    break;

                case EOB_ACT_LAST_MATCH:
#ifdef __cplusplus
                    YY_FATAL_ERROR( "unexpected last match in yyinput()" );
#else
                    YY_FATAL_ERROR( "unexpected last match in input()" );
#endif
                }
            }
        }

    c = *yy_c_buf_p;
    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

    {
    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 = 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) malloc( 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 = (YY_CHAR *) malloc( (unsigned) (b->yy_buf_size + 2) );

    if ( ! b->yy_ch_buf )
        YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

    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 == yy_current_buffer )
        yy_current_buffer = (YY_BUFFER_STATE) 0;

    free( (char *) b->yy_ch_buf );
    free( (char *) b );
    }


#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

    {
    b->yy_input_file = file;

    /* we put in the '\n' and start reading from [1] so that an
     * initial match-at-newline will be true.
     */

    b->yy_ch_buf[0] = '\n';
    b->yy_n_chars = 1;

    /* 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[1] = YY_END_OF_BUFFER_CHAR;
    b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR;

    b->yy_buf_pos = &b->yy_ch_buf[1];

    b->yy_eof_status = EOF_NOT_SEEN;
    }
# line 496 "scan.l"



int yywrap()

    {
    if ( --num_input_files > 0 )
        {
        set_input_file( *++input_files );
        return ( 0 );
        }

    else
        return ( 1 );
    }


/* set_input_file - open the given file (if NULL, stdin) for scanning */

void set_input_file( file )
char *file;

    {
    if ( file )
        {
        infilename = file;
        yyin = fopen( infilename, "r" );

        if ( yyin == NULL )
            lerrsf( "can't open %s", file );
        }

    else
        {
        yyin = stdin;
        infilename = "<stdin>";
        }
    }