1 #line 1 "xml_lex.yy.cpp" 3 #line 3 "xml_lex.yy.cpp" 5 #define YY_INT_ALIGNED short int 9 #define yy_create_buffer yyxml_create_buffer 10 #define yy_delete_buffer yyxml_delete_buffer 11 #define yy_scan_buffer yyxml_scan_buffer 12 #define yy_scan_string yyxml_scan_string 13 #define yy_scan_bytes yyxml_scan_bytes 14 #define yy_init_buffer yyxml_init_buffer 15 #define yy_flush_buffer yyxml_flush_buffer 16 #define yy_load_buffer_state yyxml_load_buffer_state 17 #define yy_switch_to_buffer yyxml_switch_to_buffer 18 #define yypush_buffer_state yyxmlpush_buffer_state 19 #define yypop_buffer_state yyxmlpop_buffer_state 20 #define yyensure_buffer_stack yyxmlensure_buffer_stack 21 #define yy_flex_debug yyxml_flex_debug 23 #define yyleng yyxmlleng 24 #define yylex yyxmllex 25 #define yylineno yyxmllineno 26 #define yyout yyxmlout 27 #define yyrestart yyxmlrestart 28 #define yytext yyxmltext 29 #define yywrap yyxmlwrap 30 #define yyalloc yyxmlalloc 31 #define yyrealloc yyxmlrealloc 32 #define yyfree yyxmlfree 35 #define YY_FLEX_MAJOR_VERSION 2 36 #define YY_FLEX_MINOR_VERSION 6 37 #define YY_FLEX_SUBMINOR_VERSION 4 38 #if YY_FLEX_SUBMINOR_VERSION > 0 42 #ifdef yy_create_buffer 43 #define yyxml_create_buffer_ALREADY_DEFINED 45 #define yy_create_buffer yyxml_create_buffer 48 #ifdef yy_delete_buffer 49 #define yyxml_delete_buffer_ALREADY_DEFINED 51 #define yy_delete_buffer yyxml_delete_buffer 55 #define yyxml_scan_buffer_ALREADY_DEFINED 57 #define yy_scan_buffer yyxml_scan_buffer 61 #define yyxml_scan_string_ALREADY_DEFINED 63 #define yy_scan_string yyxml_scan_string 67 #define yyxml_scan_bytes_ALREADY_DEFINED 69 #define yy_scan_bytes yyxml_scan_bytes 73 #define yyxml_init_buffer_ALREADY_DEFINED 75 #define yy_init_buffer yyxml_init_buffer 78 #ifdef yy_flush_buffer 79 #define yyxml_flush_buffer_ALREADY_DEFINED 81 #define yy_flush_buffer yyxml_flush_buffer 84 #ifdef yy_load_buffer_state 85 #define yyxml_load_buffer_state_ALREADY_DEFINED 87 #define yy_load_buffer_state yyxml_load_buffer_state 90 #ifdef yy_switch_to_buffer 91 #define yyxml_switch_to_buffer_ALREADY_DEFINED 93 #define yy_switch_to_buffer yyxml_switch_to_buffer 96 #ifdef yypush_buffer_state 97 #define yyxmlpush_buffer_state_ALREADY_DEFINED 99 #define yypush_buffer_state yyxmlpush_buffer_state 102 #ifdef yypop_buffer_state 103 #define yyxmlpop_buffer_state_ALREADY_DEFINED 105 #define yypop_buffer_state yyxmlpop_buffer_state 108 #ifdef yyensure_buffer_stack 109 #define yyxmlensure_buffer_stack_ALREADY_DEFINED 111 #define yyensure_buffer_stack yyxmlensure_buffer_stack 115 #define yyxmllex_ALREADY_DEFINED 117 #define yylex yyxmllex 121 #define yyxmlrestart_ALREADY_DEFINED 123 #define yyrestart yyxmlrestart 127 #define yyxmllex_init_ALREADY_DEFINED 129 #define yylex_init yyxmllex_init 132 #ifdef yylex_init_extra 133 #define yyxmllex_init_extra_ALREADY_DEFINED 135 #define yylex_init_extra yyxmllex_init_extra 139 #define yyxmllex_destroy_ALREADY_DEFINED 141 #define yylex_destroy yyxmllex_destroy 145 #define yyxmlget_debug_ALREADY_DEFINED 147 #define yyget_debug yyxmlget_debug 151 #define yyxmlset_debug_ALREADY_DEFINED 153 #define yyset_debug yyxmlset_debug 157 #define yyxmlget_extra_ALREADY_DEFINED 159 #define yyget_extra yyxmlget_extra 163 #define yyxmlset_extra_ALREADY_DEFINED 165 #define yyset_extra yyxmlset_extra 169 #define yyxmlget_in_ALREADY_DEFINED 171 #define yyget_in yyxmlget_in 175 #define yyxmlset_in_ALREADY_DEFINED 177 #define yyset_in yyxmlset_in 181 #define yyxmlget_out_ALREADY_DEFINED 183 #define yyget_out yyxmlget_out 187 #define yyxmlset_out_ALREADY_DEFINED 189 #define yyset_out yyxmlset_out 193 #define yyxmlget_leng_ALREADY_DEFINED 195 #define yyget_leng yyxmlget_leng 199 #define yyxmlget_text_ALREADY_DEFINED 201 #define yyget_text yyxmlget_text 205 #define yyxmlget_lineno_ALREADY_DEFINED 207 #define yyget_lineno yyxmlget_lineno 211 #define yyxmlset_lineno_ALREADY_DEFINED 213 #define yyset_lineno yyxmlset_lineno 217 #define yyxmlwrap_ALREADY_DEFINED 219 #define yywrap yyxmlwrap 223 #define yyxmlalloc_ALREADY_DEFINED 225 #define yyalloc yyxmlalloc 229 #define yyxmlrealloc_ALREADY_DEFINED 231 #define yyrealloc yyxmlrealloc 235 #define yyxmlfree_ALREADY_DEFINED 237 #define yyfree yyxmlfree 241 #define yyxmltext_ALREADY_DEFINED 243 #define yytext yyxmltext 247 #define yyxmlleng_ALREADY_DEFINED 249 #define yyleng yyxmlleng 253 #define yyxmlin_ALREADY_DEFINED 259 #define yyxmlout_ALREADY_DEFINED 261 #define yyout yyxmlout 265 #define yyxml_flex_debug_ALREADY_DEFINED 267 #define yy_flex_debug yyxml_flex_debug 271 #define yyxmllineno_ALREADY_DEFINED 273 #define yylineno yyxmllineno 293 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 298 #ifndef __STDC_LIMIT_MACROS 299 #define __STDC_LIMIT_MACROS 1 302 #include <inttypes.h> 319 #define INT8_MIN (-128) 322 #define INT16_MIN (-32767-1) 325 #define INT32_MIN (-2147483647-1) 328 #define INT8_MAX (127) 331 #define INT16_MAX (32767) 334 #define INT32_MAX (2147483647) 337 #define UINT8_MAX (255U) 340 #define UINT16_MAX (65535U) 343 #define UINT32_MAX (4294967295U) 347 #define SIZE_MAX (~(size_t)0) 357 #define yyconst const 359 #if defined(__GNUC__) && __GNUC__ >= 3 360 #define yynoreturn __attribute__((__noreturn__)) 371 #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) 377 #define BEGIN (yy_start) = 1 + 2 * 382 #define YY_START (((yy_start) - 1) / 2) 383 #define YYSTATE YY_START 385 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 387 #define YY_NEW_FILE yyrestart( yyin ) 388 #define YY_END_OF_BUFFER_CHAR 0 397 #define YY_BUF_SIZE 32768 399 #define YY_BUF_SIZE 16384 405 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 407 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 408 #define YY_TYPEDEF_YY_BUFFER_STATE 412 #ifndef YY_TYPEDEF_YY_SIZE_T 413 #define YY_TYPEDEF_YY_SIZE_T 421 #define EOB_ACT_CONTINUE_SCAN 0 422 #define EOB_ACT_END_OF_FILE 1 423 #define EOB_ACT_LAST_MATCH 2 425 #define YY_LESS_LINENO(n) 426 #define YY_LINENO_REWIND_TO(ptr) 433 int yyless_macro_arg = (n); \ 434 YY_LESS_LINENO(yyless_macro_arg);\ 435 *yy_cp = (yy_hold_char); \ 436 YY_RESTORE_YY_MORE_OFFSET \ 437 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 438 YY_DO_BEFORE_ACTION; \ 441 #define unput(c) yyunput( c, (yytext_ptr) ) 443 #ifndef YY_STRUCT_YY_BUFFER_STATE 444 #define YY_STRUCT_YY_BUFFER_STATE 491 #define YY_BUFFER_NEW 0 492 #define YY_BUFFER_NORMAL 1 503 #define YY_BUFFER_EOF_PENDING 2 519 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 520 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 525 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 553 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) 563 #define yy_new_buffer yy_create_buffer 564 #define yy_set_interactive(is_interactive) \ 566 if ( ! YY_CURRENT_BUFFER ){ \ 567 yyensure_buffer_stack (); \ 568 YY_CURRENT_BUFFER_LVALUE = \ 569 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 571 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 573 #define yy_set_bol(at_bol) \ 575 if ( ! YY_CURRENT_BUFFER ){\ 576 yyensure_buffer_stack (); \ 577 YY_CURRENT_BUFFER_LVALUE = \ 578 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 580 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 582 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 598 #define yytext_ptr yytext 608 #define YY_DO_BEFORE_ACTION \ 609 (yytext_ptr) = yy_bp; \ 610 yyleng = (int) (yy_cp - yy_bp); \ 611 (yy_hold_char) = *yy_cp; \ 613 (yy_c_buf_p) = yy_cp; 614 #define YY_NUM_RULES 19 615 #define YY_END_OF_BUFFER 20 625 0, 0, 0, 0, 0, 0, 0, 0, 20, 17,
626 1, 1, 1, 17, 17, 2, 17, 3, 4, 17,
627 5, 13, 18, 13, 17, 17, 1, 1, 15, 18,
628 15, 15, 15, 1, 0, 1, 0, 6, 0, 0,
629 0, 0, 0, 9, 11, 8, 4, 4, 7, 5,
630 13, 0, 0, 0, 0, 18, 0, 0, 0, 1,
631 18, 16, 0, 0, 0, 0, 0, 0, 0, 0,
632 8, 7, 7, 0, 0, 0, 0, 13, 16, 16,
633 0, 0, 0, 0, 0, 0, 0, 0, 0, 13,
634 0, 0, 0, 0, 0, 0, 10, 0, 0, 0,
636 12, 0, 12, 12, 0, 14, 0
641 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
642 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
643 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
644 1, 2, 5, 6, 7, 1, 1, 8, 9, 1,
645 1, 1, 1, 1, 10, 11, 12, 13, 13, 13,
646 13, 13, 13, 13, 13, 13, 13, 11, 14, 15,
647 16, 17, 18, 1, 19, 19, 20, 21, 22, 19,
648 23, 23, 23, 23, 23, 23, 23, 23, 24, 25,
649 23, 23, 23, 26, 23, 23, 23, 23, 27, 23,
650 1, 1, 28, 1, 29, 1, 19, 19, 19, 19,
652 19, 19, 23, 23, 23, 23, 23, 30, 31, 23,
653 23, 23, 23, 23, 23, 23, 23, 23, 23, 32,
654 23, 23, 1, 1, 1, 1, 1, 29, 29, 29,
655 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
656 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
657 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
658 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
659 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
660 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
661 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
663 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
664 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
665 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
666 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
667 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
673 1, 2, 2, 2, 3, 1, 4, 1, 1, 5,
674 6, 3, 7, 1, 8, 1, 1, 3, 9, 9,
675 10, 9, 11, 11, 11, 11, 11, 1, 12, 11,
681 0, 0, 30, 32, 45, 60, 38, 40, 295, 330,
682 48, 67, 76, 31, 50, 330, 90, 330, 70, 272,
683 0, 53, 68, 81, 277, 107, 83, 101, 330, 268,
684 85, 0, 265, 111, 276, 118, 59, 330, 272, 98,
685 271, 112, 80, 330, 241, 0, 330, 269, 120, 0,
686 123, 263, 263, 258, 0, 119, 86, 121, 254, 134,
687 248, 136, 116, 136, 119, 138, 151, 252, 233, 225,
688 0, 330, 252, 128, 149, 133, 0, 154, 330, 251,
689 145, 0, 151, 0, 238, 216, 198, 153, 0, 165,
690 213, 212, 211, 214, 161, 135, 330, 130, 125, 70,
692 166, 56, 330, 51, 24, 330, 330, 173, 185, 197,
693 209, 220, 228, 240, 249, 257, 265, 275, 281, 290,
694 295, 299, 303, 313, 319
699 107, 1, 108, 108, 1, 1, 109, 109, 107, 107,
700 107, 107, 107, 110, 111, 107, 112, 107, 107, 107,
701 113, 114, 114, 114, 115, 112, 107, 107, 107, 107,
702 107, 26, 107, 107, 26, 107, 110, 107, 116, 111,
703 117, 26, 118, 107, 107, 119, 107, 107, 107, 113,
704 114, 114, 115, 120, 26, 114, 107, 115, 107, 107,
705 107, 107, 107, 116, 107, 117, 107, 107, 107, 107,
706 119, 107, 107, 107, 120, 107, 121, 114, 107, 107,
707 107, 122, 107, 123, 124, 107, 107, 107, 125, 114,
708 121, 122, 123, 124, 124, 107, 107, 125, 107, 107,
710 107, 107, 107, 107, 107, 107, 0, 107, 107, 107,
711 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
712 107, 107, 107, 107, 107
717 10, 11, 12, 13, 10, 14, 10, 10, 15, 10,
718 10, 16, 10, 10, 17, 18, 19, 20, 21, 21,
719 21, 21, 21, 21, 21, 21, 21, 10, 21, 21,
720 21, 21, 23, 24, 23, 24, 38, 25, 39, 25,
721 30, 31, 30, 31, 26, 106, 26, 27, 28, 34,
722 34, 34, 32, 103, 32, 52, 10, 41, 38, 26,
723 53, 10, 27, 28, 38, 33, 39, 33, 34, 34,
724 34, 10, 47, 48, 26, 54, 10, 34, 36, 34,
725 105, 35, 55, 56, 34, 34, 34, 61, 53, 68,
726 35, 42, 42, 42, 43, 55, 102, 55, 76, 55,
728 69, 44, 34, 60, 34, 41, 38, 45, 42, 42,
729 42, 59, 34, 34, 34, 55, 107, 77, 44, 34,
730 34, 34, 72, 73, 45, 52, 54, 107, 81, 107,
731 53, 83, 35, 55, 78, 34, 34, 34, 79, 80,
732 88, 101, 107, 90, 107, 76, 78, 82, 55, 37,
733 84, 40, 67, 67, 67, 107, 52, 81, 37, 89,
734 100, 53, 90, 83, 40, 88, 90, 52, 103, 104,
735 99, 69, 53, 22, 22, 22, 22, 22, 22, 22,
736 22, 22, 22, 22, 22, 29, 29, 29, 29, 29,
737 29, 29, 29, 29, 29, 29, 29, 37, 37, 37,
739 37, 37, 37, 37, 37, 37, 37, 37, 37, 40,
740 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
741 40, 46, 46, 95, 40, 37, 78, 97, 46, 46,
742 46, 46, 50, 50, 50, 96, 50, 50, 50, 50,
743 51, 51, 51, 51, 51, 51, 51, 95, 51, 51,
744 51, 51, 58, 79, 72, 87, 86, 58, 58, 58,
745 64, 85, 55, 68, 74, 64, 64, 64, 66, 57,
746 54, 47, 70, 66, 66, 66, 67, 65, 63, 67,
747 43, 62, 55, 57, 67, 71, 71, 71, 49, 71,
748 71, 71, 71, 75, 107, 107, 107, 107, 75, 75,
750 75, 91, 107, 91, 91, 92, 107, 92, 92, 93,
751 107, 93, 93, 94, 94, 94, 94, 94, 94, 94,
752 94, 94, 94, 94, 94, 98, 107, 98, 98, 9,
753 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
754 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
755 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
761 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
762 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
763 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
764 1, 1, 3, 3, 4, 4, 14, 3, 14, 4,
765 7, 7, 8, 8, 3, 105, 4, 5, 5, 11,
766 11, 11, 7, 104, 8, 22, 5, 15, 15, 5,
767 22, 5, 6, 6, 37, 7, 37, 8, 12, 12,
768 12, 6, 19, 19, 6, 23, 6, 13, 13, 13,
769 102, 12, 23, 24, 27, 27, 27, 31, 24, 43,
770 13, 17, 17, 17, 17, 24, 100, 27, 57, 31,
772 43, 17, 28, 28, 28, 40, 40, 17, 26, 26,
773 26, 26, 34, 34, 34, 28, 42, 57, 26, 36,
774 36, 36, 49, 49, 26, 51, 56, 58, 63, 42,
775 51, 65, 36, 56, 58, 60, 60, 60, 62, 62,
776 74, 99, 64, 98, 66, 76, 76, 63, 60, 64,
777 65, 66, 67, 67, 67, 75, 78, 81, 81, 74,
778 96, 78, 75, 83, 83, 88, 88, 90, 101, 101,
779 95, 67, 90, 108, 108, 108, 108, 108, 108, 108,
780 108, 108, 108, 108, 108, 109, 109, 109, 109, 109,
781 109, 109, 109, 109, 109, 109, 109, 110, 110, 110,
783 110, 110, 110, 110, 110, 110, 110, 110, 110, 111,
784 111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
785 111, 112, 112, 94, 93, 92, 91, 87, 112, 112,
786 112, 112, 113, 113, 113, 86, 113, 113, 113, 113,
787 114, 114, 114, 114, 114, 114, 114, 85, 114, 114,
788 114, 114, 115, 80, 73, 70, 69, 115, 115, 115,
789 116, 68, 61, 59, 54, 116, 116, 116, 117, 53,
790 52, 48, 45, 117, 117, 117, 118, 41, 39, 118,
791 35, 33, 30, 25, 118, 119, 119, 119, 20, 119,
792 119, 119, 119, 120, 9, 0, 0, 0, 120, 120,
794 120, 121, 0, 121, 121, 122, 0, 122, 122, 123,
795 0, 123, 123, 124, 124, 124, 124, 124, 124, 124,
796 124, 124, 124, 124, 124, 125, 0, 125, 125, 107,
797 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
798 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
799 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
812 #define REJECT reject_used_but_not_detected 813 #define yymore() yymore_used_but_not_detected 814 #define YY_MORE_ADJ 0 815 #define YY_RESTORE_YY_MORE_OFFSET 818 #define YY_NO_INPUT 1 819 #define YY_NO_UNISTD_H 1 829 #define PARSER xml_parser 837 for (k = 0; isspace(s[k]) || s[k] ==
'<'; k++) ;
838 for (i = k; s[i] && ! isspace(s[i]); i++) ;
839 buf = (
char *)
malloc((i - k + 1) *
sizeof(char));
840 strncpy(buf, &s[k], i - k);
845 #include <util/pragma_wsign_compare.def> 846 #include <util/pragma_wnull_conversion.def> 847 #include <util/pragma_wdeprecated_register.def> 849 #line 849 "xml_lex.yy.cpp" 857 #line 857 "xml_lex.yy.cpp" 864 #ifndef YY_NO_UNISTD_H 872 #ifndef YY_EXTRA_TYPE 873 #define YY_EXTRA_TYPE void * 911 #ifndef YY_SKIP_YYWRAP 913 extern "C" int yywrap (
void );
915 extern int yywrap (
void );
924 static void yy_flex_strncpy (
char *,
const char *,
int );
927 #ifdef YY_NEED_STRLEN 928 static int yy_flex_strlen (
const char * );
933 static int yyinput (
void );
935 static int input (
void );
941 #ifndef YY_READ_BUF_SIZE 944 #define YY_READ_BUF_SIZE 16384 946 #define YY_READ_BUF_SIZE 8192 955 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 962 #define YY_INPUT(buf,result,max_size) \ 963 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 967 for ( n = 0; n < max_size && \ 968 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 971 buf[n++] = (char) c; \ 972 if ( c == EOF && ferror( yyin ) ) \ 973 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 979 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ 981 if( errno != EINTR) \ 983 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 999 #define yyterminate() return YY_NULL 1003 #ifndef YY_START_STACK_INCR 1004 #define YY_START_STACK_INCR 25 1008 #ifndef YY_FATAL_ERROR 1009 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 1018 #define YY_DECL_IS_OURS 1 1020 extern int yylex (
void);
1022 #define YY_DECL int yylex (void) 1028 #ifndef YY_USER_ACTION 1029 #define YY_USER_ACTION 1034 #define YY_BREAK break; 1037 #define YY_RULE_SETUP \ 1045 char *yy_cp, *yy_bp;
1075 #line 62 "scanner.l" 1078 #line 1078 "xml_lex.yy.cpp" 1102 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1104 yy_current_state = (int)
yy_def[yy_current_state];
1105 if ( yy_current_state >= 108 )
1108 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1111 while ( yy_current_state != 107 );
1129 goto yy_find_action;
1134 #line 64 "scanner.l" 1139 #line 65 "scanner.l" 1144 #line 66 "scanner.l" 1150 #line 67 "scanner.l" 1155 #line 68 "scanner.l" 1161 #line 69 "scanner.l" 1167 #line 70 "scanner.l" 1173 #line 72 "scanner.l" 1179 #line 73 "scanner.l" 1185 #line 74 "scanner.l" 1191 #line 75 "scanner.l" 1197 #line 76 "scanner.l" 1203 #line 78 "scanner.l" 1209 #line 80 "scanner.l" 1214 #line 81 "scanner.l" 1220 #line 82 "scanner.l" 1225 #line 84 "scanner.l" 1231 #line 85 "scanner.l" 1236 #line 87 "scanner.l" 1239 #line 1239 "xml_lex.yy.cpp" 1249 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1299 if ( yy_next_state )
1303 yy_current_state = yy_next_state;
1311 goto yy_find_action;
1364 goto yy_find_action;
1371 "fatal flex scanner internal error--no action found" );
1388 int number_to_move, i;
1393 "fatal flex scanner internal error--end of buffer missed" );
1419 for ( i = 0; i < number_to_move; ++i )
1420 *(dest++) = *(source++);
1433 while ( num_to_read <= 0 )
1439 int yy_c_buf_p_offset =
1446 if ( new_size <= 0 )
1462 "fatal error - scanner input buffer overflow" );
1506 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1537 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1539 yy_current_state = (int)
yy_def[yy_current_state];
1540 if ( yy_current_state >= 108 )
1543 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1546 return yy_current_state;
1565 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1567 yy_current_state = (int)
yy_def[yy_current_state];
1568 if ( yy_current_state >= 108 )
1571 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1572 yy_is_jam = (yy_current_state == 107);
1574 return yy_is_jam ? 0 : yy_current_state;
1583 static int yyinput (
void)
1585 static int input (
void)
1828 if (new_buffer == NULL)
1890 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1910 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1987 for ( i = 0; i < _yybytes_len; ++i )
1988 buf[i] = yybytes[i];
2004 #ifndef YY_EXIT_FAILURE 2005 #define YY_EXIT_FAILURE 2 2010 fprintf( stderr,
"%s\n", msg );
2021 int yyless_macro_arg = (n); \ 2022 YY_LESS_LINENO(yyless_macro_arg);\ 2023 yytext[yyleng] = (yy_hold_char); \ 2024 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2025 (yy_hold_char) = *(yy_c_buf_p); \ 2026 *(yy_c_buf_p) = '\0'; \ 2027 yyleng = yyless_macro_arg; \ 2166 static void yy_flex_strncpy (
char*
s1,
const char *
s2,
int n )
2170 for ( i = 0; i < n; ++i )
2175 #ifdef YY_NEED_STRLEN 2176 static int yy_flex_strlen (
const char * s )
2179 for ( n = 0; s[n]; ++n )
2201 return realloc(ptr, size);
2206 free( (
char *) ptr );
2209 #define YYTABLES_NAME "yytables" 2211 #line 87 "scanner.l"
static const flex_int16_t yy_accept[108]
#define yy_load_buffer_state
static const flex_int16_t yy_def[126]
static const YY_CHAR yy_meta[33]
static yy_state_type yy_get_previous_state(void)
unsigned char flex_uint8_t
#define YY_INPUT(buf, result, max_size)
static void yy_fatal_error(const char *msg)
int yy_bs_lineno
The line count.
static yy_state_type yy_last_accepting_state
#define yy_switch_to_buffer
unsigned short int flex_uint16_t
static int yy_did_buffer_switch_on_eof
int yy_bs_column
The column count.
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
static size_t yy_buffer_stack_top
index of top of stack.
#define EOB_ACT_CONTINUE_SCAN
#define yypush_buffer_state
static char * word(char *s)
#define YY_DO_BEFORE_ACTION
static int yy_get_next_buffer(void)
#define YY_BUFFER_EOF_PENDING
static const YY_CHAR yy_ec[256]
#define YY_STATE_EOF(state)
#define yyensure_buffer_stack
static const flex_int16_t yy_base[126]
static const flex_int16_t yy_chk[363]
static const flex_int16_t yy_nxt[363]
unsigned int flex_uint32_t
int yyxmlerror(const std::string &error)
#define YY_CURRENT_BUFFER
#define EOB_ACT_END_OF_FILE
#define EOB_ACT_LAST_MATCH
static size_t yy_buffer_stack_max
capacity of stack.
#define YY_FATAL_ERROR(msg)
#define yypop_buffer_state
struct yy_buffer_state * YY_BUFFER_STATE
unsigned char flex_uint8_t
#define YY_RESTORE_YY_MORE_OFFSET
#define YY_CURRENT_BUFFER_LVALUE
static char * yy_last_accepting_cpos
static int yy_init_globals(void)
#define YY_END_OF_BUFFER_CHAR
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)