Skip to content
Snippets Groups Projects
Gmsh.tab.cpp 351 KiB
Newer Older
/* A Bison parser, made by GNU Bison 2.3.  */
/* Skeleton implementation for Bison's Yacc-like parsers in C

   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* C LALR(1) parser skeleton written by Richard Stallman, by
   simplifying the original so-called "semantic" parser.  */

/* All symbols defined below should begin with yy or YY, to avoid
   infringing on user name space.  This should be done even for local
   variables, as they might otherwise be expanded by user macros.
   There are some unavoidable exceptions within include files to
   define necessary library symbols; they are noted "INFRINGES ON
   USER NAME SPACE" below.  */

/* Identify Bison output.  */
#define YYBISON 1

/* Bison version.  */
#define YYBISON_VERSION "2.3"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* Skeleton name.  */
#define YYSKELETON_NAME "yacc.c"

/* Pure parsers.  */
#define YYPURE 0

/* Using locations.  */
#define YYLSP_NEEDED 0

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Substitute the variable and function names.  */
#define yyparse gmsh_yyparse
#define yylex   gmsh_yylex
#define yyerror gmsh_yyerror
#define yylval  gmsh_yylval
#define yychar  gmsh_yychar
#define yydebug gmsh_yydebug
#define yynerrs gmsh_yynerrs
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed


/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     tDOUBLE = 258,
     tSTRING = 259,
     tBIGSTR = 260,
     tEND = 261,
     tAFFECT = 262,
     tDOTS = 263,
     tPi = 264,
     tMPI_Rank = 265,
     tMPI_Size = 266,
     tEuclidian = 267,
     tCoordinates = 268,
     tExp = 269,
     tLog = 270,
     tLog10 = 271,
     tSqrt = 272,
     tSin = 273,
     tAsin = 274,
     tCos = 275,
     tAcos = 276,
     tTan = 277,
     tRand = 278,
     tAtan = 279,
     tAtan2 = 280,
     tSinh = 281,
     tCosh = 282,
     tTanh = 283,
     tFabs = 284,
     tFloor = 285,
     tCeil = 286,
     tFmod = 287,
     tModulo = 288,
     tHypot = 289,
     tPrintf = 290,
     tSprintf = 291,
     tStrCat = 292,
     tStrPrefix = 293,
     tStrRelative = 294,
     tBoundingBox = 295,
     tDraw = 296,
     tToday = 297,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
     tSyncModel = 298,
     tCreateTopology = 299,
     tDistanceFunction = 300,
     tPoint = 301,
     tCircle = 302,
     tEllipse = 303,
     tLine = 304,
     tSphere = 305,
     tPolarSphere = 306,
     tSurface = 307,
     tSpline = 308,
     tVolume = 309,
     tCharacteristic = 310,
     tLength = 311,
     tParametric = 312,
     tElliptic = 313,
     tPlane = 314,
     tRuled = 315,
     tTransfinite = 316,
     tComplex = 317,
     tPhysical = 318,
     tCompound = 319,
     tUsing = 320,
     tPlugin = 321,
     tDegenerated = 322,
     tOCCShape = 323,
     tRotate = 324,
     tTranslate = 325,
     tSymmetry = 326,
     tDilate = 327,
     tExtrude = 328,
     tLevelset = 329,
     tLoop = 330,
     tRecombine = 331,
     tSmoother = 332,
     tSplit = 333,
     tDelete = 334,
     tCoherence = 335,
     tIntersect = 336,
     tLayers = 337,
     tHole = 338,
     tAlias = 339,
     tAliasWithOptions = 340,
     tText2D = 341,
     tText3D = 342,
     tInterpolationScheme = 343,
     tTime = 344,
     tCombine = 345,
     tBSpline = 346,
     tBezier = 347,
     tNurbs = 348,
     tNurbsOrder = 349,
     tNurbsKnots = 350,
     tColor = 351,
     tColorTable = 352,
     tFor = 353,
     tIn = 354,
     tEndFor = 355,
     tIf = 356,
     tEndIf = 357,
     tExit = 358,
     tField = 359,
     tReturn = 360,
     tCall = 361,
     tFunction = 362,
     tShow = 363,
     tHide = 364,
     tGetValue = 365,
     tGMSH_MAJOR_VERSION = 366,
     tGMSH_MINOR_VERSION = 367,
     tGMSH_PATCH_VERSION = 368,
Matti Pellika's avatar
 
Matti Pellika committed
     tHomRank = 369,
     tHomGen = 370,
     tHomCut = 371,
     tHomSeq = 372,
     tAFFECTDIVIDE = 373,
     tAFFECTTIMES = 374,
     tAFFECTMINUS = 375,
     tAFFECTPLUS = 376,
     tOR = 377,
     tAND = 378,
     tNOTEQUAL = 379,
     tEQUAL = 380,
     tGREATEROREQUAL = 381,
     tLESSOREQUAL = 382,
     UNARYPREC = 383,
     tMINUSMINUS = 384,
     tPLUSPLUS = 385
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
   };
