Skip to content
Snippets Groups Projects
Gmsh.tab.cpp 347 KiB
Newer Older
     233,   233,   233,   145,   144,     7,   123,   229,   146,     7,
     175,   176,   147,     7,   145,   151,    46,    49,    52,    54,
     181,     6,   221,   221,   221,   221,   221,   221,   221,   221,
     221,   221,   221,   221,   221,   221,   221,     6,   144,   149,
     149,   144,   145,   150,   221,   228,     8,   135,   149,   151,
     144,   144,   221,   144,   151,   144,   144,   221,   151,   144,
     144,   150,   151,   229,   135,     7,   221,   221,   221,   221,
       7,     7,   214,   214,   221,   143,   143,   143,   143,   221,
     221,   221,     7,   150,   144,     6,   149,   149,   149,   223,
     223,   187,   187,   149,   221,   221,   221,   221,   199,   149,
     188,   221,   221,   221,   221,     7,   215,     7,   221,     6,
     221,   221,   151,   229,   221,   221,   144,   144,   144,    96,
     149,   188,   150,     8,   144,   146,   151,   151,   145,   147,
     144,   144,   144,   144,   221,   146,   176,   221,     4,    86,
      87,    88,    89,   151,   163,   167,   170,   172,   173,   144,
     146,   144,   146,   144,   146,   144,   146,   144,   146,   144,
     146,   144,   146,   144,   146,   144,   146,   144,   146,   144,
     146,   149,   149,   144,   146,   144,   146,   144,   146,   144,
     146,   144,   146,   144,   146,   149,   149,   149,   149,   149,
     149,   144,   149,   149,   144,   144,     6,   149,   144,   149,
     221,   226,   226,   151,     7,   147,   175,   176,   234,   221,
       6,     4,     4,   150,   231,   146,   150,   150,   150,   150,
       8,     6,   130,   157,   229,   221,     7,   146,   150,   221,
     221,   221,   228,   221,   228,    99,     7,     7,   144,     7,
      99,     7,     7,   144,    99,     7,     7,   229,   151,   150,
     221,   144,   151,   144,   144,   221,   226,     4,   213,     6,
     144,   178,   221,   234,   178,   178,   178,   144,   144,   144,
     226,   229,   147,   223,   221,   221,   151,   151,   221,   149,
     149,   149,    76,    82,    83,   209,   210,   223,   151,   196,
     144,   151,   144,   144,   221,     6,   221,   144,   146,   146,
     151,   146,   146,     7,     7,     7,   147,   221,   151,   221,
     221,     7,   147,   221,     4,     7,     7,     7,     7,   146,
     147,   176,   233,   151,   164,   143,   143,   150,   174,     6,
     221,   221,   221,   221,   221,   221,   221,   221,   229,   233,
     221,   233,   146,     6,     6,   146,     4,    96,    97,   221,
       6,     6,     6,     7,   145,   230,   232,     6,   229,   229,
     229,   229,   221,   130,   233,   144,   149,   223,   229,   151,
       8,    52,   226,   226,     7,   226,    52,    54,   226,   226,
       7,    54,   226,   226,   151,   229,     6,     7,     7,     7,
       7,    66,   212,     6,     7,   144,   144,   144,   144,     7,
       7,     7,     6,   151,     4,   149,   149,   149,   151,   223,
     223,   223,     6,   150,   143,   151,   210,   149,   209,     7,
       6,     7,     7,     6,   150,     6,     6,    52,     6,     6,
     226,   226,   226,     4,   149,     8,     8,   144,     4,     4,
     146,   150,   150,   150,   150,     6,     4,     6,   143,   221,
     221,   225,   226,   150,   144,   146,   144,   146,   144,   146,
     144,   146,   144,   144,   144,   144,   175,     7,   175,   176,
     147,     7,     6,   230,   221,   149,   151,   151,   151,   151,
     151,     6,     6,   157,   221,     6,   151,   221,   150,    59,
     180,   180,   226,     6,   150,   150,     6,     6,   226,   150,
       6,     6,   151,     5,   226,   226,   226,     4,     6,   226,
       7,     7,     7,     7,   226,   226,   226,     7,     6,     7,
     221,   221,   221,   150,   149,   151,   149,   151,   149,   151,
     221,   226,   221,   221,   223,   151,     5,   150,   226,   150,
     150,   226,   229,   150,     6,     6,    95,   221,   221,   221,
       6,     7,   147,   226,   226,   226,   226,   176,   161,   221,
     149,   149,   149,   151,   162,   221,   226,   234,   221,     6,
       4,   231,     6,   146,   230,     6,     6,     6,     6,   233,
     149,   146,   221,   223,     6,     6,     6,   221,   221,     6,
     221,     5,     6,     6,    99,   179,   221,     6,   226,   226,
     226,   226,     6,     4,   211,     6,   221,   221,   234,   151,
     144,   149,   151,   187,   223,     6,   200,   223,     6,   201,
     223,     6,   202,   151,   149,   144,   151,   149,     6,   134,
     223,     6,   223,   223,     6,   151,   221,   226,   149,   151,
       8,   151,   144,   150,   221,   234,     4,   149,   149,   149,
     149,   144,   149,   221,   221,   226,   150,   149,   151,     6,
       6,     6,     7,     6,   147,     6,   221,   151,   151,   151,
     151,     5,    50,     6,     6,     6,     6,     6,   150,     6,
     150,     6,     6,   150,   221,   151,   149,   150,   149,   150,
     149,   150,     6,   226,     7,   150,   221,   149,   149,   149,
       6,   151,    94,   221,   221,   229,     6,     6,   226,   226,
     226,   226,   165,   221,   149,   149,   225,   221,     6,   230,
      97,   149,     6,     6,     6,     6,     6,   150,   225,   229,
     187,   149,   151,   221,   223,   209,   221,   223,   209,   221,
     223,   209,   149,   151,   226,   188,   151,   223,   229,   223,
     221,   151,   151,   151,   151,   151,   151,   151,   150,   221,
     221,   151,     6,   221,   221,   151,   151,   151,   221,   151,
     149,   151,   151,   149,   151,   151,   149,   151,   226,     6,
      66,   151,   197,   150,   149,   151,   149,     6,     6,     6,
       6,     6,     6,   162,   144,   149,     6,   150,   149,   151,
       4,   211,     6,   151,     6,   203,   221,     6,     6,   204,
     221,     6,     6,   205,   221,     6,   151,   221,   209,   188,
     229,     6,   223,   229,   151,   168,   221,   225,   221,     6,
     150,   151,   150,   151,   150,   151,     6,     6,   151,   151,
     198,   151,   149,   151,     6,   150,   144,   151,   151,   209,
       6,   206,   209,     6,   207,   209,     6,   208,   209,     6,
     229,     6,   166,   233,   171,   150,     6,   151,   150,   151,
     150,   151,   150,   151,   151,   149,   151,   150,   225,     6,
     209,     6,   209,     6,   209,     6,   233,     6,   169,   233,
     151,   151,   151,   151,   149,   151,     6,     6,     6,     6,
     233,     6
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
};
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#define yyerrok		(yyerrstatus = 0)
#define yyclearin	(yychar = YYEMPTY)
#define YYEMPTY		(-2)
#define YYEOF		0
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#define YYACCEPT	goto yyacceptlab
#define YYABORT		goto yyabortlab
#define YYERROR		goto yyerrorlab
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed


/* Like YYERROR except do call yyerror.  This remains here temporarily
   to ease the transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#define YYFAIL		goto yyerrlab
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#define YYRECOVERING()  (!!yyerrstatus)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#define YYBACKUP(Token, Value)					\
do								\
  if (yychar == YYEMPTY && yylen == 1)				\
    {								\
      yychar = (Token);						\
      yylval = (Value);						\
      yytoken = YYTRANSLATE (yychar);				\
      YYPOPSTACK (1);						\
      goto yybackup;						\
    }								\
  else								\
    {								\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yyerror (YY_("syntax error: cannot back up")); \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
while (YYID (0))

#define YYTERROR	1
#define YYERRCODE	256
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
   If N is 0, then set CURRENT to the empty location which ends
   the previous symbol: RHS[0] (always defined).  */

#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)				\
    do									\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      if (YYID (N))                                                    \
	{								\
	  (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;	\
	  (Current).first_column = YYRHSLOC (Rhs, 1).first_column;	\
	  (Current).last_line    = YYRHSLOC (Rhs, N).last_line;		\
	  (Current).last_column  = YYRHSLOC (Rhs, N).last_column;	\
	}								\
      else								\
	{								\
	  (Current).first_line   = (Current).last_line   =		\
	    YYRHSLOC (Rhs, 0).last_line;				\
	  (Current).first_column = (Current).last_column =		\
	    YYRHSLOC (Rhs, 0).last_column;				\
	}								\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    while (YYID (0))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* YY_LOCATION_PRINT -- Print the location on the stream.
   This macro was not mandated originally: define only if we know
   we won't break user code: when these are the locations we know.  */

#ifndef YY_LOCATION_PRINT
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
#  define YY_LOCATION_PRINT(File, Loc)			\
     fprintf (File, "%d.%d-%d.%d",			\
	      (Loc).first_line, (Loc).first_column,	\
	      (Loc).last_line,  (Loc).last_column)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# else
#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
# endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed


/* YYLEX -- calling `yylex' with the right arguments.  */

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef YYLEX_PARAM
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# define YYLEX yylex (YYLEX_PARAM)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# define YYLEX yylex ()
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* Enable debugging if requested.  */
#if YYDEBUG

# ifndef YYFPRINTF
#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
#  define YYFPRINTF fprintf
# endif

# define YYDPRINTF(Args)			\
do {						\
  if (yydebug)					\
    YYFPRINTF Args;				\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
} while (YYID (0))

# define YY_SYMBOL_PRINT(Title, Type, Value, Location)			  \
do {									  \
  if (yydebug)								  \
    {									  \
      YYFPRINTF (stderr, "%s ", Title);					  \
      yy_symbol_print (stderr,						  \
		  Type, Value); \
      YYFPRINTF (stderr, "\n");						  \
    }									  \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
} while (YYID (0))


/*--------------------------------.
| Print this symbol on YYOUTPUT.  |
`--------------------------------*/

/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
#else
static void
yy_symbol_value_print (yyoutput, yytype, yyvaluep)
    FILE *yyoutput;
    int yytype;
    YYSTYPE const * const yyvaluep;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
{
  if (!yyvaluep)
    return;
# ifdef YYPRINT
  if (yytype < YYNTOKENS)
    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
# else
  YYUSE (yyoutput);
# endif
  switch (yytype)
    {
      default:
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    }
}


/*--------------------------------.
| Print this symbol on YYOUTPUT.  |
`--------------------------------*/
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
#else
static void
yy_symbol_print (yyoutput, yytype, yyvaluep)
    FILE *yyoutput;
    int yytype;
    YYSTYPE const * const yyvaluep;
#endif
{
  if (yytype < YYNTOKENS)
    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
  else
    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  yy_symbol_value_print (yyoutput, yytype, yyvaluep);
  YYFPRINTF (yyoutput, ")");
}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
`------------------------------------------------------------------*/
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#else
static void
yy_stack_print (bottom, top)
    yytype_int16 *bottom;
    yytype_int16 *top;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
{
  YYFPRINTF (stderr, "Stack now");
  for (; bottom <= top; ++bottom)
    YYFPRINTF (stderr, " %d", *bottom);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  YYFPRINTF (stderr, "\n");
}

# define YY_STACK_PRINT(Bottom, Top)				\
do {								\
  if (yydebug)							\
    yy_stack_print ((Bottom), (Top));				\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
} while (YYID (0))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/

#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
#else
static void
yy_reduce_print (yyvsp, yyrule)
    YYSTYPE *yyvsp;
    int yyrule;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
{
  int yynrhs = yyr2[yyrule];
  int yyi;
  unsigned long int yylno = yyrline[yyrule];
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* The symbols being reduced.  */
  for (yyi = 0; yyi < yynrhs; yyi++)
    {
      fprintf (stderr, "   $%d = ", yyi + 1);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
		       &(yyvsp[(yyi + 1) - (yynrhs)])
		       		       );
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    }
}

# define YY_REDUCE_PRINT(Rule)		\
do {					\
  if (yydebug)				\
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    yy_reduce_print (yyvsp, Rule); \
} while (YYID (0))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
# define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* YYINITDEPTH -- initial size of the parser's stacks.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# define YYINITDEPTH 200
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
   if the built-in stack extension method is used).
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   Do not make this value too large; the results are undefined if
   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifndef YYMAXDEPTH
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# define YYMAXDEPTH 10000
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#if YYERROR_VERBOSE

# ifndef yystrlen
#  if defined __GLIBC__ && defined _STRING_H
#   define yystrlen strlen
#  else
/* Return the length of YYSTR.  */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static YYSIZE_T
yystrlen (const char *yystr)
#else
static YYSIZE_T
yystrlen (yystr)
    const char *yystr;
#endif
{
  YYSIZE_T yylen;
  for (yylen = 0; yystr[yylen]; yylen++)
    continue;
  return yylen;
}
#  endif
# endif

# ifndef yystpcpy
#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
#   define yystpcpy stpcpy
#  else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
   YYDEST.  */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static char *
yystpcpy (char *yydest, const char *yysrc)
#else
static char *
yystpcpy (yydest, yysrc)
    char *yydest;
    const char *yysrc;
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
{
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  char *yyd = yydest;
  const char *yys = yysrc;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  while ((*yyd++ = *yys++) != '\0')
    continue;

  return yyd - 1;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#  endif
# endif

# ifndef yytnamerr
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
   quotes and backslashes, so that it's suitable for yyerror.  The
   heuristic is that double-quoting is unnecessary unless the string
   contains an apostrophe, a comma, or backslash (other than
   backslash-backslash).  YYSTR is taken from yytname.  If YYRES is
   null, do not copy; instead, return the length of what the result
   would have been.  */
static YYSIZE_T
yytnamerr (char *yyres, const char *yystr)
{
  if (*yystr == '"')
    {
      YYSIZE_T yyn = 0;
      char const *yyp = yystr;

      for (;;)
	switch (*++yyp)
	  {
	  case '\'':
	  case ',':
	    goto do_not_strip_quotes;

	  case '\\':
	    if (*++yyp != '\\')
	      goto do_not_strip_quotes;
	    /* Fall through.  */
	  default:
	    if (yyres)
	      yyres[yyn] = *yyp;
	    yyn++;
	    break;

	  case '"':
	    if (yyres)
	      yyres[yyn] = '\0';
	    return yyn;
	  }
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    do_not_strip_quotes: ;
    }
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  if (! yyres)
    return yystrlen (yystr);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  return yystpcpy (yyres, yystr) - yyres;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# endif

/* Copy into YYRESULT an error message about the unexpected token
   YYCHAR while in state YYSTATE.  Return the number of bytes copied,
   including the terminating null byte.  If YYRESULT is null, do not
   copy anything; just return the number of bytes that would be
   copied.  As a special case, return 0 if an ordinary "syntax error"
   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
   size calculation.  */
static YYSIZE_T
yysyntax_error (char *yyresult, int yystate, int yychar)
{
  int yyn = yypact[yystate];

  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
    return 0;
  else
    {
      int yytype = YYTRANSLATE (yychar);
      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
      YYSIZE_T yysize = yysize0;
      YYSIZE_T yysize1;
      int yysize_overflow = 0;
      enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
      char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
      int yyx;

# if 0
      /* This is so xgettext sees the translatable formats that are
	 constructed on the fly.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      YY_("syntax error, unexpected %s");
      YY_("syntax error, unexpected %s, expecting %s");
      YY_("syntax error, unexpected %s, expecting %s or %s");
      YY_("syntax error, unexpected %s, expecting %s or %s or %s");
      YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
# endif
      char *yyfmt;
      char const *yyf;
      static char const yyunexpected[] = "syntax error, unexpected %s";
      static char const yyexpecting[] = ", expecting %s";
      static char const yyor[] = " or %s";
      char yyformat[sizeof yyunexpected
		    + sizeof yyexpecting - 1
		    + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
		       * (sizeof yyor - 1))];
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      char const *yyprefix = yyexpecting;

      /* Start YYX at -YYN if negative to avoid negative indexes in
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      int yyxbegin = yyn < 0 ? -yyn : 0;

      /* Stay within bounds of both yycheck and yytname.  */
      int yychecklim = YYLAST - yyn + 1;
      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
      int yycount = 1;

      yyarg[0] = yytname[yytype];
      yyfmt = yystpcpy (yyformat, yyunexpected);

      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
	if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
	  {
	    if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
	      {
		yycount = 1;
		yysize = yysize0;
		yyformat[sizeof yyunexpected - 1] = '\0';
		break;
	      }
	    yyarg[yycount++] = yytname[yyx];
	    yysize1 = yysize + yytnamerr (0, yytname[yyx]);
	    yysize_overflow |= (yysize1 < yysize);
	    yysize = yysize1;
	    yyfmt = yystpcpy (yyfmt, yyprefix);
	    yyprefix = yyor;
	  }
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yyf = YY_(yyformat);
      yysize1 = yysize + yystrlen (yyf);
      yysize_overflow |= (yysize1 < yysize);
      yysize = yysize1;

      if (yysize_overflow)
	return YYSIZE_MAXIMUM;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

      if (yyresult)
	{
	  /* Avoid sprintf, as that infringes on the user's name space.
	     Don't have undefined behavior even if the translation
	     produced a string with the wrong number of "%s"s.  */
	  char *yyp = yyresult;
	  int yyi = 0;
	  while ((*yyp = *yyf) != '\0')
	    {
	      if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
		{
		  yyp += yytnamerr (yyp, yyarg[yyi++]);
		  yyf += 2;
		}
	      else
		{
		  yyp++;
		  yyf++;
		}
	    }
	}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      return yysize;
    }
}
#endif /* YYERROR_VERBOSE */


/*-----------------------------------------------.
| Release the memory associated to this symbol.  |
`-----------------------------------------------*/

/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
#else
static void
yydestruct (yymsg, yytype, yyvaluep)
    const char *yymsg;
    int yytype;
    YYSTYPE *yyvaluep;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
{
  YYUSE (yyvaluep);

  if (!yymsg)
    yymsg = "Deleting";
  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);

  switch (yytype)
    {

      default:
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    }
}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Prevent warnings from -Wmissing-prototypes.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
int yyparse ();
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
#else
int yyparse ();
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif /* ! YYPARSE_PARAM */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
int yychar;
/* The semantic value of the look-ahead symbol.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
YYSTYPE yylval;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Number of syntax errors so far.  */
int yynerrs;



