4 #define YY_INT_ALIGNED short int
8 #define yy_create_buffer HECMW_gf_create_buffer
9 #define yy_delete_buffer HECMW_gf_delete_buffer
10 #define yy_scan_buffer HECMW_gf_scan_buffer
11 #define yy_scan_string HECMW_gf_scan_string
12 #define yy_scan_bytes HECMW_gf_scan_bytes
13 #define yy_init_buffer HECMW_gf_init_buffer
14 #define yy_flush_buffer HECMW_gf_flush_buffer
15 #define yy_load_buffer_state HECMW_gf_load_buffer_state
16 #define yy_switch_to_buffer HECMW_gf_switch_to_buffer
17 #define yypush_buffer_state HECMW_gfpush_buffer_state
18 #define yypop_buffer_state HECMW_gfpop_buffer_state
19 #define yyensure_buffer_stack HECMW_gfensure_buffer_stack
20 #define yy_flex_debug HECMW_gf_flex_debug
21 #define yyin HECMW_gfin
22 #define yyleng HECMW_gfleng
23 #define yylex HECMW_gflex
24 #define yylineno HECMW_gflineno
25 #define yyout HECMW_gfout
26 #define yyrestart HECMW_gfrestart
27 #define yytext HECMW_gftext
28 #define yywrap HECMW_gfwrap
29 #define yyalloc HECMW_gfalloc
30 #define yyrealloc HECMW_gfrealloc
31 #define yyfree HECMW_gffree
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 HECMW_gf_create_buffer_ALREADY_DEFINED
44 #define yy_create_buffer HECMW_gf_create_buffer
47 #ifdef yy_delete_buffer
48 #define HECMW_gf_delete_buffer_ALREADY_DEFINED
50 #define yy_delete_buffer HECMW_gf_delete_buffer
54 #define HECMW_gf_scan_buffer_ALREADY_DEFINED
56 #define yy_scan_buffer HECMW_gf_scan_buffer
60 #define HECMW_gf_scan_string_ALREADY_DEFINED
62 #define yy_scan_string HECMW_gf_scan_string
66 #define HECMW_gf_scan_bytes_ALREADY_DEFINED
68 #define yy_scan_bytes HECMW_gf_scan_bytes
72 #define HECMW_gf_init_buffer_ALREADY_DEFINED
74 #define yy_init_buffer HECMW_gf_init_buffer
77 #ifdef yy_flush_buffer
78 #define HECMW_gf_flush_buffer_ALREADY_DEFINED
80 #define yy_flush_buffer HECMW_gf_flush_buffer
83 #ifdef yy_load_buffer_state
84 #define HECMW_gf_load_buffer_state_ALREADY_DEFINED
86 #define yy_load_buffer_state HECMW_gf_load_buffer_state
89 #ifdef yy_switch_to_buffer
90 #define HECMW_gf_switch_to_buffer_ALREADY_DEFINED
92 #define yy_switch_to_buffer HECMW_gf_switch_to_buffer
95 #ifdef yypush_buffer_state
96 #define HECMW_gfpush_buffer_state_ALREADY_DEFINED
98 #define yypush_buffer_state HECMW_gfpush_buffer_state
101 #ifdef yypop_buffer_state
102 #define HECMW_gfpop_buffer_state_ALREADY_DEFINED
104 #define yypop_buffer_state HECMW_gfpop_buffer_state
107 #ifdef yyensure_buffer_stack
108 #define HECMW_gfensure_buffer_stack_ALREADY_DEFINED
110 #define yyensure_buffer_stack HECMW_gfensure_buffer_stack
114 #define HECMW_gflex_ALREADY_DEFINED
116 #define yylex HECMW_gflex
120 #define HECMW_gfrestart_ALREADY_DEFINED
122 #define yyrestart HECMW_gfrestart
126 #define HECMW_gflex_init_ALREADY_DEFINED
128 #define yylex_init HECMW_gflex_init
131 #ifdef yylex_init_extra
132 #define HECMW_gflex_init_extra_ALREADY_DEFINED
134 #define yylex_init_extra HECMW_gflex_init_extra
138 #define HECMW_gflex_destroy_ALREADY_DEFINED
140 #define yylex_destroy HECMW_gflex_destroy
144 #define HECMW_gfget_debug_ALREADY_DEFINED
146 #define yyget_debug HECMW_gfget_debug
150 #define HECMW_gfset_debug_ALREADY_DEFINED
152 #define yyset_debug HECMW_gfset_debug
156 #define HECMW_gfget_extra_ALREADY_DEFINED
158 #define yyget_extra HECMW_gfget_extra
162 #define HECMW_gfset_extra_ALREADY_DEFINED
164 #define yyset_extra HECMW_gfset_extra
168 #define HECMW_gfget_in_ALREADY_DEFINED
170 #define yyget_in HECMW_gfget_in
174 #define HECMW_gfset_in_ALREADY_DEFINED
176 #define yyset_in HECMW_gfset_in
180 #define HECMW_gfget_out_ALREADY_DEFINED
182 #define yyget_out HECMW_gfget_out
186 #define HECMW_gfset_out_ALREADY_DEFINED
188 #define yyset_out HECMW_gfset_out
192 #define HECMW_gfget_leng_ALREADY_DEFINED
194 #define yyget_leng HECMW_gfget_leng
198 #define HECMW_gfget_text_ALREADY_DEFINED
200 #define yyget_text HECMW_gfget_text
204 #define HECMW_gfget_lineno_ALREADY_DEFINED
206 #define yyget_lineno HECMW_gfget_lineno
210 #define HECMW_gfset_lineno_ALREADY_DEFINED
212 #define yyset_lineno HECMW_gfset_lineno
216 #define HECMW_gfwrap_ALREADY_DEFINED
218 #define yywrap HECMW_gfwrap
222 #define HECMW_gfalloc_ALREADY_DEFINED
224 #define yyalloc HECMW_gfalloc
228 #define HECMW_gfrealloc_ALREADY_DEFINED
230 #define yyrealloc HECMW_gfrealloc
234 #define HECMW_gffree_ALREADY_DEFINED
236 #define yyfree HECMW_gffree
240 #define HECMW_gftext_ALREADY_DEFINED
242 #define yytext HECMW_gftext
246 #define HECMW_gfleng_ALREADY_DEFINED
248 #define yyleng HECMW_gfleng
252 #define HECMW_gfin_ALREADY_DEFINED
254 #define yyin HECMW_gfin
258 #define HECMW_gfout_ALREADY_DEFINED
260 #define yyout HECMW_gfout
264 #define HECMW_gf_flex_debug_ALREADY_DEFINED
266 #define yy_flex_debug HECMW_gf_flex_debug
270 #define HECMW_gflineno_ALREADY_DEFINED
272 #define yylineno HECMW_gflineno
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
508 static size_t yy_buffer_stack_top = 0;
509 static size_t yy_buffer_stack_max = 0;
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)]
527 static char yy_hold_char;
528 static int yy_n_chars;
532 static char *yy_c_buf_p =
NULL;
533 static int yy_init = 0;
534 static int yy_start = 0;
539 static int yy_did_buffer_switch_on_eof;
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
601 static int yy_get_next_buffer (
void );
602 static void yynoreturn yy_fatal_error (
const char* msg );
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 9
614 #define YY_END_OF_BUFFER 10
624 0, 0, 10, 8, 3, 4, 8, 2, 8, 8,
625 5, 7, 2, 3, 4, 2, 0, 5, 6, 6,
626 5, 0, 7, 2, 1, 2, 6, 6, 0, 6,
630 static const YY_CHAR yy_ec[256] =
632 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
633 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
634 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
635 1, 2, 5, 1, 6, 1, 1, 1, 1, 1,
636 1, 1, 7, 1, 8, 9, 1, 10, 10, 10,
637 10, 10, 10, 10, 10, 10, 10, 1, 1, 1,
638 1, 1, 1, 1, 11, 11, 11, 11, 12, 11,
639 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
640 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
641 1, 1, 1, 1, 11, 1, 11, 11, 11, 11,
643 12, 11, 11, 11, 11, 11, 11, 11, 11, 11,
644 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
645 11, 11, 1, 1, 1, 1, 1, 1, 1, 1,
646 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
647 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
648 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
649 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
650 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
651 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
652 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,
662 static const YY_CHAR yy_meta[13] =
664 1, 1, 2, 1, 1, 1, 3, 4, 1, 4,
670 0, 8, 50, 51, 47, 51, 45, 0, 6, 37,
671 8, 0, 18, 44, 51, 0, 35, 0, 13, 34,
672 0, 21, 0, 23, 51, 25, 0, 0, 14, 9,
678 31, 1, 31, 31, 31, 31, 31, 32, 31, 31,
679 31, 33, 34, 31, 31, 32, 31, 11, 31, 19,
680 11, 35, 33, 34, 31, 34, 19, 20, 31, 31,
686 4, 5, 6, 7, 8, 8, 9, 9, 10, 11,
687 12, 12, 13, 13, 17, 18, 20, 21, 30, 22,
688 25, 26, 27, 30, 22, 25, 26, 25, 26, 16,
689 30, 16, 16, 16, 23, 23, 24, 24, 24, 24,
690 24, 29, 29, 28, 19, 14, 19, 15, 14, 31,
691 3, 31, 31, 31, 31, 31, 31, 31, 31, 31,
697 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
698 1, 1, 2, 2, 9, 9, 11, 11, 30, 11,
699 13, 13, 19, 29, 19, 24, 24, 26, 26, 32,
700 22, 32, 32, 32, 33, 33, 34, 34, 34, 34,
701 34, 35, 35, 20, 17, 14, 10, 7, 5, 3,
702 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
707 static char *yy_last_accepting_cpos;
715 #define REJECT reject_used_but_not_detected
716 #define yymore() yymore_used_but_not_detected
717 #define YY_MORE_ADJ 0
718 #define YY_RESTORE_YY_MORE_OFFSET
720 #line 1 "../src/common/hecmw_gflex.l"
721 #line 2 "../src/common/hecmw_gflex.l"
740 #ifndef YY_NO_UNISTD_H
748 #ifndef YY_EXTRA_TYPE
749 #define YY_EXTRA_TYPE void *
752 static int yy_init_globals (
void );
787 #ifndef YY_SKIP_YYWRAP
789 extern "C" int yywrap (
void );
791 extern int yywrap (
void );
800 static void yy_flex_strncpy (
char *,
const char *,
int );
803 #ifdef YY_NEED_STRLEN
804 static int yy_flex_strlen (
const char * );
809 static int yyinput (
void );
811 static int input (
void );
817 #ifndef YY_READ_BUF_SIZE
820 #define YY_READ_BUF_SIZE 16384
822 #define YY_READ_BUF_SIZE 8192
831 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
838 #define YY_INPUT(buf,result,max_size) \
839 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
843 for ( n = 0; n < max_size && \
844 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
847 buf[n++] = (char) c; \
848 if ( c == EOF && ferror( yyin ) ) \
849 YY_FATAL_ERROR( "input in flex scanner failed" ); \
855 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
857 if( errno != EINTR) \
859 YY_FATAL_ERROR( "input in flex scanner failed" ); \
875 #define yyterminate() return YY_NULL
879 #ifndef YY_START_STACK_INCR
880 #define YY_START_STACK_INCR 25
884 #ifndef YY_FATAL_ERROR
885 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
894 #define YY_DECL_IS_OURS 1
896 extern int yylex (
void);
898 #define YY_DECL int yylex (void)
904 #ifndef YY_USER_ACTION
905 #define YY_USER_ACTION
910 #define YY_BREAK break;
913 #define YY_RULE_SETUP \
915 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
916 (yytext[yyleng - 1] == '\n'); \
954 #line 28 "../src/common/hecmw_gflex.l"
961 yy_cp = (yy_c_buf_p);
964 *
yy_cp = (yy_hold_char);
971 yy_current_state = (yy_start);
977 if ( yy_accept[yy_current_state] )
979 (yy_last_accepting_state) = yy_current_state;
980 (yy_last_accepting_cpos) =
yy_cp;
982 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
984 yy_current_state = (int) yy_def[yy_current_state];
985 if ( yy_current_state >= 32 )
986 yy_c = yy_meta[yy_c];
988 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
991 while ( yy_base[yy_current_state] != 51 );
994 yy_act = yy_accept[yy_current_state];
997 yy_cp = (yy_last_accepting_cpos);
998 yy_current_state = (yy_last_accepting_state);
999 yy_act = yy_accept[yy_current_state];
1010 *
yy_cp = (yy_hold_char);
1011 yy_cp = (yy_last_accepting_cpos);
1012 yy_current_state = (yy_last_accepting_state);
1013 goto yy_find_action;
1018 #line 30 "../src/common/hecmw_gflex.l"
1019 { len +=
yyleng; lineno++; }
1023 #line 31 "../src/common/hecmw_gflex.l"
1028 #line 32 "../src/common/hecmw_gflex.l"
1034 #line 33 "../src/common/hecmw_gflex.l"
1039 #line 35 "../src/common/hecmw_gflex.l"
1048 #line 40 "../src/common/hecmw_gflex.l"
1057 #line 45 "../src/common/hecmw_gflex.l"
1066 #line 50 "../src/common/hecmw_gflex.l"
1070 #line 51
"../src/common/hecmw_gflex.l"
1075 #line 53 "../src/common/hecmw_gflex.l"
1078 #line 1079 "<stdout>"
1086 *
yy_cp = (yy_hold_char);
1116 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
1118 yy_current_state = yy_get_previous_state( );
1129 yy_next_state = yy_try_NUL_trans( yy_current_state );
1133 if ( yy_next_state )
1136 yy_cp = ++(yy_c_buf_p);
1137 yy_current_state = yy_next_state;
1143 yy_cp = (yy_c_buf_p);
1144 goto yy_find_action;
1148 else switch ( yy_get_next_buffer( ) )
1152 (yy_did_buffer_switch_on_eof) = 0;
1173 if ( ! (yy_did_buffer_switch_on_eof) )
1183 yy_current_state = yy_get_previous_state( );
1185 yy_cp = (yy_c_buf_p);
1193 yy_current_state = yy_get_previous_state( );
1195 yy_cp = (yy_c_buf_p);
1197 goto yy_find_action;
1204 "fatal flex scanner internal error--no action found" );
1217 static int yy_get_next_buffer (
void)
1221 int number_to_move, i;
1226 "fatal flex scanner internal error--end of buffer missed" );
1250 number_to_move = (int) ((yy_c_buf_p) - (
yytext_ptr) - 1);
1252 for ( i = 0; i < number_to_move; ++i )
1253 *(dest++) = *(source++);
1266 while ( num_to_read <= 0 )
1272 int yy_c_buf_p_offset =
1279 if ( new_size <= 0 )
1295 "fatal error - scanner input buffer overflow" );
1297 (yy_c_buf_p) = &b->
yy_ch_buf[yy_c_buf_p_offset];
1309 (yy_n_chars), num_to_read );
1314 if ( (yy_n_chars) == 0 )
1335 int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1339 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1344 (yy_n_chars) += number_to_move;
1360 yy_current_state = (yy_start);
1366 if ( yy_accept[yy_current_state] )
1368 (yy_last_accepting_state) = yy_current_state;
1369 (yy_last_accepting_cpos) =
yy_cp;
1371 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1373 yy_current_state = (int) yy_def[yy_current_state];
1374 if ( yy_current_state >= 32 )
1375 yy_c = yy_meta[yy_c];
1377 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1380 return yy_current_state;
1391 char *
yy_cp = (yy_c_buf_p);
1394 if ( yy_accept[yy_current_state] )
1396 (yy_last_accepting_state) = yy_current_state;
1397 (yy_last_accepting_cpos) =
yy_cp;
1399 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1401 yy_current_state = (int) yy_def[yy_current_state];
1402 if ( yy_current_state >= 32 )
1403 yy_c = yy_meta[yy_c];
1405 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1406 yy_is_jam = (yy_current_state == 31);
1408 return yy_is_jam ? 0 : yy_current_state;
1417 static int yyinput (
void)
1419 static int input (
void)
1425 *(yy_c_buf_p) = (yy_hold_char);
1435 *(yy_c_buf_p) =
'\0';
1439 int offset = (int) ((yy_c_buf_p) - (
yytext_ptr));
1442 switch ( yy_get_next_buffer( ) )
1465 if ( ! (yy_did_buffer_switch_on_eof) )
1481 c = *(
unsigned char *) (yy_c_buf_p);
1482 *(yy_c_buf_p) =
'\0';
1483 (yy_hold_char) = *++(yy_c_buf_p);
1528 *(yy_c_buf_p) = (yy_hold_char);
1541 (yy_did_buffer_switch_on_eof) = 1;
1549 (yy_hold_char) = *(yy_c_buf_p);
1664 if (new_buffer ==
NULL)
1673 *(yy_c_buf_p) = (yy_hold_char);
1680 (yy_buffer_stack_top)++;
1685 (yy_did_buffer_switch_on_eof) = 1;
1699 if ((yy_buffer_stack_top) > 0)
1700 --(yy_buffer_stack_top);
1704 (yy_did_buffer_switch_on_eof) = 1;
1715 if (!(yy_buffer_stack)) {
1725 if ( ! (yy_buffer_stack) )
1726 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1728 memset((yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
1730 (yy_buffer_stack_max) = num_to_alloc;
1731 (yy_buffer_stack_top) = 0;
1735 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1740 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1745 if ( ! (yy_buffer_stack) )
1746 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1749 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size *
sizeof(
struct yy_buffer_state*));
1750 (yy_buffer_stack_max) = num_to_alloc;
1823 for ( i = 0; i < _yybytes_len; ++i )
1824 buf[i] = yybytes[i];
1840 #ifndef YY_EXIT_FAILURE
1841 #define YY_EXIT_FAILURE 2
1844 static void yynoreturn yy_fatal_error (
const char* msg )
1846 fprintf( stderr,
"%s\n", msg );
1857 int yyless_macro_arg = (n); \
1858 YY_LESS_LINENO(yyless_macro_arg);\
1859 yytext[yyleng] = (yy_hold_char); \
1860 (yy_c_buf_p) = yytext + yyless_macro_arg; \
1861 (yy_hold_char) = *(yy_c_buf_p); \
1862 *(yy_c_buf_p) = '\0'; \
1863 yyleng = yyless_macro_arg; \
1947 static int yy_init_globals (
void)
1953 (yy_buffer_stack) =
NULL;
1954 (yy_buffer_stack_top) = 0;
1955 (yy_buffer_stack_max) = 0;
1956 (yy_c_buf_p) =
NULL;
1987 yyfree((yy_buffer_stack) );
1988 (yy_buffer_stack) =
NULL;
2002 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
2006 for ( i = 0; i < n; ++i )
2011 #ifdef YY_NEED_STRLEN
2012 static int yy_flex_strlen (
const char * s )
2015 for ( n = 0; s[n]; ++n )
2024 return malloc(size);
2037 return realloc(ptr, size);
2040 void yyfree (
void * ptr )
2042 free( (
char *) ptr );
2045 #define YYTABLES_NAME "yytables"
2047 #line 53 "../src/common/hecmw_gflex.l"
2082 while((token =
yylex())) {
2083 if(token != skip_token)
break;
2090 HECMW_gflex_readsize(
void)
2099 static int first = 1;
2100 if(fp ==
NULL)
return -1;