#endif
/* Tokens.  */
#define tDOUBLE 258
#define tSTRING 259
#define tBIGSTR 260
#define tEND 261
#define tAFFECT 262
#define tDOTS 263
#define tPi 264
#define tMPI_Rank 265
#define tMPI_Size 266
#define tEuclidian 267
#define tCoordinates 268
#define tExp 269
#define tLog 270
#define tLog10 271
#define tSqrt 272
#define tSin 273
#define tAsin 274
#define tCos 275
#define tAcos 276
#define tTan 277
#define tRand 278
#define tAtan 279
#define tAtan2 280
#define tSinh 281
#define tCosh 282
#define tTanh 283
#define tFabs 284
#define tFloor 285
#define tCeil 286
#define tFmod 287
#define tModulo 288
#define tHypot 289
#define tPrintf 290
#define tSprintf 291
#define tStrCat 292
#define tStrPrefix 293
#define tStrRelative 294
#define tBoundingBox 295
#define tDraw 296
#define tToday 297
#define tSyncModel 298
#define tCreateTopology 299
#define tDistanceFunction 300
#define tPoint 301
#define tCircle 302
#define tEllipse 303
#define tLine 304
#define tSphere 305
#define tPolarSphere 306
#define tSurface 307
#define tSpline 308
#define tVolume 309
#define tCharacteristic 310
#define tLength 311
#define tParametric 312
#define tElliptic 313
#define tPlane 314
#define tRuled 315
#define tTransfinite 316
#define tComplex 317
#define tPhysical 318
#define tCompound 319
#define tUsing 320
#define tPlugin 321
#define tDegenerated 322
#define tOCCShape 323
#define tRotate 324
#define tTranslate 325
#define tSymmetry 326
#define tDilate 327
#define tExtrude 328
#define tLevelset 329
#define tLoop 330
#define tRecombine 331
#define tSmoother 332
#define tSplit 333
#define tDelete 334
#define tCoherence 335
#define tIntersect 336
#define tLayers 337
#define tHole 338
#define tAlias 339
#define tAliasWithOptions 340
#define tText2D 341
#define tText3D 342
#define tInterpolationScheme 343
#define tTime 344
#define tCombine 345
#define tBSpline 346
#define tBezier 347
#define tNurbs 348
#define tNurbsOrder 349
#define tNurbsKnots 350
#define tColor 351
#define tColorTable 352
#define tFor 353
#define tIn 354
#define tEndFor 355
#define tIf 356
#define tEndIf 357
#define tExit 358
#define tField 359
#define tReturn 360
#define tCall 361
#define tFunction 362
#define tShow 363
#define tHide 364
#define tGetValue 365
#define tGMSH_MAJOR_VERSION 366
#define tGMSH_MINOR_VERSION 367
#define tGMSH_PATCH_VERSION 368
#define tHomRank 369
#define tHomGen 370
#define tHomCut 371
#define tHomSeq 372
#define tAFFECTDIVIDE 373
#define tAFFECTTIMES 374
#define tAFFECTMINUS 375
#define tAFFECTPLUS 376
#define tOR 377
#define tAND 378
#define tNOTEQUAL 379
#define tEQUAL 380
#define tGREATEROREQUAL 381
#define tLESSOREQUAL 382
#define UNARYPREC 383
#define tMINUSMINUS 384
#define tPLUSPLUS 385




/* Copy the first part of user declarations.  */
#line 1 "Gmsh.y"

// 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 <string.h>
#include <stdarg.h>
#include <time.h>
#include "GmshConfig.h"
#include "GmshMessage.h"
#include "fullMatrix.h"
#include "MallocUtils.h"
#include "ListUtils.h"
#include "TreeUtils.h"
#include "StringUtils.h"
#include "Numeric.h"
#include "Context.h"
#include "GModel.h"
#include "Geo.h"
#include "GeoInterpolation.h"
#include "Options.h"
#include "Colors.h"
#include "Parser.h"
#include "OpenFile.h"
#include "CommandLine.h"
#include "FunctionManager.h"
#include "ColorTable.h"
#include "OS.h"
#include "CreateFile.h"
#include "gmshSurface.h"
#include "gmshLevelset.h"

#if defined(HAVE_MESH)
#include "Generator.h"
#include "Field.h"
#include "BackgroundMesh.h"
#endif

#if defined(HAVE_POST)
#include "PView.h"
#include "PViewDataList.h"
#include "PluginManager.h"
#endif

#if defined(HAVE_OPENGL)
#include "drawContext.h"
#endif

