Newer
Older
#line 2 "Gmsh.yy.cpp"
#line 4 "Gmsh.yy.cpp"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer gmsh_yy_create_buffer
#define yy_delete_buffer gmsh_yy_delete_buffer
#define yy_flex_debug gmsh_yy_flex_debug
#define yy_init_buffer gmsh_yy_init_buffer
#define yy_flush_buffer gmsh_yy_flush_buffer
#define yy_load_buffer_state gmsh_yy_load_buffer_state
#define yy_switch_to_buffer gmsh_yy_switch_to_buffer
#define yyin gmsh_yyin
#define yyleng gmsh_yyleng
#define yylex gmsh_yylex
#define yylineno gmsh_yylineno
#define yyout gmsh_yyout
#define yyrestart gmsh_yyrestart
#define yytext gmsh_yytext
#define yywrap gmsh_yywrap
#define yyalloc gmsh_yyalloc
#define yyrealloc gmsh_yyrealloc
#define yyfree gmsh_yyfree
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 35
/* First, we deal with platform-specific or compiler-specific issues. */
/* begin standard C headers. */
#include <stdio.h>
/* flex integer type definitions */
#ifndef FLEXINT_H
#define FLEXINT_H
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif
#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)
#define YY_USE_CONST
#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative, possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative,
* we want to instead treat it as an 8-bit unsigned char, hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter,
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
*/
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif
extern yy_size_t gmsh_yyleng;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
{ \
/* Undo effects of setting up gmsh_yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = (yy_hold_char); \
YY_RESTORE_YY_MORE_OFFSET \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up gmsh_yytext again */ \
} \
while ( 0 )
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
{
FILE *yy_input_file;
char *yy_ch_buf; /* input buffer */
char *yy_buf_pos; /* current position in input buffer */
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
* delete it.
*/
int yy_is_our_buffer;
/* Whether this is an "interactive" input source; if so, and
* if we're using stdio for input, then we want to use getc()
* instead of fread(), to make sure we stop fetching input after
* each newline.
*/
int yy_is_interactive;
/* Whether we're considered to be at the beginning of a line.
* If so, '^' rules will be active on the next match, otherwise
* not.
*/
int yy_at_bol;
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
int yy_fill_buffer;
int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
/* When an EOF's been seen but there's still some text to process
* then we mark the buffer as YY_EOF_PENDING, to indicate that we
* shouldn't try reading from the input source any more. We might
* still have a bunch of tokens to match, though, because of
* possible backing-up.
*
* When we actually see the EOF, we change the status to "new"
* (via gmsh_yyrestart()), so that the user can continue scanning by
* just pointing gmsh_yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
* "scanner state".
*/
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
/* yy_hold_char holds the character lost when gmsh_yytext is formed. */
static char yy_hold_char;
static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
yy_size_t gmsh_yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow gmsh_yywrap()'s to do buffer switches
* instead of setting up a fresh gmsh_yyin. A bit of a hack ...
*/
static int yy_did_buffer_switch_on_eof;
void gmsh_yyrestart (FILE *input_file );
void gmsh_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
YY_BUFFER_STATE gmsh_yy_create_buffer (FILE *file,int size );
void gmsh_yy_delete_buffer (YY_BUFFER_STATE b );
void gmsh_yy_flush_buffer (YY_BUFFER_STATE b );
void gmsh_yypush_buffer_state (YY_BUFFER_STATE new_buffer );
void gmsh_yypop_buffer_state (void );
static void gmsh_yyensure_buffer_stack (void );
static void gmsh_yy_load_buffer_state (void );
static void gmsh_yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
YY_BUFFER_STATE gmsh_yy_scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE gmsh_yy_scan_string (yyconst char *yy_str );
YY_BUFFER_STATE gmsh_yy_scan_bytes (yyconst char *bytes,yy_size_t len );
void *gmsh_yyalloc (yy_size_t );
void *gmsh_yyrealloc (void *,yy_size_t );
void gmsh_yyfree (void * );
#define yy_set_interactive(is_interactive) \
{ \
if ( ! YY_CURRENT_BUFFER ){ \
YY_CURRENT_BUFFER_LVALUE = \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
if ( ! YY_CURRENT_BUFFER ){\
YY_CURRENT_BUFFER_LVALUE = \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
/* Begin user sect3 */
typedef unsigned char YY_CHAR;
typedef int yy_state_type;
static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void );
static void yy_fatal_error (yyconst char msg[] );
/* Done after the current pattern has been matched and before the
*/
#define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES 162
#define YY_END_OF_BUFFER 163
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
{
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
static yyconst flex_int16_t yy_accept[736] =
{ 0,
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
0, 0, 163, 161, 1, 1, 161, 5, 161, 6,
161, 161, 161, 161, 161, 156, 21, 2, 161, 16,
161, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 161, 28, 24, 19, 25, 17,
26, 18, 0, 158, 3, 4, 20, 157, 156, 0,
29, 27, 30, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 94,
93, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 113, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 145, 146, 160, 160, 160, 160, 160, 160, 160,
23, 22, 0, 157, 0, 0, 159, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 51, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 67, 160, 160,
160, 160, 160, 81, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 101,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 131, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 152, 160, 160, 160, 160, 160, 0, 158,
0, 0, 157, 160, 32, 160, 160, 160, 160, 36,
38, 160, 160, 160, 59, 160, 45, 160, 160, 160,
160, 160, 160, 160, 160, 50, 160, 160, 160, 160,
160, 66, 160, 160, 160, 160, 160, 76, 160, 77,
160, 160, 80, 160, 160, 160, 160, 160, 89, 90,
160, 160, 160, 160, 160, 160, 160, 160, 99, 100,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 126, 160, 160, 160, 160,
160, 142, 132, 160, 160, 160, 160, 130, 160, 160,
160, 160, 160, 160, 160, 147, 151, 160, 160, 160,
160, 10, 15, 9, 8, 160, 12, 14, 0, 157,
31, 34, 160, 160, 160, 40, 160, 160, 160, 160,
160, 160, 160, 160, 54, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 73, 75, 160, 160,
78, 79, 160, 160, 160, 160, 160, 160, 92, 160,
160, 97, 160, 160, 160, 102, 160, 160, 160, 160,
109, 110, 160, 160, 160, 114, 160, 115, 160, 160,
160, 160, 160, 160, 160, 125, 160, 160, 160, 135,
160, 160, 160, 160, 160, 160, 160, 160, 153, 160,
154, 160, 11, 160, 13, 160, 33, 37, 39, 160,
42, 160, 160, 160, 46, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 63, 65, 160, 160, 72,
160, 160, 160, 160, 160, 83, 160, 160, 160, 160,
160, 103, 98, 160, 160, 160, 160, 106, 160, 160,
160, 119, 160, 118, 160, 160, 160, 128, 124, 160,
133, 134, 160, 138, 160, 160, 160, 160, 160, 160,
160, 160, 155, 7, 160, 41, 43, 160, 160, 160,
160, 160, 160, 49, 53, 160, 160, 160, 160, 160,
69, 160, 160, 160, 70, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 137, 141, 160,
160, 136, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 56, 160, 160, 160, 160, 68,
71, 160, 82, 160, 160, 160, 160, 85, 91, 160,
160, 104, 107, 108, 160, 160, 111, 112, 160, 160,
160, 160, 160, 160, 129, 160, 160, 143, 160, 160,
160, 160, 160, 160, 160, 160, 47, 160, 160, 160,
160, 160, 160, 74, 160, 160, 160, 84, 160, 95,
160, 160, 160, 160, 160, 160, 122, 160, 139, 160,
144, 160, 160, 150, 160, 160, 58, 160, 48, 55,
160, 160, 160, 160, 160, 160, 160, 160, 160, 116,
160, 120, 160, 160, 127, 160, 160, 160, 160, 44,
160, 57, 160, 160, 64, 160, 160, 160, 160, 160,
117, 121, 160, 140, 160, 148, 160, 160, 160, 160,
160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 105, 160, 149, 160, 52,
60, 62, 160, 160, 160, 160, 123, 160, 160, 160,
160, 160, 160, 35, 160, 160, 160, 160, 160, 160,
160, 160, 160, 160, 160, 86, 87, 88, 160, 160,
160, 160, 96, 61, 0
} ;
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 4, 5, 1, 1, 1, 6, 7, 1,
1, 8, 9, 1, 10, 11, 12, 13, 14, 15,
16, 17, 17, 17, 17, 17, 17, 18, 19, 20,
21, 22, 1, 1, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,

Christophe Geuzaine
committed
39, 40, 41, 42, 43, 44, 45, 46, 46, 46,
1, 1, 1, 1, 47, 1, 48, 49, 50, 51,

Christophe Geuzaine
committed
52, 53, 54, 55, 56, 46, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 1, 73, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;

Christophe Geuzaine
committed
static yyconst flex_int32_t yy_meta[74] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

Christophe Geuzaine
committed
2, 2, 1
} ;
static yyconst flex_int16_t yy_base[737] =
{ 0,
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
0, 0, 863, 864, 864, 864, 841, 864, 855, 864,
839, 65, 66, 64, 76, 78, 864, 864, 838, 837,
836, 49, 49, 48, 64, 59, 76, 50, 50, 86,
0, 796, 88, 89, 788, 790, 99, 786, 100, 103,
156, 787, 790, 798, 776, 864, 864, 864, 864, 864,
864, 864, 837, 162, 864, 864, 864, 167, 182, 212,
864, 864, 864, 0, 786, 785, 789, 794, 787, 794,
779, 768, 772, 67, 782, 789, 772, 147, 783, 132,
776, 785, 774, 780, 766, 779, 145, 779, 775, 765,
764, 760, 763, 781, 755, 769, 24, 757, 776, 0,
751, 755, 744, 85, 108, 760, 782, 747, 760, 746,
758, 744, 743, 735, 0, 143, 157, 749, 756, 743,
150, 736, 743, 739, 739, 737, 175, 733, 732, 731,
164, 0, 0, 759, 733, 741, 743, 734, 731, 719,
864, 864, 227, 232, 241, 247, 252, 723, 721, 737,
245, 724, 723, 724, 725, 720, 721, 719, 719, 712,
725, 219, 713, 69, 709, 717, 723, 714, 717, 716,
719, 697, 709, 204, 703, 705, 696, 0, 697, 695,
701, 697, 706, 0, 706, 725, 247, 702, 701, 691,
690, 723, 697, 682, 695, 692, 693, 692, 677, 728,
694, 685, 672, 689, 685, 688, 679, 669, 673, 678,
671, 682, 669, 677, 676, 665, 669, 657, 675, 670,
652, 665, 658, 666, 661, 660, 649, 254, 661, 654,
662, 684, 655, 661, 648, 647, 639, 240, 296, 301,
310, 315, 320, 639, 0, 639, 642, 646, 653, 0,
685, 643, 646, 646, 0, 629, 0, 647, 636, 629,
633, 627, 634, 214, 638, 0, 622, 627, 626, 619,
618, 0, 621, 621, 628, 616, 623, 0, 611, 0,
626, 612, 0, 609, 627, 613, 606, 623, 0, 0,
612, 603, 628, 603, 601, 601, 598, 605, 0, 0,
649, 212, 638, 602, 594, 594, 598, 595, 599, 602,
597, 586, 587, 584, 122, 0, 590, 588, 583, 580,
594, 0, 0, 578, 579, 217, 582, 0, 593, 584,
575, 586, 589, 584, 600, 0, 0, 563, 568, 578,
572, 0, 0, 572, 0, 577, 570, 0, 325, 330,
0, 582, 561, 565, 564, 0, 563, 558, 565, 562,
569, 566, 565, 555, 573, 554, 561, 545, 555, 558,
557, 556, 555, 554, 230, 541, 0, 0, 553, 552,
0, 0, 546, 238, 533, 536, 541, 537, 0, 559,
531, 0, 530, 539, 528, 0, 544, 535, 532, 528,
0, 0, 536, 536, 536, 0, 525, 0, 543, 530,
518, 532, 528, 519, 526, 0, 522, 524, 523, 0,
508, 507, 512, 519, 512, 519, 502, 506, 0, 248,
0, 514, 0, 511, 0, 508, 0, 0, 548, 510,
0, 501, 502, 493, 0, 498, 499, 508, 503, 484,
493, 492, 509, 525, 485, 0, 0, 86, 492, 0,
491, 494, 484, 258, 521, 0, 487, 475, 487, 503,
487, 0, 0, 486, 477, 464, 481, 0, 468, 477,
484, 0, 469, 0, 474, 314, 494, 0, 0, 476,
0, 0, 474, 0, 475, 472, 476, 471, 458, 470,
310, 472, 0, 0, 453, 0, 0, 464, 477, 464,
465, 453, 464, 0, 0, 461, 463, 449, 448, 460,
0, 442, 456, 457, 0, 444, 471, 466, 459, 440,
447, 427, 463, 446, 429, 437, 441, 431, 427, 440,
431, 433, 324, 439, 426, 433, 420, 0, 0, 427,
416, 0, 410, 428, 412, 418, 411, 421, 451, 413,
409, 420, 417, 412, 0, 403, 406, 407, 400, 0,
0, 405, 0, 427, 426, 437, 407, 0, 0, 437,
393, 0, 0, 0, 394, 401, 0, 0, 404, 406,
394, 387, 400, 386, 0, 380, 393, 0, 390, 399,
390, 393, 407, 382, 383, 385, 0, 369, 387, 386,
376, 371, 383, 0, 394, 393, 402, 0, 389, 0,
374, 379, 364, 369, 372, 373, 0, 369, 0, 355,
0, 371, 355, 0, 358, 349, 0, 353, 0, 0,
352, 358, 349, 363, 366, 365, 364, 379, 343, 0,
356, 0, 349, 342, 0, 353, 255, 352, 337, 0,
336, 0, 340, 352, 0, 355, 354, 353, 359, 340,
0, 0, 346, 0, 329, 0, 336, 335, 336, 328,
360, 359, 358, 348, 324, 324, 325, 319, 329, 307,
311, 336, 334, 331, 322, 0, 303, 0, 307, 0,
328, 0, 322, 321, 320, 319, 0, 294, 297, 77,
125, 161, 193, 0, 201, 201, 241, 248, 269, 239,
267, 271, 286, 324, 294, 0, 0, 0, 318, 302,
328, 291, 0, 0, 864, 355
} ;
static yyconst flex_int16_t yy_def[737] =
{ 0,
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
735, 1, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
735, 735, 735, 735, 735, 735, 735, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 735, 735,
735, 735, 735, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 735, 735,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 736, 736, 736, 736, 736, 736,
736, 736, 736, 736, 0, 735
} ;
static yyconst flex_int16_t yy_nxt[938] =
{ 0,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

Christophe Geuzaine
committed
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 44,

Christophe Geuzaine
committed
31, 31, 45, 49, 53, 51, 54, 54, 54, 54,
54, 189, 190, 55, 94, 50, 52, 56, 58, 71,
59, 59, 59, 59, 59, 74, 57, 65, 66, 75,
72, 95, 76, 77, 60, 96, 67, 716, 78, 73,
97, 79, 68, 69, 70, 80, 83, 263, 84, 81,
98, 99, 85, 88, 157, 86, 107, 82, 87, 60,
264, 89, 158, 90, 91, 103, 92, 521, 100, 104,
108, 522, 93, 105, 196, 101, 112, 120, 106, 109,
113, 121, 197, 114, 115, 717, 116, 124, 125, 117,
122, 126, 118, 411, 127, 128, 123, 198, 129, 130,
132, 133, 199, 131, 54, 54, 54, 54, 54, 144,
144, 144, 144, 144, 168, 169, 134, 411, 143, 170,
209, 718, 58, 145, 59, 59, 59, 59, 59, 216,
177, 162, 217, 135, 163, 164, 178, 165, 60, 210,
179, 166, 211, 143, 212, 218, 136, 719, 145, 137,
146, 146, 230, 231, 147, 147, 147, 147, 147, 224,
720, 274, 225, 60, 275, 239, 239, 721, 226, 240,
240, 240, 240, 240, 144, 144, 144, 144, 144, 242,
242, 397, 398, 243, 243, 243, 243, 243, 241, 147,
147, 147, 147, 147, 147, 147, 147, 147, 147, 247,
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
260, 367, 464, 286, 368, 465, 419, 722, 329, 261,
527, 330, 420, 241, 723, 248, 249, 287, 528, 342,
288, 331, 343, 332, 458, 459, 675, 344, 724, 725,
501, 345, 726, 346, 347, 502, 727, 348, 240, 240,
240, 240, 240, 240, 240, 240, 240, 240, 349, 349,
675, 728, 350, 350, 350, 350, 350, 243, 243, 243,
243, 243, 243, 243, 243, 243, 243, 350, 350, 350,
350, 350, 350, 350, 350, 350, 350, 544, 555, 590,
729, 730, 731, 732, 733, 734, 64, 715, 714, 713,
712, 711, 710, 709, 591, 556, 708, 707, 706, 545,
705, 544, 555, 704, 590, 703, 702, 701, 700, 699,
698, 697, 696, 695, 694, 693, 692, 691, 591, 690,
689, 688, 687, 686, 685, 684, 683, 682, 681, 680,
679, 678, 677, 676, 674, 673, 672, 671, 670, 669,
668, 667, 666, 665, 664, 663, 662, 661, 660, 659,
658, 657, 656, 655, 654, 653, 652, 651, 650, 649,
648, 647, 646, 645, 644, 643, 642, 641, 640, 639,
638, 637, 636, 635, 634, 633, 632, 631, 630, 629,
628, 627, 626, 625, 624, 623, 622, 621, 620, 619,
618, 617, 616, 615, 614, 613, 612, 611, 610, 609,
608, 607, 606, 605, 604, 603, 602, 601, 600, 599,
598, 597, 596, 595, 594, 593, 592, 589, 588, 587,
586, 585, 584, 583, 582, 581, 580, 579, 578, 577,
576, 575, 574, 573, 572, 571, 570, 569, 568, 567,
566, 565, 564, 563, 562, 561, 560, 559, 558, 557,
554, 553, 552, 551, 550, 549, 548, 547, 546, 543,
542, 541, 540, 539, 538, 537, 536, 535, 534, 533,
532, 531, 530, 529, 526, 525, 524, 523, 520, 519,
518, 517, 516, 515, 514, 513, 512, 511, 510, 509,
508, 507, 506, 505, 504, 503, 500, 499, 498, 497,
496, 495, 494, 493, 492, 491, 490, 489, 488, 487,
486, 485, 484, 483, 482, 481, 480, 479, 478, 477,
476, 475, 474, 473, 472, 471, 470, 469, 468, 467,
466, 463, 462, 461, 460, 457, 456, 455, 454, 453,
452, 451, 450, 449, 448, 447, 446, 445, 444, 443,
442, 441, 440, 439, 438, 437, 436, 435, 434, 433,
432, 431, 430, 429, 428, 427, 426, 425, 424, 423,
422, 421, 418, 417, 416, 415, 414, 413, 412, 410,
409, 408, 407, 406, 405, 404, 403, 402, 401, 400,
399, 396, 395, 394, 393, 392, 391, 390, 389, 388,
387, 386, 385, 384, 383, 382, 381, 380, 379, 378,
377, 376, 375, 374, 373, 372, 371, 370, 369, 366,
365, 364, 363, 362, 361, 360, 359, 358, 357, 356,
355, 354, 353, 352, 351, 341, 340, 339, 338, 337,
336, 335, 334, 333, 328, 327, 326, 325, 324, 323,
322, 321, 320, 319, 318, 317, 316, 315, 314, 313,
312, 311, 310, 309, 308, 307, 306, 305, 304, 303,
302, 301, 300, 299, 298, 297, 296, 295, 294, 293,
292, 291, 290, 289, 285, 284, 283, 282, 281, 280,
279, 278, 277, 276, 273, 272, 271, 270, 269, 268,
267, 266, 265, 262, 259, 258, 257, 256, 255, 254,
253, 252, 251, 250, 246, 245, 244, 238, 237, 236,
235, 234, 233, 232, 229, 228, 227, 223, 222, 221,
220, 219, 215, 214, 213, 208, 207, 206, 205, 204,
203, 202, 201, 200, 195, 194, 193, 192, 191, 188,
187, 186, 185, 184, 183, 182, 181, 180, 176, 175,
174, 173, 172, 171, 167, 161, 160, 159, 156, 155,
154, 153, 152, 151, 150, 149, 148, 142, 141, 140,
139, 138, 119, 111, 110, 102, 63, 62, 61, 48,
47, 46, 735, 3, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735
} ;
static yyconst flex_int16_t yy_chk[938] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,

Christophe Geuzaine
committed
1, 1, 1, 12, 14, 13, 14, 14, 14, 14,
14, 97, 97, 15, 28, 12, 13, 15, 16, 23,
16, 16, 16, 16, 16, 24, 15, 22, 22, 24,
23, 28, 24, 24, 16, 29, 22, 710, 24, 23,
29, 24, 22, 22, 22, 25, 26, 164, 26, 25,
29, 30, 26, 27, 74, 26, 34, 25, 26, 16,
164, 27, 74, 27, 27, 33, 27, 458, 30, 33,
34, 458, 27, 33, 104, 30, 37, 39, 33, 34,
37, 39, 104, 37, 37, 711, 37, 40, 40, 37,
39, 40, 37, 315, 40, 40, 39, 105, 40, 40,
41, 41, 105, 40, 54, 54, 54, 54, 54, 58,
58, 58, 58, 58, 80, 80, 41, 315, 54, 80,
116, 712, 59, 58, 59, 59, 59, 59, 59, 121,
87, 78, 121, 41, 78, 78, 87, 78, 59, 116,
87, 78, 117, 54, 117, 121, 41, 713, 58, 41,
60, 60, 131, 131, 60, 60, 60, 60, 60, 127,
715, 174, 127, 59, 174, 143, 143, 716, 127, 143,
143, 143, 143, 143, 144, 144, 144, 144, 144, 145,
145, 302, 302, 145, 145, 145, 145, 145, 144, 146,
146, 146, 146, 146, 147, 147, 147, 147, 147, 151,
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
162, 264, 384, 187, 264, 384, 326, 717, 228, 162,
464, 228, 326, 144, 718, 151, 151, 187, 464, 238,
187, 228, 238, 228, 375, 375, 657, 238, 719, 720,
430, 238, 721, 238, 238, 430, 722, 238, 239, 239,
239, 239, 239, 240, 240, 240, 240, 240, 241, 241,
657, 723, 241, 241, 241, 241, 241, 242, 242, 242,
242, 242, 243, 243, 243, 243, 243, 349, 349, 349,
349, 349, 350, 350, 350, 350, 350, 486, 501, 543,
724, 725, 729, 730, 731, 732, 736, 709, 708, 706,
705, 704, 703, 701, 543, 501, 699, 697, 695, 486,
694, 486, 501, 693, 543, 692, 691, 690, 689, 688,
687, 686, 685, 684, 683, 682, 681, 680, 543, 679,
678, 677, 675, 673, 670, 669, 668, 667, 666, 664,
663, 661, 659, 658, 656, 654, 653, 651, 649, 648,
647, 646, 645, 644, 643, 642, 641, 638, 636, 635,
633, 632, 630, 628, 626, 625, 624, 623, 622, 621,
619, 617, 616, 615, 613, 612, 611, 610, 609, 608,
606, 605, 604, 603, 602, 601, 600, 599, 597, 596,
594, 593, 592, 591, 590, 589, 586, 585, 581, 580,
577, 576, 575, 574, 572, 569, 568, 567, 566, 564,
563, 562, 561, 560, 559, 558, 557, 556, 555, 554,
553, 551, 550, 547, 546, 545, 544, 542, 541, 540,
539, 538, 537, 536, 535, 534, 533, 532, 531, 530,
529, 528, 527, 526, 524, 523, 522, 520, 519, 518,
517, 516, 513, 512, 511, 510, 509, 508, 505, 502,
500, 499, 498, 497, 496, 495, 493, 490, 487, 485,
483, 481, 480, 479, 477, 476, 475, 474, 471, 470,
469, 468, 467, 465, 463, 462, 461, 459, 455, 454,
453, 452, 451, 450, 449, 448, 447, 446, 444, 443,
442, 440, 439, 436, 434, 432, 428, 427, 426, 425,
424, 423, 422, 421, 419, 418, 417, 415, 414, 413,
412, 411, 410, 409, 407, 405, 404, 403, 400, 399,
398, 397, 395, 394, 393, 391, 390, 388, 387, 386,
385, 383, 380, 379, 376, 374, 373, 372, 371, 370,
369, 368, 367, 366, 365, 364, 363, 362, 361, 360,
359, 358, 357, 355, 354, 353, 352, 347, 346, 344,
341, 340, 339, 338, 335, 334, 333, 332, 331, 330,
329, 327, 325, 324, 321, 320, 319, 318, 317, 314,
313, 312, 311, 310, 309, 308, 307, 306, 305, 304,
303, 301, 298, 297, 296, 295, 294, 293, 292, 291,
288, 287, 286, 285, 284, 282, 281, 279, 277, 276,
275, 274, 273, 271, 270, 269, 268, 267, 265, 263,
262, 261, 260, 259, 258, 256, 254, 253, 252, 251,
249, 248, 247, 246, 244, 237, 236, 235, 234, 233,
232, 231, 230, 229, 227, 226, 225, 224, 223, 222,
221, 220, 219, 218, 217, 216, 215, 214, 213, 212,
211, 210, 209, 208, 207, 206, 205, 204, 203, 202,
201, 200, 199, 198, 197, 196, 195, 194, 193, 192,
191, 190, 189, 188, 186, 185, 183, 182, 181, 180,
179, 177, 176, 175, 173, 172, 171, 170, 169, 168,
167, 166, 165, 163, 161, 160, 159, 158, 157, 156,
155, 154, 153, 152, 150, 149, 148, 140, 139, 138,
137, 136, 135, 134, 130, 129, 128, 126, 125, 124,
123, 122, 120, 119, 118, 114, 113, 112, 111, 110,
109, 108, 107, 106, 103, 102, 101, 99, 98, 96,
95, 94, 93, 92, 91, 90, 89, 88, 86, 85,
84, 83, 82, 81, 79, 77, 76, 75, 73, 72,
71, 70, 69, 68, 67, 66, 65, 53, 45, 44,
43, 42, 38, 36, 35, 32, 21, 20, 19, 11,
9, 7, 3, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
735, 735, 735, 735, 735, 735, 735
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
*/
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0

Christophe Geuzaine
committed
#define YY_RESTORE_YY_MORE_OFFSET
#line 1 "Gmsh.l"
#line 2 "Gmsh.l"
// Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@geuz.org>.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

Christophe Geuzaine
committed
#include "GmshMessage.h"
#include "Geo.h"

Christophe Geuzaine
committed
#include "Gmsh.tab.hpp"
void parsestring(char endchar);
char *strsave(char *ptr);
void skipcomments(void);
void skipline(void);
#define YY_INPUT(buf,result,max_size) \
{ \
int c = '*', n; \
for ( n = 0; n < max_size && \
(c = getc( gmsh_yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ){ \
buf[n++] = (char) c; \
gmsh_yylineno++; \
} \
if ( c == EOF && ferror( gmsh_yyin ) ) \
Msg::Fatal("Input in flex scanner failed"); \
result = n; \
} \
#if defined(WIN32)
#define isatty(arg) -1
#define INITIAL 0
#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
* down here because we want the user's section 1 to have been scanned first.
* The user has a chance to override it with an option.
*/
#include <unistd.h>
#endif
#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif
static int yy_init_globals (void );
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
int gmsh_yylex_destroy (void );
int gmsh_yyget_debug (void );
void gmsh_yyset_debug (int debug_flag );
YY_EXTRA_TYPE gmsh_yyget_extra (void );
void gmsh_yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *gmsh_yyget_in (void );
void gmsh_yyset_in (FILE * in_str );
FILE *gmsh_yyget_out (void );
void gmsh_yyset_out (FILE * out_str );
char *gmsh_yyget_text (void );