4 #define YY_INT_ALIGNED short int
8 #define yy_create_buffer genspec__create_buffer
9 #define yy_delete_buffer genspec__delete_buffer
10 #define yy_scan_buffer genspec__scan_buffer
11 #define yy_scan_string genspec__scan_string
12 #define yy_scan_bytes genspec__scan_bytes
13 #define yy_init_buffer genspec__init_buffer
14 #define yy_flush_buffer genspec__flush_buffer
15 #define yy_load_buffer_state genspec__load_buffer_state
16 #define yy_switch_to_buffer genspec__switch_to_buffer
17 #define yypush_buffer_state genspec_push_buffer_state
18 #define yypop_buffer_state genspec_pop_buffer_state
19 #define yyensure_buffer_stack genspec_ensure_buffer_stack
20 #define yy_flex_debug genspec__flex_debug
21 #define yyin genspec_in
22 #define yyleng genspec_leng
23 #define yylex genspec_lex
24 #define yylineno genspec_lineno
25 #define yyout genspec_out
26 #define yyrestart genspec_restart
27 #define yytext genspec_text
28 #define yywrap genspec_wrap
29 #define yyalloc genspec_alloc
30 #define yyrealloc genspec_realloc
31 #define yyfree genspec_free
34 #define YY_FLEX_MAJOR_VERSION 2
35 #define YY_FLEX_MINOR_VERSION 6
36 #define YY_FLEX_SUBMINOR_VERSION 4
37 #if YY_FLEX_SUBMINOR_VERSION > 0
41 #ifdef yy_create_buffer
42 #define genspec__create_buffer_ALREADY_DEFINED
44 #define yy_create_buffer genspec__create_buffer
47 #ifdef yy_delete_buffer
48 #define genspec__delete_buffer_ALREADY_DEFINED
50 #define yy_delete_buffer genspec__delete_buffer
54 #define genspec__scan_buffer_ALREADY_DEFINED
56 #define yy_scan_buffer genspec__scan_buffer
60 #define genspec__scan_string_ALREADY_DEFINED
62 #define yy_scan_string genspec__scan_string
66 #define genspec__scan_bytes_ALREADY_DEFINED
68 #define yy_scan_bytes genspec__scan_bytes
72 #define genspec__init_buffer_ALREADY_DEFINED
74 #define yy_init_buffer genspec__init_buffer
77 #ifdef yy_flush_buffer
78 #define genspec__flush_buffer_ALREADY_DEFINED
80 #define yy_flush_buffer genspec__flush_buffer
83 #ifdef yy_load_buffer_state
84 #define genspec__load_buffer_state_ALREADY_DEFINED
86 #define yy_load_buffer_state genspec__load_buffer_state
89 #ifdef yy_switch_to_buffer
90 #define genspec__switch_to_buffer_ALREADY_DEFINED
92 #define yy_switch_to_buffer genspec__switch_to_buffer
95 #ifdef yypush_buffer_state
96 #define genspec_push_buffer_state_ALREADY_DEFINED
98 #define yypush_buffer_state genspec_push_buffer_state
101 #ifdef yypop_buffer_state
102 #define genspec_pop_buffer_state_ALREADY_DEFINED
104 #define yypop_buffer_state genspec_pop_buffer_state
107 #ifdef yyensure_buffer_stack
108 #define genspec_ensure_buffer_stack_ALREADY_DEFINED
110 #define yyensure_buffer_stack genspec_ensure_buffer_stack
114 #define genspec_lex_ALREADY_DEFINED
116 #define yylex genspec_lex
120 #define genspec_restart_ALREADY_DEFINED
122 #define yyrestart genspec_restart
126 #define genspec_lex_init_ALREADY_DEFINED
128 #define yylex_init genspec_lex_init
131 #ifdef yylex_init_extra
132 #define genspec_lex_init_extra_ALREADY_DEFINED
134 #define yylex_init_extra genspec_lex_init_extra
138 #define genspec_lex_destroy_ALREADY_DEFINED
140 #define yylex_destroy genspec_lex_destroy
144 #define genspec_get_debug_ALREADY_DEFINED
146 #define yyget_debug genspec_get_debug
150 #define genspec_set_debug_ALREADY_DEFINED
152 #define yyset_debug genspec_set_debug
156 #define genspec_get_extra_ALREADY_DEFINED
158 #define yyget_extra genspec_get_extra
162 #define genspec_set_extra_ALREADY_DEFINED
164 #define yyset_extra genspec_set_extra
168 #define genspec_get_in_ALREADY_DEFINED
170 #define yyget_in genspec_get_in
174 #define genspec_set_in_ALREADY_DEFINED
176 #define yyset_in genspec_set_in
180 #define genspec_get_out_ALREADY_DEFINED
182 #define yyget_out genspec_get_out
186 #define genspec_set_out_ALREADY_DEFINED
188 #define yyset_out genspec_set_out
192 #define genspec_get_leng_ALREADY_DEFINED
194 #define yyget_leng genspec_get_leng
198 #define genspec_get_text_ALREADY_DEFINED
200 #define yyget_text genspec_get_text
204 #define genspec_get_lineno_ALREADY_DEFINED
206 #define yyget_lineno genspec_get_lineno
210 #define genspec_set_lineno_ALREADY_DEFINED
212 #define yyset_lineno genspec_set_lineno
216 #define genspec_wrap_ALREADY_DEFINED
218 #define yywrap genspec_wrap
222 #define genspec_alloc_ALREADY_DEFINED
224 #define yyalloc genspec_alloc
228 #define genspec_realloc_ALREADY_DEFINED
230 #define yyrealloc genspec_realloc
234 #define genspec_free_ALREADY_DEFINED
236 #define yyfree genspec_free
240 #define genspec_text_ALREADY_DEFINED
242 #define yytext genspec_text
246 #define genspec_leng_ALREADY_DEFINED
248 #define yyleng genspec_leng
252 #define genspec_in_ALREADY_DEFINED
254 #define yyin genspec_in
258 #define genspec_out_ALREADY_DEFINED
260 #define yyout genspec_out
264 #define genspec__flex_debug_ALREADY_DEFINED
266 #define yy_flex_debug genspec__flex_debug
270 #define genspec_lineno_ALREADY_DEFINED
272 #define yylineno genspec_lineno
292 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
297 #ifndef __STDC_LIMIT_MACROS
298 #define __STDC_LIMIT_MACROS 1
301 #include <inttypes.h>
318 #define INT8_MIN (-128)
321 #define INT16_MIN (-32767-1)
324 #define INT32_MIN (-2147483647-1)
327 #define INT8_MAX (127)
330 #define INT16_MAX (32767)
333 #define INT32_MAX (2147483647)
336 #define UINT8_MAX (255U)
339 #define UINT16_MAX (65535U)
342 #define UINT32_MAX (4294967295U)
346 #define SIZE_MAX (~(size_t)0)
356 #define yyconst const
358 #if defined(__GNUC__) && __GNUC__ >= 3
359 #define yynoreturn __attribute__((__noreturn__))
370 #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
376 #define BEGIN (yy_start) = 1 + 2 *
381 #define YY_START (((yy_start) - 1) / 2)
382 #define YYSTATE YY_START
384 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
386 #define YY_NEW_FILE yyrestart( yyin )
387 #define YY_END_OF_BUFFER_CHAR 0
396 #define YY_BUF_SIZE 32768
398 #define YY_BUF_SIZE 16384
404 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
406 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
407 #define YY_TYPEDEF_YY_BUFFER_STATE
411 #ifndef YY_TYPEDEF_YY_SIZE_T
412 #define YY_TYPEDEF_YY_SIZE_T
420 #define EOB_ACT_CONTINUE_SCAN 0
421 #define EOB_ACT_END_OF_FILE 1
422 #define EOB_ACT_LAST_MATCH 2
424 #define YY_LESS_LINENO(n)
425 #define YY_LINENO_REWIND_TO(ptr)
432 int yyless_macro_arg = (n); \
433 YY_LESS_LINENO(yyless_macro_arg);\
434 *yy_cp = (yy_hold_char); \
435 YY_RESTORE_YY_MORE_OFFSET \
436 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
437 YY_DO_BEFORE_ACTION; \
440 #define unput(c) yyunput( c, (yytext_ptr) )
442 #ifndef YY_STRUCT_YY_BUFFER_STATE
443 #define YY_STRUCT_YY_BUFFER_STATE
490 #define YY_BUFFER_NEW 0
491 #define YY_BUFFER_NORMAL 1
502 #define YY_BUFFER_EOF_PENDING 2
518 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
519 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
524 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
552 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
562 #define yy_new_buffer yy_create_buffer
563 #define yy_set_interactive(is_interactive) \
565 if ( ! YY_CURRENT_BUFFER ){ \
566 yyensure_buffer_stack (); \
567 YY_CURRENT_BUFFER_LVALUE = \
568 yy_create_buffer( yyin, YY_BUF_SIZE ); \
570 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
572 #define yy_set_bol(at_bol) \
574 if ( ! YY_CURRENT_BUFFER ){\
575 yyensure_buffer_stack (); \
576 YY_CURRENT_BUFFER_LVALUE = \
577 yy_create_buffer( yyin, YY_BUF_SIZE ); \
579 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
581 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
597 #define yytext_ptr yytext
607 #define YY_DO_BEFORE_ACTION \
608 (yytext_ptr) = yy_bp; \
609 yyleng = (int) (yy_cp - yy_bp); \
610 (yy_hold_char) = *yy_cp; \
612 (yy_c_buf_p) = yy_cp;
613 #define YY_NUM_RULES 26
614 #define YY_END_OF_BUFFER 27
624 25, 25, 27, 26, 25, 26, 13, 11, 7, 26,
625 24, 8, 9, 19, 23, 14, 15, 23, 23, 23,
626 23, 23, 10, 16, 17, 26, 25, 0, 0, 12,
627 24, 23, 23, 23, 23, 23, 23, 0, 18, 0,
628 22, 23, 23, 23, 23, 23, 0, 23, 4, 23,
629 23, 23, 0, 23, 23, 23, 23, 0, 23, 2,
630 23, 23, 0, 23, 23, 23, 0, 1, 23, 23,
631 23, 0, 23, 23, 3, 0, 5, 6, 0, 0,
632 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
639 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
640 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
641 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
642 1, 4, 1, 5, 1, 1, 1, 1, 1, 1,
643 1, 6, 7, 8, 9, 10, 10, 11, 11, 11,
644 11, 11, 11, 11, 11, 11, 11, 12, 13, 1,
645 14, 15, 1, 1, 16, 17, 17, 18, 19, 17,
646 20, 17, 21, 17, 17, 17, 17, 22, 17, 17,
647 17, 23, 24, 25, 17, 17, 26, 27, 17, 17,
648 28, 1, 29, 1, 17, 1, 30, 31, 17, 32,
650 33, 34, 17, 17, 35, 17, 17, 36, 37, 38,
651 39, 40, 17, 41, 42, 43, 44, 17, 17, 45,
652 17, 17, 46, 1, 47, 10, 1, 1, 1, 1,
653 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
654 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
655 1, 1, 1, 1, 1, 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,
661 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
662 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
663 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,
671 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
672 3, 1, 1, 1, 1, 3, 3, 3, 3, 3,
673 3, 3, 3, 3, 3, 3, 3, 1, 1, 3,
674 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
680 0, 141, 149, 151, 46, 0, 151, 151, 151, 42,
681 137, 151, 151, 151, 0, 151, 151, 102, 105, 108,
682 111, 113, 0, 151, 151, 43, 51, 137, 138, 151,
683 129, 0, 96, 99, 97, 95, 104, 53, 151, 131,
684 151, 100, 95, 92, 88, 85, 57, 87, 0, 86,
685 91, 89, 56, 86, 80, 80, 91, 58, 90, 0,
686 76, 75, 60, 81, 32, 83, 61, 0, 71, 68,
687 73, 63, 60, 41, 0, 64, 0, 0, 65, 66,
688 68, 74, 70, 71, 77, 67, 92, 94, 90, 96,
689 151, 97, 151, 99, 151, 109, 78, 112
695 95, 1, 95, 95, 95, 96, 95, 95, 95, 95,
696 95, 95, 95, 95, 97, 95, 95, 97, 97, 97,
697 97, 97, 97, 95, 95, 95, 95, 96, 98, 95,
698 95, 97, 97, 97, 97, 97, 97, 98, 95, 98,
699 95, 97, 97, 97, 97, 97, 98, 97, 97, 97,
700 97, 97, 98, 97, 97, 97, 97, 98, 97, 97,
701 97, 97, 98, 97, 97, 97, 98, 97, 97, 97,
702 97, 98, 97, 97, 97, 98, 97, 97, 98, 98,
703 98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
704 95, 98, 95, 98, 0, 95, 95, 95
710 4, 5, 5, 5, 6, 7, 8, 9, 10, 4,
711 11, 12, 13, 14, 4, 15, 15, 15, 15, 15,
712 15, 15, 15, 15, 15, 15, 15, 16, 17, 15,
713 15, 15, 18, 19, 20, 15, 15, 15, 15, 21,
714 15, 15, 22, 15, 23, 24, 25, 27, 27, 27,
715 29, 38, 27, 27, 27, 41, 30, 30, 41, 41,
716 41, 69, 41, 41, 70, 41, 41, 41, 41, 41,
717 41, 76, 41, 41, 47, 53, 41, 63, 67, 41,
718 32, 58, 72, 78, 79, 83, 81, 80, 85, 84,
719 82, 88, 91, 86, 41, 89, 41, 90, 93, 91,
721 92, 93, 77, 87, 75, 74, 94, 92, 73, 94,
722 28, 28, 40, 40, 40, 71, 68, 66, 65, 64,
723 62, 61, 60, 59, 57, 56, 55, 54, 52, 51,
724 50, 49, 48, 41, 46, 45, 44, 43, 42, 31,
725 41, 39, 37, 36, 35, 34, 33, 31, 95, 26,
726 3, 95, 95, 95, 95, 95, 95, 95, 95, 95,
727 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
728 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
729 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
730 95, 95, 95, 95, 95, 95, 95, 95
736 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
737 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
738 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
739 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
740 1, 1, 1, 1, 1, 1, 1, 5, 5, 5,
741 10, 26, 27, 27, 27, 38, 10, 26, 53, 47,
742 58, 65, 63, 67, 65, 72, 76, 79, 80, 86,
743 81, 72, 83, 84, 38, 47, 82, 58, 63, 85,
744 97, 53, 67, 74, 76, 81, 79, 76, 83, 82,
745 80, 86, 89, 84, 87, 87, 88, 88, 90, 92,
747 89, 94, 73, 85, 71, 70, 90, 92, 69, 94,
748 96, 96, 98, 98, 98, 66, 64, 62, 61, 59,
749 57, 56, 55, 54, 52, 51, 50, 48, 46, 45,
750 44, 43, 42, 40, 37, 36, 35, 34, 33, 31,
751 29, 28, 22, 21, 20, 19, 18, 11, 3, 2,
752 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
753 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
754 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
755 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
756 95, 95, 95, 95, 95, 95, 95, 95
769 #define REJECT reject_used_but_not_detected
770 #define yymore() yymore_used_but_not_detected
771 #define YY_MORE_ADJ 0
772 #define YY_RESTORE_YY_MORE_OFFSET
810 #define yylval genspec_lval
821 #define YY_INPUT(buffer, result, max_size) \
824 if (string_to_parse) \
826 while(i < (int) max_size && *string_to_parse) \
827 buffer[i++]=*string_to_parse++; \
832 while (i < (int) max_size && (c=getc(yyin))!=EOF) \
833 buffer[i++]=(char) c; \
835 result = i==0? YY_NULL: i; \
846 user(
"Cannot create temp spec file in read/write mode\n" ) ;
863 #ifndef DISABLE_NEWGEN_PARSER_CACHE
868 static void* rootp = NULL;
870 if( !(res = tfind(s,&rootp,(
int(*)(
const void*,
const void*))strcmp)) )
873 res = tsearch(dup,&rootp,(
int(*)(
const void*,
const void*))strcmp);
881 #define strcache strdup
890 #ifndef YY_NO_UNISTD_H
898 #ifndef YY_EXTRA_TYPE
899 #define YY_EXTRA_TYPE void *
937 #ifndef YY_SKIP_YYWRAP
939 extern "C" int yywrap (
void );
941 extern int yywrap (
void );
950 static void yy_flex_strncpy (
char *,
const char *,
int );
953 #ifdef YY_NEED_STRLEN
954 static int yy_flex_strlen (
const char * );
959 static int yyinput (
void );
967 #ifndef YY_READ_BUF_SIZE
970 #define YY_READ_BUF_SIZE 16384
972 #define YY_READ_BUF_SIZE 8192
981 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
988 #define YY_INPUT(buf,result,max_size) \
989 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
993 for ( n = 0; n < max_size && \
994 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
997 buf[n++] = (char) c; \
998 if ( c == EOF && ferror( yyin ) ) \
999 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1005 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1007 if( errno != EINTR) \
1009 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1025 #define yyterminate() return YY_NULL
1029 #ifndef YY_START_STACK_INCR
1030 #define YY_START_STACK_INCR 25
1034 #ifndef YY_FATAL_ERROR
1035 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1044 #define YY_DECL_IS_OURS 1
1046 extern int yylex (
void);
1048 #define YY_DECL int yylex (void)
1054 #ifndef YY_USER_ACTION
1055 #define YY_USER_ACTION
1060 #define YY_BREAK break;
1063 #define YY_RULE_SETUP \
1065 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1066 (yytext[yyleng - 1] == '\n'); \
1106 #line 1107 "<stdout>"
1131 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1133 yy_current_state = (
int)
yy_def[yy_current_state];
1134 if ( yy_current_state >= 96 )
1137 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1140 while (
yy_base[yy_current_state] != 151 );
1162 goto yy_find_action;
1267 atoi(
yytext+strlen(
"--NEWGEN-START " )) ;
1303 #line 1304 "<stdout>"
1360 if ( yy_next_state )
1364 yy_current_state = yy_next_state;
1371 goto yy_find_action;
1424 goto yy_find_action;
1431 "fatal flex scanner internal error--no action found" );
1448 int number_to_move, i;
1453 "fatal flex scanner internal error--end of buffer missed" );
1479 for ( i = 0; i < number_to_move; ++i )
1480 *(dest++) = *(source++);
1493 while ( num_to_read <= 0 )
1499 int yy_c_buf_p_offset =
1506 if ( new_size <= 0 )
1522 "fatal error - scanner input buffer overflow" );
1566 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1598 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1600 yy_current_state = (
int)
yy_def[yy_current_state];
1601 if ( yy_current_state >= 96 )
1604 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1607 return yy_current_state;
1626 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1628 yy_current_state = (
int)
yy_def[yy_current_state];
1629 if ( yy_current_state >= 96 )
1632 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1633 yy_is_jam = (yy_current_state == 95);
1635 return yy_is_jam ? 0 : yy_current_state;
1644 static int yyinput (
void)
1646 static int input (
void)
1891 if (new_buffer == NULL)
1953 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1973 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2050 for ( i = 0; i < _yybytes_len; ++i )
2051 buf[i] = yybytes[i];
2067 #ifndef YY_EXIT_FAILURE
2068 #define YY_EXIT_FAILURE 2
2073 fprintf( stderr,
"%s\n", msg );
2084 int yyless_macro_arg = (n); \
2085 YY_LESS_LINENO(yyless_macro_arg);\
2086 yytext[yyleng] = (yy_hold_char); \
2087 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2088 (yy_hold_char) = *(yy_c_buf_p); \
2089 *(yy_c_buf_p) = '\0'; \
2090 yyleng = yyless_macro_arg; \
2229 static void yy_flex_strncpy (
char*
s1,
const char * s2,
int n )
2233 for ( i = 0; i < n; ++i )
2238 #ifdef YY_NEED_STRLEN
2239 static int yy_flex_strlen (
const char * s )
2242 for ( n = 0; s[n]; ++n )
2264 return realloc(ptr, size);
2267 void yyfree (
void * ptr )
2269 free( (
char *) ptr );
2272 #define YYTABLES_NAME "yytables"
void const char const char const int
bdt base
Current expression.
FILE * genspec_in
lex files
unsigned char flex_uint8_t
flex_uint8_t YY_CHAR
Begin user sect3.
#define YY_INPUT(buffer, result, max_size)
shared pointer!
#define yy_load_buffer_state
#define YY_NEW_FILE
Special action meaning "start processing a new file".
unsigned char flex_uint8_t
static char yy_hold_char
yy_hold_char holds the character lost when yytext is formed.
static yy_state_type yy_last_accepting_state
static void yynoreturn yy_fatal_error(const char *msg)
#define YY_EXTRA_TYPE
Special case for "unistd.h", since it is non-ANSI.
static int yy_start
whether we need to initialize
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
unsigned int flex_uint32_t
static int yy_get_next_buffer(void)
#define YY_BREAK
Code executed at the end of each rule.
static char * string_to_parse
We may parse strings or files...
static size_t yy_buffer_stack_max
capacity of stack.
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
#define yypush_buffer_state
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_RESTORE_YY_MORE_OFFSET
static int yy_did_buffer_switch_on_eof
start state number
static const flex_int16_t yy_def[99]
static int yy_init_globals(void)
static const flex_int16_t yy_chk[199]
#define yyensure_buffer_stack
signed char flex_int8_t
C99 systems have <inttypes.h>.
#define EOB_ACT_END_OF_FILE
#define yypop_buffer_state
#define YY_CURRENT_BUFFER_LVALUE
Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an ...
#define YY_START
Translate the current start state into a value that can be later handed to BEGIN to return to the sta...
#define yy_switch_to_buffer
static const flex_int16_t yy_nxt[199]
#define YY_CURRENT_BUFFER
We provide macros for accessing buffer states in case in the future we want to put the buffer states ...
#define YY_READ_BUF_SIZE
Amount of stuff to slurp up with each read.
#define YY_STATE_EOF(state)
Action number for EOF rule of a given start state.
#define YY_END_OF_BUFFER_CHAR
char * strcache(char *s)
cache parsed string instead of strduplicating them valid because those strign are never released SG,...
#define YY_FATAL_ERROR(msg)
Report a fatal error.
#define yyterminate()
Gets input and stuffs it into "buf".
unsigned short int flex_uint16_t
#define yywrap
Macros after this point can all be overridden by user definitions in section 1.
#define yy_create_buffer
A lexical scanner generated by flex.
flex_uint8_t YY_CHAR
Begin user sect3.
#define YY_DO_BEFORE_ACTION
Done after the current pattern has been matched and before the corresponding action - sets up yytext.
#define EOB_ACT_LAST_MATCH
#define YY_BUFFER_EOF_PENDING
When an EOF's been seen but there's still some text to process then we mark the buffer as YY_EOF_PEND...
static yy_state_type yy_get_previous_state(void)
static const YY_CHAR yy_ec[256]
#define yylex_destroy
Accessor methods to globals.
static const flex_int16_t yy_accept[96]
static char * yy_c_buf_p
Points to current character in buffer.
#define EOB_ACT_CONTINUE_SCAN
static size_t yy_buffer_stack_top
!YY_STRUCT_YY_BUFFER_STATE
void genspec_reset_string_to_parse()
static const flex_int16_t yy_base[99]
#define YY_BUF_SIZE
Size of default input buffer.
static const YY_CHAR yy_meta[48]
void genspec_set_string_to_parse(char *s)
#define YY_SC_TO_UI(c)
Promotes a possibly negative, possibly signed char to an integer in range [0..255] for use as an arra...
static char * yy_last_accepting_cpos
void * memset(void *str, int c, size_t len)
memset.c – set an area of memory to a given value Copyright (C) 1991, 2003, 2009-2011 Free Software F...
void user(char *,...)
External routines.
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
int yy_n_chars
Number of characters read into yy_ch_buf, not including EOB characters.
int yy_bs_column
The column count.
int yy_buf_size
current position in input buffer
int yy_fill_buffer
Whether to try to fill the input buffer when we reach the end of it.
int yy_is_our_buffer
Whether we "own" the buffer - i.e., we know we created it, and can realloc() it to grow it,...
int yy_bs_lineno
The line count.
char * yy_buf_pos
input buffer
int yy_at_bol
Whether we're considered to be at the beginning of a line.
int yy_is_interactive
Whether this is an "interactive" input source; if so, and if we're using stdio for input,...
This struct is not used in this scanner, but its presence is necessary.