#if defined(HAVE_KBIPACK)
#include "Homology.h"
#endif

// Global parser variables
std::string gmsh_yyname;
int gmsh_yyerrorstate = 0;
int gmsh_yyviewindex = 0;
std::map<std::string, std::vector<double> > gmsh_yysymbols;

// Static parser variables (accessible only in this file)
static std::map<std::string, std::string > gmsh_yystringsymbols;
#if defined(HAVE_POST)
static PViewDataList *ViewData;
#endif
static std::vector<double> ViewCoord;
static std::vector<double> *ViewValueList = 0;
static int *ViewNumList = 0;
static ExtrudeParams extr;
static int curPhysDim = 0;
static gmshSurface *myGmshSurface = 0;
#define MAX_RECUR_LOOPS 100
static int ImbricatedLoop = 0;
static fpos_t yyposImbricatedLoopsTab[MAX_RECUR_LOOPS];
static int yylinenoImbricatedLoopsTab[MAX_RECUR_LOOPS];
static double LoopControlVariablesTab[MAX_RECUR_LOOPS][3];
static const char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];

void yyerror(const char *s);
void yymsg(int level, const char *fmt, ...);
void skip_until(const char *skip, const char *until);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list);


/* Enabling traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
/* Enabling verbose error messages.  */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* Enabling the token table.  */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  char *c;
  int i;
  unsigned int u;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  double d;
  double v[5];
  Shape s;
  List_T *l;
}
/* Line 193 of yacc.c.  */
#line 458 "Gmsh.tab.cpp"
Christophe Geuzaine's avatar
Christophe Geuzaine committed
        YYSTYPE;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Copy the second part of user declarations.  */


/* Line 216 of yacc.c.  */
#line 471 "Gmsh.tab.cpp"
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#ifdef short
# undef short
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#elif (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
typedef signed char yytype_int8;
#else
typedef short int yytype_int8;
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
#  define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
#  define YYSIZE_T size_t
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  define YYSIZE_T size_t
# else
#  define YYSIZE_T unsigned int
# endif
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)

#ifndef YY_
# if defined YYENABLE_NLS && YYENABLE_NLS
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#  if ENABLE_NLS
#   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
#   define YY_(msgid) dgettext ("bison-runtime", msgid)
#  endif
# endif
# ifndef YY_
#  define YY_(msgid) msgid
# endif
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Suppress unused-variable warnings by "using" E.  */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# define YYUSE(e) /* empty */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* Identity function, used to suppress warnings about constant conditions.  */
#ifndef lint
# define YYID(n) (n)
#else
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static int
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#else
static int
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
{
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
}
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if ! defined yyoverflow || YYERROR_VERBOSE

/* The parser invokes alloca or malloc; define the necessary symbols.  */

# ifdef YYSTACK_USE_ALLOCA
#  if YYSTACK_USE_ALLOCA
#   ifdef __GNUC__
#    define YYSTACK_ALLOC __builtin_alloca
#   elif defined __BUILTIN_VA_ARG_INCR
#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
#   elif defined _AIX
#    define YYSTACK_ALLOC __alloca
#   elif defined _MSC_VER
#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
#    define alloca _alloca
#   else
#    define YYSTACK_ALLOC alloca
#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#     ifndef _STDLIB_H
#      define _STDLIB_H 1
#     endif
#    endif
#   endif
#  endif
# endif

# ifdef YYSTACK_ALLOC
   /* Pacify GCC's `empty if-body' warning.  */
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
#  ifndef YYSTACK_ALLOC_MAXIMUM
    /* The OS might guarantee only one guard page at the bottom of the stack,
       and a page size can be as small as 4096 bytes.  So we cannot safely
       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
       to allow for a few compiler-allocated temporary stack slots.  */
#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
#  endif
# else
#  define YYSTACK_ALLOC YYMALLOC
#  define YYSTACK_FREE YYFREE
#  ifndef YYSTACK_ALLOC_MAXIMUM
#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
#  endif
#  if (defined __cplusplus && ! defined _STDLIB_H \
       && ! ((defined YYMALLOC || defined malloc) \
Christophe Geuzaine's avatar
Christophe Geuzaine committed
             && (defined YYFREE || defined free)))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#   ifndef _STDLIB_H
#    define _STDLIB_H 1
#   endif
#  endif
#  ifndef YYMALLOC
#   define YYMALLOC malloc
#   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
#   endif
#  endif
#  ifndef YYFREE
#   define YYFREE free
#   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
void free (void *); /* INFRINGES ON USER NAME SPACE */
#   endif
#  endif
# endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */


