6 #define YY_INT_ALIGNED short int
10 #define yy_create_buffer comment2pragma_create_buffer
11 #define yy_delete_buffer comment2pragma_delete_buffer
12 #define yy_scan_buffer comment2pragma_scan_buffer
13 #define yy_scan_string comment2pragma_scan_string
14 #define yy_scan_bytes comment2pragma_scan_bytes
15 #define yy_init_buffer comment2pragma_init_buffer
16 #define yy_flush_buffer comment2pragma_flush_buffer
17 #define yy_load_buffer_state comment2pragma_load_buffer_state
18 #define yy_switch_to_buffer comment2pragma_switch_to_buffer
19 #define yypush_buffer_state comment2pragmapush_buffer_state
20 #define yypop_buffer_state comment2pragmapop_buffer_state
21 #define yyensure_buffer_stack comment2pragmaensure_buffer_stack
22 #define yy_flex_debug comment2pragma_flex_debug
23 #define yyin comment2pragmain
24 #define yyleng comment2pragmaleng
25 #define yylex comment2pragmalex
26 #define yylineno comment2pragmalineno
27 #define yyout comment2pragmaout
28 #define yyrestart comment2pragmarestart
29 #define yytext comment2pragmatext
30 #define yywrap comment2pragmawrap
31 #define yyalloc comment2pragmaalloc
32 #define yyrealloc comment2pragmarealloc
33 #define yyfree comment2pragmafree
36 #define YY_FLEX_MAJOR_VERSION 2
37 #define YY_FLEX_MINOR_VERSION 6
38 #define YY_FLEX_SUBMINOR_VERSION 4
39 #if YY_FLEX_SUBMINOR_VERSION > 0
43 #ifdef yy_create_buffer
44 #define comment2pragma_create_buffer_ALREADY_DEFINED
46 #define yy_create_buffer comment2pragma_create_buffer
49 #ifdef yy_delete_buffer
50 #define comment2pragma_delete_buffer_ALREADY_DEFINED
52 #define yy_delete_buffer comment2pragma_delete_buffer
56 #define comment2pragma_scan_buffer_ALREADY_DEFINED
58 #define yy_scan_buffer comment2pragma_scan_buffer
62 #define comment2pragma_scan_string_ALREADY_DEFINED
64 #define yy_scan_string comment2pragma_scan_string
68 #define comment2pragma_scan_bytes_ALREADY_DEFINED
70 #define yy_scan_bytes comment2pragma_scan_bytes
74 #define comment2pragma_init_buffer_ALREADY_DEFINED
76 #define yy_init_buffer comment2pragma_init_buffer
79 #ifdef yy_flush_buffer
80 #define comment2pragma_flush_buffer_ALREADY_DEFINED
82 #define yy_flush_buffer comment2pragma_flush_buffer
85 #ifdef yy_load_buffer_state
86 #define comment2pragma_load_buffer_state_ALREADY_DEFINED
88 #define yy_load_buffer_state comment2pragma_load_buffer_state
91 #ifdef yy_switch_to_buffer
92 #define comment2pragma_switch_to_buffer_ALREADY_DEFINED
94 #define yy_switch_to_buffer comment2pragma_switch_to_buffer
97 #ifdef yypush_buffer_state
98 #define comment2pragmapush_buffer_state_ALREADY_DEFINED
100 #define yypush_buffer_state comment2pragmapush_buffer_state
103 #ifdef yypop_buffer_state
104 #define comment2pragmapop_buffer_state_ALREADY_DEFINED
106 #define yypop_buffer_state comment2pragmapop_buffer_state
109 #ifdef yyensure_buffer_stack
110 #define comment2pragmaensure_buffer_stack_ALREADY_DEFINED
112 #define yyensure_buffer_stack comment2pragmaensure_buffer_stack
116 #define comment2pragmalex_ALREADY_DEFINED
118 #define yylex comment2pragmalex
122 #define comment2pragmarestart_ALREADY_DEFINED
124 #define yyrestart comment2pragmarestart
128 #define comment2pragmalex_init_ALREADY_DEFINED
130 #define yylex_init comment2pragmalex_init
133 #ifdef yylex_init_extra
134 #define comment2pragmalex_init_extra_ALREADY_DEFINED
136 #define yylex_init_extra comment2pragmalex_init_extra
140 #define comment2pragmalex_destroy_ALREADY_DEFINED
142 #define yylex_destroy comment2pragmalex_destroy
146 #define comment2pragmaget_debug_ALREADY_DEFINED
148 #define yyget_debug comment2pragmaget_debug
152 #define comment2pragmaset_debug_ALREADY_DEFINED
154 #define yyset_debug comment2pragmaset_debug
158 #define comment2pragmaget_extra_ALREADY_DEFINED
160 #define yyget_extra comment2pragmaget_extra
164 #define comment2pragmaset_extra_ALREADY_DEFINED
166 #define yyset_extra comment2pragmaset_extra
170 #define comment2pragmaget_in_ALREADY_DEFINED
172 #define yyget_in comment2pragmaget_in
176 #define comment2pragmaset_in_ALREADY_DEFINED
178 #define yyset_in comment2pragmaset_in
182 #define comment2pragmaget_out_ALREADY_DEFINED
184 #define yyget_out comment2pragmaget_out
188 #define comment2pragmaset_out_ALREADY_DEFINED
190 #define yyset_out comment2pragmaset_out
194 #define comment2pragmaget_leng_ALREADY_DEFINED
196 #define yyget_leng comment2pragmaget_leng
200 #define comment2pragmaget_text_ALREADY_DEFINED
202 #define yyget_text comment2pragmaget_text
206 #define comment2pragmaget_lineno_ALREADY_DEFINED
208 #define yyget_lineno comment2pragmaget_lineno
212 #define comment2pragmaset_lineno_ALREADY_DEFINED
214 #define yyset_lineno comment2pragmaset_lineno
218 #define comment2pragmawrap_ALREADY_DEFINED
220 #define yywrap comment2pragmawrap
224 #define comment2pragmaalloc_ALREADY_DEFINED
226 #define yyalloc comment2pragmaalloc
230 #define comment2pragmarealloc_ALREADY_DEFINED
232 #define yyrealloc comment2pragmarealloc
236 #define comment2pragmafree_ALREADY_DEFINED
238 #define yyfree comment2pragmafree
242 #define comment2pragmatext_ALREADY_DEFINED
244 #define yytext comment2pragmatext
248 #define comment2pragmaleng_ALREADY_DEFINED
250 #define yyleng comment2pragmaleng
254 #define comment2pragmain_ALREADY_DEFINED
256 #define yyin comment2pragmain
260 #define comment2pragmaout_ALREADY_DEFINED
262 #define yyout comment2pragmaout
266 #define comment2pragma_flex_debug_ALREADY_DEFINED
268 #define yy_flex_debug comment2pragma_flex_debug
272 #define comment2pragmalineno_ALREADY_DEFINED
274 #define yylineno comment2pragmalineno
294 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
299 #ifndef __STDC_LIMIT_MACROS
300 #define __STDC_LIMIT_MACROS 1
303 #include <inttypes.h>
320 #define INT8_MIN (-128)
323 #define INT16_MIN (-32767-1)
326 #define INT32_MIN (-2147483647-1)
329 #define INT8_MAX (127)
332 #define INT16_MAX (32767)
335 #define INT32_MAX (2147483647)
338 #define UINT8_MAX (255U)
341 #define UINT16_MAX (65535U)
344 #define UINT32_MAX (4294967295U)
348 #define SIZE_MAX (~(size_t)0)
358 #define yyconst const
360 #if defined(__GNUC__) && __GNUC__ >= 3
361 #define yynoreturn __attribute__((__noreturn__))
372 #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
378 #define BEGIN (yy_start) = 1 + 2 *
383 #define YY_START (((yy_start) - 1) / 2)
384 #define YYSTATE YY_START
386 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
388 #define YY_NEW_FILE yyrestart( yyin )
389 #define YY_END_OF_BUFFER_CHAR 0
398 #define YY_BUF_SIZE 32768
400 #define YY_BUF_SIZE 16384
406 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
408 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
409 #define YY_TYPEDEF_YY_BUFFER_STATE
413 #ifndef YY_TYPEDEF_YY_SIZE_T
414 #define YY_TYPEDEF_YY_SIZE_T
422 #define EOB_ACT_CONTINUE_SCAN 0
423 #define EOB_ACT_END_OF_FILE 1
424 #define EOB_ACT_LAST_MATCH 2
426 #define YY_LESS_LINENO(n)
427 #define YY_LINENO_REWIND_TO(ptr)
434 int yyless_macro_arg = (n); \
435 YY_LESS_LINENO(yyless_macro_arg);\
436 *yy_cp = (yy_hold_char); \
437 YY_RESTORE_YY_MORE_OFFSET \
438 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
439 YY_DO_BEFORE_ACTION; \
442 #define unput(c) yyunput( c, (yytext_ptr) )
444 #ifndef YY_STRUCT_YY_BUFFER_STATE
445 #define YY_STRUCT_YY_BUFFER_STATE
492 #define YY_BUFFER_NEW 0
493 #define YY_BUFFER_NORMAL 1
504 #define YY_BUFFER_EOF_PENDING 2
520 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
521 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
526 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
554 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
564 #define yy_new_buffer yy_create_buffer
565 #define yy_set_interactive(is_interactive) \
567 if ( ! YY_CURRENT_BUFFER ){ \
568 yyensure_buffer_stack (); \
569 YY_CURRENT_BUFFER_LVALUE = \
570 yy_create_buffer( yyin, YY_BUF_SIZE ); \
572 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
574 #define yy_set_bol(at_bol) \
576 if ( ! YY_CURRENT_BUFFER ){\
577 yyensure_buffer_stack (); \
578 YY_CURRENT_BUFFER_LVALUE = \
579 yy_create_buffer( yyin, YY_BUF_SIZE ); \
581 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
583 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
587 #define comment2pragmawrap() (1)
588 #define YY_SKIP_YYWRAP
602 #define yytext_ptr yytext
612 #define YY_DO_BEFORE_ACTION \
613 (yytext_ptr) = yy_bp; \
614 (yytext_ptr) -= (yy_more_len); \
615 yyleng = (int) (yy_cp - (yytext_ptr)); \
616 (yy_hold_char) = *yy_cp; \
618 (yy_c_buf_p) = yy_cp;
619 #define YY_NUM_RULES 19
620 #define YY_END_OF_BUFFER 20
630 0, 0, 0, 0, 5, 5, 0, 0, 0, 0,
631 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,
632 20, 19, 18, 17, 15, 18, 19, 13, 19, 5,
633 10, 9, 19, 1, 10, 2, 19, 19, 14, 16,
634 0, 0, 13, 0, 0, 5, 0, 9, 0, 0,
635 1, 2, 0, 0, 14, 0, 0, 0, 0, 0,
636 0, 0, 0, 0, 0, 0, 0, 0, 11, 0,
637 0, 0, 7, 0, 0, 0, 12, 0, 0, 8,
638 0, 0, 6, 0, 3, 0, 3, 0, 4, 3,
645 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
646 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
647 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
648 1, 2, 4, 1, 1, 5, 1, 6, 1, 1,
649 1, 7, 1, 1, 1, 1, 1, 2, 1, 1,
650 1, 1, 1, 1, 1, 1, 1, 8, 1, 1,
651 1, 1, 1, 1, 1, 1, 7, 1, 9, 1,
652 1, 1, 1, 1, 1, 1, 10, 1, 11, 12,
653 1, 1, 13, 14, 1, 1, 1, 1, 1, 1,
654 1, 1, 1, 1, 1, 1, 8, 8, 7, 1,
656 15, 1, 1, 1, 1, 1, 8, 8, 16, 8,
657 17, 18, 1, 1, 19, 20, 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,
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,
667 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
668 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
669 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
670 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
671 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
677 1, 2, 3, 4, 1, 5, 1, 1, 1, 1,
678 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
683 0, 0, 6, 7, 2, 10, 12, 14, 187, 186,
684 16, 17, 20, 24, 28, 32, 36, 38, 187, 186,
685 188, 193, 193, 193, 193, 21, 184, 193, 32, 0,
686 40, 0, 41, 0, 193, 0, 178, 182, 193, 193,
687 29, 178, 193, 40, 39, 0, 171, 0, 45, 43,
688 0, 0, 58, 168, 193, 52, 56, 61, 55, 60,
689 158, 160, 64, 67, 65, 0, 69, 77, 193, 153,
690 74, 80, 193, 0, 81, 79, 193, 0, 86, 193,
691 88, 92, 193, 0, 40, 90, 143, 97, 103, 142,
692 76, 104, 60, 193, 112, 117, 122, 127, 132, 137,
694 142, 147, 152, 157, 159, 164, 169, 174, 179
699 95, 96, 97, 97, 98, 98, 95, 95, 95, 95,
700 97, 97, 99, 99, 95, 95, 95, 95, 100, 100,
701 94, 94, 94, 94, 94, 94, 101, 94, 94, 102,
702 94, 103, 94, 104, 94, 105, 94, 106, 94, 94,
703 94, 101, 94, 94, 94, 102, 94, 103, 94, 94,
704 104, 105, 94, 106, 94, 94, 94, 94, 94, 94,
705 94, 94, 94, 94, 94, 107, 94, 94, 94, 94,
706 94, 94, 94, 108, 94, 94, 94, 109, 94, 94,
707 94, 94, 94, 109, 94, 94, 94, 94, 94, 94,
708 94, 94, 94, 0, 94, 94, 94, 94, 94, 94,
710 94, 94, 94, 94, 94, 94, 94, 94, 94
715 94, 94, 24, 25, 22, 22, 25, 26, 28, 28,
716 29, 29, 22, 22, 31, 32, 31, 32, 28, 28,
717 29, 29, 22, 22, 40, 22, 22, 22, 41, 22,
718 35, 32, 40, 36, 35, 32, 41, 36, 37, 32,
719 37, 32, 44, 47, 45, 87, 47, 88, 44, 56,
720 45, 49, 57, 50, 59, 56, 60, 49, 57, 50,
721 59, 61, 60, 62, 63, 53, 66, 93, 67, 62,
722 63, 64, 66, 65, 67, 70, 71, 64, 72, 65,
723 74, 70, 71, 93, 72, 78, 74, 75, 79, 76,
724 81, 78, 82, 75, 79, 76, 81, 84, 82, 85,
726 86, 89, 87, 84, 88, 85, 86, 89, 91, 91,
727 92, 92, 22, 22, 22, 22, 22, 23, 23, 23,
728 23, 23, 27, 27, 27, 27, 27, 30, 30, 30,
729 30, 30, 34, 34, 34, 34, 34, 38, 38, 38,
730 38, 38, 42, 42, 42, 42, 42, 46, 46, 90,
731 90, 46, 48, 48, 77, 48, 48, 51, 51, 52,
732 52, 69, 68, 52, 54, 54, 54, 54, 54, 73,
733 55, 73, 73, 73, 80, 58, 80, 80, 80, 83,
734 43, 83, 83, 83, 55, 53, 43, 94, 39, 39,
735 33, 33, 21, 94, 94, 94, 94, 94, 94, 94,
737 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
743 0, 0, 2, 2, 5, 5, 2, 2, 3, 4,
744 3, 4, 6, 6, 7, 7, 8, 8, 11, 12,
745 11, 12, 13, 13, 26, 13, 14, 14, 26, 14,
746 15, 15, 41, 15, 16, 16, 41, 16, 17, 17,
747 18, 18, 29, 31, 29, 85, 31, 85, 29, 44,
748 29, 33, 45, 33, 49, 44, 50, 33, 45, 33,
749 49, 53, 50, 56, 57, 53, 59, 93, 60, 56,
750 57, 58, 59, 58, 60, 63, 64, 58, 65, 58,
751 67, 63, 64, 91, 65, 71, 67, 68, 72, 68,
752 75, 71, 76, 68, 72, 68, 75, 79, 76, 81,
754 82, 86, 88, 79, 88, 81, 82, 86, 89, 92,
755 89, 92, 95, 95, 95, 95, 95, 96, 96, 96,
756 96, 96, 97, 97, 97, 97, 97, 98, 98, 98,
757 98, 98, 99, 99, 99, 99, 99, 100, 100, 100,
758 100, 100, 101, 101, 101, 101, 101, 102, 102, 90,
759 87, 102, 103, 103, 70, 103, 103, 104, 104, 105,
760 105, 62, 61, 105, 106, 106, 106, 106, 106, 107,
761 54, 107, 107, 107, 108, 47, 108, 108, 108, 109,
762 42, 109, 109, 109, 38, 37, 27, 21, 20, 19,
763 10, 9, 94, 94, 94, 94, 94, 94, 94, 94,
765 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
778 #define REJECT reject_used_but_not_detected
781 #define yymore() ((yy_more_flag) = 1)
782 #define YY_MORE_ADJ (yy_more_len)
783 #define YY_RESTORE_YY_MORE_OFFSET
785 #line 1 "comment2pragma.l"
786 #line 2 "comment2pragma.l"
804 #define DIRECTIVE_STEP 0
805 #define DIRECTIVE_OMP 1
808 #define YY_NO_INPUT 1
809 #line 29 "comment2pragma.l"
826 #define comment_fixe 1
827 #define directive_fixe 2
828 #define directive_fixe_comment 3
829 #define directive_fixe_continuation 4
830 #define comment_libre 5
831 #define directive_libre 6
832 #define directive_libre_comment 7
833 #define directive_libre_continuation 8
836 #ifndef YY_NO_UNISTD_H
844 #ifndef YY_EXTRA_TYPE
845 #define YY_EXTRA_TYPE void *
883 #ifndef YY_SKIP_YYWRAP
885 extern "C" int yywrap (
void );
887 extern int yywrap (
void );
896 static void yy_flex_strncpy (
char *,
const char *,
int );
899 #ifdef YY_NEED_STRLEN
900 static int yy_flex_strlen (
const char * );
905 static int yyinput (
void );
907 static int input (
void );
913 #ifndef YY_READ_BUF_SIZE
916 #define YY_READ_BUF_SIZE 16384
918 #define YY_READ_BUF_SIZE 8192
927 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
934 #define YY_INPUT(buf,result,max_size) \
935 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
939 for ( n = 0; n < max_size && \
940 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
943 buf[n++] = (char) c; \
944 if ( c == EOF && ferror( yyin ) ) \
945 YY_FATAL_ERROR( "input in flex scanner failed" ); \
951 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
953 if( errno != EINTR) \
955 YY_FATAL_ERROR( "input in flex scanner failed" ); \
971 #define yyterminate() return YY_NULL
975 #ifndef YY_START_STACK_INCR
976 #define YY_START_STACK_INCR 25
980 #ifndef YY_FATAL_ERROR
981 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
990 #define YY_DECL_IS_OURS 1
992 extern int yylex (
void);
994 #define YY_DECL int yylex (void)
1000 #ifndef YY_USER_ACTION
1001 #define YY_USER_ACTION
1006 #define YY_BREAK break;
1009 #define YY_RULE_SETUP \
1011 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1012 (yytext[yyleng - 1] == '\n'); \
1050 #line 55 "comment2pragma.l"
1056 #line 1057 "<stdout>"
1087 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1089 yy_current_state = (
int)
yy_def[yy_current_state];
1090 if ( yy_current_state >= 95 )
1093 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1096 while (
yy_base[yy_current_state] != 193 );
1118 goto yy_find_action;
1122 #line 60 "comment2pragma.l"
1130 #line 65 "comment2pragma.l"
1139 #line 70 "comment2pragma.l"
1149 #line 75 "comment2pragma.l"
1162 #line 85 "comment2pragma.l"
1175 #line 90 "comment2pragma.l"
1184 #line 95 "comment2pragma.l"
1194 #line 100 "comment2pragma.l"
1207 #line 110 "comment2pragma.l"
1218 #line 117 "comment2pragma.l"
1234 #line 130 "comment2pragma.l"
1241 #line 133 "comment2pragma.l"
1253 #line 141 "comment2pragma.l"
1264 #line 147 "comment2pragma.l"
1275 #line 156 "comment2pragma.l"
1283 #line 160 "comment2pragma.l"
1292 #line 164 "comment2pragma.l"
1301 #line 169 "comment2pragma.l"
1310 #line 175 "comment2pragma.l"
1313 #line 1314 "<stdout>"
1379 if ( yy_next_state )
1383 yy_current_state = yy_next_state;
1390 goto yy_find_action;
1443 goto yy_find_action;
1450 "fatal flex scanner internal error--no action found" );
1467 int number_to_move, i;
1472 "fatal flex scanner internal error--end of buffer missed" );
1498 for ( i = 0; i < number_to_move; ++i )
1499 *(dest++) = *(source++);
1512 while ( num_to_read <= 0 )
1518 int yy_c_buf_p_offset =
1525 if ( new_size <= 0 )
1541 "fatal error - scanner input buffer overflow" );
1585 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1617 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1619 yy_current_state = (
int)
yy_def[yy_current_state];
1620 if ( yy_current_state >= 95 )
1623 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1626 return yy_current_state;
1645 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1647 yy_current_state = (
int)
yy_def[yy_current_state];
1648 if ( yy_current_state >= 95 )
1651 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1652 yy_is_jam = (yy_current_state == 94);
1654 return yy_is_jam ? 0 : yy_current_state;
1663 static int yyinput (
void)
1665 static int input (
void)
1910 if (new_buffer == NULL)
1972 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1992 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2069 for ( i = 0; i < _yybytes_len; ++i )
2070 buf[i] = yybytes[i];
2086 #ifndef YY_EXIT_FAILURE
2087 #define YY_EXIT_FAILURE 2
2092 fprintf( stderr,
"%s\n", msg );
2103 int yyless_macro_arg = (n); \
2104 YY_LESS_LINENO(yyless_macro_arg);\
2105 yytext[yyleng] = (yy_hold_char); \
2106 (yy_c_buf_p) = yytext + yyless_macro_arg; \
2107 (yy_hold_char) = *(yy_c_buf_p); \
2108 *(yy_c_buf_p) = '\0'; \
2109 yyleng = yyless_macro_arg; \
2248 static void yy_flex_strncpy (
char*
s1,
const char * s2,
int n )
2252 for ( i = 0; i < n; ++i )
2257 #ifdef YY_NEED_STRLEN
2258 static int yy_flex_strlen (
const char * s )
2261 for ( n = 0; s[n]; ++n )
2283 return realloc(ptr, size);
2286 void yyfree (
void * ptr )
2288 free( (
char *) ptr );
2291 #define YYTABLES_NAME "yytables"
2293 #line 175 "comment2pragma.l"
2343 static void remove_blank(
void)
2350 if (*
src !=
' ' && *
src !=
'\t')
2358 static char *get_directive_type(
void)
2468 pips_debug(1,
"Declaration txt : begin scan\n");
2471 pips_debug(1,
"Declaration txt : end scan\n");
void const char const char const int
bdt base
Current expression.
struct _newgen_struct_type_ * type
static void comment(string_buffer code, spoc_hardware_type hw, dagvtx v, int stage, int side, bool flip)
unsigned char flex_uint8_t
flex_uint8_t YY_CHAR
Begin user sect3.
entity get_current_module_entity(void)
Get the entity of the current module.
list gen_nreverse(list cp)
reverse a list in place
void append_comments_to_statement(statement, string)
Append a comment string (if non empty) to the comments of a statement, if the c.
bool empty_comments_p(const char *)
#define src(name, suf)
HPFC by Fabien Coelho, May 1993 and later...
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...
#define pips_debug
these macros use the GNU extensions that allow variadic macros, including with an empty list.
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
string concatenate(const char *,...)
Return the concatenation of the given strings.
code entity_code(entity e)
void add_pragma_str_to_statement(statement st, const char *s, bool copy_flag)
Add a string as a pragma to a statement.
#define statement_extensions(x)
#define code_decls_text(x)
#define statement_comments(x)
#define extensions_extension(x)
#define statement_undefined_p(x)
#define statement_undefined
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
void step_comment2pragma_handle(statement stmt)
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.