/*----------.
| yyparse.  |
`----------*/
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#ifdef YYPARSE_PARAM
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
int
yyparse (void *YYPARSE_PARAM)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#else
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
int
yyparse (YYPARSE_PARAM)
    void *YYPARSE_PARAM;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#else /* ! YYPARSE_PARAM */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
int
yyparse (void)
#else
int
yyparse ()
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
{
  /* Number of tokens to shift before error messages enabled.  */
  int yyerrstatus;
  /* Look-ahead token as an internal (translated) token number.  */
  int yytoken = 0;
#if YYERROR_VERBOSE
  /* Buffer for error messages, and its allocated size.  */
  char yymsgbuf[128];
  char *yymsg = yymsgbuf;
  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif

  /* Three stacks and their tools:
     `yyss': related to states,
     `yyvs': related to semantic values,
     `yyls': related to locations.
     Refer to the stacks thru separate pointers, to allow yyoverflow
     to reallocate them elsewhere.  */
  /* The state stack.  */
  yytype_int16 yyssa[YYINITDEPTH];
  yytype_int16 *yyss = yyssa;
  yytype_int16 *yyssp;
  /* The semantic value stack.  */
  YYSTYPE yyvsa[YYINITDEPTH];
  YYSTYPE *yyvs = yyvsa;
  YYSTYPE *yyvsp;



#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))

  YYSIZE_T yystacksize = YYINITDEPTH;

  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;


  /* The number of symbols on the RHS of the reduced rule.
     Keep to zero when no symbol should be popped.  */
  int yylen = 0;

  YYDPRINTF ((stderr, "Starting parse\n"));
  yychar = YYEMPTY;		/* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  yyssp = yyss;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  goto yysetstate;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*------------------------------------------------------------.
| yynewstate -- Push a new state, which is found in yystate.  |
`------------------------------------------------------------*/
 yynewstate:
  /* In all cases, when you get here, the value and location stacks
     have just been pushed.  So pushing a state here evens the stacks.  */
  yyssp++;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
 yysetstate:
  *yyssp = yystate;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  if (yyss + yystacksize - 1 <= yyssp)
    {
      /* Get the current used size of the three stacks, in elements.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      YYSIZE_T yysize = yyssp - yyss + 1;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      {
	/* Give user a chance to reallocate the stack.  Use copies of
	   these so that the &'s don't force the real ones into
	   memory.  */
	YYSTYPE *yyvs1 = yyvs;
	yytype_int16 *yyss1 = yyss;
	/* Each stack pointer address is followed by the size of the
	   data in use in that stack, in bytes.  This used to be a
	   conditional around just the two extra args, but that might
	   be undefined if yyoverflow is a macro.  */
	yyoverflow (YY_("memory exhausted"),
		    &yyss1, yysize * sizeof (*yyssp),
		    &yyvs1, yysize * sizeof (*yyvsp),
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

	yyss = yyss1;
	yyvs = yyvs1;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      }
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# ifndef YYSTACK_RELOCATE
      goto yyexhaustedlab;
# else
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      if (YYMAXDEPTH <= yystacksize)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      if (YYMAXDEPTH < yystacksize)
	yystacksize = YYMAXDEPTH;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

      {
	yytype_int16 *yyss1 = yyss;
	union yyalloc *yyptr =
	  (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
	if (! yyptr)
	  goto yyexhaustedlab;
	YYSTACK_RELOCATE (yyss);
	YYSTACK_RELOCATE (yyvs);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#  undef YYSTACK_RELOCATE
	if (yyss1 != yyssa)
	  YYSTACK_FREE (yyss1);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      }
# endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yyssp = yyss + yysize - 1;
      yyvsp = yyvs + yysize - 1;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      YYDPRINTF ((stderr, "Stack size increased to %lu\n",
		  (unsigned long int) yystacksize));
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

      if (yyss + yystacksize - 1 <= yyssp)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*-----------.
| yybackup.  |
`-----------*/
yybackup:
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* Do appropriate processing given the current state.  Read a
     look-ahead token if we need one and don't already have one.  */
  /* First try to decide what to do without reference to look-ahead token.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  if (yyn == YYPACT_NINF)
  /* Not known => get a look-ahead token if don't already have one.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

  /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      YYDPRINTF ((stderr, "Reading a token: "));
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  if (yychar <= YYEOF)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yychar = yytoken = YYEOF;
      YYDPRINTF ((stderr, "Now at end of input.\n"));
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      yytoken = YYTRANSLATE (yychar);
      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* If the proper action on seeing token YYTOKEN is to reduce or to
     detect an error, take that action.  */
  yyn += yytoken;
  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  if (yyn <= 0)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      if (yyn == 0 || yyn == YYTABLE_NINF)
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* Count tokens shifted since error; after three, turn off error
     status.  */
  if (yyerrstatus)
    yyerrstatus--;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

  /* Shift the look-ahead token.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  /* Discard the shifted token unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  yystate = yyn;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

  goto yynewstate;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*-----------------------------------------------------------.
| yydefault -- do the default action for the current state.  |
`-----------------------------------------------------------*/
yydefault:
  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  goto yyreduce;

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/*-----------------------------.
| yyreduce -- Do a reduction.  |
`-----------------------------*/
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* yyn is the number of a rule to reduce with.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  /* If YYLEN is nonzero, implement the default value of the action:
     `$$ = $1'.
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
     Otherwise, the following line sets YYVAL to garbage.
     This behavior is undocumented and Bison
     users should not rely upon it.  Assigning to YYVAL
     unconditionally makes the parser a bit smaller, and it avoids a
     GCC warning that YYVAL may be used uninitialized.  */
  yyval = yyvsp[1-yylen];
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  YY_REDUCE_PRINT (yyn);
  switch (yyn)
    {
        case 3:
#line 160 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { yyerrok; return 1; ;}
    break;

  case 6:
#line 171 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 7:
#line 172 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 8:
#line 173 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 9:
#line 174 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 10:
#line 175 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;}
    break;

  case 11:
#line 176 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 12:
#line 177 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 13:
#line 178 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 14:
#line 179 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;}
    break;

  case 15:
#line 180 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 16:
#line 181 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 17:
#line 182 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 18:
#line 183 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 19:
#line 184 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    { return 1; ;}
    break;

  case 20:
#line 185 "Gmsh.y"
#line 186 "Gmsh.y"
Matti Pellika's avatar
 
Matti Pellika committed
    { return 1; ;}
    break;

  case 22:
#line 187 "Gmsh.y"
    { return 1; ;}
    break;

  case 23:
#line 192 "Gmsh.y"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    {
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    ;}
    break;