#if (! defined yyoverflow \
     && (! defined __cplusplus \
Christophe Geuzaine's avatar
Christophe Geuzaine committed
         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* A type that is properly aligned for any stack member.  */
union yyalloc
{
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* The size of the maximum gap between one aligned stack and the next.  */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)

/* The size of an array large to enough to hold all stacks, each with
   N elements.  */
# define YYSTACK_BYTES(N) \
     ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)

/* Copy COUNT objects from FROM to TO.  The source and destination do
   not overlap.  */
# ifndef YYCOPY
#  if defined __GNUC__ && 1 < __GNUC__
#   define YYCOPY(To, From, Count) \
      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
#  else
Christophe Geuzaine's avatar
Christophe Geuzaine committed
#   define YYCOPY(To, From, Count)              \
      do                                        \
        {                                       \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (To)[yyi] = (From)[yyi];            \
        }                                       \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
      while (YYID (0))
#  endif
# endif

/* Relocate STACK from its old location to the new one.  The
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   elements in the stack, and YYPTR gives the new location of the
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  */
Christophe Geuzaine's avatar
Christophe Geuzaine committed
# define YYSTACK_RELOCATE(Stack)                                        \
    do                                                                  \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack, Stack, yysize);                          \
        Stack = &yyptr->Stack;                                          \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
    while (YYID (0))
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

