8 #define YY_FLEX_MAJOR_VERSION 2 9 #define YY_FLEX_MINOR_VERSION 5 60 #define YY_PROTO(proto) proto 62 #define YY_PROTO(proto) () 73 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) 79 #define BEGIN yy_start = 1 + 2 * 85 #define YY_START ((yy_start - 1) / 2) 86 #define YYSTATE YY_START 89 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 92 #define YY_NEW_FILE yyrestart( yyin ) 94 #define YY_END_OF_BUFFER_CHAR 0 97 #define YY_BUF_SIZE 16384 104 #define EOB_ACT_CONTINUE_SCAN 0 105 #define EOB_ACT_END_OF_FILE 1 106 #define EOB_ACT_LAST_MATCH 2 128 *yy_cp = yy_hold_char; \ 129 YY_RESTORE_YY_MORE_OFFSET \ 130 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ 131 YY_DO_BEFORE_ACTION; \ 135 #define unput(c) yyunput( c, yytext_ptr ) 186 #define YY_BUFFER_NEW 0 187 #define YY_BUFFER_NORMAL 1 198 #define YY_BUFFER_EOF_PENDING 2 207 #define YY_CURRENT_BUFFER yy_current_buffer 236 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) 246 #define yy_new_buffer yy_create_buffer 248 #define yy_set_interactive(is_interactive) \ 250 if ( ! yy_current_buffer ) \ 251 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 252 yy_current_buffer->yy_is_interactive = is_interactive; \ 255 #define yy_set_bol(at_bol) \ 257 if ( ! yy_current_buffer ) \ 258 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 259 yy_current_buffer->yy_at_bol = at_bol; \ 262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) 268 #define yytext_ptr yytext 278 #define YY_DO_BEFORE_ACTION \ 279 yytext_ptr = yy_bp; \ 280 yytext_ptr -= yy_more_len; \ 281 yyleng = (int) (yy_cp - yytext_ptr); \ 282 yy_hold_char = *yy_cp; \ 286 #define YY_NUM_RULES 66 287 #define YY_END_OF_BUFFER 67 290 0, 0, 0, 0, 30, 30, 0, 0, 0, 0,
291 0, 0, 20, 20, 0, 0, 67, 65, 40, 40,
292 50, 34, 64, 59, 65, 64, 65, 65, 65, 65,
293 65, 57, 65, 65, 65, 65, 6, 55, 64, 64,
294 64, 64, 64, 64, 64, 64, 24, 65, 35, 36,
295 39, 36, 30, 25, 30, 32, 33, 26, 29, 26,
296 13, 11, 12, 15, 14, 17, 16, 21, 20, 21,
297 18, 23, 19, 9, 66, 10, 51, 2, 46, 64,
298 64, 64, 53, 44, 43, 54, 41, 61, 3, 1,
299 61, 0, 0, 57, 42, 48, 52, 45, 49, 6,
301 64, 64, 64, 64, 64, 64, 64, 47, 38, 37,
302 30, 30, 28, 27, 21, 20, 21, 0, 21, 9,
303 2, 0, 1, 61, 63, 61, 63, 58, 64, 64,
304 5, 64, 64, 64, 64, 64, 30, 31, 22, 0,
305 0, 0, 64, 64, 6, 64, 64, 64, 61, 62,
306 0, 64, 0, 60, 64, 0, 4, 64, 64, 0,
307 0, 7, 56, 0, 0, 8, 0, 0, 7, 0
312 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
313 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
314 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
315 1, 2, 5, 6, 7, 8, 1, 9, 10, 11,
316 12, 13, 14, 15, 16, 17, 18, 19, 19, 19,
317 19, 19, 19, 19, 19, 19, 19, 20, 21, 22,
318 23, 24, 25, 10, 10, 10, 10, 10, 10, 10,
319 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
320 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
321 1, 26, 1, 1, 27, 1, 28, 10, 29, 10,
323 30, 31, 10, 32, 33, 10, 10, 34, 35, 36,
324 37, 38, 39, 40, 10, 41, 42, 10, 43, 44,
325 10, 10, 45, 46, 47, 48, 1, 1, 1, 1,
326 1, 1, 1, 1, 1, 1, 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,
334 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,
344 1, 2, 3, 1, 1, 4, 1, 1, 1, 5,
345 6, 7, 1, 1, 7, 1, 8, 9, 10, 1,
346 11, 1, 1, 1, 1, 1, 12, 5, 5, 5,
347 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
348 5, 5, 5, 5, 4, 1, 4, 1
353 0, 0, 43, 44, 45, 46, 47, 48, 50, 54,
354 295, 294, 74, 92, 75, 76, 296, 561, 561, 561,
355 269, 561, 271, 561, 254, 40, 230, 227, 84, 38,
356 69, 92, 197, 60, 181, 177, 99, 561, 561, 86,
357 87, 93, 98, 99, 100, 102, 561, 136, 561, 561,
358 561, 62, 0, 561, 158, 561, 561, 561, 561, 109,
359 561, 561, 561, 561, 561, 561, 561, 0, 129, 134,
360 561, 561, 561, 0, 561, 561, 561, 0, 561, 114,
361 124, 125, 561, 561, 561, 561, 561, 128, 561, 0,
362 136, 129, 149, 143, 561, 561, 561, 561, 561, 154,
364 144, 146, 147, 148, 151, 136, 151, 561, 561, 561,
365 0, 177, 561, 561, 0, 187, 190, 144, 0, 0,
366 0, 171, 0, 180, 561, 176, 193, 193, 180, 186,
367 188, 190, 192, 201, 203, 204, 236, 0, 561, 119,
368 103, 97, 207, 244, 246, 222, 231, 223, 80, 39,
369 243, 224, 266, 561, 238, 252, 242, 252, 256, 286,
370 70, 288, 245, 192, 291, 561, 292, 293, 296, 561,
371 320, 332, 344, 356, 368, 380, 392, 400, 408, 418,
372 430, 442, 454, 466, 478, 490, 502, 514, 526, 537,
379 170, 1, 171, 171, 172, 172, 173, 173, 174, 174,
380 175, 175, 176, 176, 177, 177, 170, 170, 170, 170,
381 170, 170, 170, 170, 170, 178, 170, 170, 170, 170,
382 170, 179, 170, 170, 170, 170, 170, 170, 170, 178,
383 178, 178, 178, 178, 178, 178, 170, 170, 170, 170,
384 170, 170, 180, 170, 180, 170, 170, 170, 170, 170,
385 170, 170, 170, 170, 170, 170, 170, 181, 170, 182,
386 170, 170, 170, 183, 170, 170, 170, 184, 170, 178,
387 178, 178, 170, 170, 170, 170, 170, 170, 170, 185,
388 179, 186, 170, 179, 170, 170, 170, 170, 170, 170,
390 178, 178, 178, 178, 178, 101, 101, 170, 170, 170,
391 180, 187, 170, 170, 181, 170, 182, 188, 181, 183,
392 184, 170, 185, 179, 170, 170, 170, 179, 101, 101,
393 101, 101, 101, 101, 101, 101, 187, 189, 170, 170,
394 170, 170, 101, 101, 144, 101, 101, 101, 170, 170,
395 179, 101, 170, 170, 101, 190, 101, 101, 101, 191,
396 170, 144, 101, 170, 191, 170, 191, 191, 170, 0,
397 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
398 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
405 18, 19, 20, 19, 21, 22, 23, 24, 25, 26,
406 18, 18, 27, 28, 18, 29, 30, 31, 32, 33,
407 18, 34, 35, 36, 37, 38, 39, 26, 26, 40,
408 41, 42, 26, 26, 26, 43, 26, 44, 45, 26,
409 26, 26, 46, 26, 47, 48, 18, 49, 51, 51,
410 54, 54, 59, 59, 87, 62, 88, 150, 81, 62,
411 63, 64, 55, 55, 63, 64, 82, 109, 52, 52,
412 65, 164, 60, 60, 65, 69, 69, 75, 75, 70,
413 166, 89, 96, 97, 71, 72, 90, 110, 73, 56,
414 56, 57, 57, 69, 69, 76, 76, 70, 149, 85,
416 100, 100, 71, 72, 81, 81, 73, 86, 92, 93,
417 94, 81, 82, 82, 113, 151, 81, 81, 81, 82,
418 81, 150, 103, 102, 82, 82, 82, 104, 82, 101,
419 116, 116, 81, 107, 114, 118, 118, 149, 105, 119,
420 82, 106, 81, 81, 118, 118, 88, 126, 118, 139,
421 82, 82, 170, 170, 124, 100, 100, 122, 127, 92,
422 93, 94, 81, 80, 81, 81, 81, 128, 135, 81,
423 82, 129, 82, 82, 82, 112, 130, 82, 80, 111,
424 132, 108, 138, 136, 140, 131, 140, 134, 116, 116,
425 133, 118, 118, 164, 88, 119, 170, 170, 124, 99,
427 118, 118, 166, 98, 118, 122, 141, 80, 141, 170,
428 142, 128, 80, 80, 143, 80, 95, 80, 80, 80,
429 80, 138, 80, 138, 80, 146, 144, 145, 80, 147,
430 80, 80, 156, 80, 80, 80, 80, 148, 111, 80,
431 84, 138, 83, 144, 152, 153, 153, 100, 100, 80,
432 80, 80, 157, 156, 155, 80, 80, 158, 80, 170,
433 142, 151, 79, 80, 154, 80, 170, 153, 153, 80,
434 80, 80, 80, 159, 80, 78, 80, 80, 161, 80,
435 138, 162, 138, 80, 80, 163, 154, 164, 80, 169,
436 169, 77, 164, 164, 164, 170, 166, 169, 169, 67,
438 67, 166, 166, 166, 167, 170, 170, 170, 170, 167,
439 167, 167, 168, 170, 170, 170, 170, 168, 168, 168,
440 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
441 50, 50, 53, 53, 53, 53, 53, 53, 53, 53,
442 53, 53, 53, 53, 58, 58, 58, 58, 58, 58,
443 58, 58, 58, 58, 58, 58, 61, 61, 61, 61,
444 61, 61, 61, 61, 61, 61, 61, 61, 66, 66,
445 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
446 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
447 68, 68, 74, 74, 74, 74, 74, 74, 74, 74,
449 74, 74, 74, 74, 80, 170, 170, 170, 170, 80,
450 170, 80, 91, 170, 170, 91, 91, 91, 111, 111,
451 111, 170, 111, 111, 111, 111, 111, 111, 111, 111,
452 115, 170, 170, 115, 115, 170, 170, 115, 115, 115,
453 115, 115, 117, 117, 117, 117, 117, 117, 117, 117,
454 117, 117, 117, 117, 120, 120, 170, 120, 120, 120,
455 120, 120, 120, 120, 170, 120, 121, 121, 170, 121,
456 121, 121, 121, 121, 121, 121, 121, 121, 123, 123,
457 170, 123, 123, 123, 123, 123, 123, 123, 123, 123,
458 125, 125, 125, 125, 125, 125, 125, 170, 125, 125,
460 125, 125, 137, 137, 137, 137, 137, 137, 137, 137,
461 137, 137, 137, 137, 118, 118, 118, 118, 118, 118,
462 118, 118, 118, 118, 118, 118, 138, 138, 170, 138,
463 138, 138, 138, 138, 138, 138, 138, 138, 160, 170,
464 170, 160, 170, 170, 170, 170, 170, 170, 160, 165,
465 170, 170, 165, 165, 170, 170, 170, 165, 170, 165,
466 17, 170, 170, 170, 170, 170, 170, 170, 170, 170,
467 170, 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,
471 170, 170, 170, 170, 170, 170, 170, 170, 170
476 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
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, 3, 4,
481 5, 6, 7, 8, 30, 9, 30, 150, 26, 10,
482 9, 9, 5, 6, 10, 10, 26, 52, 3, 4,
483 9, 161, 7, 8, 10, 13, 13, 15, 16, 13,
484 161, 31, 34, 34, 13, 13, 31, 52, 13, 5,
485 6, 5, 6, 14, 14, 15, 16, 14, 149, 29,
487 37, 37, 14, 14, 40, 41, 14, 29, 32, 32,
488 32, 42, 40, 41, 60, 142, 43, 44, 45, 42,
489 46, 141, 42, 41, 43, 44, 45, 43, 46, 40,
490 69, 69, 80, 46, 60, 70, 70, 140, 44, 70,
491 80, 45, 81, 82, 70, 70, 88, 92, 70, 118,
492 81, 82, 91, 91, 91, 100, 100, 88, 92, 94,
493 94, 94, 101, 106, 102, 103, 104, 93, 106, 105,
494 101, 101, 102, 103, 104, 55, 101, 105, 107, 112,
495 103, 48, 112, 107, 122, 102, 122, 105, 116, 116,
496 104, 117, 117, 164, 126, 117, 124, 124, 124, 36,
498 117, 117, 164, 35, 117, 126, 127, 129, 127, 128,
499 128, 128, 129, 130, 129, 131, 33, 132, 130, 133,
500 131, 112, 132, 112, 133, 133, 130, 132, 134, 134,
501 135, 136, 147, 134, 143, 135, 136, 136, 137, 143,
502 28, 137, 27, 135, 143, 144, 144, 145, 145, 146,
503 148, 152, 148, 156, 146, 148, 152, 152, 147, 151,
504 151, 151, 25, 147, 144, 155, 145, 153, 153, 157,
505 155, 144, 163, 155, 157, 23, 144, 163, 156, 158,
506 137, 158, 137, 159, 158, 159, 153, 160, 159, 162,
507 162, 21, 165, 167, 168, 17, 160, 169, 169, 12,
509 11, 165, 167, 168, 160, 0, 0, 0, 162, 165,
510 167, 168, 160, 0, 0, 0, 0, 165, 167, 168,
511 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
512 171, 171, 172, 172, 172, 172, 172, 172, 172, 172,
513 172, 172, 172, 172, 173, 173, 173, 173, 173, 173,
514 173, 173, 173, 173, 173, 173, 174, 174, 174, 174,
515 174, 174, 174, 174, 174, 174, 174, 174, 175, 175,
516 175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
517 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
518 176, 176, 177, 177, 177, 177, 177, 177, 177, 177,
520 177, 177, 177, 177, 178, 0, 0, 0, 0, 178,
521 0, 178, 179, 0, 0, 179, 179, 179, 180, 180,
522 180, 0, 180, 180, 180, 180, 180, 180, 180, 180,
523 181, 0, 0, 181, 181, 0, 0, 181, 181, 181,
524 181, 181, 182, 182, 182, 182, 182, 182, 182, 182,
525 182, 182, 182, 182, 183, 183, 0, 183, 183, 183,
526 183, 183, 183, 183, 0, 183, 184, 184, 0, 184,
527 184, 184, 184, 184, 184, 184, 184, 184, 185, 185,
528 0, 185, 185, 185, 185, 185, 185, 185, 185, 185,
529 186, 186, 186, 186, 186, 186, 186, 0, 186, 186,
531 186, 186, 187, 187, 187, 187, 187, 187, 187, 187,
532 187, 187, 187, 187, 188, 188, 188, 188, 188, 188,
533 188, 188, 188, 188, 188, 188, 189, 189, 0, 189,
534 189, 189, 189, 189, 189, 189, 189, 189, 190, 0,
535 0, 190, 0, 0, 0, 0, 0, 0, 190, 191,
536 0, 0, 191, 191, 0, 0, 0, 191, 0, 191,
537 170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
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,
542 170, 170, 170, 170, 170, 170, 170, 170, 170
551 #define REJECT reject_used_but_not_detected 554 #define yymore() (yy_more_flag = 1) 555 #define YY_MORE_ADJ yy_more_len 556 #define YY_RESTORE_YY_MORE_OFFSET 578 #define ALLOC(a) omAlloc((a)) 591 static void* my_malloc(
size_t size)
598 static void* my_realloc(
void* addr,
size_t size)
605 #define malloc my_malloc 607 #define realloc my_realloc 610 #define malloc omAlloc 612 #define realloc omRealloc 619 if (yyleng>0) yytext[yyleng-1] =
'\0';
628 char * rc = (
char*)
omAlloc( 3 + i );
632 strncpy( rc, (
char *)yytext, i-1 );
645 #define YY_DECL int yylex(YYSTYPE* lvalp) 653 #define YY_INPUT(buf,result,max_size) \ 654 result = feReadLine( (char *) (buf), (max_size) ) 656 #undef YY_USER_ACTION 657 #define YY_USER_ACTION \ 658 if ((inerror==1)&&(*yytext>=' '))\ 659 { Print(" skipping text from `%s`",yytext);inerror=2; } 662 #define YY_ALWAYS_INTERACTIVE 1 682 #ifndef YY_SKIP_YYWRAP 698 #ifdef YY_NEED_STRLEN 706 static int input
YY_PROTO((
void ));
711 static int yy_start_stack_ptr = 0;
712 static int yy_start_stack_depth = 0;
713 static int *yy_start_stack = 0;
714 #ifndef YY_NO_PUSH_STATE 715 static void yy_push_state
YY_PROTO((
int new_state ));
717 #ifndef YY_NO_POP_STATE 718 static void yy_pop_state
YY_PROTO((
void ));
720 #ifndef YY_NO_TOP_STATE 721 static int yy_top_state
YY_PROTO((
void ));
725 #define YY_NO_PUSH_STATE 1 726 #define YY_NO_POP_STATE 1 727 #define YY_NO_TOP_STATE 1 730 #ifdef YY_MALLOC_DECL 746 #ifndef YY_READ_BUF_SIZE 747 #define YY_READ_BUF_SIZE 8192 756 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) 763 #define YY_INPUT(buf,result,max_size) \ 764 if ( yy_current_buffer->yy_is_interactive ) \ 767 for ( n = 0; n < max_size && \ 768 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 771 buf[n++] = (char) c; \ 772 if ( c == EOF && ferror( yyin ) ) \ 773 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 776 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ 777 && ferror( yyin ) ) \ 778 YY_FATAL_ERROR( "input in flex scanner failed" ); 786 #define yyterminate() return YY_NULL 790 #ifndef YY_START_STACK_INCR 791 #define YY_START_STACK_INCR 25 795 #ifndef YY_FATAL_ERROR 796 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 803 #define YY_DECL int yylex YY_PROTO(( void )) 809 #ifndef YY_USER_ACTION 810 #define YY_USER_ACTION 815 #define YY_BREAK break; 818 #define YY_RULE_SETUP \ 823 register yy_state_type yy_current_state;
827 #line 121 "scanner.l" 876 register YY_CHAR yy_c = yy_ec[
YY_SC_TO_UI(*yy_cp)];
877 if ( yy_accept[yy_current_state] )
879 yy_last_accepting_state = yy_current_state;
880 yy_last_accepting_cpos =
yy_cp;
882 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
884 yy_current_state = (int) yy_def[yy_current_state];
885 if ( yy_current_state >= 171 )
886 yy_c = yy_meta[(
unsigned int) yy_c];
888 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
891 while ( yy_base[yy_current_state] != 561 );
894 yy_act = yy_accept[yy_current_state];
899 yy_act = yy_accept[yy_current_state];
919 #line 122 "scanner.l" 924 #line 123 "scanner.l" 929 #line 124 "scanner.l" 935 while ( (c =
yyinput()) !=
'*' && c != EOF );
938 while ( (c =
yyinput()) ==
'*' );
939 if ( c ==
'/' )
break;
951 #line 142 "scanner.l" 958 #line 145 "scanner.l" 965 #line 149 "scanner.l" 973 #line 154 "scanner.l" 981 #line 159 "scanner.l" 993 #line 167 "scanner.l" 995 lvalp->name =
omStrDup((
char *)yytext);
1002 #line 172 "scanner.l" 1010 #line 177 "scanner.l" 1019 #line 182 "scanner.l" 1020 {
if (blocknest++)
yymore(); }
1024 #line 183 "scanner.l" 1025 {
if (blocknest)
yymore(); }
1029 #line 184 "scanner.l" 1040 #line 191 "scanner.l" 1042 if (--blocknest <= 0)
1054 #line 201 "scanner.l" 1063 #line 206 "scanner.l" 1068 #line 207 "scanner.l" 1073 #line 208 "scanner.l" 1078 #line 209 "scanner.l" 1083 #line 210 "scanner.l" 1085 lvalp->name =
omStrDup((
char *)yytext);
1091 #line 214 "scanner.l" 1093 lvalp->name =
omStrDup((
char *)yytext);
1099 #line 218 "scanner.l" 1107 #line 223 "scanner.l" 1117 #line 229 "scanner.l" 1126 #line 234 "scanner.l" 1131 #line 235 "scanner.l" 1136 #line 236 "scanner.l" 1141 #line 237 "scanner.l" 1150 #line 242 "scanner.l" 1155 #line 243 "scanner.l" 1160 #line 244 "scanner.l" 1161 { blocknest++;
yymore(); }
1165 #line 245 "scanner.l" 1167 if (--blocknest <= 0)
1179 #line 255 "scanner.l" 1184 #line 256 "scanner.l" 1189 #line 257 "scanner.l" 1194 #line 258 "scanner.l" 1199 #line 259 "scanner.l" 1204 #line 260 "scanner.l" 1212 if (*yytext ==
'\\') yytext++;
1221 #line 274 "scanner.l" 1226 #line 275 "scanner.l" 1231 #line 276 "scanner.l" 1236 #line 277 "scanner.l" 1241 #line 278 "scanner.l" 1246 #line 279 "scanner.l" 1251 #line 280 "scanner.l" 1256 #line 281 "scanner.l" 1261 #line 282 "scanner.l" 1266 #line 283 "scanner.l" 1271 #line 284 "scanner.l" 1276 #line 285 "scanner.l" 1281 #line 286 "scanner.l" 1286 #line 287 "scanner.l" 1291 #line 288 "scanner.l" 1296 #line 289 "scanner.l" 1301 #line 290 "scanner.l" 1309 #line 294 "scanner.l" 1311 lvalp->name = (
char *)yytext;
1317 #line 298 "scanner.l" 1319 lvalp->name = (
char *)yytext;
1325 #line 302 "scanner.l" 1332 #line 305 "scanner.l" 1347 #line 317 "scanner.l" 1349 lvalp->name = (
char *)yytext;
1355 #line 321 "scanner.l" 1357 lvalp->name = (
char *)yytext;
1366 #line 325 "scanner.l" 1368 lvalp->name = (
char *)yytext;
1374 #line 330 "scanner.l" 1378 if (yytext[strlen((
char *)
yytext)-1] ==
'\n')
1380 yytext[strlen((
char *)yytext)-1] =
'\0';
1384 rc =
IsCmd((
char *)yytext,lvalp->i);
1387 lvalp->name =
omStrDup((
char *)yytext);
1393 #line 346 "scanner.l" 1396 register char ch= *
yytext;
1418 #line 367 "scanner.l" 1434 int yy_amount_of_matched_text = (int) (yy_cp -
yytext_ptr) - 1;
1465 yy_state_type yy_next_state;
1484 if ( yy_next_state )
1488 yy_current_state = yy_next_state;
1495 goto yy_find_action;
1548 goto yy_find_action;
1555 "fatal flex scanner internal error--no action found" );
1573 register int number_to_move,
i;
1578 "fatal flex scanner internal error--end of buffer missed" );
1604 for ( i = 0; i < number_to_move; ++
i )
1605 *(dest++) = *(source++);
1618 while ( num_to_read <= 0 )
1620 #ifdef YY_USES_REJECT 1622 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1628 int yy_c_buf_p_offset =
1631 if ( b->yy_is_our_buffer )
1633 int new_size = b->yy_buf_size * 2;
1635 if ( new_size <= 0 )
1636 b->yy_buf_size += b->yy_buf_size / 8;
1638 b->yy_buf_size *= 2;
1640 b->yy_ch_buf = (
char *)
1643 b->yy_buf_size + 2 );
1649 if ( ! b->yy_ch_buf )
1651 "fatal error - scanner input buffer overflow" );
1653 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
1703 register yy_state_type yy_current_state;
1704 register char *
yy_cp;
1710 register YY_CHAR yy_c = (*yy_cp ? yy_ec[
YY_SC_TO_UI(*yy_cp)] : 1);
1711 if ( yy_accept[yy_current_state] )
1713 yy_last_accepting_state = yy_current_state;
1714 yy_last_accepting_cpos =
yy_cp;
1716 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1718 yy_current_state = (int) yy_def[yy_current_state];
1719 if ( yy_current_state >= 171 )
1720 yy_c = yy_meta[(
unsigned int) yy_c];
1722 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1725 return yy_current_state;
1735 #ifdef YY_USE_PROTOS 1739 yy_state_type yy_current_state;
1742 register int yy_is_jam;
1745 register YY_CHAR yy_c = 1;
1746 if ( yy_accept[yy_current_state] )
1748 yy_last_accepting_state = yy_current_state;
1749 yy_last_accepting_cpos =
yy_cp;
1751 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1753 yy_current_state = (int) yy_def[yy_current_state];
1754 if ( yy_current_state >= 171 )
1755 yy_c = yy_meta[(
unsigned int) yy_c];
1757 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1758 yy_is_jam = (yy_current_state == 170);
1760 return yy_is_jam ? 0 : yy_current_state;
1765 #ifdef YY_USE_PROTOS 1766 static void yyunput(
int c,
register char *yy_bp )
1768 static void yyunput( c, yy_bp )
1770 register char *
yy_bp;
1778 if ( yy_cp < yy_current_buffer->
yy_ch_buf + 2 )
1781 register int number_to_move =
yy_n_chars + 2;
1784 register char *source =
1788 *--dest = *--source;
1790 yy_cp += (int) (dest - source);
1791 yy_bp += (int) (dest - source);
1795 if ( yy_cp < yy_current_buffer->
yy_ch_buf + 2 )
1799 *--yy_cp = (char) c;
1882 #ifdef YY_USE_PROTOS 1897 #ifdef YY_USE_PROTOS 1901 YY_BUFFER_STATE new_buffer;
1927 #ifdef YY_USE_PROTOS 1940 #ifdef YY_USE_PROTOS 1954 b->yy_buf_size =
size;
1959 b->yy_ch_buf = (
char *)
yy_flex_alloc( b->yy_buf_size + 2 );
1960 if ( ! b->yy_ch_buf )
1963 b->yy_is_our_buffer = 1;
1971 #ifdef YY_USE_PROTOS 1984 if ( b->yy_is_our_buffer )
1991 #ifndef YY_ALWAYS_INTERACTIVE 1992 #ifndef YY_NEVER_INTERACTIVE 1993 extern int isatty
YY_PROTO((
int ));
1997 #ifdef YY_USE_PROTOS 2009 b->yy_input_file = file;
2010 b->yy_fill_buffer = 1;
2012 #if YY_ALWAYS_INTERACTIVE 2013 b->yy_is_interactive = 1;
2015 #if YY_NEVER_INTERACTIVE 2016 b->yy_is_interactive = 0;
2018 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2024 #ifdef YY_USE_PROTOS 2044 b->yy_buf_pos = &b->yy_ch_buf[0];
2054 #ifndef YY_NO_SCAN_BUFFER 2055 #ifdef YY_USE_PROTOS 2075 b->yy_buf_size = size - 2;
2076 b->yy_buf_pos = b->yy_ch_buf =
base;
2077 b->yy_is_our_buffer = 0;
2078 b->yy_input_file = 0;
2079 b->yy_n_chars = b->yy_buf_size;
2080 b->yy_is_interactive = 0;
2082 b->yy_fill_buffer = 0;
2092 #ifndef YY_NO_SCAN_STRING 2093 #ifdef YY_USE_PROTOS 2101 for ( len = 0; yy_str[len]; ++len )
2109 #ifndef YY_NO_SCAN_BYTES 2110 #ifdef YY_USE_PROTOS 2129 for ( i = 0; i < len; ++
i )
2141 b->yy_is_our_buffer = 1;
2148 #ifndef YY_NO_PUSH_STATE 2149 #ifdef YY_USE_PROTOS 2150 static void yy_push_state(
int new_state )
2152 static void yy_push_state( new_state )
2156 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2161 new_size = yy_start_stack_depth *
sizeof( int );
2163 if ( ! yy_start_stack )
2168 (
void *) yy_start_stack, new_size );
2170 if ( ! yy_start_stack )
2172 "out of memory expanding start-condition stack" );
2175 yy_start_stack[yy_start_stack_ptr++] =
YY_START;
2182 #ifndef YY_NO_POP_STATE 2183 static void yy_pop_state()
2185 if ( --yy_start_stack_ptr < 0 )
2188 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2193 #ifndef YY_NO_TOP_STATE 2194 static int yy_top_state()
2196 return yy_start_stack[yy_start_stack_ptr - 1];
2200 #ifndef YY_EXIT_FAILURE 2201 #define YY_EXIT_FAILURE 2 2204 #ifdef YY_USE_PROTOS 2211 (void) fprintf( stderr,
"%s\n", msg );
2224 yytext[yyleng] = yy_hold_char; \ 2225 yy_c_buf_p = yytext + n; \ 2226 yy_hold_char = *yy_c_buf_p; \ 2227 *yy_c_buf_p = '\0'; \ 2236 #ifdef YY_USE_PROTOS 2237 static void yy_flex_strncpy(
char *s1,
yyconst char *s2,
int n )
2239 static void yy_flex_strncpy( s1, s2, n )
2246 for ( i = 0; i < n; ++
i )
2251 #ifdef YY_NEED_STRLEN 2252 #ifdef YY_USE_PROTOS 2253 static int yy_flex_strlen(
yyconst char *
s )
2255 static int yy_flex_strlen( s )
2260 for ( n = 0; s[n]; ++n )
2268 #ifdef YY_USE_PROTOS 2275 return (
void *)
malloc( size );
2278 #ifdef YY_USE_PROTOS 2293 return (
void *)
realloc( (
char *) ptr, size );
2296 #ifdef YY_USE_PROTOS 2313 #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]
static int yy_did_buffer_switch_on_eof
#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 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 void yyunput(int c, register char *yy_bp)
#define YY_FATAL_ERROR(msg)
#define YY_CURRENT_BUFFER
#define YY_END_OF_BUFFER_CHAR
int status int void * buf
static yy_state_type yy_get_previous_state()
static yyconst int yy_meta[49]
static yy_state_type yy_last_accepting_state
char * iiProcName(char *buf, char &ct, char *&e)
static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state)
static YY_BUFFER_STATE yy_current_buffer
static int yy_get_next_buffer()
void yy_delete_buffer(YY_BUFFER_STATE b)
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
void omPrintUsedTrackAddrs(FILE *fd, int max_frames)
#define YY_STATE_EOF(state)
void omMarkAsStaticAddr(void *addr)
void yy_flush_buffer(YY_BUFFER_STATE b)
void yyrestart(FILE *input_file)
#define omRealloc(addr, size)
static char * yy_last_accepting_cpos
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
int IsCmd(const char *n, int &tok)