Skip to content
Snippets Groups Projects
Gmsh.yy.cpp 79.4 KiB
Newer Older
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#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
#define YY_FLEX_SUBMINOR_VERSION 33
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* First, we deal with  platform-specific or compiler-specific issues. */

/* begin standard C headers. */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#include <string.h>
#include <errno.h>
#include <stdlib.h>
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* end standard C headers. */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* flex integer type definitions */

#ifndef FLEXINT_H
#define FLEXINT_H

/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */

#if __STDC_VERSION__ >= 199901L
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* 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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#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;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* 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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif /* ! FLEXINT_H */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef __cplusplus

/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST

#else	/* ! __cplusplus */
#if __STDC__
#endif	/* __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.
 */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define BEGIN (yy_start) = 1 + 2 *

/* 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.
 */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_START (((yy_start) - 1) / 2)
#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". */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_NEW_FILE gmsh_yyrestart(gmsh_yyin  )

#define YY_END_OF_BUFFER_CHAR 0

/* Size of default input buffer. */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifndef YY_BUF_SIZE
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#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))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
extern int gmsh_yyleng;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern FILE *gmsh_yyin, *gmsh_yyout;

#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    #define YY_LESS_LINENO(n)
    
/* Return all but the first "n" matched characters back to the input stream. */
	do \
		{ \
		/* Undo effects of setting up gmsh_yytext. */ \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        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 )
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define unput(c) yyunput( c, (yytext_ptr)  )
/* 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

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_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.
	 */
	int yy_n_chars;

	/* 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;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    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;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#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.
	 */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* 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".
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
 *
 * Returns the top of the stack, or NULL.
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* 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)]
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* yy_hold_char holds the character lost when gmsh_yytext is formed. */
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 */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* 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 ...
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
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 );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
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  );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_FLUSH_BUFFER gmsh_yy_flush_buffer(YY_CURRENT_BUFFER )
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
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  );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
void *gmsh_yyalloc (yy_size_t  );
void *gmsh_yyrealloc (void *,yy_size_t  );
void gmsh_yyfree (void *  );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define yy_new_buffer gmsh_yy_create_buffer

#define yy_set_interactive(is_interactive) \
	{ \
	if ( ! YY_CURRENT_BUFFER ){ \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        gmsh_yyensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
            gmsh_yy_create_buffer(gmsh_yyin,YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
	}
	{ \
	if ( ! YY_CURRENT_BUFFER ){\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        gmsh_yyensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
            gmsh_yy_create_buffer(gmsh_yyin,YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
	}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

/* Begin user sect3 */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
FILE *gmsh_yyin = (FILE *) 0, *gmsh_yyout = (FILE *) 0;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern int gmsh_yylineno;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
int gmsh_yylineno = 1;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern char *gmsh_yytext;
#define yytext_ptr gmsh_yytext
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
 * corresponding action - sets up gmsh_yytext.
	(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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* 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,    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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
static yyconst flex_int32_t yy_ec[256] =
        1,    2,    2,    1,    1,    1,    1,    1,    1,    1,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        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,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        1,    1,    1,    1,   46,    1,   47,   48,   49,   50,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       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
    } ;

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
static yyconst flex_int32_t yy_meta[73] =
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        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's avatar
 
Christophe Geuzaine committed
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    1
static yyconst flex_int16_t yy_base[658] =
        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] =
      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] =
        4,    5,    6,    7,    8,    9,   10,   11,   12,   13,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       14,   15,   16,   16,   16,   16,   16,   17,   18,   19,
       20,   21,   22,   23,   24,   25,   26,   27,   28,   29,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       30,   31,   32,   33,   34,   35,   36,   37,   31,   38,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       39,   40,   41,   42,   31,   31,   31,   31,   31,   31,
       31,   31,   31,   31,   31,   31,   31,   31,   43,   31,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       31,   31,   31,   31,   31,   31,   31,   31,   31,   31,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       31,   44,   48,   52,   50,   53,   53,   53,   53,   53,
       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,
      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,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
        1,    1,   12,   14,   13,   14,   14,   14,   14,   14,
       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,
Christophe Geuzaine's avatar
Christophe Geuzaine committed
       24,   26,   30,   26,   27,   24,   72,   16,   24,   30,
       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,
      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;

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern int gmsh_yy_flex_debug;
int gmsh_yy_flex_debug = 0;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* 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's avatar
 
Christophe Geuzaine committed
char *gmsh_yytext;
Christophe Geuzaine's avatar
Christophe Geuzaine committed
// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle
Christophe Geuzaine's avatar
Christophe Geuzaine committed
// 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>

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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YY_NO_UNISTD_H
#line 899 "Gmsh.yy.cpp"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#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
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern "C" int gmsh_yywrap (void );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
extern int gmsh_yywrap (void );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    static void yyunput (int c,char *buf_ptr  );
    
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
static void yy_flex_strncpy (char *,yyconst char *,int );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
static int yy_flex_strlen (yyconst char * );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef __cplusplus
static int yyinput (void );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
static int input (void );
#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 = '*'; \
		size_t 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; \
		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); \
			} \
		}\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
\

#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.
 */