2 #pragma GCC diagnostic ignored "-Wsign-compare" 5 # pragma clang diagnostic ignored "-Wdeprecated" 6 # pragma clang diagnostic ignored "-Wnull-conversion" 7 # if 5 <= __clang_major__ 8 # pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" 10 #elif defined __GNUC__ 11 # pragma GCC diagnostic ignored "-Wsuggest-attribute=const" 12 # pragma GCC diagnostic ignored "-Wsuggest-attribute=noreturn" 13 # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" 14 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" 17 #line 1 "lib/vcsn/dot/scan.cc" 21 #define yyterminate() return parser::make_END(loc) 23 #line 7 "lib/vcsn/dot/scan.cc" 25 #define YY_INT_ALIGNED short int 37 #define YY_FLEX_MAJOR_VERSION 2 38 #define YY_FLEX_MINOR_VERSION 6 39 #define YY_FLEX_SUBMINOR_VERSION 4 40 #if YY_FLEX_SUBMINOR_VERSION > 0 51 #define yyFlexLexer yyFlexLexer 78 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 83 #ifndef __STDC_LIMIT_MACROS 84 #define __STDC_LIMIT_MACROS 1 104 #define INT8_MIN (-128) 107 #define INT16_MIN (-32767-1) 110 #define INT32_MIN (-2147483647-1) 113 #define INT8_MAX (127) 116 #define INT16_MAX (32767) 119 #define INT32_MAX (2147483647) 122 #define UINT8_MAX (255U) 125 #define UINT16_MAX (65535U) 128 #define UINT32_MAX (4294967295U) 132 #define SIZE_MAX (~(size_t)0) 152 #define yyconst const 154 #if defined(__GNUC__) && __GNUC__ >= 3 155 #define yynoreturn __attribute__((__noreturn__)) 169 #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) 183 #define BEGIN (yy_start) = 1 + 2 * 188 #define YY_START (((yy_start) - 1) / 2) 189 #define YYSTATE YY_START 191 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 193 #define YY_NEW_FILE yyrestart( yyin ) 194 #define YY_END_OF_BUFFER_CHAR 0 203 #define YY_BUF_SIZE 32768 205 #define YY_BUF_SIZE 16384 211 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 213 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 214 #define YY_TYPEDEF_YY_BUFFER_STATE 218 #ifndef YY_TYPEDEF_YY_SIZE_T 219 #define YY_TYPEDEF_YY_SIZE_T 232 #define EOB_ACT_CONTINUE_SCAN 0 233 #define EOB_ACT_END_OF_FILE 1 234 #define EOB_ACT_LAST_MATCH 2 236 #define YY_LESS_LINENO(n) 237 #define YY_LINENO_REWIND_TO(ptr) 244 int yyless_macro_arg = (n); \ 245 YY_LESS_LINENO(yyless_macro_arg);\ 246 *yy_cp = (yy_hold_char); \ 247 YY_RESTORE_YY_MORE_OFFSET \ 248 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 249 YY_DO_BEFORE_ACTION; \ 252 #define unput(c) yyunput( c, (yytext_ptr) ) 254 #ifndef YY_STRUCT_YY_BUFFER_STATE 255 #define YY_STRUCT_YY_BUFFER_STATE 307 #define YY_BUFFER_NEW 0 308 #define YY_BUFFER_NORMAL 1 319 #define YY_BUFFER_EOF_PENDING 2 338 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 339 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 344 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 358 #define yy_new_buffer yy_create_buffer 359 #define yy_set_interactive(is_interactive) \ 361 if ( ! YY_CURRENT_BUFFER ){ \ 362 yyensure_buffer_stack (); \ 363 YY_CURRENT_BUFFER_LVALUE = \ 364 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 366 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 368 #define yy_set_bol(at_bol) \ 370 if ( ! YY_CURRENT_BUFFER ){\ 371 yyensure_buffer_stack (); \ 372 YY_CURRENT_BUFFER_LVALUE = \ 373 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 375 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 377 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 385 #define yytext_ptr yytext 386 #define YY_INTERACTIVE 398 #define YY_DO_BEFORE_ACTION \ 399 (yytext_ptr) = yy_bp; \ 401 yyleng = (int) (yy_cp - yy_bp); \ 402 (yy_hold_char) = *yy_cp; \ 405 (yy_c_buf_p) = yy_cp; 407 #define YY_NUM_RULES 35 408 #define YY_END_OF_BUFFER 36 418 0, 0, 23, 23, 0, 0, 0, 0, 36, 22,
419 20, 21, 17, 13, 22, 22, 22, 19, 12, 14,
420 18, 10, 19, 8, 9, 19, 19, 19, 19, 19,
421 6, 7, 23, 25, 24, 29, 30, 27, 35, 33,
422 34, 32, 31, 20, 21, 0, 19, 11, 19, 16,
423 15, 19, 19, 19, 19, 19, 19, 19, 23, 25,
424 24, 24, 26, 29, 30, 28, 33, 34, 15, 19,
425 19, 19, 19, 19, 19, 19, 2, 19, 4, 19,
426 19, 3, 19, 19, 19, 1, 19, 5, 0
431 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
432 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
433 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
434 1, 2, 1, 4, 1, 1, 1, 1, 1, 1,
435 1, 5, 1, 6, 7, 8, 9, 10, 10, 10,
436 10, 10, 10, 10, 10, 10, 10, 11, 12, 13,
437 14, 15, 1, 1, 16, 16, 16, 16, 16, 16,
438 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
439 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
440 17, 18, 19, 1, 16, 1, 20, 21, 16, 22,
442 23, 16, 24, 25, 26, 16, 16, 16, 16, 27,
443 28, 29, 16, 30, 31, 16, 32, 16, 16, 16,
444 16, 16, 33, 1, 34, 1, 1, 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,
450 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
451 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,
456 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
457 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
463 1, 1, 2, 3, 4, 1, 1, 1, 1, 5,
464 1, 1, 6, 1, 6, 5, 1, 3, 1, 5,
465 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
471 0, 0, 32, 33, 36, 38, 40, 44, 150, 151,
472 147, 145, 151, 151, 36, 137, 40, 40, 151, 151,
473 151, 151, 0, 151, 151, 120, 123, 114, 115, 110,
474 151, 151, 0, 138, 53, 0, 137, 151, 0, 0,
475 136, 151, 151, 136, 134, 126, 53, 151, 125, 151,
476 0, 124, 0, 109, 108, 111, 108, 108, 0, 125,
477 55, 60, 151, 0, 124, 151, 0, 123, 0, 115,
478 94, 100, 89, 90, 83, 82, 0, 76, 0, 65,
479 62, 0, 69, 43, 38, 0, 41, 0, 151, 69,
480 75, 81, 47, 87, 93, 99, 105, 111, 116
486 89, 1, 90, 90, 91, 91, 92, 92, 89, 89,
487 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
488 89, 89, 93, 89, 89, 93, 93, 93, 93, 93,
489 89, 89, 94, 89, 95, 96, 89, 89, 97, 98,
490 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
491 99, 89, 93, 93, 93, 93, 93, 93, 94, 89,
492 95, 95, 89, 96, 89, 89, 98, 89, 99, 89,
493 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
494 93, 93, 93, 93, 93, 93, 93, 93, 0, 89,
495 89, 89, 89, 89, 89, 89, 89, 89, 89
501 10, 11, 12, 13, 10, 14, 15, 16, 17, 18,
502 19, 20, 21, 22, 10, 23, 24, 10, 25, 23,
503 23, 26, 27, 28, 23, 23, 29, 23, 23, 23,
504 30, 23, 31, 32, 34, 34, 35, 35, 37, 38,
505 37, 38, 41, 46, 50, 47, 41, 52, 51, 47,
506 48, 53, 42, 39, 43, 39, 42, 62, 43, 89,
507 52, 63, 47, 89, 62, 88, 87, 86, 63, 33,
508 33, 33, 33, 33, 33, 36, 36, 36, 36, 36,
509 36, 40, 40, 40, 40, 40, 40, 59, 85, 59,
510 84, 59, 59, 61, 83, 61, 61, 61, 61, 64,
512 82, 81, 64, 64, 64, 66, 80, 66, 66, 66,
513 66, 67, 79, 67, 67, 67, 69, 78, 69, 69,
514 69, 69, 77, 76, 70, 68, 65, 60, 75, 74,
515 73, 72, 71, 70, 49, 49, 45, 44, 68, 65,
516 60, 58, 57, 56, 55, 54, 49, 45, 44, 89,
517 9, 89, 89, 89, 89, 89, 89, 89, 89, 89,
518 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
519 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
525 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
526 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
527 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
528 1, 1, 1, 1, 3, 4, 3, 4, 5, 5,
529 6, 6, 7, 15, 17, 15, 8, 18, 17, 18,
530 15, 93, 7, 5, 7, 6, 8, 35, 8, 61,
531 47, 35, 47, 61, 62, 87, 85, 84, 62, 90,
532 90, 90, 90, 90, 90, 91, 91, 91, 91, 91,
533 91, 92, 92, 92, 92, 92, 92, 94, 83, 94,
534 81, 94, 94, 95, 80, 95, 95, 95, 95, 96,
536 78, 76, 96, 96, 96, 97, 75, 97, 97, 97,
537 97, 98, 74, 98, 98, 98, 99, 73, 99, 99,
538 99, 99, 72, 71, 70, 68, 65, 60, 58, 57,
539 56, 55, 54, 52, 49, 46, 45, 44, 41, 37,
540 34, 30, 29, 28, 27, 26, 16, 12, 11, 9,
541 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
542 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
543 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
549 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
550 63, 64, 65, 66, 68, 69, 70, 71, 72, 77,
551 78, 79, 83, 84, 85, 86, 90, 95, 96, 97,
558 #define REJECT reject_used_but_not_detected 559 #define yymore() yymore_used_but_not_detected 560 #define YY_MORE_ADJ 0 561 #define YY_RESTORE_YY_MORE_OFFSET 562 #line 1 "lib/vcsn/dot/scan.ll" 564 #define YY_NO_INPUT 1 566 #line 14 "lib/vcsn/dot/scan.ll" 572 loc.end.column = 1; \ 576 #define YY_USER_ACTION \ 580 parser::make_ ## Token (loc) 584 #line 568 "lib/vcsn/dot/scan.cc" 586 #line 570 "lib/vcsn/dot/scan.cc" 593 #ifndef YY_NO_UNISTD_H 605 #ifndef YY_EXTRA_TYPE 606 #define YY_EXTRA_TYPE void * 624 static void yy_flex_strncpy (
char *,
const char *,
int );
627 #ifdef YY_NEED_STRLEN 628 static int yy_flex_strlen (
const char * );
643 #ifndef YY_READ_BUF_SIZE 646 #define YY_READ_BUF_SIZE 16384 648 #define YY_READ_BUF_SIZE 8192 657 #define ECHO LexerOutput( yytext, yyleng ) 665 #define YY_INPUT(buf,result,max_size) \ 669 if ( (int)(result = LexerInput( (char *) buf, max_size )) < 0 ) \ 670 YY_FATAL_ERROR( "input in flex scanner failed" ); 680 #define yyterminate() return YY_NULL 684 #ifndef YY_START_STACK_INCR 685 #define YY_START_STACK_INCR 25 689 #ifndef YY_FATAL_ERROR 693 #define YY_FATAL_ERROR(msg) LexerError( msg ) 712 #define YY_DECL_IS_OURS 1 716 #define YY_DECL int yyFlexLexer::yylex() 723 #ifndef YY_USER_ACTION 724 #define YY_USER_ACTION 729 #define YY_BREAK break; 733 #define YY_RULE_SETUP \ 760 yyin.rdbuf(std::cin.rdbuf());
767 yyout.rdbuf(std::cout.rdbuf());
771 yyensure_buffer_stack ();
776 yy_load_buffer_state( );
781 #line 41 "lib/vcsn/dot/scan.ll" 784 #line 44 "lib/vcsn/dot/scan.ll" 786 auto s = std::string{};
792 #line 776 "lib/vcsn/dot/scan.cc" 797 yy_cp = (yy_c_buf_p);
800 *yy_cp = (yy_hold_char);
808 yy_current_state = (yy_start);
815 (yy_last_accepting_state) = yy_current_state;
816 (yy_last_accepting_cpos) = yy_cp;
818 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
820 yy_current_state = (int)
yy_def[yy_current_state];
821 if ( yy_current_state >= 90 )
827 while (
yy_base[yy_current_state] != 151 );
834 yy_cp = (yy_last_accepting_cpos);
835 yy_current_state = (yy_last_accepting_state);
849 std::cerr <<
"--scanner backing up\n";
850 else if ( yy_act < 35 )
852 "(\"" << yytext <<
"\")\n";
853 else if ( yy_act == 35 )
854 std::cerr <<
"--accepting default rule (\"" << yytext <<
"\")\n";
855 else if ( yy_act == 36 )
856 std::cerr <<
"--(end of buffer or a NUL)\n";
858 std::cerr <<
"--EOF (start condition " <<
YY_START <<
")\n";
866 *yy_cp = (yy_hold_char);
867 yy_cp = (yy_last_accepting_cpos);
868 yy_current_state = (yy_last_accepting_state);
874 #line 53 "lib/vcsn/dot/scan.ll" 879 #line 54 "lib/vcsn/dot/scan.ll" 884 #line 55 "lib/vcsn/dot/scan.ll" 889 #line 56 "lib/vcsn/dot/scan.ll" 894 #line 57 "lib/vcsn/dot/scan.ll" 895 return TOK(SUBGRAPH);
899 #line 58 "lib/vcsn/dot/scan.ll" 904 #line 59 "lib/vcsn/dot/scan.ll" 909 #line 60 "lib/vcsn/dot/scan.ll" 910 return TOK(LBRACKET);
914 #line 61 "lib/vcsn/dot/scan.ll" 915 return TOK(RBRACKET);
919 #line 62 "lib/vcsn/dot/scan.ll" 924 #line 63 "lib/vcsn/dot/scan.ll" 929 #line 64 "lib/vcsn/dot/scan.ll" 934 #line 65 "lib/vcsn/dot/scan.ll" 939 #line 66 "lib/vcsn/dot/scan.ll" 944 #line 68 "lib/vcsn/dot/scan.ll" 945 loc.step();
continue;
949 #line 69 "lib/vcsn/dot/scan.ll" 954 #line 70 "lib/vcsn/dot/scan.ll" 959 #line 71 "lib/vcsn/dot/scan.ll" 964 #line 72 "lib/vcsn/dot/scan.ll" 966 return parser::make_ID
973 #line 77 "lib/vcsn/dot/scan.ll" 974 loc.step();
continue;
979 #line 78 "lib/vcsn/dot/scan.ll" 984 #line 79 "lib/vcsn/dot/scan.ll" 985 driver_.error(loc, std::string{
"invalid character: "}+yytext);
991 #line 83 "lib/vcsn/dot/scan.ll" 992 loc.step();
continue;
996 #line 84 "lib/vcsn/dot/scan.ll" 997 loc.step();
continue;
1002 #line 85 "lib/vcsn/dot/scan.ll" 1007 #line 86 "lib/vcsn/dot/scan.ll" 1014 #line 90 "lib/vcsn/dot/scan.ll" 1017 return parser::make_ID(
string_t{s}, loc);
1022 #line 95 "lib/vcsn/dot/scan.ll" 1023 s.push_back(yytext[1]);
1027 #line 96 "lib/vcsn/dot/scan.ll" 1028 s.append(yytext,
yyleng);
1033 #line 97 "lib/vcsn/dot/scan.ll" 1037 #line 99 "lib/vcsn/dot/scan.ll" 1039 driver_.error(loc,
"unexpected end of file in a string");
1041 return parser::make_ID(
string_t{s}, loc);
1048 #line 107 "lib/vcsn/dot/scan.ll" 1053 return parser::make_ID(
string_t{s}, loc);
1061 #line 117 "lib/vcsn/dot/scan.ll" 1062 ++nesting; s.push_back(
'<');
1066 #line 118 "lib/vcsn/dot/scan.ll" 1067 s.append(yytext,
yyleng);
1072 #line 119 "lib/vcsn/dot/scan.ll" 1076 #line 121 "lib/vcsn/dot/scan.ll" 1078 driver_.error(loc,
"unexpected end of file in a XML string");
1080 return parser::make_ID(
string_t{s}, loc);
1086 #line 128 "lib/vcsn/dot/scan.ll" 1089 #line 1073 "lib/vcsn/dot/scan.cc" 1097 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1100 *yy_cp = (yy_hold_char);
1134 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
1136 yy_current_state = yy_get_previous_state( );
1147 yy_next_state = yy_try_NUL_trans( yy_current_state );
1151 if ( yy_next_state )
1154 yy_cp = ++(yy_c_buf_p);
1155 yy_current_state = yy_next_state;
1162 yy_cp = (yy_c_buf_p);
1163 goto yy_find_action;
1167 else switch ( yy_get_next_buffer( ) )
1171 (yy_did_buffer_switch_on_eof) = 0;
1192 if ( ! (yy_did_buffer_switch_on_eof) )
1202 yy_current_state = yy_get_previous_state( );
1204 yy_cp = (yy_c_buf_p);
1212 yy_current_state = yy_get_previous_state( );
1214 yy_cp = (yy_c_buf_p);
1216 goto yy_find_action;
1223 "fatal flex scanner internal error--no action found" );
1237 yyin(arg_yyin ? arg_yyin->rdbuf() :
std::cin.rdbuf()),
1238 yyout(arg_yyout ? arg_yyout->rdbuf() :
std::cout.rdbuf())
1246 yyin(arg_yyin.rdbuf()),
1247 yyout(arg_yyout.rdbuf())
1299 yyout.rdbuf(new_out.rdbuf());
1317 #ifdef YY_INTERACTIVE 1326 #ifdef YY_INTERACTIVE 1343 return yyin.gcount();
1370 int number_to_move, i;
1375 "fatal flex scanner internal error--end of buffer missed" );
1401 for ( i = 0; i < number_to_move; ++i )
1402 *(dest++) = *(source++);
1415 while ( num_to_read <= 0 )
1421 int yy_c_buf_p_offset =
1428 if ( new_size <= 0 )
1444 "fatal error - scanner input buffer overflow" );
1488 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1526 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1528 yy_current_state = (int)
yy_def[yy_current_state];
1529 if ( yy_current_state >= 90 )
1532 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1535 return yy_current_state;
1559 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1561 yy_current_state = (int)
yy_def[yy_current_state];
1562 if ( yy_current_state >= 90 )
1565 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1566 yy_is_jam = (yy_current_state == 89);
1568 return yy_is_jam ? 0 : yy_current_state;
1585 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1595 *--dest = *--source;
1597 yy_cp += (int) (dest - source);
1598 yy_bp += (int) (dest - source);
1602 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1606 *--yy_cp = (
char) c;
1723 if( ! input_file ) {
1938 if (new_buffer == NULL)
2012 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2032 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2071 YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
2100 #ifndef YY_EXIT_FAILURE 2101 #define YY_EXIT_FAILURE 2 2109 std::cerr << msg << std::endl;
2121 int yyless_macro_arg = (n); \ 2122 YY_LESS_LINENO(yyless_macro_arg);\ 2123 yytext[yyleng] = (yy_hold_char); \ 2124 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2125 (yy_hold_char) = *(yy_c_buf_p); \ 2126 *(yy_c_buf_p) = '\0'; \ 2127 yyleng = yyless_macro_arg; \ 2158 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
2162 for ( i = 0; i < n; ++i )
2167 #ifdef YY_NEED_STRLEN 2168 static int yy_flex_strlen (
const char * s )
2171 for ( n = 0; s[n]; ++n )
2180 return malloc(size);
2193 return realloc(ptr, size);
2198 free( (
char *) ptr );
2203 #define YYTABLES_NAME "yytables" 2208 #line 128 "lib/vcsn/dot/scan.ll" char * yy_last_accepting_cpos
#define YY_INPUT(buf, result, max_size)
static const flex_int16_t yy_chk[186]
yy_buffer_state ** yy_buffer_stack
Stack as an array.
void yyunput(int c, char *buf_ptr)
void yypop_buffer_state()
Removes and deletes the top of the stack, if present.
#define YY_END_OF_BUFFER_CHAR
size_t size(const ExpSet &rs, const typename ExpSet::value_t &r)
yy_state_type * yy_state_buf
static const flex_int16_t yy_accept[90]
void yy_init_buffer(yy_buffer_state *b, std::istream *s)
void yy_switch_to_buffer(yy_buffer_state *new_buffer)
Switch to a different input buffer.
void * yyrealloc(void *ptr, yy_size_t size)
virtual void switch_streams(std::istream *new_in, std::ostream *new_out=nullptr)
virtual void LexerOutput(const char *buf, int size)
virtual int LexerInput(char *buf, int max_size)
static const flex_int16_t yy_rule_linenum[35]
virtual void LexerError(const char *msg)
#define YY_START_STACK_INCR
#define YY_STATE_EOF(state)
void * yyalloc(yy_size_t size)
static const YY_CHAR yy_meta[35]
void yyensure_buffer_stack(void)
#define EOB_ACT_CONTINUE_SCAN
void scan_open_(std::istream &f)
unsigned int flex_uint32_t
static const YY_CHAR yy_ec[256]
#define YY_BUFFER_EOF_PENDING
yy_state_type yy_get_previous_state()
unsigned short int flex_uint16_t
#define EOB_ACT_LAST_MATCH
size_t yy_buffer_stack_top
index of top of stack.
static const flex_int16_t yy_nxt[186]
yy_state_type yy_try_NUL_trans(yy_state_type current_state)
void yypush_buffer_state(yy_buffer_state *new_buffer)
Pushes the new state onto the stack.
size_t yy_buffer_stack_max
capacity of stack.
yy_buffer_state * yy_create_buffer(std::istream *s, int size)
Allocate and initialize an input buffer state.
void yy_flush_buffer(yy_buffer_state *b)
Discard all buffered characters.
int yy_bs_column
The column count.
void yy_delete_buffer(yy_buffer_state *b)
Destroy the buffer.
void yyrestart(std::istream *s)
Immediately switch to a different input stream.
#define YY_FATAL_ERROR(msg)
Define the vcsn::detail::dot::parser class.
std::streambuf * yy_input_file
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_CURRENT_BUFFER
static const flex_int16_t yy_base[100]
#define YY_RESTORE_YY_MORE_OFFSET
yyFlexLexer(std::istream &arg_yyin, std::ostream &arg_yyout)
static const flex_int16_t yy_def[100]
#define YY_CURRENT_BUFFER_LVALUE
void yy_push_state(int new_state)
int yy_bs_lineno
The line count.
int yy_did_buffer_switch_on_eof
#define YY_DO_BEFORE_ACTION
#define EOB_ACT_END_OF_FILE
#define YY_FLEX_NAMESPACE_END
void yy_load_buffer_state()
unsigned char flex_uint8_t
weightset_mixin< detail::b_impl > b
yy_state_type yy_last_accepting_state
int yy_looking_for_trail_begin