2 #pragma GCC diagnostic ignored "-Wsign-compare" 6 # pragma clang diagnostic ignored "-Wdeprecated" 7 # pragma clang diagnostic ignored "-Wnull-conversion" 9 # pragma GCC diagnostic ignored "-Wsuggest-attribute=const" 10 # pragma GCC diagnostic ignored "-Wsuggest-attribute=noreturn" 11 # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" 12 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" 15 #line 1 "lib/vcsn/dot/scan.cc" 19 #define yyterminate() return parser::make_END(loc) 21 #line 7 "lib/vcsn/dot/scan.cc" 23 #define YY_INT_ALIGNED short int 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 49 #define yyFlexLexer yyFlexLexer 76 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 81 #ifndef __STDC_LIMIT_MACROS 82 #define __STDC_LIMIT_MACROS 1 102 #define INT8_MIN (-128) 105 #define INT16_MIN (-32767-1) 108 #define INT32_MIN (-2147483647-1) 111 #define INT8_MAX (127) 114 #define INT16_MAX (32767) 117 #define INT32_MAX (2147483647) 120 #define UINT8_MAX (255U) 123 #define UINT16_MAX (65535U) 126 #define UINT32_MAX (4294967295U) 130 #define SIZE_MAX (~(size_t)0) 150 #define yyconst const 152 #if defined(__GNUC__) && __GNUC__ >= 3 153 #define yynoreturn __attribute__((__noreturn__)) 167 #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) 181 #define BEGIN (yy_start) = 1 + 2 * 186 #define YY_START (((yy_start) - 1) / 2) 187 #define YYSTATE YY_START 189 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 191 #define YY_NEW_FILE yyrestart( yyin ) 192 #define YY_END_OF_BUFFER_CHAR 0 201 #define YY_BUF_SIZE 32768 203 #define YY_BUF_SIZE 16384 209 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 211 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 212 #define YY_TYPEDEF_YY_BUFFER_STATE 216 #ifndef YY_TYPEDEF_YY_SIZE_T 217 #define YY_TYPEDEF_YY_SIZE_T 230 #define EOB_ACT_CONTINUE_SCAN 0 231 #define EOB_ACT_END_OF_FILE 1 232 #define EOB_ACT_LAST_MATCH 2 234 #define YY_LESS_LINENO(n) 235 #define YY_LINENO_REWIND_TO(ptr) 242 int yyless_macro_arg = (n); \ 243 YY_LESS_LINENO(yyless_macro_arg);\ 244 *yy_cp = (yy_hold_char); \ 245 YY_RESTORE_YY_MORE_OFFSET \ 246 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 247 YY_DO_BEFORE_ACTION; \ 250 #define unput(c) yyunput( c, (yytext_ptr) ) 252 #ifndef YY_STRUCT_YY_BUFFER_STATE 253 #define YY_STRUCT_YY_BUFFER_STATE 305 #define YY_BUFFER_NEW 0 306 #define YY_BUFFER_NORMAL 1 317 #define YY_BUFFER_EOF_PENDING 2 336 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 337 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 342 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 356 #define yy_new_buffer yy_create_buffer 357 #define yy_set_interactive(is_interactive) \ 359 if ( ! YY_CURRENT_BUFFER ){ \ 360 yyensure_buffer_stack (); \ 361 YY_CURRENT_BUFFER_LVALUE = \ 362 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 364 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 366 #define yy_set_bol(at_bol) \ 368 if ( ! YY_CURRENT_BUFFER ){\ 369 yyensure_buffer_stack (); \ 370 YY_CURRENT_BUFFER_LVALUE = \ 371 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 373 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 375 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 383 #define yytext_ptr yytext 384 #define YY_INTERACTIVE 396 #define YY_DO_BEFORE_ACTION \ 397 (yytext_ptr) = yy_bp; \ 399 yyleng = (int) (yy_cp - yy_bp); \ 400 (yy_hold_char) = *yy_cp; \ 403 (yy_c_buf_p) = yy_cp; 405 #define YY_NUM_RULES 35 406 #define YY_END_OF_BUFFER 36 416 0, 0, 23, 23, 0, 0, 0, 0, 36, 22,
417 20, 21, 17, 13, 22, 22, 22, 19, 12, 14,
418 18, 10, 19, 8, 9, 19, 19, 19, 19, 19,
419 6, 7, 23, 25, 24, 29, 30, 27, 35, 33,
420 34, 32, 31, 20, 21, 0, 19, 11, 19, 16,
421 15, 19, 19, 19, 19, 19, 19, 19, 23, 25,
422 24, 24, 26, 29, 30, 28, 33, 34, 15, 19,
423 19, 19, 19, 19, 19, 19, 2, 19, 4, 19,
424 19, 3, 19, 19, 19, 1, 19, 5, 0
429 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
430 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
431 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
432 1, 2, 1, 4, 1, 1, 1, 1, 1, 1,
433 1, 5, 1, 6, 7, 8, 9, 10, 10, 10,
434 10, 10, 10, 10, 10, 10, 10, 11, 12, 13,
435 14, 15, 1, 1, 16, 16, 16, 16, 16, 16,
436 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
437 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
438 17, 18, 19, 1, 16, 1, 20, 21, 16, 22,
440 23, 16, 24, 25, 26, 16, 16, 16, 16, 27,
441 28, 29, 16, 30, 31, 16, 32, 16, 16, 16,
442 16, 16, 33, 1, 34, 1, 1, 16, 16, 16,
443 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
444 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
445 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
446 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
447 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
448 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
449 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
451 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
452 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
453 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
454 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
455 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
461 1, 1, 2, 3, 4, 1, 1, 1, 1, 5,
462 1, 1, 6, 1, 6, 5, 1, 3, 1, 5,
463 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
469 0, 0, 32, 33, 36, 38, 40, 44, 150, 151,
470 147, 145, 151, 151, 36, 137, 40, 40, 151, 151,
471 151, 151, 0, 151, 151, 120, 123, 114, 115, 110,
472 151, 151, 0, 138, 53, 0, 137, 151, 0, 0,
473 136, 151, 151, 136, 134, 126, 53, 151, 125, 151,
474 0, 124, 0, 109, 108, 111, 108, 108, 0, 125,
475 55, 60, 151, 0, 124, 151, 0, 123, 0, 115,
476 94, 100, 89, 90, 83, 82, 0, 76, 0, 65,
477 62, 0, 69, 43, 38, 0, 41, 0, 151, 69,
478 75, 81, 47, 87, 93, 99, 105, 111, 116
484 89, 1, 90, 90, 91, 91, 92, 92, 89, 89,
485 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
486 89, 89, 93, 89, 89, 93, 93, 93, 93, 93,
487 89, 89, 94, 89, 95, 96, 89, 89, 97, 98,
488 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
489 99, 89, 93, 93, 93, 93, 93, 93, 94, 89,
490 95, 95, 89, 96, 89, 89, 98, 89, 99, 89,
491 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
492 93, 93, 93, 93, 93, 93, 93, 93, 0, 89,
493 89, 89, 89, 89, 89, 89, 89, 89, 89
499 10, 11, 12, 13, 10, 14, 15, 16, 17, 18,
500 19, 20, 21, 22, 10, 23, 24, 10, 25, 23,
501 23, 26, 27, 28, 23, 23, 29, 23, 23, 23,
502 30, 23, 31, 32, 34, 34, 35, 35, 37, 38,
503 37, 38, 41, 46, 50, 47, 41, 52, 51, 47,
504 48, 53, 42, 39, 43, 39, 42, 62, 43, 89,
505 52, 63, 47, 89, 62, 88, 87, 86, 63, 33,
506 33, 33, 33, 33, 33, 36, 36, 36, 36, 36,
507 36, 40, 40, 40, 40, 40, 40, 59, 85, 59,
508 84, 59, 59, 61, 83, 61, 61, 61, 61, 64,
510 82, 81, 64, 64, 64, 66, 80, 66, 66, 66,
511 66, 67, 79, 67, 67, 67, 69, 78, 69, 69,
512 69, 69, 77, 76, 70, 68, 65, 60, 75, 74,
513 73, 72, 71, 70, 49, 49, 45, 44, 68, 65,
514 60, 58, 57, 56, 55, 54, 49, 45, 44, 89,
515 9, 89, 89, 89, 89, 89, 89, 89, 89, 89,
516 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
517 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
523 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
524 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
525 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
526 1, 1, 1, 1, 3, 4, 3, 4, 5, 5,
527 6, 6, 7, 15, 17, 15, 8, 18, 17, 18,
528 15, 93, 7, 5, 7, 6, 8, 35, 8, 61,
529 47, 35, 47, 61, 62, 87, 85, 84, 62, 90,
530 90, 90, 90, 90, 90, 91, 91, 91, 91, 91,
531 91, 92, 92, 92, 92, 92, 92, 94, 83, 94,
532 81, 94, 94, 95, 80, 95, 95, 95, 95, 96,
534 78, 76, 96, 96, 96, 97, 75, 97, 97, 97,
535 97, 98, 74, 98, 98, 98, 99, 73, 99, 99,
536 99, 99, 72, 71, 70, 68, 65, 60, 58, 57,
537 56, 55, 54, 52, 49, 46, 45, 44, 41, 37,
538 34, 30, 29, 28, 27, 26, 16, 12, 11, 9,
539 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
540 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
541 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
547 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
548 63, 64, 65, 66, 68, 69, 70, 71, 72, 77,
549 78, 79, 83, 84, 85, 86, 90, 95, 96, 97,
556 #define REJECT reject_used_but_not_detected 557 #define yymore() yymore_used_but_not_detected 558 #define YY_MORE_ADJ 0 559 #define YY_RESTORE_YY_MORE_OFFSET 560 #line 1 "lib/vcsn/dot/scan.ll" 562 #define YY_NO_INPUT 1 564 #line 14 "lib/vcsn/dot/scan.ll" 570 loc.end.column = 1; \ 574 #define YY_USER_ACTION \ 578 parser::make_ ## Token (loc) 582 #line 568 "lib/vcsn/dot/scan.cc" 584 #line 570 "lib/vcsn/dot/scan.cc" 591 #ifndef YY_NO_UNISTD_H 603 #ifndef YY_EXTRA_TYPE 604 #define YY_EXTRA_TYPE void * 622 static void yy_flex_strncpy (
char *,
const char *,
int );
625 #ifdef YY_NEED_STRLEN 626 static int yy_flex_strlen (
const char * );
641 #ifndef YY_READ_BUF_SIZE 644 #define YY_READ_BUF_SIZE 16384 646 #define YY_READ_BUF_SIZE 8192 655 #define ECHO LexerOutput( yytext, yyleng ) 663 #define YY_INPUT(buf,result,max_size) \ 667 if ( (int)(result = LexerInput( (char *) buf, max_size )) < 0 ) \ 668 YY_FATAL_ERROR( "input in flex scanner failed" ); 678 #define yyterminate() return YY_NULL 682 #ifndef YY_START_STACK_INCR 683 #define YY_START_STACK_INCR 25 687 #ifndef YY_FATAL_ERROR 691 #define YY_FATAL_ERROR(msg) LexerError( msg ) 710 #define YY_DECL_IS_OURS 1 714 #define YY_DECL int yyFlexLexer::yylex() 721 #ifndef YY_USER_ACTION 722 #define YY_USER_ACTION 727 #define YY_BREAK break; 731 #define YY_RULE_SETUP \ 758 yyin.rdbuf(std::cin.rdbuf());
765 yyout.rdbuf(std::cout.rdbuf());
769 yyensure_buffer_stack ();
774 yy_load_buffer_state( );
779 #line 41 "lib/vcsn/dot/scan.ll" 782 #line 44 "lib/vcsn/dot/scan.ll" 784 auto s = std::string{};
790 #line 776 "lib/vcsn/dot/scan.cc" 795 yy_cp = (yy_c_buf_p);
798 *yy_cp = (yy_hold_char);
806 yy_current_state = (yy_start);
813 (yy_last_accepting_state) = yy_current_state;
814 (yy_last_accepting_cpos) = yy_cp;
816 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
818 yy_current_state = (int)
yy_def[yy_current_state];
819 if ( yy_current_state >= 90 )
825 while (
yy_base[yy_current_state] != 151 );
832 yy_cp = (yy_last_accepting_cpos);
833 yy_current_state = (yy_last_accepting_state);
847 std::cerr <<
"--scanner backing up\n";
848 else if ( yy_act < 35 )
850 "(\"" << yytext <<
"\")\n";
851 else if ( yy_act == 35 )
852 std::cerr <<
"--accepting default rule (\"" << yytext <<
"\")\n";
853 else if ( yy_act == 36 )
854 std::cerr <<
"--(end of buffer or a NUL)\n";
856 std::cerr <<
"--EOF (start condition " <<
YY_START <<
")\n";
864 *yy_cp = (yy_hold_char);
865 yy_cp = (yy_last_accepting_cpos);
866 yy_current_state = (yy_last_accepting_state);
872 #line 53 "lib/vcsn/dot/scan.ll" 877 #line 54 "lib/vcsn/dot/scan.ll" 882 #line 55 "lib/vcsn/dot/scan.ll" 887 #line 56 "lib/vcsn/dot/scan.ll" 892 #line 57 "lib/vcsn/dot/scan.ll" 893 return TOK(SUBGRAPH);
897 #line 58 "lib/vcsn/dot/scan.ll" 902 #line 59 "lib/vcsn/dot/scan.ll" 907 #line 60 "lib/vcsn/dot/scan.ll" 908 return TOK(LBRACKET);
912 #line 61 "lib/vcsn/dot/scan.ll" 913 return TOK(RBRACKET);
917 #line 62 "lib/vcsn/dot/scan.ll" 922 #line 63 "lib/vcsn/dot/scan.ll" 927 #line 64 "lib/vcsn/dot/scan.ll" 932 #line 65 "lib/vcsn/dot/scan.ll" 937 #line 66 "lib/vcsn/dot/scan.ll" 942 #line 68 "lib/vcsn/dot/scan.ll" 943 loc.step();
continue;
947 #line 69 "lib/vcsn/dot/scan.ll" 952 #line 70 "lib/vcsn/dot/scan.ll" 957 #line 71 "lib/vcsn/dot/scan.ll" 962 #line 72 "lib/vcsn/dot/scan.ll" 964 return parser::make_ID
971 #line 77 "lib/vcsn/dot/scan.ll" 972 loc.step();
continue;
977 #line 78 "lib/vcsn/dot/scan.ll" 982 #line 79 "lib/vcsn/dot/scan.ll" 983 driver_.error(loc, std::string{
"invalid character: "}+yytext);
989 #line 83 "lib/vcsn/dot/scan.ll" 990 loc.step();
continue;
994 #line 84 "lib/vcsn/dot/scan.ll" 995 loc.step();
continue;
1000 #line 85 "lib/vcsn/dot/scan.ll" 1005 #line 86 "lib/vcsn/dot/scan.ll" 1012 #line 90 "lib/vcsn/dot/scan.ll" 1015 return parser::make_ID(
string_t{s}, loc);
1020 #line 95 "lib/vcsn/dot/scan.ll" 1021 s.push_back(yytext[1]);
1025 #line 96 "lib/vcsn/dot/scan.ll" 1026 s.append(yytext,
yyleng);
1031 #line 97 "lib/vcsn/dot/scan.ll" 1035 #line 99 "lib/vcsn/dot/scan.ll" 1037 driver_.error(loc,
"unexpected end of file in a string");
1039 return parser::make_ID(
string_t{s}, loc);
1046 #line 107 "lib/vcsn/dot/scan.ll" 1051 return parser::make_ID(
string_t{s}, loc);
1059 #line 117 "lib/vcsn/dot/scan.ll" 1060 ++nesting; s.push_back(
'<');
1064 #line 118 "lib/vcsn/dot/scan.ll" 1065 s.append(yytext,
yyleng);
1070 #line 119 "lib/vcsn/dot/scan.ll" 1074 #line 121 "lib/vcsn/dot/scan.ll" 1076 driver_.error(loc,
"unexpected end of file in a XML string");
1078 return parser::make_ID(
string_t{s}, loc);
1084 #line 128 "lib/vcsn/dot/scan.ll" 1087 #line 1073 "lib/vcsn/dot/scan.cc" 1095 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1098 *yy_cp = (yy_hold_char);
1132 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
1134 yy_current_state = yy_get_previous_state( );
1145 yy_next_state = yy_try_NUL_trans( yy_current_state );
1149 if ( yy_next_state )
1152 yy_cp = ++(yy_c_buf_p);
1153 yy_current_state = yy_next_state;
1160 yy_cp = (yy_c_buf_p);
1161 goto yy_find_action;
1165 else switch ( yy_get_next_buffer( ) )
1169 (yy_did_buffer_switch_on_eof) = 0;
1190 if ( ! (yy_did_buffer_switch_on_eof) )
1200 yy_current_state = yy_get_previous_state( );
1202 yy_cp = (yy_c_buf_p);
1210 yy_current_state = yy_get_previous_state( );
1212 yy_cp = (yy_c_buf_p);
1214 goto yy_find_action;
1221 "fatal flex scanner internal error--no action found" );
1235 yyin(arg_yyin ? arg_yyin->rdbuf() :
std::cin.rdbuf()),
1236 yyout(arg_yyout ? arg_yyout->rdbuf() :
std::cout.rdbuf())
1244 yyin(arg_yyin.rdbuf()),
1245 yyout(arg_yyout.rdbuf())
1297 yyout.rdbuf(new_out.rdbuf());
1315 #ifdef YY_INTERACTIVE 1324 #ifdef YY_INTERACTIVE 1341 return yyin.gcount();
1368 int number_to_move, i;
1373 "fatal flex scanner internal error--end of buffer missed" );
1399 for ( i = 0; i < number_to_move; ++i )
1400 *(dest++) = *(source++);
1413 while ( num_to_read <= 0 )
1419 int yy_c_buf_p_offset =
1426 if ( new_size <= 0 )
1442 "fatal error - scanner input buffer overflow" );
1486 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1524 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1526 yy_current_state = (int)
yy_def[yy_current_state];
1527 if ( yy_current_state >= 90 )
1530 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1533 return yy_current_state;
1557 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1559 yy_current_state = (int)
yy_def[yy_current_state];
1560 if ( yy_current_state >= 90 )
1563 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1564 yy_is_jam = (yy_current_state == 89);
1566 return yy_is_jam ? 0 : yy_current_state;
1583 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1593 *--dest = *--source;
1595 yy_cp += (int) (dest - source);
1596 yy_bp += (int) (dest - source);
1600 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1604 *--yy_cp = (
char) c;
1721 if( ! input_file ) {
1936 if (new_buffer == NULL)
2010 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2030 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2069 YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
2098 #ifndef YY_EXIT_FAILURE 2099 #define YY_EXIT_FAILURE 2 2107 std::cerr << msg << std::endl;
2119 int yyless_macro_arg = (n); \ 2120 YY_LESS_LINENO(yyless_macro_arg);\ 2121 yytext[yyleng] = (yy_hold_char); \ 2122 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2123 (yy_hold_char) = *(yy_c_buf_p); \ 2124 *(yy_c_buf_p) = '\0'; \ 2125 yyleng = yyless_macro_arg; \ 2156 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
2160 for ( i = 0; i < n; ++i )
2165 #ifdef YY_NEED_STRLEN 2166 static int yy_flex_strlen (
const char * s )
2169 for ( n = 0; s[n]; ++n )
2178 return malloc(size);
2191 return realloc(ptr, size);
2196 free( (
char *) ptr );
2201 #define YYTABLES_NAME "yytables" 2206 #line 128 "lib/vcsn/dot/scan.ll"
size_t yy_buffer_stack_top
index of top of stack.
yy_state_type yy_last_accepting_state
struct yy_buffer_state * YY_BUFFER_STATE
static const flex_int16_t yy_rule_linenum[35]
#define YY_STATE_EOF(state)
virtual int LexerInput(char *buf, int max_size)
yyFlexLexer(std::istream &arg_yyin, std::ostream &arg_yyout)
void yy_flush_buffer(yy_buffer_state *b)
Discard all buffered characters.
void yyunput(int c, char *buf_ptr)
static const YY_CHAR yy_meta[35]
unsigned int flex_uint32_t
#define YY_INPUT(buf, result, max_size)
yy_state_type yy_get_previous_state()
void yy_push_state(int new_state)
#define YY_CURRENT_BUFFER_LVALUE
#define YY_FATAL_ERROR(msg)
static const flex_int16_t yy_nxt[186]
static const flex_int16_t yy_chk[186]
void yyensure_buffer_stack(void)
yy_state_type * yy_state_buf
char * yy_last_accepting_cpos
static const YY_CHAR yy_ec[256]
void * yyalloc(yy_size_t size)
size_t size(const ExpSet &rs, const typename ExpSet::value_t &r)
std::streambuf * yy_input_file
void * yyrealloc(void *ptr, yy_size_t size)
void yypop_buffer_state()
Removes and deletes the top of the stack, if present.
#define YY_FLEX_NAMESPACE_END
void yypush_buffer_state(yy_buffer_state *new_buffer)
Pushes the new state onto the stack.
static const flex_int16_t yy_base[100]
yy_buffer_state ** yy_buffer_stack
Stack as an array.
#define YY_DO_BEFORE_ACTION
void yy_init_buffer(yy_buffer_state *b, std::istream *s)
void yy_load_buffer_state()
virtual void LexerOutput(const char *buf, int size)
#define YY_CURRENT_BUFFER
yy_state_type yy_try_NUL_trans(yy_state_type current_state)
static const flex_int16_t yy_def[100]
virtual void LexerError(const char *msg)
#define EOB_ACT_END_OF_FILE
#define EOB_ACT_CONTINUE_SCAN
void yy_delete_buffer(yy_buffer_state *b)
Destroy the buffer.
#define YY_BUFFER_EOF_PENDING
int yy_bs_lineno
The line count.
#define EOB_ACT_LAST_MATCH
#define YY_START_STACK_INCR
unsigned char flex_uint8_t
static const flex_int16_t yy_accept[90]
unsigned short int flex_uint16_t
void yy_switch_to_buffer(yy_buffer_state *new_buffer)
Switch to a different input buffer.
#define YY_END_OF_BUFFER_CHAR
int yy_bs_column
The column count.
void yyrestart(std::istream *s)
Immediately switch to a different input stream.
int yy_looking_for_trail_begin
virtual void switch_streams(std::istream *new_in, std::ostream *new_out=nullptr)
yy_buffer_state * yy_create_buffer(std::istream *s, int size)
Allocate and initialize an input buffer state.
int yy_did_buffer_switch_on_eof
weightset_mixin< detail::b_impl > b
#define YY_RESTORE_YY_MORE_OFFSET
void scan_open_(std::istream &f)
size_t yy_buffer_stack_max
capacity of stack.
Define the vcsn::detail::dot::parser class.