FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_partlex.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_part_create_buffer
9 #define yy_delete_buffer HECMW_part_delete_buffer
10 #define yy_scan_buffer HECMW_part_scan_buffer
11 #define yy_scan_string HECMW_part_scan_string
12 #define yy_scan_bytes HECMW_part_scan_bytes
13 #define yy_init_buffer HECMW_part_init_buffer
14 #define yy_flush_buffer HECMW_part_flush_buffer
15 #define yy_load_buffer_state HECMW_part_load_buffer_state
16 #define yy_switch_to_buffer HECMW_part_switch_to_buffer
17 #define yypush_buffer_state HECMW_partpush_buffer_state
18 #define yypop_buffer_state HECMW_partpop_buffer_state
19 #define yyensure_buffer_stack HECMW_partensure_buffer_stack
20 #define yy_flex_debug HECMW_part_flex_debug
21 #define yyin HECMW_partin
22 #define yyleng HECMW_partleng
23 #define yylex HECMW_partlex
24 #define yylineno HECMW_partlineno
25 #define yyout HECMW_partout
26 #define yyrestart HECMW_partrestart
27 #define yytext HECMW_parttext
28 #define yywrap HECMW_partwrap
29 #define yyalloc HECMW_partalloc
30 #define yyrealloc HECMW_partrealloc
31 #define yyfree HECMW_partfree
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_part_create_buffer_ALREADY_DEFINED
43 #else
44 #define yy_create_buffer HECMW_part_create_buffer
45 #endif
46 
47 #ifdef yy_delete_buffer
48 #define HECMW_part_delete_buffer_ALREADY_DEFINED
49 #else
50 #define yy_delete_buffer HECMW_part_delete_buffer
51 #endif
52 
53 #ifdef yy_scan_buffer
54 #define HECMW_part_scan_buffer_ALREADY_DEFINED
55 #else
56 #define yy_scan_buffer HECMW_part_scan_buffer
57 #endif
58 
59 #ifdef yy_scan_string
60 #define HECMW_part_scan_string_ALREADY_DEFINED
61 #else
62 #define yy_scan_string HECMW_part_scan_string
63 #endif
64 
65 #ifdef yy_scan_bytes
66 #define HECMW_part_scan_bytes_ALREADY_DEFINED
67 #else
68 #define yy_scan_bytes HECMW_part_scan_bytes
69 #endif
70 
71 #ifdef yy_init_buffer
72 #define HECMW_part_init_buffer_ALREADY_DEFINED
73 #else
74 #define yy_init_buffer HECMW_part_init_buffer
75 #endif
76 
77 #ifdef yy_flush_buffer
78 #define HECMW_part_flush_buffer_ALREADY_DEFINED
79 #else
80 #define yy_flush_buffer HECMW_part_flush_buffer
81 #endif
82 
83 #ifdef yy_load_buffer_state
84 #define HECMW_part_load_buffer_state_ALREADY_DEFINED
85 #else
86 #define yy_load_buffer_state HECMW_part_load_buffer_state
87 #endif
88 
89 #ifdef yy_switch_to_buffer
90 #define HECMW_part_switch_to_buffer_ALREADY_DEFINED
91 #else
92 #define yy_switch_to_buffer HECMW_part_switch_to_buffer
93 #endif
94 
95 #ifdef yypush_buffer_state
96 #define HECMW_partpush_buffer_state_ALREADY_DEFINED
97 #else
98 #define yypush_buffer_state HECMW_partpush_buffer_state
99 #endif
100 
101 #ifdef yypop_buffer_state
102 #define HECMW_partpop_buffer_state_ALREADY_DEFINED
103 #else
104 #define yypop_buffer_state HECMW_partpop_buffer_state
105 #endif
106 
107 #ifdef yyensure_buffer_stack
108 #define HECMW_partensure_buffer_stack_ALREADY_DEFINED
109 #else
110 #define yyensure_buffer_stack HECMW_partensure_buffer_stack
111 #endif
112 
113 #ifdef yylex
114 #define HECMW_partlex_ALREADY_DEFINED
115 #else
116 #define yylex HECMW_partlex
117 #endif
118 
119 #ifdef yyrestart
120 #define HECMW_partrestart_ALREADY_DEFINED
121 #else
122 #define yyrestart HECMW_partrestart
123 #endif
124 
125 #ifdef yylex_init
126 #define HECMW_partlex_init_ALREADY_DEFINED
127 #else
128 #define yylex_init HECMW_partlex_init
129 #endif
130 
131 #ifdef yylex_init_extra
132 #define HECMW_partlex_init_extra_ALREADY_DEFINED
133 #else
134 #define yylex_init_extra HECMW_partlex_init_extra
135 #endif
136 
137 #ifdef yylex_destroy
138 #define HECMW_partlex_destroy_ALREADY_DEFINED
139 #else
140 #define yylex_destroy HECMW_partlex_destroy
141 #endif
142 
143 #ifdef yyget_debug
144 #define HECMW_partget_debug_ALREADY_DEFINED
145 #else
146 #define yyget_debug HECMW_partget_debug
147 #endif
148 
149 #ifdef yyset_debug
150 #define HECMW_partset_debug_ALREADY_DEFINED
151 #else
152 #define yyset_debug HECMW_partset_debug
153 #endif
154 
155 #ifdef yyget_extra
156 #define HECMW_partget_extra_ALREADY_DEFINED
157 #else
158 #define yyget_extra HECMW_partget_extra
159 #endif
160 
161 #ifdef yyset_extra
162 #define HECMW_partset_extra_ALREADY_DEFINED
163 #else
164 #define yyset_extra HECMW_partset_extra
165 #endif
166 
167 #ifdef yyget_in
168 #define HECMW_partget_in_ALREADY_DEFINED
169 #else
170 #define yyget_in HECMW_partget_in
171 #endif
172 
173 #ifdef yyset_in
174 #define HECMW_partset_in_ALREADY_DEFINED
175 #else
176 #define yyset_in HECMW_partset_in
177 #endif
178 
179 #ifdef yyget_out
180 #define HECMW_partget_out_ALREADY_DEFINED
181 #else
182 #define yyget_out HECMW_partget_out
183 #endif
184 
185 #ifdef yyset_out
186 #define HECMW_partset_out_ALREADY_DEFINED
187 #else
188 #define yyset_out HECMW_partset_out
189 #endif
190 
191 #ifdef yyget_leng
192 #define HECMW_partget_leng_ALREADY_DEFINED
193 #else
194 #define yyget_leng HECMW_partget_leng
195 #endif
196 
197 #ifdef yyget_text
198 #define HECMW_partget_text_ALREADY_DEFINED
199 #else
200 #define yyget_text HECMW_partget_text
201 #endif
202 
203 #ifdef yyget_lineno
204 #define HECMW_partget_lineno_ALREADY_DEFINED
205 #else
206 #define yyget_lineno HECMW_partget_lineno
207 #endif
208 
209 #ifdef yyset_lineno
210 #define HECMW_partset_lineno_ALREADY_DEFINED
211 #else
212 #define yyset_lineno HECMW_partset_lineno
213 #endif
214 
215 #ifdef yywrap
216 #define HECMW_partwrap_ALREADY_DEFINED
217 #else
218 #define yywrap HECMW_partwrap
219 #endif
220 
221 #ifdef yyalloc
222 #define HECMW_partalloc_ALREADY_DEFINED
223 #else
224 #define yyalloc HECMW_partalloc
225 #endif
226 
227 #ifdef yyrealloc
228 #define HECMW_partrealloc_ALREADY_DEFINED
229 #else
230 #define yyrealloc HECMW_partrealloc
231 #endif
232 
233 #ifdef yyfree
234 #define HECMW_partfree_ALREADY_DEFINED
235 #else
236 #define yyfree HECMW_partfree
237 #endif
238 
239 #ifdef yytext
240 #define HECMW_parttext_ALREADY_DEFINED
241 #else
242 #define yytext HECMW_parttext
243 #endif
244 
245 #ifdef yyleng
246 #define HECMW_partleng_ALREADY_DEFINED
247 #else
248 #define yyleng HECMW_partleng
249 #endif
250 
251 #ifdef yyin
252 #define HECMW_partin_ALREADY_DEFINED
253 #else
254 #define yyin HECMW_partin
255 #endif
256 
257 #ifdef yyout
258 #define HECMW_partout_ALREADY_DEFINED
259 #else
260 #define yyout HECMW_partout
261 #endif
262 
263 #ifdef yy_flex_debug
264 #define HECMW_part_flex_debug_ALREADY_DEFINED
265 #else
266 #define yy_flex_debug HECMW_part_flex_debug
267 #endif
268 
269 #ifdef yylineno
270 #define HECMW_partlineno_ALREADY_DEFINED
271 #else
272 #define yylineno HECMW_partlineno
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 32
614 #define YY_END_OF_BUFFER 33
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[154] =
623  { 0,
624  0, 0, 33, 31, 2, 3, 31, 31, 23, 30,
625  28, 30, 27, 22, 29, 29, 29, 29, 29, 29,
626  29, 29, 29, 29, 29, 29, 29, 24, 25, 26,
627  31, 31, 2, 3, 28, 27, 30, 28, 27, 28,
628  30, 29, 29, 29, 29, 29, 29, 29, 29, 29,
629  29, 29, 29, 29, 29, 29, 29, 29, 0, 0,
630  0, 1, 0, 28, 0, 0, 30, 28, 29, 29,
631  29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
632  12, 29, 29, 9, 29, 0, 28, 29, 29, 29,
633  29, 29, 29, 29, 29, 29, 29, 11, 29, 29,
634 
635  6, 16, 0, 29, 29, 29, 8, 29, 29, 29,
636  29, 29, 29, 29, 29, 0, 29, 29, 29, 29,
637  7, 29, 13, 5, 29, 14, 21, 0, 29, 10,
638  18, 29, 29, 29, 0, 29, 29, 29, 29, 0,
639  19, 29, 29, 29, 0, 20, 29, 15, 4, 29,
640  29, 17, 0
641  } ;
642 
643 static const YY_CHAR yy_ec[256] =
644  { 0,
645  1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
646  1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
647  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
648  1, 2, 5, 1, 6, 1, 1, 1, 1, 1,
649  1, 1, 7, 8, 9, 10, 11, 12, 12, 12,
650  12, 12, 12, 12, 12, 12, 12, 1, 1, 1,
651  13, 1, 1, 1, 14, 15, 16, 17, 18, 19,
652  20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
653  23, 30, 31, 32, 33, 23, 23, 23, 34, 23,
654  1, 1, 1, 1, 23, 1, 23, 23, 23, 23,
655 
656  35, 23, 23, 23, 23, 23, 23, 23, 23, 23,
657  23, 23, 23, 23, 23, 23, 23, 23, 23, 36,
658  37, 38, 1, 1, 1, 1, 1, 1, 1, 1,
659  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
660  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
661  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
662  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
663  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
664  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
665  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
666 
667  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
668  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
669  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
670  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
671  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
672  1, 1, 1, 1, 1
673  } ;
674 
675 static const YY_CHAR yy_meta[39] =
676  { 0,
677  1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
678  2, 2, 1, 2, 2, 2, 2, 2, 2, 2,
679  2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
680  2, 2, 2, 2, 2, 2, 2, 2
681  } ;
682 
683 static const flex_int16_t yy_base[157] =
684  { 0,
685  0, 34, 167, 452, 156, 452, 148, 31, 452, 32,
686  33, 0, 36, 452, 39, 42, 44, 47, 51, 53,
687  56, 60, 67, 73, 75, 80, 84, 88, 91, 93,
688  51, 102, 143, 452, 95, 98, 0, 99, 106, 107,
689  114, 117, 121, 125, 127, 129, 133, 137, 139, 143,
690  151, 153, 155, 159, 161, 166, 168, 170, 186, 119,
691  188, 452, 190, 184, 191, 117, 112, 110, 194, 196,
692  198, 200, 203, 206, 211, 215, 219, 223, 228, 232,
693  234, 238, 240, 242, 244, 90, 100, 251, 261, 246,
694  255, 267, 270, 272, 274, 276, 284, 278, 288, 290,
695 
696  292, 295, 77, 297, 302, 309, 311, 313, 315, 317,
697  319, 321, 326, 329, 335, 74, 337, 344, 346, 348,
698  351, 354, 356, 358, 360, 362, 369, 60, 371, 373,
699  377, 379, 382, 384, 65, 386, 388, 390, 396, 54,
700  398, 400, 411, 406, 46, 416, 418, 420, 452, 422,
701  424, 426, 452, 58, 45, 449
702  } ;
703 
704 static const flex_int16_t yy_def[157] =
705  { 0,
706  153, 1, 153, 153, 153, 153, 153, 153, 153, 154,
707  154, 154, 154, 153, 155, 155, 155, 155, 155, 155,
708  155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
709  153, 156, 153, 153, 153, 153, 154, 154, 154, 154,
710  154, 155, 155, 155, 155, 155, 155, 155, 155, 155,
711  155, 155, 155, 155, 155, 155, 155, 155, 156, 153,
712  156, 153, 156, 153, 153, 153, 154, 154, 155, 155,
713  155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
714  155, 155, 155, 155, 155, 153, 153, 155, 155, 155,
715  155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
716 
717  155, 155, 153, 155, 155, 155, 155, 155, 155, 155,
718  155, 155, 155, 155, 155, 153, 155, 155, 155, 155,
719  155, 155, 155, 155, 155, 155, 155, 153, 155, 155,
720  155, 155, 155, 155, 153, 155, 155, 155, 155, 153,
721  155, 155, 155, 155, 153, 155, 155, 155, 153, 155,
722  155, 155, 0, 153, 153, 153
723  } ;
724 
725 static const flex_int16_t yy_nxt[491] =
726  { 0,
727  4, 5, 6, 7, 4, 4, 8, 9, 10, 11,
728  12, 13, 14, 15, 16, 17, 18, 19, 16, 16,
729  16, 16, 16, 20, 16, 21, 22, 16, 23, 24,
730  25, 26, 27, 16, 16, 28, 29, 30, 31, 32,
731  35, 38, 36, 39, 40, 38, 42, 39, 37, 37,
732  41, 37, 37, 37, 37, 59, 37, 37, 43, 37,
733  37, 37, 37, 37, 45, 37, 37, 41, 46, 37,
734  37, 44, 149, 50, 47, 48, 37, 37, 49, 60,
735  52, 145, 37, 37, 37, 37, 140, 51, 54, 37,
736  37, 135, 53, 37, 37, 128, 55, 37, 37, 57,
737 
738  37, 37, 37, 37, 62, 63, 64, 35, 116, 36,
739  40, 87, 65, 56, 58, 38, 41, 39, 40, 103,
740  66, 68, 67, 68, 41, 68, 37, 37, 87, 65,
741  37, 37, 86, 41, 37, 37, 37, 37, 37, 37,
742  69, 41, 37, 37, 33, 71, 37, 37, 37, 37,
743  34, 70, 37, 37, 75, 72, 76, 33, 74, 73,
744  37, 37, 37, 37, 37, 37, 153, 78, 37, 37,
745  37, 37, 80, 81, 77, 37, 37, 37, 37, 37,
746  37, 153, 79, 153, 84, 153, 82, 85, 62, 63,
747  62, 63, 62, 63, 83, 64, 153, 66, 153, 66,
748 
749  153, 65, 87, 37, 37, 37, 37, 37, 37, 37,
750  37, 90, 37, 37, 153, 37, 37, 153, 65, 93,
751  37, 37, 153, 88, 37, 37, 153, 89, 37, 37,
752  153, 91, 37, 37, 92, 153, 94, 37, 37, 96,
753  97, 37, 37, 37, 37, 153, 95, 37, 37, 37,
754  37, 37, 37, 37, 37, 37, 37, 101, 153, 98,
755  37, 37, 153, 99, 37, 37, 100, 153, 104, 153,
756  37, 37, 153, 102, 105, 107, 37, 37, 106, 37,
757  37, 37, 37, 37, 37, 37, 37, 37, 37, 110,
758  153, 109, 113, 37, 37, 111, 108, 37, 37, 37,
759 
760  37, 37, 37, 112, 37, 37, 37, 37, 153, 114,
761  153, 37, 37, 153, 115, 153, 117, 118, 37, 37,
762  37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
763  37, 37, 153, 119, 120, 37, 37, 124, 37, 37,
764  125, 121, 153, 122, 37, 37, 37, 37, 153, 123,
765  129, 153, 127, 37, 37, 37, 37, 37, 37, 126,
766  37, 37, 132, 37, 37, 37, 37, 37, 37, 37,
767  37, 37, 37, 134, 153, 130, 153, 131, 37, 37,
768  37, 37, 37, 37, 153, 133, 37, 37, 37, 37,
769  138, 37, 37, 37, 37, 37, 37, 37, 37, 37,
770 
771  37, 153, 136, 141, 143, 37, 37, 37, 37, 37,
772  37, 137, 153, 144, 139, 37, 37, 146, 153, 142,
773  37, 37, 148, 153, 147, 37, 37, 37, 37, 37,
774  37, 37, 37, 37, 37, 37, 37, 153, 153, 151,
775  152, 153, 153, 153, 153, 153, 153, 153, 150, 61,
776  61, 3, 153, 153, 153, 153, 153, 153, 153, 153,
777  153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
778  153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
779  153, 153, 153, 153, 153, 153, 153, 153, 153, 153
780  } ;
781 
782 static const flex_int16_t yy_chk[491] =
783  { 0,
784  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
785  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
786  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
787  1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
788  8, 10, 8, 10, 11, 13, 155, 13, 15, 15,
789  11, 16, 16, 17, 17, 31, 18, 18, 15, 154,
790  19, 19, 20, 20, 18, 21, 21, 11, 18, 22,
791  22, 17, 145, 21, 18, 19, 23, 23, 20, 31,
792  23, 140, 24, 24, 25, 25, 135, 22, 24, 26,
793  26, 128, 23, 27, 27, 116, 25, 28, 28, 27,
794 
795  29, 29, 30, 30, 32, 32, 35, 36, 103, 36,
796  38, 87, 35, 26, 27, 39, 38, 39, 40, 86,
797  41, 68, 41, 67, 40, 41, 42, 42, 66, 35,
798  43, 43, 60, 38, 44, 44, 45, 45, 46, 46,
799  43, 40, 47, 47, 33, 45, 48, 48, 49, 49,
800  7, 44, 50, 50, 48, 45, 49, 5, 47, 46,
801  51, 51, 52, 52, 53, 53, 3, 51, 54, 54,
802  55, 55, 53, 54, 50, 56, 56, 57, 57, 58,
803  58, 0, 52, 0, 57, 0, 55, 58, 59, 59,
804  61, 61, 63, 63, 56, 64, 0, 65, 0, 65,
805 
806  0, 64, 65, 69, 69, 70, 70, 71, 71, 72,
807  72, 71, 73, 73, 0, 74, 74, 0, 64, 74,
808  75, 75, 0, 69, 76, 76, 0, 70, 77, 77,
809  0, 72, 78, 78, 73, 0, 75, 79, 79, 77,
810  78, 80, 80, 81, 81, 0, 76, 82, 82, 83,
811  83, 84, 84, 85, 85, 90, 90, 83, 0, 79,
812  88, 88, 0, 80, 91, 91, 82, 0, 88, 0,
813  89, 89, 0, 85, 89, 91, 92, 92, 90, 93,
814  93, 94, 94, 95, 95, 96, 96, 98, 98, 94,
815  0, 93, 97, 97, 97, 95, 92, 99, 99, 100,
816 
817  100, 101, 101, 96, 102, 102, 104, 104, 0, 99,
818  0, 105, 105, 0, 100, 0, 104, 105, 106, 106,
819  107, 107, 108, 108, 109, 109, 110, 110, 111, 111,
820  112, 112, 0, 106, 108, 113, 113, 112, 114, 114,
821  113, 109, 0, 110, 115, 115, 117, 117, 0, 111,
822  117, 0, 115, 118, 118, 119, 119, 120, 120, 114,
823  121, 121, 120, 122, 122, 123, 123, 124, 124, 125,
824  125, 126, 126, 125, 0, 118, 0, 119, 127, 127,
825  129, 129, 130, 130, 0, 122, 131, 131, 132, 132,
826  133, 133, 133, 134, 134, 136, 136, 137, 137, 138,
827 
828  138, 0, 129, 136, 138, 139, 139, 141, 141, 142,
829  142, 132, 0, 139, 134, 144, 144, 142, 0, 137,
830  143, 143, 144, 0, 143, 146, 146, 147, 147, 148,
831  148, 150, 150, 151, 151, 152, 152, 0, 0, 150,
832  151, 0, 0, 0, 0, 0, 0, 0, 147, 156,
833  156, 153, 153, 153, 153, 153, 153, 153, 153, 153,
834  153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
835  153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
836  153, 153, 153, 153, 153, 153, 153, 153, 153, 153
837  } ;
838 
839 static yy_state_type yy_last_accepting_state;
840 static char *yy_last_accepting_cpos;
841 
842 extern int yy_flex_debug;
844 
845 /* The intent behind this definition is that it'll catch
846  * any uses of REJECT which flex missed.
847  */
848 #define REJECT reject_used_but_not_detected
849 #define yymore() yymore_used_but_not_detected
850 #define YY_MORE_ADJ 0
851 #define YY_RESTORE_YY_MORE_OFFSET
852 char *yytext;
853 #line 1 "../tools/partitioner/hecmw_partlex.l"
854 #line 2 "../tools/partitioner/hecmw_partlex.l"
855 #include <string.h>
856 #include <errno.h>
857 #include "hecmw_partlex.h"
858 
859 typedef union {
860  double dval;
861  char *str;
862 } YYSTYPE;
863 
864 static YYSTYPE yylval;
865 static int lineno;
866 static long len = 0;
867 
868 #line 869 "<stdout>"
869 #line 870 "<stdout>"
870 
871 #define INITIAL 0
872 
873 #ifndef YY_NO_UNISTD_H
874 /* Special case for "unistd.h", since it is non-ANSI. We include it way
875  * down here because we want the user's section 1 to have been scanned first.
876  * The user has a chance to override it with an option.
877  */
878 #include <unistd.h>
879 #endif
880 
881 #ifndef YY_EXTRA_TYPE
882 #define YY_EXTRA_TYPE void *
883 #endif
884 
885 static int yy_init_globals ( void );
886 
887 /* Accessor methods to globals.
888  These are made visible to non-reentrant scanners for convenience. */
889 
890 int yylex_destroy ( void );
891 
892 int yyget_debug ( void );
893 
894 void yyset_debug ( int debug_flag );
895 
896 YY_EXTRA_TYPE yyget_extra ( void );
897 
898 void yyset_extra ( YY_EXTRA_TYPE user_defined );
899 
900 FILE *yyget_in ( void );
901 
902 void yyset_in ( FILE * _in_str );
903 
904 FILE *yyget_out ( void );
905 
906 void yyset_out ( FILE * _out_str );
907 
908  int yyget_leng ( void );
909 
910 char *yyget_text ( void );
911 
912 int yyget_lineno ( void );
913 
914 void yyset_lineno ( int _line_number );
915 
916 /* Macros after this point can all be overridden by user definitions in
917  * section 1.
918  */
919 
920 #ifndef YY_SKIP_YYWRAP
921 #ifdef __cplusplus
922 extern "C" int yywrap ( void );
923 #else
924 extern int yywrap ( void );
925 #endif
926 #endif
927 
928 #ifndef YY_NO_UNPUT
929 
930 #endif
931 
932 #ifndef yytext_ptr
933 static void yy_flex_strncpy ( char *, const char *, int );
934 #endif
935 
936 #ifdef YY_NEED_STRLEN
937 static int yy_flex_strlen ( const char * );
938 #endif
939 
940 #ifndef YY_NO_INPUT
941 #ifdef __cplusplus
942 static int yyinput ( void );
943 #else
944 static int input ( void );
945 #endif
946 
947 #endif
948 
949 /* Amount of stuff to slurp up with each read. */
950 #ifndef YY_READ_BUF_SIZE
951 #ifdef __ia64__
952 /* On IA-64, the buffer size is 16k, not 8k */
953 #define YY_READ_BUF_SIZE 16384
954 #else
955 #define YY_READ_BUF_SIZE 8192
956 #endif /* __ia64__ */
957 #endif
958 
959 /* Copy whatever the last rule matched to the standard output. */
960 #ifndef ECHO
961 /* This used to be an fputs(), but since the string might contain NUL's,
962  * we now use fwrite().
963  */
964 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
965 #endif
966 
967 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
968  * is returned in "result".
969  */
970 #ifndef YY_INPUT
971 #define YY_INPUT(buf,result,max_size) \
972  if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
973  { \
974  int c = '*'; \
975  int n; \
976  for ( n = 0; n < max_size && \
977  (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
978  buf[n] = (char) c; \
979  if ( c == '\n' ) \
980  buf[n++] = (char) c; \
981  if ( c == EOF && ferror( yyin ) ) \
982  YY_FATAL_ERROR( "input in flex scanner failed" ); \
983  result = n; \
984  } \
985  else \
986  { \
987  errno=0; \
988  while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
989  { \
990  if( errno != EINTR) \
991  { \
992  YY_FATAL_ERROR( "input in flex scanner failed" ); \
993  break; \
994  } \
995  errno=0; \
996  clearerr(yyin); \
997  } \
998  }\
999 \
1000 
1001 #endif
1002 
1003 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1004  * we don't want an extra ';' after the "return" because that will cause
1005  * some compilers to complain about unreachable statements.
1006  */
1007 #ifndef yyterminate
1008 #define yyterminate() return YY_NULL
1009 #endif
1010 
1011 /* Number of entries by which start-condition stack grows. */
1012 #ifndef YY_START_STACK_INCR
1013 #define YY_START_STACK_INCR 25
1014 #endif
1015 
1016 /* Report a fatal error. */
1017 #ifndef YY_FATAL_ERROR
1018 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1019 #endif
1020 
1021 /* end tables serialization structures and prototypes */
1022 
1023 /* Default declaration of generated scanner - a define so the user can
1024  * easily add parameters.
1025  */
1026 #ifndef YY_DECL
1027 #define YY_DECL_IS_OURS 1
1028 
1029 extern int yylex (void);
1030 
1031 #define YY_DECL int yylex (void)
1032 #endif /* !YY_DECL */
1033 
1034 /* Code executed at the beginning of each rule, after yytext and yyleng
1035  * have been set up.
1036  */
1037 #ifndef YY_USER_ACTION
1038 #define YY_USER_ACTION
1039 #endif
1040 
1041 /* Code executed at the end of each rule. */
1042 #ifndef YY_BREAK
1043 #define YY_BREAK /*LINTED*/break;
1044 #endif
1045 
1046 #define YY_RULE_SETUP \
1047  if ( yyleng > 0 ) \
1048  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1049  (yytext[yyleng - 1] == '\n'); \
1050  YY_USER_ACTION
1051 
1054 YY_DECL
1056  yy_state_type yy_current_state;
1057  char *yy_cp, *yy_bp;
1058  int yy_act;
1059 
1060  if ( !(yy_init) )
1061  {
1062  (yy_init) = 1;
1063 
1064 #ifdef YY_USER_INIT
1065  YY_USER_INIT;
1066 #endif
1067 
1068  if ( ! (yy_start) )
1069  (yy_start) = 1; /* first start state */
1070 
1071  if ( ! yyin )
1072  yyin = stdin;
1073 
1074  if ( ! yyout )
1075  yyout = stdout;
1076 
1077  if ( ! YY_CURRENT_BUFFER ) {
1081  }
1082 
1084  }
1085 
1086  {
1087 #line 28 "../tools/partitioner/hecmw_partlex.l"
1088 
1089 
1090 #line 1091 "<stdout>"
1091 
1092  while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1093  {
1094  yy_cp = (yy_c_buf_p);
1095 
1096  /* Support of yytext. */
1097  *yy_cp = (yy_hold_char);
1098 
1099  /* yy_bp points to the position in yy_ch_buf of the start of
1100  * the current run.
1101  */
1102  yy_bp = yy_cp;
1103 
1104  yy_current_state = (yy_start);
1105  yy_current_state += YY_AT_BOL();
1106 yy_match:
1107  do
1108  {
1109  YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1110  if ( yy_accept[yy_current_state] )
1111  {
1112  (yy_last_accepting_state) = yy_current_state;
1113  (yy_last_accepting_cpos) = yy_cp;
1114  }
1115  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1116  {
1117  yy_current_state = (int) yy_def[yy_current_state];
1118  if ( yy_current_state >= 154 )
1119  yy_c = yy_meta[yy_c];
1120  }
1121  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1122  ++yy_cp;
1123  }
1124  while ( yy_base[yy_current_state] != 452 );
1125 
1126 yy_find_action:
1127  yy_act = yy_accept[yy_current_state];
1128  if ( yy_act == 0 )
1129  { /* have to back up */
1130  yy_cp = (yy_last_accepting_cpos);
1131  yy_current_state = (yy_last_accepting_state);
1132  yy_act = yy_accept[yy_current_state];
1133  }
1134 
1136 
1137 do_action: /* This label is used only to access EOF actions. */
1138 
1139  switch ( yy_act )
1140  { /* beginning of action switch */
1141  case 0: /* must back up */
1142  /* undo the effects of YY_DO_BEFORE_ACTION */
1143  *yy_cp = (yy_hold_char);
1144  yy_cp = (yy_last_accepting_cpos);
1145  yy_current_state = (yy_last_accepting_state);
1146  goto yy_find_action;
1147 
1148 case 1:
1149 /* rule 1 can match eol */
1151 #line 30 "../tools/partitioner/hecmw_partlex.l"
1152 { len += yyleng; lineno++; }
1153  YY_BREAK
1154 case 2:
1156 #line 31 "../tools/partitioner/hecmw_partlex.l"
1157 { len += yyleng; }
1158  YY_BREAK
1159 case 3:
1160 /* rule 3 can match eol */
1162 #line 32 "../tools/partitioner/hecmw_partlex.l"
1163 { len += yyleng; lineno++; return HECMW_PARTLEX_NL; }
1164  YY_BREAK
1165 case 4:
1167 #line 34 "../tools/partitioner/hecmw_partlex.l"
1168 { len += yyleng; return HECMW_PARTLEX_H_PARTITION; }
1169  YY_BREAK
1170 case 5:
1172 #line 36 "../tools/partitioner/hecmw_partlex.l"
1173 { len += yyleng; return HECMW_PARTLEX_K_METHOD; }
1174  YY_BREAK
1175 case 6:
1177 #line 37 "../tools/partitioner/hecmw_partlex.l"
1178 { len += yyleng; return HECMW_PARTLEX_K_TYPE; }
1179  YY_BREAK
1180 case 7:
1182 #line 38 "../tools/partitioner/hecmw_partlex.l"
1183 { len += yyleng; return HECMW_PARTLEX_K_DOMAIN; }
1184  YY_BREAK
1185 case 8:
1187 #line 39 "../tools/partitioner/hecmw_partlex.l"
1188 { len += yyleng; return HECMW_PARTLEX_K_DEPTH; }
1189  YY_BREAK
1190 case 9:
1192 #line 40 "../tools/partitioner/hecmw_partlex.l"
1193 { len += yyleng; return HECMW_PARTLEX_K_UCD; }
1194  YY_BREAK
1195 case 10:
1197 #line 41 "../tools/partitioner/hecmw_partlex.l"
1198 { len += yyleng; return HECMW_PARTLEX_K_CONTACT; }
1199  YY_BREAK
1200 case 11:
1202 #line 42 "../tools/partitioner/hecmw_partlex.l"
1203 { len += yyleng; return HECMW_PARTLEX_K_PART; }
1204  YY_BREAK
1205 case 12:
1207 #line 44 "../tools/partitioner/hecmw_partlex.l"
1208 { len += yyleng; return HECMW_PARTLEX_V_RCB; }
1209  YY_BREAK
1210 case 13:
1212 #line 45 "../tools/partitioner/hecmw_partlex.l"
1213 { len += yyleng; return HECMW_PARTLEX_V_KMETIS; }
1214  YY_BREAK
1215 case 14:
1217 #line 46 "../tools/partitioner/hecmw_partlex.l"
1218 { len += yyleng; return HECMW_PARTLEX_V_PMETIS; }
1219  YY_BREAK
1220 case 15:
1222 #line 47 "../tools/partitioner/hecmw_partlex.l"
1223 { len += yyleng; return HECMW_PARTLEX_V_NODE_BASED; }
1224  YY_BREAK
1225 case 16:
1227 #line 48 "../tools/partitioner/hecmw_partlex.l"
1228 { len += yyleng; return HECMW_PARTLEX_V_USER; }
1229  YY_BREAK
1230 case 17:
1232 #line 49 "../tools/partitioner/hecmw_partlex.l"
1233 { len += yyleng; return HECMW_PARTLEX_V_ELEMENT_BASED; }
1234  YY_BREAK
1235 case 18:
1237 #line 50 "../tools/partitioner/hecmw_partlex.l"
1238 { len += yyleng; return HECMW_PARTLEX_V_DEFAULT; }
1239  YY_BREAK
1240 case 19:
1242 #line 51 "../tools/partitioner/hecmw_partlex.l"
1243 { len += yyleng; return HECMW_PARTLEX_V_AGGREGATE; }
1244  YY_BREAK
1245 case 20:
1247 #line 52 "../tools/partitioner/hecmw_partlex.l"
1248 { len += yyleng; return HECMW_PARTLEX_V_DISTRIBUTE; }
1249  YY_BREAK
1250 case 21:
1252 #line 53 "../tools/partitioner/hecmw_partlex.l"
1253 { len += yyleng; return HECMW_PARTLEX_V_SIMPLE; }
1254  YY_BREAK
1255 case 22:
1257 #line 55 "../tools/partitioner/hecmw_partlex.l"
1258 { len += yyleng; return '='; }
1259  YY_BREAK
1260 case 23:
1262 #line 56 "../tools/partitioner/hecmw_partlex.l"
1263 { len += yyleng; return ','; }
1264  YY_BREAK
1265 case 24:
1267 #line 57 "../tools/partitioner/hecmw_partlex.l"
1268 { len += yyleng; return 'x'; }
1269  YY_BREAK
1270 case 25:
1272 #line 58 "../tools/partitioner/hecmw_partlex.l"
1273 { len += yyleng; return 'y'; }
1274  YY_BREAK
1275 case 26:
1277 #line 59 "../tools/partitioner/hecmw_partlex.l"
1278 { len += yyleng; return 'z'; }
1279  YY_BREAK
1280 case 27:
1282 #line 61 "../tools/partitioner/hecmw_partlex.l"
1283 {
1284  len += yyleng;
1285  yylval.dval = atof(yytext);
1286  return HECMW_PARTLEX_INT;
1287  }
1288  YY_BREAK
1289 case 28:
1291 #line 66 "../tools/partitioner/hecmw_partlex.l"
1292 {
1293  len += yyleng;
1294  yylval.dval = atof(yytext);
1295  return HECMW_PARTLEX_DOUBLE;
1296  }
1297  YY_BREAK
1298 case 29:
1300 #line 71 "../tools/partitioner/hecmw_partlex.l"
1301 {
1302  len += yyleng;
1303  yylval.str = yytext;
1304  return HECMW_PARTLEX_NAME;
1305  }
1306  YY_BREAK
1307 case 30:
1309 #line 76 "../tools/partitioner/hecmw_partlex.l"
1310 {
1311  len += yyleng;
1312  yylval.str = yytext;
1313  return HECMW_PARTLEX_FILENAME;
1314  }
1315  YY_BREAK
1316 case 31:
1318 #line 81 "../tools/partitioner/hecmw_partlex.l"
1319 { len += yyleng; return yytext[0]; }
1320  YY_BREAK
1321 case YY_STATE_EOF(INITIAL):
1322 #line 82 "../tools/partitioner/hecmw_partlex.l"
1323 { return 0; }
1324  YY_BREAK
1325 case 32:
1327 #line 84 "../tools/partitioner/hecmw_partlex.l"
1328 ECHO;
1329  YY_BREAK
1330 #line 1331 "<stdout>"
1331 
1332  case YY_END_OF_BUFFER:
1333  {
1334  /* Amount of text matched not including the EOB char. */
1335  int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1336 
1337  /* Undo the effects of YY_DO_BEFORE_ACTION. */
1338  *yy_cp = (yy_hold_char);
1340 
1341  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1342  {
1343  /* We're scanning a new file or input source. It's
1344  * possible that this happened because the user
1345  * just pointed yyin at a new source and called
1346  * yylex(). If so, then we have to assure
1347  * consistency between YY_CURRENT_BUFFER and our
1348  * globals. Here is the right place to do so, because
1349  * this is the first action (other than possibly a
1350  * back-up) that will match for the new input source.
1351  */
1352  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1353  YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1354  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1355  }
1356 
1357  /* Note that here we test for yy_c_buf_p "<=" to the position
1358  * of the first EOB in the buffer, since yy_c_buf_p will
1359  * already have been incremented past the NUL character
1360  * (since all states make transitions on EOB to the
1361  * end-of-buffer state). Contrast this with the test
1362  * in input().
1363  */
1364  if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1365  { /* This was really a NUL. */
1366  yy_state_type yy_next_state;
1367 
1368  (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1369 
1370  yy_current_state = yy_get_previous_state( );
1371 
1372  /* Okay, we're now positioned to make the NUL
1373  * transition. We couldn't have
1374  * yy_get_previous_state() go ahead and do it
1375  * for us because it doesn't know how to deal
1376  * with the possibility of jamming (and we don't
1377  * want to build jamming into it because then it
1378  * will run more slowly).
1379  */
1380 
1381  yy_next_state = yy_try_NUL_trans( yy_current_state );
1382 
1384 
1385  if ( yy_next_state )
1386  {
1387  /* Consume the NUL. */
1388  yy_cp = ++(yy_c_buf_p);
1389  yy_current_state = yy_next_state;
1390  goto yy_match;
1391  }
1392 
1393  else
1394  {
1395  yy_cp = (yy_c_buf_p);
1396  goto yy_find_action;
1397  }
1398  }
1399 
1400  else switch ( yy_get_next_buffer( ) )
1401  {
1402  case EOB_ACT_END_OF_FILE:
1403  {
1404  (yy_did_buffer_switch_on_eof) = 0;
1405 
1406  if ( yywrap( ) )
1407  {
1408  /* Note: because we've taken care in
1409  * yy_get_next_buffer() to have set up
1410  * yytext, we can now set up
1411  * yy_c_buf_p so that if some total
1412  * hoser (like flex itself) wants to
1413  * call the scanner after we return the
1414  * YY_NULL, it'll still work - another
1415  * YY_NULL will get returned.
1416  */
1417  (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1418 
1420  goto do_action;
1421  }
1422 
1423  else
1424  {
1425  if ( ! (yy_did_buffer_switch_on_eof) )
1426  YY_NEW_FILE;
1427  }
1428  break;
1429  }
1430 
1431  case EOB_ACT_CONTINUE_SCAN:
1432  (yy_c_buf_p) =
1433  (yytext_ptr) + yy_amount_of_matched_text;
1434 
1435  yy_current_state = yy_get_previous_state( );
1436 
1437  yy_cp = (yy_c_buf_p);
1439  goto yy_match;
1440 
1441  case EOB_ACT_LAST_MATCH:
1442  (yy_c_buf_p) =
1443  &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1444 
1445  yy_current_state = yy_get_previous_state( );
1446 
1447  yy_cp = (yy_c_buf_p);
1449  goto yy_find_action;
1450  }
1451  break;
1452  }
1453 
1454  default:
1456  "fatal flex scanner internal error--no action found" );
1457  } /* end of action switch */
1458  } /* end of scanning one token */
1459  } /* end of user's declarations */
1460 } /* end of yylex */
1461 
1462 /* yy_get_next_buffer - try to read in a new buffer
1463  *
1464  * Returns a code representing an action:
1465  * EOB_ACT_LAST_MATCH -
1466  * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1467  * EOB_ACT_END_OF_FILE - end of file
1468  */
1469 static int yy_get_next_buffer (void)
1470 {
1471  char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1472  char *source = (yytext_ptr);
1473  int number_to_move, i;
1474  int ret_val;
1475 
1476  if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1478  "fatal flex scanner internal error--end of buffer missed" );
1479 
1480  if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1481  { /* Don't try to fill the buffer, so this is an EOF. */
1482  if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1483  {
1484  /* We matched a single character, the EOB, so
1485  * treat this as a final EOF.
1486  */
1487  return EOB_ACT_END_OF_FILE;
1488  }
1489 
1490  else
1491  {
1492  /* We matched some text prior to the EOB, first
1493  * process it.
1494  */
1495  return EOB_ACT_LAST_MATCH;
1496  }
1497  }
1498 
1499  /* Try to read more data. */
1500 
1501  /* First move last chars to start of buffer. */
1502  number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1503 
1504  for ( i = 0; i < number_to_move; ++i )
1505  *(dest++) = *(source++);
1506 
1507  if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1508  /* don't do the read, it's not guaranteed to return an EOF,
1509  * just force an EOF
1510  */
1511  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1512 
1513  else
1514  {
1515  int num_to_read =
1516  YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1517 
1518  while ( num_to_read <= 0 )
1519  { /* Not enough room in the buffer - grow it. */
1520 
1521  /* just a shorter name for the current buffer */
1523 
1524  int yy_c_buf_p_offset =
1525  (int) ((yy_c_buf_p) - b->yy_ch_buf);
1526 
1527  if ( b->yy_is_our_buffer )
1528  {
1529  int new_size = b->yy_buf_size * 2;
1530 
1531  if ( new_size <= 0 )
1532  b->yy_buf_size += b->yy_buf_size / 8;
1533  else
1534  b->yy_buf_size *= 2;
1535 
1536  b->yy_ch_buf = (char *)
1537  /* Include room in for 2 EOB chars. */
1538  yyrealloc( (void *) b->yy_ch_buf,
1539  (yy_size_t) (b->yy_buf_size + 2) );
1540  }
1541  else
1542  /* Can't grow it, we don't own it. */
1543  b->yy_ch_buf = NULL;
1544 
1545  if ( ! b->yy_ch_buf )
1547  "fatal error - scanner input buffer overflow" );
1548 
1549  (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1550 
1551  num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1552  number_to_move - 1;
1553 
1554  }
1555 
1556  if ( num_to_read > YY_READ_BUF_SIZE )
1557  num_to_read = YY_READ_BUF_SIZE;
1558 
1559  /* Read in more data. */
1560  YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1561  (yy_n_chars), num_to_read );
1562 
1563  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1564  }
1565 
1566  if ( (yy_n_chars) == 0 )
1567  {
1568  if ( number_to_move == YY_MORE_ADJ )
1569  {
1570  ret_val = EOB_ACT_END_OF_FILE;
1571  yyrestart( yyin );
1572  }
1573 
1574  else
1575  {
1576  ret_val = EOB_ACT_LAST_MATCH;
1577  YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1579  }
1580  }
1581 
1582  else
1583  ret_val = EOB_ACT_CONTINUE_SCAN;
1584 
1585  if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1586  /* Extend the array by 50%, plus the number we really need. */
1587  int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1588  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1589  (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
1590  if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1591  YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1592  /* "- 2" to take care of EOB's */
1593  YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1594  }
1595 
1596  (yy_n_chars) += number_to_move;
1597  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1598  YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1599 
1600  (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1601 
1602  return ret_val;
1603 }
1604 
1605 /* yy_get_previous_state - get the state just before the EOB char was reached */
1606 
1607  static yy_state_type yy_get_previous_state (void)
1608 {
1609  yy_state_type yy_current_state;
1610  char *yy_cp;
1611 
1612  yy_current_state = (yy_start);
1613  yy_current_state += YY_AT_BOL();
1614 
1615  for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1616  {
1617  YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1618  if ( yy_accept[yy_current_state] )
1619  {
1620  (yy_last_accepting_state) = yy_current_state;
1621  (yy_last_accepting_cpos) = yy_cp;
1622  }
1623  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1624  {
1625  yy_current_state = (int) yy_def[yy_current_state];
1626  if ( yy_current_state >= 154 )
1627  yy_c = yy_meta[yy_c];
1628  }
1629  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1630  }
1631 
1632  return yy_current_state;
1633 }
1634 
1635 /* yy_try_NUL_trans - try to make a transition on the NUL character
1636  *
1637  * synopsis
1638  * next_state = yy_try_NUL_trans( current_state );
1639  */
1640  static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1641 {
1642  int yy_is_jam;
1643  char *yy_cp = (yy_c_buf_p);
1644 
1645  YY_CHAR yy_c = 1;
1646  if ( yy_accept[yy_current_state] )
1647  {
1648  (yy_last_accepting_state) = yy_current_state;
1649  (yy_last_accepting_cpos) = yy_cp;
1650  }
1651  while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1652  {
1653  yy_current_state = (int) yy_def[yy_current_state];
1654  if ( yy_current_state >= 154 )
1655  yy_c = yy_meta[yy_c];
1656  }
1657  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1658  yy_is_jam = (yy_current_state == 153);
1659 
1660  return yy_is_jam ? 0 : yy_current_state;
1661 }
1662 
1663 #ifndef YY_NO_UNPUT
1664 
1665 #endif
1666 
1667 #ifndef YY_NO_INPUT
1668 #ifdef __cplusplus
1669  static int yyinput (void)
1670 #else
1671  static int input (void)
1672 #endif
1673 
1674 {
1675  int c;
1676 
1677  *(yy_c_buf_p) = (yy_hold_char);
1678 
1679  if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
1680  {
1681  /* yy_c_buf_p now points to the character we want to return.
1682  * If this occurs *before* the EOB characters, then it's a
1683  * valid NUL; if not, then we've hit the end of the buffer.
1684  */
1685  if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1686  /* This was really a NUL. */
1687  *(yy_c_buf_p) = '\0';
1688 
1689  else
1690  { /* need more input */
1691  int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
1692  ++(yy_c_buf_p);
1693 
1694  switch ( yy_get_next_buffer( ) )
1695  {
1696  case EOB_ACT_LAST_MATCH:
1697  /* This happens because yy_g_n_b()
1698  * sees that we've accumulated a
1699  * token and flags that we need to
1700  * try matching the token before
1701  * proceeding. But for input(),
1702  * there's no matching to consider.
1703  * So convert the EOB_ACT_LAST_MATCH
1704  * to EOB_ACT_END_OF_FILE.
1705  */
1706 
1707  /* Reset buffer status. */
1708  yyrestart( yyin );
1709 
1710  /*FALLTHROUGH*/
1711 
1712  case EOB_ACT_END_OF_FILE:
1713  {
1714  if ( yywrap( ) )
1715  return 0;
1716 
1717  if ( ! (yy_did_buffer_switch_on_eof) )
1718  YY_NEW_FILE;
1719 #ifdef __cplusplus
1720  return yyinput();
1721 #else
1722  return input();
1723 #endif
1724  }
1725 
1726  case EOB_ACT_CONTINUE_SCAN:
1727  (yy_c_buf_p) = (yytext_ptr) + offset;
1728  break;
1729  }
1730  }
1731  }
1732 
1733  c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
1734  *(yy_c_buf_p) = '\0'; /* preserve yytext */
1735  (yy_hold_char) = *++(yy_c_buf_p);
1736 
1737  YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
1738 
1739  return c;
1740 }
1741 #endif /* ifndef YY_NO_INPUT */
1742 
1748  void yyrestart (FILE * input_file )
1749 {
1750 
1751  if ( ! YY_CURRENT_BUFFER ){
1755  }
1756 
1757  yy_init_buffer( YY_CURRENT_BUFFER, input_file );
1759 }
1760 
1765  void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1766 {
1767 
1768  /* TODO. We should be able to replace this entire function body
1769  * with
1770  * yypop_buffer_state();
1771  * yypush_buffer_state(new_buffer);
1772  */
1774  if ( YY_CURRENT_BUFFER == new_buffer )
1775  return;
1776 
1777  if ( YY_CURRENT_BUFFER )
1778  {
1779  /* Flush out information for old buffer. */
1780  *(yy_c_buf_p) = (yy_hold_char);
1781  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1782  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1783  }
1784 
1785  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1787 
1788  /* We don't actually know whether we did this switch during
1789  * EOF (yywrap()) processing, but the only time this flag
1790  * is looked at is after yywrap() is called, so it's safe
1791  * to go ahead and always set it.
1792  */
1793  (yy_did_buffer_switch_on_eof) = 1;
1794 }
1795 
1796 static void yy_load_buffer_state (void)
1797 {
1798  (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1799  (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
1800  yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
1801  (yy_hold_char) = *(yy_c_buf_p);
1802 }
1803 
1810  YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1811 {
1812  YY_BUFFER_STATE b;
1813 
1814  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
1815  if ( ! b )
1816  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1817 
1818  b->yy_buf_size = size;
1819 
1820  /* yy_ch_buf has to be 2 characters longer than the size given because
1821  * we need to put in 2 end-of-buffer characters.
1822  */
1823  b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
1824  if ( ! b->yy_ch_buf )
1825  YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1826 
1827  b->yy_is_our_buffer = 1;
1828 
1829  yy_init_buffer( b, file );
1830 
1831  return b;
1832 }
1833 
1839 {
1840 
1841  if ( ! b )
1842  return;
1843 
1844  if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
1846 
1847  if ( b->yy_is_our_buffer )
1848  yyfree( (void *) b->yy_ch_buf );
1849 
1850  yyfree( (void *) b );
1851 }
1852 
1853 /* Initializes or reinitializes a buffer.
1854  * This function is sometimes called more than once on the same buffer,
1855  * such as during a yyrestart() or at EOF.
1856  */
1857  static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
1858 
1859 {
1860  int oerrno = errno;
1861 
1862  yy_flush_buffer( b );
1863 
1864  b->yy_input_file = file;
1865  b->yy_fill_buffer = 1;
1866 
1867  /* If b is the current buffer, then yy_init_buffer was _probably_
1868  * called from yyrestart() or through yy_get_next_buffer.
1869  * In that case, we don't want to reset the lineno or column.
1870  */
1871  if (b != YY_CURRENT_BUFFER){
1872  b->yy_bs_lineno = 1;
1873  b->yy_bs_column = 0;
1874  }
1875 
1876  b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1877 
1878  errno = oerrno;
1879 }
1880 
1886 {
1887  if ( ! b )
1888  return;
1889 
1890  b->yy_n_chars = 0;
1891 
1892  /* We always need two end-of-buffer characters. The first causes
1893  * a transition to the end-of-buffer state. The second causes
1894  * a jam in that state.
1895  */
1898 
1899  b->yy_buf_pos = &b->yy_ch_buf[0];
1900 
1901  b->yy_at_bol = 1;
1903 
1904  if ( b == YY_CURRENT_BUFFER )
1906 }
1907 
1914 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1915 {
1916  if (new_buffer == NULL)
1917  return;
1918 
1920 
1921  /* This block is copied from yy_switch_to_buffer. */
1922  if ( YY_CURRENT_BUFFER )
1923  {
1924  /* Flush out information for old buffer. */
1925  *(yy_c_buf_p) = (yy_hold_char);
1926  YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
1927  YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1928  }
1929 
1930  /* Only push if top exists. Otherwise, replace top. */
1931  if (YY_CURRENT_BUFFER)
1932  (yy_buffer_stack_top)++;
1933  YY_CURRENT_BUFFER_LVALUE = new_buffer;
1934 
1935  /* copied from yy_switch_to_buffer. */
1937  (yy_did_buffer_switch_on_eof) = 1;
1938 }
1939 
1944 void yypop_buffer_state (void)
1945 {
1946  if (!YY_CURRENT_BUFFER)
1947  return;
1948 
1951  if ((yy_buffer_stack_top) > 0)
1952  --(yy_buffer_stack_top);
1953 
1954  if (YY_CURRENT_BUFFER) {
1956  (yy_did_buffer_switch_on_eof) = 1;
1957  }
1958 }
1959 
1960 /* Allocates the stack if it does not exist.
1961  * Guarantees space for at least one push.
1962  */
1963 static void yyensure_buffer_stack (void)
1964 {
1965  yy_size_t num_to_alloc;
1966 
1967  if (!(yy_buffer_stack)) {
1968 
1969  /* First allocation is just for 2 elements, since we don't know if this
1970  * scanner will even need a stack. We use 2 instead of 1 to avoid an
1971  * immediate realloc on the next call.
1972  */
1973  num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
1974  (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
1975  (num_to_alloc * sizeof(struct yy_buffer_state*)
1976  );
1977  if ( ! (yy_buffer_stack) )
1978  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1979 
1980  memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1981 
1982  (yy_buffer_stack_max) = num_to_alloc;
1983  (yy_buffer_stack_top) = 0;
1984  return;
1985  }
1986 
1987  if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1988 
1989  /* Increase the buffer to prepare for a possible push. */
1990  yy_size_t grow_size = 8 /* arbitrary grow size */;
1991 
1992  num_to_alloc = (yy_buffer_stack_max) + grow_size;
1993  (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
1994  ((yy_buffer_stack),
1995  num_to_alloc * sizeof(struct yy_buffer_state*)
1996  );
1997  if ( ! (yy_buffer_stack) )
1998  YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
1999 
2000  /* zero only the new slots.*/
2001  memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2002  (yy_buffer_stack_max) = num_to_alloc;
2003  }
2004 }
2005 
2012 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
2013 {
2014  YY_BUFFER_STATE b;
2015 
2016  if ( size < 2 ||
2017  base[size-2] != YY_END_OF_BUFFER_CHAR ||
2018  base[size-1] != YY_END_OF_BUFFER_CHAR )
2019  /* They forgot to leave room for the EOB's. */
2020  return NULL;
2021 
2022  b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
2023  if ( ! b )
2024  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2025 
2026  b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
2027  b->yy_buf_pos = b->yy_ch_buf = base;
2028  b->yy_is_our_buffer = 0;
2029  b->yy_input_file = NULL;
2030  b->yy_n_chars = b->yy_buf_size;
2031  b->yy_is_interactive = 0;
2032  b->yy_at_bol = 1;
2033  b->yy_fill_buffer = 0;
2035 
2036  yy_switch_to_buffer( b );
2037 
2038  return b;
2039 }
2040 
2049 YY_BUFFER_STATE yy_scan_string (const char * yystr )
2050 {
2051 
2052  return yy_scan_bytes( yystr, (int) strlen(yystr) );
2053 }
2054 
2062 YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
2063 {
2064  YY_BUFFER_STATE b;
2065  char *buf;
2066  yy_size_t n;
2067  int i;
2068 
2069  /* Get memory for full buffer, including space for trailing EOB's. */
2070  n = (yy_size_t) (_yybytes_len + 2);
2071  buf = (char *) yyalloc( n );
2072  if ( ! buf )
2073  YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2074 
2075  for ( i = 0; i < _yybytes_len; ++i )
2076  buf[i] = yybytes[i];
2077 
2078  buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2079 
2080  b = yy_scan_buffer( buf, n );
2081  if ( ! b )
2082  YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2083 
2084  /* It's okay to grow etc. this buffer, and we should throw it
2085  * away when we're done.
2086  */
2087  b->yy_is_our_buffer = 1;
2088 
2089  return b;
2090 }
2091 
2092 #ifndef YY_EXIT_FAILURE
2093 #define YY_EXIT_FAILURE 2
2094 #endif
2095 
2096 static void yynoreturn yy_fatal_error (const char* msg )
2097 {
2098  fprintf( stderr, "%s\n", msg );
2099  exit( YY_EXIT_FAILURE );
2100 }
2101 
2102 /* Redefine yyless() so it works in section 3 code. */
2103 
2104 #undef yyless
2105 #define yyless(n) \
2106  do \
2107  { \
2108  /* Undo effects of setting up yytext. */ \
2109  int yyless_macro_arg = (n); \
2110  YY_LESS_LINENO(yyless_macro_arg);\
2111  yytext[yyleng] = (yy_hold_char); \
2112  (yy_c_buf_p) = yytext + yyless_macro_arg; \
2113  (yy_hold_char) = *(yy_c_buf_p); \
2114  *(yy_c_buf_p) = '\0'; \
2115  yyleng = yyless_macro_arg; \
2116  } \
2117  while ( 0 )
2118 
2119 /* Accessor methods (get/set functions) to struct members. */
2120 
2124 int yyget_lineno (void)
2125 {
2126 
2127  return yylineno;
2128 }
2129 
2133 FILE *yyget_in (void)
2134 {
2135  return yyin;
2136 }
2137 
2141 FILE *yyget_out (void)
2142 {
2143  return yyout;
2144 }
2145 
2149 int yyget_leng (void)
2150 {
2151  return yyleng;
2152 }
2153 
2158 char *yyget_text (void)
2159 {
2160  return yytext;
2161 }
2162 
2167 void yyset_lineno (int _line_number )
2168 {
2169 
2170  yylineno = _line_number;
2171 }
2172 
2179 void yyset_in (FILE * _in_str )
2180 {
2181  yyin = _in_str ;
2182 }
2183 
2184 void yyset_out (FILE * _out_str )
2185 {
2186  yyout = _out_str ;
2187 }
2188 
2189 int yyget_debug (void)
2190 {
2191  return yy_flex_debug;
2192 }
2193 
2194 void yyset_debug (int _bdebug )
2195 {
2196  yy_flex_debug = _bdebug ;
2197 }
2198 
2199 static int yy_init_globals (void)
2200 {
2201  /* Initialization is the same as for the non-reentrant scanner.
2202  * This function is called from yylex_destroy(), so don't allocate here.
2203  */
2204 
2205  (yy_buffer_stack) = NULL;
2206  (yy_buffer_stack_top) = 0;
2207  (yy_buffer_stack_max) = 0;
2208  (yy_c_buf_p) = NULL;
2209  (yy_init) = 0;
2210  (yy_start) = 0;
2211 
2212 /* Defined in main.c */
2213 #ifdef YY_STDINIT
2214  yyin = stdin;
2215  yyout = stdout;
2216 #else
2217  yyin = NULL;
2218  yyout = NULL;
2219 #endif
2220 
2221  /* For future reference: Set errno on error, since we are called by
2222  * yylex_init()
2223  */
2224  return 0;
2225 }
2226 
2227 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2228 int yylex_destroy (void)
2229 {
2230 
2231  /* Pop the buffer stack, destroying each element. */
2232  while(YY_CURRENT_BUFFER){
2236  }
2237 
2238  /* Destroy the stack itself. */
2239  yyfree((yy_buffer_stack) );
2240  (yy_buffer_stack) = NULL;
2241 
2242  /* Reset the globals. This is important in a non-reentrant scanner so the next time
2243  * yylex() is called, initialization will occur. */
2244  yy_init_globals( );
2245 
2246  return 0;
2247 }
2248 
2249 /*
2250  * Internal utility routines.
2251  */
2252 
2253 #ifndef yytext_ptr
2254 static void yy_flex_strncpy (char* s1, const char * s2, int n )
2255 {
2256 
2257  int i;
2258  for ( i = 0; i < n; ++i )
2259  s1[i] = s2[i];
2260 }
2261 #endif
2262 
2263 #ifdef YY_NEED_STRLEN
2264 static int yy_flex_strlen (const char * s )
2265 {
2266  int n;
2267  for ( n = 0; s[n]; ++n )
2268  ;
2269 
2270  return n;
2271 }
2272 #endif
2273 
2274 void *yyalloc (yy_size_t size )
2275 {
2276  return malloc(size);
2277 }
2278 
2279 void *yyrealloc (void * ptr, yy_size_t size )
2280 {
2281 
2282  /* The cast to (char *) in the following accommodates both
2283  * implementations that use char* generic pointers, and those
2284  * that use void* generic pointers. It works with the latter
2285  * because both ANSI C and C++ allow castless assignment from
2286  * any pointer type to void*, and deal with argument conversions
2287  * as though doing an assignment.
2288  */
2289  return realloc(ptr, size);
2290 }
2291 
2292 void yyfree (void * ptr )
2293 {
2294  free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2295 }
2296 
2297 #define YYTABLES_NAME "yytables"
2298 
2299 #line 84 "../tools/partitioner/hecmw_partlex.l"
2300 
2301 
2302 int
2304 {
2305  return lineno;
2306 }
2307 
2308 
2309 double
2311 {
2312  return yylval.dval;
2313 }
2314 
2315 
2316 char *
2318 {
2319  return yytext;
2320 }
2321 
2322 
2323 int
2325 {
2326  return yylex();
2327 }
2328 
2329 
2330 int
2331 HECMW_partlex_next_token_skip(int skip_token)
2332 {
2333  int token;
2334  while((token = yylex())) {
2335  if(token != skip_token) break;
2336  }
2337  return token;
2338 }
2339 
2340 
2341 long
2342 HECMW_partlex_readsize(void)
2343 {
2344  return len;
2345 }
2346 
2347 
2348 int
2349 HECMW_partlex_set_input(FILE *fp)
2350 {
2351  static int first = 1;
2352  if(fp == NULL) return -1;
2353  if(first) {
2354  yyin = fp;
2355  first = 0;
2356  } else {
2357  yyrestart(fp);
2358  }
2359  lineno = 1;
2360  len = 0;
2361  return 0;
2362 }
2363 
2364 
2365 int
2367 {
2368  int token;
2369  while((token = HECMW_partlex_next_token())) {
2370  if(token == HECMW_PARTLEX_NL) break;
2371  }
2372  return token;
2373 }
2374 
2375 
2376 int
2378 {
2379  char *p = yytext;
2380  while(*p) {
2381  if(*p == '\n') lineno--;
2382  len--;
2383  p++;
2384  }
2385  yyless(0);
2386  return 0;
2387 }
2388 
2389 
2390 int
2391 HECMW_partwrap(void)
2392 {
2393  return 1;
2394 }
2395 
YY_MORE_ADJ
#define YY_MORE_ADJ
Definition: hecmw_partlex.c:850
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_ablex.c:312
HECMW_PARTLEX_V_DEFAULT
#define HECMW_PARTLEX_V_DEFAULT
Definition: hecmw_partlex.h:51
YY_DO_BEFORE_ACTION
#define YY_DO_BEFORE_ACTION
Definition: hecmw_partlex.c:607
YY_EXIT_FAILURE
#define YY_EXIT_FAILURE
yyrealloc
#define yyrealloc
Definition: hecmw_partlex.c:30
yyset_out
#define yyset_out
Definition: hecmw_partlex.c:188
yywrap
#define yywrap
Definition: hecmw_partlex.c:28
HECMW_partlex_get_number
double HECMW_partlex_get_number(void)
yy_trans_info
Definition: hecmw_ablex.c:617
HECMW_partlex_next_token
int HECMW_partlex_next_token(void)
yy_buffer_state::yy_input_file
FILE * yy_input_file
Definition: hecmw_ablex.c:446
HECMW_PARTLEX_V_ELEMENT_BASED
#define HECMW_PARTLEX_V_ELEMENT_BASED
Definition: hecmw_partlex.h:39
yy_create_buffer
#define yy_create_buffer
Definition: hecmw_partlex.c:8
YY_AT_BOL
#define YY_AT_BOL()
Definition: hecmw_partlex.c:581
HECMW_PARTLEX_NAME
#define HECMW_PARTLEX_NAME
Definition: hecmw_partlex.h:17
yynoreturn
#define yynoreturn
Definition: hecmw_partlex.c:361
HECMW_PARTLEX_K_DEPTH
#define HECMW_PARTLEX_K_DEPTH
Definition: hecmw_partlex.h:29
yyrestart
#define yyrestart
Definition: hecmw_partlex.c:26
INITIAL
#define INITIAL
Definition: hecmw_partlex.c:871
yyset_in
#define yyset_in
Definition: hecmw_partlex.c:176
yy_buffer_state
Definition: hecmw_ablex.c:444
flex_uint16_t
unsigned short int flex_uint16_t
Definition: hecmw_partlex.c:313
HECMW_PARTLEX_V_NODE_BASED
#define HECMW_PARTLEX_V_NODE_BASED
Definition: hecmw_partlex.h:37
yyget_leng
#define yyget_leng
Definition: hecmw_partlex.c:194
HECMW_PARTLEX_V_AGGREGATE
#define HECMW_PARTLEX_V_AGGREGATE
Definition: hecmw_partlex.h:53
flex_int8_t
signed char flex_int8_t
Definition: hecmw_partlex.c:309
YY_RULE_SETUP
#define YY_RULE_SETUP
Definition: hecmw_partlex.c:1046
yyfree
#define yyfree
Definition: hecmw_partlex.c:31
YY_BUFFER_EOF_PENDING
#define YY_BUFFER_EOF_PENDING
Definition: hecmw_partlex.c:502
HECMW_PARTLEX_K_METHOD
#define HECMW_PARTLEX_K_METHOD
Definition: hecmw_partlex.h:25
YY_BUFFER_STATE
struct yy_buffer_state * YY_BUFFER_STATE
Definition: hecmw_partlex.c:408
EOB_ACT_LAST_MATCH
#define EOB_ACT_LAST_MATCH
Definition: hecmw_partlex.c:422
YY_INPUT
#define YY_INPUT(buf, result, max_size)
Definition: hecmw_partlex.c:971
yyout
#define yyout
Definition: hecmw_partlex.c:25
yy_buffer_state::yy_at_bol
int yy_at_bol
Definition: hecmw_ablex.c:478
YY_BREAK
#define YY_BREAK
Definition: hecmw_partlex.c:1043
yy_size_t
size_t yy_size_t
Definition: hecmw_partlex.c:413
yy_buffer_state::yy_is_our_buffer
int yy_is_our_buffer
Definition: hecmw_ablex.c:465
YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg)
Definition: hecmw_partlex.c:1018
yy_flex_debug
#define yy_flex_debug
Definition: hecmw_partlex.c:20
yyset_debug
#define yyset_debug
Definition: hecmw_partlex.c:152
yylex_destroy
#define yylex_destroy
Definition: hecmw_partlex.c:140
yy_delete_buffer
#define yy_delete_buffer
Definition: hecmw_partlex.c:9
HECMW_partlex_get_lineno
int HECMW_partlex_get_lineno(void)
HECMW_PARTLEX_V_PMETIS
#define HECMW_PARTLEX_V_PMETIS
Definition: hecmw_partlex.h:45
YYSTYPE
Definition: hecmw_ablex.c:1613
yy_scan_bytes
#define yy_scan_bytes
Definition: hecmw_partlex.c:12
HECMW_partlex_next_token_skip
int HECMW_partlex_next_token_skip(int skip_token)
HECMW_partlex_get_text
char * HECMW_partlex_get_text(void)
ECHO
#define ECHO
Definition: hecmw_partlex.c:964
yyalloc
#define yyalloc
Definition: hecmw_partlex.c:29
yylex
#define yylex
Definition: hecmw_partlex.c:23
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_ablex.c:584
yy_buffer_state::yy_fill_buffer
int yy_fill_buffer
Definition: hecmw_ablex.c:486
YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER_LVALUE
Definition: hecmw_partlex.c:524
YY_START
#define YY_START
Definition: hecmw_partlex.c:381
yy_switch_to_buffer
#define yy_switch_to_buffer
Definition: hecmw_partlex.c:16
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_SC_TO_UI
#define YY_SC_TO_UI(c)
Definition: hecmw_partlex.c:370
yy_state_type
int yy_state_type
Definition: hecmw_ablex.c:588
yypush_buffer_state
#define yypush_buffer_state
Definition: hecmw_partlex.c:17
YY_CHAR
flex_uint8_t YY_CHAR
Definition: hecmw_partlex.c:584
HECMW_PARTLEX_V_RCB
#define HECMW_PARTLEX_V_RCB
Definition: hecmw_partlex.h:41
EOB_ACT_CONTINUE_SCAN
#define EOB_ACT_CONTINUE_SCAN
Definition: hecmw_partlex.c:420
HECMW_PARTLEX_DOUBLE
#define HECMW_PARTLEX_DOUBLE
Definition: hecmw_partlex.h:15
HECMW_PARTLEX_INT
#define HECMW_PARTLEX_INT
Definition: hecmw_partlex.h:13
yyin
#define yyin
Definition: hecmw_partlex.c:21
flex_uint32_t
unsigned int flex_uint32_t
Definition: hecmw_partlex.c:314
yyset_lineno
#define yyset_lineno
Definition: hecmw_partlex.c:212
YYSTYPE::str
char * str
Definition: hecmw_ablex.c:1615
HECMW_PARTLEX_K_TYPE
#define HECMW_PARTLEX_K_TYPE
Definition: hecmw_partlex.h:23
YYSTYPE::dval
double dval
Definition: hecmw_ablex.c:1614
HECMW_PARTLEX_V_USER
#define HECMW_PARTLEX_V_USER
Definition: hecmw_partlex.h:49
yy_state_type
int yy_state_type
Definition: hecmw_partlex.c:588
yy_scan_buffer
#define yy_scan_buffer
Definition: hecmw_partlex.c:10
yyleng
#define yyleng
Definition: hecmw_partlex.c:22
yytext
#define yytext
Definition: hecmw_partlex.c:27
yytext_ptr
#define yytext_ptr
Definition: hecmw_partlex.c:597
hecmw_partlex.h
YY_RESTORE_YY_MORE_OFFSET
#define YY_RESTORE_YY_MORE_OFFSET
Definition: hecmw_partlex.c:851
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
yyensure_buffer_stack
#define yyensure_buffer_stack
Definition: hecmw_partlex.c:19
yy_act
int yy_act
Definition: hecmw_partlex.c:1058
yy_trans_info::yy_nxt
flex_int32_t yy_nxt
Definition: hecmw_ablex.c:620
yy_bp
char * yy_bp
Definition: hecmw_partlex.c:1057
yyget_in
#define yyget_in
Definition: hecmw_partlex.c:170
HECMW_PARTLEX_K_DOMAIN
#define HECMW_PARTLEX_K_DOMAIN
Definition: hecmw_partlex.h:27
yyless
#define yyless(n)
Definition: hecmw_partlex.c:428
yy_trans_info::yy_verify
flex_int32_t yy_verify
Definition: hecmw_ablex.c:619
HECMW_PARTLEX_K_UCD
#define HECMW_PARTLEX_K_UCD
Definition: hecmw_partlex.h:31
yy_init_buffer
#define yy_init_buffer
Definition: hecmw_partlex.c:13
HECMW_partlex_unput_token
int HECMW_partlex_unput_token(void)
yy_buffer_state::yy_bs_column
int yy_bs_column
Definition: hecmw_ablex.c:481
YY_BUF_SIZE
#define YY_BUF_SIZE
Definition: hecmw_partlex.c:398
flex_int32_t
int flex_int32_t
Definition: hecmw_partlex.c:311
YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE
Definition: hecmw_partlex.c:955
HECMW_PARTLEX_K_CONTACT
#define HECMW_PARTLEX_K_CONTACT
Definition: hecmw_partlex.h:33
HECMW_PARTLEX_NL
#define HECMW_PARTLEX_NL
Definition: hecmw_partlex.h:11
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_partlex_skip_line
int HECMW_partlex_skip_line(void)
yylineno
#define yylineno
Definition: hecmw_partlex.c:24
HECMW_PARTLEX_FILENAME
#define HECMW_PARTLEX_FILENAME
Definition: hecmw_partlex.h:19
yy_buffer_state::yy_is_interactive
int yy_is_interactive
Definition: hecmw_ablex.c:472
yy_load_buffer_state
#define yy_load_buffer_state
Definition: hecmw_partlex.c:15
YY_END_OF_BUFFER_CHAR
#define YY_END_OF_BUFFER_CHAR
Definition: hecmw_partlex.c:387
yyget_extra
#define yyget_extra
Definition: hecmw_partlex.c:158
YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER
Definition: hecmw_partlex.c:518
yyget_lineno
#define yyget_lineno
Definition: hecmw_partlex.c:206
yypop_buffer_state
#define yypop_buffer_state
Definition: hecmw_partlex.c:18
yy_size_t
size_t yy_size_t
Definition: hecmw_ablex.c:413
YY_NEW_FILE
#define YY_NEW_FILE
Definition: hecmw_partlex.c:386
EOB_ACT_END_OF_FILE
#define EOB_ACT_END_OF_FILE
Definition: hecmw_partlex.c:421
yyget_out
#define yyget_out
Definition: hecmw_partlex.c:182
flex_int32_t
int flex_int32_t
Definition: hecmw_ablex.c:311
YY_BUFFER_NEW
#define YY_BUFFER_NEW
Definition: hecmw_partlex.c:490
HECMW_partlex_set_input
int HECMW_partlex_set_input(FILE *fp)
yy_scan_string
#define yy_scan_string
Definition: hecmw_partlex.c:11
HECMW_PARTLEX_V_SIMPLE
#define HECMW_PARTLEX_V_SIMPLE
Definition: hecmw_partlex.h:57
YY_BUFFER_NORMAL
#define YY_BUFFER_NORMAL
Definition: hecmw_partlex.c:491
NULL
#define NULL
Definition: hecmw_io_nastran.c:30
YY_DECL
#define YY_DECL
Definition: hecmw_partlex.c:1031
YY_END_OF_BUFFER
#define YY_END_OF_BUFFER
Definition: hecmw_partlex.c:614
yyget_debug
#define yyget_debug
Definition: hecmw_partlex.c:146
flex_uint8_t
unsigned char flex_uint8_t
Definition: hecmw_partlex.c:312
HECMW_PARTLEX_K_PART
#define HECMW_PARTLEX_K_PART
Definition: hecmw_partlex.h:35
yy_cp
char * yy_cp
Definition: hecmw_partlex.c:1057
yyset_extra
#define yyset_extra
Definition: hecmw_partlex.c:164
yy_flush_buffer
#define yy_flush_buffer
Definition: hecmw_partlex.c:14
HECMW_PARTLEX_H_PARTITION
#define HECMW_PARTLEX_H_PARTITION
Definition: hecmw_partlex.h:21
YY_EXTRA_TYPE
#define YY_EXTRA_TYPE
Definition: hecmw_partlex.c:882
yy_buffer_state::yy_bs_lineno
int yy_bs_lineno
Definition: hecmw_ablex.c:480
HECMW_PARTLEX_V_DISTRIBUTE
#define HECMW_PARTLEX_V_DISTRIBUTE
Definition: hecmw_partlex.h:55
yyget_text
#define yyget_text
Definition: hecmw_partlex.c:200
HECMW_PARTLEX_V_KMETIS
#define HECMW_PARTLEX_V_KMETIS
Definition: hecmw_partlex.h:43
YY_STATE_EOF
#define YY_STATE_EOF(state)
Definition: hecmw_partlex.c:384
flex_int16_t
short int flex_int16_t
Definition: hecmw_partlex.c:310