FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_gflex.c
Go to the documentation of this file.
1 
2 #line 3 "<stdout>"
3 
4 #define YY_INT_ALIGNED short int
5 
6 /* A lexical scanner generated by flex */
7 
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
32 
33 #define FLEX_SCANNER
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
38 #define FLEX_BETA
39 #endif
40 
41 #ifdef yy_create_buffer
42 #define HECMW_gf_create_buffer_ALREADY_DEFINED
43 #else
44 #define yy_create_buffer HECMW_gf_create_buffer
45 #endif
46 
47 #ifdef yy_delete_buffer
48 #define HECMW_gf_delete_buffer_ALREADY_DEFINED
49 #else
50 #define yy_delete_buffer HECMW_gf_delete_buffer
51 #endif
52 
53 #ifdef yy_scan_buffer
54 #define HECMW_gf_scan_buffer_ALREADY_DEFINED
55 #else
56 #define yy_scan_buffer HECMW_gf_scan_buffer
57 #endif
58 
59 #ifdef yy_scan_string
60 #define HECMW_gf_scan_string_ALREADY_DEFINED
61 #else
62 #define yy_scan_string HECMW_gf_scan_string
63 #endif
64 
65 #ifdef yy_scan_bytes
66 #define HECMW_gf_scan_bytes_ALREADY_DEFINED
67 #else
68 #define yy_scan_bytes HECMW_gf_scan_bytes
69 #endif
70 
71 #ifdef yy_init_buffer
72 #define HECMW_gf_init_buffer_ALREADY_DEFINED
73 #else
74 #define yy_init_buffer HECMW_gf_init_buffer
75 #endif
76 
77 #ifdef yy_flush_buffer
78 #define HECMW_gf_flush_buffer_ALREADY_DEFINED
79 #else
80 #define yy_flush_buffer HECMW_gf_flush_buffer
81 #endif
82 
83 #ifdef yy_load_buffer_state
84 #define HECMW_gf_load_buffer_state_ALREADY_DEFINED
85 #else
86 #define yy_load_buffer_state HECMW_gf_load_buffer_state
87 #endif
88 
89 #ifdef yy_switch_to_buffer
90 #define HECMW_gf_switch_to_buffer_ALREADY_DEFINED
91 #else
92 #define yy_switch_to_buffer HECMW_gf_switch_to_buffer
93 #endif
94 
95 #ifdef yypush_buffer_state
96 #define HECMW_gfpush_buffer_state_ALREADY_DEFINED
97 #else
98 #define yypush_buffer_state HECMW_gfpush_buffer_state
99 #endif
100 
101 #ifdef yypop_buffer_state
102 #define HECMW_gfpop_buffer_state_ALREADY_DEFINED
103 #else
104 #define yypop_buffer_state HECMW_gfpop_buffer_state
105 #endif
106 
107 #ifdef yyensure_buffer_stack
108 #define HECMW_gfensure_buffer_stack_ALREADY_DEFINED
109 #else
110 #define yyensure_buffer_stack HECMW_gfensure_buffer_stack
111 #endif
112 
113 #ifdef yylex
114 #define HECMW_gflex_ALREADY_DEFINED
115 #else
116 #define yylex HECMW_gflex
117 #endif
118 
119 #ifdef yyrestart
120 #define HECMW_gfrestart_ALREADY_DEFINED
121 #else
122 #define yyrestart HECMW_gfrestart
123 #endif
124 
125 #ifdef yylex_init
126 #define HECMW_gflex_init_ALREADY_DEFINED
127 #else
128 #define yylex_init HECMW_gflex_init
129 #endif
130 
131 #ifdef yylex_init_extra
132 #define HECMW_gflex_init_extra_ALREADY_DEFINED
133 #else
134 #define yylex_init_extra HECMW_gflex_init_extra
135 #endif
136 
137 #ifdef yylex_destroy
138 #define HECMW_gflex_destroy_ALREADY_DEFINED
139 #else
140 #define yylex_destroy HECMW_gflex_destroy
141 #endif
142 
143 #ifdef yyget_debug
144 #define HECMW_gfget_debug_ALREADY_DEFINED
145 #else
146 #define yyget_debug HECMW_gfget_debug
147 #endif
148 
149 #ifdef yyset_debug
150 #define HECMW_gfset_debug_ALREADY_DEFINED
151 #else
152 #define yyset_debug HECMW_gfset_debug
153 #endif
154 
155 #ifdef yyget_extra
156 #define HECMW_gfget_extra_ALREADY_DEFINED
157 #else
158 #define yyget_extra HECMW_gfget_extra
159 #endif
160 
161 #ifdef yyset_extra
162 #define HECMW_gfset_extra_ALREADY_DEFINED
163 #else
164 #define yyset_extra HECMW_gfset_extra
165 #endif
166 
167 #ifdef yyget_in
168 #define HECMW_gfget_in_ALREADY_DEFINED
169 #else
170 #define yyget_in HECMW_gfget_in
171 #endif
172 
173 #ifdef yyset_in
174 #define HECMW_gfset_in_ALREADY_DEFINED
175 #else
176 #define yyset_in HECMW_gfset_in
177 #endif
178 
179 #ifdef yyget_out
180 #define HECMW_gfget_out_ALREADY_DEFINED
181 #else
182 #define yyget_out HECMW_gfget_out
183 #endif
184 
185 #ifdef yyset_out
186 #define HECMW_gfset_out_ALREADY_DEFINED
187 #else
188 #define yyset_out HECMW_gfset_out
189 #endif
190 
191 #ifdef yyget_leng
192 #define HECMW_gfget_leng_ALREADY_DEFINED
193 #else
194 #define yyget_leng HECMW_gfget_leng
195 #endif
196 
197 #ifdef yyget_text
198 #define HECMW_gfget_text_ALREADY_DEFINED
199 #else
200 #define yyget_text HECMW_gfget_text
201 #endif
202 
203 #ifdef yyget_lineno
204 #define HECMW_gfget_lineno_ALREADY_DEFINED
205 #else
206 #define yyget_lineno HECMW_gfget_lineno
207 #endif
208 
209 #ifdef yyset_lineno
210 #define HECMW_gfset_lineno_ALREADY_DEFINED
211 #else
212 #define yyset_lineno HECMW_gfset_lineno
213 #endif
214 
215 #ifdef yywrap
216 #define HECMW_gfwrap_ALREADY_DEFINED
217 #else
218 #define yywrap HECMW_gfwrap
219 #endif
220 
221 #ifdef yyalloc
222 #define HECMW_gfalloc_ALREADY_DEFINED
223 #else
224 #define yyalloc HECMW_gfalloc
225 #endif
226 
227 #ifdef yyrealloc
228 #define HECMW_gfrealloc_ALREADY_DEFINED
229 #else
230 #define yyrealloc HECMW_gfrealloc
231 #endif
232 
233 #ifdef yyfree
234 #define HECMW_gffree_ALREADY_DEFINED
235 #else
236 #define yyfree HECMW_gffree
237 #endif
238 
239 #ifdef yytext
240 #define HECMW_gftext_ALREADY_DEFINED
241 #else
242 #define yytext HECMW_gftext
243 #endif
244 
245 #ifdef yyleng
246 #define HECMW_gfleng_ALREADY_DEFINED
247 #else
248 #define yyleng HECMW_gfleng
249 #endif
250 
251 #ifdef yyin
252 #define HECMW_gfin_ALREADY_DEFINED
253 #else
254 #define yyin HECMW_gfin
255 #endif
256 
257 #ifdef yyout
258 #define HECMW_gfout_ALREADY_DEFINED
259 #else
260 #define yyout HECMW_gfout
261 #endif
262 
263 #ifdef yy_flex_debug
264 #define HECMW_gf_flex_debug_ALREADY_DEFINED
265 #else
266 #define yy_flex_debug HECMW_gf_flex_debug
267 #endif
268 
269 #ifdef yylineno
270 #define HECMW_gflineno_ALREADY_DEFINED
271 #else
272 #define yylineno HECMW_gflineno
273 #endif
274 
275 /* First, we deal with platform-specific or compiler-specific issues. */
276 
277 /* begin standard C headers. */
278 #include <stdio.h>
279 #include <string.h>
280 #include <errno.h>
281 #include <stdlib.h>
282 
283 /* end standard C headers. */
284 
285 /* flex integer type definitions */
286 
287 #ifndef FLEXINT_H
288 #define FLEXINT_H
289 
290 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
291 
292 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
293 
294 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
295  * if you want the limit (max/min) macros for int types.
296  */
297 #ifndef __STDC_LIMIT_MACROS
298 #define __STDC_LIMIT_MACROS 1
299 #endif
300 
301 #include <inttypes.h>
302 typedef int8_t flex_int8_t;
303 typedef uint8_t flex_uint8_t;
304 typedef int16_t flex_int16_t;
305 typedef uint16_t flex_uint16_t;
306 typedef int32_t flex_int32_t;
307 typedef uint32_t flex_uint32_t;
308 #else
309 typedef signed char flex_int8_t;
310 typedef short int flex_int16_t;
311 typedef int flex_int32_t;
312 typedef unsigned char flex_uint8_t;
313 typedef unsigned short int flex_uint16_t;
314 typedef unsigned int flex_uint32_t;
315 
316 /* Limits of integral types. */
317 #ifndef INT8_MIN
318 #define INT8_MIN (-128)
319 #endif
320 #ifndef INT16_MIN
321 #define INT16_MIN (-32767-1)
322 #endif
323 #ifndef INT32_MIN
324 #define INT32_MIN (-2147483647-1)
325 #endif
326 #ifndef INT8_MAX
327 #define INT8_MAX (127)
328 #endif
329 #ifndef INT16_MAX
330 #define INT16_MAX (32767)
331 #endif
332 #ifndef INT32_MAX
333 #define INT32_MAX (2147483647)
334 #endif
335 #ifndef UINT8_MAX
336 #define UINT8_MAX (255U)
337 #endif
338 #ifndef UINT16_MAX
339 #define UINT16_MAX (65535U)
340 #endif
341 #ifndef UINT32_MAX
342 #define UINT32_MAX (4294967295U)
343 #endif
344 
345 #ifndef SIZE_MAX
346 #define SIZE_MAX (~(size_t)0)
347 #endif
348 
349 #endif /* ! C99 */
350 
351 #endif /* ! FLEXINT_H */
352 
353 /* begin standard C++ headers. */
354 
355 /* TODO: this is always defined, so inline it */
356 #define yyconst const
357 
358 #if defined(__GNUC__) && __GNUC__ >= 3
359 #define yynoreturn __attribute__((__noreturn__))
360 #else
361 #define yynoreturn
362 #endif
363 
364 /* Returned upon end-of-file. */
365 #define YY_NULL 0
366 
367 /* Promotes a possibly negative, possibly signed char to an
368  * integer in range [0..255] for use as an array index.
369  */
370 #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
371 
372 /* Enter a start condition. This macro really ought to take a parameter,
373  * but we do it the disgusting crufty way forced on us by the ()-less
374  * definition of BEGIN.
375  */
376 #define BEGIN (yy_start) = 1 + 2 *
377 /* Translate the current start state into a value that can be later handed
378  * to BEGIN to return to the state. The YYSTATE alias is for lex
379  * compatibility.
380  */
381 #define YY_START (((yy_start) - 1) / 2)
382 #define YYSTATE YY_START
383 /* Action number for EOF rule of a given start state. */
384 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
385 /* Special action meaning "start processing a new file". */
386 #define YY_NEW_FILE yyrestart( yyin )
387 #define YY_END_OF_BUFFER_CHAR 0
388 
389 /* Size of default input buffer. */
390 #ifndef YY_BUF_SIZE
391 #ifdef __ia64__
392 /* On IA-64, the buffer size is 16k, not 8k.
393  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
394  * Ditto for the __ia64__ case accordingly.
395  */
396 #define YY_BUF_SIZE 32768
397 #else
398 #define YY_BUF_SIZE 16384
399 #endif /* __ia64__ */
400 #endif
401 
402 /* The state buf must be large enough to hold one state per character in the main buffer.
403  */
404 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
405 
406 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
407 #define YY_TYPEDEF_YY_BUFFER_STATE
409 #endif
410 
411 #ifndef YY_TYPEDEF_YY_SIZE_T
412 #define YY_TYPEDEF_YY_SIZE_T
413 typedef size_t yy_size_t;
414 #endif
415 
416 extern int yyleng;
417 
418 extern FILE *yyin, *yyout;
419 
420 #define EOB_ACT_CONTINUE_SCAN 0
421 #define EOB_ACT_END_OF_FILE 1
422 #define EOB_ACT_LAST_MATCH 2
423 
424  #define YY_LESS_LINENO(n)
425  #define YY_LINENO_REWIND_TO(ptr)
426 
427 /* Return all but the first "n" matched characters back to the input stream. */
428 #define yyless(n) \
429  do \
430  { \
431  /* Undo effects of setting up yytext. */ \
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; /* set up yytext again */ \
438  } \
439  while ( 0 )
440 #define unput(c) yyunput( c, (yytext_ptr) )
441 
442 #ifndef YY_STRUCT_YY_BUFFER_STATE
443 #define YY_STRUCT_YY_BUFFER_STATE
444 struct yy_buffer_state
445  {
446  FILE *yy_input_file;
447 
448  char *yy_ch_buf; /* input buffer */
449  char *yy_buf_pos; /* current position in input buffer */
450 
451  /* Size of input buffer in bytes, not including room for EOB
452  * characters.
453  */
454  int yy_buf_size;
455 
456  /* Number of characters read into yy_ch_buf, not including EOB
457  * characters.
458  */
459  int yy_n_chars;
460 
461  /* Whether we "own" the buffer - i.e., we know we created it,
462  * and can realloc() it to grow it, and should free() it to
463  * delete it.
464  */
465  int yy_is_our_buffer;
466 
467  /* Whether this is an "interactive" input source; if so, and
468  * if we're using stdio for input, then we want to use getc()
469  * instead of fread(), to make sure we stop fetching input after
470  * each newline.
471  */
472  int yy_is_interactive;
473 
474  /* Whether we're considered to be at the beginning of a line.
475  * If so, '^' rules will be active on the next match, otherwise
476  * not.
477  */
478  int yy_at_bol;
479 
480  int yy_bs_lineno;
481  int yy_bs_column;
483  /* Whether to try to fill the input buffer when we reach the
484  * end of it.
485  */
486  int yy_fill_buffer;
487 
488  int yy_buffer_status;
489 
490 #define YY_BUFFER_NEW 0
491 #define YY_BUFFER_NORMAL 1
492  /* When an EOF's been seen but there's still some text to process
493  * then we mark the buffer as YY_EOF_PENDING, to indicate that we
494  * shouldn't try reading from the input source any more. We might
495  * still have a bunch of tokens to match, though, because of
496  * possible backing-up.
497  *
498  * When we actually see the EOF, we change the status to "new"
499  * (via yyrestart()), so that the user can continue scanning by
500  * just pointing yyin at a new input file.
501  */
502 #define YY_BUFFER_EOF_PENDING 2
503 
504  };
505 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
506 
507 /* Stack of input buffers. */
508 static size_t yy_buffer_stack_top = 0;
509 static size_t yy_buffer_stack_max = 0;
510 static YY_BUFFER_STATE * yy_buffer_stack = NULL;
512 /* We provide macros for accessing buffer states in case in the
513  * future we want to put the buffer states in a more general
514  * "scanner state".
515  *
516  * Returns the top of the stack, or NULL.
517  */
518 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
519  ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
520  : NULL)
521 /* Same as previous macro, but useful when we know that the buffer stack is not
522  * NULL or when we need an lvalue. For internal use only.
523  */
524 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
525 
526 /* yy_hold_char holds the character lost when yytext is formed. */
527 static char yy_hold_char;
528 static int yy_n_chars; /* number of characters read into yy_ch_buf */
529 int yyleng;
530 
531 /* Points to current character in buffer. */
532 static char *yy_c_buf_p = NULL;
533 static int yy_init = 0; /* whether we need to initialize */
534 static int yy_start = 0; /* start state number */
535 
536 /* Flag which is used to allow yywrap()'s to do buffer switches
537  * instead of setting up a fresh yyin. A bit of a hack ...
538  */
539 static int yy_did_buffer_switch_on_eof;
540 
541 void yyrestart ( FILE *input_file );
542 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
543 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
546 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
547 void yypop_buffer_state ( void );
548 
549 static void yyensure_buffer_stack ( void );
550 static void yy_load_buffer_state ( void );
551 static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
552 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
553 
554 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
555 YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
556 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
557 
558 void *yyalloc ( yy_size_t );
559 void *yyrealloc ( void *, yy_size_t );
560 void yyfree ( void * );
561 
562 #define yy_new_buffer yy_create_buffer
563 #define yy_set_interactive(is_interactive) \
564  { \
565  if ( ! YY_CURRENT_BUFFER ){ \
566  yyensure_buffer_stack (); \
567  YY_CURRENT_BUFFER_LVALUE = \
568  yy_create_buffer( yyin, YY_BUF_SIZE ); \
569  } \
570  YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
571  }
572 #define yy_set_bol(at_bol) \
573  { \
574  if ( ! YY_CURRENT_BUFFER ){\
575  yyensure_buffer_stack (); \
576  YY_CURRENT_BUFFER_LVALUE = \
577  yy_create_buffer( yyin, YY_BUF_SIZE ); \
578  } \
579  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
580  }
581 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
582 
583 /* Begin user sect3 */
585 
586 FILE *yyin = NULL, *yyout = NULL;
587 
588 typedef int yy_state_type;
589 
590 extern int yylineno;
591 int yylineno = 1;
592 
593 extern char *yytext;
594 #ifdef yytext_ptr
595 #undef yytext_ptr
596 #endif
597 #define yytext_ptr yytext
598 
599 static yy_state_type yy_get_previous_state ( void );
600 static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
601 static int yy_get_next_buffer ( void );
602 static void yynoreturn yy_fatal_error ( const char* msg );
603 
604 /* Done after the current pattern has been matched and before the
605  * corresponding action - sets up yytext.
606  */
607 #define YY_DO_BEFORE_ACTION \
608  (yytext_ptr) = yy_bp; \
609  yyleng = (int) (yy_cp - yy_bp); \
610  (yy_hold_char) = *yy_cp; \
611  *yy_cp = '\0'; \
612  (yy_c_buf_p) = yy_cp;
613 #define YY_NUM_RULES 9
614 #define YY_END_OF_BUFFER 10
615 /* This struct is not used in this scanner,
616  but its presence is necessary. */
617 struct yy_trans_info
618  {
621  };
622 static const flex_int16_t yy_accept[32] =
623  { 0,
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,
627  0
628  } ;
629 
630 static const YY_CHAR yy_ec[256] =
631  { 0,
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,
642 
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,
653 
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
660  } ;
661 
662 static const YY_CHAR yy_meta[13] =
663  { 0,
664  1, 1, 2, 1, 1, 1, 3, 4, 1, 4,
665  5, 5
666  } ;
667 
668 static const flex_int16_t yy_base[36] =
669  { 0,
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,
673  51, 29, 31, 36, 39
674  } ;
675 
676 static const flex_int16_t yy_def[36] =
677  { 0,
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,
681  0, 31, 31, 31, 31
682  } ;
683 
684 static const flex_int16_t yy_nxt[64] =
685  { 0,
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,
692  31, 31, 31
693  } ;
694 
695 static const flex_int16_t yy_chk[64] =
696  { 0,
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,
703  31, 31, 31
704  } ;
705 
706 static yy_state_type yy_last_accepting_state;
707 static char *yy_last_accepting_cpos;
708 
709 extern int yy_flex_debug;
711 
712 /* The intent behind this definition is that it'll catch
713  * any uses of REJECT which flex missed.
714  */
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
719 char *yytext;
720 #line 1 "../src/common/hecmw_gflex.l"
721 #line 2 "../src/common/hecmw_gflex.l"
722 #include <string.h>
723 #include "hecmw_gflex.h"
724 #include "hecmw_util.h"
725 
726 typedef union {
727  double dval;
728  char *str;
729 } YYSTYPE;
730 
731 static YYSTYPE yylval;
732 static int lineno;
733 static long len = 0;
734 
735 #line 736 "<stdout>"
736 #line 737 "<stdout>"
737 
738 #define INITIAL 0
739 
740 #ifndef YY_NO_UNISTD_H
741 /* Special case for "unistd.h", since it is non-ANSI. We include it way
742  * down here because we want the user's section 1 to have been scanned first.
743  * The user has a chance to override it with an option.
744  */
745 #include <unistd.h>
746 #endif
747 
748 #ifndef YY_EXTRA_TYPE
749 #define YY_EXTRA_TYPE void *
750 #endif
751 
752 static int yy_init_globals ( void );
753 
754 /* Accessor methods to globals.
755  These are made visible to non-reentrant scanners for convenience. */
756 
757 int yylex_destroy ( void );
758 
759 int yyget_debug ( void );
760 
761 void yyset_debug ( int debug_flag );
762 
763 YY_EXTRA_TYPE yyget_extra ( void );
764 
765 void yyset_extra ( YY_EXTRA_TYPE user_defined );
766 
767 FILE *yyget_in ( void );
768 
769 void yyset_in ( FILE * _in_str );
770 
771 FILE *yyget_out ( void );
772 
773 void yyset_out ( FILE * _out_str );
774 
775  int yyget_leng ( void );
776 
777 char *yyget_text ( void );
778 
779 int yyget_lineno ( void );
780 
781 void yyset_lineno ( int _line_number );
782 
783 /* Macros after this point can all be overridden by user definitions in
784  * section 1.
785  */
786 
787 #ifndef YY_SKIP_YYWRAP
788 #ifdef __cplusplus
789 extern "C" int yywrap ( void );
790 #else
791 extern int yywrap ( void );
792 #endif
793 #endif
794 
795 #ifndef YY_NO_UNPUT
796 
797 #endif
798 
799 #ifndef yytext_ptr
800 static void yy_flex_strncpy ( char *, const char *, int );
801 #endif
802 
803 #ifdef YY_NEED_STRLEN
804 static int yy_flex_strlen ( const char * );
805 #endif
806 
807 #ifndef YY_NO_INPUT
808 #ifdef __cplusplus
809 static int yyinput ( void );
810 #else
811 static int input ( void );
812 #endif
813 
814 #endif
815 
816 /* Amount of stuff to slurp up with each read. */
817 #ifndef YY_READ_BUF_SIZE
818 #ifdef __ia64__
819 /* On IA-64, the buffer size is 16k, not 8k */
820 #define YY_READ_BUF_SIZE 16384
821 #else
822 #define YY_READ_BUF_SIZE 8192
823 #endif /* __ia64__ */
824 #endif
825 
826 /* Copy whatever the last rule matched to the standard output. */
827 #ifndef ECHO
828 /* This used to be an fputs(), but since the string might contain NUL's,
829  * we now use fwrite().
830  */
831 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
832 #endif
833 
834 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
835  * is returned in "result".
836  */
837 #ifndef YY_INPUT
838 #define YY_INPUT(buf,result,max_size) \
839  if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
840  { \
841  int c = '*'; \
842  int n; \
843  for ( n = 0; n < max_size && \
844  (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
845  buf[n] = (char) c; \
846  if ( c == '\n' ) \
847  buf[n++] = (char) c; \
848  if ( c == EOF && ferror( yyin ) ) \
849  YY_FATAL_ERROR( "input in flex scanner failed" ); \
850  result = n; \
851  } \
852  else \
853  { \
854  errno=0; \
855  while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
856  { \
857  if( errno != EINTR) \
858  { \
859  YY_FATAL_ERROR( "input in flex scanner failed" ); \
860  break; \
861  } \
862  errno=0; \
863  clearerr(yyin); \
864  } \
865  }\
866 \
867 
868 #endif
869 
870 /* No semi-colon after return; correct usage is to write "yyterminate();" -
871  * we don't want an extra ';' after the "return" because that will cause
872  * some compilers to complain about unreachable statements.
873  */
874 #ifndef yyterminate
875 #define yyterminate() return YY_NULL
876 #endif
877 
878 /* Number of entries by which start-condition stack grows. */
879 #ifndef YY_START_STACK_INCR
880 #define YY_START_STACK_INCR 25
881 #endif
882 
883 /* Report a fatal error. */
884 #ifndef YY_FATAL_ERROR
885 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
886 #endif
887 
888 /* end tables serialization structures and prototypes */
889 
890 /* Default declaration of generated scanner - a define so the user can
891  * easily add parameters.
892  */
893 #ifndef YY_DECL
894 #define YY_DECL_IS_OURS 1
895 
896 extern int yylex (void);
897 
898 #define YY_DECL int yylex (void)
899 #endif /* !YY_DECL */
900 
901 /* Code executed at the beginning of each rule, after yytext and yyleng
902  * have been set up.
903  */
904 #ifndef YY_USER_ACTION
905 #define YY_USER_ACTION
906 #endif
907 
908 /* Code executed at the end of each rule. */
909 #ifndef YY_BREAK
910 #define YY_BREAK /*LINTED*/break;
911 #endif
912 
913 #define YY_RULE_SETUP \
914  if ( yyleng > 0 ) \
915  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
916  (yytext[yyleng - 1] == '\n'); \
917  YY_USER_ACTION
918 
921 YY_DECL
922 {
923  yy_state_type yy_current_state;
924  char *yy_cp, *yy_bp;
925  int yy_act;
926 
927  if ( !(yy_init) )
928  {
929  (yy_init) = 1;
930 
931 #ifdef YY_USER_INIT
932  YY_USER_INIT;
933 #endif
934 
935  if ( ! (yy_start) )
936  (yy_start) = 1; /* first start state */
937 
938  if ( ! yyin )
939  yyin = stdin;
940 
941  if ( ! yyout )
942  yyout = stdout;
943 
944  if ( ! YY_CURRENT_BUFFER ) {
948  }
949 
951  }
952 
953  {
954 #line 28 "../src/common/hecmw_gflex.l"
955 
956 
957 #line 958 "<stdout>"
958 
959  while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
960  {
961  yy_cp = (yy_c_buf_p);
962 
963  /* Support of yytext. */
964  *yy_cp = (yy_hold_char);
965 
966  /* yy_bp points to the position in yy_ch_buf of the start of
967  * the current run.
968  */
969  yy_bp = yy_cp;
970 
971  yy_current_state = (yy_start);
972  yy_current_state += YY_AT_BOL();
973 yy_match:
974  do
975  {
976  YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
977  if ( yy_accept[yy_current_state] )
978  {
979  (yy_last_accepting_state) = yy_current_state;
980  (yy_last_accepting_cpos) = yy_cp;
981  }
982  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
983  {
984  yy_current_state = (int) yy_def[yy_current_state];
985  if ( yy_current_state >= 32 )
986  yy_c = yy_meta[yy_c];
987  }
988  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
989  ++yy_cp;
990  }
991  while ( yy_base[yy_current_state] != 51 );
992 
993 yy_find_action:
994  yy_act = yy_accept[yy_current_state];
995  if ( yy_act == 0 )
996  { /* have to back up */
997  yy_cp = (yy_last_accepting_cpos);
998  yy_current_state = (yy_last_accepting_state);
999  yy_act = yy_accept[yy_current_state];
1000  }
1001 
1003 
1004 do_action: /* This label is used only to access EOF actions. */
1005 
1006  switch ( yy_act )
1007  { /* beginning of action switch */
1008  case 0: /* must back up */
1009  /* undo the effects of YY_DO_BEFORE_ACTION */
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;
1014 
1015 case 1:
1016 /* rule 1 can match eol */
1018 #line 30 "../src/common/hecmw_gflex.l"
1019 { len += yyleng; lineno++; }
1020  YY_BREAK
1021 case 2:
1023 #line 31 "../src/common/hecmw_gflex.l"
1024 { len += yyleng; }
1025  YY_BREAK
1026 case 3:
1028 #line 32 "../src/common/hecmw_gflex.l"
1029 { len += yyleng; }
1030  YY_BREAK
1031 case 4:
1032 /* rule 4 can match eol */
1034 #line 33 "../src/common/hecmw_gflex.l"
1035 { len += yyleng; lineno++; return HECMW_GFLEX_NL; }
1036  YY_BREAK
1037 case 5:
1039 #line 35 "../src/common/hecmw_gflex.l"
1040 {
1041  len += yyleng;
1042  yylval.dval = atof(yytext);
1043  return HECMW_GFLEX_INT;
1044  }
1045  YY_BREAK
1046 case 6:
1048 #line 40 "../src/common/hecmw_gflex.l"
1049 {
1050  len += yyleng;
1051  yylval.dval = atof(yytext);
1052  return HECMW_GFLEX_DOUBLE;
1053  }
1054  YY_BREAK
1055 case 7:
1057 #line 45 "../src/common/hecmw_gflex.l"
1058 {
1059  len += yyleng;
1060  yylval.str = yytext;
1061  return HECMW_GFLEX_NAME;
1062  }
1063  YY_BREAK
1064 case 8:
1066 #line 50 "../src/common/hecmw_gflex.l"
1067 { len += yyleng; return yytext[0]; }
1068  YY_BREAK
1069 case YY_STATE_EOF(INITIAL):
1070 #line 51 "../src/common/hecmw_gflex.l"
1071 { return 0; }
1072  YY_BREAK
1073 case 9:
1075 #line 53 "../src/common/hecmw_gflex.l"
1076 ECHO;
1077  YY_BREAK
1078 #line 1079 "<stdout>"
1079 
1080  case YY_END_OF_BUFFER:
1081  {
1082  /* Amount of text matched not including the EOB char. */
1083  int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1084 
1085  /* Undo the effects of YY_DO_BEFORE_ACTION. */
1086  *yy_cp = (yy_hold_char);
1088 
1089  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1090  {
1091  /* We're scanning a new file or input source. It's
1092  * possible that this happened because the user
1093  * just pointed yyin at a new source and called
1094  * yylex(). If so, then we have to assure
1095  * consistency between YY_CURRENT_BUFFER and our
1096  * globals. Here is the right place to do so, because
1097  * this is the first action (other than possibly a
1098  * back-up) that will match for the new input source.
1099  */
1100  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1101  YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1102  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1103  }
1104 
1105  /* Note that here we test for yy_c_buf_p "<=" to the position
1106  * of the first EOB in the buffer, since yy_c_buf_p will
1107  * already have been incremented past the NUL character
1108  * (since all states make transitions on EOB to the
1109  * end-of-buffer state). Contrast this with the test
1110  * in input().
1111  */
1112  if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1113  { /* This was really a NUL. */
1114  yy_state_type yy_next_state;
1115 
1116  (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1117 
1118  yy_current_state = yy_get_previous_state( );
1119 
1120  /* Okay, we're now positioned to make the NUL
1121  * transition. We couldn't have
1122  * yy_get_previous_state() go ahead and do it
1123  * for us because it doesn't know how to deal
1124  * with the possibility of jamming (and we don't
1125  * want to build jamming into it because then it
1126  * will run more slowly).
1127  */
1128 
1129  yy_next_state = yy_try_NUL_trans( yy_current_state );
1130 
1132 
1133  if ( yy_next_state )
1134  {
1135  /* Consume the NUL. */
1136  yy_cp = ++(yy_c_buf_p);
1137  yy_current_state = yy_next_state;
1138  goto yy_match;
1139  }
1140 
1141  else
1142  {
1143  yy_cp = (yy_c_buf_p);
1144  goto yy_find_action;
1145  }
1146  }
1147 
1148  else switch ( yy_get_next_buffer( ) )
1149  {
1150  case EOB_ACT_END_OF_FILE:
1151  {
1152  (yy_did_buffer_switch_on_eof) = 0;
1153 
1154  if ( yywrap( ) )
1155  {
1156  /* Note: because we've taken care in
1157  * yy_get_next_buffer() to have set up
1158  * yytext, we can now set up
1159  * yy_c_buf_p so that if some total
1160  * hoser (like flex itself) wants to
1161  * call the scanner after we return the
1162  * YY_NULL, it'll still work - another
1163  * YY_NULL will get returned.
1164  */
1165  (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1166 
1168  goto do_action;
1169  }
1170 
1171  else
1172  {
1173  if ( ! (yy_did_buffer_switch_on_eof) )
1174  YY_NEW_FILE;
1175  }
1176  break;
1177  }
1178 
1179  case EOB_ACT_CONTINUE_SCAN:
1180  (yy_c_buf_p) =
1181  (yytext_ptr) + yy_amount_of_matched_text;
1182 
1183  yy_current_state = yy_get_previous_state( );
1184 
1185  yy_cp = (yy_c_buf_p);
1187  goto yy_match;
1188 
1189  case EOB_ACT_LAST_MATCH:
1190  (yy_c_buf_p) =
1191  &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1192 
1193  yy_current_state = yy_get_previous_state( );
1194 
1195  yy_cp = (yy_c_buf_p);
1197  goto yy_find_action;
1198  }
1199  break;
1200  }
1201 
1202  default:
1204  "fatal flex scanner internal error--no action found" );
1205  } /* end of action switch */
1206  } /* end of scanning one token */
1207  } /* end of user's declarations */
1208 } /* end of yylex */
1209 
1210 /* yy_get_next_buffer - try to read in a new buffer
1211  *
1212  * Returns a code representing an action:
1213  * EOB_ACT_LAST_MATCH -
1214  * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1215  * EOB_ACT_END_OF_FILE - end of file
1216  */
1217 static int yy_get_next_buffer (void)
1218 {
1219  char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1220  char *source = (yytext_ptr);
1221  int number_to_move, i;
1222  int ret_val;
1223 
1224  if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1226  "fatal flex scanner internal error--end of buffer missed" );
1227 
1228  if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1229  { /* Don't try to fill the buffer, so this is an EOF. */
1230  if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1231  {
1232  /* We matched a single character, the EOB, so
1233  * treat this as a final EOF.
1234  */
1235  return EOB_ACT_END_OF_FILE;
1236  }
1237 
1238  else
1239  {
1240  /* We matched some text prior to the EOB, first
1241  * process it.
1242  */
1243  return EOB_ACT_LAST_MATCH;
1244  }
1245  }
1246 
1247  /* Try to read more data. */
1248 
1249  /* First move last chars to start of buffer. */
1250  number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1251 
1252  for ( i = 0; i < number_to_move; ++i )
1253  *(dest++) = *(source++);
1254 
1255  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1256  /* don't do the read, it's not guaranteed to return an EOF,
1257  * just force an EOF
1258  */
1259  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1260 
1261  else
1262  {
1263  int num_to_read =
1264  YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1265 
1266  while ( num_to_read <= 0 )
1267  { /* Not enough room in the buffer - grow it. */
1268 
1269  /* just a shorter name for the current buffer */
1271 
1272  int yy_c_buf_p_offset =
1273  (int) ((yy_c_buf_p) - b->yy_ch_buf);
1274 
1275  if ( b->yy_is_our_buffer )
1276  {
1277  int new_size = b->yy_buf_size * 2;
1278 
1279  if ( new_size <= 0 )
1280  b->yy_buf_size += b->yy_buf_size / 8;
1281  else
1282  b->yy_buf_size *= 2;
1283 
1284  b->yy_ch_buf = (char *)
1285  /* Include room in for 2 EOB chars. */
1286  yyrealloc( (void *) b->yy_ch_buf,
1287  (yy_size_t) (b->yy_buf_size + 2) );
1288  }
1289  else
1290  /* Can't grow it, we don't own it. */
1291  b->yy_ch_buf = NULL;
1292 
1293  if ( ! b->yy_ch_buf )
1295  "fatal error - scanner input buffer overflow" );
1296 
1297  (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1298 
1299  num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1300  number_to_move - 1;
1301 
1302  }
1303 
1304  if ( num_to_read > YY_READ_BUF_SIZE )
1305  num_to_read = YY_READ_BUF_SIZE;
1306 
1307  /* Read in more data. */
1308  YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1309  (yy_n_chars), num_to_read );
1310 
1311  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1312  }
1313 
1314  if ( (yy_n_chars) == 0 )
1315  {
1316  if ( number_to_move == YY_MORE_ADJ )
1317  {
1318  ret_val = EOB_ACT_END_OF_FILE;
1319  yyrestart( yyin );
1320  }
1321 
1322  else
1323  {
1324  ret_val = EOB_ACT_LAST_MATCH;
1325  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1327  }
1328  }
1329 
1330  else
1331  ret_val = EOB_ACT_CONTINUE_SCAN;
1332 
1333  if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1334  /* Extend the array by 50%, plus the number we really need. */
1335  int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1336  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1337  (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
1338  if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1339  YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1340  /* "- 2" to take care of EOB's */
1341  YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1342  }
1343 
1344  (yy_n_chars) += number_to_move;
1345  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1346  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1347 
1348  (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1349 
1350  return ret_val;
1351 }
1352 
1353 /* yy_get_previous_state - get the state just before the EOB char was reached */
1354 
1355  static yy_state_type yy_get_previous_state (void)
1356 {
1357  yy_state_type yy_current_state;
1358  char *yy_cp;
1359 
1360  yy_current_state = (yy_start);
1361  yy_current_state += YY_AT_BOL();
1362 
1363  for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1364  {
1365  YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1366  if ( yy_accept[yy_current_state] )
1367  {
1368  (yy_last_accepting_state) = yy_current_state;
1369  (yy_last_accepting_cpos) = yy_cp;
1370  }
1371  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1372  {
1373  yy_current_state = (int) yy_def[yy_current_state];
1374  if ( yy_current_state >= 32 )
1375  yy_c = yy_meta[yy_c];
1376  }
1377  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1378  }
1379 
1380  return yy_current_state;
1381 }
1382 
1383 /* yy_try_NUL_trans - try to make a transition on the NUL character
1384  *
1385  * synopsis
1386  * next_state = yy_try_NUL_trans( current_state );
1387  */
1388  static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1389 {
1390  int yy_is_jam;
1391  char *yy_cp = (yy_c_buf_p);
1392 
1393  YY_CHAR yy_c = 1;
1394  if ( yy_accept[yy_current_state] )
1395  {
1396  (yy_last_accepting_state) = yy_current_state;
1397  (yy_last_accepting_cpos) = yy_cp;
1398  }
1399  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1400  {
1401  yy_current_state = (int) yy_def[yy_current_state];
1402  if ( yy_current_state >= 32 )
1403  yy_c = yy_meta[yy_c];
1404  }
1405  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1406  yy_is_jam = (yy_current_state == 31);
1407 
1408  return yy_is_jam ? 0 : yy_current_state;
1409 }
1410 
1411 #ifndef YY_NO_UNPUT
1412 
1413 #endif
1414 
1415 #ifndef YY_NO_INPUT
1416 #ifdef __cplusplus
1417  static int yyinput (void)
1418 #else
1419  static int input (void)
1420 #endif
1421 
1422 {
1423  int c;
1424 
1425  *(yy_c_buf_p) = (yy_hold_char);
1426 
1427  if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1428  {
1429  /* yy_c_buf_p now points to the character we want to return.
1430  * If this occurs *before* the EOB characters, then it's a
1431  * valid NUL; if not, then we've hit the end of the buffer.
1432  */
1433  if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1434  /* This was really a NUL. */
1435  *(yy_c_buf_p) = '\0';
1436 
1437  else
1438  { /* need more input */
1439  int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
1440  ++(yy_c_buf_p);
1441 
1442  switch ( yy_get_next_buffer( ) )
1443  {
1444  case EOB_ACT_LAST_MATCH:
1445  /* This happens because yy_g_n_b()
1446  * sees that we've accumulated a
1447  * token and flags that we need to
1448  * try matching the token before
1449  * proceeding. But for input(),
1450  * there's no matching to consider.
1451  * So convert the EOB_ACT_LAST_MATCH
1452  * to EOB_ACT_END_OF_FILE.
1453  */
1454 
1455  /* Reset buffer status. */
1456  yyrestart( yyin );
1457 
1458  /*FALLTHROUGH*/
1459 
1460  case EOB_ACT_END_OF_FILE:
1461  {
1462  if ( yywrap( ) )
1463  return 0;
1464 
1465  if ( ! (yy_did_buffer_switch_on_eof) )
1466  YY_NEW_FILE;
1467 #ifdef __cplusplus
1468  return yyinput();
1469 #else
1470  return input();
1471 #endif
1472  }
1473 
1474  case EOB_ACT_CONTINUE_SCAN:
1475  (yy_c_buf_p) = (yytext_ptr) + offset;
1476  break;
1477  }
1478  }
1479  }
1480 
1481  c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1482  *(yy_c_buf_p) = '\0'; /* preserve yytext */
1483  (yy_hold_char) = *++(yy_c_buf_p);
1484 
1485  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
1486 
1487  return c;
1488 }
1489 #endif /* ifndef YY_NO_INPUT */
1490 
1496  void yyrestart (FILE * input_file )
1497 {
1498 
1499  if ( ! YY_CURRENT_BUFFER ){
1503  }
1504 
1505  yy_init_buffer( YY_CURRENT_BUFFER, input_file );
1507 }
1508 
1513  void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1514 {
1515 
1516  /* TODO. We should be able to replace this entire function body
1517  * with
1518  * yypop_buffer_state();
1519  * yypush_buffer_state(new_buffer);
1520  */
1522  if ( YY_CURRENT_BUFFER == new_buffer )
1523  return;
1524 
1525  if ( YY_CURRENT_BUFFER )
1526  {
1527  /* Flush out information for old buffer. */
1528  *(yy_c_buf_p) = (yy_hold_char);
1529  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1530  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1531  }
1532 
1533  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1535 
1536  /* We don't actually know whether we did this switch during
1537  * EOF (yywrap()) processing, but the only time this flag
1538  * is looked at is after yywrap() is called, so it's safe
1539  * to go ahead and always set it.
1540  */
1541  (yy_did_buffer_switch_on_eof) = 1;
1542 }
1543 
1544 static void yy_load_buffer_state (void)
1545 {
1546  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1547  (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1548  yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1549  (yy_hold_char) = *(yy_c_buf_p);
1550 }
1551 
1558  YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1559 {
1560  YY_BUFFER_STATE b;
1561 
1562  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
1563  if ( ! b )
1564  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1565 
1566  b->yy_buf_size = size;
1567 
1568  /* yy_ch_buf has to be 2 characters longer than the size given because
1569  * we need to put in 2 end-of-buffer characters.
1570  */
1571  b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
1572  if ( ! b->yy_ch_buf )
1573  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1574 
1575  b->yy_is_our_buffer = 1;
1576 
1577  yy_init_buffer( b, file );
1578 
1579  return b;
1580 }
1581 
1587 {
1588 
1589  if ( ! b )
1590  return;
1591 
1592  if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1594 
1595  if ( b->yy_is_our_buffer )
1596  yyfree( (void *) b->yy_ch_buf );
1597 
1598  yyfree( (void *) b );
1599 }
1600 
1601 /* Initializes or reinitializes a buffer.
1602  * This function is sometimes called more than once on the same buffer,
1603  * such as during a yyrestart() or at EOF.
1604  */
1605  static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
1606 
1607 {
1608  int oerrno = errno;
1609 
1610  yy_flush_buffer( b );
1611 
1612  b->yy_input_file = file;
1613  b->yy_fill_buffer = 1;
1614 
1615  /* If b is the current buffer, then yy_init_buffer was _probably_
1616  * called from yyrestart() or through yy_get_next_buffer.
1617  * In that case, we don't want to reset the lineno or column.
1618  */
1619  if (b != YY_CURRENT_BUFFER){
1620  b->yy_bs_lineno = 1;
1621  b->yy_bs_column = 0;
1622  }
1623 
1624  b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1625 
1626  errno = oerrno;
1627 }
1628 
1634 {
1635  if ( ! b )
1636  return;
1637 
1638  b->yy_n_chars = 0;
1639 
1640  /* We always need two end-of-buffer characters. The first causes
1641  * a transition to the end-of-buffer state. The second causes
1642  * a jam in that state.
1643  */
1646 
1647  b->yy_buf_pos = &b->yy_ch_buf[0];
1648 
1649  b->yy_at_bol = 1;
1651 
1652  if ( b == YY_CURRENT_BUFFER )
1654 }
1655 
1662 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1663 {
1664  if (new_buffer == NULL)
1665  return;
1666 
1668 
1669  /* This block is copied from yy_switch_to_buffer. */
1670  if ( YY_CURRENT_BUFFER )
1671  {
1672  /* Flush out information for old buffer. */
1673  *(yy_c_buf_p) = (yy_hold_char);
1674  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1675  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1676  }
1677 
1678  /* Only push if top exists. Otherwise, replace top. */
1679  if (YY_CURRENT_BUFFER)
1680  (yy_buffer_stack_top)++;
1681  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1682 
1683  /* copied from yy_switch_to_buffer. */
1685  (yy_did_buffer_switch_on_eof) = 1;
1686 }
1687 
1692 void yypop_buffer_state (void)
1693 {
1694  if (!YY_CURRENT_BUFFER)
1695  return;
1696 
1699  if ((yy_buffer_stack_top) > 0)
1700  --(yy_buffer_stack_top);
1701 
1702  if (YY_CURRENT_BUFFER) {
1704  (yy_did_buffer_switch_on_eof) = 1;
1705  }
1706 }
1707 
1708 /* Allocates the stack if it does not exist.
1709  * Guarantees space for at least one push.
1710  */
1711 static void yyensure_buffer_stack (void)
1712 {
1713  yy_size_t num_to_alloc;
1714 
1715  if (!(yy_buffer_stack)) {
1716 
1717  /* First allocation is just for 2 elements, since we don't know if this
1718  * scanner will even need a stack. We use 2 instead of 1 to avoid an
1719  * immediate realloc on the next call.
1720  */
1721  num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
1722  (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1723  (num_to_alloc * sizeof(struct yy_buffer_state*)
1724  );
1725  if ( ! (yy_buffer_stack) )
1726  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1727 
1728  memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1729 
1730  (yy_buffer_stack_max) = num_to_alloc;
1731  (yy_buffer_stack_top) = 0;
1732  return;
1733  }
1734 
1735  if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1736 
1737  /* Increase the buffer to prepare for a possible push. */
1738  yy_size_t grow_size = 8 /* arbitrary grow size */;
1739 
1740  num_to_alloc = (yy_buffer_stack_max) + grow_size;
1741  (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1742  ((yy_buffer_stack),
1743  num_to_alloc * sizeof(struct yy_buffer_state*)
1744  );
1745  if ( ! (yy_buffer_stack) )
1746  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1747 
1748  /* zero only the new slots.*/
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;
1751  }
1752 }
1753 
1760 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
1761 {
1762  YY_BUFFER_STATE b;
1763 
1764  if ( size < 2 ||
1765  base[size-2] != YY_END_OF_BUFFER_CHAR ||
1766  base[size-1] != YY_END_OF_BUFFER_CHAR )
1767  /* They forgot to leave room for the EOB's. */
1768  return NULL;
1769 
1770  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
1771  if ( ! b )
1772  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
1773 
1774  b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
1775  b->yy_buf_pos = b->yy_ch_buf = base;
1776  b->yy_is_our_buffer = 0;
1777  b->yy_input_file = NULL;
1778  b->yy_n_chars = b->yy_buf_size;
1779  b->yy_is_interactive = 0;
1780  b->yy_at_bol = 1;
1781  b->yy_fill_buffer = 0;
1783 
1784  yy_switch_to_buffer( b );
1785 
1786  return b;
1787 }
1788 
1797 YY_BUFFER_STATE yy_scan_string (const char * yystr )
1798 {
1799 
1800  return yy_scan_bytes( yystr, (int) strlen(yystr) );
1801 }
1802 
1810 YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
1811 {
1812  YY_BUFFER_STATE b;
1813  char *buf;
1814  yy_size_t n;
1815  int i;
1816 
1817  /* Get memory for full buffer, including space for trailing EOB's. */
1818  n = (yy_size_t) (_yybytes_len + 2);
1819  buf = (char *) yyalloc( n );
1820  if ( ! buf )
1821  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
1822 
1823  for ( i = 0; i < _yybytes_len; ++i )
1824  buf[i] = yybytes[i];
1825 
1826  buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
1827 
1828  b = yy_scan_buffer( buf, n );
1829  if ( ! b )
1830  YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
1831 
1832  /* It's okay to grow etc. this buffer, and we should throw it
1833  * away when we're done.
1834  */
1835  b->yy_is_our_buffer = 1;
1836 
1837  return b;
1838 }
1839 
1840 #ifndef YY_EXIT_FAILURE
1841 #define YY_EXIT_FAILURE 2
1842 #endif
1843 
1844 static void yynoreturn yy_fatal_error (const char* msg )
1845 {
1846  fprintf( stderr, "%s\n", msg );
1847  exit( YY_EXIT_FAILURE );
1848 }
1849 
1850 /* Redefine yyless() so it works in section 3 code. */
1851 
1852 #undef yyless
1853 #define yyless(n) \
1854  do \
1855  { \
1856  /* Undo effects of setting up yytext. */ \
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; \
1864  } \
1865  while ( 0 )
1866 
1867 /* Accessor methods (get/set functions) to struct members. */
1868 
1872 int yyget_lineno (void)
1873 {
1874 
1875  return yylineno;
1876 }
1877 
1881 FILE *yyget_in (void)
1882 {
1883  return yyin;
1884 }
1885 
1889 FILE *yyget_out (void)
1890 {
1891  return yyout;
1892 }
1893 
1897 int yyget_leng (void)
1898 {
1899  return yyleng;
1900 }
1901 
1906 char *yyget_text (void)
1907 {
1908  return yytext;
1909 }
1910 
1915 void yyset_lineno (int _line_number )
1916 {
1917 
1918  yylineno = _line_number;
1919 }
1920 
1927 void yyset_in (FILE * _in_str )
1928 {
1929  yyin = _in_str ;
1930 }
1931 
1932 void yyset_out (FILE * _out_str )
1933 {
1934  yyout = _out_str ;
1935 }
1936 
1937 int yyget_debug (void)
1938 {
1939  return yy_flex_debug;
1940 }
1941 
1942 void yyset_debug (int _bdebug )
1943 {
1944  yy_flex_debug = _bdebug ;
1945 }
1946 
1947 static int yy_init_globals (void)
1948 {
1949  /* Initialization is the same as for the non-reentrant scanner.
1950  * This function is called from yylex_destroy(), so don't allocate here.
1951  */
1952 
1953  (yy_buffer_stack) = NULL;
1954  (yy_buffer_stack_top) = 0;
1955  (yy_buffer_stack_max) = 0;
1956  (yy_c_buf_p) = NULL;
1957  (yy_init) = 0;
1958  (yy_start) = 0;
1959 
1960 /* Defined in main.c */
1961 #ifdef YY_STDINIT
1962  yyin = stdin;
1963  yyout = stdout;
1964 #else
1965  yyin = NULL;
1966  yyout = NULL;
1967 #endif
1968 
1969  /* For future reference: Set errno on error, since we are called by
1970  * yylex_init()
1971  */
1972  return 0;
1973 }
1974 
1975 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
1976 int yylex_destroy (void)
1977 {
1978 
1979  /* Pop the buffer stack, destroying each element. */
1980  while(YY_CURRENT_BUFFER){
1984  }
1985 
1986  /* Destroy the stack itself. */
1987  yyfree((yy_buffer_stack) );
1988  (yy_buffer_stack) = NULL;
1989 
1990  /* Reset the globals. This is important in a non-reentrant scanner so the next time
1991  * yylex() is called, initialization will occur. */
1992  yy_init_globals( );
1993 
1994  return 0;
1995 }
1996 
1997 /*
1998  * Internal utility routines.
1999  */
2000 
2001 #ifndef yytext_ptr
2002 static void yy_flex_strncpy (char* s1, const char * s2, int n )
2003 {
2004 
2005  int i;
2006  for ( i = 0; i < n; ++i )
2007  s1[i] = s2[i];
2008 }
2009 #endif
2010 
2011 #ifdef YY_NEED_STRLEN
2012 static int yy_flex_strlen (const char * s )
2013 {
2014  int n;
2015  for ( n = 0; s[n]; ++n )
2016  ;
2017 
2018  return n;
2019 }
2020 #endif
2021 
2022 void *yyalloc (yy_size_t size )
2023 {
2024  return malloc(size);
2025 }
2026 
2027 void *yyrealloc (void * ptr, yy_size_t size )
2028 {
2029 
2030  /* The cast to (char *) in the following accommodates both
2031  * implementations that use char* generic pointers, and those
2032  * that use void* generic pointers. It works with the latter
2033  * because both ANSI C and C++ allow castless assignment from
2034  * any pointer type to void*, and deal with argument conversions
2035  * as though doing an assignment.
2036  */
2037  return realloc(ptr, size);
2038 }
2039 
2040 void yyfree (void * ptr )
2041 {
2042  free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2043 }
2044 
2045 #define YYTABLES_NAME "yytables"
2046 
2047 #line 53 "../src/common/hecmw_gflex.l"
2048 
2049 
2050 int
2052 {
2053  return lineno;
2054 }
2055 
2056 
2057 double
2059 {
2060  return yylval.dval;
2061 }
2062 
2063 
2064 char *
2066 {
2067  return yytext;
2068 }
2069 
2070 
2071 int
2073 {
2074  return yylex();
2075 }
2076 
2077 
2078 int
2079 HECMW_gflex_next_token_skip(int skip_token)
2080 {
2081  int token;
2082  while((token = yylex())) {
2083  if(token != skip_token) break;
2084  }
2085  return token;
2086 }
2087 
2088 
2089 long
2090 HECMW_gflex_readsize(void)
2091 {
2092  return len;
2093 }
2094 
2095 
2096 int
2097 HECMW_gflex_set_input(FILE *fp)
2098 {
2099  static int first = 1;
2100  if(fp == NULL) return -1;
2101  if(first) {
2102  yyin = fp;
2103  first = 0;
2104  } else {
2105  yyrestart(fp);
2106  }
2107  lineno = 1;
2108  len = 0;
2109  return 0;
2110 }
2111 
2112 
2113 int
2115 {
2116  int token;
2117  while((token = HECMW_gflex_next_token())) {
2118  if(token == HECMW_GFLEX_NL) break;
2119  }
2120  return token;
2121 }
2122 
2123 
2124 int
2125 HECMW_gfwrap(void)
2126 {
2127  return 1;
2128 }
2129 
2130 
2131 
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_ablex.c:312
YY_BUF_SIZE
#define YY_BUF_SIZE
Definition: hecmw_gflex.c:398
YY_SC_TO_UI
#define YY_SC_TO_UI(c)
Definition: hecmw_gflex.c:370
yy_size_t
size_t yy_size_t
Definition: hecmw_gflex.c:413
yyset_in
#define yyset_in
Definition: hecmw_gflex.c:176
YY_STATE_EOF
#define YY_STATE_EOF(state)
Definition: hecmw_gflex.c:384
yy_create_buffer
#define yy_create_buffer
Definition: hecmw_gflex.c:8
HECMW_gflex_next_token_skip
int HECMW_gflex_next_token_skip(int skip_token)
yy_trans_info
Definition: hecmw_ablex.c:617
YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg)
Definition: hecmw_gflex.c:885
YY_INPUT
#define YY_INPUT(buf, result, max_size)
Definition: hecmw_gflex.c:838
EOB_ACT_END_OF_FILE
#define EOB_ACT_END_OF_FILE
Definition: hecmw_gflex.c:421
yy_buffer_state::yy_input_file
FILE * yy_input_file
Definition: hecmw_ablex.c:446
yyget_in
#define yyget_in
Definition: hecmw_gflex.c:170
yypop_buffer_state
#define yypop_buffer_state
Definition: hecmw_gflex.c:18
yyset_out
#define yyset_out
Definition: hecmw_gflex.c:188
yy_buffer_state
Definition: hecmw_ablex.c:444
ECHO
#define ECHO
Definition: hecmw_gflex.c:831
EOB_ACT_CONTINUE_SCAN
#define EOB_ACT_CONTINUE_SCAN
Definition: hecmw_gflex.c:420
flex_uint32_t
unsigned int flex_uint32_t
Definition: hecmw_gflex.c:314
yyget_out
#define yyget_out
Definition: hecmw_gflex.c:182
yy_init_buffer
#define yy_init_buffer
Definition: hecmw_gflex.c:13
yywrap
#define yywrap
Definition: hecmw_gflex.c:28
YY_RULE_SETUP
#define YY_RULE_SETUP
Definition: hecmw_gflex.c:913
YY_BUFFER_STATE
struct yy_buffer_state * YY_BUFFER_STATE
Definition: hecmw_gflex.c:408
YY_NEW_FILE
#define YY_NEW_FILE
Definition: hecmw_gflex.c:386
YY_DO_BEFORE_ACTION
#define YY_DO_BEFORE_ACTION
Definition: hecmw_gflex.c:607
yy_buffer_state::yy_at_bol
int yy_at_bol
Definition: hecmw_ablex.c:478
YY_END_OF_BUFFER
#define YY_END_OF_BUFFER
Definition: hecmw_gflex.c:614
yy_load_buffer_state
#define yy_load_buffer_state
Definition: hecmw_gflex.c:15
flex_int16_t
short int flex_int16_t
Definition: hecmw_gflex.c:310
yy_scan_buffer
#define yy_scan_buffer
Definition: hecmw_gflex.c:10
HECMW_GFLEX_INT
@ HECMW_GFLEX_INT
Definition: hecmw_gflex.h:16
yytext
#define yytext
Definition: hecmw_gflex.c:27
YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER
Definition: hecmw_gflex.c:518
yy_buffer_state::yy_is_our_buffer
int yy_is_our_buffer
Definition: hecmw_ablex.c:465
yy_switch_to_buffer
#define yy_switch_to_buffer
Definition: hecmw_gflex.c:16
yy_bp
char * yy_bp
Definition: hecmw_gflex.c:924
yyrealloc
#define yyrealloc
Definition: hecmw_gflex.c:30
yyset_extra
#define yyset_extra
Definition: hecmw_gflex.c:164
YYSTYPE
Definition: hecmw_ablex.c:1613
yy_cp
char * yy_cp
Definition: hecmw_gflex.c:924
YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE
Definition: hecmw_gflex.c:822
YY_BUFFER_NORMAL
#define YY_BUFFER_NORMAL
Definition: hecmw_gflex.c:491
yyget_text
#define yyget_text
Definition: hecmw_gflex.c:200
yyout
#define yyout
Definition: hecmw_gflex.c:25
yy_flex_debug
#define yy_flex_debug
Definition: hecmw_gflex.c:20
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_ablex.c:584
YY_BUFFER_NEW
#define YY_BUFFER_NEW
Definition: hecmw_gflex.c:490
yypush_buffer_state
#define yypush_buffer_state
Definition: hecmw_gflex.c:17
YY_EXIT_FAILURE
#define YY_EXIT_FAILURE
HECMW_GFLEX_NAME
@ HECMW_GFLEX_NAME
Definition: hecmw_gflex.h:18
yy_buffer_state::yy_fill_buffer
int yy_fill_buffer
Definition: hecmw_ablex.c:486
flex_int8_t
signed char flex_int8_t
Definition: hecmw_gflex.c:309
HECMW_gflex_set_input
int HECMW_gflex_set_input(FILE *fp)
yyget_leng
#define yyget_leng
Definition: hecmw_gflex.c:194
yyrestart
#define yyrestart
Definition: hecmw_gflex.c:26
YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER_LVALUE
Definition: hecmw_gflex.c:524
yynoreturn
#define yynoreturn
Definition: hecmw_gflex.c:361
yy_buffer_state::yy_buf_size
int yy_buf_size
Definition: hecmw_ablex.c:454
yy_buffer_state::yy_ch_buf
char * yy_ch_buf
Definition: hecmw_ablex.c:448
yy_state_type
int yy_state_type
Definition: hecmw_ablex.c:588
yyin
#define yyin
Definition: hecmw_gflex.c:21
YY_BUFFER_EOF_PENDING
#define YY_BUFFER_EOF_PENDING
Definition: hecmw_gflex.c:502
yyensure_buffer_stack
#define yyensure_buffer_stack
Definition: hecmw_gflex.c:19
HECMW_gflex_skip_line
int HECMW_gflex_skip_line(void)
yytext_ptr
#define yytext_ptr
Definition: hecmw_gflex.c:597
YYSTYPE::str
char * str
Definition: hecmw_ablex.c:1615
YYSTYPE::dval
double dval
Definition: hecmw_ablex.c:1614
yylex
#define yylex
Definition: hecmw_gflex.c:23
YY_START
#define YY_START
Definition: hecmw_gflex.c:381
HECMW_gflex_get_text
char * HECMW_gflex_get_text(void)
HECMW_GFLEX_DOUBLE
@ HECMW_GFLEX_DOUBLE
Definition: hecmw_gflex.h:17
YY_DECL
#define YY_DECL
Definition: hecmw_gflex.c:898
yyget_extra
#define yyget_extra
Definition: hecmw_gflex.c:158
yylex_destroy
#define yylex_destroy
Definition: hecmw_gflex.c:140
INITIAL
#define INITIAL
Definition: hecmw_gflex.c:738
flex_uint16_t
unsigned short int flex_uint16_t
Definition: hecmw_gflex.c:313
yy_buffer_state::yy_buffer_status
int yy_buffer_status
Definition: hecmw_ablex.c:488
yy_buffer_state::yy_buf_pos
char * yy_buf_pos
Definition: hecmw_ablex.c:449
YY_BREAK
#define YY_BREAK
Definition: hecmw_gflex.c:910
yy_trans_info::yy_nxt
flex_int32_t yy_nxt
Definition: hecmw_ablex.c:620
HECMW_GFLEX_NL
@ HECMW_GFLEX_NL
Definition: hecmw_gflex.h:15
yy_trans_info::yy_verify
flex_int32_t yy_verify
Definition: hecmw_ablex.c:619
yy_delete_buffer
#define yy_delete_buffer
Definition: hecmw_gflex.c:9
yy_buffer_state::yy_bs_column
int yy_bs_column
Definition: hecmw_ablex.c:481
flex_int16_t
short int flex_int16_t
Definition: hecmw_ablex.c:310
yy_buffer_state::yy_n_chars
int yy_n_chars
Definition: hecmw_ablex.c:459
HECMW_gflex_get_number
double HECMW_gflex_get_number(void)
yyset_lineno
#define yyset_lineno
Definition: hecmw_gflex.c:212
yy_buffer_state::yy_is_interactive
int yy_is_interactive
Definition: hecmw_ablex.c:472
yy_state_type
int yy_state_type
Definition: hecmw_gflex.c:588
YY_AT_BOL
#define YY_AT_BOL()
Definition: hecmw_gflex.c:581
yylineno
#define yylineno
Definition: hecmw_gflex.c:24
HECMW_gflex_get_lineno
int HECMW_gflex_get_lineno(void)
yyleng
#define yyleng
Definition: hecmw_gflex.c:22
yy_size_t
size_t yy_size_t
Definition: hecmw_ablex.c:413
YY_END_OF_BUFFER_CHAR
#define YY_END_OF_BUFFER_CHAR
Definition: hecmw_gflex.c:387
yy_flush_buffer
#define yy_flush_buffer
Definition: hecmw_gflex.c:14
EOB_ACT_LAST_MATCH
#define EOB_ACT_LAST_MATCH
Definition: hecmw_gflex.c:422
flex_int32_t
int flex_int32_t
Definition: hecmw_ablex.c:311
YY_EXTRA_TYPE
#define YY_EXTRA_TYPE
Definition: hecmw_gflex.c:749
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_gflex.c:584
yyset_debug
#define yyset_debug
Definition: hecmw_gflex.c:152
yyfree
#define yyfree
Definition: hecmw_gflex.c:31
YY_MORE_ADJ
#define YY_MORE_ADJ
Definition: hecmw_gflex.c:717
NULL
#define NULL
Definition: hecmw_io_nastran.c:30
yyalloc
#define yyalloc
Definition: hecmw_gflex.c:29
flex_int32_t
int flex_int32_t
Definition: hecmw_gflex.c:311
yy_act
int yy_act
Definition: hecmw_gflex.c:925
YY_RESTORE_YY_MORE_OFFSET
#define YY_RESTORE_YY_MORE_OFFSET
Definition: hecmw_gflex.c:718
yy_scan_bytes
#define yy_scan_bytes
Definition: hecmw_gflex.c:12
yy_scan_string
#define yy_scan_string
Definition: hecmw_gflex.c:11
HECMW_gflex_next_token
int HECMW_gflex_next_token(void)
yyget_debug
#define yyget_debug
Definition: hecmw_gflex.c:146
hecmw_util.h
yy_buffer_state::yy_bs_lineno
int yy_bs_lineno
Definition: hecmw_ablex.c:480
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_gflex.c:312
hecmw_gflex.h
yyget_lineno
#define yyget_lineno
Definition: hecmw_gflex.c:206