1 /* Code generated from eC source file: lexer.ec */
3 #define __runtimePlatform 1
4 #elif defined(__APPLE__)
5 #define __runtimePlatform 3
7 #define __runtimePlatform 2
10 typedef long long int64;
11 typedef unsigned long long uint64;
15 #elif defined(__TINYC__)
17 #define __builtin_va_list va_list
18 #define __builtin_va_start va_start
19 #define __builtin_va_end va_end
21 #define strcasecmp stricmp
22 #define strncasecmp strnicmp
23 #define __declspec(x) __attribute__((x))
27 typedef long long int64;
28 typedef unsigned long long uint64;
30 typedef __int64 int64;
31 typedef unsigned __int64 uint64;
34 #define __ENDIAN_PAD(x) (8 - (x))
36 #define __ENDIAN_PAD(x) 0
39 # if defined(__GNUC__) || defined(__TINYC__)
40 # define ecere_stdcall __attribute__((__stdcall__))
41 # define ecere_gcc_struct __attribute__((gcc_struct))
43 # define ecere_stdcall __stdcall
44 # define ecere_gcc_struct
47 # define ecere_stdcall
48 # define ecere_gcc_struct
51 #include <sys/types.h>
52 void exit(int status);
54 void * calloc(size_t nmemb, size_t size);
56 void free(void * ptr);
58 void * malloc(size_t size);
60 void * realloc(void * ptr, size_t size);
62 long int strtol(const char * nptr, char ** endptr, int base);
64 long long int strtoll(const char * nptr, char ** endptr, int base);
66 unsigned long long int strtoull(const char * nptr, char ** endptr, int base);
68 typedef __builtin_va_list va_list;
72 FILE * bsl_stdin(void);
74 FILE * bsl_stdout(void);
76 FILE * bsl_stderr(void);
78 char * fgets(char * s, int size, FILE * stream);
80 FILE * fopen(const char * path, const char * mode);
82 int fclose(FILE * fp);
84 int fflush(FILE * stream);
86 int fgetc(FILE * stream);
88 int fprintf(FILE * stream, const char * format, ...);
90 int fputc(int c, FILE * stream);
92 size_t fread(void * ptr, size_t size, size_t nmemb, FILE * stream);
94 size_t fwrite(const void * ptr, size_t size, size_t nmemb, FILE * stream);
96 int vsnprintf(char *, size_t, const char *, va_list args);
98 int snprintf(char * str, size_t, const char * format, ...);
100 int fseek(FILE * stream, long offset, int whence);
102 long ftell(FILE * stream);
104 int feof(FILE * stream);
106 int ferror(FILE * stream);
108 int fileno(FILE * stream);
110 typedef struct yy_buffer_state * YY_BUFFER_STATE;
114 extern FILE * yyin, * yyout;
116 typedef unsigned int yy_size_t;
118 struct yy_buffer_state
120 FILE * yy_input_file;
123 yy_size_t yy_buf_size;
125 int yy_is_our_buffer;
126 int yy_is_interactive;
129 int yy_buffer_status;
132 static char yy_hold_char;
134 static int yy_n_chars;
138 static char * yy_c_buf_p = (char *)0;
140 static int yy_init = 1;
142 static int yy_start = 0;
144 static int yy_did_buffer_switch_on_eof;
146 void yyrestart(FILE * input_file);
148 void yy_load_buffer_state(void);
150 static void * yy_flex_alloc(yy_size_t);
152 static void * yy_flex_realloc(void *, yy_size_t);
154 static void yy_flex_free(void *);
156 typedef unsigned char YY_CHAR;
158 FILE * yyin = (FILE *)0, * yyout = (FILE *)0;
160 typedef int yy_state_type;
162 extern char * yytext;
164 static yy_state_type yy_get_previous_state(void);
166 static yy_state_type yy_try_NUL_trans(yy_state_type current_state);
168 static int yy_get_next_buffer(void);
170 static void yy_fatal_error(const char msg[]);
172 static const short int yy_accept[732] =
174 0, 114, 114, 180, 178, 176, 175, 174, 177, 161, 178, 1, 173, 167, 160, 178, 155, 156, 165, 164, 152, 163, 159, 166, 120, 120, 153, 149, 168, 154, 169, 172, 114, 114, 114, 157, 158, 170, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 150, 171, 151, 162, 148, 0, 125, 0, 134, 151, 143, 135, 0, 0, 132, 140, 130, 141, 131, 142, 0, 123, 2, 3, 133, 124, 119, 0, 120, 0, 120, 114, 158, 150, 157, 139, 145, 147, 146, 138, 0, 114, 0, 114, 0, 0, 136, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 11, 114, 114, 114, 114, 114, 114, 114, 114, 19, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 137, 144, 121, 127, 0, 123, 123, 0, 124, 119, 0, 122, 0, 115, 114, 129, 128, 114, 114, 0, 126, 0, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 94, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 17, 46, 114, 114, 114, 114, 20, 114, 114, 114, 52, 114, 114, 114, 114, 114, 114, 114, 45, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 0, 123, 0, 123, 0, 124, 122, 117, 118, 115, 0, 63, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 4, 114, 6, 7, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 13, 14, 114, 114, 114, 18, 114, 114, 114, 114, 114, 22, 114, 53, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 21, 114, 114, 114, 39, 114, 114, 114, 0, 123, 117, 117, 0, 117, 117, 118, 0, 0, 116, 64, 114, 114, 114, 95, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 5, 48, 8, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 16, 114, 114, 114, 59, 47, 114, 114, 114, 114, 114, 54, 114, 114, 25, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 37, 114, 114, 114, 97, 43, 0, 117, 117, 117, 0, 0, 118, 116, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 57, 51, 114, 114, 12, 15, 114, 56, 90, 74, 114, 114, 114, 86, 114, 55, 114, 24, 26, 29, 32, 114, 114, 34, 114, 35, 114, 114, 114, 114, 114, 114, 114, 0, 117, 114, 114, 114, 93, 114, 114, 78, 84, 114, 114, 114, 114, 58, 114, 114, 114, 114, 114, 114, 114, 72, 114, 114, 114, 114, 114, 114, 114, 114, 111, 112, 110, 10, 114, 114, 114, 114, 87, 114, 114, 114, 82, 114, 114, 114, 114, 36, 114, 50, 114, 114, 65, 114, 114, 114, 114, 114, 114, 73, 60, 114, 27, 114, 33, 96, 114, 114, 81, 114, 114, 114, 114, 114, 114, 9, 114, 114, 114, 114, 114, 44, 23, 67, 114, 108, 114, 114, 38, 40, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 79, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 76, 77, 114, 109, 114, 114, 49, 114, 100, 66, 114, 114, 114, 114, 114, 71, 83, 28, 114, 42, 114, 89, 106, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 30, 70, 114, 114, 0, 114, 114, 80, 114, 92, 114, 114, 103, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 75, 0, 114, 85, 41, 114, 114, 114, 114, 114, 99, 114, 98, 88, 69, 114, 114, 114, 91, 114, 114, 114, 114, 113, 114, 114, 114, 114, 114, 114, 101, 114, 107, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 62, 114, 114, 114, 114, 114, 114, 61, 114, 114, 105, 114, 31, 114, 102, 114, 114, 114, 114, 114, 114, 114, 104, 114, 68, 0
177 static const int yy_ec[256] =
179 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 24, 26, 24, 27, 24, 28, 29, 30, 31, 32, 33, 1, 34, 35, 36, 34, 37, 38, 39, 39, 40, 41, 39, 42, 39, 39, 39, 43, 39, 39, 39, 39, 44, 39, 39, 45, 39, 39, 46, 47, 48, 49, 50, 1, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 39, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 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
182 static const int yy_meta[80] =
184 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 4, 1, 1, 1, 1, 5, 1, 6, 6, 6, 6, 6, 6, 6, 2, 1, 1, 1, 1, 1, 7, 7, 7, 7, 7, 8, 9, 9, 9, 9, 8, 8, 1, 1, 1, 1, 8, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 8, 9, 8, 8, 8, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1
187 static const short int yy_base[741] =
189 0, 0, 0, 244, 2810, 2810, 2810, 2810, 2810, 211, 73, 2810, 2810, 50, 72, 193, 2810, 2810, 203, 68, 2810, 69, 67, 82, 102, 85, 86, 2810, 105, 202, 64, 2810, 94, 106, 138, 2810, 2810, 200, 141, 120, 126, 127, 152, 154, 140, 183, 187, 145, 184, 159, 197, 202, 195, 209, 217, 208, 2810, 109, 2810, 2810, 2810, 112, 2810, 218, 2810, 2810, 2810, 2810, 120, 171, 2810, 2810, 2810, 2810, 2810, 2810, 182, 262, 2810, 2810, 2810, 304, 348, 289, 292, 178, 0, 0, 2810, 2810, 2810, 148, 2810, 2810, 2810, 129, 125, 213, 113, 236, 215, 69, 2810, 270, 312, 280, 408, 221, 327, 268, 235, 337, 328, 264, 365, 269, 350, 368, 370, 371, 393, 383, 384, 398, 394, 403, 406, 409, 413, 414, 418, 267, 424, 440, 437, 442, 395, 458, 460, 470, 467, 471, 473, 480, 492, 489, 483, 485, 486, 499, 501, 504, 505, 493, 517, 2810, 2810, 2810, 2810, 556, 546, 588, 573, 578, 611, 635, 661, 0, 649, 523, 2810, 2810, 0, 528, 340, 2810, 101, 538, 564, 542, 638, 537, 611, 667, 652, 557, 685, 686, 699, 666, 701, 613, 705, 713, 707, 715, 721, 719, 723, 725, 726, 728, 733, 737, 747, 749, 741, 755, 739, 757, 753, 760, 771, 776, 775, 778, 791, 794, 796, 802, 806, 800, 807, 810, 812, 809, 818, 814, 820, 830, 825, 832, 834, 838, 839, 840, 841, 843, 846, 859, 861, 862, 864, 870, 871, 872, 880, 890, 893, 895, 896, 898, 929, 940, 967, 963, 947, 1005, 995, 1028, 1036, 1041, 990, 900, 947, 996, 1047, 1061, 916, 908, 1069, 902, 1045, 1010, 1080, 1082, 1031, 1095, 1094, 1096, 1101, 1102, 1103, 1106, 1104, 1105, 905, 1107, 906, 1108, 1110, 1114, 1115, 1128, 1126, 1134, 1144, 1148, 1149, 1158, 1162, 1171, 1164, 1173, 1174, 1176, 1178, 1180, 1182, 1184, 1183, 1189, 1194, 1186, 1187, 1192, 1196, 1205, 1212, 1214, 1217, 1218, 1219, 1220, 1226, 1233, 1241, 1230, 1246, 1248, 1251, 1252, 1254, 1255, 1264, 1253, 1266, 1282, 1273, 1285, 1287, 1288, 1289, 1300, 1336, 0, 1291, 1363, 1359, 0, 1367, 1412, 1343, 1419, 1291, 1344, 1324, 1392, 1343, 1383, 1403, 1436, 1440, 1441, 1442, 1443, 1462, 1444, 1452, 1465, 1455, 1466, 1463, 1471, 1476, 1481, 1484, 1300, 1487, 1489, 1494, 1495, 1500, 1496, 1514, 1515, 1516, 1519, 1520, 1522, 1527, 1528, 1538, 1541, 1542, 1550, 1552, 1553, 1556, 1557, 1562, 1568, 1572, 1576, 1580, 1582, 1584, 1586, 1588, 1587, 1591, 1592, 1598, 1594, 1602, 1606, 1610, 1618, 1622, 1628, 1629, 1641, 1647, 1648, 1660, 1680, 0, 1653, 1707, 1722, 1729, 1719, 1686, 1660, 1699, 1649, 1754, 1650, 1755, 1668, 1762, 1765, 1769, 1773, 1775, 1776, 1766, 1781, 1784, 1787, 1788, 1791, 1794, 1796, 1795, 1797, 1799, 1800, 1820, 1809, 1828, 1834, 1836, 1839, 1843, 1849, 1859, 1861, 1862, 1864, 1865, 1867, 1868, 1869, 1870, 1873, 1874, 1877, 1883, 1888, 1889, 1893, 1895, 1898, 1899, 1902, 1904, 1907, 1914, 1909, 1917, 1922, 1923, 1927, 1929, 1969, 1976, 1933, 1935, 1942, 1930, 1936, 1951, 1938, 1941, 1943, 1956, 1976, 1948, 1994, 1997, 2000, 2001, 2012, 2002, 2009, 2015, 2016, 2022, 2023, 2031, 2034, 2036, 2037, 2041, 2042, 2044, 2049, 2060, 2062, 2064, 2070, 2072, 2074, 2078, 2080, 2083, 2084, 2088, 2092, 2094, 2096, 2104, 2098, 2106, 2102, 2108, 2107, 2110, 2112, 2118, 2130, 2131, 2133, 2137, 2140, 2138, 2144, 2156, 2159, 2164, 2165, 2166, 2170, 2171, 2174, 2175, 2180, 2190, 2196, 2194, 2198, 2201, 2202, 2203, 2204, 2205, 2206, 2209, 2212, 2227, 2214, 2230, 2236, 2238, 2239, 2242, 2241, 2250, 2254, 2262, 2246, 2264, 2266, 2265, 2275, 2276, 2273, 2277, 2278, 2280, 2291, 2296, 2299, 2302, 2307, 2309, 2310, 2311, 2321, 2322, 2325, 2332, 2333, 2334, 2335, 2337, 2340, 2341, 2347, 2353, 2356, 2359, 2360, 2366, 2369, 2371, 2372, 2374, 2375, 2381, 2387, 2395, 2396, 2397, 2400, 2403, 2402, 2415, 2405, 2406, 2418, 2426, 2427, 84, 2431, 2434, 2428, 2436, 2429, 2437, 2439, 2449, 2452, 2460, 2461, 2462, 2463, 2464, 2465, 2472, 2483, 2474, 2810, 71, 2485, 2476, 2484, 2486, 2487, 2495, 2497, 2508, 2509, 2520, 2517, 2522, 2529, 2530, 2532, 2533, 2536, 2540, 2541, 2542, 2543, 2545, 2548, 2552, 2554, 2563, 2551, 2566, 2570, 2575, 2576, 2585, 2586, 2588, 2591, 2596, 2600, 2601, 2609, 2610, 2612, 2611, 2614, 2616, 2623, 2624, 2634, 2630, 2635, 2638, 2643, 2644, 2645, 2650, 2657, 2663, 2664, 2669, 2671, 2673, 2678, 2682, 2689, 2683, 2691, 2692, 2810, 2756, 2765, 2773, 2778, 2779, 2788, 2792, 2794, 2800
192 static const short int yy_def[741] =
194 0, 731, 1, 731, 731, 731, 731, 731, 731, 731, 732, 731, 731, 731, 731, 733, 731, 731, 731, 731, 731, 731, 731, 731, 731, 24, 731, 731, 731, 731, 731, 731, 734, 734, 734, 731, 731, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 731, 731, 731, 732, 731, 732, 731, 731, 731, 731, 733, 733, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 735, 25, 736, 731, 731, 731, 731, 731, 731, 731, 731, 731, 734, 731, 734, 737, 733, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 738, 735, 734, 731, 731, 736, 734, 737, 731, 737, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 731, 731, 731, 731, 731, 738, 739, 731, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 259, 731, 731, 739, 348, 731, 731, 731, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 348, 731, 731, 731, 731, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 731, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 740, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 731, 740, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, 0, 731, 731, 731, 731, 731, 731, 731, 731, 731
197 static const short int yy_nxt[2890] =
199 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 25, 25, 25, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 32, 32, 32, 32, 32, 32, 34, 32, 32, 32, 35, 4, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 32, 46, 32, 32, 47, 32, 48, 32, 49, 50, 51, 52, 53, 54, 55, 32, 32, 32, 56, 57, 58, 59, 62, 64, 65, 66, 71, 663, 76, 73, 77, 77, 77, 77, 77, 77, 77, 94, 95, 78, 663, 72, 74, 75, 79, 67, 731, 96, 86, 86, 86, 86, 86, 86, 86, 80, 87, 89, 69, 96, 88, 62, 63, 81, 98, 82, 82, 82, 82, 82, 82, 82, 731, 96, 157, 90, 98, 91, 92, 96, 96, 83, 155, 172, 84, 84, 84, 100, 84, 85, 98, 96, 101, 96, 96, 98, 98, 98, 96, 83, 731, 63, 171, 84, 84, 96, 84, 96, 98, 69, 98, 98, 96, 99, 84, 98, 731, 85, 103, 104, 114, 170, 98, 105, 98, 68, 110, 115, 156, 98, 111, 116, 112, 106, 117, 113, 96, 96, 107, 167, 96, 126, 108, 158, 127, 118, 119, 128, 96, 120, 96, 109, 135, 98, 98, 96, 121, 98, 123, 122, 124, 96, 96, 731, 175, 98, 96, 98, 138, 125, 96, 139, 98, 102, 96, 93, 70, 136, 98, 98, 129, 137, 69, 98, 60, 131, 731, 98, 96, 96, 130, 98, 132, 133, 140, 147, 731, 134, 731, 141, 731, 153, 142, 143, 176, 98, 98, 731, 154, 731, 149, 148, 731, 144, 145, 150, 146, 96, 151, 731, 96, 96, 96, 96, 152, 77, 77, 77, 77, 77, 77, 77, 731, 96, 98, 731, 190, 98, 98, 98, 98, 159, 160, 173, 160, 160, 160, 165, 731, 165, 98, 193, 166, 166, 166, 166, 166, 166, 166, 159, 160, 196, 198, 160, 160, 96, 160, 161, 161, 161, 161, 161, 161, 161, 84, 84, 84, 177, 84, 192, 96, 96, 98, 162, 163, 179, 163, 163, 163, 175, 96, 731, 731, 84, 84, 731, 84, 98, 98, 731, 731, 162, 163, 96, 84, 163, 163, 98, 163, 81, 731, 82, 82, 82, 82, 82, 82, 82, 96, 178, 98, 96, 731, 96, 96, 731, 731, 83, 731, 176, 164, 164, 164, 191, 164, 98, 96, 96, 98, 195, 98, 98, 194, 199, 731, 83, 96, 96, 96, 164, 164, 96, 164, 98, 98, 731, 96, 731, 731, 96, 164, 96, 96, 98, 98, 98, 96, 96, 98, 202, 731, 96, 203, 98, 200, 197, 98, 96, 98, 98, 731, 201, 204, 98, 98, 731, 731, 207, 98, 731, 96, 205, 731, 96, 98, 96, 208, 206, 731, 731, 223, 180, 181, 182, 183, 184, 210, 98, 209, 185, 98, 96, 98, 96, 211, 212, 213, 186, 187, 188, 96, 189, 214, 96, 96, 215, 96, 731, 98, 216, 98, 731, 217, 96, 731, 218, 96, 98, 96, 96, 98, 98, 96, 98, 219, 96, 96, 221, 222, 731, 98, 220, 96, 98, 96, 98, 98, 96, 96, 98, 731, 225, 98, 98, 227, 731, 228, 226, 731, 98, 96, 98, 224, 229, 98, 98, 96, 230, 231, 234, 233, 96, 232, 240, 241, 236, 242, 98, 237, 731, 96, 96, 731, 98, 243, 96, 731, 235, 98, 238, 731, 239, 245, 731, 250, 244, 248, 98, 98, 249, 96, 246, 98, 247, 252, 731, 252, 96, 251, 253, 253, 253, 253, 253, 253, 253, 160, 98, 160, 160, 160, 256, 263, 256, 98, 266, 257, 257, 257, 257, 257, 257, 257, 731, 160, 264, 731, 160, 160, 270, 160, 161, 161, 161, 161, 161, 161, 161, 163, 731, 163, 163, 163, 275, 96, 731, 96, 254, 255, 265, 255, 255, 255, 731, 731, 731, 163, 731, 731, 163, 163, 98, 163, 98, 731, 254, 255, 731, 731, 255, 255, 96, 255, 164, 164, 164, 731, 164, 166, 166, 166, 166, 166, 166, 166, 96, 731, 271, 98, 731, 260, 731, 164, 164, 731, 164, 731, 283, 272, 96, 96, 731, 98, 164, 166, 166, 166, 166, 166, 166, 166, 261, 261, 261, 262, 261, 98, 98, 96, 96, 731, 258, 267, 258, 258, 258, 731, 731, 268, 269, 261, 261, 96, 261, 96, 98, 98, 262, 96, 258, 96, 261, 258, 258, 273, 258, 96, 274, 96, 98, 731, 98, 96, 281, 96, 98, 96, 98, 96, 96, 731, 96, 276, 98, 731, 98, 96, 277, 731, 98, 96, 98, 96, 98, 96, 98, 98, 278, 98, 279, 96, 284, 96, 98, 731, 285, 96, 98, 96, 98, 96, 98, 282, 96, 287, 280, 288, 98, 731, 98, 731, 293, 286, 98, 96, 98, 731, 98, 96, 96, 98, 96, 289, 302, 294, 290, 291, 292, 299, 731, 296, 98, 297, 295, 96, 98, 98, 96, 98, 96, 298, 731, 300, 96, 303, 96, 301, 305, 304, 96, 96, 98, 96, 96, 98, 96, 98, 96, 306, 307, 98, 96, 98, 96, 312, 316, 98, 98, 96, 98, 98, 731, 98, 96, 98, 96, 731, 96, 98, 731, 98, 96, 96, 96, 96, 98, 96, 313, 308, 96, 98, 309, 98, 311, 98, 310, 314, 315, 98, 98, 98, 98, 96, 98, 96, 96, 98, 96, 319, 731, 731, 320, 317, 96, 96, 96, 318, 321, 731, 98, 731, 98, 98, 96, 98, 731, 322, 326, 328, 731, 98, 98, 98, 96, 323, 325, 96, 324, 96, 96, 98, 96, 327, 96, 329, 96, 331, 731, 96, 96, 98, 96, 731, 98, 731, 98, 98, 334, 98, 96, 98, 330, 98, 332, 333, 98, 98, 731, 98, 336, 731, 337, 335, 731, 731, 731, 98, 731, 340, 339, 731, 341, 253, 253, 253, 253, 253, 253, 253, 361, 96, 338, 342, 253, 253, 253, 253, 253, 253, 253, 257, 257, 257, 257, 257, 257, 257, 98, 731, 359, 160, 358, 160, 160, 160, 343, 731, 343, 731, 731, 344, 344, 344, 344, 344, 344, 344, 731, 160, 731, 731, 160, 160, 255, 160, 255, 255, 255, 352, 96, 352, 354, 731, 353, 353, 353, 353, 353, 353, 353, 731, 255, 731, 96, 255, 255, 98, 255, 257, 257, 257, 257, 257, 257, 257, 258, 731, 258, 258, 258, 98, 731, 731, 731, 96, 163, 731, 163, 163, 163, 731, 731, 731, 258, 731, 731, 258, 258, 96, 258, 96, 98, 731, 163, 355, 363, 163, 163, 345, 163, 346, 346, 346, 347, 96, 98, 349, 98, 350, 350, 350, 351, 96, 261, 261, 261, 345, 261, 731, 346, 346, 98, 346, 96, 349, 96, 347, 350, 350, 98, 350, 367, 261, 261, 351, 261, 356, 96, 96, 96, 98, 362, 98, 261, 96, 96, 96, 96, 96, 96, 96, 96, 357, 96, 98, 98, 98, 96, 96, 731, 360, 98, 98, 98, 98, 98, 98, 98, 98, 96, 98, 96, 731, 731, 98, 98, 365, 96, 731, 731, 369, 364, 731, 366, 368, 731, 98, 96, 98, 375, 373, 96, 96, 731, 98, 370, 372, 374, 731, 371, 377, 96, 376, 731, 98, 96, 380, 96, 98, 98, 378, 731, 381, 382, 96, 379, 96, 96, 98, 96, 383, 96, 98, 96, 98, 96, 96, 96, 384, 96, 96, 98, 96, 98, 98, 96, 98, 96, 98, 96, 98, 731, 98, 98, 98, 386, 98, 98, 96, 98, 385, 397, 98, 731, 98, 96, 98, 96, 390, 387, 96, 96, 96, 96, 731, 98, 389, 388, 731, 96, 395, 731, 98, 96, 98, 391, 96, 98, 98, 98, 98, 393, 392, 394, 96, 396, 98, 398, 400, 96, 98, 96, 399, 98, 96, 96, 96, 96, 96, 401, 731, 98, 731, 731, 731, 402, 98, 96, 98, 96, 731, 98, 98, 98, 98, 98, 96, 403, 405, 406, 408, 410, 404, 731, 98, 96, 98, 407, 96, 411, 96, 96, 96, 98, 96, 731, 413, 731, 409, 415, 416, 731, 98, 96, 731, 98, 414, 98, 98, 98, 417, 98, 412, 344, 344, 344, 344, 344, 344, 344, 98, 346, 418, 346, 346, 346, 731, 96, 731, 731, 731, 419, 731, 731, 731, 420, 423, 731, 422, 346, 731, 731, 346, 346, 98, 346, 96, 96, 421, 344, 344, 344, 344, 344, 344, 344, 353, 353, 353, 353, 353, 353, 353, 98, 98, 731, 255, 731, 255, 255, 255, 424, 731, 424, 731, 433, 425, 425, 425, 425, 425, 425, 425, 731, 255, 435, 96, 255, 255, 426, 255, 427, 427, 427, 428, 96, 731, 350, 432, 350, 350, 350, 731, 98, 731, 731, 96, 426, 731, 731, 427, 427, 98, 427, 731, 350, 731, 428, 350, 350, 429, 350, 429, 98, 731, 430, 430, 430, 430, 430, 430, 430, 353, 353, 353, 353, 353, 353, 353, 96, 731, 434, 436, 96, 96, 96, 96, 96, 731, 431, 731, 431, 431, 431, 731, 96, 98, 437, 96, 731, 98, 98, 98, 98, 98, 96, 96, 431, 96, 96, 431, 431, 98, 431, 96, 98, 443, 731, 731, 96, 444, 438, 98, 98, 96, 98, 98, 96, 731, 441, 96, 98, 96, 731, 442, 440, 98, 96, 96, 96, 439, 98, 448, 96, 98, 445, 450, 98, 446, 98, 447, 731, 731, 449, 98, 98, 98, 96, 96, 96, 98, 731, 96, 96, 453, 96, 731, 451, 454, 455, 96, 96, 452, 731, 98, 98, 98, 731, 457, 98, 98, 96, 98, 459, 96, 96, 731, 98, 98, 731, 456, 731, 731, 96, 458, 96, 96, 731, 98, 96, 96, 98, 98, 462, 731, 96, 463, 731, 460, 461, 98, 96, 98, 98, 466, 96, 98, 98, 464, 96, 465, 468, 98, 96, 467, 96, 731, 96, 98, 96, 96, 96, 98, 477, 96, 96, 98, 96, 470, 471, 98, 96, 98, 469, 98, 96, 98, 98, 98, 96, 731, 98, 98, 96, 98, 472, 731, 475, 98, 731, 731, 96, 98, 473, 731, 96, 98, 474, 731, 731, 98, 96, 96, 478, 480, 481, 482, 476, 98, 731, 479, 484, 98, 731, 96, 486, 483, 731, 98, 98, 96, 96, 96, 96, 731, 485, 487, 731, 731, 731, 489, 98, 731, 96, 488, 490, 731, 98, 98, 98, 98, 96, 492, 425, 425, 425, 425, 425, 425, 425, 98, 731, 731, 427, 491, 427, 427, 427, 98, 96, 494, 500, 493, 425, 425, 425, 425, 425, 425, 425, 731, 427, 96, 731, 427, 427, 98, 427, 731, 731, 346, 502, 346, 346, 346, 495, 498, 495, 731, 98, 496, 496, 496, 496, 496, 496, 496, 731, 346, 504, 731, 346, 346, 497, 346, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, 431, 731, 431, 431, 431, 731, 499, 731, 96, 96, 350, 731, 350, 350, 350, 731, 96, 731, 431, 96, 96, 431, 431, 96, 431, 98, 98, 96, 350, 96, 96, 350, 350, 98, 350, 96, 98, 98, 96, 508, 98, 96, 96, 509, 98, 96, 98, 98, 96, 96, 96, 96, 98, 96, 96, 98, 501, 731, 98, 98, 503, 731, 98, 96, 511, 98, 98, 98, 98, 731, 98, 98, 506, 505, 96, 512, 507, 731, 513, 731, 98, 731, 96, 731, 731, 731, 510, 731, 96, 731, 96, 98, 517, 96, 520, 514, 521, 96, 519, 98, 515, 518, 516, 96, 522, 98, 523, 98, 731, 731, 98, 525, 524, 96, 98, 96, 96, 526, 96, 96, 98, 96, 96, 96, 96, 527, 528, 96, 96, 731, 98, 96, 98, 98, 731, 98, 98, 96, 98, 98, 98, 98, 96, 96, 98, 98, 529, 96, 98, 96, 731, 530, 96, 96, 98, 731, 96, 531, 96, 98, 98, 96, 533, 96, 98, 731, 98, 534, 96, 98, 98, 96, 536, 98, 532, 98, 96, 96, 98, 537, 98, 96, 535, 96, 96, 98, 731, 96, 98, 96, 96, 731, 96, 98, 98, 96, 96, 96, 98, 731, 98, 98, 96, 538, 98, 96, 98, 98, 541, 98, 96, 539, 98, 98, 98, 540, 543, 542, 556, 98, 544, 731, 98, 731, 547, 731, 731, 98, 545, 549, 96, 551, 546, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 98, 96, 548, 550, 96, 553, 552, 96, 96, 96, 427, 731, 427, 427, 427, 731, 96, 731, 98, 96, 554, 98, 96, 96, 98, 98, 98, 555, 427, 96, 96, 427, 427, 98, 427, 731, 98, 731, 96, 98, 98, 96, 731, 96, 96, 731, 98, 98, 96, 96, 558, 96, 557, 731, 561, 98, 96, 731, 98, 559, 98, 98, 560, 731, 562, 98, 98, 96, 98, 96, 563, 96, 731, 98, 565, 731, 731, 96, 566, 96, 564, 96, 567, 731, 98, 96, 98, 96, 98, 568, 96, 96, 571, 572, 98, 96, 98, 569, 98, 96, 570, 96, 98, 96, 98, 96, 731, 98, 98, 96, 731, 96, 98, 96, 96, 96, 98, 96, 98, 96, 98, 575, 98, 576, 731, 96, 98, 573, 98, 731, 98, 98, 98, 574, 98, 731, 98, 96, 96, 731, 96, 580, 98, 731, 96, 96, 578, 96, 731, 579, 577, 96, 583, 731, 98, 98, 584, 98, 581, 585, 582, 98, 98, 96, 98, 586, 96, 731, 98, 731, 588, 96, 96, 96, 731, 587, 731, 96, 96, 731, 98, 96, 96, 98, 591, 731, 593, 96, 98, 98, 98, 590, 592, 594, 98, 98, 589, 96, 98, 98, 731, 96, 595, 96, 98, 96, 731, 731, 96, 96, 96, 96, 96, 96, 98, 731, 96, 596, 98, 96, 98, 96, 98, 599, 597, 98, 98, 98, 98, 98, 98, 598, 601, 98, 96, 731, 98, 96, 98, 731, 600, 731, 604, 96, 602, 96, 96, 606, 96, 96, 731, 98, 611, 96, 98, 605, 610, 96, 609, 603, 98, 96, 98, 98, 731, 98, 98, 607, 608, 96, 98, 96, 96, 96, 98, 731, 731, 731, 98, 731, 96, 612, 96, 96, 96, 96, 98, 96, 98, 98, 98, 731, 614, 615, 613, 620, 617, 98, 96, 98, 98, 98, 98, 96, 98, 731, 96, 731, 619, 96, 731, 616, 622, 731, 96, 98, 96, 96, 96, 618, 98, 624, 625, 98, 626, 621, 98, 629, 96, 96, 623, 98, 96, 98, 98, 98, 731, 627, 630, 96, 96, 96, 96, 628, 96, 98, 98, 96, 96, 98, 632, 631, 731, 633, 96, 731, 98, 98, 98, 98, 96, 98, 644, 96, 98, 98, 96, 96, 731, 634, 635, 98, 636, 96, 637, 731, 96, 98, 96, 96, 98, 96, 96, 98, 98, 639, 640, 638, 96, 731, 98, 731, 641, 98, 96, 98, 98, 731, 98, 98, 731, 731, 96, 96, 96, 98, 646, 96, 642, 96, 96, 98, 96, 96, 643, 647, 645, 648, 649, 98, 98, 98, 96, 731, 98, 96, 98, 98, 731, 98, 98, 731, 731, 96, 96, 96, 96, 731, 96, 98, 651, 96, 98, 96, 96, 652, 96, 650, 654, 657, 98, 98, 98, 98, 659, 98, 96, 731, 98, 96, 98, 98, 655, 98, 660, 653, 656, 96, 96, 96, 96, 96, 96, 98, 662, 658, 98, 665, 661, 96, 666, 96, 667, 96, 98, 98, 98, 98, 98, 98, 96, 96, 96, 96, 96, 668, 98, 731, 98, 669, 98, 731, 96, 731, 96, 731, 731, 98, 98, 98, 98, 98, 672, 731, 670, 96, 96, 675, 677, 98, 680, 98, 678, 671, 96, 731, 673, 96, 674, 96, 676, 681, 98, 98, 731, 679, 96, 96, 683, 96, 96, 98, 684, 96, 98, 731, 98, 96, 96, 96, 96, 682, 96, 98, 98, 96, 98, 98, 96, 96, 98, 96, 685, 731, 98, 98, 98, 98, 686, 98, 96, 687, 98, 96, 731, 98, 98, 96, 98, 731, 690, 688, 96, 96, 731, 731, 692, 98, 731, 731, 98, 691, 96, 96, 98, 96, 689, 731, 96, 98, 98, 696, 694, 96, 693, 698, 700, 96, 96, 98, 98, 731, 98, 695, 697, 98, 96, 96, 96, 96, 98, 96, 731, 96, 98, 98, 699, 731, 701, 731, 96, 96, 731, 98, 98, 98, 98, 96, 98, 702, 98, 96, 96, 731, 706, 96, 703, 98, 98, 704, 96, 96, 96, 705, 98, 731, 709, 96, 98, 98, 707, 711, 98, 708, 96, 731, 731, 98, 98, 98, 96, 96, 710, 712, 98, 731, 96, 714, 96, 713, 96, 98, 718, 717, 715, 96, 731, 98, 98, 96, 96, 731, 721, 98, 716, 98, 96, 98, 96, 96, 719, 731, 98, 720, 731, 731, 98, 98, 722, 731, 731, 731, 731, 98, 731, 98, 98, 731, 731, 731, 731, 731, 725, 731, 731, 731, 731, 731, 727, 723, 731, 731, 724, 731, 731, 729, 731, 730, 726, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 728, 61, 61, 61, 61, 61, 61, 61, 61, 61, 68, 68, 731, 68, 68, 68, 68, 68, 68, 97, 731, 731, 731, 97, 97, 97, 97, 168, 168, 168, 169, 169, 169, 174, 174, 174, 174, 174, 174, 174, 174, 174, 259, 259, 348, 348, 731, 348, 664, 731, 664, 664, 664, 664, 3, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731
202 static const short int yy_chk[2890] =
204 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, 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, 10, 13, 13, 14, 19, 664, 22, 21, 22, 22, 22, 22, 22, 22, 22, 30, 30, 23, 644, 19, 21, 21, 23, 14, 176, 32, 25, 25, 25, 25, 25, 25, 25, 23, 26, 28, 101, 33, 26, 61, 10, 24, 32, 24, 24, 24, 24, 24, 24, 24, 25, 39, 68, 28, 33, 28, 28, 40, 41, 24, 57, 98, 24, 24, 24, 34, 24, 24, 39, 34, 34, 44, 38, 96, 40, 41, 47, 24, 25, 61, 95, 24, 24, 42, 24, 43, 34, 68, 44, 38, 49, 33, 24, 47, 69, 24, 38, 38, 41, 91, 42, 38, 43, 69, 39, 41, 57, 49, 39, 41, 39, 38, 41, 40, 45, 48, 38, 85, 46, 44, 38, 76, 44, 42, 42, 44, 52, 42, 50, 38, 47, 45, 48, 51, 42, 46, 43, 42, 43, 55, 53, 63, 100, 52, 97, 50, 49, 43, 54, 49, 51, 37, 107, 29, 18, 48, 55, 53, 45, 48, 15, 97, 9, 46, 3, 54, 110, 99, 45, 107, 46, 46, 50, 52, 0, 46, 0, 51, 0, 55, 51, 51, 100, 110, 99, 0, 55, 0, 53, 52, 0, 51, 51, 53, 51, 113, 54, 0, 131, 109, 115, 103, 54, 77, 77, 77, 77, 77, 77, 77, 0, 105, 113, 0, 107, 131, 109, 115, 103, 77, 77, 99, 77, 77, 77, 83, 0, 83, 105, 110, 83, 83, 83, 83, 83, 83, 83, 77, 77, 113, 115, 77, 77, 104, 77, 81, 81, 81, 81, 81, 81, 81, 84, 84, 84, 103, 84, 109, 108, 112, 104, 81, 81, 105, 81, 81, 81, 174, 111, 0, 0, 84, 84, 0, 84, 108, 112, 0, 0, 81, 81, 116, 84, 81, 81, 111, 81, 82, 0, 82, 82, 82, 82, 82, 82, 82, 114, 104, 116, 117, 0, 118, 119, 0, 0, 82, 0, 174, 82, 82, 82, 108, 82, 114, 121, 122, 117, 112, 118, 119, 111, 116, 0, 82, 120, 124, 136, 82, 82, 123, 82, 121, 122, 0, 125, 0, 0, 126, 82, 106, 127, 120, 124, 136, 128, 129, 123, 119, 0, 130, 119, 125, 117, 114, 126, 132, 106, 127, 0, 118, 119, 128, 129, 0, 0, 121, 130, 0, 134, 120, 0, 133, 132, 135, 122, 120, 0, 0, 136, 106, 106, 106, 106, 106, 124, 134, 123, 106, 133, 137, 135, 138, 125, 126, 127, 106, 106, 106, 140, 106, 128, 139, 141, 129, 142, 0, 137, 130, 138, 0, 132, 143, 0, 133, 146, 140, 147, 148, 139, 141, 145, 142, 133, 144, 153, 134, 135, 0, 143, 133, 149, 146, 150, 147, 148, 151, 152, 145, 0, 138, 144, 153, 139, 0, 140, 138, 0, 149, 154, 150, 137, 140, 151, 152, 169, 140, 140, 143, 142, 173, 141, 145, 146, 144, 147, 154, 144, 0, 181, 177, 0, 169, 148, 179, 0, 143, 173, 144, 0, 144, 150, 0, 153, 149, 152, 181, 177, 152, 185, 150, 179, 151, 159, 0, 159, 178, 154, 159, 159, 159, 159, 159, 159, 159, 160, 185, 160, 160, 160, 162, 173, 162, 178, 179, 162, 162, 162, 162, 162, 162, 162, 0, 160, 177, 0, 160, 160, 181, 160, 161, 161, 161, 161, 161, 161, 161, 163, 0, 163, 163, 163, 185, 182, 0, 191, 161, 161, 178, 161, 161, 161, 0, 0, 0, 163, 0, 0, 163, 163, 182, 163, 191, 0, 161, 161, 0, 0, 161, 161, 180, 161, 164, 164, 164, 0, 164, 165, 165, 165, 165, 165, 165, 165, 184, 0, 182, 180, 0, 168, 0, 164, 164, 0, 164, 0, 191, 182, 189, 183, 0, 184, 164, 166, 166, 166, 166, 166, 166, 166, 168, 168, 168, 168, 168, 189, 183, 186, 187, 0, 166, 180, 166, 166, 166, 0, 0, 180, 180, 168, 168, 188, 168, 190, 186, 187, 168, 192, 166, 194, 168, 166, 166, 183, 166, 193, 184, 195, 188, 0, 190, 197, 189, 196, 192, 198, 194, 199, 200, 0, 201, 186, 193, 0, 195, 202, 187, 0, 197, 203, 196, 208, 198, 206, 199, 200, 187, 201, 188, 204, 192, 205, 202, 0, 193, 210, 203, 207, 208, 209, 206, 190, 211, 196, 188, 197, 204, 0, 205, 0, 201, 195, 210, 212, 207, 0, 209, 214, 213, 211, 215, 198, 208, 202, 199, 200, 200, 206, 0, 204, 212, 205, 203, 216, 214, 213, 217, 215, 218, 205, 0, 207, 221, 209, 219, 207, 211, 210, 220, 222, 216, 225, 223, 217, 224, 218, 227, 212, 213, 221, 226, 219, 228, 220, 224, 220, 222, 230, 225, 223, 0, 224, 229, 227, 231, 0, 232, 226, 0, 228, 233, 234, 235, 236, 230, 237, 221, 216, 238, 229, 217, 231, 219, 232, 218, 222, 223, 233, 234, 235, 236, 239, 237, 240, 241, 238, 242, 227, 0, 0, 228, 225, 243, 244, 245, 226, 229, 0, 239, 0, 240, 241, 246, 242, 0, 230, 235, 237, 0, 243, 244, 245, 247, 231, 234, 248, 233, 249, 250, 246, 251, 236, 263, 238, 271, 240, 0, 286, 288, 247, 269, 0, 248, 0, 249, 250, 243, 251, 268, 263, 239, 271, 241, 242, 286, 288, 0, 269, 245, 0, 246, 244, 0, 0, 0, 268, 0, 249, 248, 0, 250, 252, 252, 252, 252, 252, 252, 252, 271, 264, 247, 251, 253, 253, 253, 253, 253, 253, 253, 256, 256, 256, 256, 256, 256, 256, 264, 0, 269, 253, 268, 253, 253, 253, 254, 0, 254, 0, 0, 254, 254, 254, 254, 254, 254, 254, 0, 253, 0, 0, 253, 253, 255, 253, 255, 255, 255, 262, 265, 262, 264, 0, 262, 262, 262, 262, 262, 262, 262, 0, 255, 0, 273, 255, 255, 265, 255, 257, 257, 257, 257, 257, 257, 257, 258, 0, 258, 258, 258, 273, 0, 0, 0, 276, 257, 0, 257, 257, 257, 0, 0, 0, 258, 0, 0, 258, 258, 272, 258, 266, 276, 0, 257, 265, 273, 257, 257, 259, 257, 259, 259, 259, 259, 267, 272, 260, 266, 260, 260, 260, 260, 270, 261, 261, 261, 259, 261, 0, 259, 259, 267, 259, 274, 260, 275, 259, 260, 260, 270, 260, 276, 261, 261, 260, 261, 266, 278, 277, 279, 274, 272, 275, 261, 280, 281, 282, 284, 285, 283, 287, 289, 267, 290, 278, 277, 279, 291, 292, 0, 270, 280, 281, 282, 284, 285, 283, 287, 289, 294, 290, 293, 0, 0, 291, 292, 275, 295, 0, 0, 278, 274, 0, 275, 277, 0, 294, 296, 293, 284, 282, 297, 298, 0, 295, 279, 281, 283, 0, 280, 287, 299, 285, 0, 296, 300, 292, 302, 297, 298, 290, 0, 293, 294, 301, 291, 303, 304, 299, 305, 295, 306, 300, 307, 302, 308, 310, 309, 296, 313, 314, 301, 311, 303, 304, 315, 305, 312, 306, 316, 307, 0, 308, 310, 309, 298, 313, 314, 317, 311, 297, 312, 315, 0, 312, 318, 316, 319, 302, 299, 320, 321, 322, 323, 0, 317, 301, 300, 0, 324, 310, 0, 318, 327, 319, 305, 325, 320, 321, 322, 323, 307, 306, 309, 326, 311, 324, 313, 317, 328, 327, 329, 315, 325, 330, 331, 335, 332, 333, 318, 0, 326, 0, 0, 0, 319, 328, 334, 329, 336, 0, 330, 331, 335, 332, 333, 338, 320, 322, 323, 325, 327, 321, 0, 334, 337, 336, 324, 339, 328, 340, 341, 342, 338, 354, 0, 330, 0, 326, 332, 333, 0, 337, 377, 0, 339, 331, 340, 341, 342, 334, 354, 329, 343, 343, 343, 343, 343, 343, 343, 377, 346, 336, 346, 346, 346, 0, 356, 0, 0, 0, 337, 0, 0, 0, 338, 342, 0, 341, 346, 0, 0, 346, 346, 356, 346, 358, 355, 340, 344, 344, 344, 344, 344, 344, 344, 352, 352, 352, 352, 352, 352, 352, 358, 355, 0, 344, 0, 344, 344, 344, 347, 0, 347, 0, 356, 347, 347, 347, 347, 347, 347, 347, 0, 344, 358, 359, 344, 344, 348, 344, 348, 348, 348, 348, 357, 0, 350, 355, 350, 350, 350, 0, 359, 0, 0, 360, 348, 0, 0, 348, 348, 357, 348, 0, 350, 0, 348, 350, 350, 351, 350, 351, 360, 0, 351, 351, 351, 351, 351, 351, 351, 353, 353, 353, 353, 353, 353, 353, 361, 0, 357, 359, 362, 363, 364, 365, 367, 0, 353, 0, 353, 353, 353, 0, 368, 361, 360, 370, 0, 362, 363, 364, 365, 367, 366, 372, 353, 369, 371, 353, 353, 368, 353, 373, 370, 366, 0, 0, 374, 366, 361, 366, 372, 375, 369, 371, 376, 0, 364, 378, 373, 379, 0, 365, 363, 374, 380, 381, 383, 362, 375, 370, 382, 376, 367, 372, 378, 368, 379, 369, 0, 0, 371, 380, 381, 383, 384, 385, 386, 382, 0, 387, 388, 375, 389, 0, 373, 376, 378, 390, 391, 374, 0, 384, 385, 386, 0, 381, 387, 388, 392, 389, 383, 393, 394, 0, 390, 391, 0, 380, 0, 0, 395, 382, 396, 397, 0, 392, 398, 399, 393, 394, 386, 0, 400, 387, 0, 384, 385, 395, 401, 396, 397, 390, 402, 398, 399, 388, 403, 389, 392, 400, 404, 391, 405, 0, 406, 401, 407, 409, 408, 402, 404, 410, 411, 403, 413, 395, 396, 404, 412, 405, 394, 406, 414, 407, 409, 408, 415, 0, 410, 411, 416, 413, 399, 0, 402, 412, 0, 0, 417, 414, 400, 0, 418, 415, 401, 0, 0, 416, 419, 420, 405, 408, 409, 410, 403, 417, 0, 406, 412, 418, 0, 421, 414, 411, 0, 419, 420, 422, 423, 435, 437, 0, 413, 415, 0, 0, 0, 417, 421, 0, 433, 416, 417, 0, 422, 423, 435, 437, 439, 420, 424, 424, 424, 424, 424, 424, 424, 433, 0, 0, 427, 419, 427, 427, 427, 439, 432, 422, 435, 421, 425, 425, 425, 425, 425, 425, 425, 0, 427, 434, 0, 427, 427, 432, 427, 0, 0, 425, 437, 425, 425, 425, 428, 433, 428, 0, 434, 428, 428, 428, 428, 428, 428, 428, 0, 425, 439, 0, 425, 425, 432, 425, 429, 429, 429, 429, 429, 429, 429, 430, 430, 430, 430, 430, 430, 430, 431, 0, 431, 431, 431, 0, 434, 0, 436, 438, 430, 0, 430, 430, 430, 0, 440, 0, 431, 441, 446, 431, 431, 442, 431, 436, 438, 443, 430, 444, 445, 430, 430, 440, 430, 447, 441, 446, 448, 443, 442, 449, 450, 444, 443, 451, 444, 445, 452, 454, 453, 455, 447, 456, 457, 448, 436, 0, 449, 450, 438, 0, 451, 459, 446, 452, 454, 453, 455, 0, 456, 457, 441, 440, 458, 447, 442, 0, 448, 0, 459, 0, 460, 0, 0, 0, 445, 0, 461, 0, 462, 458, 452, 463, 455, 449, 455, 464, 454, 460, 450, 453, 451, 465, 455, 461, 455, 462, 0, 0, 463, 457, 456, 466, 464, 467, 468, 458, 469, 470, 465, 471, 472, 473, 474, 459, 460, 475, 476, 0, 466, 477, 467, 468, 0, 469, 470, 478, 471, 472, 473, 474, 479, 480, 475, 476, 461, 481, 477, 482, 0, 464, 483, 484, 478, 0, 485, 465, 486, 479, 480, 487, 472, 489, 481, 0, 482, 473, 488, 483, 484, 490, 476, 485, 468, 486, 491, 492, 487, 478, 489, 493, 474, 494, 500, 488, 0, 497, 490, 498, 501, 0, 503, 491, 492, 504, 499, 505, 493, 0, 494, 500, 508, 483, 497, 502, 498, 501, 488, 503, 506, 484, 504, 499, 505, 486, 490, 489, 508, 508, 491, 0, 502, 0, 494, 0, 0, 506, 492, 498, 507, 501, 493, 495, 495, 495, 495, 495, 495, 495, 496, 496, 496, 496, 496, 496, 496, 507, 509, 497, 499, 510, 505, 502, 511, 512, 514, 496, 0, 496, 496, 496, 0, 515, 0, 509, 513, 506, 510, 516, 517, 511, 512, 514, 507, 496, 518, 519, 496, 496, 515, 496, 0, 513, 0, 520, 516, 517, 521, 0, 522, 523, 0, 518, 519, 524, 525, 511, 526, 510, 0, 514, 520, 527, 0, 521, 512, 522, 523, 513, 0, 515, 524, 525, 528, 526, 529, 516, 530, 0, 527, 519, 0, 0, 531, 520, 532, 518, 533, 520, 0, 528, 534, 529, 535, 530, 521, 536, 537, 524, 525, 531, 538, 532, 522, 533, 539, 523, 540, 534, 541, 535, 543, 0, 536, 537, 545, 0, 542, 538, 544, 547, 546, 539, 548, 540, 549, 541, 532, 543, 533, 0, 550, 545, 530, 542, 0, 544, 547, 546, 531, 548, 0, 549, 551, 552, 0, 553, 539, 550, 0, 554, 556, 536, 555, 0, 537, 535, 557, 542, 0, 551, 552, 544, 553, 540, 546, 541, 554, 556, 558, 555, 547, 559, 0, 557, 0, 550, 560, 561, 562, 0, 549, 0, 563, 564, 0, 558, 565, 566, 559, 553, 0, 555, 567, 560, 561, 562, 552, 554, 557, 563, 564, 551, 568, 565, 566, 0, 570, 558, 569, 567, 571, 0, 0, 572, 573, 574, 575, 576, 577, 568, 0, 578, 559, 570, 579, 569, 581, 571, 565, 562, 572, 573, 574, 575, 576, 577, 563, 567, 578, 580, 0, 579, 582, 581, 0, 566, 0, 569, 583, 567, 584, 585, 572, 587, 586, 0, 580, 577, 591, 582, 570, 576, 588, 575, 568, 583, 589, 584, 585, 0, 587, 586, 573, 574, 590, 591, 592, 594, 593, 588, 0, 0, 0, 589, 0, 597, 580, 595, 596, 598, 599, 590, 600, 592, 594, 593, 0, 583, 586, 582, 591, 588, 597, 601, 595, 596, 598, 599, 602, 600, 0, 603, 0, 590, 604, 0, 587, 593, 0, 605, 601, 606, 607, 608, 589, 602, 595, 596, 603, 597, 592, 604, 600, 609, 610, 594, 605, 611, 606, 607, 608, 0, 598, 601, 612, 613, 614, 615, 599, 616, 609, 610, 617, 618, 611, 603, 602, 0, 604, 619, 0, 612, 613, 614, 615, 620, 616, 620, 621, 617, 618, 622, 623, 0, 605, 606, 619, 609, 624, 611, 0, 625, 620, 626, 627, 621, 628, 629, 622, 623, 614, 617, 612, 630, 0, 624, 0, 618, 625, 631, 626, 627, 0, 628, 629, 0, 0, 632, 633, 634, 630, 623, 635, 619, 637, 636, 631, 639, 640, 619, 625, 621, 626, 627, 632, 633, 634, 638, 0, 635, 641, 637, 636, 0, 639, 640, 0, 0, 642, 643, 647, 649, 0, 645, 638, 631, 646, 641, 648, 650, 632, 651, 630, 634, 637, 642, 643, 647, 649, 639, 645, 652, 0, 646, 653, 648, 650, 635, 651, 641, 633, 636, 654, 655, 656, 657, 658, 659, 652, 643, 638, 653, 645, 642, 660, 646, 662, 648, 666, 654, 655, 656, 657, 658, 659, 661, 667, 665, 668, 669, 650, 660, 0, 662, 651, 666, 0, 670, 0, 671, 0, 0, 661, 667, 665, 668, 669, 655, 0, 653, 672, 673, 658, 660, 670, 662, 671, 660, 654, 675, 0, 656, 674, 657, 676, 659, 665, 672, 673, 0, 661, 677, 678, 669, 679, 680, 675, 670, 681, 674, 0, 676, 682, 683, 684, 685, 668, 686, 677, 678, 687, 679, 680, 691, 688, 681, 689, 671, 0, 682, 683, 684, 685, 672, 686, 690, 674, 687, 692, 0, 691, 688, 693, 689, 0, 680, 678, 694, 695, 0, 0, 682, 690, 0, 0, 692, 680, 696, 697, 693, 698, 679, 0, 699, 694, 695, 687, 684, 700, 683, 689, 691, 701, 702, 696, 697, 0, 698, 685, 688, 699, 703, 704, 706, 705, 700, 707, 0, 708, 701, 702, 690, 0, 692, 0, 709, 710, 0, 703, 704, 706, 705, 712, 707, 694, 708, 711, 713, 0, 699, 714, 696, 709, 710, 697, 715, 716, 717, 698, 712, 0, 702, 718, 711, 713, 700, 704, 714, 701, 719, 0, 0, 715, 716, 717, 720, 721, 703, 705, 718, 0, 722, 708, 723, 707, 724, 719, 712, 711, 709, 725, 0, 720, 721, 726, 728, 0, 717, 722, 710, 723, 727, 724, 729, 730, 714, 0, 725, 715, 0, 0, 726, 728, 719, 0, 0, 0, 0, 727, 0, 729, 730, 0, 0, 0, 0, 0, 723, 0, 0, 0, 0, 0, 725, 721, 0, 0, 722, 0, 0, 727, 0, 729, 724, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 726, 732, 732, 732, 732, 732, 732, 732, 732, 732, 733, 733, 0, 733, 733, 733, 733, 733, 733, 734, 0, 0, 0, 734, 734, 734, 734, 735, 735, 735, 736, 736, 736, 737, 737, 737, 737, 737, 737, 737, 737, 737, 738, 738, 739, 739, 0, 739, 740, 0, 740, 740, 740, 740, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, 731
207 static yy_state_type yy_last_accepting_state;
209 static char * yy_last_accepting_cpos;
215 IDENTIFIER = 258, CONSTANT = 259, STRING_LITERAL = 260, SIZEOF = 261, PTR_OP = 262, INC_OP = 263, DEC_OP = 264, LEFT_OP = 265, RIGHT_OP = 266, LE_OP = 267, GE_OP = 268, EQ_OP = 269, NE_OP = 270, AND_OP = 271, OR_OP = 272, MUL_ASSIGN = 273, DIV_ASSIGN = 274, MOD_ASSIGN = 275, ADD_ASSIGN = 276, SUB_ASSIGN = 277, LEFT_ASSIGN = 278, RIGHT_ASSIGN = 279, AND_ASSIGN = 280, XOR_ASSIGN = 281, OR_ASSIGN = 282, TYPE_NAME = 283, TYPEDEF = 284, EXTERN = 285, STATIC = 286, AUTO = 287, REGISTER = 288, CHAR = 289, SHORT = 290, INT = 291, UINT = 292, INT64 = 293, INT128 = 294, LONG = 295, SIGNED = 296, UNSIGNED = 297, FLOAT = 298, DOUBLE = 299, CONST = 300, VOLATILE = 301, VOID = 302, VALIST = 303, STRUCT = 304, UNION = 305, ENUM = 306, ELLIPSIS = 307, CASE = 308, DEFAULT = 309, IF = 310, SWITCH = 311, WHILE = 312, DO = 313, FOR = 314, GOTO = 315, CONTINUE = 316, BREAK = 317, RETURN = 318, IFX = 319, ELSE = 320, CLASS = 321, THISCLASS = 322, CLASS_NAME = 323, PROPERTY = 324, SETPROP = 325, GETPROP = 326, NEWOP = 327, RENEW = 328, DELETE = 329, EXT_DECL = 330, EXT_STORAGE = 331, IMPORT = 332, DEFINE = 333, VIRTUAL = 334, ATTRIB = 335, PUBLIC = 336, PRIVATE = 337, TYPED_OBJECT = 338, ANY_OBJECT = 339, _INCREF = 340, EXTENSION = 341, ASM = 342, TYPEOF = 343, WATCH = 344, STOPWATCHING = 345, FIREWATCHERS = 346, WATCHABLE = 347, CLASS_DESIGNER = 348, CLASS_NO_EXPANSION = 349, CLASS_FIXED = 350, ISPROPSET = 351, CLASS_DEFAULT_PROPERTY = 352, PROPERTY_CATEGORY = 353, CLASS_DATA = 354, CLASS_PROPERTY = 355, SUBCLASS = 356, NAMESPACE = 357, NEW0OP = 358, RENEW0 = 359, VAARG = 360, DBTABLE = 361, DBFIELD = 362, DBINDEX = 363, DATABASE_OPEN = 364, ALIGNOF = 365, ATTRIB_DEP = 366, __ATTRIB = 367, BOOL = 368, _BOOL = 369, _COMPLEX = 370, _IMAGINARY = 371, RESTRICT = 372, THREAD = 373, WIDE_STRING_LITERAL = 374, BUILTIN_OFFSETOF = 375
218 unsigned int echoOn = 1;
224 char sourceFileStack[30][797];
226 int declModeStack[30];
228 int include_stack_ptr = 0;
230 extern int yywrap(void);
232 static int input(void);
234 extern int defaultDeclMode;
238 extern int structDeclMode;
240 extern unsigned int inCompiler;
249 struct __ecereNameSpace__ecere__sys__BTNode;
251 struct __ecereNameSpace__ecere__sys__OldList
262 struct __ecereNameSpace__ecere__com__DataValue
277 } ecere_gcc_struct __anon1;
280 struct __ecereNameSpace__ecere__com__SerialBuffer
282 unsigned char * _buffer;
288 extern void * __ecereNameSpace__ecere__com__eSystem_New(unsigned int size);
290 extern void * __ecereNameSpace__ecere__com__eSystem_New0(unsigned int size);
292 extern void * __ecereNameSpace__ecere__com__eSystem_Renew(void * memory, unsigned int size);
294 extern void * __ecereNameSpace__ecere__com__eSystem_Renew0(void * memory, unsigned int size);
296 extern void __ecereNameSpace__ecere__com__eSystem_Delete(void * memory);
312 struct InitDeclarator;
320 struct FunctionDefinition;
334 struct Instantiation;
340 struct ClassFunction;
342 struct ClassDefinition;
350 struct PropertyWatch;
352 struct TemplateParameter;
354 struct TemplateArgument;
356 struct TemplateDatatype;
372 extern char * strcpy(char * , const char * );
374 extern int check_type(void);
376 extern int printf(const char * , ...);
378 extern int yyerror(void);
380 extern int __ecereNameSpace__ecere__sys__GetValue(char * * buffer);
382 extern unsigned int __ecereNameSpace__ecere__sys__GetString(char * * buffer, char * string, int max);
384 extern char * __ecereNameSpace__ecere__sys__GetExtension(const char * string, char * output);
386 extern int strcmp(const char * , const char * );
388 extern int GetIncludeFileID(char * includeFile);
390 extern char * __ecereNameSpace__ecere__sys__TrimLSpaces(const char * string, char * output);
392 extern int strncmp(const char * , const char * , size_t n);
394 extern void * memmove(void * , const void * , size_t size);
396 extern size_t strlen(const char * );
398 extern char * strncpy(char * , const char * , size_t n);
400 extern const char * __ecereNameSpace__ecere__GetTranslatedString(const char * name, const char * string, const char * stringAndContext);
402 extern int FindIncludeFileID(char * includeFile);
404 extern void * memcpy(void * , const void * , size_t size);
406 struct __ecereNameSpace__ecere__com__GlobalFunction;
408 static void yy_flex_free(void * ptr)
413 static void * yy_flex_alloc(yy_size_t size)
415 return (void *)malloc(size);
418 static void * yy_flex_realloc(void * ptr, yy_size_t size)
420 return (void *)realloc((char *)ptr, size);
423 static void yy_fatal_error(const char msg[])
425 (void)fprintf((bsl_stderr()), "%s\n", msg);
429 static YY_BUFFER_STATE yy_current_buffer = 0;
431 void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer);
433 YY_BUFFER_STATE yy_create_buffer(FILE * file, int size);
435 void yy_delete_buffer(YY_BUFFER_STATE b);
437 void yy_init_buffer(YY_BUFFER_STATE b, FILE * file);
439 void yy_flush_buffer(YY_BUFFER_STATE b);
441 YY_BUFFER_STATE yy_scan_buffer(char * base, yy_size_t size);
443 YY_BUFFER_STATE yy_scan_string(const char * yy_str);
445 YY_BUFFER_STATE yy_scan_bytes(const char * bytes, int len);
447 YY_BUFFER_STATE include_stack[30];
449 static yy_state_type yy_get_previous_state()
451 register yy_state_type yy_current_state;
452 register char * yy_cp;
454 yy_current_state = yy_start;
455 for(yy_cp = yytext + 0; yy_cp < yy_c_buf_p; ++yy_cp)
457 register YY_CHAR yy_c = (*yy_cp ? yy_ec[((unsigned int)(unsigned char)*yy_cp)] : 1);
459 if(yy_accept[yy_current_state])
461 yy_last_accepting_state = yy_current_state;
462 yy_last_accepting_cpos = yy_cp;
464 while(yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
466 yy_current_state = (int)yy_def[yy_current_state];
467 if(yy_current_state >= 732)
468 yy_c = yy_meta[(unsigned int)yy_c];
470 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)yy_c];
472 return yy_current_state;
475 static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state)
477 register int yy_is_jam;
478 register char * yy_cp = yy_c_buf_p;
479 register YY_CHAR yy_c = 1;
481 if(yy_accept[yy_current_state])
483 yy_last_accepting_state = yy_current_state;
484 yy_last_accepting_cpos = yy_cp;
486 while(yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
488 yy_current_state = (int)yy_def[yy_current_state];
489 if(yy_current_state >= 732)
490 yy_c = yy_meta[(unsigned int)yy_c];
492 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)yy_c];
493 yy_is_jam = (yy_current_state == 731);
494 return yy_is_jam ? 0 : yy_current_state;
497 void SetEchoOn(unsigned int b)
502 typedef union YYSTYPE
507 struct Identifier * id;
508 struct Expression * exp;
509 struct Specifier * specifier;
510 struct __ecereNameSpace__ecere__sys__OldList * list;
511 struct Enumerator * enumerator;
512 struct Declarator * declarator;
513 struct Pointer * pointer;
514 struct Initializer * initializer;
515 struct InitDeclarator * initDeclarator;
516 struct TypeName * typeName;
517 struct Declaration * declaration;
518 struct Statement * stmt;
519 struct FunctionDefinition * function;
520 struct External * external;
521 struct Context * context;
522 struct AsmField * asmField;
523 struct Attrib * attrib;
524 struct ExtDecl * extDecl;
525 struct Attribute * attribute;
526 struct Instantiation * instance;
527 struct MembersInit * membersInit;
528 struct MemberInit * memberInit;
529 struct ClassFunction * classFunction;
530 struct ClassDefinition * _class;
531 struct ClassDef * classDef;
532 struct PropertyDef * prop;
534 struct Symbol * symbol;
535 struct PropertyWatch * propertyWatch;
536 struct TemplateParameter * templateParameter;
537 struct TemplateArgument * templateArgument;
538 struct TemplateDatatype * templateDatatype;
539 struct DBTableEntry * dbtableEntry;
540 struct DBIndexItem * dbindexItem;
541 struct DBTableDef * dbtableDef;
542 } ecere_gcc_struct YYSTYPE;
544 extern YYSTYPE yylval;
548 struct CodePosition start;
549 struct CodePosition end;
552 void SetSomeSourceFileStack(const char * fileName, int index)
554 strcpy(sourceFileStack[index], fileName);
561 *yy_c_buf_p = yy_hold_char;
564 if(yy_c_buf_p < &(*yy_current_buffer).yy_ch_buf[yy_n_chars])
568 int offset = yy_c_buf_p - yytext;
571 switch(yy_get_next_buffer())
579 if(!yy_did_buffer_switch_on_eof)
584 yy_c_buf_p = yytext + offset;
589 c = *(unsigned char *)yy_c_buf_p;
591 yy_hold_char = *++yy_c_buf_p;
595 void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
597 if(yy_current_buffer == new_buffer)
599 if(yy_current_buffer)
601 *yy_c_buf_p = yy_hold_char;
602 (*yy_current_buffer).yy_buf_pos = yy_c_buf_p;
603 (*yy_current_buffer).yy_n_chars = yy_n_chars;
605 yy_current_buffer = new_buffer;
606 yy_load_buffer_state();
607 yy_did_buffer_switch_on_eof = 1;
610 void yy_load_buffer_state(void)
612 yy_n_chars = (*yy_current_buffer).yy_n_chars;
613 yytext = yy_c_buf_p = (*yy_current_buffer).yy_buf_pos;
614 yyin = (*yy_current_buffer).yy_input_file;
615 yy_hold_char = *yy_c_buf_p;
618 void yy_delete_buffer(YY_BUFFER_STATE b)
622 if(b == yy_current_buffer)
623 yy_current_buffer = (YY_BUFFER_STATE)0;
624 if((*b).yy_is_our_buffer)
625 yy_flex_free((void *)(*b).yy_ch_buf);
626 yy_flex_free((void *)b);
629 void yy_flush_buffer(YY_BUFFER_STATE b)
634 (*b).yy_ch_buf[0] = 0;
635 (*b).yy_ch_buf[1] = 0;
636 (*b).yy_buf_pos = &(*b).yy_ch_buf[0];
638 (*b).yy_buffer_status = 0;
639 if(b == yy_current_buffer)
640 yy_load_buffer_state();
643 YY_BUFFER_STATE yy_scan_buffer(char * base, yy_size_t size)
647 if(size < 2 || base[size - 2] != 0 || base[size - 1] != 0)
649 b = (YY_BUFFER_STATE)yy_flex_alloc(sizeof(struct yy_buffer_state));
651 yy_fatal_error("out of dynamic memory in yy_scan_buffer()");
652 (*b).yy_buf_size = size - 2;
653 (*b).yy_buf_pos = (*b).yy_ch_buf = base;
654 (*b).yy_is_our_buffer = 0;
655 (*b).yy_input_file = 0;
656 (*b).yy_n_chars = (*b).yy_buf_size;
657 (*b).yy_is_interactive = 0;
659 (*b).yy_fill_buffer = 0;
660 (*b).yy_buffer_status = 0;
661 yy_switch_to_buffer(b);
665 void yyrestart(FILE * input_file)
667 if(!yy_current_buffer)
668 yy_current_buffer = yy_create_buffer(yyin, 16384);
669 yy_init_buffer(yy_current_buffer, input_file);
670 yy_load_buffer_state();
673 YY_BUFFER_STATE yy_create_buffer(FILE * file, int size)
677 b = (YY_BUFFER_STATE)yy_flex_alloc(sizeof(struct yy_buffer_state));
679 yy_fatal_error("out of dynamic memory in yy_create_buffer()");
680 (*b).yy_buf_size = size;
681 (*b).yy_ch_buf = (char *)yy_flex_alloc((*b).yy_buf_size + 2);
683 yy_fatal_error("out of dynamic memory in yy_create_buffer()");
684 (*b).yy_is_our_buffer = 1;
685 yy_init_buffer(b, file);
689 void yy_init_buffer(YY_BUFFER_STATE b, FILE * file)
692 (*b).yy_input_file = file;
693 (*b).yy_fill_buffer = 1;
694 (*b).yy_is_interactive = 0;
697 YY_BUFFER_STATE yy_scan_bytes(const char * bytes, int len)
705 buf = (char *)yy_flex_alloc(n);
707 yy_fatal_error("out of dynamic memory in yy_scan_bytes()");
708 for(i = 0; i < len; ++i)
710 buf[len] = buf[len + 1] = 0;
711 b = yy_scan_buffer(buf, n);
713 yy_fatal_error("bad buffer in yy_scan_bytes()");
714 (*b).yy_is_our_buffer = 1;
718 YY_BUFFER_STATE yy_scan_string(const char * yy_str)
722 for(len = 0; yy_str[len]; ++len)
724 return yy_scan_bytes(yy_str, len);
727 extern struct Location yylloc;
729 extern struct Location type_yylloc;
731 extern struct Location expression_yylloc;
733 struct Location locStack[30];
746 yylloc.end.charPos = 1;
752 yylloc.end.charPos++;
757 yylloc.end.charPos++;
760 if(c == '/' && last == '*')
764 yylloc.start = yylloc.end;
779 yylloc.end.charPos = 1;
786 yylloc.end.charPos++;
791 yylloc.end.charPos++;
795 yylloc.start = yylloc.end;
801 yylloc.end.charPos += yyleng;
802 yylloc.end.pos += yyleng;
803 type_yylloc.end.charPos += yyleng;
804 type_yylloc.end.pos += yyleng;
805 expression_yylloc.end.charPos += yyleng;
806 expression_yylloc.end.pos += yyleng;
811 yy_flush_buffer(yy_current_buffer);
812 yylloc.start.charPos = yylloc.end.charPos = 1;
813 yylloc.start.line = yylloc.end.line = 1;
814 yylloc.start.pos = yylloc.end.pos = 0;
815 yylloc.start.included = yylloc.end.included = 0;
816 expression_yylloc.start.charPos = expression_yylloc.end.charPos = 1;
817 expression_yylloc.start.line = expression_yylloc.end.line = 1;
818 expression_yylloc.start.pos = expression_yylloc.end.pos = 0;
819 expression_yylloc.start.included = expression_yylloc.end.included = 0;
820 type_yylloc.start.charPos = type_yylloc.end.charPos = 1;
821 type_yylloc.start.line = type_yylloc.end.line = 1;
822 type_yylloc.start.pos = type_yylloc.end.pos = 0;
823 type_yylloc.start.included = type_yylloc.end.included = 0;
824 include_stack_ptr = 0;
827 void resetScannerPos(struct CodePosition * pos)
829 yy_flush_buffer(yy_current_buffer);
830 yylloc.start = yylloc.end = *pos;
831 type_yylloc.start = type_yylloc.end = *pos;
832 expression_yylloc.start = expression_yylloc.end = *pos;
835 struct __ecereNameSpace__ecere__com__Class;
837 struct __ecereNameSpace__ecere__com__Instance
840 struct __ecereNameSpace__ecere__com__Class * _class;
844 extern long long __ecereNameSpace__ecere__com__eClass_GetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name);
846 extern void __ecereNameSpace__ecere__com__eClass_SetProperty(struct __ecereNameSpace__ecere__com__Class * _class, const char * name, long long value);
848 extern void * __ecereNameSpace__ecere__com__eInstance_New(struct __ecereNameSpace__ecere__com__Class * _class);
850 extern void __ecereNameSpace__ecere__com__eInstance_SetMethod(struct __ecereNameSpace__ecere__com__Instance * instance, const char * name, void * function);
852 extern void __ecereNameSpace__ecere__com__eInstance_IncRef(struct __ecereNameSpace__ecere__com__Instance * instance);
854 extern struct __ecereNameSpace__ecere__com__Instance * fileInput;
856 struct __ecereNameSpace__ecere__com__Instance * fileStack[30];
858 extern struct __ecereNameSpace__ecere__com__Instance * OpenIncludeFile(char * includeFile);
862 struct Location yylloc;
863 struct Location type_yylloc;
864 struct Location expression_yylloc;
867 struct __ecereNameSpace__ecere__com__Instance * fileInput;
868 YY_BUFFER_STATE include_stack[30];
869 struct __ecereNameSpace__ecere__com__Instance * fileStack[30];
870 char sourceFileStack[30][797];
871 struct Location locStack[30];
872 int declModeStack[30];
873 int include_stack_ptr;
874 YY_BUFFER_STATE buffer;
885 extern void __ecereNameSpace__ecere__com__eInstance_DecRef(struct __ecereNameSpace__ecere__com__Instance * instance);
887 int __ecereVMethodID___ecereNameSpace__ecere__sys__File_Read;
903 yylloc.end.charPos = 1;
908 char * pointer = line + 1;
912 lineNumber = __ecereNameSpace__ecere__sys__GetValue(&pointer);
919 __ecereNameSpace__ecere__sys__GetString(&pointer, fileName, (797));
920 inOut = __ecereNameSpace__ecere__sys__GetValue(&pointer);
925 defaultDeclMode = declModeStack[include_stack_ptr] = declMode;
926 __ecereNameSpace__ecere__sys__GetExtension(fileName, extension);
927 if(!strcmp(extension, "c") || !strcmp(extension, "h"))
928 declMode = defaultDeclMode = structDeclMode = 0;
929 fileStack[include_stack_ptr] = (((void *)0));
935 defaultDeclMode = declMode = structDeclMode = declModeStack[include_stack_ptr];
937 yylloc.end.charPos = 1;
938 yylloc.end.line = lineNumber;
939 if(include_stack_ptr > 0 || (lineNumber && fileName[0]))
940 yylloc.end.included = GetIncludeFileID(fileName);
942 yylloc.end.included = 0;
950 yylloc.end.charPos++;
959 yylloc.end.charPos++;
965 yylloc.start = yylloc.end;
967 __ecereNameSpace__ecere__sys__TrimLSpaces(line, line);
968 for(c = 0; line[c] && line[c] != ' '; c++)
970 if(!strncmp(line, "include", c))
972 char includeFile[797] = "";
974 memmove(line, line + c, strlen(line + c) + 1);
975 __ecereNameSpace__ecere__sys__TrimLSpaces(line, line);
978 for(c = 1; line[c]; c++)
982 strncpy(includeFile, line + 1, c - 1);
983 includeFile[c - 1] = '\0';
988 else if(line[0] == '<')
990 for(c = 1; line[c]; c++)
993 strncpy(includeFile, line + 1, c - 1);
994 includeFile[c - 1] = '\0';
998 if(include_stack_ptr >= (30))
1000 fprintf((bsl_stderr()), "%s", __ecereNameSpace__ecere__GetTranslatedString("ec", "Includes nested too deeply", (((void *)0))));
1003 if(inCompiler || !FindIncludeFileID(includeFile))
1005 struct __ecereNameSpace__ecere__com__Instance * file = OpenIncludeFile(includeFile);
1011 fileStack[include_stack_ptr] = fileInput;
1012 locStack[include_stack_ptr] = yylloc;
1013 defaultDeclMode = declModeStack[include_stack_ptr] = declMode;
1014 include_stack[include_stack_ptr++] = yy_current_buffer;
1015 yylloc.start.charPos = yylloc.end.charPos = 1;
1016 yylloc.start.line = yylloc.end.line = 1;
1017 yylloc.start.pos = yylloc.end.pos = 0;
1018 yylloc.start.included = yylloc.end.included = GetIncludeFileID(includeFile);
1019 __ecereNameSpace__ecere__sys__GetExtension(includeFile, extension);
1020 if(!strcmp(extension, "c") || !strcmp(extension, "h"))
1021 declMode = defaultDeclMode = structDeclMode = 0;
1023 yy_switch_to_buffer(yy_create_buffer(fileInput, 16384));
1024 yy_start = 1 + 2 * (0);
1033 register yy_state_type yy_current_state;
1034 register char * yy_cp, * yy_bp;
1035 register int yy_act;
1037 yylloc.start = yylloc.end;
1038 type_yylloc.start = type_yylloc.end;
1039 expression_yylloc.start = expression_yylloc.end;
1046 yyin = (bsl_stdin());
1048 yyout = (bsl_stdout());
1049 if(!yy_current_buffer)
1050 yy_current_buffer = yy_create_buffer(yyin, 16384);
1051 yy_load_buffer_state();
1056 *yy_cp = yy_hold_char;
1058 yy_current_state = yy_start;
1062 register YY_CHAR yy_c = yy_ec[((unsigned int)(unsigned char)*yy_cp)];
1064 if(yy_accept[yy_current_state])
1066 yy_last_accepting_state = yy_current_state;
1067 yy_last_accepting_cpos = yy_cp;
1069 while(yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
1071 yy_current_state = (int)yy_def[yy_current_state];
1072 if(yy_current_state >= 732)
1073 yy_c = yy_meta[(unsigned int)yy_c];
1075 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)yy_c];
1077 }while(yy_base[yy_current_state] != 2810);
1079 yy_act = yy_accept[yy_current_state];
1082 yy_cp = yy_last_accepting_cpos;
1083 yy_current_state = yy_last_accepting_state;
1084 yy_act = yy_accept[yy_current_state];
1087 yyleng = (int)(yy_cp - yy_bp);
1088 yy_hold_char = *yy_cp;
1096 *yy_cp = yy_hold_char;
1097 yy_cp = yy_last_accepting_cpos;
1098 yy_current_state = yy_last_accepting_state;
1099 goto yy_find_action;
1283 return (BUILTIN_OFFSETOF);
1493 return (_IMAGINARY);
1523 return (EXT_STORAGE);
1529 return (EXT_STORAGE);
1535 return (EXT_STORAGE);
1541 return (EXT_STORAGE);
1547 return (EXT_STORAGE);
1553 return (EXT_STORAGE);
1559 return (EXT_STORAGE);
1625 return (TYPED_OBJECT);
1631 return (ANY_OBJECT);
1685 return (STOPWATCHING);
1691 return (FIREWATCHERS);
1703 return (CLASS_DESIGNER);
1709 return (CLASS_NO_EXPANSION);
1715 return (CLASS_FIXED);
1721 return (CLASS_DEFAULT_PROPERTY);
1727 return (PROPERTY_CATEGORY);
1733 return (CLASS_DATA);
1739 return (CLASS_PROPERTY);
1775 return (DATABASE_OPEN);
1781 return (check_type());
1847 return (STRING_LITERAL);
1853 return (WIDE_STRING_LITERAL);
1865 return (RIGHT_ASSIGN);
1871 return (LEFT_ASSIGN);
1877 return (ADD_ASSIGN);
1883 return (SUB_ASSIGN);
1889 return (MUL_ASSIGN);
1895 return (DIV_ASSIGN);
1901 return (MOD_ASSIGN);
1907 return (AND_ASSIGN);
1913 return (XOR_ASSIGN);
2140 while(include_stack_ptr && !fileStack[include_stack_ptr - 1])
2142 --include_stack_ptr;
2143 defaultDeclMode = declMode = structDeclMode = declModeStack[include_stack_ptr];
2145 if(--include_stack_ptr < 0)
2147 include_stack_ptr = 0;
2152 (__ecereNameSpace__ecere__com__eInstance_DecRef(fileInput), fileInput = 0);
2153 yy_delete_buffer(yy_current_buffer);
2154 fileInput = fileStack[include_stack_ptr];
2155 yylloc = locStack[include_stack_ptr];
2156 type_yylloc = locStack[include_stack_ptr];
2157 expression_yylloc = locStack[include_stack_ptr];
2158 yy_switch_to_buffer(include_stack[include_stack_ptr]);
2159 defaultDeclMode = declMode = structDeclMode = declModeStack[include_stack_ptr];
2166 yylloc.start = yylloc.end;
2167 type_yylloc.start = type_yylloc.end;
2168 expression_yylloc.start = expression_yylloc.end;
2174 yylloc.end.charPos = 1;
2175 yylloc.end.line += yyleng;
2176 yylloc.start = yylloc.end;
2177 type_yylloc.end.charPos = 1;
2178 type_yylloc.end.line += yyleng;
2179 type_yylloc.start = type_yylloc.end;
2180 expression_yylloc.end.charPos = 1;
2181 expression_yylloc.end.line += yyleng;
2182 expression_yylloc.start = expression_yylloc.end;
2188 yylloc.start.charPos++;
2189 yylloc.end.charPos = yylloc.start.charPos;
2190 yylloc.start.pos = yylloc.end.pos;
2191 expression_yylloc.start.charPos++;
2192 expression_yylloc.end.charPos = expression_yylloc.start.charPos;
2193 expression_yylloc.start.pos = expression_yylloc.end.pos;
2194 type_yylloc.start.charPos++;
2195 type_yylloc.end.charPos = type_yylloc.start.charPos;
2196 type_yylloc.start.pos = type_yylloc.end.pos;
2202 yylloc.start = yylloc.end;
2203 expression_yylloc.start = expression_yylloc.end;
2204 type_yylloc.start = type_yylloc.end;
2210 yylloc.start = yylloc.end;
2211 expression_yylloc.start = expression_yylloc.end;
2212 type_yylloc.start = type_yylloc.end;
2214 printf("lexer error: invalid char 0x%X at line %d, col %d\n", (unsigned char)yytext[0], yylloc.start.line, yylloc.start.charPos);
2220 (void)fwrite(yytext, yyleng, 1, yyout);
2224 int yy_amount_of_matched_text = (int)(yy_cp - yytext) - 1;
2226 *yy_cp = yy_hold_char;
2227 if((*yy_current_buffer).yy_buffer_status == 0)
2229 yy_n_chars = (*yy_current_buffer).yy_n_chars;
2230 (*yy_current_buffer).yy_input_file = yyin;
2231 (*yy_current_buffer).yy_buffer_status = 1;
2233 if(yy_c_buf_p <= &(*yy_current_buffer).yy_ch_buf[yy_n_chars])
2235 yy_state_type yy_next_state;
2237 yy_c_buf_p = yytext + yy_amount_of_matched_text;
2238 yy_current_state = yy_get_previous_state();
2239 yy_next_state = yy_try_NUL_trans(yy_current_state);
2243 yy_cp = ++yy_c_buf_p;
2244 yy_current_state = yy_next_state;
2250 goto yy_find_action;
2254 switch(yy_get_next_buffer())
2258 yy_did_buffer_switch_on_eof = 0;
2261 yy_c_buf_p = yytext + 0;
2262 yy_act = (180 + ((yy_start - 1) / 2) + 1);
2267 if(!yy_did_buffer_switch_on_eof)
2273 yy_c_buf_p = yytext + yy_amount_of_matched_text;
2274 yy_current_state = yy_get_previous_state();
2279 yy_c_buf_p = &(*yy_current_buffer).yy_ch_buf[yy_n_chars];
2280 yy_current_state = yy_get_previous_state();
2283 goto yy_find_action;
2288 yy_fatal_error("fatal flex scanner internal error--no action found");
2293 struct __ecereNameSpace__ecere__com__Property;
2295 struct __ecereNameSpace__ecere__com__Property
2297 struct __ecereNameSpace__ecere__com__Property * prev;
2298 struct __ecereNameSpace__ecere__com__Property * next;
2300 unsigned int isProperty;
2303 struct __ecereNameSpace__ecere__com__Class * _class;
2304 const char * dataTypeString;
2305 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
2306 struct Type * dataType;
2307 void (* Set)(void * , int);
2308 int (* Get)(void * );
2309 unsigned int (* IsSet)(void * );
2313 unsigned int conversion;
2314 unsigned int watcherOffset;
2315 const char * category;
2316 unsigned int compiled;
2317 unsigned int selfWatchable;
2318 unsigned int isWatchable;
2321 extern void __ecereNameSpace__ecere__com__eInstance_FireSelfWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
2323 extern void __ecereNameSpace__ecere__com__eInstance_StopWatching(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property, struct __ecereNameSpace__ecere__com__Instance * object);
2325 extern void __ecereNameSpace__ecere__com__eInstance_Watch(void * instance, struct __ecereNameSpace__ecere__com__Property * _property, void * object, void (* callback)(void * , void * ));
2327 extern void __ecereNameSpace__ecere__com__eInstance_FireWatchers(struct __ecereNameSpace__ecere__com__Instance * instance, struct __ecereNameSpace__ecere__com__Property * _property);
2329 struct __ecereNameSpace__ecere__sys__BinaryTree;
2331 struct __ecereNameSpace__ecere__sys__BinaryTree
2333 struct __ecereNameSpace__ecere__sys__BTNode * root;
2335 int (* CompareKey)(struct __ecereNameSpace__ecere__sys__BinaryTree * tree, uintptr_t a, uintptr_t b);
2336 void (* FreeKey)(void * key);
2339 struct __ecereNameSpace__ecere__com__Method;
2341 struct __ecereNameSpace__ecere__com__Method
2344 struct __ecereNameSpace__ecere__com__Method * parent;
2345 struct __ecereNameSpace__ecere__com__Method * left;
2346 struct __ecereNameSpace__ecere__com__Method * right;
2351 struct __ecereNameSpace__ecere__com__Class * _class;
2353 const char * dataTypeString;
2354 struct Type * dataType;
2358 struct __ecereNameSpace__ecere__com__DataMember;
2360 struct __ecereNameSpace__ecere__com__ClassTemplateArgument
2366 const char * dataTypeString;
2367 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
2368 } ecere_gcc_struct __anon1;
2369 struct __ecereNameSpace__ecere__com__DataValue expression;
2372 const char * memberString;
2375 struct __ecereNameSpace__ecere__com__DataMember * member;
2376 struct __ecereNameSpace__ecere__com__Property * prop;
2377 struct __ecereNameSpace__ecere__com__Method * method;
2378 } ecere_gcc_struct __anon1;
2379 } ecere_gcc_struct __anon2;
2380 } ecere_gcc_struct __anon1;
2383 struct __ecereNameSpace__ecere__com__DataMember
2385 struct __ecereNameSpace__ecere__com__DataMember * prev;
2386 struct __ecereNameSpace__ecere__com__DataMember * next;
2388 unsigned int isProperty;
2391 struct __ecereNameSpace__ecere__com__Class * _class;
2392 const char * dataTypeString;
2393 struct __ecereNameSpace__ecere__com__Class * dataTypeClass;
2394 struct Type * dataType;
2398 struct __ecereNameSpace__ecere__sys__OldList members;
2399 struct __ecereNameSpace__ecere__sys__BinaryTree membersAlpha;
2401 short structAlignment;
2402 short pointerAlignment;
2405 extern struct __ecereNameSpace__ecere__com__DataMember * __ecereNameSpace__ecere__com__eClass_AddDataMember(struct __ecereNameSpace__ecere__com__Class * _class, const char * name, const char * type, unsigned int size, unsigned int alignment, int declMode);
2407 struct __ecereNameSpace__ecere__com__Module;
2409 extern struct __ecereNameSpace__ecere__com__Class * __ecereNameSpace__ecere__com__eSystem_RegisterClass(int type, const char * name, const char * baseName, int size, int sizeClass, unsigned int (* Constructor)(void * ), void (* Destructor)(void * ), struct __ecereNameSpace__ecere__com__Instance * module, int declMode, int inheritanceAccess);
2411 extern struct __ecereNameSpace__ecere__com__Instance * __thisModule;
2413 extern struct __ecereNameSpace__ecere__com__GlobalFunction * __ecereNameSpace__ecere__com__eSystem_RegisterFunction(const char * name, const char * type, void * func, struct __ecereNameSpace__ecere__com__Instance * module, int declMode);
2415 struct __ecereNameSpace__ecere__com__NameSpace;
2417 struct __ecereNameSpace__ecere__com__NameSpace
2420 struct __ecereNameSpace__ecere__com__NameSpace * btParent;
2421 struct __ecereNameSpace__ecere__com__NameSpace * left;
2422 struct __ecereNameSpace__ecere__com__NameSpace * right;
2424 struct __ecereNameSpace__ecere__com__NameSpace * parent;
2425 struct __ecereNameSpace__ecere__sys__BinaryTree nameSpaces;
2426 struct __ecereNameSpace__ecere__sys__BinaryTree classes;
2427 struct __ecereNameSpace__ecere__sys__BinaryTree defines;
2428 struct __ecereNameSpace__ecere__sys__BinaryTree functions;
2431 struct __ecereNameSpace__ecere__com__Class
2433 struct __ecereNameSpace__ecere__com__Class * prev;
2434 struct __ecereNameSpace__ecere__com__Class * next;
2440 unsigned int (* Constructor)(void * );
2441 void (* Destructor)(void * );
2444 struct __ecereNameSpace__ecere__com__Class * base;
2445 struct __ecereNameSpace__ecere__sys__BinaryTree methods;
2446 struct __ecereNameSpace__ecere__sys__BinaryTree members;
2447 struct __ecereNameSpace__ecere__sys__BinaryTree prop;
2448 struct __ecereNameSpace__ecere__sys__OldList membersAndProperties;
2449 struct __ecereNameSpace__ecere__sys__BinaryTree classProperties;
2450 struct __ecereNameSpace__ecere__sys__OldList derivatives;
2454 struct __ecereNameSpace__ecere__com__Instance * module;
2455 struct __ecereNameSpace__ecere__com__NameSpace * nameSpace;
2456 const char * dataTypeString;
2457 struct Type * dataType;
2459 int defaultAlignment;
2460 void (* Initialize)();
2462 struct __ecereNameSpace__ecere__sys__OldList selfWatchers;
2463 const char * designerClass;
2464 unsigned int noExpansion;
2465 const char * defaultProperty;
2466 unsigned int comRedefinition;
2469 unsigned int internalDecl;
2471 unsigned int computeSize;
2472 short structAlignment;
2473 short pointerAlignment;
2474 int destructionWatchOffset;
2476 struct __ecereNameSpace__ecere__sys__OldList delayedCPValues;
2477 int inheritanceAccess;
2478 const char * fullName;
2480 struct __ecereNameSpace__ecere__sys__OldList conversions;
2481 struct __ecereNameSpace__ecere__sys__OldList templateParams;
2482 struct __ecereNameSpace__ecere__com__ClassTemplateArgument * templateArgs;
2483 struct __ecereNameSpace__ecere__com__Class * templateClass;
2484 struct __ecereNameSpace__ecere__sys__OldList templatized;
2486 unsigned int isInstanceClass;
2487 unsigned int byValueSystemClass;
2490 struct __ecereNameSpace__ecere__com__Application
2493 const char * * argv;
2495 unsigned int isGUIApp;
2496 struct __ecereNameSpace__ecere__sys__OldList allModules;
2497 char * parsedCommand;
2498 struct __ecereNameSpace__ecere__com__NameSpace systemNameSpace;
2501 static struct __ecereNameSpace__ecere__com__Class * __ecereClass_yy_buffer_state;
2503 static struct __ecereNameSpace__ecere__com__Class * __ecereClass_LexerBackup;
2505 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__sys__File;
2507 extern struct __ecereNameSpace__ecere__com__Class * __ecereClass___ecereNameSpace__ecere__com__Module;
2509 struct __ecereNameSpace__ecere__com__Module
2511 struct __ecereNameSpace__ecere__com__Instance * application;
2512 struct __ecereNameSpace__ecere__sys__OldList classes;
2513 struct __ecereNameSpace__ecere__sys__OldList defines;
2514 struct __ecereNameSpace__ecere__sys__OldList functions;
2515 struct __ecereNameSpace__ecere__sys__OldList modules;
2516 struct __ecereNameSpace__ecere__com__Instance * prev;
2517 struct __ecereNameSpace__ecere__com__Instance * next;
2523 struct __ecereNameSpace__ecere__com__NameSpace privateNameSpace;
2524 struct __ecereNameSpace__ecere__com__NameSpace publicNameSpace;
2527 struct __ecereNameSpace__ecere__com__Instance * pushLexer()
2529 struct __ecereNameSpace__ecere__com__Instance * backup = __ecereNameSpace__ecere__com__eInstance_New(__ecereClass_LexerBackup);
2531 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yylloc = yylloc;
2532 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->type_yylloc = type_yylloc;
2533 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->expression_yylloc = expression_yylloc;
2534 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->fileInput = fileInput;
2535 memcpy(((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->include_stack, include_stack, sizeof (include_stack));
2536 memcpy(((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->fileStack, fileStack, sizeof (fileStack));
2537 memcpy(((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->sourceFileStack, sourceFileStack, sizeof (sourceFileStack));
2538 memcpy(((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->locStack, locStack, sizeof (locStack));
2539 memcpy(((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->declModeStack, declModeStack, sizeof (declModeStack));
2540 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->include_stack_ptr = include_stack_ptr;
2541 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->defaultDeclMode = defaultDeclMode;
2542 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->declMode = declMode;
2543 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->buffer = yy_current_buffer;
2544 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_n_chars = yy_n_chars;
2545 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yytext = yytext;
2546 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_c_buf_p = yy_c_buf_p;
2547 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yyin = yyin;
2548 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_hold_char = yy_hold_char;
2549 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yychar = yychar;
2550 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_init = yy_init;
2551 ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_start = yy_start;
2553 yy_current_buffer = 0;
2554 yylloc.start.charPos = yylloc.end.charPos = 1;
2555 yylloc.start.line = yylloc.end.line = 1;
2556 yylloc.start.pos = yylloc.end.pos = 0;
2557 yylloc.start.included = yylloc.end.included = 0;
2558 expression_yylloc.start.charPos = expression_yylloc.end.charPos = 1;
2559 expression_yylloc.start.line = expression_yylloc.end.line = 1;
2560 expression_yylloc.start.pos = expression_yylloc.end.pos = 0;
2561 expression_yylloc.start.included = expression_yylloc.end.included = 0;
2562 type_yylloc.start.charPos = type_yylloc.end.charPos = 1;
2563 type_yylloc.start.line = type_yylloc.end.line = 1;
2564 type_yylloc.start.pos = type_yylloc.end.pos = 0;
2565 type_yylloc.start.included = type_yylloc.end.included = 0;
2566 include_stack_ptr = 0;
2570 void popLexer(struct __ecereNameSpace__ecere__com__Instance * backup)
2572 yylloc = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yylloc;
2573 type_yylloc = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->type_yylloc;
2574 expression_yylloc = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->expression_yylloc;
2575 fileInput = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->fileInput;
2576 memcpy(include_stack, ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->include_stack, sizeof (include_stack));
2577 memcpy(fileStack, ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->fileStack, sizeof (fileStack));
2578 memcpy(sourceFileStack, ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->sourceFileStack, sizeof (sourceFileStack));
2579 memcpy(locStack, ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->locStack, sizeof (locStack));
2580 memcpy(declModeStack, ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->declModeStack, sizeof (declModeStack));
2581 include_stack_ptr = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->include_stack_ptr;
2582 defaultDeclMode = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->defaultDeclMode;
2583 declMode = structDeclMode = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->declMode;
2584 yy_current_buffer = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->buffer;
2585 yy_n_chars = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_n_chars;
2586 yytext = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yytext;
2587 yy_c_buf_p = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_c_buf_p;
2588 yyin = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yyin;
2589 yy_hold_char = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_hold_char;
2590 yychar = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yychar;
2591 yy_init = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_init;
2592 yy_start = ((struct LexerBackup *)(((char *)backup + __ecereClass_LexerBackup->offset)))->yy_start;
2593 (__ecereNameSpace__ecere__com__eInstance_DecRef(backup), backup = 0);
2596 static int yy_get_next_buffer()
2598 register char * dest = (*yy_current_buffer).yy_ch_buf;
2599 register char * source = yytext;
2600 register int number_to_move, i;
2603 if(yy_c_buf_p > &(*yy_current_buffer).yy_ch_buf[yy_n_chars + 1])
2604 yy_fatal_error("fatal flex scanner internal error--end of buffer missed");
2605 if((*yy_current_buffer).yy_fill_buffer == 0)
2607 if(yy_c_buf_p - yytext - 0 == 1)
2616 number_to_move = (int)(yy_c_buf_p - yytext) - 1;
2617 for(i = 0; i < number_to_move; ++i)
2618 *(dest++) = *(source++);
2619 if((*yy_current_buffer).yy_buffer_status == 2)
2620 (*yy_current_buffer).yy_n_chars = yy_n_chars = 0;
2623 int num_to_read = (*yy_current_buffer).yy_buf_size - number_to_move - 1;
2625 while(num_to_read <= 0)
2627 YY_BUFFER_STATE b = yy_current_buffer;
2628 int yy_c_buf_p_offset = (int)(yy_c_buf_p - (*b).yy_ch_buf);
2630 if((*b).yy_is_our_buffer)
2632 int new_size = (*b).yy_buf_size * 2;
2635 (*b).yy_buf_size += (*b).yy_buf_size / 8;
2637 (*b).yy_buf_size *= 2;
2638 (*b).yy_ch_buf = (char *)yy_flex_realloc((void *)(*b).yy_ch_buf, (*b).yy_buf_size + 2);
2643 yy_fatal_error("fatal error - scanner input buffer overflow");
2644 yy_c_buf_p = &(*b).yy_ch_buf[yy_c_buf_p_offset];
2645 num_to_read = (*yy_current_buffer).yy_buf_size - number_to_move - 1;
2647 if(num_to_read > 8192)
2649 yy_n_chars = (__extension__ ({
2650 int (* __internal_VirtualMethod)(struct __ecereNameSpace__ecere__com__Instance *, void * buffer, unsigned int size, unsigned int count);
2652 __internal_VirtualMethod = ((int (*)(struct __ecereNameSpace__ecere__com__Instance *, void * buffer, unsigned int size, unsigned int count))__extension__ ({
2653 struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = fileInput;
2655 __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__sys__File->_vTbl;
2656 })[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Read]);
2657 __internal_VirtualMethod ? __internal_VirtualMethod(fileInput, (&(*yy_current_buffer).yy_ch_buf[number_to_move]), 1, num_to_read) : (int)1;
2659 (*yy_current_buffer).yy_n_chars = yy_n_chars;
2663 if(number_to_move == 0)
2671 (*yy_current_buffer).yy_buffer_status = 2;
2676 yy_n_chars += number_to_move;
2677 (*yy_current_buffer).yy_ch_buf[yy_n_chars] = 0;
2678 (*yy_current_buffer).yy_ch_buf[yy_n_chars + 1] = 0;
2679 yytext = &(*yy_current_buffer).yy_ch_buf[0];
2683 void __ecereUnregisterModule_lexer(struct __ecereNameSpace__ecere__com__Instance * module)
2688 void __ecereRegisterModule_lexer(struct __ecereNameSpace__ecere__com__Instance * module)
2690 struct __ecereNameSpace__ecere__com__Class __attribute__((unused)) * class;
2692 class = __ecereNameSpace__ecere__com__eSystem_RegisterClass(1, "yy_buffer_state", 0, sizeof(struct yy_buffer_state), 0, (void *)0, (void *)0, module, 2, 1);
2693 if(((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application == ((struct __ecereNameSpace__ecere__com__Module *)(((char *)__thisModule + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application && class)
2694 __ecereClass_yy_buffer_state = class;
2695 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_input_file", "void *", sizeof(void *), 0xF000F000, 1);
2696 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_ch_buf", "char *", sizeof(void *), 0xF000F000, 1);
2697 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_buf_pos", "char *", sizeof(void *), 0xF000F000, 1);
2698 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_buf_size", "uint", 4, 4, 1);
2699 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_n_chars", "int", 4, 4, 1);
2700 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_is_our_buffer", "int", 4, 4, 1);
2701 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_is_interactive", "int", 4, 4, 1);
2702 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_at_bol", "int", 4, 4, 1);
2703 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_fill_buffer", "int", 4, 4, 1);
2704 __ecereNameSpace__ecere__com__eClass_AddDataMember(class, "yy_buffer_status", "int", 4, 4, 1);
2705 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("SetEchoOn", "void SetEchoOn(bool b)", SetEchoOn, module, 1);
2706 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("TESTTTT", "void TESTTTT(void)", TESTTTT, module, 2);
2707 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("SetSomeSourceFileStack", "void SetSomeSourceFileStack(const char * fileName, int index)", SetSomeSourceFileStack, module, 1);
2708 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("yywrap", "int yywrap(void)", yywrap, module, 2);
2709 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("comment", "int comment(void)", comment, module, 2);
2710 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("commentCPP", "int commentCPP(void)", commentCPP, module, 2);
2711 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("preprocessor", "int preprocessor(void)", preprocessor, module, 2);
2712 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("resetScanner", "void resetScanner(void)", resetScanner, module, 1);
2713 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("resetScannerPos", "void resetScannerPos(CodePosition pos)", resetScannerPos, module, 2);
2714 class = __ecereNameSpace__ecere__com__eSystem_RegisterClass(0, "LexerBackup", 0, sizeof(struct LexerBackup), 0, (void *)0, (void *)0, module, 2, 1);
2715 if(((struct __ecereNameSpace__ecere__com__Module *)(((char *)module + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application == ((struct __ecereNameSpace__ecere__com__Module *)(((char *)__thisModule + sizeof(struct __ecereNameSpace__ecere__com__Instance))))->application && class)
2716 __ecereClass_LexerBackup = class;
2717 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("pushLexer", "LexerBackup pushLexer(void)", pushLexer, module, 2);
2718 __ecereNameSpace__ecere__com__eSystem_RegisterFunction("popLexer", "void popLexer(LexerBackup backup)", popLexer, module, 2);