5 #define YY_INT_ALIGNED short int 9 #define yy_create_buffer utap__create_buffer 10 #define yy_delete_buffer utap__delete_buffer 11 #define yy_scan_buffer utap__scan_buffer 12 #define yy_scan_string utap__scan_string 13 #define yy_scan_bytes utap__scan_bytes 14 #define yy_init_buffer utap__init_buffer 15 #define yy_flush_buffer utap__flush_buffer 16 #define yy_load_buffer_state utap__load_buffer_state 17 #define yy_switch_to_buffer utap__switch_to_buffer 18 #define yypush_buffer_state utap_push_buffer_state 19 #define yypop_buffer_state utap_pop_buffer_state 20 #define yyensure_buffer_stack utap_ensure_buffer_stack 21 #define yy_flex_debug utap__flex_debug 23 #define yyleng utap_leng 24 #define yylex utap_lex 25 #define yylineno utap_lineno 26 #define yyout utap_out 27 #define yyrestart utap_restart 28 #define yytext utap_text 29 #define yywrap utap_wrap 30 #define yyalloc utap_alloc 31 #define yyrealloc utap_realloc 32 #define yyfree utap_free 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 utap__create_buffer_ALREADY_DEFINED 45 #define yy_create_buffer utap__create_buffer 48 #ifdef yy_delete_buffer 49 #define utap__delete_buffer_ALREADY_DEFINED 51 #define yy_delete_buffer utap__delete_buffer 55 #define utap__scan_buffer_ALREADY_DEFINED 57 #define yy_scan_buffer utap__scan_buffer 61 #define utap__scan_string_ALREADY_DEFINED 63 #define yy_scan_string utap__scan_string 67 #define utap__scan_bytes_ALREADY_DEFINED 69 #define yy_scan_bytes utap__scan_bytes 73 #define utap__init_buffer_ALREADY_DEFINED 75 #define yy_init_buffer utap__init_buffer 78 #ifdef yy_flush_buffer 79 #define utap__flush_buffer_ALREADY_DEFINED 81 #define yy_flush_buffer utap__flush_buffer 84 #ifdef yy_load_buffer_state 85 #define utap__load_buffer_state_ALREADY_DEFINED 87 #define yy_load_buffer_state utap__load_buffer_state 90 #ifdef yy_switch_to_buffer 91 #define utap__switch_to_buffer_ALREADY_DEFINED 93 #define yy_switch_to_buffer utap__switch_to_buffer 96 #ifdef yypush_buffer_state 97 #define utap_push_buffer_state_ALREADY_DEFINED 99 #define yypush_buffer_state utap_push_buffer_state 102 #ifdef yypop_buffer_state 103 #define utap_pop_buffer_state_ALREADY_DEFINED 105 #define yypop_buffer_state utap_pop_buffer_state 108 #ifdef yyensure_buffer_stack 109 #define utap_ensure_buffer_stack_ALREADY_DEFINED 111 #define yyensure_buffer_stack utap_ensure_buffer_stack 115 #define utap_lex_ALREADY_DEFINED 117 #define yylex utap_lex 121 #define utap_restart_ALREADY_DEFINED 123 #define yyrestart utap_restart 127 #define utap_lex_init_ALREADY_DEFINED 129 #define yylex_init utap_lex_init 132 #ifdef yylex_init_extra 133 #define utap_lex_init_extra_ALREADY_DEFINED 135 #define yylex_init_extra utap_lex_init_extra 139 #define utap_lex_destroy_ALREADY_DEFINED 141 #define yylex_destroy utap_lex_destroy 145 #define utap_get_debug_ALREADY_DEFINED 147 #define yyget_debug utap_get_debug 151 #define utap_set_debug_ALREADY_DEFINED 153 #define yyset_debug utap_set_debug 157 #define utap_get_extra_ALREADY_DEFINED 159 #define yyget_extra utap_get_extra 163 #define utap_set_extra_ALREADY_DEFINED 165 #define yyset_extra utap_set_extra 169 #define utap_get_in_ALREADY_DEFINED 171 #define yyget_in utap_get_in 175 #define utap_set_in_ALREADY_DEFINED 177 #define yyset_in utap_set_in 181 #define utap_get_out_ALREADY_DEFINED 183 #define yyget_out utap_get_out 187 #define utap_set_out_ALREADY_DEFINED 189 #define yyset_out utap_set_out 193 #define utap_get_leng_ALREADY_DEFINED 195 #define yyget_leng utap_get_leng 199 #define utap_get_text_ALREADY_DEFINED 201 #define yyget_text utap_get_text 205 #define utap_get_lineno_ALREADY_DEFINED 207 #define yyget_lineno utap_get_lineno 211 #define utap_set_lineno_ALREADY_DEFINED 213 #define yyset_lineno utap_set_lineno 217 #define utap_wrap_ALREADY_DEFINED 219 #define yywrap utap_wrap 223 #define utap_alloc_ALREADY_DEFINED 225 #define yyalloc utap_alloc 229 #define utap_realloc_ALREADY_DEFINED 231 #define yyrealloc utap_realloc 235 #define utap_free_ALREADY_DEFINED 237 #define yyfree utap_free 241 #define utap_text_ALREADY_DEFINED 243 #define yytext utap_text 247 #define utap_leng_ALREADY_DEFINED 249 #define yyleng utap_leng 253 #define utap_in_ALREADY_DEFINED 259 #define utap_out_ALREADY_DEFINED 261 #define yyout utap_out 265 #define utap__flex_debug_ALREADY_DEFINED 267 #define yy_flex_debug utap__flex_debug 271 #define utap_lineno_ALREADY_DEFINED 273 #define yylineno utap_lineno 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 445 struct yy_buffer_state
466 int yy_is_our_buffer;
473 int yy_is_interactive;
489 int yy_buffer_status;
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 86 615 #define YY_END_OF_BUFFER 87 625 0, 0, 0, 0, 87, 85, 7, 9, 85, 23,
626 81, 45, 47, 22, 19, 20, 43, 41, 12, 42,
627 11, 44, 83, 14, 13, 59, 27, 60, 21, 65,
628 82, 69, 67, 66, 68, 17, 24, 18, 48, 15,
629 46, 16, 4, 1, 4, 4, 7, 9, 10, 62,
630 33, 52, 35, 31, 63, 29, 64, 30, 25, 0,
631 8, 6, 32, 53, 0, 83, 0, 28, 49, 55,
632 80, 39, 57, 61, 58, 56, 50, 40, 82, 0,
633 0, 0, 0, 79, 0, 5, 54, 36, 34, 51,
634 2, 0, 0, 74, 0, 6, 84, 0, 84, 37,
636 38, 70, 71, 72, 73, 0, 26, 77, 75, 78,
642 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
643 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
644 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
645 1, 2, 5, 1, 6, 7, 8, 9, 10, 11,
646 12, 13, 14, 15, 16, 17, 18, 19, 19, 19,
647 19, 19, 19, 19, 19, 19, 19, 20, 21, 22,
648 23, 24, 25, 1, 26, 27, 28, 27, 29, 27,
649 27, 27, 27, 27, 27, 27, 27, 27, 27, 30,
650 27, 31, 27, 32, 33, 27, 34, 35, 27, 27,
651 36, 37, 38, 39, 27, 1, 27, 27, 27, 27,
653 40, 27, 27, 27, 27, 27, 27, 27, 27, 27,
654 27, 27, 27, 27, 27, 27, 41, 27, 27, 27,
655 27, 27, 42, 43, 44, 1, 1, 1, 1, 1,
656 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
657 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
658 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
659 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
660 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
661 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
662 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
664 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
665 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
666 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
667 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
668 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
674 1, 2, 3, 1, 1, 4, 4, 1, 1, 1,
675 1, 1, 1, 1, 1, 1, 1, 1, 4, 1,
676 1, 4, 1, 1, 1, 4, 4, 4, 4, 4,
677 4, 4, 4, 4, 4, 4, 1, 1, 1, 4,
683 0, 0, 42, 43, 154, 155, 151, 149, 148, 127,
684 155, 126, 38, 155, 155, 155, 125, 34, 155, 35,
685 155, 47, 33, 124, 155, 44, 55, 57, 155, 27,
686 52, 53, 61, 63, 64, 108, 88, 155, 122, 155,
687 64, 155, 155, 155, 126, 108, 140, 138, 136, 155,
688 155, 155, 155, 155, 155, 155, 115, 155, 155, 122,
689 155, 0, 155, 155, 118, 75, 79, 155, 113, 155,
690 155, 155, 155, 155, 155, 155, 112, 155, 74, 109,
691 94, 105, 83, 155, 51, 155, 155, 155, 155, 155,
692 155, 90, 116, 155, 94, 0, 82, 98, 97, 155,
694 155, 155, 89, 95, 155, 85, 155, 155, 155, 155,
695 155, 85, 80, 85, 0, 0, 155, 122, 60, 126,
701 117, 1, 118, 118, 117, 117, 117, 117, 117, 117,
702 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
703 117, 117, 117, 117, 117, 117, 117, 117, 117, 119,
704 119, 119, 119, 119, 119, 117, 117, 117, 117, 117,
705 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
706 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
707 117, 120, 117, 117, 117, 117, 117, 117, 117, 117,
708 117, 117, 117, 117, 117, 117, 117, 117, 119, 117,
709 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
710 117, 117, 117, 117, 117, 120, 117, 117, 117, 117,
712 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
713 117, 117, 117, 117, 121, 121, 0, 117, 117, 117,
719 6, 7, 8, 9, 10, 11, 6, 12, 13, 14,
720 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
721 25, 26, 27, 28, 29, 30, 31, 31, 32, 31,
722 33, 31, 34, 35, 31, 36, 37, 38, 39, 31,
723 31, 40, 41, 42, 44, 44, 52, 55, 80, 65,
724 57, 66, 85, 86, 45, 45, 56, 58, 59, 61,
725 53, 67, 81, 79, 62, 69, 70, 71, 72, 63,
726 46, 46, 67, 117, 82, 60, 73, 74, 75, 76,
727 77, 78, 117, 64, 117, 117, 89, 117, 83, 85,
728 86, 65, 98, 66, 98, 117, 117, 99, 117, 117,
730 97, 108, 109, 67, 115, 87, 90, 110, 111, 117,
731 67, 114, 113, 112, 67, 99, 99, 107, 49, 106,
732 105, 67, 43, 43, 43, 43, 96, 96, 104, 96,
733 116, 103, 102, 116, 101, 100, 97, 95, 94, 93,
734 48, 47, 92, 91, 88, 84, 68, 54, 51, 50,
735 49, 48, 47, 117, 5, 117, 117, 117, 117, 117,
736 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
737 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
738 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
739 117, 117, 117, 117, 117, 117, 117, 117, 117
745 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
746 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
747 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
748 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
749 1, 1, 1, 1, 3, 4, 13, 18, 30, 23,
750 20, 23, 85, 85, 3, 4, 18, 20, 20, 22,
751 13, 23, 30, 119, 22, 26, 26, 26, 26, 22,
752 3, 4, 23, 31, 32, 20, 27, 27, 27, 28,
753 28, 28, 33, 22, 34, 35, 41, 31, 32, 37,
754 37, 66, 67, 66, 67, 79, 33, 67, 34, 35,
756 97, 103, 103, 66, 114, 37, 41, 104, 104, 79,
757 97, 113, 112, 106, 66, 99, 98, 95, 93, 92,
758 83, 97, 118, 118, 118, 118, 120, 120, 82, 120,
759 121, 81, 80, 121, 77, 69, 65, 60, 57, 49,
760 48, 47, 46, 45, 39, 36, 24, 17, 12, 10,
761 9, 8, 7, 5, 117, 117, 117, 117, 117, 117,
762 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
763 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
764 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
765 117, 117, 117, 117, 117, 117, 117, 117, 117
778 #define REJECT reject_used_but_not_detected 779 #define yymore() yymore_used_but_not_detected 780 #define YY_MORE_ADJ 0 781 #define YY_RESTORE_YY_MORE_OFFSET 810 #define YY_DECL int lexer_flex(void) 812 uint32_t PositionTracker::line;
813 uint32_t PositionTracker::offset;
814 uint32_t PositionTracker::position = 0;
815 std::string PositionTracker::path;
847 #define YY_USER_ACTION yylloc.start = PositionTracker::position; PositionTracker::increment(ch, yyleng); yylloc.end = PositionTracker::position; 858 #ifndef YY_NO_UNISTD_H 866 #ifndef YY_EXTRA_TYPE 867 #define YY_EXTRA_TYPE void * 905 #ifndef YY_SKIP_YYWRAP 907 extern "C" int yywrap (
void );
909 extern int yywrap (
void );
918 static void yy_flex_strncpy (
char *,
const char *,
int );
921 #ifdef YY_NEED_STRLEN 922 static int yy_flex_strlen (
const char * );
927 static int yyinput (
void );
929 static int input (
void );
935 #ifndef YY_READ_BUF_SIZE 938 #define YY_READ_BUF_SIZE 16384 940 #define YY_READ_BUF_SIZE 8192 949 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 956 #define YY_INPUT(buf,result,max_size) \ 957 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 961 for ( n = 0; n < max_size && \ 962 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 965 buf[n++] = (char) c; \ 966 if ( c == EOF && ferror( yyin ) ) \ 967 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 973 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ 975 if( errno != EINTR) \ 977 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 993 #define yyterminate() return YY_NULL 997 #ifndef YY_START_STACK_INCR 998 #define YY_START_STACK_INCR 25 1002 #ifndef YY_FATAL_ERROR 1003 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 1012 #define YY_DECL_IS_OURS 1 1014 extern int yylex (
void);
1016 #define YY_DECL int yylex (void) 1022 #ifndef YY_USER_ACTION 1023 #define YY_USER_ACTION 1028 #define YY_BREAK break; 1031 #define YY_RULE_SETUP \ 1072 #line 1073 "lexer.cc" 1096 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1098 yy_current_state = (int)
yy_def[yy_current_state];
1099 if ( yy_current_state >= 118 )
1102 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1105 while ( yy_current_state != 117 );
1123 goto yy_find_action;
1129 { PositionTracker::newline(
ch, 1); }
1143 {
ch->handleExpect(utap_text+7); }
1156 PositionTracker::newline(
ch, 1);
1177 #line 100 "lexer.ll" 1179 PositionTracker::newline(
ch,
yyleng);
1187 #line 106 "lexer.ll" 1189 PositionTracker::newline(
ch,
yyleng / 2);
1196 #line 112 "lexer.ll" 1201 #line 113 "lexer.ll" 1206 #line 114 "lexer.ll" 1211 #line 115 "lexer.ll" 1216 #line 116 "lexer.ll" 1221 #line 117 "lexer.ll" 1226 #line 118 "lexer.ll" 1231 #line 119 "lexer.ll" 1236 #line 120 "lexer.ll" 1241 #line 121 "lexer.ll" 1246 #line 122 "lexer.ll" 1251 #line 123 "lexer.ll" 1256 #line 124 "lexer.ll" 1261 #line 125 "lexer.ll" 1266 #line 127 "lexer.ll" 1271 #line 128 "lexer.ll" 1276 #line 130 "lexer.ll" 1281 #line 131 "lexer.ll" 1286 #line 132 "lexer.ll" 1291 #line 133 "lexer.ll" 1296 #line 134 "lexer.ll" 1301 #line 135 "lexer.ll" 1306 #line 136 "lexer.ll" 1311 #line 137 "lexer.ll" 1316 #line 138 "lexer.ll" 1321 #line 139 "lexer.ll" 1326 #line 140 "lexer.ll" 1331 #line 141 "lexer.ll" 1336 #line 142 "lexer.ll" 1341 #line 143 "lexer.ll" 1346 #line 145 "lexer.ll" 1351 #line 146 "lexer.ll" 1356 #line 147 "lexer.ll" 1361 #line 148 "lexer.ll" 1366 #line 149 "lexer.ll" 1371 #line 150 "lexer.ll" 1376 #line 151 "lexer.ll" 1381 #line 152 "lexer.ll" 1386 #line 153 "lexer.ll" 1391 #line 154 "lexer.ll" 1396 #line 155 "lexer.ll" 1401 #line 156 "lexer.ll" 1406 #line 157 "lexer.ll" 1411 #line 158 "lexer.ll" 1416 #line 160 "lexer.ll" 1421 #line 161 "lexer.ll" 1426 #line 162 "lexer.ll" 1437 #line 169 "lexer.ll" 1448 #line 176 "lexer.ll" 1453 #line 177 "lexer.ll" 1458 #line 178 "lexer.ll" 1463 #line 179 "lexer.ll" 1468 #line 181 "lexer.ll" 1473 #line 182 "lexer.ll" 1478 #line 184 "lexer.ll" 1483 #line 185 "lexer.ll" 1488 #line 186 "lexer.ll" 1493 #line 187 "lexer.ll" 1498 #line 188 "lexer.ll" 1503 #line 190 "lexer.ll" 1508 #line 191 "lexer.ll" 1513 #line 192 "lexer.ll" 1518 #line 193 "lexer.ll" 1523 #line 194 "lexer.ll" 1528 #line 195 "lexer.ll" 1533 #line 196 "lexer.ll" 1538 #line 197 "lexer.ll" 1543 #line 198 "lexer.ll" 1548 #line 199 "lexer.ll" 1553 #line 200 "lexer.ll" 1558 #line 201 "lexer.ll" 1563 #line 203 "lexer.ll" 1565 const Keyword *keyword
1566 = Keywords::in_word_set(utap_text, strlen(utap_text));
1567 if (keyword != NULL)
1569 int32_t s = keyword->syntax;
1590 return keyword->token;
1593 if (strlen(utap_text) >
MAXLEN-1)
1598 if (
ch->isType(utap_text))
1614 #line 251 "lexer.ll" 1617 const char *s = utap_text;
1618 while(*s && *s ==
'0') s++;
1625 if (strcmp(
"2147483648", s) == 0)
1633 snprintf(check,
sizeof(check),
"%d",
utap_lval.number);
1634 if (strcmp(check,s) != 0)
1646 #line 280 "lexer.ll" 1655 #line 287 "lexer.ll" 1662 #line 292 "lexer.ll" 1667 #line 294 "lexer.ll" 1670 #line 1671 "lexer.cc" 1675 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1725 if ( yy_next_state )
1729 yy_current_state = yy_next_state;
1737 goto yy_find_action;
1790 goto yy_find_action;
1797 "fatal flex scanner internal error--no action found" );
1814 int number_to_move, i;
1819 "fatal flex scanner internal error--end of buffer missed" );
1845 for ( i = 0; i < number_to_move; ++i )
1846 *(dest++) = *(source++);
1859 while ( num_to_read <= 0 )
1865 int yy_c_buf_p_offset =
1868 if ( b->yy_is_our_buffer )
1870 int new_size = b->yy_buf_size * 2;
1872 if ( new_size <= 0 )
1873 b->yy_buf_size += b->yy_buf_size / 8;
1875 b->yy_buf_size *= 2;
1877 b->yy_ch_buf = (
char *)
1884 b->yy_ch_buf = NULL;
1886 if ( ! b->yy_ch_buf )
1888 "fatal error - scanner input buffer overflow" );
1890 (
yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1932 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1963 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1965 yy_current_state = (int)
yy_def[yy_current_state];
1966 if ( yy_current_state >= 118 )
1969 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1972 return yy_current_state;
1991 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1993 yy_current_state = (int)
yy_def[yy_current_state];
1994 if ( yy_current_state >= 118 )
1997 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1998 yy_is_jam = (yy_current_state == 117);
2000 return yy_is_jam ? 0 : yy_current_state;
2009 static int yyinput (
void)
2011 static int input (
void)
2156 b->yy_buf_size = size;
2162 if ( ! b->yy_ch_buf )
2165 b->yy_is_our_buffer = 1;
2185 if ( b->yy_is_our_buffer )
2186 yyfree( (
void *) b->yy_ch_buf );
2202 b->yy_input_file = file;
2203 b->yy_fill_buffer = 1;
2210 b->yy_bs_lineno = 1;
2211 b->yy_bs_column = 0;
2214 b->yy_is_interactive = 0;
2237 b->yy_buf_pos = &b->yy_ch_buf[0];
2254 if (new_buffer == NULL)
2313 (num_to_alloc *
sizeof(
struct yy_buffer_state*)
2316 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2318 memset((
yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
2333 num_to_alloc *
sizeof(
struct yy_buffer_state*)
2336 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2364 b->yy_buf_size = (int) (size - 2);
2365 b->yy_buf_pos = b->yy_ch_buf = base;
2366 b->yy_is_our_buffer = 0;
2367 b->yy_input_file = NULL;
2368 b->yy_n_chars = b->yy_buf_size;
2369 b->yy_is_interactive = 0;
2371 b->yy_fill_buffer = 0;
2413 for ( i = 0; i < _yybytes_len; ++i )
2414 buf[i] = yybytes[i];
2425 b->yy_is_our_buffer = 1;
2430 #ifndef YY_EXIT_FAILURE 2431 #define YY_EXIT_FAILURE 2 2436 fprintf( stderr,
"%s\n", msg );
2447 int yyless_macro_arg = (n); \ 2448 YY_LESS_LINENO(yyless_macro_arg);\ 2449 yytext[yyleng] = (yy_hold_char); \ 2450 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2451 (yy_hold_char) = *(yy_c_buf_p); \ 2452 *(yy_c_buf_p) = '\0'; \ 2453 yyleng = yyless_macro_arg; \ 2592 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
2596 for ( i = 0; i < n; ++i )
2601 #ifdef YY_NEED_STRLEN 2602 static int yy_flex_strlen (
const char * s )
2605 for ( n = 0; s[n]; ++n )
2627 return realloc(ptr, size);
2630 void yyfree (
void * ptr )
2632 free( (
char *) ptr );
2635 #define YYTABLES_NAME "yytables" 2637 #line 294 "lexer.ll"
static yy_state_type yy_get_previous_state(void)
#define YY_CURRENT_BUFFER
static ParserBuilder * ch
#define yyensure_buffer_stack
static int yy_init_globals(void)
#define YY_STATE_EOF(state)
static const flex_int16_t yy_nxt[200]
#define YY_END_OF_BUFFER_CHAR
The ParserBuilder interface is used by the parser to output the parsed system.
#define EOB_ACT_CONTINUE_SCAN
#define yypop_buffer_state
#define yy_switch_to_buffer
virtual void addPosition(uint32_t position, uint32_t offset, uint32_t line, const std::string &path)=0
Add mapping from an absolute position to a relative XML element.
#define yy_load_buffer_state
static const flex_int16_t yy_base[122]
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
#define YY_FATAL_ERROR(msg)
struct yy_buffer_state * YY_BUFFER_STATE
static const YY_CHAR yy_ec[256]
static const flex_int16_t yy_chk[200]
#define YY_CURRENT_BUFFER_LVALUE
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
static void yynoreturn yy_fatal_error(const char *msg)
#define EOB_ACT_END_OF_FILE
static char * yy_last_accepting_cpos
static size_t yy_buffer_stack_top
index of top of stack.
unsigned short int flex_uint16_t
static const flex_int16_t yy_accept[118]
static const YY_CHAR yy_meta[45]
#define YY_RESTORE_YY_MORE_OFFSET
unsigned char flex_uint8_t
static size_t yy_buffer_stack_max
capacity of stack.
#define YY_BUFFER_EOF_PENDING
static yy_state_type yy_last_accepting_state
#define YY_INPUT(buf, result, max_size)
virtual void setPosition(uint32_t a, uint32_t b)=0
Sets the current position.
static const flex_int16_t yy_def[122]
#define yypush_buffer_state
#define YY_DO_BEFORE_ACTION
unsigned int flex_uint32_t
static int yy_get_next_buffer(void)
#define EOB_ACT_LAST_MATCH
static int yy_did_buffer_switch_on_eof
static void utap_error(const char *msg)