8 #define YY_FLEX_MAJOR_VERSION 2 9 #define YY_FLEX_MINOR_VERSION 5 61 #define YY_PROTO(proto) proto 63 #define YY_PROTO(proto) () 74 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) 80 #define BEGIN yy_start = 1 + 2 * 86 #define YY_START ((yy_start - 1) / 2) 87 #define YYSTATE YY_START 90 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 93 #define YY_NEW_FILE yyrestart( yyin ) 95 #define YY_END_OF_BUFFER_CHAR 0 98 #define YY_BUF_SIZE 16384 105 #define EOB_ACT_CONTINUE_SCAN 0 106 #define EOB_ACT_END_OF_FILE 1 107 #define EOB_ACT_LAST_MATCH 2 129 *yy_cp = yy_hold_char; \ 130 YY_RESTORE_YY_MORE_OFFSET \ 131 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ 132 YY_DO_BEFORE_ACTION; \ 136 #define unput(c) yyunput( c, yytext_ptr ) 187 #define YY_BUFFER_NEW 0 188 #define YY_BUFFER_NORMAL 1 199 #define YY_BUFFER_EOF_PENDING 2 208 #define YY_CURRENT_BUFFER yy_current_buffer 237 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) 247 #define yy_new_buffer yy_create_buffer 249 #define yy_set_interactive(is_interactive) \ 251 if ( ! yy_current_buffer ) \ 252 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 253 yy_current_buffer->yy_is_interactive = is_interactive; \ 256 #define yy_set_bol(at_bol) \ 258 if ( ! yy_current_buffer ) \ 259 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 260 yy_current_buffer->yy_at_bol = at_bol; \ 263 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) 269 #define yytext_ptr yytext 279 #define YY_DO_BEFORE_ACTION \ 280 yytext_ptr = yy_bp; \ 281 yytext_ptr -= yy_more_len; \ 282 yyleng = (int) (yy_cp - yytext_ptr); \ 283 yy_hold_char = *yy_cp; \ 287 #define YY_NUM_RULES 66 288 #define YY_END_OF_BUFFER 67 291 0, 0, 0, 0, 30, 30, 0, 0, 0, 0,
292 0, 0, 20, 20, 0, 0, 67, 65, 40, 40,
293 50, 34, 64, 59, 65, 64, 65, 65, 65, 65,
294 65, 57, 65, 65, 65, 65, 6, 55, 64, 64,
295 64, 64, 64, 64, 64, 64, 24, 65, 35, 36,
296 39, 36, 30, 25, 30, 32, 33, 26, 29, 26,
297 13, 11, 12, 15, 14, 17, 16, 21, 20, 21,
298 18, 23, 19, 9, 66, 10, 51, 2, 46, 64,
299 64, 64, 53, 44, 43, 54, 41, 61, 3, 1,
300 61, 0, 0, 57, 42, 48, 52, 45, 49, 6,
302 64, 64, 64, 64, 64, 64, 64, 47, 38, 37,
303 30, 30, 28, 27, 21, 20, 21, 0, 21, 9,
304 2, 0, 1, 61, 63, 61, 63, 58, 64, 64,
305 5, 64, 64, 64, 64, 64, 30, 31, 22, 0,
306 0, 0, 64, 64, 6, 64, 64, 64, 61, 62,
307 0, 64, 0, 60, 64, 0, 4, 64, 64, 0,
308 0, 7, 56, 0, 0, 8, 0, 0, 7, 0
313 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
314 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
315 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
316 1, 2, 5, 6, 7, 8, 1, 9, 10, 11,
317 12, 13, 14, 15, 16, 17, 18, 19, 19, 19,
318 19, 19, 19, 19, 19, 19, 19, 20, 21, 22,
319 23, 24, 25, 10, 10, 10, 10, 10, 10, 10,
320 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
321 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
322 1, 26, 1, 1, 27, 1, 28, 10, 29, 10,
324 30, 31, 10, 32, 33, 10, 10, 34, 35, 36,
325 37, 38, 39, 40, 10, 41, 42, 10, 43, 44,
326 10, 10, 45, 46, 47, 48, 1, 1, 1, 1,
327 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
328 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
329 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
330 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
331 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
332 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
333 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
335 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
336 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
337 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
338 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
339 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
345 1, 2, 3, 1, 1, 4, 1, 1, 1, 5,
346 6, 7, 1, 1, 7, 1, 8, 9, 10, 1,
347 11, 1, 1, 1, 1, 1, 12, 5, 5, 5,
348 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
349 5, 5, 5, 5, 4, 1, 4, 1
354 0, 0, 43, 44, 45, 46, 47, 48, 50, 54,
355 295, 294, 74, 92, 75, 76, 296, 561, 561, 561,
356 269, 561, 271, 561, 254, 40, 230, 227, 84, 38,
357 69, 92, 197, 60, 181, 177, 99, 561, 561, 86,
358 87, 93, 98, 99, 100, 102, 561, 136, 561, 561,
359 561, 62, 0, 561, 158, 561, 561, 561, 561, 109,
360 561, 561, 561, 561, 561, 561, 561, 0, 129, 134,
361 561, 561, 561, 0, 561, 561, 561, 0, 561, 114,
362 124, 125, 561, 561, 561, 561, 561, 128, 561, 0,
363 136, 129, 149, 143, 561, 561, 561, 561, 561, 154,
365 144, 146, 147, 148, 151, 136, 151, 561, 561, 561,
366 0, 177, 561, 561, 0, 187, 190, 144, 0, 0,
367 0, 171, 0, 180, 561, 176, 193, 193, 180, 186,
368 188, 190, 192, 201, 203, 204, 236, 0, 561, 119,
369 103, 97, 207, 244, 246, 222, 231, 223, 80, 39,
370 243, 224, 266, 561, 238, 252, 242, 252, 256, 286,
371 70, 288, 245, 192, 291, 561, 292, 293, 296, 561,
372 320, 332, 344, 356, 368, 380, 392, 400, 408, 418,
373 430, 442, 454, 466, 478, 490, 502, 514, 526, 537,
380 170, 1, 171, 171, 172, 172, 173, 173, 174, 174,
381 175, 175, 176, 176, 177, 177, 170, 170, 170, 170,
382 170, 170, 170, 170, 170, 178, 170, 170, 170, 170,
383 170, 179, 170, 170, 170, 170, 170, 170, 170, 178,
384 178, 178, 178, 178, 178, 178, 170, 170, 170, 170,
385 170, 170, 180, 170, 180, 170, 170, 170, 170, 170,
386 170, 170, 170, 170, 170, 170, 170, 181, 170, 182,
387 170, 170, 170, 183, 170, 170, 170, 184, 170, 178,
388 178, 178, 170, 170, 170, 170, 170, 170, 170, 185,
389 179, 186, 170, 179, 170, 170, 170, 170, 170, 170,
391 178, 178, 178, 178, 178, 101, 101, 170, 170, 170,
392 180, 187, 170, 170, 181, 170, 182, 188, 181, 183,
393 184, 170, 185, 179, 170, 170, 170, 179, 101, 101,
394 101, 101, 101, 101, 101, 101, 187, 189, 170, 170,
395 170, 170, 101, 101, 144, 101, 101, 101, 170, 170,
396 179, 101, 170, 170, 101, 190, 101, 101, 101, 191,
397 170, 144, 101, 170, 191, 170, 191, 191, 170, 0,
398 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
399 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
406 18, 19, 20, 19, 21, 22, 23, 24, 25, 26,
407 18, 18, 27, 28, 18, 29, 30, 31, 32, 33,
408 18, 34, 35, 36, 37, 38, 39, 26, 26, 40,
409 41, 42, 26, 26, 26, 43, 26, 44, 45, 26,
410 26, 26, 46, 26, 47, 48, 18, 49, 51, 51,
411 54, 54, 59, 59, 87, 62, 88, 150, 81, 62,
412 63, 64, 55, 55, 63, 64, 82, 109, 52, 52,
413 65, 164, 60, 60, 65, 69, 69, 75, 75, 70,
414 166, 89, 96, 97, 71, 72, 90, 110, 73, 56,
415 56, 57, 57, 69, 69, 76, 76, 70, 149, 85,
417 100, 100, 71, 72, 81, 81, 73, 86, 92, 93,
418 94, 81, 82, 82, 113, 151, 81, 81, 81, 82,
419 81, 150, 103, 102, 82, 82, 82, 104, 82, 101,
420 116, 116, 81, 107, 114, 118, 118, 149, 105, 119,
421 82, 106, 81, 81, 118, 118, 88, 126, 118, 139,
422 82, 82, 170, 170, 124, 100, 100, 122, 127, 92,
423 93, 94, 81, 80, 81, 81, 81, 128, 135, 81,
424 82, 129, 82, 82, 82, 112, 130, 82, 80, 111,
425 132, 108, 138, 136, 140, 131, 140, 134, 116, 116,
426 133, 118, 118, 164, 88, 119, 170, 170, 124, 99,
428 118, 118, 166, 98, 118, 122, 141, 80, 141, 170,
429 142, 128, 80, 80, 143, 80, 95, 80, 80, 80,
430 80, 138, 80, 138, 80, 146, 144, 145, 80, 147,
431 80, 80, 156, 80, 80, 80, 80, 148, 111, 80,
432 84, 138, 83, 144, 152, 153, 153, 100, 100, 80,
433 80, 80, 157, 156, 155, 80, 80, 158, 80, 170,
434 142, 151, 79, 80, 154, 80, 170, 153, 153, 80,
435 80, 80, 80, 159, 80, 78, 80, 80, 161, 80,
436 138, 162, 138, 80, 80, 163, 154, 164, 80, 169,
437 169, 77, 164, 164, 164, 170, 166, 169, 169, 67,
439 67, 166, 166, 166, 167, 170, 170, 170, 170, 167,
440 167, 167, 168, 170, 170, 170, 170, 168, 168, 168,
441 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
442 50, 50, 53, 53, 53, 53, 53, 53, 53, 53,
443 53, 53, 53, 53, 58, 58, 58, 58, 58, 58,
444 58, 58, 58, 58, 58, 58, 61, 61, 61, 61,
445 61, 61, 61, 61, 61, 61, 61, 61, 66, 66,
446 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
447 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
448 68, 68, 74, 74, 74, 74, 74, 74, 74, 74,
450 74, 74, 74, 74, 80, 170, 170, 170, 170, 80,
451 170, 80, 91, 170, 170, 91, 91, 91, 111, 111,
452 111, 170, 111, 111, 111, 111, 111, 111, 111, 111,
453 115, 170, 170, 115, 115, 170, 170, 115, 115, 115,
454 115, 115, 117, 117, 117, 117, 117, 117, 117, 117,
455 117, 117, 117, 117, 120, 120, 170, 120, 120, 120,
456 120, 120, 120, 120, 170, 120, 121, 121, 170, 121,
457 121, 121, 121, 121, 121, 121, 121, 121, 123, 123,
458 170, 123, 123, 123, 123, 123, 123, 123, 123, 123,
459 125, 125, 125, 125, 125, 125, 125, 170, 125, 125,
461 125, 125, 137, 137, 137, 137, 137, 137, 137, 137,
462 137, 137, 137, 137, 118, 118, 118, 118, 118, 118,
463 118, 118, 118, 118, 118, 118, 138, 138, 170, 138,
464 138, 138, 138, 138, 138, 138, 138, 138, 160, 170,
465 170, 160, 170, 170, 170, 170, 170, 170, 160, 165,
466 170, 170, 165, 165, 170, 170, 170, 165, 170, 165,
467 17, 170, 170, 170, 170, 170, 170, 170, 170, 170,
468 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
469 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
470 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
472 170, 170, 170, 170, 170, 170, 170, 170, 170
477 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
478 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
479 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
480 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
481 1, 1, 1, 1, 1, 1, 1, 1, 3, 4,
482 5, 6, 7, 8, 30, 9, 30, 150, 26, 10,
483 9, 9, 5, 6, 10, 10, 26, 52, 3, 4,
484 9, 161, 7, 8, 10, 13, 13, 15, 16, 13,
485 161, 31, 34, 34, 13, 13, 31, 52, 13, 5,
486 6, 5, 6, 14, 14, 15, 16, 14, 149, 29,
488 37, 37, 14, 14, 40, 41, 14, 29, 32, 32,
489 32, 42, 40, 41, 60, 142, 43, 44, 45, 42,
490 46, 141, 42, 41, 43, 44, 45, 43, 46, 40,
491 69, 69, 80, 46, 60, 70, 70, 140, 44, 70,
492 80, 45, 81, 82, 70, 70, 88, 92, 70, 118,
493 81, 82, 91, 91, 91, 100, 100, 88, 92, 94,
494 94, 94, 101, 106, 102, 103, 104, 93, 106, 105,
495 101, 101, 102, 103, 104, 55, 101, 105, 107, 112,
496 103, 48, 112, 107, 122, 102, 122, 105, 116, 116,
497 104, 117, 117, 164, 126, 117, 124, 124, 124, 36,
499 117, 117, 164, 35, 117, 126, 127, 129, 127, 128,
500 128, 128, 129, 130, 129, 131, 33, 132, 130, 133,
501 131, 112, 132, 112, 133, 133, 130, 132, 134, 134,
502 135, 136, 147, 134, 143, 135, 136, 136, 137, 143,
503 28, 137, 27, 135, 143, 144, 144, 145, 145, 146,
504 148, 152, 148, 156, 146, 148, 152, 152, 147, 151,
505 151, 151, 25, 147, 144, 155, 145, 153, 153, 157,
506 155, 144, 163, 155, 157, 23, 144, 163, 156, 158,
507 137, 158, 137, 159, 158, 159, 153, 160, 159, 162,
508 162, 21, 165, 167, 168, 17, 160, 169, 169, 12,
510 11, 165, 167, 168, 160, 0, 0, 0, 162, 165,
511 167, 168, 160, 0, 0, 0, 0, 165, 167, 168,
512 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
513 171, 171, 172, 172, 172, 172, 172, 172, 172, 172,
514 172, 172, 172, 172, 173, 173, 173, 173, 173, 173,
515 173, 173, 173, 173, 173, 173, 174, 174, 174, 174,
516 174, 174, 174, 174, 174, 174, 174, 174, 175, 175,
517 175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
518 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
519 176, 176, 177, 177, 177, 177, 177, 177, 177, 177,
521 177, 177, 177, 177, 178, 0, 0, 0, 0, 178,
522 0, 178, 179, 0, 0, 179, 179, 179, 180, 180,
523 180, 0, 180, 180, 180, 180, 180, 180, 180, 180,
524 181, 0, 0, 181, 181, 0, 0, 181, 181, 181,
525 181, 181, 182, 182, 182, 182, 182, 182, 182, 182,
526 182, 182, 182, 182, 183, 183, 0, 183, 183, 183,
527 183, 183, 183, 183, 0, 183, 184, 184, 0, 184,
528 184, 184, 184, 184, 184, 184, 184, 184, 185, 185,
529 0, 185, 185, 185, 185, 185, 185, 185, 185, 185,
530 186, 186, 186, 186, 186, 186, 186, 0, 186, 186,
532 186, 186, 187, 187, 187, 187, 187, 187, 187, 187,
533 187, 187, 187, 187, 188, 188, 188, 188, 188, 188,
534 188, 188, 188, 188, 188, 188, 189, 189, 0, 189,
535 189, 189, 189, 189, 189, 189, 189, 189, 190, 0,
536 0, 190, 0, 0, 0, 0, 0, 0, 190, 191,
537 0, 0, 191, 191, 0, 0, 0, 191, 0, 191,
538 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
539 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
540 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
541 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
543 170, 170, 170, 170, 170, 170, 170, 170, 170
552 #define REJECT reject_used_but_not_detected 555 #define yymore() (yy_more_flag = 1) 556 #define YY_MORE_ADJ yy_more_len 557 #define YY_RESTORE_YY_MORE_OFFSET 579 #define ALLOC(a) omAlloc((a)) 592 static void* my_malloc(
size_t size)
599 static void* my_realloc(
void* addr,
size_t size)
606 #define malloc my_malloc 608 #define realloc my_realloc 611 #define malloc omAlloc 613 #define realloc omRealloc 620 if (yyleng>0) yytext[yyleng-1] =
'\0';
629 char * rc = (
char*)
omAlloc( 3 + i );
633 strncpy( rc, (
char *)yytext, i-1 );
646 #define YY_DECL int yylex(YYSTYPE* lvalp) 654 #define YY_INPUT(buf,result,max_size) \ 655 result = feReadLine( (char *) (buf), (max_size) ) 657 #undef YY_USER_ACTION 658 #define YY_USER_ACTION \ 659 if ((inerror==1)&&(*yytext>=' '))\ 660 { Print(" skipping text from `%s`",yytext);inerror=2; } 663 #define YY_ALWAYS_INTERACTIVE 1 683 #ifndef YY_SKIP_YYWRAP 699 #ifdef YY_NEED_STRLEN 707 static int input
YY_PROTO((
void ));
715 #ifndef YY_NO_PUSH_STATE 716 static void yy_push_state
YY_PROTO((
int new_state ));
718 #ifndef YY_NO_POP_STATE 719 static void yy_pop_state
YY_PROTO((
void ));
721 #ifndef YY_NO_TOP_STATE 722 static int yy_top_state
YY_PROTO((
void ));
726 #define YY_NO_PUSH_STATE 1 727 #define YY_NO_POP_STATE 1 728 #define YY_NO_TOP_STATE 1 731 #ifdef YY_MALLOC_DECL 747 #ifndef YY_READ_BUF_SIZE 748 #define YY_READ_BUF_SIZE 8192 757 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) 764 #define YY_INPUT(buf,result,max_size) \ 765 if ( yy_current_buffer->yy_is_interactive ) \ 768 for ( n = 0; n < max_size && \ 769 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 772 buf[n++] = (char) c; \ 773 if ( c == EOF && ferror( yyin ) ) \ 774 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 777 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ 778 && ferror( yyin ) ) \ 779 YY_FATAL_ERROR( "input in flex scanner failed" ); 787 #define yyterminate() return YY_NULL 791 #ifndef YY_START_STACK_INCR 792 #define YY_START_STACK_INCR 25 796 #ifndef YY_FATAL_ERROR 797 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 804 #define YY_DECL int yylex YY_PROTO(( void )) 810 #ifndef YY_USER_ACTION 811 #define YY_USER_ACTION 816 #define YY_BREAK break; 819 #define YY_RULE_SETUP \ 824 register yy_state_type yy_current_state;
828 #line 121 "scanner.l" 877 register YY_CHAR yy_c = yy_ec[
YY_SC_TO_UI(*yy_cp)];
878 if ( yy_accept[yy_current_state] )
880 yy_last_accepting_state = yy_current_state;
881 yy_last_accepting_cpos =
yy_cp;
883 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
885 yy_current_state = (int) yy_def[yy_current_state];
886 if ( yy_current_state >= 171 )
887 yy_c = yy_meta[(
unsigned int) yy_c];
889 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
892 while ( yy_base[yy_current_state] != 561 );
895 yy_act = yy_accept[yy_current_state];
900 yy_act = yy_accept[yy_current_state];
920 #line 122 "scanner.l" 925 #line 123 "scanner.l" 930 #line 124 "scanner.l" 936 while ( (c =
yyinput()) !=
'*' && c != EOF );
939 while ( (c =
yyinput()) ==
'*' );
940 if ( c ==
'/' )
break;
952 #line 142 "scanner.l" 959 #line 145 "scanner.l" 966 #line 149 "scanner.l" 974 #line 154 "scanner.l" 982 #line 159 "scanner.l" 994 #line 167 "scanner.l" 996 lvalp->name =
omStrDup((
char *)yytext);
1003 #line 172 "scanner.l" 1011 #line 177 "scanner.l" 1020 #line 182 "scanner.l" 1021 {
if (blocknest++)
yymore(); }
1025 #line 183 "scanner.l" 1026 {
if (blocknest)
yymore(); }
1030 #line 184 "scanner.l" 1041 #line 191 "scanner.l" 1043 if (--blocknest <= 0)
1055 #line 201 "scanner.l" 1064 #line 206 "scanner.l" 1069 #line 207 "scanner.l" 1074 #line 208 "scanner.l" 1079 #line 209 "scanner.l" 1084 #line 210 "scanner.l" 1086 lvalp->name =
omStrDup((
char *)yytext);
1092 #line 214 "scanner.l" 1094 lvalp->name =
omStrDup((
char *)yytext);
1100 #line 218 "scanner.l" 1108 #line 223 "scanner.l" 1118 #line 229 "scanner.l" 1127 #line 234 "scanner.l" 1132 #line 235 "scanner.l" 1137 #line 236 "scanner.l" 1142 #line 237 "scanner.l" 1151 #line 242 "scanner.l" 1156 #line 243 "scanner.l" 1161 #line 244 "scanner.l" 1162 { blocknest++;
yymore(); }
1166 #line 245 "scanner.l" 1168 if (--blocknest <= 0)
1180 #line 255 "scanner.l" 1185 #line 256 "scanner.l" 1190 #line 257 "scanner.l" 1195 #line 258 "scanner.l" 1200 #line 259 "scanner.l" 1205 #line 260 "scanner.l" 1213 if (*yytext ==
'\\') yytext++;
1222 #line 274 "scanner.l" 1227 #line 275 "scanner.l" 1232 #line 276 "scanner.l" 1237 #line 277 "scanner.l" 1242 #line 278 "scanner.l" 1247 #line 279 "scanner.l" 1252 #line 280 "scanner.l" 1257 #line 281 "scanner.l" 1262 #line 282 "scanner.l" 1267 #line 283 "scanner.l" 1272 #line 284 "scanner.l" 1277 #line 285 "scanner.l" 1282 #line 286 "scanner.l" 1287 #line 287 "scanner.l" 1292 #line 288 "scanner.l" 1297 #line 289 "scanner.l" 1302 #line 290 "scanner.l" 1310 #line 294 "scanner.l" 1312 lvalp->name = (
char *)yytext;
1318 #line 298 "scanner.l" 1320 lvalp->name = (
char *)yytext;
1326 #line 302 "scanner.l" 1333 #line 305 "scanner.l" 1348 #line 317 "scanner.l" 1350 lvalp->name = (
char *)yytext;
1356 #line 321 "scanner.l" 1358 lvalp->name = (
char *)yytext;
1367 #line 325 "scanner.l" 1369 lvalp->name = (
char *)yytext;
1375 #line 330 "scanner.l" 1379 if (yytext[strlen((
char *)
yytext)-1] ==
'\n')
1381 yytext[strlen((
char *)yytext)-1] =
'\0';
1385 rc =
IsCmd((
char *)yytext,lvalp->i);
1388 lvalp->name =
omStrDup((
char *)yytext);
1394 #line 346 "scanner.l" 1419 #line 367 "scanner.l" 1435 int yy_amount_of_matched_text = (int) (yy_cp -
yytext_ptr) - 1;
1466 yy_state_type yy_next_state;
1485 if ( yy_next_state )
1489 yy_current_state = yy_next_state;
1496 goto yy_find_action;
1549 goto yy_find_action;
1556 "fatal flex scanner internal error--no action found" );
1574 register int number_to_move,
i;
1579 "fatal flex scanner internal error--end of buffer missed" );
1605 for ( i = 0; i < number_to_move; ++
i )
1606 *(dest++) = *(source++);
1619 while ( num_to_read <= 0 )
1621 #ifdef YY_USES_REJECT 1623 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1629 int yy_c_buf_p_offset =
1632 if ( b->yy_is_our_buffer )
1634 int new_size = b->yy_buf_size * 2;
1636 if ( new_size <= 0 )
1637 b->yy_buf_size += b->yy_buf_size / 8;
1639 b->yy_buf_size *= 2;
1641 b->yy_ch_buf = (
char *)
1644 b->yy_buf_size + 2 );
1650 if ( ! b->yy_ch_buf )
1652 "fatal error - scanner input buffer overflow" );
1654 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
1704 register yy_state_type yy_current_state;
1705 register char *
yy_cp;
1711 register YY_CHAR yy_c = (*yy_cp ? yy_ec[
YY_SC_TO_UI(*yy_cp)] : 1);
1712 if ( yy_accept[yy_current_state] )
1714 yy_last_accepting_state = yy_current_state;
1715 yy_last_accepting_cpos =
yy_cp;
1717 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1719 yy_current_state = (int) yy_def[yy_current_state];
1720 if ( yy_current_state >= 171 )
1721 yy_c = yy_meta[(
unsigned int) yy_c];
1723 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1726 return yy_current_state;
1736 #ifdef YY_USE_PROTOS 1740 yy_state_type yy_current_state;
1743 register int yy_is_jam;
1746 register YY_CHAR yy_c = 1;
1747 if ( yy_accept[yy_current_state] )
1749 yy_last_accepting_state = yy_current_state;
1750 yy_last_accepting_cpos =
yy_cp;
1752 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1754 yy_current_state = (int) yy_def[yy_current_state];
1755 if ( yy_current_state >= 171 )
1756 yy_c = yy_meta[(
unsigned int) yy_c];
1758 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1759 yy_is_jam = (yy_current_state == 170);
1761 return yy_is_jam ? 0 : yy_current_state;
1766 #ifdef YY_USE_PROTOS 1767 static void yyunput(
int c,
register char *yy_bp )
1769 static void yyunput( c, yy_bp )
1779 if ( yy_cp < yy_current_buffer->
yy_ch_buf + 2 )
1782 register int number_to_move =
yy_n_chars + 2;
1785 register char *source =
1789 *--dest = *--source;
1791 yy_cp += (int) (dest - source);
1792 yy_bp += (int) (dest - source);
1796 if ( yy_cp < yy_current_buffer->
yy_ch_buf + 2 )
1800 *--yy_cp = (char) c;
1883 #ifdef YY_USE_PROTOS 1898 #ifdef YY_USE_PROTOS 1902 YY_BUFFER_STATE new_buffer;
1928 #ifdef YY_USE_PROTOS 1941 #ifdef YY_USE_PROTOS 1955 b->yy_buf_size =
size;
1960 b->yy_ch_buf = (
char *)
yy_flex_alloc( b->yy_buf_size + 2 );
1961 if ( ! b->yy_ch_buf )
1964 b->yy_is_our_buffer = 1;
1972 #ifdef YY_USE_PROTOS 1985 if ( b->yy_is_our_buffer )
1992 #ifndef YY_ALWAYS_INTERACTIVE 1993 #ifndef YY_NEVER_INTERACTIVE 1994 extern int isatty
YY_PROTO((
int ));
1998 #ifdef YY_USE_PROTOS 2010 b->yy_input_file = file;
2011 b->yy_fill_buffer = 1;
2013 #if YY_ALWAYS_INTERACTIVE 2014 b->yy_is_interactive = 1;
2016 #if YY_NEVER_INTERACTIVE 2017 b->yy_is_interactive = 0;
2019 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2025 #ifdef YY_USE_PROTOS 2045 b->yy_buf_pos = &b->yy_ch_buf[0];
2055 #ifndef YY_NO_SCAN_BUFFER 2056 #ifdef YY_USE_PROTOS 2076 b->yy_buf_size = size - 2;
2077 b->yy_buf_pos = b->yy_ch_buf =
base;
2078 b->yy_is_our_buffer = 0;
2079 b->yy_input_file = 0;
2080 b->yy_n_chars = b->yy_buf_size;
2081 b->yy_is_interactive = 0;
2083 b->yy_fill_buffer = 0;
2093 #ifndef YY_NO_SCAN_STRING 2094 #ifdef YY_USE_PROTOS 2102 for ( len = 0; yy_str[len]; ++len )
2110 #ifndef YY_NO_SCAN_BYTES 2111 #ifdef YY_USE_PROTOS 2130 for ( i = 0; i < len; ++
i )
2142 b->yy_is_our_buffer = 1;
2149 #ifndef YY_NO_PUSH_STATE 2150 #ifdef YY_USE_PROTOS 2151 static void yy_push_state(
int new_state )
2153 static void yy_push_state( new_state )
2157 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2162 new_size = yy_start_stack_depth *
sizeof( int );
2164 if ( ! yy_start_stack )
2169 (
void *) yy_start_stack, new_size );
2171 if ( ! yy_start_stack )
2173 "out of memory expanding start-condition stack" );
2176 yy_start_stack[yy_start_stack_ptr++] =
YY_START;
2183 #ifndef YY_NO_POP_STATE 2184 static void yy_pop_state()
2186 if ( --yy_start_stack_ptr < 0 )
2189 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2194 #ifndef YY_NO_TOP_STATE 2195 static int yy_top_state()
2197 return yy_start_stack[yy_start_stack_ptr - 1];
2201 #ifndef YY_EXIT_FAILURE 2202 #define YY_EXIT_FAILURE 2 2205 #ifdef YY_USE_PROTOS 2212 (void) fprintf( stderr,
"%s\n", msg );
2225 yytext[yyleng] = yy_hold_char; \ 2226 yy_c_buf_p = yytext + n; \ 2227 yy_hold_char = *yy_c_buf_p; \ 2228 *yy_c_buf_p = '\0'; \ 2237 #ifdef YY_USE_PROTOS 2238 static void yy_flex_strncpy(
char *s1,
yyconst char *s2,
int n )
2240 static void yy_flex_strncpy( s1, s2, n )
2247 for ( i = 0; i < n; ++
i )
2252 #ifdef YY_NEED_STRLEN 2253 #ifdef YY_USE_PROTOS 2254 static int yy_flex_strlen(
yyconst char *
s )
2256 static int yy_flex_strlen( s )
2261 for ( n = 0; s[n]; ++n )
2269 #ifdef YY_USE_PROTOS 2276 return (
void *)
malloc( size );
2279 #ifdef YY_USE_PROTOS 2294 return (
void *)
realloc( (
char *) ptr, size );
2297 #ifdef YY_USE_PROTOS 2314 #line 367 "scanner.l"
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
const CanonicalForm int s
YY_BUFFER_STATE yy_scan_bytes(yyconst char *bytes, int len)
int feReadLine(char *b, int l)
#define EOB_ACT_LAST_MATCH
static yyconst short int yy_chk[610]
#define YY_BUFFER_EOF_PENDING
#define YY_RESTORE_YY_MORE_OFFSET
void yy_load_buffer_state(void)
int main(int argc, char *argv[])
static yyconst short int yy_def[192]
YY_BUFFER_STATE yy_scan_string(yyconst char *yy_str)
static char * dupyytext()
static yyconst short int yy_nxt[610]
#define YY_INPUT(buf, result, max_size)
static void yy_flex_free(void *ptr)
void myyoldbuffer(void *oldb)
static yyconst short int yy_accept[171]
static yyconst short int yy_base[192]
#define YY_DO_BEFORE_ACTION
#define YY_START_STACK_INCR
STATIC_VAR char yy_hold_char
static void * yy_flex_realloc(void *ptr, yy_size_t size)
#define EOB_ACT_CONTINUE_SCAN
void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
STATIC_VAR char * yy_last_accepting_cpos
STATIC_VAR yy_state_type yy_last_accepting_state
static void yyunput(int c, register char *yy_bp)
STATIC_VAR YY_BUFFER_STATE yy_current_buffer
#define YY_FATAL_ERROR(msg)
#define YY_CURRENT_BUFFER
#define YY_END_OF_BUFFER_CHAR
int status int void * buf
STATIC_VAR char * yy_c_buf_p
static yy_state_type yy_get_previous_state()
static yyconst int yy_meta[49]
char * iiProcName(char *buf, char &ct, char *&e)
STATIC_VAR int yy_did_buffer_switch_on_eof
static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state)
static int yy_get_next_buffer()
void yy_delete_buffer(YY_BUFFER_STATE b)
STATIC_VAR int yy_more_len
#define omPrintUsedTrackAddrs(F, max)
STATIC_VAR int yy_more_flag
EXTERN_VAR char prompt_char
static yyconst int yy_ec[256]
static void * yy_flex_alloc(yy_size_t size)
static void yy_fatal_error(yyconst char msg[])
static char * dupyytextNL()
#define EOB_ACT_END_OF_FILE
#define YY_STATE_EOF(state)
void omMarkAsStaticAddr(void *addr)
void yy_flush_buffer(YY_BUFFER_STATE b)
EXTERN_VAR int yy_blocklineno
void yyrestart(FILE *input_file)
#define omRealloc(addr, size)
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
int IsCmd(const char *n, int &tok)