FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_ctrllex.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_ctrl_create_buffer
9 #define yy_delete_buffer HECMW_ctrl_delete_buffer
10 #define yy_scan_buffer HECMW_ctrl_scan_buffer
11 #define yy_scan_string HECMW_ctrl_scan_string
12 #define yy_scan_bytes HECMW_ctrl_scan_bytes
13 #define yy_init_buffer HECMW_ctrl_init_buffer
14 #define yy_flush_buffer HECMW_ctrl_flush_buffer
15 #define yy_load_buffer_state HECMW_ctrl_load_buffer_state
16 #define yy_switch_to_buffer HECMW_ctrl_switch_to_buffer
17 #define yypush_buffer_state HECMW_ctrlpush_buffer_state
18 #define yypop_buffer_state HECMW_ctrlpop_buffer_state
19 #define yyensure_buffer_stack HECMW_ctrlensure_buffer_stack
20 #define yy_flex_debug HECMW_ctrl_flex_debug
21 #define yyin HECMW_ctrlin
22 #define yyleng HECMW_ctrlleng
23 #define yylex HECMW_ctrllex
24 #define yylineno HECMW_ctrllineno
25 #define yyout HECMW_ctrlout
26 #define yyrestart HECMW_ctrlrestart
27 #define yytext HECMW_ctrltext
28 #define yywrap HECMW_ctrlwrap
29 #define yyalloc HECMW_ctrlalloc
30 #define yyrealloc HECMW_ctrlrealloc
31 #define yyfree HECMW_ctrlfree
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_ctrl_create_buffer_ALREADY_DEFINED
43 #else
44 #define yy_create_buffer HECMW_ctrl_create_buffer
45 #endif
46 
47 #ifdef yy_delete_buffer
48 #define HECMW_ctrl_delete_buffer_ALREADY_DEFINED
49 #else
50 #define yy_delete_buffer HECMW_ctrl_delete_buffer
51 #endif
52 
53 #ifdef yy_scan_buffer
54 #define HECMW_ctrl_scan_buffer_ALREADY_DEFINED
55 #else
56 #define yy_scan_buffer HECMW_ctrl_scan_buffer
57 #endif
58 
59 #ifdef yy_scan_string
60 #define HECMW_ctrl_scan_string_ALREADY_DEFINED
61 #else
62 #define yy_scan_string HECMW_ctrl_scan_string
63 #endif
64 
65 #ifdef yy_scan_bytes
66 #define HECMW_ctrl_scan_bytes_ALREADY_DEFINED
67 #else
68 #define yy_scan_bytes HECMW_ctrl_scan_bytes
69 #endif
70 
71 #ifdef yy_init_buffer
72 #define HECMW_ctrl_init_buffer_ALREADY_DEFINED
73 #else
74 #define yy_init_buffer HECMW_ctrl_init_buffer
75 #endif
76 
77 #ifdef yy_flush_buffer
78 #define HECMW_ctrl_flush_buffer_ALREADY_DEFINED
79 #else
80 #define yy_flush_buffer HECMW_ctrl_flush_buffer
81 #endif
82 
83 #ifdef yy_load_buffer_state
84 #define HECMW_ctrl_load_buffer_state_ALREADY_DEFINED
85 #else
86 #define yy_load_buffer_state HECMW_ctrl_load_buffer_state
87 #endif
88 
89 #ifdef yy_switch_to_buffer
90 #define HECMW_ctrl_switch_to_buffer_ALREADY_DEFINED
91 #else
92 #define yy_switch_to_buffer HECMW_ctrl_switch_to_buffer
93 #endif
94 
95 #ifdef yypush_buffer_state
96 #define HECMW_ctrlpush_buffer_state_ALREADY_DEFINED
97 #else
98 #define yypush_buffer_state HECMW_ctrlpush_buffer_state
99 #endif
100 
101 #ifdef yypop_buffer_state
102 #define HECMW_ctrlpop_buffer_state_ALREADY_DEFINED
103 #else
104 #define yypop_buffer_state HECMW_ctrlpop_buffer_state
105 #endif
106 
107 #ifdef yyensure_buffer_stack
108 #define HECMW_ctrlensure_buffer_stack_ALREADY_DEFINED
109 #else
110 #define yyensure_buffer_stack HECMW_ctrlensure_buffer_stack
111 #endif
112 
113 #ifdef yylex
114 #define HECMW_ctrllex_ALREADY_DEFINED
115 #else
116 #define yylex HECMW_ctrllex
117 #endif
118 
119 #ifdef yyrestart
120 #define HECMW_ctrlrestart_ALREADY_DEFINED
121 #else
122 #define yyrestart HECMW_ctrlrestart
123 #endif
124 
125 #ifdef yylex_init
126 #define HECMW_ctrllex_init_ALREADY_DEFINED
127 #else
128 #define yylex_init HECMW_ctrllex_init
129 #endif
130 
131 #ifdef yylex_init_extra
132 #define HECMW_ctrllex_init_extra_ALREADY_DEFINED
133 #else
134 #define yylex_init_extra HECMW_ctrllex_init_extra
135 #endif
136 
137 #ifdef yylex_destroy
138 #define HECMW_ctrllex_destroy_ALREADY_DEFINED
139 #else
140 #define yylex_destroy HECMW_ctrllex_destroy
141 #endif
142 
143 #ifdef yyget_debug
144 #define HECMW_ctrlget_debug_ALREADY_DEFINED
145 #else
146 #define yyget_debug HECMW_ctrlget_debug
147 #endif
148 
149 #ifdef yyset_debug
150 #define HECMW_ctrlset_debug_ALREADY_DEFINED
151 #else
152 #define yyset_debug HECMW_ctrlset_debug
153 #endif
154 
155 #ifdef yyget_extra
156 #define HECMW_ctrlget_extra_ALREADY_DEFINED
157 #else
158 #define yyget_extra HECMW_ctrlget_extra
159 #endif
160 
161 #ifdef yyset_extra
162 #define HECMW_ctrlset_extra_ALREADY_DEFINED
163 #else
164 #define yyset_extra HECMW_ctrlset_extra
165 #endif
166 
167 #ifdef yyget_in
168 #define HECMW_ctrlget_in_ALREADY_DEFINED
169 #else
170 #define yyget_in HECMW_ctrlget_in
171 #endif
172 
173 #ifdef yyset_in
174 #define HECMW_ctrlset_in_ALREADY_DEFINED
175 #else
176 #define yyset_in HECMW_ctrlset_in
177 #endif
178 
179 #ifdef yyget_out
180 #define HECMW_ctrlget_out_ALREADY_DEFINED
181 #else
182 #define yyget_out HECMW_ctrlget_out
183 #endif
184 
185 #ifdef yyset_out
186 #define HECMW_ctrlset_out_ALREADY_DEFINED
187 #else
188 #define yyset_out HECMW_ctrlset_out
189 #endif
190 
191 #ifdef yyget_leng
192 #define HECMW_ctrlget_leng_ALREADY_DEFINED
193 #else
194 #define yyget_leng HECMW_ctrlget_leng
195 #endif
196 
197 #ifdef yyget_text
198 #define HECMW_ctrlget_text_ALREADY_DEFINED
199 #else
200 #define yyget_text HECMW_ctrlget_text
201 #endif
202 
203 #ifdef yyget_lineno
204 #define HECMW_ctrlget_lineno_ALREADY_DEFINED
205 #else
206 #define yyget_lineno HECMW_ctrlget_lineno
207 #endif
208 
209 #ifdef yyset_lineno
210 #define HECMW_ctrlset_lineno_ALREADY_DEFINED
211 #else
212 #define yyset_lineno HECMW_ctrlset_lineno
213 #endif
214 
215 #ifdef yywrap
216 #define HECMW_ctrlwrap_ALREADY_DEFINED
217 #else
218 #define yywrap HECMW_ctrlwrap
219 #endif
220 
221 #ifdef yyalloc
222 #define HECMW_ctrlalloc_ALREADY_DEFINED
223 #else
224 #define yyalloc HECMW_ctrlalloc
225 #endif
226 
227 #ifdef yyrealloc
228 #define HECMW_ctrlrealloc_ALREADY_DEFINED
229 #else
230 #define yyrealloc HECMW_ctrlrealloc
231 #endif
232 
233 #ifdef yyfree
234 #define HECMW_ctrlfree_ALREADY_DEFINED
235 #else
236 #define yyfree HECMW_ctrlfree
237 #endif
238 
239 #ifdef yytext
240 #define HECMW_ctrltext_ALREADY_DEFINED
241 #else
242 #define yytext HECMW_ctrltext
243 #endif
244 
245 #ifdef yyleng
246 #define HECMW_ctrlleng_ALREADY_DEFINED
247 #else
248 #define yyleng HECMW_ctrlleng
249 #endif
250 
251 #ifdef yyin
252 #define HECMW_ctrlin_ALREADY_DEFINED
253 #else
254 #define yyin HECMW_ctrlin
255 #endif
256 
257 #ifdef yyout
258 #define HECMW_ctrlout_ALREADY_DEFINED
259 #else
260 #define yyout HECMW_ctrlout
261 #endif
262 
263 #ifdef yy_flex_debug
264 #define HECMW_ctrl_flex_debug_ALREADY_DEFINED
265 #else
266 #define yy_flex_debug HECMW_ctrl_flex_debug
267 #endif
268 
269 #ifdef yylineno
270 #define HECMW_ctrllineno_ALREADY_DEFINED
271 #else
272 #define yylineno HECMW_ctrllineno
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 40
614 #define YY_END_OF_BUFFER 41
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[189] =
623  { 0,
624  0, 0, 41, 39, 2, 3, 39, 39, 39, 34,
625  38, 38, 38, 35, 33, 37, 37, 37, 37, 37,
626  37, 37, 37, 37, 37, 37, 37, 37, 39, 39,
627  2, 3, 0, 0, 0, 0, 0, 35, 38, 38,
628  35, 36, 36, 35, 38, 37, 0, 37, 37, 37,
629  37, 37, 22, 24, 37, 37, 37, 28, 37, 37,
630  37, 0, 0, 0, 0, 0, 0, 1, 0, 0,
631  0, 0, 0, 36, 36, 35, 0, 36, 36, 0,
632  38, 36, 38, 37, 17, 37, 37, 37, 37, 37,
633  37, 37, 29, 30, 37, 37, 0, 0, 0, 0,
634 
635  0, 0, 0, 0, 36, 36, 36, 37, 37, 37,
636  37, 37, 37, 26, 37, 37, 32, 0, 0, 0,
637  0, 0, 7, 0, 0, 0, 37, 18, 37, 37,
638  23, 25, 37, 37, 0, 6, 0, 0, 0, 0,
639  0, 0, 0, 0, 0, 16, 19, 37, 37, 31,
640  0, 0, 0, 0, 0, 0, 0, 0, 0, 11,
641  15, 37, 37, 27, 0, 0, 0, 10, 14, 5,
642  0, 13, 37, 37, 4, 0, 12, 0, 37, 37,
643  0, 9, 20, 37, 8, 37, 21, 0
644  } ;
645 
646 static const YY_CHAR yy_ec[256] =
647  { 0,
648  1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
649  1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
650  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
651  1, 5, 6, 1, 7, 1, 1, 1, 1, 1,
652  1, 1, 8, 9, 10, 11, 12, 13, 13, 13,
653  13, 13, 13, 13, 13, 13, 13, 14, 1, 1,
654  15, 1, 1, 1, 16, 17, 18, 19, 20, 21,
655  22, 23, 24, 25, 25, 26, 27, 28, 29, 30,
656  31, 32, 33, 34, 35, 25, 36, 25, 37, 25,
657  1, 12, 1, 1, 38, 1, 25, 25, 25, 25,
658 
659  39, 25, 25, 25, 25, 25, 25, 25, 25, 25,
660  40, 25, 25, 25, 25, 25, 25, 25, 25, 25,
661  25, 25, 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,
666  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 
670  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
671  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
672  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
673  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
674  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
675  1, 1, 1, 1, 1
676  } ;
677 
678 static const YY_CHAR yy_meta[41] =
679  { 0,
680  1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
681  2, 2, 2, 3, 1, 2, 2, 2, 2, 2,
682  2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
683  2, 2, 2, 2, 2, 2, 2, 2, 2, 2
684  } ;
685 
686 static const flex_int16_t yy_base[193] =
687  { 0,
688  0, 35, 440, 507, 41, 507, 433, 26, 34, 507,
689  37, 417, 0, 41, 507, 51, 55, 59, 64, 74,
690  78, 82, 88, 92, 103, 107, 111, 118, 110, 52,
691  55, 507, 397, 402, 398, 381, 399, 133, 0, 395,
692  134, 113, 121, 138, 64, 145, 151, 154, 164, 168,
693  172, 176, 186, 190, 194, 199, 206, 211, 217, 222,
694  226, 78, 377, 375, 373, 353, 132, 507, 136, 352,
695  345, 340, 349, 154, 196, 228, 234, 232, 233, 351,
696  349, 345, 340, 243, 247, 252, 264, 268, 272, 276,
697  282, 287, 292, 297, 301, 306, 317, 306, 304, 316,
698 
699  290, 296, 157, 295, 303, 309, 297, 316, 320, 324,
700  329, 335, 341, 345, 349, 356, 360, 271, 274, 215,
701  273, 259, 202, 273, 255, 249, 365, 371, 375, 380,
702  385, 389, 393, 399, 238, 255, 253, 239, 238, 201,
703  197, 182, 171, 165, 153, 403, 409, 413, 417, 423,
704  152, 149, 137, 123, 116, 88, 83, 78, 71, 507,
705  507, 427, 432, 436, 75, 68, 61, 507, 507, 507,
706  56, 507, 441, 445, 507, 52, 507, 49, 450, 454,
707  34, 507, 458, 469, 507, 474, 478, 507, 49, 500,
708  503, 47
709 
710  } ;
711 
712 static const flex_int16_t yy_def[193] =
713  { 0,
714  188, 1, 188, 188, 188, 188, 188, 188, 188, 188,
715  189, 189, 189, 189, 188, 190, 190, 190, 190, 190,
716  190, 190, 190, 190, 190, 190, 190, 190, 188, 191,
717  188, 188, 188, 188, 188, 188, 188, 188, 189, 189,
718  189, 189, 189, 189, 189, 190, 192, 190, 190, 190,
719  190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
720  190, 191, 188, 188, 188, 188, 191, 188, 191, 188,
721  188, 188, 188, 188, 188, 188, 188, 189, 189, 188,
722  189, 189, 189, 190, 190, 190, 190, 190, 190, 190,
723  190, 190, 190, 190, 190, 190, 188, 188, 188, 188,
724 
725  188, 188, 188, 188, 188, 188, 188, 190, 190, 190,
726  190, 190, 190, 190, 190, 190, 190, 188, 188, 188,
727  188, 188, 188, 188, 188, 188, 190, 190, 190, 190,
728  190, 190, 190, 190, 188, 188, 188, 188, 188, 188,
729  188, 188, 188, 188, 188, 190, 190, 190, 190, 190,
730  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
731  188, 190, 190, 190, 188, 188, 188, 188, 188, 188,
732  188, 188, 190, 190, 188, 188, 188, 188, 190, 190,
733  188, 188, 190, 190, 188, 190, 190, 0, 188, 188,
734  188, 188
735 
736  } ;
737 
738 static const flex_int16_t yy_nxt[548] =
739  { 0,
740  4, 5, 6, 7, 5, 8, 4, 9, 10, 11,
741  12, 13, 14, 4, 15, 16, 17, 17, 18, 17,
742  19, 20, 21, 22, 17, 23, 17, 24, 25, 17,
743  17, 26, 17, 27, 17, 17, 17, 28, 17, 17,
744  29, 30, 31, 33, 37, 31, 38, 40, 83, 41,
745  39, 43, 34, 44, 68, 69, 31, 35, 36, 31,
746  45, 39, 39, 185, 47, 39, 39, 48, 47, 39,
747  39, 80, 47, 81, 39, 39, 82, 47, 182, 45,
748  68, 69, 49, 50, 39, 39, 181, 47, 39, 39,
749  178, 47, 39, 39, 177, 47, 176, 52, 39, 39,
750 
751  175, 47, 39, 39, 172, 47, 171, 56, 170, 53,
752  54, 55, 51, 39, 39, 62, 47, 39, 39, 169,
753  47, 39, 39, 57, 47, 78, 60, 63, 39, 39,
754  58, 188, 45, 79, 68, 69, 64, 59, 68, 69,
755  45, 65, 66, 75, 43, 76, 44, 61, 43, 168,
756  44, 45, 77, 45, 167, 39, 39, 45, 188, 45,
757  39, 39, 39, 39, 39, 39, 105, 188, 166, 84,
758  153, 77, 45, 77, 39, 39, 45, 188, 39, 39,
759  165, 188, 39, 39, 161, 188, 39, 39, 39, 188,
760  124, 125, 77, 88, 86, 85, 39, 39, 160, 188,
761 
762  39, 39, 159, 188, 39, 39, 141, 188, 106, 39,
763  39, 87, 188, 158, 89, 77, 39, 39, 142, 188,
764  90, 39, 39, 142, 188, 91, 93, 39, 39, 157,
765  188, 92, 39, 39, 77, 188, 39, 39, 75, 188,
766  76, 80, 95, 80, 78, 79, 107, 77, 137, 138,
767  94, 45, 45, 39, 39, 96, 188, 39, 39, 152,
768  188, 156, 39, 39, 155, 188, 77, 109, 154, 151,
769  45, 45, 145, 108, 39, 39, 153, 188, 39, 39,
770  144, 188, 39, 39, 110, 188, 39, 39, 143, 188,
771  140, 139, 39, 39, 111, 188, 136, 39, 39, 113,
772 
773  188, 114, 39, 39, 135, 188, 112, 39, 39, 107,
774  188, 39, 39, 126, 188, 105, 39, 39, 123, 188,
775  115, 106, 77, 122, 116, 117, 39, 39, 77, 188,
776  39, 39, 121, 188, 39, 39, 120, 188, 119, 39,
777  39, 77, 188, 129, 118, 39, 39, 77, 188, 128,
778  127, 39, 39, 47, 188, 39, 39, 82, 188, 39,
779  39, 82, 188, 107, 130, 104, 39, 39, 131, 188,
780  39, 39, 103, 188, 132, 39, 39, 102, 188, 101,
781  133, 39, 39, 134, 188, 39, 39, 100, 188, 148,
782  39, 39, 99, 188, 98, 39, 39, 146, 188, 39,
783 
784  39, 147, 188, 39, 39, 97, 188, 42, 149, 39,
785  39, 74, 188, 39, 39, 73, 188, 72, 150, 39,
786  39, 71, 188, 39, 39, 70, 188, 39, 39, 42,
787  188, 162, 163, 39, 39, 32, 188, 39, 39, 188,
788  188, 188, 39, 39, 164, 188, 39, 39, 188, 188,
789  173, 39, 39, 188, 188, 39, 39, 188, 188, 174,
790  39, 39, 188, 188, 39, 39, 188, 188, 39, 39,
791  188, 188, 188, 179, 188, 188, 188, 184, 180, 39,
792  39, 188, 188, 183, 39, 39, 188, 188, 39, 39,
793  188, 188, 188, 187, 188, 188, 188, 188, 188, 188,
794 
795  186, 46, 46, 67, 67, 67, 3, 188, 188, 188,
796  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
797  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
798  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
799  188, 188, 188, 188, 188, 188, 188
800  } ;
801 
802 static const flex_int16_t yy_chk[548] =
803  { 0,
804  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
805  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
806  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
807  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
808  2, 2, 5, 8, 9, 5, 9, 11, 192, 11,
809  189, 14, 8, 14, 30, 30, 31, 8, 8, 31,
810  14, 16, 16, 181, 16, 17, 17, 16, 17, 18,
811  18, 45, 18, 45, 19, 19, 45, 19, 178, 14,
812  62, 62, 18, 19, 20, 20, 176, 20, 21, 21,
813  171, 21, 22, 22, 167, 22, 166, 21, 23, 23,
814 
815  165, 23, 24, 24, 159, 24, 158, 24, 157, 22,
816  22, 23, 20, 25, 25, 29, 25, 26, 26, 156,
817  26, 27, 27, 25, 27, 42, 26, 29, 28, 28,
818  25, 28, 42, 43, 67, 67, 29, 25, 69, 69,
819  43, 29, 29, 38, 41, 38, 41, 27, 44, 155,
820  44, 42, 38, 41, 154, 46, 46, 44, 46, 43,
821  47, 47, 47, 47, 48, 48, 74, 48, 153, 48,
822  152, 38, 41, 74, 49, 49, 44, 49, 50, 50,
823  151, 50, 51, 51, 145, 51, 52, 52, 47, 52,
824  103, 103, 74, 52, 50, 49, 53, 53, 144, 53,
825 
826  54, 54, 143, 54, 55, 55, 123, 55, 75, 56,
827  56, 51, 56, 142, 53, 75, 57, 57, 141, 57,
828  55, 58, 58, 123, 58, 56, 57, 59, 59, 140,
829  59, 56, 60, 60, 75, 60, 61, 61, 76, 61,
830  76, 77, 60, 77, 78, 79, 77, 76, 120, 120,
831  59, 78, 79, 84, 84, 61, 84, 85, 85, 136,
832  85, 139, 86, 86, 138, 86, 76, 86, 137, 135,
833  78, 79, 126, 84, 87, 87, 136, 87, 88, 88,
834  125, 88, 89, 89, 87, 89, 90, 90, 124, 90,
835  122, 121, 91, 91, 88, 91, 119, 92, 92, 90,
836 
837  92, 91, 93, 93, 118, 93, 89, 94, 94, 107,
838  94, 95, 95, 104, 95, 105, 96, 96, 102, 96,
839  92, 106, 105, 101, 95, 96, 108, 108, 106, 108,
840  109, 109, 100, 109, 110, 110, 99, 110, 98, 111,
841  111, 105, 111, 110, 97, 112, 112, 106, 112, 109,
842  108, 113, 113, 83, 113, 114, 114, 82, 114, 115,
843  115, 81, 115, 80, 111, 73, 116, 116, 112, 116,
844  117, 117, 72, 117, 113, 127, 127, 71, 127, 70,
845  115, 128, 128, 116, 128, 129, 129, 66, 129, 130,
846  130, 130, 65, 130, 64, 131, 131, 127, 131, 132,
847 
848  132, 129, 132, 133, 133, 63, 133, 40, 133, 134,
849  134, 37, 134, 146, 146, 36, 146, 35, 134, 147,
850  147, 34, 147, 148, 148, 33, 148, 149, 149, 12,
851  149, 148, 148, 150, 150, 7, 150, 162, 162, 3,
852  162, 0, 163, 163, 149, 163, 164, 164, 0, 164,
853  162, 173, 173, 0, 173, 174, 174, 0, 174, 163,
854  179, 179, 0, 179, 180, 180, 0, 180, 183, 183,
855  0, 183, 0, 173, 0, 0, 0, 180, 174, 184,
856  184, 0, 184, 179, 186, 186, 0, 186, 187, 187,
857  0, 187, 0, 186, 0, 0, 0, 0, 0, 0,
858 
859  184, 190, 190, 191, 191, 191, 188, 188, 188, 188,
860  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
861  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
862  188, 188, 188, 188, 188, 188, 188, 188, 188, 188,
863  188, 188, 188, 188, 188, 188, 188
864  } ;
865 
866 static yy_state_type yy_last_accepting_state;
867 static char *yy_last_accepting_cpos;
868 
869 extern int yy_flex_debug;
871 
872 /* The intent behind this definition is that it'll catch
873  * any uses of REJECT which flex missed.
874  */
875 #define REJECT reject_used_but_not_detected
876 #define yymore() yymore_used_but_not_detected
877 #define YY_MORE_ADJ 0
878 #define YY_RESTORE_YY_MORE_OFFSET
879 char *yytext;
880 #line 1 "../src/common/hecmw_ctrllex.l"
881 #line 2 "../src/common/hecmw_ctrllex.l"
882 #include <string.h>
883 #include <errno.h>
884 #include "hecmw_ctrllex.h"
885 #include "hecmw_util.h"
886 
887 typedef union {
888  double dval;
889  char *str;
890 } YYSTYPE;
891 
892 static YYSTYPE yylval;
893 static int lineno;
894 static int flag_header;
895 
896 static void set_flag_header(int flag);
897 #line 898 "<stdout>"
898 #line 899 "<stdout>"
899 
900 #define INITIAL 0
901 
902 #ifndef YY_NO_UNISTD_H
903 /* Special case for "unistd.h", since it is non-ANSI. We include it way
904  * down here because we want the user's section 1 to have been scanned first.
905  * The user has a chance to override it with an option.
906  */
907 #include <unistd.h>
908 #endif
909 
910 #ifndef YY_EXTRA_TYPE
911 #define YY_EXTRA_TYPE void *
912 #endif
913 
914 static int yy_init_globals ( void );
915 
916 /* Accessor methods to globals.
917  These are made visible to non-reentrant scanners for convenience. */
918 
919 int yylex_destroy ( void );
920 
921 int yyget_debug ( void );
922 
923 void yyset_debug ( int debug_flag );
924 
925 YY_EXTRA_TYPE yyget_extra ( void );
926 
927 void yyset_extra ( YY_EXTRA_TYPE user_defined );
928 
929 FILE *yyget_in ( void );
930 
931 void yyset_in ( FILE * _in_str );
932 
933 FILE *yyget_out ( void );
934 
935 void yyset_out ( FILE * _out_str );
936 
937  int yyget_leng ( void );
938 
939 char *yyget_text ( void );
940 
941 int yyget_lineno ( void );
942 
943 void yyset_lineno ( int _line_number );
944 
945 /* Macros after this point can all be overridden by user definitions in
946  * section 1.
947  */
948 
949 #ifndef YY_SKIP_YYWRAP
950 #ifdef __cplusplus
951 extern "C" int yywrap ( void );
952 #else
953 extern int yywrap ( void );
954 #endif
955 #endif
956 
957 #ifndef YY_NO_UNPUT
958 
959 #endif
960 
961 #ifndef yytext_ptr
962 static void yy_flex_strncpy ( char *, const char *, int );
963 #endif
964 
965 #ifdef YY_NEED_STRLEN
966 static int yy_flex_strlen ( const char * );
967 #endif
968 
969 #ifndef YY_NO_INPUT
970 #ifdef __cplusplus
971 static int yyinput ( void );
972 #else
973 static int input ( void );
974 #endif
975 
976 #endif
977 
978 /* Amount of stuff to slurp up with each read. */
979 #ifndef YY_READ_BUF_SIZE
980 #ifdef __ia64__
981 /* On IA-64, the buffer size is 16k, not 8k */
982 #define YY_READ_BUF_SIZE 16384
983 #else
984 #define YY_READ_BUF_SIZE 8192
985 #endif /* __ia64__ */
986 #endif
987 
988 /* Copy whatever the last rule matched to the standard output. */
989 #ifndef ECHO
990 /* This used to be an fputs(), but since the string might contain NUL's,
991  * we now use fwrite().
992  */
993 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
994 #endif
995 
996 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
997  * is returned in "result".
998  */
999 #ifndef YY_INPUT
1000 #define YY_INPUT(buf,result,max_size) \
1001  if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1002  { \
1003  int c = '*'; \
1004  int n; \
1005  for ( n = 0; n < max_size && \
1006  (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1007  buf[n] = (char) c; \
1008  if ( c == '\n' ) \
1009  buf[n++] = (char) c; \
1010  if ( c == EOF && ferror( yyin ) ) \
1011  YY_FATAL_ERROR( "input in flex scanner failed" ); \
1012  result = n; \
1013  } \
1014  else \
1015  { \
1016  errno=0; \
1017  while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1018  { \
1019  if( errno != EINTR) \
1020  { \
1021  YY_FATAL_ERROR( "input in flex scanner failed" ); \
1022  break; \
1023  } \
1024  errno=0; \
1025  clearerr(yyin); \
1026  } \
1027  }\
1028 \
1029 
1030 #endif
1031 
1032 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1033  * we don't want an extra ';' after the "return" because that will cause
1034  * some compilers to complain about unreachable statements.
1035  */
1036 #ifndef yyterminate
1037 #define yyterminate() return YY_NULL
1038 #endif
1039 
1040 /* Number of entries by which start-condition stack grows. */
1041 #ifndef YY_START_STACK_INCR
1042 #define YY_START_STACK_INCR 25
1043 #endif
1044 
1045 /* Report a fatal error. */
1046 #ifndef YY_FATAL_ERROR
1047 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1048 #endif
1049 
1050 /* end tables serialization structures and prototypes */
1051 
1052 /* Default declaration of generated scanner - a define so the user can
1053  * easily add parameters.
1054  */
1055 #ifndef YY_DECL
1056 #define YY_DECL_IS_OURS 1
1057 
1058 extern int yylex (void);
1059 
1060 #define YY_DECL int yylex (void)
1061 #endif /* !YY_DECL */
1062 
1063 /* Code executed at the beginning of each rule, after yytext and yyleng
1064  * have been set up.
1065  */
1066 #ifndef YY_USER_ACTION
1067 #define YY_USER_ACTION
1068 #endif
1069 
1070 /* Code executed at the end of each rule. */
1071 #ifndef YY_BREAK
1072 #define YY_BREAK /*LINTED*/break;
1073 #endif
1074 
1075 #define YY_RULE_SETUP \
1076  if ( yyleng > 0 ) \
1077  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1078  (yytext[yyleng - 1] == '\n'); \
1079  YY_USER_ACTION
1080 
1083 YY_DECL
1085  yy_state_type yy_current_state;
1086  char *yy_cp, *yy_bp;
1087  int yy_act;
1088 
1089  if ( !(yy_init) )
1090  {
1091  (yy_init) = 1;
1092 
1093 #ifdef YY_USER_INIT
1094  YY_USER_INIT;
1095 #endif
1096 
1097  if ( ! (yy_start) )
1098  (yy_start) = 1; /* first start state */
1099 
1100  if ( ! yyin )
1101  yyin = stdin;
1102 
1103  if ( ! yyout )
1104  yyout = stdout;
1105 
1106  if ( ! YY_CURRENT_BUFFER ) {
1110  }
1111 
1113  }
1114 
1115  {
1116 #line 30 "../src/common/hecmw_ctrllex.l"
1117 
1118 
1119 #line 1120 "<stdout>"
1120 
1121  while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1122  {
1123  yy_cp = (yy_c_buf_p);
1124 
1125  /* Support of yytext. */
1126  *yy_cp = (yy_hold_char);
1127 
1128  /* yy_bp points to the position in yy_ch_buf of the start of
1129  * the current run.
1130  */
1131  yy_bp = yy_cp;
1132 
1133  yy_current_state = (yy_start);
1134  yy_current_state += YY_AT_BOL();
1135 yy_match:
1136  do
1137  {
1138  YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1139  if ( yy_accept[yy_current_state] )
1140  {
1141  (yy_last_accepting_state) = yy_current_state;
1142  (yy_last_accepting_cpos) = yy_cp;
1143  }
1144  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1145  {
1146  yy_current_state = (int) yy_def[yy_current_state];
1147  if ( yy_current_state >= 189 )
1148  yy_c = yy_meta[yy_c];
1149  }
1150  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1151  ++yy_cp;
1152  }
1153  while ( yy_base[yy_current_state] != 507 );
1154 
1155 yy_find_action:
1156  yy_act = yy_accept[yy_current_state];
1157  if ( yy_act == 0 )
1158  { /* have to back up */
1159  yy_cp = (yy_last_accepting_cpos);
1160  yy_current_state = (yy_last_accepting_state);
1161  yy_act = yy_accept[yy_current_state];
1162  }
1163 
1165 
1166 do_action: /* This label is used only to access EOF actions. */
1167 
1168  switch ( yy_act )
1169  { /* beginning of action switch */
1170  case 0: /* must back up */
1171  /* undo the effects of YY_DO_BEFORE_ACTION */
1172  *yy_cp = (yy_hold_char);
1173  yy_cp = (yy_last_accepting_cpos);
1174  yy_current_state = (yy_last_accepting_state);
1175  goto yy_find_action;
1176 
1177 case 1:
1178 /* rule 1 can match eol */
1180 #line 32 "../src/common/hecmw_ctrllex.l"
1181 { lineno++; set_flag_header(0); }
1182  YY_BREAK
1183 case 2:
1185 #line 33 "../src/common/hecmw_ctrllex.l"
1186 { set_flag_header(0); }
1187  YY_BREAK
1188 case 3:
1189 /* rule 3 can match eol */
1191 #line 34 "../src/common/hecmw_ctrllex.l"
1192 { lineno++; set_flag_header(0); return HECMW_CTRLLEX_NL; }
1193  YY_BREAK
1194 case 4:
1196 #line 36 "../src/common/hecmw_ctrllex.l"
1197 { set_flag_header(1); return HECMW_CTRLLEX_H_CONTROL; }
1198  YY_BREAK
1199 case 5:
1201 #line 37 "../src/common/hecmw_ctrllex.l"
1202 { return flag_header ? HECMW_CTRLLEX_H_CONTROL : ' '; }
1203  YY_BREAK
1204 case 6:
1206 #line 38 "../src/common/hecmw_ctrllex.l"
1207 { set_flag_header(1); return HECMW_CTRLLEX_H_MESH; }
1208  YY_BREAK
1209 case 7:
1211 #line 39 "../src/common/hecmw_ctrllex.l"
1212 { return flag_header ? HECMW_CTRLLEX_H_MESH : ' '; }
1213  YY_BREAK
1214 case 8:
1216 #line 40 "../src/common/hecmw_ctrllex.l"
1217 { set_flag_header(1); return HECMW_CTRLLEX_H_MESH_GROUP; }
1218  YY_BREAK
1219 case 9:
1221 #line 41 "../src/common/hecmw_ctrllex.l"
1222 { return flag_header ? HECMW_CTRLLEX_H_MESH_GROUP : ' '; }
1223  YY_BREAK
1224 case 10:
1226 #line 42 "../src/common/hecmw_ctrllex.l"
1227 { set_flag_header(1); return HECMW_CTRLLEX_H_RESULT; }
1228  YY_BREAK
1229 case 11:
1231 #line 43 "../src/common/hecmw_ctrllex.l"
1232 { return flag_header ? HECMW_CTRLLEX_H_RESULT : ' '; }
1233  YY_BREAK
1234 case 12:
1236 #line 44 "../src/common/hecmw_ctrllex.l"
1237 { set_flag_header(1); return HECMW_CTRLLEX_H_RESTART; }
1238  YY_BREAK
1239 case 13:
1241 #line 45 "../src/common/hecmw_ctrllex.l"
1242 { return flag_header ? HECMW_CTRLLEX_H_RESTART : ' '; }
1243  YY_BREAK
1244 case 14:
1246 #line 46 "../src/common/hecmw_ctrllex.l"
1247 { set_flag_header(1); return HECMW_CTRLLEX_H_SUBDIR; }
1248  YY_BREAK
1249 case 15:
1251 #line 47 "../src/common/hecmw_ctrllex.l"
1252 { return flag_header ? HECMW_CTRLLEX_H_SUBDIR : ' '; }
1253  YY_BREAK
1254 case 16:
1256 #line 49 "../src/common/hecmw_ctrllex.l"
1257 { set_flag_header(0); return HECMW_CTRLLEX_K_ABAQUS; }
1258  YY_BREAK
1259 case 17:
1261 #line 50 "../src/common/hecmw_ctrllex.l"
1262 { set_flag_header(0); return HECMW_CTRLLEX_K_DIR; }
1263  YY_BREAK
1264 case 18:
1266 #line 51 "../src/common/hecmw_ctrllex.l"
1267 { set_flag_header(0); return HECMW_CTRLLEX_K_FEMAP; }
1268  YY_BREAK
1269 case 19:
1271 #line 52 "../src/common/hecmw_ctrllex.l"
1272 { set_flag_header(0); return HECMW_CTRLLEX_K_GEOFEM; }
1273  YY_BREAK
1274 case 20:
1276 #line 53 "../src/common/hecmw_ctrllex.l"
1277 { set_flag_header(0); return HECMW_CTRLLEX_K_HECMW_DIST; }
1278  YY_BREAK
1279 case 21:
1281 #line 54 "../src/common/hecmw_ctrllex.l"
1282 { set_flag_header(0); return HECMW_CTRLLEX_K_HECMW_ENTIRE; }
1283  YY_BREAK
1284 case 22:
1286 #line 55 "../src/common/hecmw_ctrllex.l"
1287 { set_flag_header(0); return HECMW_CTRLLEX_K_IN; }
1288  YY_BREAK
1289 case 23:
1291 #line 56 "../src/common/hecmw_ctrllex.l"
1292 { set_flag_header(0); return HECMW_CTRLLEX_K_INOUT; }
1293  YY_BREAK
1294 case 24:
1296 #line 57 "../src/common/hecmw_ctrllex.l"
1297 { set_flag_header(0); return HECMW_CTRLLEX_K_IO; }
1298  YY_BREAK
1299 case 25:
1301 #line 58 "../src/common/hecmw_ctrllex.l"
1302 { set_flag_header(0); return HECMW_CTRLLEX_K_LIMIT; }
1303  YY_BREAK
1304 case 26:
1306 #line 59 "../src/common/hecmw_ctrllex.l"
1307 { set_flag_header(0); return HECMW_CTRLLEX_K_NAME; }
1308  YY_BREAK
1309 case 27:
1311 #line 60 "../src/common/hecmw_ctrllex.l"
1312 { set_flag_header(0); return HECMW_CTRLLEX_K_NASTRAN; }
1313  YY_BREAK
1314 case 28:
1316 #line 61 "../src/common/hecmw_ctrllex.l"
1317 { set_flag_header(0); return HECMW_CTRLLEX_K_ON; }
1318  YY_BREAK
1319 case 29:
1321 #line 62 "../src/common/hecmw_ctrllex.l"
1322 { set_flag_header(0); return HECMW_CTRLLEX_K_OFF; }
1323  YY_BREAK
1324 case 30:
1326 #line 63 "../src/common/hecmw_ctrllex.l"
1327 { set_flag_header(0); return HECMW_CTRLLEX_K_OUT; }
1328  YY_BREAK
1329 case 31:
1331 #line 64 "../src/common/hecmw_ctrllex.l"
1332 { set_flag_header(0); return HECMW_CTRLLEX_K_REFINE; }
1333  YY_BREAK
1334 case 32:
1336 #line 65 "../src/common/hecmw_ctrllex.l"
1337 { set_flag_header(0); return HECMW_CTRLLEX_K_TYPE; }
1338  YY_BREAK
1339 case 33:
1341 #line 68 "../src/common/hecmw_ctrllex.l"
1342 { set_flag_header(0); return '='; }
1343  YY_BREAK
1344 case 34:
1346 #line 69 "../src/common/hecmw_ctrllex.l"
1347 { set_flag_header(0); return ','; }
1348  YY_BREAK
1349 case 35:
1351 #line 71 "../src/common/hecmw_ctrllex.l"
1352 {
1353  yylval.dval = atof(yytext);
1354  set_flag_header(0);
1355  return HECMW_CTRLLEX_INT;
1356  }
1357  YY_BREAK
1358 case 36:
1360 #line 76 "../src/common/hecmw_ctrllex.l"
1361 {
1362  yylval.dval = atof(yytext);
1363  set_flag_header(0);
1364  return HECMW_CTRLLEX_DOUBLE;
1365  }
1366  YY_BREAK
1367 case 37:
1369 #line 81 "../src/common/hecmw_ctrllex.l"
1370 {
1371  yylval.str = yytext;
1372  set_flag_header(0);
1373  return HECMW_CTRLLEX_NAME;
1374  }
1375  YY_BREAK
1376 case 38:
1378 #line 86 "../src/common/hecmw_ctrllex.l"
1379 {
1380  yylval.str = yytext;
1381  set_flag_header(0);
1382  return HECMW_CTRLLEX_FILENAME;
1383  }
1384  YY_BREAK
1385 case 39:
1387 #line 91 "../src/common/hecmw_ctrllex.l"
1388 { set_flag_header(0); return yytext[0]; }
1389  YY_BREAK
1390 case YY_STATE_EOF(INITIAL):
1391 #line 92 "../src/common/hecmw_ctrllex.l"
1392 { return 0; }
1393  YY_BREAK
1394 case 40:
1396 #line 94 "../src/common/hecmw_ctrllex.l"
1397 ECHO;
1398  YY_BREAK
1399 #line 1400 "<stdout>"
1400 
1401  case YY_END_OF_BUFFER:
1402  {
1403  /* Amount of text matched not including the EOB char. */
1404  int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1405 
1406  /* Undo the effects of YY_DO_BEFORE_ACTION. */
1407  *yy_cp = (yy_hold_char);
1409 
1410  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1411  {
1412  /* We're scanning a new file or input source. It's
1413  * possible that this happened because the user
1414  * just pointed yyin at a new source and called
1415  * yylex(). If so, then we have to assure
1416  * consistency between YY_CURRENT_BUFFER and our
1417  * globals. Here is the right place to do so, because
1418  * this is the first action (other than possibly a
1419  * back-up) that will match for the new input source.
1420  */
1421  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1422  YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1423  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1424  }
1425 
1426  /* Note that here we test for yy_c_buf_p "<=" to the position
1427  * of the first EOB in the buffer, since yy_c_buf_p will
1428  * already have been incremented past the NUL character
1429  * (since all states make transitions on EOB to the
1430  * end-of-buffer state). Contrast this with the test
1431  * in input().
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_state_type yy_next_state;
1436 
1437  (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1438 
1439  yy_current_state = yy_get_previous_state( );
1440 
1441  /* Okay, we're now positioned to make the NUL
1442  * transition. We couldn't have
1443  * yy_get_previous_state() go ahead and do it
1444  * for us because it doesn't know how to deal
1445  * with the possibility of jamming (and we don't
1446  * want to build jamming into it because then it
1447  * will run more slowly).
1448  */
1449 
1450  yy_next_state = yy_try_NUL_trans( yy_current_state );
1451 
1453 
1454  if ( yy_next_state )
1455  {
1456  /* Consume the NUL. */
1457  yy_cp = ++(yy_c_buf_p);
1458  yy_current_state = yy_next_state;
1459  goto yy_match;
1460  }
1461 
1462  else
1463  {
1464  yy_cp = (yy_c_buf_p);
1465  goto yy_find_action;
1466  }
1467  }
1468 
1469  else switch ( yy_get_next_buffer( ) )
1470  {
1471  case EOB_ACT_END_OF_FILE:
1472  {
1473  (yy_did_buffer_switch_on_eof) = 0;
1474 
1475  if ( yywrap( ) )
1476  {
1477  /* Note: because we've taken care in
1478  * yy_get_next_buffer() to have set up
1479  * yytext, we can now set up
1480  * yy_c_buf_p so that if some total
1481  * hoser (like flex itself) wants to
1482  * call the scanner after we return the
1483  * YY_NULL, it'll still work - another
1484  * YY_NULL will get returned.
1485  */
1486  (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1487 
1489  goto do_action;
1490  }
1491 
1492  else
1493  {
1494  if ( ! (yy_did_buffer_switch_on_eof) )
1495  YY_NEW_FILE;
1496  }
1497  break;
1498  }
1499 
1500  case EOB_ACT_CONTINUE_SCAN:
1501  (yy_c_buf_p) =
1502  (yytext_ptr) + yy_amount_of_matched_text;
1503 
1504  yy_current_state = yy_get_previous_state( );
1505 
1506  yy_cp = (yy_c_buf_p);
1508  goto yy_match;
1509 
1510  case EOB_ACT_LAST_MATCH:
1511  (yy_c_buf_p) =
1512  &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1513 
1514  yy_current_state = yy_get_previous_state( );
1515 
1516  yy_cp = (yy_c_buf_p);
1518  goto yy_find_action;
1519  }
1520  break;
1521  }
1522 
1523  default:
1525  "fatal flex scanner internal error--no action found" );
1526  } /* end of action switch */
1527  } /* end of scanning one token */
1528  } /* end of user's declarations */
1529 } /* end of yylex */
1530 
1531 /* yy_get_next_buffer - try to read in a new buffer
1532  *
1533  * Returns a code representing an action:
1534  * EOB_ACT_LAST_MATCH -
1535  * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1536  * EOB_ACT_END_OF_FILE - end of file
1537  */
1538 static int yy_get_next_buffer (void)
1539 {
1540  char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1541  char *source = (yytext_ptr);
1542  int number_to_move, i;
1543  int ret_val;
1544 
1545  if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1547  "fatal flex scanner internal error--end of buffer missed" );
1548 
1549  if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1550  { /* Don't try to fill the buffer, so this is an EOF. */
1551  if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1552  {
1553  /* We matched a single character, the EOB, so
1554  * treat this as a final EOF.
1555  */
1556  return EOB_ACT_END_OF_FILE;
1557  }
1558 
1559  else
1560  {
1561  /* We matched some text prior to the EOB, first
1562  * process it.
1563  */
1564  return EOB_ACT_LAST_MATCH;
1565  }
1566  }
1567 
1568  /* Try to read more data. */
1569 
1570  /* First move last chars to start of buffer. */
1571  number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1572 
1573  for ( i = 0; i < number_to_move; ++i )
1574  *(dest++) = *(source++);
1575 
1576  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1577  /* don't do the read, it's not guaranteed to return an EOF,
1578  * just force an EOF
1579  */
1580  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1581 
1582  else
1583  {
1584  int num_to_read =
1585  YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1586 
1587  while ( num_to_read <= 0 )
1588  { /* Not enough room in the buffer - grow it. */
1589 
1590  /* just a shorter name for the current buffer */
1592 
1593  int yy_c_buf_p_offset =
1594  (int) ((yy_c_buf_p) - b->yy_ch_buf);
1595 
1596  if ( b->yy_is_our_buffer )
1597  {
1598  int new_size = b->yy_buf_size * 2;
1599 
1600  if ( new_size <= 0 )
1601  b->yy_buf_size += b->yy_buf_size / 8;
1602  else
1603  b->yy_buf_size *= 2;
1604 
1605  b->yy_ch_buf = (char *)
1606  /* Include room in for 2 EOB chars. */
1607  yyrealloc( (void *) b->yy_ch_buf,
1608  (yy_size_t) (b->yy_buf_size + 2) );
1609  }
1610  else
1611  /* Can't grow it, we don't own it. */
1612  b->yy_ch_buf = NULL;
1613 
1614  if ( ! b->yy_ch_buf )
1616  "fatal error - scanner input buffer overflow" );
1617 
1618  (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1619 
1620  num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1621  number_to_move - 1;
1622 
1623  }
1624 
1625  if ( num_to_read > YY_READ_BUF_SIZE )
1626  num_to_read = YY_READ_BUF_SIZE;
1627 
1628  /* Read in more data. */
1629  YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1630  (yy_n_chars), num_to_read );
1631 
1632  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1633  }
1634 
1635  if ( (yy_n_chars) == 0 )
1636  {
1637  if ( number_to_move == YY_MORE_ADJ )
1638  {
1639  ret_val = EOB_ACT_END_OF_FILE;
1640  yyrestart( yyin );
1641  }
1642 
1643  else
1644  {
1645  ret_val = EOB_ACT_LAST_MATCH;
1646  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1648  }
1649  }
1650 
1651  else
1652  ret_val = EOB_ACT_CONTINUE_SCAN;
1653 
1654  if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1655  /* Extend the array by 50%, plus the number we really need. */
1656  int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1657  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1658  (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
1659  if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1660  YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1661  /* "- 2" to take care of EOB's */
1662  YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1663  }
1664 
1665  (yy_n_chars) += number_to_move;
1666  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1667  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1668 
1669  (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1670 
1671  return ret_val;
1672 }
1673 
1674 /* yy_get_previous_state - get the state just before the EOB char was reached */
1675 
1676  static yy_state_type yy_get_previous_state (void)
1677 {
1678  yy_state_type yy_current_state;
1679  char *yy_cp;
1680 
1681  yy_current_state = (yy_start);
1682  yy_current_state += YY_AT_BOL();
1683 
1684  for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1685  {
1686  YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1687  if ( yy_accept[yy_current_state] )
1688  {
1689  (yy_last_accepting_state) = yy_current_state;
1690  (yy_last_accepting_cpos) = yy_cp;
1691  }
1692  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1693  {
1694  yy_current_state = (int) yy_def[yy_current_state];
1695  if ( yy_current_state >= 189 )
1696  yy_c = yy_meta[yy_c];
1697  }
1698  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1699  }
1700 
1701  return yy_current_state;
1702 }
1703 
1704 /* yy_try_NUL_trans - try to make a transition on the NUL character
1705  *
1706  * synopsis
1707  * next_state = yy_try_NUL_trans( current_state );
1708  */
1709  static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1710 {
1711  int yy_is_jam;
1712  char *yy_cp = (yy_c_buf_p);
1713 
1714  YY_CHAR yy_c = 1;
1715  if ( yy_accept[yy_current_state] )
1716  {
1717  (yy_last_accepting_state) = yy_current_state;
1718  (yy_last_accepting_cpos) = yy_cp;
1719  }
1720  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1721  {
1722  yy_current_state = (int) yy_def[yy_current_state];
1723  if ( yy_current_state >= 189 )
1724  yy_c = yy_meta[yy_c];
1725  }
1726  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1727  yy_is_jam = (yy_current_state == 188);
1728 
1729  return yy_is_jam ? 0 : yy_current_state;
1730 }
1731 
1732 #ifndef YY_NO_UNPUT
1733 
1734 #endif
1735 
1736 #ifndef YY_NO_INPUT
1737 #ifdef __cplusplus
1738  static int yyinput (void)
1739 #else
1740  static int input (void)
1741 #endif
1742 
1743 {
1744  int c;
1745 
1746  *(yy_c_buf_p) = (yy_hold_char);
1747 
1748  if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1749  {
1750  /* yy_c_buf_p now points to the character we want to return.
1751  * If this occurs *before* the EOB characters, then it's a
1752  * valid NUL; if not, then we've hit the end of the buffer.
1753  */
1754  if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1755  /* This was really a NUL. */
1756  *(yy_c_buf_p) = '\0';
1757 
1758  else
1759  { /* need more input */
1760  int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
1761  ++(yy_c_buf_p);
1762 
1763  switch ( yy_get_next_buffer( ) )
1764  {
1765  case EOB_ACT_LAST_MATCH:
1766  /* This happens because yy_g_n_b()
1767  * sees that we've accumulated a
1768  * token and flags that we need to
1769  * try matching the token before
1770  * proceeding. But for input(),
1771  * there's no matching to consider.
1772  * So convert the EOB_ACT_LAST_MATCH
1773  * to EOB_ACT_END_OF_FILE.
1774  */
1775 
1776  /* Reset buffer status. */
1777  yyrestart( yyin );
1778 
1779  /*FALLTHROUGH*/
1780 
1781  case EOB_ACT_END_OF_FILE:
1782  {
1783  if ( yywrap( ) )
1784  return 0;
1785 
1786  if ( ! (yy_did_buffer_switch_on_eof) )
1787  YY_NEW_FILE;
1788 #ifdef __cplusplus
1789  return yyinput();
1790 #else
1791  return input();
1792 #endif
1793  }
1794 
1795  case EOB_ACT_CONTINUE_SCAN:
1796  (yy_c_buf_p) = (yytext_ptr) + offset;
1797  break;
1798  }
1799  }
1800  }
1801 
1802  c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1803  *(yy_c_buf_p) = '\0'; /* preserve yytext */
1804  (yy_hold_char) = *++(yy_c_buf_p);
1805 
1806  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
1807 
1808  return c;
1809 }
1810 #endif /* ifndef YY_NO_INPUT */
1811 
1817  void yyrestart (FILE * input_file )
1818 {
1819 
1820  if ( ! YY_CURRENT_BUFFER ){
1824  }
1825 
1826  yy_init_buffer( YY_CURRENT_BUFFER, input_file );
1828 }
1829 
1834  void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1835 {
1836 
1837  /* TODO. We should be able to replace this entire function body
1838  * with
1839  * yypop_buffer_state();
1840  * yypush_buffer_state(new_buffer);
1841  */
1843  if ( YY_CURRENT_BUFFER == new_buffer )
1844  return;
1845 
1846  if ( YY_CURRENT_BUFFER )
1847  {
1848  /* Flush out information for old buffer. */
1849  *(yy_c_buf_p) = (yy_hold_char);
1850  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1851  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1852  }
1853 
1854  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1856 
1857  /* We don't actually know whether we did this switch during
1858  * EOF (yywrap()) processing, but the only time this flag
1859  * is looked at is after yywrap() is called, so it's safe
1860  * to go ahead and always set it.
1861  */
1862  (yy_did_buffer_switch_on_eof) = 1;
1863 }
1864 
1865 static void yy_load_buffer_state (void)
1866 {
1867  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1868  (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1869  yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1870  (yy_hold_char) = *(yy_c_buf_p);
1871 }
1872 
1879  YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1880 {
1881  YY_BUFFER_STATE b;
1882 
1883  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
1884  if ( ! b )
1885  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1886 
1887  b->yy_buf_size = size;
1888 
1889  /* yy_ch_buf has to be 2 characters longer than the size given because
1890  * we need to put in 2 end-of-buffer characters.
1891  */
1892  b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
1893  if ( ! b->yy_ch_buf )
1894  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1895 
1896  b->yy_is_our_buffer = 1;
1897 
1898  yy_init_buffer( b, file );
1899 
1900  return b;
1901 }
1902 
1908 {
1909 
1910  if ( ! b )
1911  return;
1912 
1913  if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1915 
1916  if ( b->yy_is_our_buffer )
1917  yyfree( (void *) b->yy_ch_buf );
1918 
1919  yyfree( (void *) b );
1920 }
1921 
1922 /* Initializes or reinitializes a buffer.
1923  * This function is sometimes called more than once on the same buffer,
1924  * such as during a yyrestart() or at EOF.
1925  */
1926  static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
1927 
1928 {
1929  int oerrno = errno;
1930 
1931  yy_flush_buffer( b );
1932 
1933  b->yy_input_file = file;
1934  b->yy_fill_buffer = 1;
1935 
1936  /* If b is the current buffer, then yy_init_buffer was _probably_
1937  * called from yyrestart() or through yy_get_next_buffer.
1938  * In that case, we don't want to reset the lineno or column.
1939  */
1940  if (b != YY_CURRENT_BUFFER){
1941  b->yy_bs_lineno = 1;
1942  b->yy_bs_column = 0;
1943  }
1944 
1945  b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1946 
1947  errno = oerrno;
1948 }
1949 
1955 {
1956  if ( ! b )
1957  return;
1958 
1959  b->yy_n_chars = 0;
1960 
1961  /* We always need two end-of-buffer characters. The first causes
1962  * a transition to the end-of-buffer state. The second causes
1963  * a jam in that state.
1964  */
1967 
1968  b->yy_buf_pos = &b->yy_ch_buf[0];
1969 
1970  b->yy_at_bol = 1;
1972 
1973  if ( b == YY_CURRENT_BUFFER )
1975 }
1976 
1983 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1984 {
1985  if (new_buffer == NULL)
1986  return;
1987 
1989 
1990  /* This block is copied from yy_switch_to_buffer. */
1991  if ( YY_CURRENT_BUFFER )
1992  {
1993  /* Flush out information for old buffer. */
1994  *(yy_c_buf_p) = (yy_hold_char);
1995  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1996  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1997  }
1998 
1999  /* Only push if top exists. Otherwise, replace top. */
2000  if (YY_CURRENT_BUFFER)
2001  (yy_buffer_stack_top)++;
2002  YY_CURRENT_BUFFER_LVALUE = new_buffer;
2003 
2004  /* copied from yy_switch_to_buffer. */
2006  (yy_did_buffer_switch_on_eof) = 1;
2007 }
2008 
2013 void yypop_buffer_state (void)
2014 {
2015  if (!YY_CURRENT_BUFFER)
2016  return;
2017 
2020  if ((yy_buffer_stack_top) > 0)
2021  --(yy_buffer_stack_top);
2022 
2023  if (YY_CURRENT_BUFFER) {
2025  (yy_did_buffer_switch_on_eof) = 1;
2026  }
2027 }
2028 
2029 /* Allocates the stack if it does not exist.
2030  * Guarantees space for at least one push.
2031  */
2032 static void yyensure_buffer_stack (void)
2033 {
2034  yy_size_t num_to_alloc;
2035 
2036  if (!(yy_buffer_stack)) {
2037 
2038  /* First allocation is just for 2 elements, since we don't know if this
2039  * scanner will even need a stack. We use 2 instead of 1 to avoid an
2040  * immediate realloc on the next call.
2041  */
2042  num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
2043  (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
2044  (num_to_alloc * sizeof(struct yy_buffer_state*)
2045  );
2046  if ( ! (yy_buffer_stack) )
2047  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2048 
2049  memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2050 
2051  (yy_buffer_stack_max) = num_to_alloc;
2052  (yy_buffer_stack_top) = 0;
2053  return;
2054  }
2055 
2056  if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2057 
2058  /* Increase the buffer to prepare for a possible push. */
2059  yy_size_t grow_size = 8 /* arbitrary grow size */;
2060 
2061  num_to_alloc = (yy_buffer_stack_max) + grow_size;
2062  (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
2063  ((yy_buffer_stack),
2064  num_to_alloc * sizeof(struct yy_buffer_state*)
2065  );
2066  if ( ! (yy_buffer_stack) )
2067  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2068 
2069  /* zero only the new slots.*/
2070  memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2071  (yy_buffer_stack_max) = num_to_alloc;
2072  }
2073 }
2074 
2081 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
2082 {
2083  YY_BUFFER_STATE b;
2084 
2085  if ( size < 2 ||
2086  base[size-2] != YY_END_OF_BUFFER_CHAR ||
2087  base[size-1] != YY_END_OF_BUFFER_CHAR )
2088  /* They forgot to leave room for the EOB's. */
2089  return NULL;
2090 
2091  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
2092  if ( ! b )
2093  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2094 
2095  b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
2096  b->yy_buf_pos = b->yy_ch_buf = base;
2097  b->yy_is_our_buffer = 0;
2098  b->yy_input_file = NULL;
2099  b->yy_n_chars = b->yy_buf_size;
2100  b->yy_is_interactive = 0;
2101  b->yy_at_bol = 1;
2102  b->yy_fill_buffer = 0;
2104 
2105  yy_switch_to_buffer( b );
2106 
2107  return b;
2108 }
2109 
2118 YY_BUFFER_STATE yy_scan_string (const char * yystr )
2119 {
2120 
2121  return yy_scan_bytes( yystr, (int) strlen(yystr) );
2122 }
2123 
2131 YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
2132 {
2133  YY_BUFFER_STATE b;
2134  char *buf;
2135  yy_size_t n;
2136  int i;
2137 
2138  /* Get memory for full buffer, including space for trailing EOB's. */
2139  n = (yy_size_t) (_yybytes_len + 2);
2140  buf = (char *) yyalloc( n );
2141  if ( ! buf )
2142  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2143 
2144  for ( i = 0; i < _yybytes_len; ++i )
2145  buf[i] = yybytes[i];
2146 
2147  buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2148 
2149  b = yy_scan_buffer( buf, n );
2150  if ( ! b )
2151  YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2152 
2153  /* It's okay to grow etc. this buffer, and we should throw it
2154  * away when we're done.
2155  */
2156  b->yy_is_our_buffer = 1;
2157 
2158  return b;
2159 }
2160 
2161 #ifndef YY_EXIT_FAILURE
2162 #define YY_EXIT_FAILURE 2
2163 #endif
2164 
2165 static void yynoreturn yy_fatal_error (const char* msg )
2166 {
2167  fprintf( stderr, "%s\n", msg );
2168  exit( YY_EXIT_FAILURE );
2169 }
2170 
2171 /* Redefine yyless() so it works in section 3 code. */
2172 
2173 #undef yyless
2174 #define yyless(n) \
2175  do \
2176  { \
2177  /* Undo effects of setting up yytext. */ \
2178  int yyless_macro_arg = (n); \
2179  YY_LESS_LINENO(yyless_macro_arg);\
2180  yytext[yyleng] = (yy_hold_char); \
2181  (yy_c_buf_p) = yytext + yyless_macro_arg; \
2182  (yy_hold_char) = *(yy_c_buf_p); \
2183  *(yy_c_buf_p) = '\0'; \
2184  yyleng = yyless_macro_arg; \
2185  } \
2186  while ( 0 )
2187 
2188 /* Accessor methods (get/set functions) to struct members. */
2189 
2193 int yyget_lineno (void)
2194 {
2195 
2196  return yylineno;
2197 }
2198 
2202 FILE *yyget_in (void)
2203 {
2204  return yyin;
2205 }
2206 
2210 FILE *yyget_out (void)
2211 {
2212  return yyout;
2213 }
2214 
2218 int yyget_leng (void)
2219 {
2220  return yyleng;
2221 }
2222 
2227 char *yyget_text (void)
2228 {
2229  return yytext;
2230 }
2231 
2236 void yyset_lineno (int _line_number )
2237 {
2238 
2239  yylineno = _line_number;
2240 }
2241 
2248 void yyset_in (FILE * _in_str )
2249 {
2250  yyin = _in_str ;
2251 }
2252 
2253 void yyset_out (FILE * _out_str )
2254 {
2255  yyout = _out_str ;
2256 }
2257 
2258 int yyget_debug (void)
2259 {
2260  return yy_flex_debug;
2261 }
2262 
2263 void yyset_debug (int _bdebug )
2264 {
2265  yy_flex_debug = _bdebug ;
2266 }
2267 
2268 static int yy_init_globals (void)
2269 {
2270  /* Initialization is the same as for the non-reentrant scanner.
2271  * This function is called from yylex_destroy(), so don't allocate here.
2272  */
2273 
2274  (yy_buffer_stack) = NULL;
2275  (yy_buffer_stack_top) = 0;
2276  (yy_buffer_stack_max) = 0;
2277  (yy_c_buf_p) = NULL;
2278  (yy_init) = 0;
2279  (yy_start) = 0;
2280 
2281 /* Defined in main.c */
2282 #ifdef YY_STDINIT
2283  yyin = stdin;
2284  yyout = stdout;
2285 #else
2286  yyin = NULL;
2287  yyout = NULL;
2288 #endif
2289 
2290  /* For future reference: Set errno on error, since we are called by
2291  * yylex_init()
2292  */
2293  return 0;
2294 }
2295 
2296 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2297 int yylex_destroy (void)
2298 {
2299 
2300  /* Pop the buffer stack, destroying each element. */
2301  while(YY_CURRENT_BUFFER){
2305  }
2306 
2307  /* Destroy the stack itself. */
2308  yyfree((yy_buffer_stack) );
2309  (yy_buffer_stack) = NULL;
2310 
2311  /* Reset the globals. This is important in a non-reentrant scanner so the next time
2312  * yylex() is called, initialization will occur. */
2313  yy_init_globals( );
2314 
2315  return 0;
2316 }
2317 
2318 /*
2319  * Internal utility routines.
2320  */
2321 
2322 #ifndef yytext_ptr
2323 static void yy_flex_strncpy (char* s1, const char * s2, int n )
2324 {
2325 
2326  int i;
2327  for ( i = 0; i < n; ++i )
2328  s1[i] = s2[i];
2329 }
2330 #endif
2331 
2332 #ifdef YY_NEED_STRLEN
2333 static int yy_flex_strlen (const char * s )
2334 {
2335  int n;
2336  for ( n = 0; s[n]; ++n )
2337  ;
2338 
2339  return n;
2340 }
2341 #endif
2342 
2343 void *yyalloc (yy_size_t size )
2344 {
2345  return malloc(size);
2346 }
2347 
2348 void *yyrealloc (void * ptr, yy_size_t size )
2349 {
2350 
2351  /* The cast to (char *) in the following accommodates both
2352  * implementations that use char* generic pointers, and those
2353  * that use void* generic pointers. It works with the latter
2354  * because both ANSI C and C++ allow castless assignment from
2355  * any pointer type to void*, and deal with argument conversions
2356  * as though doing an assignment.
2357  */
2358  return realloc(ptr, size);
2359 }
2360 
2361 void yyfree (void * ptr )
2362 {
2363  free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2364 }
2365 
2366 #define YYTABLES_NAME "yytables"
2367 
2368 #line 94 "../src/common/hecmw_ctrllex.l"
2369 
2370 
2371 static void
2372 set_flag_header(int flag)
2373 {
2374  flag_header = flag ? 1 : 0;
2375 }
2376 
2377 
2378 int
2380 {
2381  return lineno;
2382 }
2383 
2384 
2385 double
2387 {
2388  return yylval.dval;
2389 }
2390 
2391 
2392 char *
2394 {
2395  return yytext;
2396 }
2397 
2398 
2399 int
2401 {
2402  return yylex();
2403 }
2404 
2405 
2406 int
2407 HECMW_ctrllex_next_token_skip(int skip_token)
2408 {
2409  int token;
2410  while((token = yylex())) {
2411  if(token != skip_token) break;
2412  }
2413  return token;
2414 }
2415 
2416 
2417 int
2418 HECMW_ctrllex_set_input(FILE *fp)
2419 {
2420  static int first = 1;
2421  if(fp == NULL) return -1;
2422  if(first) {
2423  yyin = fp;
2424  first = 0;
2425  } else {
2426  yyrestart(fp);
2427  }
2428  lineno = 1;
2429  return 0;
2430 }
2431 
2432 
2433 int
2435 {
2436  int token;
2437  while((token = HECMW_ctrllex_next_token())) {
2438  if(token == HECMW_CTRLLEX_NL) break;
2439  }
2440  return token;
2441 }
2442 
2443 
2444 int
2446 {
2447  char *p = yytext;
2448  while(*p) {
2449  if(*p == '\n') {
2450  lineno--;
2451  }
2452  p++;
2453  }
2454  yyless(0);
2455  return 0;
2456 }
2457 
2458 
2459 int
2460 HECMW_ctrlwrap(void)
2461 {
2462  return 1;
2463 }
2464 
HECMW_ctrllex_next_token_skip
int HECMW_ctrllex_next_token_skip(int skip_token)
HECMW_ctrllex_get_text
char * HECMW_ctrllex_get_text(void)
yy_scan_string
#define yy_scan_string
Definition: hecmw_ctrllex.c:11
yy_create_buffer
#define yy_create_buffer
Definition: hecmw_ctrllex.c:8
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_ablex.c:312
flex_uint32_t
unsigned int flex_uint32_t
Definition: hecmw_ctrllex.c:314
HECMW_ctrllex_get_number
double HECMW_ctrllex_get_number(void)
hecmw_ctrllex.h
yy_scan_buffer
#define yy_scan_buffer
Definition: hecmw_ctrllex.c:10
yyget_debug
#define yyget_debug
Definition: hecmw_ctrllex.c:146
HECMW_CTRLLEX_K_GEOFEM
@ HECMW_CTRLLEX_K_GEOFEM
Definition: hecmw_ctrllex.h:31
yyset_debug
#define yyset_debug
Definition: hecmw_ctrllex.c:152
HECMW_CTRLLEX_K_IN
@ HECMW_CTRLLEX_K_IN
Definition: hecmw_ctrllex.h:34
yypop_buffer_state
#define yypop_buffer_state
Definition: hecmw_ctrllex.c:18
yywrap
#define yywrap
Definition: hecmw_ctrllex.c:28
yy_trans_info
Definition: hecmw_ablex.c:617
yyleng
#define yyleng
Definition: hecmw_ctrllex.c:22
yyless
#define yyless(n)
Definition: hecmw_ctrllex.c:428
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_ctrllex.c:584
YY_BUFFER_NEW
#define YY_BUFFER_NEW
Definition: hecmw_ctrllex.c:490
yy_buffer_state::yy_input_file
FILE * yy_input_file
Definition: hecmw_ablex.c:446
YY_EXTRA_TYPE
#define YY_EXTRA_TYPE
Definition: hecmw_ctrllex.c:911
HECMW_CTRLLEX_INT
@ HECMW_CTRLLEX_INT
Definition: hecmw_ctrllex.h:16
HECMW_ctrllex_get_lineno
int HECMW_ctrllex_get_lineno(void)
yyget_extra
#define yyget_extra
Definition: hecmw_ctrllex.c:158
YY_MORE_ADJ
#define YY_MORE_ADJ
Definition: hecmw_ctrllex.c:877
HECMW_CTRLLEX_FILENAME
@ HECMW_CTRLLEX_FILENAME
Definition: hecmw_ctrllex.h:19
yy_buffer_state
Definition: hecmw_ablex.c:444
yyrealloc
#define yyrealloc
Definition: hecmw_ctrllex.c:30
yylineno
#define yylineno
Definition: hecmw_ctrllex.c:24
YY_BUF_SIZE
#define YY_BUF_SIZE
Definition: hecmw_ctrllex.c:398
yy_delete_buffer
#define yy_delete_buffer
Definition: hecmw_ctrllex.c:9
HECMW_CTRLLEX_K_DIR
@ HECMW_CTRLLEX_K_DIR
Definition: hecmw_ctrllex.h:29
yy_size_t
size_t yy_size_t
Definition: hecmw_ctrllex.c:413
yytext
#define yytext
Definition: hecmw_ctrllex.c:27
HECMW_CTRLLEX_K_NAME
@ HECMW_CTRLLEX_K_NAME
Definition: hecmw_ctrllex.h:38
yytext_ptr
#define yytext_ptr
Definition: hecmw_ctrllex.c:597
HECMW_CTRLLEX_K_TYPE
@ HECMW_CTRLLEX_K_TYPE
Definition: hecmw_ctrllex.h:44
yy_switch_to_buffer
#define yy_switch_to_buffer
Definition: hecmw_ctrllex.c:16
yyfree
#define yyfree
Definition: hecmw_ctrllex.c:31
yy_load_buffer_state
#define yy_load_buffer_state
Definition: hecmw_ctrllex.c:15
YY_BUFFER_EOF_PENDING
#define YY_BUFFER_EOF_PENDING
Definition: hecmw_ctrllex.c:502
yyensure_buffer_stack
#define yyensure_buffer_stack
Definition: hecmw_ctrllex.c:19
HECMW_CTRLLEX_NAME
@ HECMW_CTRLLEX_NAME
Definition: hecmw_ctrllex.h:18
HECMW_CTRLLEX_H_SUBDIR
@ HECMW_CTRLLEX_H_SUBDIR
Definition: hecmw_ctrllex.h:26
YY_NEW_FILE
#define YY_NEW_FILE
Definition: hecmw_ctrllex.c:386
yy_buffer_state::yy_at_bol
int yy_at_bol
Definition: hecmw_ablex.c:478
yyset_extra
#define yyset_extra
Definition: hecmw_ctrllex.c:164
yy_buffer_state::yy_is_our_buffer
int yy_is_our_buffer
Definition: hecmw_ablex.c:465
YY_SC_TO_UI
#define YY_SC_TO_UI(c)
Definition: hecmw_ctrllex.c:370
YY_EXIT_FAILURE
#define YY_EXIT_FAILURE
yypush_buffer_state
#define yypush_buffer_state
Definition: hecmw_ctrllex.c:17
HECMW_ctrllex_skip_line
int HECMW_ctrllex_skip_line(void)
yyrestart
#define yyrestart
Definition: hecmw_ctrllex.c:26
HECMW_CTRLLEX_K_NASTRAN
@ HECMW_CTRLLEX_K_NASTRAN
Definition: hecmw_ctrllex.h:39
EOB_ACT_LAST_MATCH
#define EOB_ACT_LAST_MATCH
Definition: hecmw_ctrllex.c:422
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_ctrllex.c:312
HECMW_CTRLLEX_NL
@ HECMW_CTRLLEX_NL
Definition: hecmw_ctrllex.h:15
YYSTYPE
Definition: hecmw_ablex.c:1613
HECMW_CTRLLEX_K_INOUT
@ HECMW_CTRLLEX_K_INOUT
Definition: hecmw_ctrllex.h:35
HECMW_CTRLLEX_K_OFF
@ HECMW_CTRLLEX_K_OFF
Definition: hecmw_ctrllex.h:41
HECMW_CTRLLEX_H_MESH_GROUP
@ HECMW_CTRLLEX_H_MESH_GROUP
Definition: hecmw_ctrllex.h:23
YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER
Definition: hecmw_ctrllex.c:518
HECMW_CTRLLEX_H_RESULT
@ HECMW_CTRLLEX_H_RESULT
Definition: hecmw_ctrllex.h:24
yy_act
int yy_act
Definition: hecmw_ctrllex.c:1087
HECMW_CTRLLEX_K_IO
@ HECMW_CTRLLEX_K_IO
Definition: hecmw_ctrllex.h:36
HECMW_ctrllex_unput_token
int HECMW_ctrllex_unput_token(void)
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_ablex.c:584
yylex
#define yylex
Definition: hecmw_ctrllex.c:23
YY_BUFFER_NORMAL
#define YY_BUFFER_NORMAL
Definition: hecmw_ctrllex.c:491
yy_buffer_state::yy_fill_buffer
int yy_fill_buffer
Definition: hecmw_ablex.c:486
flex_int32_t
int flex_int32_t
Definition: hecmw_ctrllex.c:311
yyget_out
#define yyget_out
Definition: hecmw_ctrllex.c:182
yyset_lineno
#define yyset_lineno
Definition: hecmw_ctrllex.c:212
yy_buffer_state::yy_buf_size
int yy_buf_size
Definition: hecmw_ablex.c:454
yy_cp
char * yy_cp
Definition: hecmw_ctrllex.c:1086
YY_END_OF_BUFFER_CHAR
#define YY_END_OF_BUFFER_CHAR
Definition: hecmw_ctrllex.c:387
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
yylex_destroy
#define yylex_destroy
Definition: hecmw_ctrllex.c:140
YY_DECL
#define YY_DECL
Definition: hecmw_ctrllex.c:1060
HECMW_CTRLLEX_K_HECMW_ENTIRE
@ HECMW_CTRLLEX_K_HECMW_ENTIRE
Definition: hecmw_ctrllex.h:33
yyget_lineno
#define yyget_lineno
Definition: hecmw_ctrllex.c:206
yy_flex_debug
#define yy_flex_debug
Definition: hecmw_ctrllex.c:20
EOB_ACT_CONTINUE_SCAN
#define EOB_ACT_CONTINUE_SCAN
Definition: hecmw_ctrllex.c:420
HECMW_CTRLLEX_H_RESTART
@ HECMW_CTRLLEX_H_RESTART
Definition: hecmw_ctrllex.h:25
flex_int16_t
short int flex_int16_t
Definition: hecmw_ctrllex.c:310
HECMW_CTRLLEX_K_HECMW_DIST
@ HECMW_CTRLLEX_K_HECMW_DIST
Definition: hecmw_ctrllex.h:32
yyin
#define yyin
Definition: hecmw_ctrllex.c:21
yy_bp
char * yy_bp
Definition: hecmw_ctrllex.c:1086
YYSTYPE::str
char * str
Definition: hecmw_ablex.c:1615
YY_AT_BOL
#define YY_AT_BOL()
Definition: hecmw_ctrllex.c:581
YYSTYPE::dval
double dval
Definition: hecmw_ablex.c:1614
yyalloc
#define yyalloc
Definition: hecmw_ctrllex.c:29
yynoreturn
#define yynoreturn
Definition: hecmw_ctrllex.c:361
yy_init_buffer
#define yy_init_buffer
Definition: hecmw_ctrllex.c:13
YY_END_OF_BUFFER
#define YY_END_OF_BUFFER
Definition: hecmw_ctrllex.c:614
yyset_out
#define yyset_out
Definition: hecmw_ctrllex.c:188
flex_uint16_t
unsigned short int flex_uint16_t
Definition: hecmw_ctrllex.c:313
EOB_ACT_END_OF_FILE
#define EOB_ACT_END_OF_FILE
Definition: hecmw_ctrllex.c:421
HECMW_ctrllex_set_input
int HECMW_ctrllex_set_input(FILE *fp)
yy_scan_bytes
#define yy_scan_bytes
Definition: hecmw_ctrllex.c:12
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_trans_info::yy_nxt
flex_int32_t yy_nxt
Definition: hecmw_ablex.c:620
HECMW_CTRLLEX_K_LIMIT
@ HECMW_CTRLLEX_K_LIMIT
Definition: hecmw_ctrllex.h:37
HECMW_CTRLLEX_K_FEMAP
@ HECMW_CTRLLEX_K_FEMAP
Definition: hecmw_ctrllex.h:30
yyget_in
#define yyget_in
Definition: hecmw_ctrllex.c:170
yy_trans_info::yy_verify
flex_int32_t yy_verify
Definition: hecmw_ablex.c:619
HECMW_ctrllex_next_token
int HECMW_ctrllex_next_token(void)
HECMW_CTRLLEX_K_ABAQUS
@ HECMW_CTRLLEX_K_ABAQUS
Definition: hecmw_ctrllex.h:28
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_CTRLLEX_K_OUT
@ HECMW_CTRLLEX_K_OUT
Definition: hecmw_ctrllex.h:42
YY_BREAK
#define YY_BREAK
Definition: hecmw_ctrllex.c:1072
YY_RULE_SETUP
#define YY_RULE_SETUP
Definition: hecmw_ctrllex.c:1075
yyget_leng
#define yyget_leng
Definition: hecmw_ctrllex.c:194
yy_buffer_state::yy_is_interactive
int yy_is_interactive
Definition: hecmw_ablex.c:472
yy_flush_buffer
#define yy_flush_buffer
Definition: hecmw_ctrllex.c:14
ECHO
#define ECHO
Definition: hecmw_ctrllex.c:993
YY_BUFFER_STATE
struct yy_buffer_state * YY_BUFFER_STATE
Definition: hecmw_ctrllex.c:408
HECMW_CTRLLEX_DOUBLE
@ HECMW_CTRLLEX_DOUBLE
Definition: hecmw_ctrllex.h:17
yyget_text
#define yyget_text
Definition: hecmw_ctrllex.c:200
YY_INPUT
#define YY_INPUT(buf, result, max_size)
Definition: hecmw_ctrllex.c:1000
yy_size_t
size_t yy_size_t
Definition: hecmw_ablex.c:413
flex_int8_t
signed char flex_int8_t
Definition: hecmw_ctrllex.c:309
YY_STATE_EOF
#define YY_STATE_EOF(state)
Definition: hecmw_ctrllex.c:384
yyout
#define yyout
Definition: hecmw_ctrllex.c:25
YY_RESTORE_YY_MORE_OFFSET
#define YY_RESTORE_YY_MORE_OFFSET
Definition: hecmw_ctrllex.c:878
flex_int32_t
int flex_int32_t
Definition: hecmw_ablex.c:311
YY_DO_BEFORE_ACTION
#define YY_DO_BEFORE_ACTION
Definition: hecmw_ctrllex.c:607
YY_START
#define YY_START
Definition: hecmw_ctrllex.c:381
YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER_LVALUE
Definition: hecmw_ctrllex.c:524
NULL
#define NULL
Definition: hecmw_io_nastran.c:30
YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg)
Definition: hecmw_ctrllex.c:1047
INITIAL
#define INITIAL
Definition: hecmw_ctrllex.c:900
YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE
Definition: hecmw_ctrllex.c:984
HECMW_CTRLLEX_K_REFINE
@ HECMW_CTRLLEX_K_REFINE
Definition: hecmw_ctrllex.h:43
hecmw_util.h
HECMW_CTRLLEX_K_ON
@ HECMW_CTRLLEX_K_ON
Definition: hecmw_ctrllex.h:40
HECMW_CTRLLEX_H_CONTROL
@ HECMW_CTRLLEX_H_CONTROL
Definition: hecmw_ctrllex.h:21
yy_buffer_state::yy_bs_lineno
int yy_bs_lineno
Definition: hecmw_ablex.c:480
HECMW_CTRLLEX_H_MESH
@ HECMW_CTRLLEX_H_MESH
Definition: hecmw_ctrllex.h:22
yy_state_type
int yy_state_type
Definition: hecmw_ctrllex.c:588
yyset_in
#define yyset_in
Definition: hecmw_ctrllex.c:176