#endif
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYFINAL -- State number of the termination state.  */
#define YYFINAL  5
/* YYLAST -- Last index in YYTABLE.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* YYNTOKENS -- Number of terminals.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYNNTS -- Number of nonterminals.  */
Emilie Marchandise's avatar
Emilie Marchandise committed
#define YYNNTS  81
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYNRULES -- Number of rules.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYNRULES -- Number of states.  */
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
#define YYUNDEFTOK  2
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
Christophe Geuzaine committed
#define YYTRANSLATE(YYX)                                                \
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
static const yytype_uint8 yytranslate[] =
{
       0,     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,   136,     2,   146,     2,   135,     2,     2,
     141,   142,   133,   131,   147,   132,   145,   134,     2,     2,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     127,     2,   128,   122,     2,     2,     2,     2,     2,     2,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,   143,     2,   144,   140,     2,     2,     2,     2,     2,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,   148,     2,   149,   150,     2,     2,     2,
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
       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,     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,     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,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
       5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
      15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
      25,    26,    27,    28,    29,    30,    31,    32,    33,    34,
      35,    36,    37,    38,    39,    40,    41,    42,    43,    44,
      45,    46,    47,    48,    49,    50,    51,    52,    53,    54,
      55,    56,    57,    58,    59,    60,    61,    62,    63,    64,
      65,    66,    67,    68,    69,    70,    71,    72,    73,    74,
      75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
      85,    86,    87,    88,    89,    90,    91,    92,    93,    94,
      95,    96,    97,    98,    99,   100,   101,   102,   103,   104,
     105,   106,   107,   108,   109,   110,   111,   112,   113,   114,
     115,   116,   117,   118,   119,   120,   121,   123,   124,   125,
     126,   129,   130,   137,   138,   139
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
   YYRHS.  */
static const yytype_uint16 yyprhs[] =
{
       0,     0,     3,     5,     8,     9,    12,    14,    16,    18,
      20,    22,    24,    26,    28,    30,    32,    34,    36,    38,
Matti Pellika's avatar
 
Matti Pellika committed
      40,    42,    44,    46,    49,    55,    63,    71,    81,    88,
      95,   102,   103,   106,   109,   112,   115,   118,   120,   124,
     126,   130,   131,   132,   143,   145,   149,   150,   164,   166,
     170,   171,   187,   196,   211,   212,   219,   221,   223,   225,
     227,   229,   231,   233,   238,   246,   256,   263,   270,   274,
     281,   286,   293,   303,   310,   320,   326,   335,   344,   356,
     363,   373,   379,   387,   397,   407,   419,   429,   439,   441,
     443,   444,   450,   451,   454,   462,   463,   473,   480,   488,
Christophe Geuzaine's avatar
Christophe Geuzaine committed
     493,   501,   510,   519,   527,   535,   547,   556,   565,   566,
Emilie Marchandise's avatar
Emilie Marchandise committed
     576,   585,   595,   599,   604,   615,   623,   631,   640,   650,
     664,   665,   675,   684,   692,   702,   711,   712,   722,   728,
     740,   746,   756,   761,   771,   781,   783,   785,   786,   789,
     796,   803,   810,   817,   826,   841,   858,   871,   880,   889,
     896,   911,   916,   923,   930,   934,   939,   945,   949,   953,
     958,   963,   967,   975,   983,   987,   995,   999,  1002,  1005,
    1008,  1024,  1027,  1030,  1037,  1046,  1055,  1066,  1068,  1071,
    1073,  1077,  1082,  1084,  1090,  1102,  1116,  1117,  1125,  1126,
    1140,  1141,  1157,  1158,  1165,  1174,  1183,  1192,  1205,  1218,
    1231,  1246,  1261,  1276,  1277,  1290,  1291,  1304,  1305,  1318,
    1319,  1336,  1337,  1354,  1355,  1372,  1373,  1392,  1393,  1412,
    1413,  1432,  1434,  1437,  1443,  1451,  1461,  1464,  1474,  1475,
    1477,  1478,  1482,  1483,  1485,  1486,  1489,  1490,  1493,  1501,
    1508,  1517,  1523,  1529,  1536,  1547,  1558,  1569,  1580,  1583,
    1587,  1599,  1611,  1623,  1635,  1637,  1641,  1644,  1647,  1650,
    1654,  1658,  1662,  1666,  1670,  1674,  1678,  1682,  1686,  1690,
    1694,  1698,  1702,  1706,  1712,  1717,  1722,  1727,  1732,  1737,
    1742,  1747,  1752,  1757,  1762,  1769,  1774,  1779,  1784,  1789,
    1794,  1799,  1806,  1813,  1820,  1825,  1830,  1835,  1840,  1845,
    1850,  1855,  1860,  1865,  1870,  1875,  1882,  1887,  1892,  1897,
    1902,  1907,  1912,  1919,  1926,  1933,  1938,  1940,  1942,  1944,
    1946,  1948,  1950,  1952,  1954,  1960,  1965,  1970,  1973,  1979,
    1983,  1990,  1995,  2003,  2010,  2012,  2015,  2018,  2022,  2026,
    2038,  2048,  2056,  2064,  2066,  2070,  2072,  2074,  2077,  2081,
    2086,  2092,  2094,  2096,  2099,  2103,  2107,  2113,  2118,  2120,
    2122,  2126,  2133,  2135,  2137,  2141,  2145,  2155,  2163,  2165,
    2171,  2175,  2182,  2184,  2188,  2190,  2192,  2196,  2203,  2205,
    2207,  2214,  2219,  2224,  2229
Christophe Geuzaine's avatar
 
Christophe Geuzaine committed

Christophe Geuzaine's avatar
 
Christophe Geuzaine committed
/* YYRHS -- A `-1'-separated list of the rules' RHS.  */
static const yytype_int16 yyrhs[] =
{
     152,     0,    -1,   153,    -1,     1,     6,    -1,    -1,   153,
     154,    -1,   157,    -1,   156,    -1,   175,    -1,   179,    -1,
     184,    -1,   188,    -1,   189,    -1,   190,    -1,   193,    -1,
     214,    -1,   215,    -1,   216,    -1,   192,    -1,   191,    -1,
     187,    -1,   217,    -1,   128,    -1,   128,   128,    -1,    35,
     141,     5,   142,     6,    -1,    35,   141,     5,   142,   155,
     230,     6,    -1,    35,   141,     5,   147,   226,   142,     6,
      -1,    35,   141,     5,   147,   226,   142,   155,   230,     6,
      -1,     4,     5,   148,   158,   149,     6,    -1,    84,     4,
     143,   218,   144,     6,    -1,    85,     4,   143,   218,   144,
       6,    -1,    -1,   158,   161,    -1,   158,   165,    -1,   158,
     168,    -1,   158,   170,    -1,   158,   171,    -1,   218,    -1,
     159,   147,   218,    -1,   218,    -1,   160,   147,   218,    -1,
      -1,    -1,     4,   162,   141,   159,   142,   163,   148,   160,
     149,     6,    -1,   230,    -1,   164,   147,   230,    -1,    -1,
      86,   141,   218,   147,   218,   147,   218,   142,   166,   148,
     164,   149,     6,    -1,   230,    -1,   167,   147,   230,    -1,
      -1,    87,   141,   218,   147,   218,   147,   218,   147,   218,
     142,   169,   148,   167,   149,     6,    -1,    88,   148,   222,
     149,   148,   222,   149,     6,    -1,    88,   148,   222,   149,
     148,   222,   149,   148,   222,   149,   148,   222,   149,     6,
      -1,    -1,    89,   172,   148,   160,   149,     6,    -1,     7,
      -1,   121,    -1,   120,    -1,   119,    -1,   118,    -1,   139,
      -1,   138,    -1,     4,   173,   218,     6,    -1,     4,   143,
     218,   144,   173,   218,     6,    -1,     4,   143,   148,   226,
     149,   144,   173,   223,     6,    -1,     4,   143,   144,     7,
     223,     6,    -1,     4,   143,   144,   121,   223,     6,    -1,
       4,   174,     6,    -1,     4,   143,   218,   144,   174,     6,
      -1,     4,     7,   231,     6,    -1,     4,   145,     4,     7,
     231,     6,    -1,     4,   143,   218,   144,   145,     4,     7,
     231,     6,    -1,     4,   145,     4,   173,   218,     6,    -1,
       4,   143,   218,   144,   145,     4,   173,   218,     6,    -1,
       4,   145,     4,   174,     6,    -1,     4,   143,   218,   144,
     145,     4,   174,     6,    -1,     4,   145,    96,   145,     4,
       7,   227,     6,    -1,     4,   143,   218,   144,   145,    96,
     145,     4,     7,   227,     6,    -1,     4,   145,    97,     7,
     228,     6,    -1,     4,   143,   218,   144,   145,    97,     7,
     228,     6,    -1,     4,   104,     7,   218,     6,    -1,   104,
     143,   218,   144,     7,     4,     6,    -1,   104,   143,   218,
     144,   145,     4,     7,   218,     6,    -1,   104,   143,   218,
     144,   145,     4,     7,   231,     6,    -1,   104,   143,   218,
     144,   145,     4,     7,   148,   226,   149,     6,    -1,    66,
     141,     4,   142,   145,     4,     7,   218,     6,    -1,    66,
     141,     4,   142,   145,     4,     7,   231,     6,    -1,   218,
      -1,   231,    -1,    -1,    99,    50,   148,   218,   149,    -1,
      -1,    59,   220,    -1,    46,   141,   218,   142,     7,   220,
       6,    -1,    -1,    63,    46,   180,   141,   176,   142,     7,
     223,     6,    -1,    55,    56,   223,     7,   218,     6,    -1,
      49,   141,   218,   142,     7,   223,     6,    -1,    67,    49,
     223,     6,    -1,    53,   141,   218,   142,     7,   223,     6,
      -1,    47,   141,   218,   142,     7,   223,   178,     6,    -1,
      48,   141,   218,   142,     7,   223,   178,     6,    -1,    91,
     141,   218,   142,     7,   223,     6,    -1,    92,   141,   218,
     142,     7,   223,     6,    -1,    93,   141,   218,   142,     7,
     223,    95,   223,    94,   218,     6,    -1,    49,    75,   141,
     218,   142,     7,   223,     6,    -1,    64,    49,   141,   218,
     142,     7,   223,     6,    -1,    -1,    63,    49,   181,   141,
     176,   142,     7,   223,     6,    -1,    59,    52,   141,   218,
     142,     7,   223,     6,    -1,    60,    52,   141,   218,   142,
       7,   223,   177,     6,    -1,    12,    13,     6,    -1,    13,
      52,   218,     6,    -1,    57,    52,   141,   218,   142,     7,
       5,     5,     5,     6,    -1,    50,   141,   218,   142,     7,
     223,     6,    -1,    51,   141,   218,   142,     7,   223,     6,
      -1,    52,    75,   141,   218,   142,     7,   223,     6,    -1,
      64,    52,   141,   218,   142,     7,   223,   209,     6,    -1,
      64,    52,   141,   218,   142,     7,   223,     4,   148,   222,
     149,   209,     6,    -1,    -1,    63,    52,   182,   141,   176,
     142,     7,   223,     6,    -1,    62,    54,   141,   218,   142,
       7,   223,     6,    -1,    54,   141,   218,   142,     7,   223,
       6,    -1,    68,   141,     5,   147,   223,   147,     5,   142,
       6,    -1,    64,    54,   141,   218,   142,     7,   223,     6,
      -1,    -1,    63,    54,   183,   141,   176,   142,     7,   223,
       6,    -1,    70,   220,   148,   185,   149,    -1,    69,   148,
     220,   147,   220,   147,   218,   149,   148,   185,   149,    -1,
      71,   220,   148,   185,   149,    -1,    72,   148,   220,   147,
     218,   149,   148,   185,   149,    -1,     4,   148,   185,   149,
      -1,    81,    49,   148,   226,   149,    52,   148,   218,   149,
      -1,    78,    49,   141,   218,   142,   148,   226,   149,     6,
      -1,   186,    -1,   184,    -1,    -1,   186,   179,    -1,   186,
      46,   148,   226,   149,     6,    -1,   186,    49,   148,   226,
     149,     6,    -1,   186,    52,   148,   226,   149,     6,    -1,
     186,    54,   148,   226,   149,     6,    -1,    74,    59,   141,
     218,   142,     7,   223,     6,    -1,    74,    59,   141,   218,
     142,     7,   148,   220,   147,   220,   147,   226,   149,     6,
      -1,    74,    59,   141,   218,   142,     7,   148,   220,   147,
     220,   147,   220,   147,   226,   149,     6,    -1,    74,    50,
     141,   218,   142,     7,   148,   220,   147,   226,   149,     6,
      -1,    74,     4,   141,   218,   142,     7,   223,     6,    -1,
      74,     4,   141,   218,   142,     7,     5,     6,    -1,    74,
       4,   148,   218,   149,     6,    -1,    74,     4,   141,   218,
     142,     7,   148,   220,   147,   220,   147,   226,   149,     6,
      -1,    79,   148,   186,   149,    -1,    79,   104,   143,   218,
     144,     6,    -1,    79,     4,   143,   218,   144,     6,    -1,
Emilie Marchandise's avatar
Emilie Marchandise committed
      79,     4,     6,    -1,    79,     4,     4,     6,    -1,    96,
     227,   148,   186,   149,    -1,   108,     5,     6,    -1,   109,
       5,     6,    -1,   108,   148,   186,   149,    -1,   109,   148,
     186,   149,    -1,     4,   231,     6,    -1,     4,     4,   143,
     218,   144,   230,     6,    -1,     4,     4,     4,   143,   218,
     144,     6,    -1,     4,   218,     6,    -1,    66,   141,     4,
     142,   145,     4,     6,    -1,    90,     4,     6,    -1,   103,
       6,    -1,    43,     6,    -1,    40,     6,    -1,    40,   148,
     218,   147,   218,   147,   218,   147,   218,   147,   218,   147,
     218,   149,     6,    -1,    41,     6,    -1,    44,     6,    -1,
      98,   141,   218,     8,   218,   142,    -1,    98,   141,   218,
       8,   218,     8,   218,   142,    -1,    98,     4,    99,   148,
     218,     8,   218,   149,    -1,    98,     4,    99,   148,   218,
       8,   218,     8,   218,   149,    -1,   100,    -1,   107,     4,
      -1,   105,    -1,   106,     4,     6,    -1,   101,   141,   218,
     142,    -1,   102,    -1,    73,   220,   148,   186,   149,    -1,
      73,   148,   220,   147,   220,   147,   218,   149,   148,   186,
     149,    -1,    73,   148,   220,   147,   220,   147,   220,   147,
     218,   149,   148,   186,   149,    -1,    -1,    73,   220,   148,
     186,   194,   207,   149,    -1,    -1,    73,   148,   220,   147,
     220,   147,   218,   149,   148,   186,   195,   207,   149,    -1,
      -1,    73,   148,   220,   147,   220,   147,   220,   147,   218,
     149,   148,   186,   196,   207,   149,    -1,    -1,    73,   148,
     186,   197,   207,   149,    -1,    73,    46,   148,   218,   147,
     220,   149,     6,    -1,    73,    49,   148,   218,   147,   220,
     149,     6,    -1,    73,    52,   148,   218,   147,   220,   149,
       6,    -1,    73,    46,   148,   218,   147,   220,   147,   220,
     147,   218,   149,     6,    -1,    73,    49,   148,   218,   147,
     220,   147,   220,   147,   218,   149,     6,    -1,    73,    52,
     148,   218,   147,   220,   147,   220,   147,   218,   149,     6,
      -1,    73,    46,   148,   218,   147,   220,   147,   220,   147,
     220,   147,   218,   149,     6,    -1,    73,    49,   148,   218,
     147,   220,   147,   220,   147,   220,   147,   218,   149,     6,
      -1,    73,    52,   148,   218,   147,   220,   147,   220,   147,
     220,   147,   218,   149,     6,    -1,    -1,    73,    46,   148,
     218,   147,   220,   149,   198,   148,   207,   149,     6,    -1,
      -1,    73,    49,   148,   218,   147,   220,   149,   199,   148,
     207,   149,     6,    -1,    -1,    73,    52,   148,   218,   147,
     220,   149,   200,   148,   207,   149,     6,    -1,    -1,    73,
      46,   148,   218,   147,   220,   147,   220,   147,   218,   149,
     201,   148,   207,   149,     6,    -1,    -1,    73,    49,   148,
     218,   147,   220,   147,   220,   147,   218,   149,   202,   148,
     207,   149,     6,    -1,    -1,    73,    52,   148,   218,   147,
     220,   147,   220,   147,   218,   149,   203,   148,   207,   149,
       6,    -1,    -1,    73,    46,   148,   218,   147,   220,   147,
     220,   147,   220,   147,   218,   149,   204,   148,   207,   149,
       6,    -1,    -1,    73,    49,   148,   218,   147,   220,   147,
     220,   147,   220,   147,   218,   149,   205,   148,   207,   149,
       6,    -1,    -1,    73,    52,   148,   218,   147,   220,   147,
     220,   147,   220,   147,   218,   149,   206,   148,   207,   149,
       6,    -1,   208,    -1,   207,   208,    -1,    82,   148,   218,
     149,     6,    -1,    82,   148,   223,   147,   223,   149,     6,
      -1,    82,   148,   223,   147,   223,   147,   223,   149,     6,
      -1,    76,     6,    -1,    83,   141,   218,   142,     7,   223,
      65,   218,     6,    -1,    -1,     4,    -1,    -1,    65,     4,
     218,    -1,    -1,     4,    -1,    -1,     7,   223,    -1,    -1,
       7,   218,    -1,    61,    49,   224,     7,   218,   210,     6,
      -1,    61,    52,   224,   212,   211,     6,    -1,    58,    52,
     148,   218,   149,     7,   223,     6,    -1,    61,    54,   224,
     212,     6,    -1,    76,    52,   224,   213,     6,    -1,    77,
      52,   223,     7,   218,     6,    -1,    46,   148,   226,   149,
      99,    52,   148,   218,   149,     6,    -1,    49,   148,   226,
     149,    99,    52,   148,   218,   149,     6,    -1,    49,   148,
     226,   149,    99,    54,   148,   218,   149,     6,    -1,    52,
     148,   226,   149,    99,    54,   148,   218,   149,     6,    -1,
      80,     6,    -1,    80,     4,     6,    -1,   114,   141,   230,
     142,     7,   148,   223,   147,   223,   149,     6,    -1,   115,
     141,   230,   142,     7,   148,   223,   147,   223,   149,     6,
      -1,   116,   141,   230,   142,     7,   148,   223,   147,   223,
     149,     6,    -1,   117,   141,   230,   142,     7,   148,   223,
     147,   223,   149,     6,    -1,   219,    -1,   141,   218,   142,
      -1,   132,   218,    -1,   131,   218,    -1,   136,   218,    -1,
     218,   132,   218,    -1,   218,   131,   218,    -1,   218,   133,
     218,    -1,   218,   134,   218,    -1,   218,   135,   218,    -1,
     218,   140,   218,    -1,   218,   127,   218,    -1,   218,   128,
     218,    -1,   218,   130,   218,    -1,   218,   129,   218,    -1,
     218,   126,   218,    -1,   218,   125,   218,    -1,   218,   124,
     218,    -1,   218,   123,   218,    -1,   218,   122,   218,     8,
     218,    -1,    14,   141,   218,   142,    -1,    15,   141,   218,
     142,    -1,    16,   141,   218,   142,    -1,    17,   141,   218,
     142,    -1,    18,   141,   218,   142,    -1,    19,   141,   218,
     142,    -1,    20,   141,   218,   142,    -1,    21,   141,   218,
     142,    -1,    22,   141,   218,   142,    -1,    24,   141,   218,
     142,    -1,    25,   141,   218,   147,   218,   142,    -1,    26,
     141,   218,   142,    -1,    27,   141,   218,   142,    -1,    28,
     141,   218,   142,    -1,    29,   141,   218,   142,    -1,    30,
     141,   218,   142,    -1,    31,   141,   218,   142,    -1,    32,
     141,   218,   147,   218,   142,    -1,    33,   141,   218,   147,
     218,   142,    -1,    34,   141,   218,   147,   218,   142,    -1,
      23,   141,   218,   142,    -1,    14,   143,   218,   144,    -1,
      15,   143,   218,   144,    -1,    16,   143,   218,   144,    -1,
      17,   143,   218,   144,    -1,    18,   143,   218,   144,    -1,
      19,   143,   218,   144,    -1,    20,   143,   218,   144,    -1,
      21,   143,   218,   144,    -1,    22,   143,   218,   144,    -1,
      24,   143,   218,   144,    -1,    25,   143,   218,   147,   218,
     144,    -1,    26,   143,   218,   144,    -1,    27,   143,   218,
     144,    -1,    28,   143,   218,   144,    -1,    29,   143,   218,
     144,    -1,    30,   143,   218,   144,    -1,    31,   143,   218,
     144,    -1,    32,   143,   218,   147,   218,   144,    -1,    33,
     143,   218,   147,   218,   144,    -1,    34,   143,   218,   147,
     218,   144,    -1,    23,   143,   218,   144,    -1,     3,    -1,
       9,    -1,    10,    -1,    11,    -1,   111,    -1,   112,    -1,
     113,    -1,     4,    -1,     4,   150,   148,   218,   149,    -1,
       4,   143,   218,   144,    -1,   146,     4,   143,   144,    -1,
       4,   174,    -1,     4,   143,   218,   144,   174,    -1,     4,
     145,     4,    -1,     4,   143,   218,   144,   145,     4,    -1,
       4,   145,     4,   174,    -1,     4,   143,   218,   144,   145,
       4,   174,    -1,   110,   141,     5,   147,   218,   142,    -1,
     221,    -1,   132,   220,    -1,   131,   220,    -1,   220,   132,
     220,    -1,   220,   131,   220,    -1,   148,   218,   147,   218,
     147,   218,   147,   218,   147,   218,   149,    -1,   148,   218,
     147,   218,   147,   218,   147,   218,   149,    -1,   148,   218,