version 1.35, 2008/12/16 18:56:30
|
version 1.35.8.3, 2013/09/14 23:08:18
|
|
|
#define FLEX_SCANNER | #define FLEX_SCANNER |
#define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MAJOR_VERSION 2 |
#define YY_FLEX_MINOR_VERSION 5 | #define YY_FLEX_MINOR_VERSION 5 |
#define YY_FLEX_SUBMINOR_VERSION 34 |
#define YY_FLEX_SUBMINOR_VERSION 35 |
#if YY_FLEX_SUBMINOR_VERSION > 0 | #if YY_FLEX_SUBMINOR_VERSION > 0 |
#define FLEX_BETA | #define FLEX_BETA |
#endif | #endif |
|
|
| |
#define unput(c) yyunput( c, (yytext_ptr) ) | #define unput(c) yyunput( c, (yytext_ptr) ) |
| |
/* The following is because we cannot portably get our hands on size_t |
|
* (without autoconf's help, which isn't available because we want |
|
* flex-generated scanners to compile on their own). |
|
* Given that the standard has decreed that size_t exists since 1989, |
|
* I guess we can afford to depend on it. Manoj. |
|
*/ |
|
|
|
#ifndef YY_TYPEDEF_YY_SIZE_T | #ifndef YY_TYPEDEF_YY_SIZE_T |
#define YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T |
typedef size_t yy_size_t; | typedef size_t yy_size_t; |
|
|
*yy_cp = '\0'; \ | *yy_cp = '\0'; \ |
(yy_c_buf_p) = yy_cp; | (yy_c_buf_p) = yy_cp; |
| |
#define YY_NUM_RULES 83 |
#define YY_NUM_RULES 82 |
#define YY_END_OF_BUFFER 84 |
#define YY_END_OF_BUFFER 83 |
/* This struct is not used in this scanner, | /* This struct is not used in this scanner, |
but its presence is necessary. */ | but its presence is necessary. */ |
struct yy_trans_info | struct yy_trans_info |
|
|
flex_int32_t yy_verify; | flex_int32_t yy_verify; |
flex_int32_t yy_nxt; | flex_int32_t yy_nxt; |
}; | }; |
static yyconst flex_int16_t yy_accept[300] = |
static yyconst flex_int16_t yy_accept[296] = |
{ 0, | { 0, |
0, 0, 0, 0, 0, 0, 84, 82, 3, 1, |
0, 0, 0, 0, 0, 0, 83, 81, 3, 1, |
22, 82, 82, 82, 9, 10, 82, 20, 42, 82, |
22, 81, 81, 81, 9, 10, 81, 20, 42, 81, |
18, 17, 17, 11, 12, 19, 81, 81, 81, 81, |
18, 17, 17, 11, 12, 19, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 81, 81, 81, 81, |
80, 80, 80, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 81, 7, 8, 81, 5, 6, 35, 24, |
80, 80, 80, 7, 8, 80, 5, 6, 35, 24, |
23, 83, 37, 83, 36, 0, 64, 0, 0, 18, |
23, 82, 37, 82, 36, 0, 63, 0, 0, 18, |
18, 18, 13, 38, 2, 14, 14, 16, 0, 17, | 18, 18, 13, 38, 2, 14, 14, 16, 0, 17, |
17, 81, 81, 65, 81, 81, 81, 81, 81, 81, |
17, 80, 80, 64, 80, 80, 80, 80, 80, 80, |
81, 81, 81, 81, 45, 81, 81, 81, 81, 81, |
80, 80, 80, 80, 45, 80, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 35, 34, 31, 30, |
80, 80, 80, 80, 80, 80, 35, 34, 31, 30, |
| |
33, 32, 25, 26, 27, 28, 29, 36, 0, 21, | 33, 32, 25, 26, 27, 28, 29, 36, 0, 21, |
0, 2, 2, 15, 55, 81, 81, 81, 81, 81, |
0, 2, 2, 15, 54, 80, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 81, 81, 81, 81, |
80, 80, 80, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 56, 81, 81, 81, 81, 81, 81, 81, |
80, 80, 55, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 81, 36, 0, 0, 13, 81, 81, 81, |
80, 80, 36, 0, 0, 13, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 81, 81, 81, 39, |
80, 80, 80, 80, 80, 80, 80, 80, 39, 80, |
81, 81, 81, 81, 81, 81, 81, 81, 81, 81, |
80, 80, 80, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 40, 81, 81, 36, 0, 81, 81, 81, |
40, 80, 80, 36, 0, 80, 80, 80, 78, 80, |
79, 81, 81, 81, 41, 81, 81, 81, 81, 81, |
80, 80, 41, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 81, 81, 47, 81, |
80, 80, 80, 80, 80, 47, 80, 80, 80, 72, |
|
|
81, 81, 73, 81, 81, 81, 81, 81, 81, 69, |
80, 80, 80, 80, 80, 80, 68, 4, 0, 80, |
4, 0, 81, 81, 80, 81, 81, 81, 57, 81, |
80, 79, 80, 80, 80, 56, 80, 80, 80, 52, |
81, 81, 53, 81, 81, 81, 77, 78, 81, 81, |
80, 80, 80, 76, 77, 80, 80, 73, 74, 75, |
48, 74, 75, 76, 66, 81, 81, 70, 71, 72, |
65, 80, 80, 69, 70, 71, 43, 80, 66, 80, |
43, 81, 67, 81, 81, 81, 63, 81, 81, 81, |
80, 80, 62, 80, 80, 80, 80, 80, 80, 80, |
81, 81, 81, 81, 81, 81, 81, 68, 81, 81, |
80, 80, 80, 67, 80, 80, 80, 44, 80, 50, |
81, 44, 81, 51, 81, 81, 81, 81, 81, 81, |
80, 80, 80, 80, 80, 80, 80, 80, 80, 53, |
81, 81, 81, 54, 46, 52, 81, 81, 81, 81, |
46, 51, 80, 80, 80, 80, 80, 80, 49, 59, |
81, 81, 50, 60, 61, 81, 49, 81, 81, 81, |
60, 80, 48, 80, 80, 80, 80, 80, 61, 80, |
81, 81, 62, 81, 81, 81, 58, 59, 0 |
80, 80, 57, 58, 0 |
| |
} ; | } ; |
| |
|
|
4, 4, 4, 1, 1 | 4, 4, 4, 1, 1 |
} ; | } ; |
| |
static yyconst flex_int16_t yy_base[315] = |
static yyconst flex_int16_t yy_base[311] = |
{ 0, | { 0, |
0, 0, 63, 64, 114, 169, 595, 596, 596, 596, |
0, 0, 63, 64, 114, 169, 590, 591, 591, 591, |
596, 552, 0, 0, 596, 596, 56, 596, 58, 72, |
591, 547, 0, 0, 591, 591, 56, 591, 58, 72, |
213, 263, 68, 596, 596, 596, 46, 552, 557, 60, |
213, 263, 68, 591, 591, 591, 46, 547, 552, 60, |
31, 64, 0, 49, 559, 543, 62, 66, 542, 556, |
31, 64, 0, 49, 554, 538, 62, 66, 537, 551, |
118, 65, 551, 596, 596, 63, 596, 596, 0, 596, |
118, 65, 546, 591, 591, 63, 591, 591, 0, 591, |
596, 314, 596, 596, 0, 67, 0, 578, 139, 0, |
591, 314, 591, 591, 0, 67, 0, 573, 139, 0, |
165, 571, 552, 596, 580, 519, 112, 596, 0, 0, |
165, 566, 547, 591, 575, 514, 112, 591, 0, 0, |
0, 0, 531, 79, 539, 85, 103, 105, 123, 115, |
0, 0, 526, 79, 534, 85, 103, 105, 123, 115, |
124, 183, 149, 138, 0, 159, 538, 155, 210, 58, |
124, 183, 149, 138, 0, 159, 533, 155, 210, 532, |
181, 162, 196, 218, 207, 524, 0, 596, 596, 596, |
53, 161, 161, 212, 201, 518, 0, 591, 591, 591, |
|
|
596, 596, 596, 596, 596, 596, 596, 0, 156, 569, |
591, 591, 591, 591, 591, 591, 591, 0, 156, 563, |
564, 572, 596, 0, 0, 533, 211, 201, 541, 220, |
558, 566, 591, 0, 0, 527, 207, 202, 535, 219, |
223, 209, 524, 215, 535, 213, 535, 250, 235, 527, |
219, 208, 518, 212, 529, 210, 529, 220, 221, 521, |
252, 253, 536, 247, 535, 524, 250, 529, 517, 254, |
250, 251, 530, 244, 519, 245, 524, 512, 253, 526, |
531, 252, 501, 0, 527, 283, 307, 265, 528, 195, |
248, 496, 0, 522, 279, 307, 281, 523, 195, 258, |
270, 286, 259, 527, 517, 510, 290, 305, 515, 0, |
284, 276, 522, 512, 505, 285, 288, 510, 0, 511, |
516, 522, 517, 81, 290, 291, 513, 519, 320, 296, |
517, 512, 81, 261, 273, 515, 321, 292, 306, 291, |
309, 295, 0, 330, 489, 596, 510, 512, 316, 525, |
0, 331, 485, 591, 506, 508, 318, 521, 0, 506, |
0, 510, 307, 513, 0, 318, 513, 326, 308, 512, |
307, 509, 0, 315, 509, 327, 309, 508, 506, 318, |
510, 324, 324, 523, 520, 507, 502, 332, 0, 511, |
323, 519, 516, 503, 494, 0, 490, 474, 471, 0, |
|
|
497, 475, 0, 460, 331, 334, 467, 470, 457, 0, |
452, 327, 309, 463, 456, 449, 0, 0, 330, 332, |
0, 347, 351, 343, 0, 433, 439, 408, 0, 415, |
330, 0, 429, 414, 404, 0, 412, 333, 334, 0, |
336, 355, 0, 342, 344, 407, 0, 0, 349, 361, |
336, 339, 407, 0, 0, 347, 358, 0, 0, 0, |
0, 0, 0, 0, 0, 355, 366, 0, 0, 0, |
0, 353, 364, 0, 0, 0, 591, 347, 0, 410, |
596, 350, 0, 410, 400, 392, 0, 403, 404, 403, |
399, 391, 0, 401, 403, 402, 383, 399, 364, 350, |
384, 326, 365, 353, 369, 354, 226, 0, 212, 226, |
369, 353, 374, 0, 215, 229, 216, 0, 356, 0, |
215, 0, 359, 0, 365, 219, 218, 365, 379, 176, |
359, 222, 220, 360, 374, 210, 185, 364, 367, 0, |
184, 370, 378, 0, 0, 0, 184, 377, 395, 387, |
0, 0, 185, 368, 375, 377, 378, 381, 0, 0, |
384, 385, 0, 0, 0, 393, 0, 388, 172, 175, |
0, 389, 0, 388, 179, 176, 171, 173, 0, 73, |
169, 173, 0, 81, 72, 69, 0, 0, 596, 451, |
69, 67, 0, 0, 591, 448, 457, 463, 472, 476, |
| |
460, 466, 475, 479, 483, 492, 501, 504, 507, 516, |
480, 489, 498, 501, 504, 513, 516, 519, 524, 525 |
519, 522, 527, 528 |
|
} ; | } ; |
| |
static yyconst flex_int16_t yy_def[315] = |
static yyconst flex_int16_t yy_def[311] = |
{ 0, | { 0, |
299, 1, 300, 300, 301, 301, 299, 299, 299, 299, |
295, 1, 296, 296, 297, 297, 295, 295, 295, 295, |
299, 299, 302, 303, 299, 299, 304, 299, 299, 299, |
295, 295, 298, 299, 295, 295, 300, 295, 295, 295, |
299, 299, 22, 299, 299, 299, 305, 305, 305, 305, |
295, 295, 22, 295, 295, 295, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 299, 299, 305, 299, 299, 306, 299, |
301, 301, 301, 295, 295, 301, 295, 295, 302, 295, |
299, 307, 299, 299, 308, 299, 302, 303, 299, 21, |
295, 303, 295, 295, 304, 295, 298, 299, 295, 21, |
304, 304, 309, 299, 310, 21, 21, 299, 311, 22, |
300, 300, 305, 295, 306, 21, 21, 295, 307, 22, |
23, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
23, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 306, 299, 299, 299, |
301, 301, 301, 301, 301, 301, 302, 295, 295, 295, |
|
|
299, 299, 299, 299, 299, 299, 299, 312, 299, 303, |
295, 295, 295, 295, 295, 295, 295, 308, 295, 299, |
313, 310, 299, 311, 305, 305, 305, 305, 305, 305, |
309, 306, 295, 307, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 314, 299, 299, 299, 305, 305, 305, |
301, 301, 310, 295, 295, 295, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 299, 299, 305, 305, 305, |
301, 301, 301, 295, 295, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
|
|
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 295, 301, |
305, 299, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 295, 301, 301, 301, |
299, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 305, 305, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 301, |
305, 305, 305, 305, 305, 305, 305, 305, 0, 299, |
301, 301, 301, 301, 0, 295, 295, 295, 295, 295, |
| |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295 |
299, 299, 299, 299 |
|
} ; | } ; |
| |
static yyconst flex_int16_t yy_nxt[662] = |
static yyconst flex_int16_t yy_nxt[657] = |
{ 0, | { 0, |
8, 9, 10, 9, 11, 12, 13, 14, 15, 16, | 8, 9, 10, 9, 11, 12, 13, 14, 15, 16, |
8, 17, 18, 19, 20, 21, 22, 23, 23, 23, | 8, 17, 18, 19, 20, 21, 22, 23, 23, 23, |
|
|
41, 42, 33, 47, 48, 50, 50, 51, 51, 59, | 41, 42, 33, 47, 48, 50, 50, 51, 51, 59, |
79, 60, 61, 63, 63, 63, 63, 63, 63, 63, | 79, 60, 61, 63, 63, 63, 63, 63, 63, 63, |
63, 63, 64, 71, 71, 73, 65, 77, 82, 79, | 63, 63, 64, 71, 71, 73, 65, 77, 82, 79, |
74, 80, 135, 86, 85, 78, 299, 76, 136, 194, |
74, 80, 136, 86, 85, 78, 295, 76, 294, 192, |
| |
298, 81, 195, 297, 73, 93, 74, 82, 94, 87, |
293, 81, 193, 292, 73, 93, 74, 82, 94, 87, |
109, 296, 118, 77, 52, 52, 54, 80, 85, 86, |
109, 136, 118, 77, 52, 52, 54, 80, 85, 86, |
96, 81, 299, 116, 94, 87, 109, 67, 67, 55, |
96, 81, 295, 116, 94, 87, 109, 67, 67, 55, |
55, 55, 55, 55, 55, 55, 55, 55, 118, 116, | 55, 55, 55, 55, 55, 55, 55, 55, 118, 116, |
299, 55, 55, 55, 55, 55, 55, 90, 119, 120, |
295, 55, 55, 55, 55, 55, 55, 90, 119, 120, |
121, 123, 122, 91, 63, 63, 63, 63, 63, 63, | 121, 123, 122, 91, 63, 63, 63, 63, 63, 63, |
63, 63, 63, 92, 119, 120, 299, 55, 55, 55, |
63, 63, 63, 92, 119, 120, 295, 55, 55, 55, |
55, 54, 122, 90, 299, 128, 121, 123, 59, 92, |
55, 54, 122, 90, 295, 128, 121, 123, 59, 92, |
61, 61, 131, 145, 55, 55, 55, 55, 55, 55, |
61, 61, 131, 144, 55, 55, 55, 55, 55, 55, |
55, 55, 55, 68, 127, 128, 55, 55, 55, 55, | 55, 55, 55, 68, 127, 128, 55, 55, 55, 55, |
| |
55, 55, 129, 295, 294, 138, 293, 292, 131, 145, |
55, 55, 129, 291, 137, 138, 290, 289, 131, 144, |
127, 180, 124, 125, 284, 281, 280, 181, 129, 68, |
127, 178, 124, 125, 288, 280, 277, 179, 129, 68, |
137, 138, 55, 55, 55, 55, 59, 126, 66, 66, | 137, 138, 55, 55, 55, 55, 59, 126, 66, 66, |
67, 67, 67, 67, 67, 62, 62, 132, 124, 137, |
67, 67, 67, 67, 67, 62, 62, 132, 124, 139, |
139, 68, 133, 126, 150, 140, 142, 152, 149, 277, |
141, 68, 133, 126, 148, 149, 151, 152, 160, 155, |
276, 153, 156, 154, 134, 273, 139, 272, 158, 271, |
276, 273, 153, 272, 134, 157, 269, 159, 140, 141, |
150, 270, 161, 132, 141, 142, 133, 68, 149, 154, |
268, 149, 267, 132, 148, 139, 133, 68, 153, 155, |
134, 140, 156, 152, 158, 69, 59, 153, 70, 70, |
134, 157, 151, 152, 160, 69, 59, 159, 70, 70, |
71, 71, 71, 71, 71, 71, 71, 160, 161, 163, |
71, 71, 71, 71, 71, 71, 71, 162, 163, 165, |
164, 68, 166, 172, 178, 169, 184, 174, 147, 147, |
167, 68, 170, 172, 146, 146, 146, 146, 146, 146, |
|
|
147, 147, 147, 147, 147, 147, 147, 160, 166, 163, |
146, 146, 146, 180, 194, 165, 167, 162, 163, 172, |
164, 169, 172, 174, 183, 182, 184, 68, 99, 188, |
176, 170, 181, 182, 186, 187, 195, 68, 99, 180, |
178, 100, 147, 147, 147, 147, 147, 147, 147, 147, |
194, 100, 146, 146, 146, 146, 146, 146, 146, 146, |
147, 182, 189, 196, 197, 204, 200, 205, 201, 206, |
146, 201, 195, 182, 202, 203, 176, 197, 181, 198, |
183, 202, 203, 214, 217, 188, 207, 222, 208, 196, |
186, 187, 199, 200, 214, 211, 233, 204, 219, 205, |
197, 209, 210, 221, 204, 206, 226, 265, 189, 231, |
201, 203, 206, 207, 218, 223, 232, 237, 216, 238, |
236, 219, 101, 205, 217, 102, 222, 225, 103, 214, |
202, 222, 101, 245, 214, 102, 233, 219, 103, 239, |
104, 237, 105, 106, 241, 107, 101, 219, 242, 221, |
104, 211, 105, 106, 216, 107, 101, 222, 244, 223, |
226, 248, 243, 225, 249, 231, 236, 250, 253, 251, |
218, 246, 232, 237, 247, 238, 249, 250, 239, 245, |
254, 237, 255, 256, 266, 257, 268, 248, 267, 269, |
251, 252, 253, 262, 244, 263, 264, 246, 265, 270, |
|
|
241, 243, 274, 250, 242, 251, 279, 253, 275, 278, |
247, 275, 271, 282, 274, 249, 279, 278, 253, 266, |
249, 257, 255, 282, 267, 269, 254, 283, 274, 256, |
251, 263, 281, 250, 265, 270, 283, 252, 271, 262, |
266, 285, 268, 286, 275, 278, 287, 288, 289, 282, |
274, 284, 264, 278, 285, 279, 286, 275, 281, 282, |
290, 291, 279, 264, 263, 262, 283, 285, 261, 260, |
261, 287, 260, 259, 258, 283, 257, 284, 256, 255, |
259, 258, 252, 288, 289, 287, 247, 291, 246, 286, |
285, 254, 248, 243, 242, 241, 286, 287, 49, 49, |
290, 49, 49, 49, 49, 49, 49, 49, 49, 49, |
49, 49, 49, 49, 49, 49, 49, 53, 53, 53, |
53, 53, 53, 53, 53, 53, 53, 53, 53, 57, |
53, 53, 53, 53, 53, 53, 57, 240, 236, 57, |
245, 244, 57, 57, 57, 58, 240, 58, 58, 58, |
57, 57, 58, 235, 58, 58, 58, 58, 58, 58, |
58, 58, 58, 58, 62, 62, 72, 239, 238, 72, |
58, 62, 62, 72, 234, 231, 72, 72, 72, 97, |
72, 72, 97, 235, 234, 97, 97, 97, 97, 97, |
230, 229, 97, 97, 97, 97, 97, 97, 98, 98, |
|
|
97, 98, 98, 98, 98, 98, 98, 98, 98, 98, |
98, 98, 98, 98, 98, 98, 98, 108, 108, 108, |
108, 108, 108, 63, 233, 63, 112, 112, 112, 112, |
63, 228, 63, 112, 112, 112, 112, 112, 112, 112, |
112, 112, 112, 112, 112, 114, 114, 114, 144, 144, |
112, 112, 114, 114, 114, 143, 143, 143, 146, 227, |
144, 147, 232, 147, 176, 176, 176, 230, 229, 228, |
146, 174, 174, 174, 226, 225, 224, 221, 220, 217, |
227, 224, 223, 220, 218, 216, 215, 213, 212, 211, |
215, 213, 212, 210, 209, 208, 196, 191, 190, 189, |
199, 198, 193, 192, 191, 190, 187, 186, 185, 179, |
188, 185, 184, 183, 177, 175, 173, 171, 169, 168, |
177, 175, 173, 171, 170, 168, 167, 165, 162, 159, |
166, 164, 161, 158, 156, 154, 150, 147, 113, 145, |
157, 155, 151, 148, 113, 146, 110, 143, 130, 117, |
110, 142, 135, 130, 117, 115, 295, 113, 111, 59, |
115, 299, 113, 111, 59, 110, 95, 89, 88, 84, |
110, 95, 89, 88, 84, 83, 76, 75, 56, 295, |
83, 76, 75, 56, 299, 7, 299, 299, 299, 299, |
7, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
|
|
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295 |
299 |
|
} ; | } ; |
| |
static yyconst flex_int16_t yy_chk[662] = |
static yyconst flex_int16_t yy_chk[657] = |
{ 0, | { 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, 3, 4, 3, 4, 17, | 1, 1, 1, 1, 1, 3, 4, 3, 4, 17, |
31, 17, 17, 19, 19, 19, 19, 19, 19, 19, | 31, 17, 17, 19, 19, 19, 19, 19, 19, 19, |
19, 19, 20, 23, 23, 27, 20, 30, 34, 31, | 19, 19, 20, 23, 23, 27, 20, 30, 34, 31, |
27, 32, 90, 38, 37, 30, 23, 46, 90, 164, |
27, 32, 91, 38, 37, 30, 23, 46, 292, 163, |
| |
296, 32, 164, 295, 27, 42, 27, 34, 42, 38, |
291, 32, 163, 290, 27, 42, 27, 34, 42, 38, |
56, 294, 76, 30, 3, 4, 5, 32, 37, 38, |
56, 91, 76, 30, 3, 4, 5, 32, 37, 38, |
46, 32, 23, 74, 42, 38, 56, 67, 67, 5, | 46, 32, 23, 74, 42, 38, 56, 67, 67, 5, |
5, 5, 5, 5, 5, 5, 5, 5, 76, 74, | 5, 5, 5, 5, 5, 5, 5, 5, 76, 74, |
67, 5, 5, 5, 5, 5, 5, 41, 77, 78, | 67, 5, 5, 5, 5, 5, 5, 41, 77, 78, |
|
|
61, 61, 88, 109, 6, 6, 6, 6, 6, 6, | 61, 61, 88, 109, 6, 6, 6, 6, 6, 6, |
6, 6, 6, 61, 83, 84, 6, 6, 6, 6, | 6, 6, 6, 61, 83, 84, 6, 6, 6, 6, |
| |
6, 6, 86, 292, 291, 92, 290, 289, 88, 109, |
6, 6, 86, 288, 92, 93, 287, 286, 88, 109, |
83, 150, 82, 82, 277, 271, 270, 150, 86, 61, |
83, 149, 82, 82, 285, 273, 267, 149, 86, 61, |
91, 92, 6, 6, 6, 6, 21, 82, 21, 21, |
92, 93, 6, 6, 6, 6, 21, 82, 21, 21, |
21, 21, 21, 21, 21, 21, 21, 89, 82, 91, |
21, 21, 21, 21, 21, 21, 21, 89, 82, 94, |
93, 21, 89, 82, 118, 94, 95, 120, 117, 267, |
95, 21, 89, 82, 117, 118, 120, 121, 129, 124, |
266, 121, 124, 122, 89, 261, 93, 260, 126, 259, |
266, 263, 122, 262, 89, 126, 257, 128, 94, 95, |
118, 257, 129, 89, 94, 95, 89, 21, 117, 122, |
256, 118, 255, 89, 117, 94, 89, 21, 122, 124, |
89, 94, 124, 120, 126, 21, 22, 121, 22, 22, |
89, 126, 120, 121, 129, 21, 22, 128, 22, 22, |
22, 22, 22, 22, 22, 22, 22, 128, 129, 131, |
22, 22, 22, 22, 22, 22, 22, 131, 132, 134, |
132, 22, 134, 140, 148, 137, 153, 142, 146, 146, |
136, 22, 139, 141, 145, 145, 145, 145, 145, 145, |
|
|
146, 146, 146, 146, 146, 146, 146, 128, 134, 131, |
145, 145, 145, 150, 164, 134, 136, 131, 132, 141, |
132, 137, 140, 142, 152, 151, 153, 22, 52, 157, |
147, 139, 151, 152, 156, 157, 165, 22, 52, 150, |
148, 52, 147, 147, 147, 147, 147, 147, 147, 147, |
164, 52, 146, 146, 146, 146, 146, 146, 146, 146, |
147, 151, 158, 165, 166, 170, 169, 171, 169, 172, |
146, 168, 165, 152, 169, 170, 147, 167, 151, 167, |
152, 169, 169, 179, 183, 157, 174, 189, 174, 165, |
156, 157, 167, 167, 181, 177, 203, 172, 187, 172, |
166, 174, 174, 188, 170, 172, 193, 252, 158, 198, |
168, 170, 172, 172, 186, 191, 202, 209, 184, 210, |
205, 186, 52, 171, 183, 52, 189, 192, 52, 179, |
169, 190, 52, 219, 181, 52, 203, 187, 52, 211, |
52, 206, 52, 52, 212, 52, 52, 186, 213, 188, |
52, 177, 52, 52, 184, 52, 52, 190, 218, 191, |
193, 221, 214, 192, 222, 198, 205, 224, 229, 225, |
186, 221, 202, 209, 222, 210, 226, 227, 211, 219, |
230, 206, 236, 237, 253, 242, 255, 221, 254, 256, |
232, 233, 238, 249, 218, 250, 251, 221, 252, 259, |
|
|
212, 214, 263, 224, 213, 225, 269, 229, 265, 268, |
222, 265, 261, 275, 264, 226, 269, 268, 238, 253, |
222, 242, 236, 272, 254, 256, 230, 273, 263, 237, |
232, 250, 274, 227, 252, 259, 276, 233, 261, 249, |
253, 278, 255, 279, 265, 268, 280, 281, 282, 272, |
264, 277, 251, 268, 278, 269, 282, 265, 274, 275, |
286, 288, 269, 251, 250, 249, 273, 278, 248, 246, |
248, 284, 247, 246, 245, 276, 244, 277, 242, 241, |
245, 244, 226, 281, 282, 280, 220, 288, 218, 279, |
278, 240, 223, 217, 215, 214, 282, 284, 296, 296, |
286, 300, 300, 300, 300, 300, 300, 300, 300, 300, |
296, 296, 296, 296, 296, 296, 296, 297, 297, 297, |
301, 301, 301, 301, 301, 301, 301, 301, 301, 302, |
297, 297, 297, 297, 297, 297, 298, 213, 206, 298, |
217, 216, 302, 302, 302, 303, 209, 303, 303, 303, |
298, 298, 299, 205, 299, 299, 299, 299, 299, 299, |
303, 303, 303, 303, 304, 304, 305, 208, 207, 305, |
299, 300, 300, 301, 204, 201, 301, 301, 301, 302, |
305, 305, 306, 204, 202, 306, 306, 306, 306, 306, |
199, 198, 302, 302, 302, 302, 302, 302, 303, 303, |
|
|
306, 307, 307, 307, 307, 307, 307, 307, 307, 307, |
303, 303, 303, 303, 303, 303, 303, 304, 304, 304, |
308, 308, 308, 309, 201, 309, 310, 310, 310, 310, |
305, 197, 305, 306, 306, 306, 306, 306, 306, 306, |
310, 310, 310, 310, 310, 311, 311, 311, 312, 312, |
306, 306, 307, 307, 307, 308, 308, 308, 309, 195, |
312, 313, 200, 313, 314, 314, 314, 197, 196, 195, |
309, 310, 310, 310, 194, 193, 192, 189, 188, 185, |
194, 191, 190, 187, 184, 182, 180, 178, 177, 175, |
182, 180, 178, 176, 175, 173, 166, 162, 161, 160, |
168, 167, 163, 162, 161, 159, 156, 155, 154, 149, |
158, 155, 154, 153, 148, 144, 142, 140, 138, 137, |
145, 143, 141, 139, 138, 136, 135, 133, 130, 127, |
135, 133, 130, 127, 125, 123, 119, 116, 112, 111, |
125, 123, 119, 116, 112, 111, 110, 96, 87, 75, |
110, 96, 90, 87, 75, 73, 66, 65, 63, 62, |
73, 66, 65, 63, 62, 58, 43, 40, 39, 36, |
58, 43, 40, 39, 36, 35, 29, 28, 12, 7, |
35, 29, 28, 12, 7, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
|
|
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295, 295, 295, 295, 295, |
299, 299, 299, 299, 299, 299, 299, 299, 299, 299, |
295, 295, 295, 295, 295, 295 |
299 |
|
} ; | } ; |
| |
/* Table of booleans, true if rule could match eol. */ | /* Table of booleans, true if rule could match eol. */ |
static yyconst flex_int32_t yy_rule_can_match_eol[84] = |
static yyconst flex_int32_t yy_rule_can_match_eol[83] = |
{ 0, | { 0, |
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, | 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
0, 0, 0, 0, }; |
0, 0, 0, }; |
| |
static yy_state_type yy_last_accepting_state; | static yy_state_type yy_last_accepting_state; |
static char *yy_last_accepting_cpos; | static char *yy_last_accepting_cpos; |
|
|
// | // |
////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////// |
*/ | */ |
#line 36 "cimmof.l" |
#line 38 "cimmof.l" |
| |
| |
#include "cimmofParser.h" | #include "cimmofParser.h" |
#include "memobjs.h" | #include "memobjs.h" |
#include "cimmof_tab.h" | #include "cimmof_tab.h" |
| |
/* */ |
|
/* 7/27/2004: bug 1330, support for slash* comments, E Boden, IBM */ |
|
/* 8/14/2004: bug 544, support for string escape characters, E Boden */ |
|
/* */ |
|
/* */ |
|
/* */ |
|
|
|
/* Avoid warn_unused_result warnings in Linux RPM build */ | /* Avoid warn_unused_result warnings in Linux RPM build */ |
#ifndef ECHO | #ifndef ECHO |
# define ECHO do { size_t ignored = fwrite(cimmof_text, cimmof_leng, 1, cimmof_out); } while(0) |
# define ECHO do { fwrite(cimmof_text, cimmof_leng, 1, cimmof_out); } while(0) |
#endif | #endif |
| |
/*---------------------------------------------------------------*/ | /*---------------------------------------------------------------*/ |
|
|
| |
char strbuf[1024], *strbuf_p, slashx[2]; | char strbuf[1024], *strbuf_p, slashx[2]; |
| |
|
/* Pointer to name for metaQualifiers communicated between lexer and parser */ |
|
char * metaQualifierName; |
|
|
| |
| |
#line 830 "cimmof_lex.cpp" |
#line 815 "cimmof_lex.cpp" |
| |
#define INITIAL 0 | #define INITIAL 0 |
#define myStr 1 | #define myStr 1 |
|
|
| |
static int yy_init_globals (void ); | static int yy_init_globals (void ); |
| |
|
/* Accessor methods to globals. |
|
These are made visible to non-reentrant scanners for convenience. */ |
|
|
|
int cimmof_lex_destroy (void ); |
|
|
|
int cimmof_get_debug (void ); |
|
|
|
void cimmof_set_debug (int debug_flag ); |
|
|
|
YY_EXTRA_TYPE cimmof_get_extra (void ); |
|
|
|
void cimmof_set_extra (YY_EXTRA_TYPE user_defined ); |
|
|
|
FILE *cimmof_get_in (void ); |
|
|
|
void cimmof_set_in (FILE * in_str ); |
|
|
|
FILE *cimmof_get_out (void ); |
|
|
|
void cimmof_set_out (FILE * out_str ); |
|
|
|
int cimmof_get_leng (void ); |
|
|
|
char *cimmof_get_text (void ); |
|
|
|
int cimmof_get_lineno (void ); |
|
|
|
void cimmof_set_lineno (int line_number ); |
|
|
/* Macros after this point can all be overridden by user definitions in | /* Macros after this point can all be overridden by user definitions in |
* section 1. | * section 1. |
*/ | */ |
|
|
#endif | #endif |
#endif | #endif |
| |
static void yyunput (int c,char *buf_ptr ); |
|
|
|
#ifndef yytext_ptr | #ifndef yytext_ptr |
static void yy_flex_strncpy (char *,yyconst char *,int ); | static void yy_flex_strncpy (char *,yyconst char *,int ); |
#endif | #endif |
|
|
| |
static void yy_pop_state (void ); | static void yy_pop_state (void ); |
| |
static int yy_top_state (void ); |
|
|
|
/* Amount of stuff to slurp up with each read. */ | /* Amount of stuff to slurp up with each read. */ |
#ifndef YY_READ_BUF_SIZE | #ifndef YY_READ_BUF_SIZE |
#define YY_READ_BUF_SIZE 8192 | #define YY_READ_BUF_SIZE 8192 |
|
|
/* This used to be an fputs(), but since the string might contain NUL's, | /* This used to be an fputs(), but since the string might contain NUL's, |
* we now use fwrite(). | * we now use fwrite(). |
*/ | */ |
#define ECHO fwrite( cimmof_text, cimmof_leng, 1, cimmof_out ) |
#define ECHO do { if (fwrite( cimmof_text, cimmof_leng, 1, cimmof_out )) {} } while (0) |
#endif | #endif |
| |
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
|
|
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
{ \ | { \ |
int c = '*'; \ | int c = '*'; \ |
int n; \ |
unsigned n; \ |
for ( n = 0; n < max_size && \ | for ( n = 0; n < max_size && \ |
(c = getc( cimmof_in )) != EOF && c != '\n'; ++n ) \ | (c = getc( cimmof_in )) != EOF && c != '\n'; ++n ) \ |
buf[n] = (char) c; \ | buf[n] = (char) c; \ |
|
|
register char *yy_cp, *yy_bp; | register char *yy_cp, *yy_bp; |
register int yy_act; | register int yy_act; |
| |
#line 90 "cimmof.l" |
#line 88 "cimmof.l" |
| |
| |
| |
#line 999 "cimmof_lex.cpp" |
#line 1009 "cimmof_lex.cpp" |
| |
if ( !(yy_init) ) | if ( !(yy_init) ) |
{ | { |
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | { |
yy_current_state = (int) yy_def[yy_current_state]; | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 300 ) |
if ( yy_current_state >= 296 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | yy_c = yy_meta[(unsigned int) yy_c]; |
} | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
++yy_cp; | ++yy_cp; |
} | } |
while ( yy_current_state != 299 ); |
while ( yy_current_state != 295 ); |
yy_cp = (yy_last_accepting_cpos); | yy_cp = (yy_last_accepting_cpos); |
yy_current_state = (yy_last_accepting_state); | yy_current_state = (yy_last_accepting_state); |
| |
|
|
case 1: | case 1: |
/* rule 1 can match eol */ | /* rule 1 can match eol */ |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 93 "cimmof.l" |
#line 91 "cimmof.l" |
{ cimmofParser::Instance()->increment_lineno(); } | { cimmofParser::Instance()->increment_lineno(); } |
YY_BREAK | YY_BREAK |
case 2: | case 2: |
/* rule 2 can match eol */ | /* rule 2 can match eol */ |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 94 "cimmof.l" |
#line 92 "cimmof.l" |
{ cimmofParser::Instance()->increment_lineno(); } | { cimmofParser::Instance()->increment_lineno(); } |
YY_BREAK | YY_BREAK |
case 3: | case 3: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 95 "cimmof.l" |
#line 93 "cimmof.l" |
{ /* skip white space */ } | { /* skip white space */ } |
YY_BREAK | YY_BREAK |
case 4: | case 4: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 96 "cimmof.l" |
#line 94 "cimmof.l" |
{ return(TOK_CLASS); } | { return(TOK_CLASS); } |
YY_BREAK | YY_BREAK |
case 5: | case 5: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 97 "cimmof.l" |
#line 95 "cimmof.l" |
{ return(TOK_LEFTCURLYBRACE); } | { return(TOK_LEFTCURLYBRACE); } |
YY_BREAK | YY_BREAK |
case 6: | case 6: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 98 "cimmof.l" |
#line 96 "cimmof.l" |
{ return(TOK_RIGHTCURLYBRACE); } | { return(TOK_RIGHTCURLYBRACE); } |
YY_BREAK | YY_BREAK |
case 7: | case 7: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 99 "cimmof.l" |
#line 97 "cimmof.l" |
{ return(TOK_LEFTSQUAREBRACKET); } | { return(TOK_LEFTSQUAREBRACKET); } |
YY_BREAK | YY_BREAK |
case 8: | case 8: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 100 "cimmof.l" |
#line 98 "cimmof.l" |
{ return(TOK_RIGHTSQUAREBRACKET); } | { return(TOK_RIGHTSQUAREBRACKET); } |
YY_BREAK | YY_BREAK |
case 9: | case 9: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 101 "cimmof.l" |
#line 99 "cimmof.l" |
{ return(TOK_LEFTPAREN); } | { return(TOK_LEFTPAREN); } |
YY_BREAK | YY_BREAK |
case 10: | case 10: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 102 "cimmof.l" |
#line 100 "cimmof.l" |
{ return(TOK_RIGHTPAREN); } | { return(TOK_RIGHTPAREN); } |
YY_BREAK | YY_BREAK |
case 11: | case 11: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 103 "cimmof.l" |
#line 101 "cimmof.l" |
{ return(TOK_COLON); } | { return(TOK_COLON); } |
YY_BREAK | YY_BREAK |
case 12: | case 12: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 104 "cimmof.l" |
#line 102 "cimmof.l" |
{ return(TOK_SEMICOLON); } | { return(TOK_SEMICOLON); } |
YY_BREAK | YY_BREAK |
case 13: | case 13: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 105 "cimmof.l" |
#line 103 "cimmof.l" |
{ | { |
cimmof_lval.strval = new String(cimmof_text); | cimmof_lval.strval = new String(cimmof_text); |
return(TOK_REAL_VALUE); } | return(TOK_REAL_VALUE); } |
YY_BREAK | YY_BREAK |
case 14: | case 14: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 108 "cimmof.l" |
#line 106 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_OCTAL_VALUE); } | return(TOK_OCTAL_VALUE); } |
YY_BREAK | YY_BREAK |
case 15: | case 15: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 110 "cimmof.l" |
#line 108 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_HEX_VALUE); } | return(TOK_HEX_VALUE); } |
YY_BREAK | YY_BREAK |
case 16: | case 16: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 112 "cimmof.l" |
#line 110 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_BINARY_VALUE); } | return(TOK_BINARY_VALUE); } |
YY_BREAK | YY_BREAK |
case 17: | case 17: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 114 "cimmof.l" |
#line 112 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_POSITIVE_DECIMAL_VALUE); } | return(TOK_POSITIVE_DECIMAL_VALUE); } |
YY_BREAK | YY_BREAK |
case 18: | case 18: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 116 "cimmof.l" |
#line 114 "cimmof.l" |
{ /* Note: All non-zero unsigned integers are handled above */ | { /* Note: All non-zero unsigned integers are handled above */ |
cimmof_lval.strval = new String(cimmof_text); | cimmof_lval.strval = new String(cimmof_text); |
return(TOK_SIGNED_DECIMAL_VALUE); } | return(TOK_SIGNED_DECIMAL_VALUE); } |
YY_BREAK | YY_BREAK |
case 19: | case 19: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 119 "cimmof.l" |
#line 117 "cimmof.l" |
{ return(TOK_EQUAL); } | { return(TOK_EQUAL); } |
YY_BREAK | YY_BREAK |
case 20: | case 20: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 120 "cimmof.l" |
#line 118 "cimmof.l" |
{ return(TOK_COMMA); } | { return(TOK_COMMA); } |
YY_BREAK | YY_BREAK |
case 21: | case 21: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 121 "cimmof.l" |
#line 119 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_CHAR_VALUE); } | return(TOK_CHAR_VALUE); } |
YY_BREAK | YY_BREAK |
|
|
(but note; cimmof.y does not use cimmof_leng!) | (but note; cimmof.y does not use cimmof_leng!) |
| |
an impl. req't: strings are returned to parser | an impl. req't: strings are returned to parser |
with [no kidding!] enclosing "s. |
with enclosing "s. |
*/ | */ |
case 22: | case 22: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 138 "cimmof.l" |
#line 136 "cimmof.l" |
{ BEGIN(myStr); strbuf_p = strbuf; | { BEGIN(myStr); strbuf_p = strbuf; |
/**strbuf_p++ = '"';*/ } | /**strbuf_p++ = '"';*/ } |
YY_BREAK | YY_BREAK |
case 23: | case 23: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 140 "cimmof.l" |
#line 138 "cimmof.l" |
{ BEGIN(INITIAL); | { BEGIN(INITIAL); |
/**strbuf_p++ = '"';*/ *strbuf_p = '\0'; | /**strbuf_p++ = '"';*/ *strbuf_p = '\0'; |
cimmof_leng = strbuf_p - strbuf; | cimmof_leng = strbuf_p - strbuf; |
|
|
return TOK_STRING_VALUE; } | return TOK_STRING_VALUE; } |
YY_BREAK | YY_BREAK |
case YY_STATE_EOF(myStr): | case YY_STATE_EOF(myStr): |
#line 145 "cimmof.l" |
#line 143 "cimmof.l" |
case 24: | case 24: |
/* rule 24 can match eol */ | /* rule 24 can match eol */ |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 146 "cimmof.l" |
#line 144 "cimmof.l" |
{ BEGIN(INITIAL); | { BEGIN(INITIAL); |
/**strbuf_p++ = '"';*/ *strbuf_p = '\0'; | /**strbuf_p++ = '"';*/ *strbuf_p = '\0'; |
cimmof_leng = strbuf_p - strbuf; | cimmof_leng = strbuf_p - strbuf; |
|
|
YY_BREAK | YY_BREAK |
case 25: | case 25: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 151 "cimmof.l" |
#line 149 "cimmof.l" |
{ /* backspace */ *strbuf_p++ = '\b'; } | { /* backspace */ *strbuf_p++ = '\b'; } |
YY_BREAK | YY_BREAK |
case 26: | case 26: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 152 "cimmof.l" |
#line 150 "cimmof.l" |
{ /* form feed */ *strbuf_p++ = '\f'; } | { /* form feed */ *strbuf_p++ = '\f'; } |
YY_BREAK | YY_BREAK |
case 27: | case 27: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 153 "cimmof.l" |
#line 151 "cimmof.l" |
{ /* line feed */ *strbuf_p++ = '\n'; } | { /* line feed */ *strbuf_p++ = '\n'; } |
YY_BREAK | YY_BREAK |
case 28: | case 28: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 154 "cimmof.l" |
#line 152 "cimmof.l" |
{ /* carriage return */ *strbuf_p++ = '\r'; } | { /* carriage return */ *strbuf_p++ = '\r'; } |
YY_BREAK | YY_BREAK |
case 29: | case 29: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 155 "cimmof.l" |
#line 153 "cimmof.l" |
{ /* horizontal tab */ *strbuf_p++ = '\t'; } | { /* horizontal tab */ *strbuf_p++ = '\t'; } |
YY_BREAK | YY_BREAK |
case 30: | case 30: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 156 "cimmof.l" |
#line 154 "cimmof.l" |
{ /* single quote */ *strbuf_p++ = '\''; } | { /* single quote */ *strbuf_p++ = '\''; } |
YY_BREAK | YY_BREAK |
case 31: | case 31: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 157 "cimmof.l" |
#line 155 "cimmof.l" |
{ /* double quote */ *strbuf_p++ = '"'; } | { /* double quote */ *strbuf_p++ = '"'; } |
YY_BREAK | YY_BREAK |
case 32: | case 32: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 158 "cimmof.l" |
#line 156 "cimmof.l" |
{ /* backslash */ *strbuf_p++ = '\\'; } | { /* backslash */ *strbuf_p++ = '\\'; } |
YY_BREAK | YY_BREAK |
case 33: | case 33: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 159 "cimmof.l" |
#line 157 "cimmof.l" |
{ yy_push_state(myHex); | { yy_push_state(myHex); |
memcpy(slashx,cimmof_text,2); | memcpy(slashx,cimmof_text,2); |
} | } |
|
|
case 34: | case 34: |
/* rule 34 can match eol */ | /* rule 34 can match eol */ |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 162 "cimmof.l" |
#line 160 "cimmof.l" |
{ *strbuf_p++ = '\\'; | { *strbuf_p++ = '\\'; |
*strbuf_p++ = cimmof_text[1]; } | *strbuf_p++ = cimmof_text[1]; } |
YY_BREAK | YY_BREAK |
case 35: | case 35: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 164 "cimmof.l" |
#line 162 "cimmof.l" |
{ char *t = cimmof_text; | { char *t = cimmof_text; |
while( *t ) *strbuf_p++ = *t++; | while( *t ) *strbuf_p++ = *t++; |
*strbuf_p = '\0'; } | *strbuf_p = '\0'; } |
YY_BREAK | YY_BREAK |
case 36: | case 36: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 167 "cimmof.l" |
#line 165 "cimmof.l" |
{ /* get escaped hex digits */ | { /* get escaped hex digits */ |
char hexfmt[4]; unsigned int n; | char hexfmt[4]; unsigned int n; |
sprintf( hexfmt, "%%%dx", cimmof_leng ); | sprintf( hexfmt, "%%%dx", cimmof_leng ); |
|
|
YY_BREAK | YY_BREAK |
case 37: | case 37: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 180 "cimmof.l" |
#line 178 "cimmof.l" |
{ memcpy(strbuf_p,slashx,2); | { memcpy(strbuf_p,slashx,2); |
strbuf_p += 2; | strbuf_p += 2; |
*strbuf_p++ = *cimmof_text; | *strbuf_p++ = *cimmof_text; |
|
|
/* --- end of bugzilla 544 fix --- */ | /* --- end of bugzilla 544 fix --- */ |
case 38: | case 38: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 189 "cimmof.l" |
#line 186 "cimmof.l" |
{ int c1=0, c2=yyinput(); | { int c1=0, c2=yyinput(); |
for(;;) { | for(;;) { |
if (c2==EOF) break; | if (c2==EOF) break; |
|
|
YY_BREAK | YY_BREAK |
case YY_STATE_EOF(INITIAL): | case YY_STATE_EOF(INITIAL): |
case YY_STATE_EOF(myHex): | case YY_STATE_EOF(myHex): |
#line 197 "cimmof.l" |
#line 194 "cimmof.l" |
{ yyterminate(); } | { yyterminate(); } |
YY_BREAK | YY_BREAK |
case 39: | case 39: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 198 "cimmof.l" |
#line 195 "cimmof.l" |
{ return(TOK_NULL_VALUE); } | { return(TOK_NULL_VALUE); } |
YY_BREAK | YY_BREAK |
case 40: | case 40: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 199 "cimmof.l" |
#line 196 "cimmof.l" |
{ return(TOK_TRUE); } | { return(TOK_TRUE); } |
YY_BREAK | YY_BREAK |
case 41: | case 41: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 200 "cimmof.l" |
#line 197 "cimmof.l" |
{ return(TOK_FALSE); } | { return(TOK_FALSE); } |
YY_BREAK | YY_BREAK |
case 42: | case 42: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 201 "cimmof.l" |
#line 198 "cimmof.l" |
{ return(TOK_PERIOD); } | { return(TOK_PERIOD); } |
YY_BREAK | YY_BREAK |
case 43: | case 43: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 202 "cimmof.l" |
#line 199 "cimmof.l" |
{ return(TOK_PRAGMA); } | { return(TOK_PRAGMA); } |
YY_BREAK | YY_BREAK |
case 44: | case 44: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 203 "cimmof.l" |
#line 200 "cimmof.l" |
{ return(TOK_INSTANCE); } | { return(TOK_INSTANCE); } |
YY_BREAK | YY_BREAK |
case 45: | case 45: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 204 "cimmof.l" |
#line 201 "cimmof.l" |
{ return(TOK_OF); } | { return(TOK_OF); } |
YY_BREAK | YY_BREAK |
case 46: | case 46: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 205 "cimmof.l" |
#line 202 "cimmof.l" |
{return(TOK_QUALIFIER); } | {return(TOK_QUALIFIER); } |
YY_BREAK | YY_BREAK |
case 47: | case 47: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 206 "cimmof.l" |
#line 203 "cimmof.l" |
{ return(TOK_SCOPE); } | { return(TOK_SCOPE); } |
YY_BREAK | YY_BREAK |
case 48: | case 48: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 207 "cimmof.l" |
#line 205 "cimmof.l" |
{ return(TOK_SCHEMA); } |
{ |
|
metaQualifierName = strdup(cimmof_text); |
|
return(TOK_ASSOCIATION); } |
YY_BREAK | YY_BREAK |
case 49: | case 49: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 208 "cimmof.l" | #line 208 "cimmof.l" |
{return(TOK_ASSOCIATION); } |
{ |
|
metaQualifierName = strdup(cimmof_text); |
|
return(TOK_INDICATION); } |
YY_BREAK | YY_BREAK |
case 50: | case 50: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 209 "cimmof.l" |
#line 212 "cimmof.l" |
{ return(TOK_INDICATION); } |
|
YY_BREAK |
|
case 51: |
|
YY_RULE_SETUP |
|
#line 210 "cimmof.l" |
|
{ return(TOK_PROPERTY); } | { return(TOK_PROPERTY); } |
YY_BREAK | YY_BREAK |
case 52: |
case 51: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 211 "cimmof.l" |
#line 213 "cimmof.l" |
{ return(TOK_REFERENCE); } | { return(TOK_REFERENCE); } |
YY_BREAK | YY_BREAK |
case 53: |
case 52: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 212 "cimmof.l" |
#line 214 "cimmof.l" |
{ return(TOK_METHOD); } | { return(TOK_METHOD); } |
YY_BREAK | YY_BREAK |
case 54: |
case 53: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 213 "cimmof.l" |
#line 215 "cimmof.l" |
{return(TOK_PARAMETER); } | {return(TOK_PARAMETER); } |
YY_BREAK | YY_BREAK |
case 55: |
case 54: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 214 "cimmof.l" |
#line 216 "cimmof.l" |
{ return(TOK_ANY); } | { return(TOK_ANY); } |
YY_BREAK | YY_BREAK |
case 56: |
case 55: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 215 "cimmof.l" |
#line 218 "cimmof.l" |
{ return(TOK_REF); } | { return(TOK_REF); } |
YY_BREAK | YY_BREAK |
case 57: |
case 56: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 216 "cimmof.l" |
#line 219 "cimmof.l" |
{ return(TOK_FLAVOR); } | { return(TOK_FLAVOR); } |
YY_BREAK | YY_BREAK |
case 58: |
case 57: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 217 "cimmof.l" |
#line 220 "cimmof.l" |
{ | { |
return(TOK_ENABLEOVERRIDE); } | return(TOK_ENABLEOVERRIDE); } |
YY_BREAK | YY_BREAK |
case 59: |
case 58: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 219 "cimmof.l" |
#line 222 "cimmof.l" |
{ | { |
return(TOK_DISABLEOVERRIDE); } | return(TOK_DISABLEOVERRIDE); } |
YY_BREAK | YY_BREAK |
case 60: |
case 59: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 221 "cimmof.l" |
#line 224 "cimmof.l" |
{ return(TOK_RESTRICTED); } | { return(TOK_RESTRICTED); } |
YY_BREAK | YY_BREAK |
case 61: |
case 60: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 222 "cimmof.l" |
#line 225 "cimmof.l" |
{ return(TOK_TOSUBCLASS); } | { return(TOK_TOSUBCLASS); } |
YY_BREAK | YY_BREAK |
case 62: |
case 61: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 223 "cimmof.l" |
#line 226 "cimmof.l" |
{ return(TOK_TRANSLATABLE); } | { return(TOK_TRANSLATABLE); } |
YY_BREAK | YY_BREAK |
case 63: |
case 62: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 224 "cimmof.l" |
#line 227 "cimmof.l" |
{ return(TOK_INCLUDE); } | { return(TOK_INCLUDE); } |
YY_BREAK | YY_BREAK |
case 64: |
case 63: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 225 "cimmof.l" |
#line 228 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return TOK_ALIAS_IDENTIFIER; } | return TOK_ALIAS_IDENTIFIER; } |
YY_BREAK | YY_BREAK |
case 65: |
case 64: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 227 "cimmof.l" |
#line 230 "cimmof.l" |
{ return TOK_AS; } | { return TOK_AS; } |
YY_BREAK | YY_BREAK |
case 66: |
case 65: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 228 "cimmof.l" |
#line 231 "cimmof.l" |
{ return(TOK_DT_STR); } | { return(TOK_DT_STR); } |
YY_BREAK | YY_BREAK |
case 67: |
case 66: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 229 "cimmof.l" |
#line 232 "cimmof.l" |
{ return(TOK_DT_BOOL); } | { return(TOK_DT_BOOL); } |
YY_BREAK | YY_BREAK |
case 68: |
case 67: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 230 "cimmof.l" |
#line 233 "cimmof.l" |
{ return(TOK_DT_DATETIME); } | { return(TOK_DT_DATETIME); } |
YY_BREAK | YY_BREAK |
case 69: |
case 68: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 231 "cimmof.l" |
#line 234 "cimmof.l" |
{ return(TOK_DT_UINT8); } | { return(TOK_DT_UINT8); } |
YY_BREAK | YY_BREAK |
case 70: |
case 69: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 232 "cimmof.l" |
#line 235 "cimmof.l" |
{ return(TOK_DT_UINT16); } | { return(TOK_DT_UINT16); } |
YY_BREAK | YY_BREAK |
case 71: |
case 70: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 233 "cimmof.l" |
#line 236 "cimmof.l" |
{ return(TOK_DT_UINT32); } | { return(TOK_DT_UINT32); } |
YY_BREAK | YY_BREAK |
case 72: |
case 71: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 234 "cimmof.l" |
#line 237 "cimmof.l" |
{ return(TOK_DT_UINT64); } | { return(TOK_DT_UINT64); } |
YY_BREAK | YY_BREAK |
case 73: |
case 72: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 235 "cimmof.l" |
#line 238 "cimmof.l" |
{ return(TOK_DT_SINT8); } | { return(TOK_DT_SINT8); } |
YY_BREAK | YY_BREAK |
case 74: |
case 73: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 236 "cimmof.l" |
#line 239 "cimmof.l" |
{ return(TOK_DT_SINT16); } | { return(TOK_DT_SINT16); } |
YY_BREAK | YY_BREAK |
case 75: |
case 74: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 237 "cimmof.l" |
#line 240 "cimmof.l" |
{ return(TOK_DT_SINT32); } | { return(TOK_DT_SINT32); } |
YY_BREAK | YY_BREAK |
case 76: |
case 75: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 238 "cimmof.l" |
#line 241 "cimmof.l" |
{ return(TOK_DT_SINT64); } | { return(TOK_DT_SINT64); } |
YY_BREAK | YY_BREAK |
case 77: |
case 76: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 239 "cimmof.l" |
#line 242 "cimmof.l" |
{ return(TOK_DT_REAL32); } | { return(TOK_DT_REAL32); } |
YY_BREAK | YY_BREAK |
case 78: |
case 77: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 240 "cimmof.l" |
#line 243 "cimmof.l" |
{ return(TOK_DT_REAL64); } | { return(TOK_DT_REAL64); } |
YY_BREAK | YY_BREAK |
case 79: |
case 78: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 241 "cimmof.l" |
#line 244 "cimmof.l" |
{ return(TOK_DT_CHAR8); } | { return(TOK_DT_CHAR8); } |
YY_BREAK | YY_BREAK |
case 80: |
case 79: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 242 "cimmof.l" |
#line 245 "cimmof.l" |
{ return(TOK_DT_CHAR16); } | { return(TOK_DT_CHAR16); } |
YY_BREAK | YY_BREAK |
case 81: |
case 80: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 243 "cimmof.l" |
#line 246 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_SIMPLE_IDENTIFIER); } | return(TOK_SIMPLE_IDENTIFIER); } |
YY_BREAK | YY_BREAK |
case 82: |
case 81: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 245 "cimmof.l" |
#line 248 "cimmof.l" |
{ cimmof_lval.strval = new String(cimmof_text); | { cimmof_lval.strval = new String(cimmof_text); |
return(TOK_UNEXPECTED_CHAR); } | return(TOK_UNEXPECTED_CHAR); } |
YY_BREAK | YY_BREAK |
case 83: |
case 82: |
YY_RULE_SETUP | YY_RULE_SETUP |
#line 248 "cimmof.l" |
#line 251 "cimmof.l" |
ECHO; | ECHO; |
YY_BREAK | YY_BREAK |
#line 1579 "cimmof_lex.cpp" |
#line 1588 "cimmof_lex.cpp" |
| |
case YY_END_OF_BUFFER: | case YY_END_OF_BUFFER: |
{ | { |
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | { |
yy_current_state = (int) yy_def[yy_current_state]; | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 300 ) |
if ( yy_current_state >= 296 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | yy_c = yy_meta[(unsigned int) yy_c]; |
} | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | { |
yy_current_state = (int) yy_def[yy_current_state]; | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 300 ) |
if ( yy_current_state >= 296 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | yy_c = yy_meta[(unsigned int) yy_c]; |
} | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
yy_is_jam = (yy_current_state == 299); |
yy_is_jam = (yy_current_state == 295); |
| |
return yy_is_jam ? 0 : yy_current_state; | return yy_is_jam ? 0 : yy_current_state; |
} | } |
| |
static void yyunput (int c, register char * yy_bp ) |
|
{ |
|
register char *yy_cp; |
|
|
|
yy_cp = (yy_c_buf_p); |
|
|
|
/* undo effects of setting up cimmof_text */ |
|
*yy_cp = (yy_hold_char); |
|
|
|
if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
|
{ /* need to shift things up to make room */ |
|
/* +2 for EOB chars. */ |
|
register int number_to_move = (yy_n_chars) + 2; |
|
register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ |
|
YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; |
|
register char *source = |
|
&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; |
|
|
|
while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) |
|
*--dest = *--source; |
|
|
|
yy_cp += (int) (dest - source); |
|
yy_bp += (int) (dest - source); |
|
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = |
|
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; |
|
|
|
if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) |
|
YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
|
} |
|
|
|
*--yy_cp = (char) c; |
|
|
|
if ( c == '\n' ){ |
|
--cimmof_lineno; |
|
} |
|
|
|
(yytext_ptr) = yy_bp; |
|
(yy_hold_char) = *yy_cp; |
|
(yy_c_buf_p) = yy_cp; |
|
} |
|
|
|
#ifndef YY_NO_INPUT | #ifndef YY_NO_INPUT |
#ifdef __cplusplus | #ifdef __cplusplus |
static int yyinput (void) | static int yyinput (void) |
|
|
BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); | BEGIN((yy_start_stack)[(yy_start_stack_ptr)]); |
} | } |
| |
static int yy_top_state (void) |
|
{ |
|
return (yy_start_stack)[(yy_start_stack_ptr) - 1]; |
|
} |
|
|
|
#ifndef YY_EXIT_FAILURE | #ifndef YY_EXIT_FAILURE |
#define YY_EXIT_FAILURE 2 | #define YY_EXIT_FAILURE 2 |
#endif | #endif |
|
|
| |
#define YYTABLES_NAME "yytables" | #define YYTABLES_NAME "yytables" |
| |
#line 248 "cimmof.l" |
#line 251 "cimmof.l" |
| |
| |
| |