Newer
Older
/* A Bison parser, made by GNU Bison 2.7.12-4996. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
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.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* 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.
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. */
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0

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
/* Copy the first part of user declarations. */

Christophe Geuzaine
committed
#line 1 "Gmsh.y"
// Gmsh - Copyright (C) 1997-2014 C. Geuzaine, J.-F. Remacle

Christophe Geuzaine
committed
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@geuz.org>.

Christophe Geuzaine
committed

Christophe Geuzaine
committed
#include <sstream>

Christophe Geuzaine
committed
#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 "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"
Emilie Marchandise
committed
#include "fullMatrix.h"

Christophe Geuzaine
committed
#if defined(HAVE_MESH)
#include "Generator.h"
#include "Field.h"
#include "BackgroundMesh.h"

Christophe Geuzaine
committed
#endif
#if defined(HAVE_POST)
#include "PView.h"
#include "PViewDataList.h"
#endif
#if defined(HAVE_PLUGINS)
#include "PluginManager.h"
#endif
#if defined(HAVE_OPENGL)
#include "drawContext.h"
#endif
// Global parser variables
std::string gmsh_yyname;
int gmsh_yyerrorstate = 0;
int gmsh_yyviewindex = 0;

Christophe Geuzaine
committed
std::map<std::string, std::string> gmsh_yystringsymbols;

Christophe Geuzaine
committed
// Static parser variables (accessible only in this file)
#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 gmshSurface *myGmshSurface = 0;
#define MAX_RECUR_LOOPS 100
static int ImbricatedLoop = 0;

Christophe Geuzaine
committed
static gmshfpos_t yyposImbricatedLoopsTab[MAX_RECUR_LOOPS];

Christophe Geuzaine
committed
static int yylinenoImbricatedLoopsTab[MAX_RECUR_LOOPS];
static double LoopControlVariablesTab[MAX_RECUR_LOOPS][3];
static const char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];
static std::map<std::string, std::vector<double> > floatOptions;
static std::map<std::string, std::vector<std::string> > charOptions;

Christophe Geuzaine
committed
void yyerror(const char *s);
void yymsg(int level, const char *fmt, ...);
void skip_until(const char *skip, const char *until);
void assignVariable(const std::string &name, int index, int assignType,
double value);
void assignVariables(const std::string &name, List_T *indices, int assignType,
List_T *values);

Christophe Geuzaine
committed
void incrementVariable(const std::string &name, int index, double value);

Christophe Geuzaine
committed
int PrintListOfDouble(char *format, List_T *list, char *buffer);

Christophe Geuzaine
committed
void PrintParserSymbols(std::vector<std::string> &vec);

Christophe Geuzaine
committed
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list);

Christophe Geuzaine
committed
struct doubleXstring{
double d;
char *s;
};
#line 173 "Gmsh.tab.cpp"

Christophe Geuzaine
committed
# ifndef YY_NULL
# if defined __cplusplus && 201103L <= __cplusplus
# define YY_NULL nullptr
# else
# define YY_NULL 0
# endif
# endif

Christophe Geuzaine
committed
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* In a future release of Bison, this section will be replaced
by #include "Gmsh.tab.hpp". */
#ifndef YY_GMSH_YY_GMSH_TAB_HPP_INCLUDED
# define YY_GMSH_YY_GMSH_TAB_HPP_INCLUDED
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int gmsh_yydebug;

