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 2 "lib/vcsn/dot/scan.cc"
16 #line 7 "lib/vcsn/dot/scan.ll"
20 #define yyterminate() return parser::make_END(loc)
24 #line 11 "lib/vcsn/dot/scan.cc"
26 #define YY_INT_ALIGNED short int
39 #define YY_FLEX_MAJOR_VERSION 2
40 #define YY_FLEX_MINOR_VERSION 5
41 #define YY_FLEX_SUBMINOR_VERSION 39
42 #if YY_FLEX_SUBMINOR_VERSION > 0
53 #define yyFlexLexer yyFlexLexer
80 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
85 #ifndef __STDC_LIMIT_MACROS
86 #define __STDC_LIMIT_MACROS 1
106 #define INT8_MIN (-128)
109 #define INT16_MIN (-32767-1)
112 #define INT32_MIN (-2147483647-1)
115 #define INT8_MAX (127)
118 #define INT16_MAX (32767)
121 #define INT32_MAX (2147483647)
124 #define UINT8_MAX (255U)
127 #define UINT16_MAX (65535U)
130 #define UINT32_MAX (4294967295U)
157 #if defined (__STDC__)
165 #define yyconst const
183 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
197 #define BEGIN (yy_start) = 1 + 2 *
203 #define YY_START (((yy_start) - 1) / 2)
204 #define YYSTATE YY_START
207 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
210 #define YY_NEW_FILE yyrestart( yyin )
212 #define YY_END_OF_BUFFER_CHAR 0
221 #define YY_BUF_SIZE 32768
223 #define YY_BUF_SIZE 16384
229 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
231 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
232 #define YY_TYPEDEF_YY_BUFFER_STATE
236 #ifndef YY_TYPEDEF_YY_SIZE_T
237 #define YY_TYPEDEF_YY_SIZE_T
250 #define EOB_ACT_CONTINUE_SCAN 0
251 #define EOB_ACT_END_OF_FILE 1
252 #define EOB_ACT_LAST_MATCH 2
254 #define YY_LESS_LINENO(n)
255 #define YY_LINENO_REWIND_TO(ptr)
262 int yyless_macro_arg = (n); \
263 YY_LESS_LINENO(yyless_macro_arg);\
264 *yy_cp = (yy_hold_char); \
265 YY_RESTORE_YY_MORE_OFFSET \
266 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
267 YY_DO_BEFORE_ACTION; \
271 #define unput(c) yyunput( c, (yytext_ptr) )
273 #ifndef YY_STRUCT_YY_BUFFER_STATE
274 #define YY_STRUCT_YY_BUFFER_STATE
326 #define YY_BUFFER_NEW 0
327 #define YY_BUFFER_NORMAL 1
338 #define YY_BUFFER_EOF_PENDING 2
358 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
359 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
365 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
380 #define yy_new_buffer yy_create_buffer
382 #define yy_set_interactive(is_interactive) \
384 if ( ! YY_CURRENT_BUFFER ){ \
385 yyensure_buffer_stack (); \
386 YY_CURRENT_BUFFER_LVALUE = \
387 yy_create_buffer( yyin, YY_BUF_SIZE ); \
389 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
392 #define yy_set_bol(at_bol) \
394 if ( ! YY_CURRENT_BUFFER ){\
395 yyensure_buffer_stack (); \
396 YY_CURRENT_BUFFER_LVALUE = \
397 yy_create_buffer( yyin, YY_BUF_SIZE ); \
399 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
402 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
411 #define yytext_ptr yytext
412 #define YY_INTERACTIVE
424 #define YY_DO_BEFORE_ACTION \
425 (yytext_ptr) = yy_bp; \
427 yyleng = (size_t) (yy_cp - yy_bp); \
428 (yy_hold_char) = *yy_cp; \
431 (yy_c_buf_p) = yy_cp;
434 #define YY_NUM_RULES 35
435 #define YY_END_OF_BUFFER 36
445 0, 0, 23, 23, 0, 0, 0, 0, 36, 22,
446 20, 21, 17, 13, 22, 22, 22, 19, 12, 14,
447 18, 10, 19, 8, 9, 19, 19, 19, 19, 19,
448 6, 7, 23, 25, 24, 29, 30, 27, 35, 33,
449 34, 32, 31, 20, 21, 0, 19, 11, 19, 16,
450 15, 19, 19, 19, 19, 19, 19, 19, 23, 25,
451 24, 24, 26, 29, 30, 28, 33, 34, 15, 19,
452 19, 19, 19, 19, 19, 19, 2, 19, 4, 19,
453 19, 3, 19, 19, 19, 1, 19, 5, 0
458 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
459 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
460 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
461 1, 2, 1, 4, 1, 1, 1, 1, 1, 1,
462 1, 5, 1, 6, 7, 8, 9, 10, 10, 10,
463 10, 10, 10, 10, 10, 10, 10, 11, 12, 13,
464 14, 15, 1, 1, 16, 16, 16, 16, 16, 16,
465 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
466 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
467 17, 18, 19, 1, 16, 1, 20, 21, 16, 22,
469 23, 16, 24, 25, 26, 16, 16, 16, 16, 27,
470 28, 29, 16, 30, 31, 16, 32, 16, 16, 16,
471 16, 16, 33, 1, 34, 1, 1, 16, 16, 16,
472 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
473 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
474 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
475 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
476 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
477 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
478 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
480 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
481 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
482 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
483 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
484 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
490 1, 1, 2, 3, 4, 1, 1, 1, 1, 5,
491 1, 1, 6, 1, 6, 5, 1, 3, 1, 5,
492 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
498 0, 0, 32, 33, 36, 38, 40, 44, 150, 151,
499 147, 145, 151, 151, 36, 137, 40, 40, 151, 151,
500 151, 151, 0, 151, 151, 120, 123, 114, 115, 110,
501 151, 151, 0, 138, 53, 0, 137, 151, 0, 0,
502 136, 151, 151, 136, 134, 126, 53, 151, 125, 151,
503 0, 124, 0, 109, 108, 111, 108, 108, 0, 125,
504 55, 60, 151, 0, 124, 151, 0, 123, 0, 115,
505 94, 100, 89, 90, 83, 82, 0, 76, 0, 65,
506 62, 0, 69, 43, 38, 0, 41, 0, 151, 69,
507 75, 81, 47, 87, 93, 99, 105, 111, 116
513 89, 1, 90, 90, 91, 91, 92, 92, 89, 89,
514 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
515 89, 89, 93, 89, 89, 93, 93, 93, 93, 93,
516 89, 89, 94, 89, 95, 96, 89, 89, 97, 98,
517 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
518 99, 89, 93, 93, 93, 93, 93, 93, 94, 89,
519 95, 95, 89, 96, 89, 89, 98, 89, 99, 89,
520 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
521 93, 93, 93, 93, 93, 93, 93, 93, 0, 89,
522 89, 89, 89, 89, 89, 89, 89, 89, 89
528 10, 11, 12, 13, 10, 14, 15, 16, 17, 18,
529 19, 20, 21, 22, 10, 23, 24, 10, 25, 23,
530 23, 26, 27, 28, 23, 23, 29, 23, 23, 23,
531 30, 23, 31, 32, 34, 34, 35, 35, 37, 38,
532 37, 38, 41, 46, 50, 47, 41, 52, 51, 47,
533 48, 53, 42, 39, 43, 39, 42, 62, 43, 89,
534 52, 63, 47, 89, 62, 88, 87, 86, 63, 33,
535 33, 33, 33, 33, 33, 36, 36, 36, 36, 36,
536 36, 40, 40, 40, 40, 40, 40, 59, 85, 59,
537 84, 59, 59, 61, 83, 61, 61, 61, 61, 64,
539 82, 81, 64, 64, 64, 66, 80, 66, 66, 66,
540 66, 67, 79, 67, 67, 67, 69, 78, 69, 69,
541 69, 69, 77, 76, 70, 68, 65, 60, 75, 74,
542 73, 72, 71, 70, 49, 49, 45, 44, 68, 65,
543 60, 58, 57, 56, 55, 54, 49, 45, 44, 89,
544 9, 89, 89, 89, 89, 89, 89, 89, 89, 89,
545 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
546 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
552 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
553 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
554 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
555 1, 1, 1, 1, 3, 4, 3, 4, 5, 5,
556 6, 6, 7, 15, 17, 15, 8, 18, 17, 18,
557 15, 93, 7, 5, 7, 6, 8, 35, 8, 61,
558 47, 35, 47, 61, 62, 87, 85, 84, 62, 90,
559 90, 90, 90, 90, 90, 91, 91, 91, 91, 91,
560 91, 92, 92, 92, 92, 92, 92, 94, 83, 94,
561 81, 94, 94, 95, 80, 95, 95, 95, 95, 96,
563 78, 76, 96, 96, 96, 97, 75, 97, 97, 97,
564 97, 98, 74, 98, 98, 98, 99, 73, 99, 99,
565 99, 99, 72, 71, 70, 68, 65, 60, 58, 57,
566 56, 55, 54, 52, 49, 46, 45, 44, 41, 37,
567 34, 30, 29, 28, 27, 26, 16, 12, 11, 9,
568 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
569 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
570 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
576 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
577 62, 63, 64, 65, 67, 68, 69, 70, 71, 76,
578 77, 78, 82, 83, 84, 85, 89, 94, 95, 96,
585 #define REJECT reject_used_but_not_detected
586 #define yymore() yymore_used_but_not_detected
587 #define YY_MORE_ADJ 0
588 #define YY_RESTORE_YY_MORE_OFFSET
589 #line 1 "lib/vcsn/dot/scan.ll"
591 #define YY_NO_INPUT 1
593 #line 14 "lib/vcsn/dot/scan.ll"
599 loc.end.column = 1; \
603 #define YY_USER_ACTION \
607 parser::make_ ## Token (loc)
612 #line 599 "lib/vcsn/dot/scan.cc"
619 #ifndef YY_NO_UNISTD_H
631 #ifndef YY_EXTRA_TYPE
632 #define YY_EXTRA_TYPE void *
651 static void yy_flex_strncpy (
char *,
yyconst char *,
int );
654 #ifdef YY_NEED_STRLEN
655 static int yy_flex_strlen (
yyconst char * );
671 #ifndef YY_READ_BUF_SIZE
674 #define YY_READ_BUF_SIZE 16384
676 #define YY_READ_BUF_SIZE 8192
685 #define ECHO LexerOutput( yytext, yyleng )
693 #define YY_INPUT(buf,result,max_size) \
697 if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
698 YY_FATAL_ERROR( "input in flex scanner failed" );
708 #define yyterminate() return YY_NULL
712 #ifndef YY_START_STACK_INCR
713 #define YY_START_STACK_INCR 25
717 #ifndef YY_FATAL_ERROR
721 #define YY_FATAL_ERROR(msg) LexerError( msg )
742 #define YY_DECL_IS_OURS 1
746 #define YY_DECL int yyFlexLexer::yylex()
753 #ifndef YY_USER_ACTION
754 #define YY_USER_ACTION
759 #define YY_BREAK break;
763 #define YY_RULE_SETUP \
773 register char *yy_cp, *yy_bp;
802 yyensure_buffer_stack ();
807 yy_load_buffer_state( );
812 #line 41 "lib/vcsn/dot/scan.ll"
816 auto s = std::string{};
822 #line 809 "lib/vcsn/dot/scan.cc"
827 yy_cp = (yy_c_buf_p);
830 *yy_cp = (yy_hold_char);
838 yy_current_state = (yy_start);
845 (yy_last_accepting_state) = yy_current_state;
846 (yy_last_accepting_cpos) = yy_cp;
848 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
850 yy_current_state = (int)
yy_def[yy_current_state];
851 if ( yy_current_state >= 90 )
852 yy_c =
yy_meta[(
unsigned int) yy_c];
854 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
857 while (
yy_base[yy_current_state] != 151 );
864 yy_cp = (yy_last_accepting_cpos);
865 yy_current_state = (yy_last_accepting_state);
879 std::cerr <<
"--scanner backing up\n";
880 else if ( yy_act < 35 )
882 "(\"" << yytext <<
"\")\n";
883 else if ( yy_act == 35 )
884 std::cerr <<
"--accepting default rule (\"" << yytext <<
"\")\n";
885 else if ( yy_act == 36 )
886 std::cerr <<
"--(end of buffer or a NUL)\n";
888 std::cerr <<
"--EOF (start condition " <<
YY_START <<
")\n";
896 *yy_cp = (yy_hold_char);
897 yy_cp = (yy_last_accepting_cpos);
898 yy_current_state = (yy_last_accepting_state);
904 #line 52 "lib/vcsn/dot/scan.ll"
909 #line 53 "lib/vcsn/dot/scan.ll"
914 #line 54 "lib/vcsn/dot/scan.ll"
919 #line 55 "lib/vcsn/dot/scan.ll"
924 #line 56 "lib/vcsn/dot/scan.ll"
925 return TOK(SUBGRAPH);
929 #line 57 "lib/vcsn/dot/scan.ll"
934 #line 58 "lib/vcsn/dot/scan.ll"
939 #line 59 "lib/vcsn/dot/scan.ll"
940 return TOK(LBRACKET);
944 #line 60 "lib/vcsn/dot/scan.ll"
945 return TOK(RBRACKET);
949 #line 61 "lib/vcsn/dot/scan.ll"
954 #line 62 "lib/vcsn/dot/scan.ll"
959 #line 63 "lib/vcsn/dot/scan.ll"
964 #line 64 "lib/vcsn/dot/scan.ll"
969 #line 65 "lib/vcsn/dot/scan.ll"
974 #line 67 "lib/vcsn/dot/scan.ll"
975 loc.step();
continue;
979 #line 68 "lib/vcsn/dot/scan.ll"
984 #line 69 "lib/vcsn/dot/scan.ll"
989 #line 70 "lib/vcsn/dot/scan.ll"
994 #line 71 "lib/vcsn/dot/scan.ll"
996 return parser::make_ID
1003 #line 76 "lib/vcsn/dot/scan.ll"
1004 loc.step();
continue;
1009 #line 77 "lib/vcsn/dot/scan.ll"
1014 #line 78 "lib/vcsn/dot/scan.ll"
1015 driver_.error(loc, std::string{
"invalid character: "}+yytext);
1021 #line 82 "lib/vcsn/dot/scan.ll"
1022 loc.step();
continue;
1026 #line 83 "lib/vcsn/dot/scan.ll"
1027 loc.step();
continue;
1032 #line 84 "lib/vcsn/dot/scan.ll"
1037 #line 85 "lib/vcsn/dot/scan.ll"
1044 #line 89 "lib/vcsn/dot/scan.ll"
1047 return parser::make_ID(
string_t{s}, loc);
1052 #line 94 "lib/vcsn/dot/scan.ll"
1053 s.push_back(yytext[1]);
1057 #line 95 "lib/vcsn/dot/scan.ll"
1058 s.append(yytext,
yyleng);
1063 #line 96 "lib/vcsn/dot/scan.ll"
1067 #line 98 "lib/vcsn/dot/scan.ll"
1069 driver_.error(loc,
"unexpected end of file in a string");
1071 return parser::make_ID(
string_t{s}, loc);
1078 #line 106 "lib/vcsn/dot/scan.ll"
1083 return parser::make_ID(
string_t{s}, loc);
1091 #line 116 "lib/vcsn/dot/scan.ll"
1092 ++nesting; s.push_back(
'<');
1096 #line 117 "lib/vcsn/dot/scan.ll"
1097 s.append(yytext,
yyleng);
1102 #line 118 "lib/vcsn/dot/scan.ll"
1106 #line 120 "lib/vcsn/dot/scan.ll"
1108 driver_.error(loc,
"unexpected end of file in a XML string");
1110 return parser::make_ID(
string_t{s}, loc);
1116 #line 127 "lib/vcsn/dot/scan.ll"
1119 #line 1106 "lib/vcsn/dot/scan.cc"
1127 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1130 *yy_cp = (yy_hold_char);
1160 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
1162 yy_current_state = yy_get_previous_state( );
1173 yy_next_state = yy_try_NUL_trans( yy_current_state );
1177 if ( yy_next_state )
1180 yy_cp = ++(yy_c_buf_p);
1181 yy_current_state = yy_next_state;
1188 yy_cp = (yy_c_buf_p);
1189 goto yy_find_action;
1193 else switch ( yy_get_next_buffer( ) )
1197 (yy_did_buffer_switch_on_eof) = 0;
1218 if ( ! (yy_did_buffer_switch_on_eof) )
1228 yy_current_state = yy_get_previous_state( );
1230 yy_cp = (yy_c_buf_p);
1238 yy_current_state = yy_get_previous_state( );
1240 yy_cp = (yy_c_buf_p);
1242 goto yy_find_action;
1249 "fatal flex scanner internal error--no action found" );
1313 #ifdef YY_INTERACTIVE
1319 if ( yyin->eof() || yyin->fail() )
1322 #ifdef YY_INTERACTIVE
1323 yyin->get( buf[0] );
1334 (
void) yyin->read( buf, max_size );
1339 return yyin->gcount();
1366 register int number_to_move, i;
1371 "fatal flex scanner internal error--end of buffer missed" );
1397 for ( i = 0; i < number_to_move; ++i )
1398 *(dest++) = *(source++);
1411 while ( num_to_read <= 0 )
1417 int yy_c_buf_p_offset =
1424 if ( new_size <= 0 )
1439 "fatal error - scanner input buffer overflow" );
1482 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1505 register char *yy_cp;
1519 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1521 yy_current_state = (int)
yy_def[yy_current_state];
1522 if ( yy_current_state >= 90 )
1523 yy_c =
yy_meta[(
unsigned int) yy_c];
1525 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
1528 return yy_current_state;
1542 register int yy_is_jam;
1552 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1554 yy_current_state = (int)
yy_def[yy_current_state];
1555 if ( yy_current_state >= 90 )
1556 yy_c =
yy_meta[(
unsigned int) yy_c];
1558 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
1559 yy_is_jam = (yy_current_state == 89);
1561 return yy_is_jam ? 0 : yy_current_state;
1570 register char *yy_cp;
1577 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1583 register char *source =
1587 *--dest = *--source;
1589 yy_cp += (int) (dest - source);
1590 yy_bp += (int) (dest - source);
1594 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1598 *--yy_cp = (
char) c;
1893 if (new_buffer == NULL)
1967 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1987 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2025 YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
2054 #ifndef YY_EXIT_FAILURE
2055 #define YY_EXIT_FAILURE 2
2063 std::cerr << msg << std::endl;
2075 int yyless_macro_arg = (n); \
2076 YY_LESS_LINENO(yyless_macro_arg);\
2077 yytext[yyleng] = (yy_hold_char); \
2078 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2079 (yy_hold_char) = *(yy_c_buf_p); \
2080 *(yy_c_buf_p) = '\0'; \
2081 yyleng = yyless_macro_arg; \
2112 static void yy_flex_strncpy (
char* s1,
yyconst char * s2,
int n )
2115 for ( i = 0; i < n; ++i )
2120 #ifdef YY_NEED_STRLEN
2121 static int yy_flex_strlen (
yyconst char * s )
2124 for ( n = 0; s[n]; ++n )
2133 return (
void *) malloc( size );
2145 return (
void *) realloc( (
char *) ptr, size );
2150 free( (
char *) ptr );
2155 #define YYTABLES_NAME "yytables"
2160 #line 126 "lib/vcsn/dot/scan.ll"
yy_state_type * yy_state_buf
char * yy_last_accepting_cpos
#define YY_START_STACK_INCR
#define YY_FLEX_NAMESPACE_END
yy_state_type yy_get_previous_state()
static flex_int32_t yy_meta[35]
size_t yy_buffer_stack_top
index of top of stack.
#define YY_FATAL_ERROR(msg)
void yyunput(int c, char *buf_ptr)
static flex_int16_t yy_nxt[186]
virtual void LexerError(const char *msg)
weightset_mixin< detail::b_impl > b
void yyrestart(std::istream *s)
Immediately switch to a different input stream.
virtual void switch_streams(std::istream *new_in, std::ostream *new_out=nullptr)
void yy_init_buffer(yy_buffer_state *b, std::istream *s)
static flex_int16_t yy_base[100]
static flex_int16_t yy_rule_linenum[35]
#define YY_STATE_EOF(state)
yy_state_type yy_try_NUL_trans(yy_state_type current_state)
static flex_int16_t yy_def[100]
void yy_switch_to_buffer(yy_buffer_state *new_buffer)
Switch to a different input buffer.
unsigned int flex_uint32_t
#define YY_END_OF_BUFFER_CHAR
static flex_int16_t yy_chk[186]
virtual int LexerInput(char *buf, int max_size)
void yy_load_buffer_state()
void yy_delete_buffer(yy_buffer_state *b)
Destroy the buffer.
#define YY_RESTORE_YY_MORE_OFFSET
void yy_push_state(int new_state)
yy_buffer_state * yy_create_buffer(std::istream *s, int size)
Allocate and initialize an input buffer state.
#define EOB_ACT_CONTINUE_SCAN
#define YY_BUFFER_EOF_PENDING
yyFlexLexer(std::istream &arg_yyin, std::ostream &arg_yyout)
static flex_int16_t yy_accept[90]
#define EOB_ACT_LAST_MATCH
void * yyrealloc(void *ptr, yy_size_t size)
size_t yy_buffer_stack_max
capacity of stack.
void * yyalloc(yy_size_t size)
unsigned short int flex_uint16_t
void yypop_buffer_state()
Removes and deletes the top of the stack, if present.
void yy_flush_buffer(yy_buffer_state *b)
Discard all buffered characters.
int yy_did_buffer_switch_on_eof
void yypush_buffer_state(yy_buffer_state *new_buffer)
Pushes the new state onto the stack.
#define YY_CURRENT_BUFFER
#define YY_INPUT(buf, result, max_size)
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_CURRENT_BUFFER_LVALUE
int yy_looking_for_trail_begin
int yy_bs_column
The column count.
size_t size(const ExpSet &rs, const typename ExpSet::value_t &r)
#define YY_DO_BEFORE_ACTION
virtual void LexerOutput(const char *buf, int size)
static flex_int32_t yy_ec[256]
int yy_bs_lineno
The line count.
yy_buffer_state ** yy_buffer_stack
Stack as an array.
Define the vcsn::detail::dot::parser class.
std::istream * yy_input_file
void yyensure_buffer_stack(void)
unsigned char flex_uint8_t
#define EOB_ACT_END_OF_FILE
void scan_open_(std::istream &f)
yy_state_type yy_last_accepting_state