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 FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
/* 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. */
/* 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;
#endif /* ! C99 */
/* 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 */
#define YY_USE_CONST
#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;
#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 )
/* The following is because we cannot portably get our hands on size_t
* (without autoconf's help, which isn't available because we want
* flex-generated scanners to compile on their own).
*/
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef unsigned int yy_size_t;
#endif
#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 int yy_n_chars; /* number of characters read into yy_ch_buf */
int 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,int 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; \
gmsh_yyleng = (size_t) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES 153
#define YY_END_OF_BUFFER 154
/* 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[657] =
{ 0,
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
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
0, 0, 154, 152, 1, 1, 152, 5, 152, 6,
152, 152, 152, 152, 152, 147, 21, 2, 152, 16,
152, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 152, 28, 24, 19, 25, 17, 26,
18, 0, 149, 3, 4, 20, 148, 147, 0, 29,
27, 30, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 92, 91, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
110, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 137, 138, 151, 151,
151, 151, 151, 151, 151, 23, 22, 0, 148, 0,
0, 150, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 49,
151, 151, 151, 151, 151, 151, 151, 151, 151, 63,
151, 151, 151, 151, 151, 76, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
99, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
124, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 143, 151, 151, 151, 151, 151, 0, 149, 0,
0, 148, 31, 151, 151, 151, 151, 35, 37, 151,
151, 151, 57, 151, 44, 151, 151, 151, 151, 151,
151, 151, 48, 151, 151, 151, 151, 62, 151, 151,
151, 151, 71, 151, 72, 151, 151, 75, 151, 151,
151, 151, 151, 84, 85, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 97, 151, 98, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 120, 151, 151, 151, 151, 134, 125, 151, 151,
151, 151, 123, 151, 151, 151, 151, 151, 151, 139,
142, 151, 151, 151, 151, 10, 15, 9, 8, 151,
12, 14, 0, 148, 33, 151, 151, 151, 39, 151,
151, 151, 151, 151, 151, 151, 52, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 69, 151, 151,
73, 74, 151, 151, 151, 151, 151, 151, 151, 151,
151, 90, 151, 151, 95, 151, 151, 151, 100, 151,
151, 151, 106, 107, 151, 151, 151, 111, 151, 112,
151, 151, 151, 151, 151, 119, 151, 151, 151, 128,
151, 151, 151, 151, 151, 151, 151, 144, 151, 145,
151, 11, 151, 13, 151, 32, 36, 38, 151, 41,
151, 151, 151, 45, 151, 151, 151, 151, 151, 151,
151, 151, 59, 61, 151, 151, 68, 151, 151, 151,
151, 151, 78, 151, 151, 88, 87, 151, 89, 151,
151, 101, 96, 151, 151, 151, 103, 151, 151, 151,
116, 151, 115, 151, 121, 118, 151, 126, 127, 151,
131, 151, 151, 151, 151, 151, 151, 151, 146, 7,
151, 40, 42, 151, 151, 151, 151, 151, 47, 51,
151, 151, 151, 151, 65, 151, 151, 151, 66, 151,
151, 151, 151, 151, 151, 86, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 130, 151, 151,
129, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 54, 151, 151, 151, 64, 67, 151, 77, 151,
151, 151, 151, 80, 151, 151, 102, 104, 105, 151,
108, 109, 151, 151, 122, 151, 151, 135, 151, 151,
151, 151, 151, 151, 151, 46, 151, 151, 151, 151,
70, 151, 151, 151, 79, 151, 93, 151, 151, 117,
132, 151, 136, 151, 141, 151, 151, 56, 151, 53,
151, 151, 151, 151, 151, 151, 151, 113, 151, 151,
151, 151, 43, 151, 55, 151, 60, 151, 151, 151,
151, 114, 133, 140, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 50,
58, 151, 151, 151, 151, 151, 151, 151, 151, 151,
34, 151, 151, 151, 151, 151, 151, 151, 151, 81,
82, 83, 151, 151, 94, 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,
39, 40, 41, 42, 43, 44, 45, 39, 39, 39,
51, 52, 53, 54, 55, 39, 56, 57, 58, 59,
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 1, 72, 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
} ;
{ 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,
} ;
static yyconst flex_int16_t yy_base[658] =
{ 0,
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
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
0, 0, 778, 779, 779, 779, 756, 779, 770, 779,
754, 64, 65, 63, 75, 77, 779, 779, 753, 752,
751, 46, 48, 66, 51, 65, 78, 46, 45, 71,
0, 712, 90, 80, 704, 706, 92, 106, 109, 145,
704, 707, 715, 693, 779, 779, 779, 779, 779, 779,
779, 753, 167, 779, 779, 779, 172, 187, 211, 779,
779, 779, 0, 703, 707, 712, 705, 712, 697, 686,
690, 62, 700, 707, 690, 152, 701, 59, 694, 703,
692, 698, 698, 93, 698, 694, 684, 683, 679, 682,
699, 674, 688, 111, 676, 694, 0, 670, 674, 663,
92, 673, 137, 700, 680, 666, 678, 664, 663, 655,
0, 35, 136, 669, 664, 113, 657, 664, 660, 660,
658, 176, 654, 653, 652, 137, 0, 0, 679, 654,
662, 664, 655, 652, 640, 779, 779, 227, 232, 241,
247, 252, 643, 659, 190, 646, 645, 646, 647, 642,
643, 641, 641, 634, 647, 644, 634, 174, 630, 638,
644, 639, 638, 641, 619, 631, 242, 628, 619, 0,
620, 618, 624, 620, 629, 0, 629, 647, 244, 625,
624, 249, 614, 646, 621, 606, 619, 616, 617, 616,
652, 604, 618, 597, 614, 610, 613, 604, 594, 598,
603, 596, 607, 594, 602, 591, 584, 602, 597, 579,
592, 585, 593, 588, 587, 576, 254, 588, 581, 589,
610, 582, 588, 575, 574, 566, 244, 299, 304, 313,
318, 323, 0, 567, 570, 574, 581, 0, 612, 571,
574, 574, 0, 557, 0, 575, 564, 557, 556, 563,
215, 567, 0, 551, 556, 549, 548, 0, 551, 551,
558, 554, 0, 542, 0, 557, 543, 0, 540, 558,
544, 537, 554, 0, 0, 534, 548, 551, 546, 531,
555, 531, 529, 529, 526, 533, 0, 576, 0, 212,
531, 523, 523, 527, 524, 528, 531, 526, 515, 516,
513, 0, 519, 513, 510, 524, 0, 0, 508, 509,
148, 512, 0, 523, 506, 517, 520, 515, 530, 0,
0, 494, 499, 509, 503, 0, 0, 503, 0, 508,
501, 0, 328, 333, 512, 492, 496, 495, 0, 494,
489, 496, 493, 500, 497, 496, 504, 486, 493, 477,
487, 490, 489, 488, 487, 212, 474, 0, 486, 485,
0, 0, 479, 246, 466, 469, 474, 465, 470, 469,
465, 0, 488, 461, 0, 460, 469, 458, 0, 474,
465, 459, 0, 0, 467, 467, 467, 0, 456, 0,
473, 461, 464, 452, 459, 0, 455, 457, 456, 0,
441, 440, 453, 446, 453, 436, 440, 0, 177, 0,
448, 0, 445, 0, 442, 0, 0, 481, 444, 0,
435, 436, 427, 0, 432, 443, 438, 419, 428, 427,
443, 421, 0, 0, 122, 428, 0, 427, 430, 420,
188, 456, 0, 423, 411, 0, 0, 420, 0, 438,
423, 0, 0, 422, 413, 400, 0, 405, 414, 421,
0, 406, 0, 411, 0, 0, 414, 0, 0, 412,
0, 411, 415, 410, 397, 409, 403, 410, 0, 0,
391, 0, 0, 402, 414, 402, 403, 403, 0, 0,
400, 402, 388, 400, 0, 382, 396, 397, 0, 384,
410, 405, 398, 380, 387, 0, 403, 387, 370, 378,
382, 369, 382, 373, 375, 369, 364, 0, 371, 360,
0, 354, 372, 363, 356, 366, 395, 358, 354, 365,
358, 0, 349, 352, 347, 0, 0, 352, 0, 373,
372, 383, 354, 0, 383, 340, 0, 0, 0, 349,
0, 0, 352, 351, 0, 332, 345, 0, 342, 343,
346, 359, 335, 336, 338, 0, 341, 340, 330, 338,
0, 348, 347, 356, 0, 343, 0, 335, 320, 0,
0, 315, 0, 316, 0, 319, 310, 0, 314, 0,
313, 319, 325, 328, 327, 326, 340, 0, 319, 318,
317, 302, 0, 301, 0, 305, 0, 320, 319, 318,
324, 0, 0, 0, 305, 304, 305, 330, 329, 328,
318, 293, 303, 281, 285, 284, 270, 263, 247, 0,
0, 263, 262, 261, 259, 235, 267, 266, 264, 266,
0, 250, 249, 245, 250, 181, 129, 120, 115, 0,
0, 0, 97, 71, 0, 779, 82
} ;
static yyconst flex_int16_t yy_def[658] =
{ 0,
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
603
604
605
606
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
656, 1, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 656, 656, 656, 656, 656,
656, 656, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 656, 656, 656,
656, 656, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 656, 656, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
657, 657, 657, 657, 657, 0, 656
} ;
static yyconst flex_int16_t yy_nxt[852] =
{ 0,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
39, 40, 41, 42, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 43, 31,
91, 200, 54, 63, 49, 51, 55, 57, 69, 58,
58, 58, 58, 58, 64, 56, 92, 655, 70, 93,
201, 78, 65, 59, 94, 79, 96, 71, 66, 67,
68, 162, 72, 80, 95, 163, 73, 104, 151, 74,
75, 81, 97, 82, 85, 76, 152, 59, 77, 98,
83, 654, 86, 84, 87, 88, 100, 89, 108, 105,
101, 653, 109, 90, 102, 110, 111, 169, 112, 103,
188, 113, 115, 170, 114, 652, 116, 171, 189, 127,
128, 206, 119, 120, 651, 117, 121, 181, 182, 122,
123, 118, 495, 124, 125, 129, 496, 207, 126, 53,
53, 53, 53, 53, 139, 139, 139, 139, 139, 191,
202, 130, 203, 138, 219, 220, 192, 57, 140, 58,
58, 58, 58, 58, 131, 156, 399, 132, 157, 158,
501, 159, 400, 59, 235, 160, 650, 138, 502, 141,
141, 250, 140, 142, 142, 142, 142, 142, 477, 213,
236, 237, 214, 478, 251, 228, 228, 59, 215, 229,
229, 229, 229, 229, 139, 139, 139, 139, 139, 231,
231, 380, 381, 232, 232, 232, 232, 232, 230, 142,
142, 142, 142, 142, 142, 142, 142, 142, 142, 260,
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
271, 349, 261, 276, 350, 435, 436, 277, 314, 649,
441, 648, 230, 442, 272, 647, 646, 273, 278, 279,
645, 315, 326, 316, 644, 327, 643, 642, 641, 640,
328, 639, 638, 637, 329, 636, 330, 331, 635, 634,
332, 229, 229, 229, 229, 229, 229, 229, 229, 229,
229, 333, 333, 633, 632, 334, 334, 334, 334, 334,
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
334, 334, 334, 334, 334, 334, 334, 334, 334, 334,
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,
591, 590, 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, 556, 555, 554, 553, 552,
551, 550, 549, 548, 547, 546, 545, 544, 543, 542,
541, 540, 539, 538, 537, 536, 535, 534, 533, 532,
531, 530, 529, 528, 527, 526, 525, 524, 523, 522,
521, 520, 519, 518, 517, 516, 515, 514, 513, 512,
511, 510, 509, 508, 507, 506, 505, 504, 503, 500,
499, 498, 497, 494, 493, 492, 491, 490, 489, 488,
487, 486, 485, 484, 483, 482, 481, 480, 479, 476,
475, 474, 473, 472, 471, 470, 469, 468, 467, 466,
465, 464, 463, 462, 461, 460, 459, 458, 457, 456,
455, 454, 453, 452, 451, 450, 449, 448, 447, 446,
445, 444, 443, 440, 439, 438, 437, 434, 433, 432,
431, 430, 429, 428, 427, 426, 425, 424, 423, 422,
421, 420, 419, 418, 417, 416, 415, 414, 413, 412,
411, 410, 409, 408, 407, 406, 405, 404, 403, 402,
401, 398, 397, 396, 395, 394, 393, 392, 391, 390,
389, 388, 387, 386, 385, 384, 383, 382, 379, 378,
377, 376, 375, 374, 373, 372, 371, 370, 369, 368,
367, 366, 365, 364, 363, 362, 361, 360, 359, 358,
357, 356, 355, 354, 353, 352, 351, 348, 347, 346,
345, 344, 343, 342, 341, 340, 339, 338, 337, 336,
335, 325, 324, 323, 322, 321, 320, 319, 318, 317,
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, 288, 287, 286, 285, 284,
283, 282, 281, 280, 275, 274, 270, 269, 268, 267,
266, 265, 264, 263, 262, 259, 258, 257, 256, 255,
254, 253, 252, 249, 248, 247, 246, 245, 244, 243,
242, 241, 240, 239, 238, 234, 233, 227, 226, 225,
224, 223, 222, 221, 218, 217, 216, 212, 211, 210,
209, 208, 205, 204, 199, 198, 197, 196, 195, 194,
193, 190, 187, 186, 185, 184, 183, 180, 179, 178,
177, 176, 175, 174, 173, 172, 168, 167, 166, 165,
164, 161, 155, 154, 153, 150, 149, 148, 147, 146,
145, 144, 143, 137, 136, 135, 134, 133, 107, 106,
99, 62, 61, 60, 47, 46, 45, 656, 3, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656
} ;
static yyconst flex_int16_t yy_chk[852] =
{ 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,
28, 112, 15, 657, 12, 13, 15, 16, 23, 16,
16, 16, 16, 16, 22, 15, 28, 654, 23, 29,
112, 25, 22, 16, 29, 25, 30, 23, 22, 22,
22, 78, 24, 25, 29, 78, 24, 34, 72, 24,
26, 653, 27, 26, 27, 27, 33, 27, 37, 34,
33, 649, 37, 27, 33, 37, 37, 84, 37, 33,
101, 37, 38, 84, 37, 648, 38, 84, 101, 40,
40, 116, 39, 39, 647, 38, 39, 94, 94, 39,
39, 38, 435, 39, 39, 40, 435, 116, 39, 53,
53, 53, 53, 53, 57, 57, 57, 57, 57, 103,
113, 40, 113, 53, 126, 126, 103, 58, 57, 58,
58, 58, 58, 58, 40, 76, 311, 40, 76, 76,
441, 76, 311, 58, 145, 76, 646, 53, 441, 59,
59, 158, 57, 59, 59, 59, 59, 59, 409, 122,
145, 145, 122, 409, 158, 138, 138, 58, 122, 138,
138, 138, 138, 138, 139, 139, 139, 139, 139, 140,
140, 290, 290, 140, 140, 140, 140, 140, 139, 141,
141, 141, 141, 141, 142, 142, 142, 142, 142, 167,
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
179, 251, 167, 182, 251, 356, 356, 182, 217, 645,
364, 644, 139, 364, 179, 643, 642, 179, 182, 182,
640, 217, 227, 217, 639, 227, 638, 637, 636, 635,
227, 634, 633, 632, 227, 629, 227, 227, 628, 627,
227, 228, 228, 228, 228, 228, 229, 229, 229, 229,
229, 230, 230, 626, 625, 230, 230, 230, 230, 230,
231, 231, 231, 231, 231, 232, 232, 232, 232, 232,
333, 333, 333, 333, 333, 334, 334, 334, 334, 334,
624, 623, 622, 621, 620, 619, 618, 617, 616, 615,
611, 610, 609, 608, 606, 604, 602, 601, 600, 599,
597, 596, 595, 594, 593, 592, 591, 589, 587, 586,
584, 582, 579, 578, 576, 574, 573, 572, 570, 569,
568, 567, 565, 564, 563, 562, 561, 560, 559, 557,
556, 554, 553, 550, 546, 545, 543, 542, 541, 540,
538, 535, 534, 533, 531, 530, 529, 528, 527, 526,
525, 524, 523, 522, 520, 519, 517, 516, 515, 514,
513, 512, 511, 510, 509, 508, 507, 505, 504, 503,
502, 501, 500, 498, 497, 496, 494, 493, 492, 491,
488, 487, 486, 485, 484, 481, 478, 477, 476, 475,
474, 473, 472, 470, 467, 464, 462, 460, 459, 458,
456, 455, 454, 451, 450, 448, 445, 444, 442, 440,
439, 438, 436, 432, 431, 430, 429, 428, 427, 426,
425, 423, 422, 421, 419, 418, 415, 413, 411, 407,
406, 405, 404, 403, 402, 401, 399, 398, 397, 395,
394, 393, 392, 391, 389, 387, 386, 385, 382, 381,
380, 378, 377, 376, 374, 373, 371, 370, 369, 368,
367, 366, 365, 363, 360, 359, 357, 355, 354, 353,
352, 351, 350, 349, 348, 347, 346, 345, 344, 343,
342, 341, 340, 338, 337, 336, 335, 331, 330, 328,
325, 324, 323, 322, 319, 318, 317, 316, 315, 314,
312, 310, 309, 306, 305, 304, 303, 301, 300, 299,
298, 297, 296, 295, 294, 293, 292, 291, 288, 286,
285, 284, 283, 282, 281, 280, 279, 278, 277, 276,
273, 272, 271, 270, 269, 267, 266, 264, 262, 261,
260, 259, 257, 256, 255, 254, 252, 250, 249, 248,
247, 246, 244, 242, 241, 240, 239, 237, 236, 235,
234, 226, 225, 224, 223, 222, 221, 220, 219, 218,
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, 187,
186, 185, 184, 183, 181, 180, 178, 177, 175, 174,
173, 172, 171, 169, 168, 166, 165, 164, 163, 162,
161, 160, 159, 157, 156, 155, 154, 153, 152, 151,
150, 149, 148, 147, 146, 144, 143, 135, 134, 133,
132, 131, 130, 129, 125, 124, 123, 121, 120, 119,
118, 117, 115, 114, 110, 109, 108, 107, 106, 105,
104, 102, 100, 99, 98, 96, 95, 93, 92, 91,
90, 89, 88, 87, 86, 85, 83, 82, 81, 80,
79, 77, 75, 74, 73, 71, 70, 69, 68, 67,
66, 65, 64, 52, 44, 43, 42, 41, 36, 35,
32, 21, 20, 19, 11, 9, 7, 3, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656, 656, 656, 656, 656, 656, 656, 656, 656, 656,
656
} ;
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-2010 C. Geuzaine, J.-F. Remacle
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <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 );
/* Macros after this point can all be overridden by user definitions in
* section 1.
*/
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
#else
#endif
#endif
#ifndef yytext_ptr
#endif

Christophe Geuzaine
committed
#ifdef YY_NEED_STRLEN

Christophe Geuzaine
committed
#endif
#ifndef YY_NO_INPUT
#else
#endif
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif
/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO (void) fwrite( gmsh_yytext, gmsh_yyleng, 1, gmsh_yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
* is returned in "result".
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
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; \
if ( c == EOF && ferror( gmsh_yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, gmsh_yyin))==0 && ferror(gmsh_yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(gmsh_yyin); \
} \
}\
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
* we don't want an extra ';' after the "return" because that will cause
* some compilers to complain about unreachable statements.
*/