Christophe Geuzaine
committed
#endif
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
/* 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,
tRound = 287,
tFmod = 288,
tModulo = 289,
tHypot = 290,
tList = 291,
tPrintf = 292,
tError = 293,
tStr = 294,
tSprintf = 295,
tStrCat = 296,
tStrPrefix = 297,
tStrRelative = 298,
tStrReplace = 299,
tStrFind = 300,
tStrCmp = 301,
tTextAttributes = 302,
tBoundingBox = 303,
tDraw = 304,
tSetChanged = 305,
tToday = 306,
tSyncModel = 307,
tOnelabAction = 308,
tOnelabRun = 309,
tCpu = 310,
tMemory = 311,
tTotalMemory = 312,
tCreateTopology = 313,
tCreateTopologyNoHoles = 314,
tDistanceFunction = 315,
tDefineConstant = 316,
tUndefineConstant = 317,
tDefineNumber = 318,
tDefineString = 319,
tPoint = 320,
tCircle = 321,
tEllipse = 322,
tLine = 323,
tSphere = 324,
tPolarSphere = 325,
tSurface = 326,
tSpline = 327,
tVolume = 328,
tCharacteristic = 329,
tLength = 330,
tParametric = 331,
tElliptic = 332,
tRefineMesh = 333,
tAdaptMesh = 334,
tRelocateMesh = 335,
tPlane = 336,
tRuled = 337,
tTransfinite = 338,
tComplex = 339,
tPhysical = 340,
tCompound = 341,
tPeriodic = 342,
tUsing = 343,
tPlugin = 344,
tDegenerated = 345,
tRecursive = 346,
tRotate = 347,
tTranslate = 348,
tSymmetry = 349,
tDilate = 350,
tExtrude = 351,
tLevelset = 352,
tRecombine = 353,
tSmoother = 354,
tSplit = 355,
tDelete = 356,
tCoherence = 357,
tIntersect = 358,
tMeshAlgorithm = 359,
tReverse = 360,
tLayers = 361,
tScaleLast = 362,
tHole = 363,
tAlias = 364,
tAliasWithOptions = 365,
tCopyOptions = 366,
tQuadTriAddVerts = 367,
tQuadTriNoNewVerts = 368,
tQuadTriSngl = 369,
tQuadTriDbl = 370,
tRecombLaterals = 371,
tTransfQuadTri = 372,
tText2D = 373,
tText3D = 374,
tInterpolationScheme = 375,
tTime = 376,
tCombine = 377,
tBSpline = 378,
tBezier = 379,
tNurbs = 380,
tNurbsOrder = 381,
tNurbsKnots = 382,
tColor = 383,
tColorTable = 384,
tFor = 385,
tIn = 386,
tEndFor = 387,
tIf = 388,
tEndIf = 389,
tExit = 390,
tAbort = 391,
tField = 392,
tReturn = 393,
tCall = 394,
tFunction = 395,
tShow = 396,
tHide = 397,
tGetValue = 398,
tGetEnv = 399,
tGetString = 400,
tHomology = 401,
tCohomology = 402,
tBetti = 403,
tSetOrder = 404,
tExists = 405,
tFileExists = 406,
tGMSH_MAJOR_VERSION = 407,
tGMSH_MINOR_VERSION = 408,
tGMSH_PATCH_VERSION = 409,
tAFFECTDIVIDE = 410,
tAFFECTTIMES = 411,
tAFFECTMINUS = 412,
tAFFECTPLUS = 413,
tOR = 414,
tAND = 415,
tNOTEQUAL = 416,
tEQUAL = 417,
tGREATEROREQUAL = 418,
tLESSOREQUAL = 419,
UNARYPREC = 420,
tMINUSMINUS = 421,
tPLUSPLUS = 422
};
#endif
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 99 "Gmsh.y"
#line 394 "Gmsh.tab.cpp"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int gmsh_yyparse (void *YYPARSE_PARAM);
#else
int gmsh_yyparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int gmsh_yyparse (void);
#else
int gmsh_yyparse ();
#endif
#endif /* ! YYPARSE_PARAM */
#line 422 "Gmsh.tab.cpp"
#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
#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
#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif
#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif
#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
committed
# if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(Msgid) dgettext ("bison-runtime", Msgid)
# define YY_(Msgid) Msgid
# endif
#endif
#ifndef __attribute__
/* This feature is available in gcc versions 2.5 and later. */
# if (! defined __GNUC__ || __GNUC__ < 2 \
|| (__GNUC__ == 2 && __GNUC_MINOR__ < 5))
# define __attribute__(Spec) /* empty */
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
/* Identity function, used to suppress warnings about constant conditions. */
#ifndef lint
#else
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static int
#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 EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
/* Use EXIT_SUCCESS as a witness for stdlib.h. */
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# 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 EXIT_SUCCESS \
&& (defined YYFREE || defined free)))
# ifndef EXIT_SUCCESS
# define EXIT_SUCCESS 0
# endif
# endif
# ifndef YYMALLOC
# define YYMALLOC malloc
# if ! defined malloc && ! defined EXIT_SUCCESS && (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 EXIT_SUCCESS && (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 \
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
yytype_int16 yyss_alloc;
YYSTYPE yyvs_alloc;
};
/* 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)
/* 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. */
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST. The source and destination do
not overlap. */
# ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(Dst, Src, Count) \
__builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
# else
# define YYCOPY(Dst, Src, Count) \
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (YYID (0))
# endif
# endif
#endif /* !YYCOPY_NEEDED */
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 8865
#define YYNNTS 96
#define YYNRULES 473
#define YYNSTATES 1682
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYTRANSLATE(YYX) \
((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, 173, 2, 183, 2, 172, 2, 2,
178, 179, 170, 168, 184, 169, 182, 171, 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, 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, 122, 123, 124,
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 160, 161, 162, 163, 166, 167,
174, 175, 176
#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,

Christophe Geuzaine
committed
40, 42, 44, 47, 53, 59, 67, 75, 83, 93,
100, 107, 114, 123, 124, 127, 130, 133, 136, 139,
141, 145, 147, 151, 152, 153, 164, 166, 170, 171,
185, 187, 191, 192, 208, 217, 232, 233, 240, 242,

Christophe Geuzaine
committed
244, 246, 248, 250, 252, 254, 256, 258, 260, 262,
268, 274, 279, 286, 294, 302, 310, 320, 330, 334,
341, 348, 353, 360, 370, 377, 387, 393, 402, 411,
423, 430, 440, 446, 454, 464, 474, 486, 494, 504,
514, 515, 517, 518, 522, 528, 529, 539, 545, 546,
556, 557, 561, 565, 571, 572, 575, 579, 585, 589,
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
590, 593, 597, 601, 607, 609, 611, 613, 615, 617,
619, 621, 623, 624, 630, 631, 634, 642, 651, 673,
680, 688, 693, 701, 710, 719, 727, 735, 747, 756,
765, 774, 796, 805, 815, 819, 824, 835, 843, 851,
860, 869, 882, 891, 913, 922, 930, 939, 948, 970,
976, 988, 994, 1004, 1014, 1019, 1029, 1039, 1041, 1043,
1044, 1047, 1054, 1061, 1068, 1075, 1084, 1095, 1110, 1127,
1140, 1149, 1158, 1165, 1180, 1185, 1192, 1199, 1203, 1208,
1214, 1221, 1225, 1229, 1234, 1240, 1245, 1251, 1255, 1261,
1269, 1277, 1281, 1289, 1293, 1296, 1299, 1302, 1305, 1321,
1324, 1327, 1330, 1333, 1336, 1353, 1357, 1364, 1373, 1382,
1393, 1395, 1398, 1400, 1404, 1409, 1411, 1417, 1429, 1443,
1444, 1452, 1453, 1467, 1468, 1484, 1485, 1492, 1501, 1510,
1519, 1532, 1545, 1558, 1573, 1588, 1603, 1604, 1617, 1618,
1631, 1632, 1645, 1646, 1663, 1664, 1681, 1682, 1699, 1700,
1719, 1720, 1739, 1740, 1759, 1761, 1764, 1770, 1778, 1788,
1791, 1794, 1797, 1801, 1804, 1808, 1811, 1815, 1818, 1822,
1832, 1839, 1840, 1844, 1845, 1847, 1848, 1851, 1852, 1855,
1863, 1870, 1879, 1885, 1889, 1897, 1903, 1908, 1915, 1922,
1935, 1946, 1957, 1968, 1979, 1990, 1995, 2000, 2005, 2010,
2015, 2018, 2022, 2029, 2031, 2033, 2035, 2038, 2044, 2052,
2063, 2065, 2069, 2072, 2075, 2078, 2082, 2086, 2090, 2094,
2098, 2102, 2106, 2110, 2114, 2118, 2122, 2126, 2130, 2134,
2140, 2145, 2150, 2155, 2160, 2165, 2170, 2175, 2180, 2185,
2190, 2197, 2202, 2207, 2212, 2217, 2222, 2227, 2232, 2239,
2246, 2253, 2258, 2260, 2262, 2264, 2266, 2268, 2270, 2272,
2274, 2276, 2278, 2279, 2286, 2288, 2293, 2298, 2303, 2308,
2313, 2316, 2322, 2328, 2332, 2339, 2344, 2352, 2359, 2366,
2373, 2378, 2380, 2383, 2386, 2390, 2394, 2406, 2416, 2424,
2432, 2434, 2438, 2440, 2442, 2445, 2449, 2454, 2460, 2462,
2464, 2467, 2471, 2475, 2481, 2486, 2489, 2492, 2495, 2498,
2504, 2510, 2516, 2522, 2524, 2526, 2530, 2535, 2542, 2544,
2546, 2550, 2554, 2564, 2572, 2574, 2580, 2584, 2591, 2593,
2597, 2599, 2601, 2605, 2612, 2614, 2616, 2618, 2623, 2630,
2635, 2640, 2645, 2654, 2659, 2664, 2671, 2672, 2679, 2681,
2685, 2691, 2697, 2699
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
191, -1, 194, -1, 193, -1, 214, -1, 231, -1,
232, -1, 236, -1, 237, -1, 238, -1, 241, -1,
261, -1, 262, -1, 240, -1, 239, -1, 235, -1,
264, -1, 165, -1, 165, 165, -1, 37, 178, 278,
179, 6, -1, 38, 178, 278, 179, 6, -1, 37,
178, 278, 179, 192, 278, 6, -1, 37, 178, 278,
184, 274, 179, 6, -1, 38, 178, 278, 184, 274,
179, 6, -1, 37, 178, 278, 184, 274, 179, 192,
278, 6, -1, 4, 278, 185, 195, 186, 6, -1,
109, 4, 180, 265, 181, 6, -1, 110, 4, 180,
265, 181, 6, -1, 111, 4, 180, 265, 184, 265,
195, 205, -1, 195, 207, -1, 195, 208, -1, 265,
-1, 196, 184, 265, -1, 265, -1, 197, 184, 265,
197, 186, 6, -1, 278, -1, 201, 184, 278, -1,
-1, 118, 178, 265, 184, 265, 184, 265, 179, 203,
185, 201, 186, 6, -1, 278, -1, 204, 184, 278,
-1, -1, 119, 178, 265, 184, 265, 184, 265, 184,
265, 179, 206, 185, 204, 186, 6, -1, 120, 185,
270, 186, 185, 270, 186, 6, -1, 120, 185, 270,
186, 185, 270, 186, 185, 270, 186, 185, 270, 186,
6, -1, -1, 121, 209, 185, 197, 186, 6, -1,
7, -1, 158, -1, 157, -1, 156, -1, 155, -1,
176, -1, 175, -1, 178, -1, 180, -1, 179, -1,
181, -1, 61, 180, 216, 181, 6, -1, 62, 180,
219, 181, 6, -1, 283, 210, 271, 6, -1, 4,
180, 181, 210, 271, 6, -1, 4, 180, 265, 181,
210, 265, 6, -1, 4, 178, 265, 179, 210, 265,
6, -1, 282, 180, 265, 181, 210, 265, 6, -1,
4, 212, 185, 274, 186, 213, 210, 271, 6, -1,
282, 178, 185, 274, 186, 179, 210, 271, 6, -1,
283, 211, 6, -1, 4, 180, 265, 181, 211, 6,
-1, 282, 180, 265, 181, 211, 6, -1, 283, 7,
279, 6, -1, 4, 182, 4, 7, 279, 6, -1,
4, 180, 265, 181, 182, 4, 7, 279, 6, -1,
4, 182, 4, 210, 265, 6, -1, 4, 180, 265,
181, 182, 4, 210, 265, 6, -1, 4, 182, 4,
211, 6, -1, 4, 180, 265, 181, 182, 4, 211,
6, -1, 4, 182, 128, 182, 4, 7, 275, 6,
-1, 4, 180, 265, 181, 182, 128, 182, 4, 7,
275, 6, -1, 4, 182, 129, 7, 276, 6, -1,
4, 180, 265, 181, 182, 129, 7, 276, 6, -1,
4, 137, 7, 265, 6, -1, 137, 180, 265, 181,
7, 4, 6, -1, 137, 180, 265, 181, 182, 4,
7, 265, 6, -1, 137, 180, 265, 181, 182, 4,
7, 279, 6, -1, 137, 180, 265, 181, 182, 4,
7, 185, 274, 186, 6, -1, 137, 180, 265, 181,
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
7, 265, 6, -1, 89, 178, 4, 179, 182, 4,
7, 279, 6, -1, -1, 184, -1, -1, 216, 215,
283, -1, 216, 215, 283, 7, 265, -1, -1, 216,
215, 283, 7, 185, 265, 217, 221, 186, -1, 216,
215, 283, 7, 279, -1, -1, 216, 215, 283, 7,
185, 279, 218, 223, 186, -1, -1, 219, 215, 278,
-1, 265, 7, 279, -1, 220, 184, 265, 7, 279,
-1, -1, 221, 222, -1, 184, 4, 271, -1, 184,
4, 185, 220, 186, -1, 184, 4, 279, -1, -1,
223, 224, -1, 184, 4, 265, -1, 184, 4, 279,
-1, 184, 4, 185, 281, 186, -1, 265, -1, 279,
-1, 265, -1, 279, -1, 265, -1, 279, -1, 265,
-1, 279, -1, -1, 131, 69, 185, 265, 186, -1,
-1, 81, 268, -1, 65, 178, 265, 179, 7, 268,
6, -1, 85, 65, 178, 225, 179, 7, 271, 6,
-1, 85, 65, 178, 225, 179, 131, 48, 185, 265,
184, 265, 184, 265, 184, 265, 184, 265, 184, 265,
186, 6, -1, 74, 75, 271, 7, 265, 6, -1,
68, 178, 265, 179, 7, 271, 6, -1, 90, 68,
271, 6, -1, 72, 178, 265, 179, 7, 271, 6,
-1, 66, 178, 265, 179, 7, 271, 230, 6, -1,
67, 178, 265, 179, 7, 271, 230, 6, -1, 123,
178, 265, 179, 7, 271, 6, -1, 124, 178, 265,
179, 7, 271, 6, -1, 125, 178, 265, 179, 7,
271, 127, 271, 126, 265, 6, -1, 68, 4, 178,
265, 179, 7, 271, 6, -1, 86, 68, 178, 265,
179, 7, 271, 6, -1, 85, 68, 178, 226, 179,
7, 271, 6, -1, 85, 68, 178, 226, 179, 131,
48, 185, 265, 184, 265, 184, 265, 184, 265, 184,
265, 184, 265, 186, 6, -1, 81, 71, 178, 265,
179, 7, 271, 6, -1, 82, 71, 178, 265, 179,
7, 271, 229, 6, -1, 12, 13, 6, -1, 13,
71, 265, 6, -1, 76, 71, 178, 265, 179, 7,
5, 5, 5, 6, -1, 69, 178, 265, 179, 7,
271, 6, -1, 70, 178, 265, 179, 7, 271, 6,
-1, 71, 4, 178, 265, 179, 7, 271, 6, -1,
86, 71, 178, 265, 179, 7, 271, 6, -1, 86,
71, 178, 265, 179, 7, 271, 4, 185, 270, 186,
6, -1, 85, 71, 178, 227, 179, 7, 271, 6,
-1, 85, 71, 178, 227, 179, 131, 48, 185, 265,
184, 265, 184, 265, 184, 265, 184, 265, 184, 265,
186, 6, -1, 84, 73, 178, 265, 179, 7, 271,
6, -1, 73, 178, 265, 179, 7, 271, 6, -1,
86, 73, 178, 265, 179, 7, 271, 6, -1, 85,
73, 178, 228, 179, 7, 271, 6, -1, 85, 73,
178, 228, 179, 131, 48, 185, 265, 184, 265, 184,
265, 184, 265, 184, 265, 184, 265, 186, 6, -1,
93, 268, 185, 233, 186, -1, 92, 185, 268, 184,
268, 184, 265, 186, 185, 233, 186, -1, 94, 268,
185, 233, 186, -1, 95, 185, 268, 184, 265, 186,
185, 233, 186, -1, 95, 185, 268, 184, 268, 186,
185, 233, 186, -1, 4, 185, 233, 186, -1, 103,
68, 185, 274, 186, 71, 185, 265, 186, -1, 100,
68, 178, 265, 179, 185, 274, 186, 6, -1, 234,
-1, 232, -1, -1, 234, 231, -1, 234, 65, 185,
274, 186, 6, -1, 234, 68, 185, 274, 186, 6,
-1, 234, 71, 185, 274, 186, 6, -1, 234, 73,
185, 274, 186, 6, -1, 97, 81, 178, 265, 179,
7, 271, 6, -1, 97, 65, 178, 265, 179, 7,
185, 270, 186, 6, -1, 97, 81, 178, 265, 179,
7, 185, 268, 184, 268, 184, 274, 186, 6, -1,
97, 81, 178, 265, 179, 7, 185, 268, 184, 268,
184, 268, 184, 274, 186, 6, -1, 97, 69, 178,
265, 179, 7, 185, 268, 184, 274, 186, 6, -1,
97, 4, 178, 265, 179, 7, 271, 6, -1, 97,
4, 178, 265, 179, 7, 5, 6, -1, 97, 4,
185, 265, 186, 6, -1, 97, 4, 178, 265, 179,
7, 185, 268, 184, 268, 184, 274, 186, 6, -1,
101, 185, 234, 186, -1, 101, 137, 180, 265, 181,
6, -1, 101, 4, 180, 265, 181, 6, -1, 101,
4, 6, -1, 101, 4, 4, 6, -1, 128, 275,
185, 234, 186, -1, 91, 128, 275, 185, 234, 186,
-1, 141, 5, 6, -1, 142, 5, 6, -1, 141,
185, 234, 186, -1, 91, 141, 185, 234, 186, -1,
142, 185, 234, 186, -1, 91, 142, 185, 234, 186,
-1, 4, 279, 6, -1, 54, 178, 281, 179, 6,
-1, 4, 4, 180, 265, 181, 278, 6, -1, 4,
4, 4, 180, 265, 181, 6, -1, 4, 265, 6,
-1, 89, 178, 4, 179, 182, 4, 6, -1, 122,
4, 6, -1, 135, 6, -1, 136, 6, -1, 52,
6, -1, 48, 6, -1, 48, 185, 265, 184, 265,
184, 265, 184, 265, 184, 265, 184, 265, 186, 6,
-1, 49, 6, -1, 50, 6, -1, 58, 6, -1,
59, 6, -1, 78, 6, -1, 79, 185, 274, 186,
185, 274, 186, 185, 270, 186, 185, 265, 184, 265,
186, 6, -1, 149, 265, 6, -1, 130, 178, 265,
8, 265, 179, -1, 130, 178, 265, 8, 265, 8,
265, 179, -1, 130, 4, 131, 185, 265, 8, 265,
186, -1, 130, 4, 131, 185, 265, 8, 265, 8,
265, 186, -1, 132, -1, 140, 4, -1, 138, -1,
139, 4, 6, -1, 133, 178, 265, 179, -1, 134,
-1, 96, 268, 185, 234, 186, -1, 96, 185, 268,
184, 268, 184, 265, 186, 185, 234, 186, -1, 96,
185, 268, 184, 268, 184, 268, 184, 265, 186, 185,
234, 186, -1, -1, 96, 268, 185, 234, 242, 255,
186, -1, -1, 96, 185, 268, 184, 268, 184, 265,
186, 185, 234, 243, 255, 186, -1, -1, 96, 185,
268, 184, 268, 184, 268, 184, 265, 186, 185, 234,
244, 255, 186, -1, -1, 96, 185, 234, 245, 255,
186, -1, 96, 65, 185, 265, 184, 268, 186, 6,
-1, 96, 68, 185, 265, 184, 268, 186, 6, -1,
96, 71, 185, 265, 184, 268, 186, 6, -1, 96,
65, 185, 265, 184, 268, 184, 268, 184, 265, 186,
6, -1, 96, 68, 185, 265, 184, 268, 184, 268,
184, 265, 186, 6, -1, 96, 71, 185, 265, 184,
268, 184, 268, 184, 265, 186, 6, -1, 96, 65,
185, 265, 184, 268, 184, 268, 184, 268, 184, 265,
186, 6, -1, 96, 68, 185, 265, 184, 268, 184,
268, 184, 268, 184, 265, 186, 6, -1, 96, 71,
185, 265, 184, 268, 184, 268, 184, 268, 184, 265,
186, 6, -1, -1, 96, 65, 185, 265, 184, 268,
186, 246, 185, 255, 186, 6, -1, -1, 96, 68,
185, 265, 184, 268, 186, 247, 185, 255, 186, 6,
-1, -1, 96, 71, 185, 265, 184, 268, 186, 248,
185, 255, 186, 6, -1, -1, 96, 65, 185, 265,
184, 268, 184, 268, 184, 265, 186, 249, 185, 255,
186, 6, -1, -1, 96, 68, 185, 265, 184, 268,
184, 268, 184, 265, 186, 250, 185, 255, 186, 6,
-1, -1, 96, 71, 185, 265, 184, 268, 184, 268,
184, 265, 186, 251, 185, 255, 186, 6, -1, -1,
96, 65, 185, 265, 184, 268, 184, 268, 184, 268,
184, 265, 186, 252, 185, 255, 186, 6, -1, -1,
96, 68, 185, 265, 184, 268, 184, 268, 184, 268,
184, 265, 186, 253, 185, 255, 186, 6, -1, -1,
96, 71, 185, 265, 184, 268, 184, 268, 184, 268,
184, 265, 186, 254, 185, 255, 186, 6, -1, 256,
-1, 255, 256, -1, 106, 185, 265, 186, 6, -1,
106, 185, 271, 184, 271, 186, 6, -1, 106, 185,
271, 184, 271, 184, 271, 186, 6, -1, 107, 6,
-1, 98, 6, -1, 114, 6, -1, 114, 116, 6,
-1, 115, 6, -1, 115, 116, 6, -1, 112, 6,
-1, 112, 116, 6, -1, 113, 6, -1, 113, 116,
6, -1, 108, 178, 265, 179, 7, 271, 88, 265,
6, -1, 88, 4, 180, 265, 181, 6, -1, -1,
88, 4, 265, -1, -1, 4, -1, -1, 7, 271,
-1, -1, 7, 265, -1, 83, 68, 272, 7, 265,
257, 6, -1, 83, 71, 272, 259, 258, 6, -1,
77, 71, 185, 265, 186, 7, 271, 6, -1, 83,
73, 272, 259, 6, -1, 117, 272, 6, -1, 104,
71, 185, 274, 186, 265, 6, -1, 98, 71, 272,
260, 6, -1, 98, 73, 272, 6, -1, 99, 71,
271, 7, 265, 6, -1, 87, 68, 271, 7, 271,
6, -1, 87, 71, 265, 185, 274, 186, 7, 265,
185, 274, 186, 6, -1, 65, 185, 274, 186, 131,
71, 185, 265, 186, 6, -1, 68, 185, 274, 186,
131, 71, 185, 265, 186, 6, -1, 65, 185, 274,
186, 131, 73, 185, 265, 186, 6, -1, 68, 185,
274, 186, 131, 73, 185, 265, 186, 6, -1, 71,
185, 274, 186, 131, 73, 185, 265, 186, 6, -1,
105, 71, 272, 6, -1, 105, 68, 272, 6, -1,
80, 65, 272, 6, -1, 80, 68, 272, 6, -1,
80, 71, 272, 6, -1, 102, 6, -1, 102, 4,
6, -1, 102, 65, 185, 274, 186, 6, -1, 146,
-1, 147, -1, 148, -1, 263, 6, -1, 263, 185,
271, 186, 6, -1, 263, 185, 271, 184, 271, 186,
6, -1, 263, 178, 271, 179, 185, 271, 184, 271,
186, 6, -1, 266, -1, 178, 265, 179, -1, 169,
265, -1, 168, 265, -1, 173, 265, -1, 265, 169,
265, -1, 265, 168, 265, -1, 265, 170, 265, -1,
265, 171, 265, -1, 265, 172, 265, -1, 265, 177,
265, -1, 265, 164, 265, -1, 265, 165, 265, -1,
265, 167, 265, -1, 265, 166, 265, -1, 265, 163,
265, -1, 265, 162, 265, -1, 265, 161, 265, -1,
265, 160, 265, -1, 265, 159, 265, 8, 265, -1,
14, 212, 265, 213, -1, 15, 212, 265, 213, -1,
16, 212, 265, 213, -1, 17, 212, 265, 213, -1,
18, 212, 265, 213, -1, 19, 212, 265, 213, -1,
20, 212, 265, 213, -1, 21, 212, 265, 213, -1,
22, 212, 265, 213, -1, 24, 212, 265, 213, -1,
25, 212, 265, 184, 265, 213, -1, 26, 212, 265,
213, -1, 27, 212, 265, 213, -1, 28, 212, 265,
213, -1, 29, 212, 265, 213, -1, 30, 212, 265,
213, -1, 31, 212, 265, 213, -1, 32, 212, 265,
213, -1, 33, 212, 265, 184, 265, 213, -1, 34,
212, 265, 184, 265, 213, -1, 35, 212, 265, 184,
265, 213, -1, 23, 212, 265, 213, -1, 3, -1,
9, -1, 10, -1, 11, -1, 152, -1, 153, -1,