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
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 2, 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
/* 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
/* Using locations. */
#define YYLSP_NEEDED 0
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
#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
/* 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,
tList = 290,
tPrintf = 291,
tError = 292,
tStr = 293,
tSprintf = 294,
tStrCat = 295,
tStrPrefix = 296,
tStrRelative = 297,
tStrReplace = 298,
tStrFind = 299,
tStrCmp = 300,
tTextAttributes = 301,
tBoundingBox = 302,
tDraw = 303,
tToday = 304,
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
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
tMemory = 306,
tSyncModel = 307,
tCreateTopology = 308,
tCreateTopologyNoHoles = 309,
tDistanceFunction = 310,
tDefineConstant = 311,
tUndefineConstant = 312,
tPoint = 313,
tCircle = 314,
tEllipse = 315,
tLine = 316,
tSphere = 317,
tPolarSphere = 318,
tSurface = 319,
tSpline = 320,
tVolume = 321,
tCharacteristic = 322,
tLength = 323,
tParametric = 324,
tElliptic = 325,
tRefineMesh = 326,
tAdaptMesh = 327,
tPlane = 328,
tRuled = 329,
tTransfinite = 330,
tComplex = 331,
tPhysical = 332,
tCompound = 333,
tPeriodic = 334,
tUsing = 335,
tPlugin = 336,
tDegenerated = 337,
tRotate = 338,
tTranslate = 339,
tSymmetry = 340,
tDilate = 341,
tExtrude = 342,
tLevelset = 343,
tRecombine = 344,
tSmoother = 345,
tSplit = 346,
tDelete = 347,
tCoherence = 348,
tIntersect = 349,
tMeshAlgorithm = 350,
tReverse = 351,
tLayers = 352,
tHole = 353,
tAlias = 354,
tAliasWithOptions = 355,
tQuadTriDbl = 356,
tQuadTriSngl = 357,
tRecombLaterals = 358,
tTransfQuadTri = 359,
tText2D = 360,
tText3D = 361,
tInterpolationScheme = 362,
tTime = 363,
tCombine = 364,
tBSpline = 365,
tBezier = 366,
tNurbs = 367,
tNurbsOrder = 368,
tNurbsKnots = 369,
tColor = 370,
tColorTable = 371,
tFor = 372,
tIn = 373,
tEndFor = 374,
tIf = 375,
tEndIf = 376,
tExit = 377,
tAbort = 378,
tField = 379,
tReturn = 380,
tCall = 381,
tFunction = 382,
tShow = 383,
tHide = 384,
tGetValue = 385,
tGetEnv = 386,
tGetString = 387,
tHomology = 388,
tCohomology = 389,
tBetti = 390,
tSetOrder = 391,
tGMSH_MAJOR_VERSION = 392,
tGMSH_MINOR_VERSION = 393,
tGMSH_PATCH_VERSION = 394,
tAFFECTDIVIDE = 395,
tAFFECTTIMES = 396,
tAFFECTMINUS = 397,
tAFFECTPLUS = 398,
tOR = 399,
tAND = 400,
tNOTEQUAL = 401,
tEQUAL = 402,
tGREATEROREQUAL = 403,
tLESSOREQUAL = 404,
UNARYPREC = 405,
tMINUSMINUS = 406,
tPLUSPLUS = 407
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
};
#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 tList 290
#define tPrintf 291
#define tError 292
#define tStr 293
#define tSprintf 294
#define tStrCat 295
#define tStrPrefix 296
#define tStrRelative 297
#define tStrReplace 298
#define tStrFind 299
#define tStrCmp 300
#define tTextAttributes 301
#define tBoundingBox 302
#define tDraw 303
#define tToday 304
#define tCpu 305
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
377
378
379
#define tMemory 306
#define tSyncModel 307
#define tCreateTopology 308
#define tCreateTopologyNoHoles 309
#define tDistanceFunction 310
#define tDefineConstant 311
#define tUndefineConstant 312
#define tPoint 313
#define tCircle 314
#define tEllipse 315
#define tLine 316
#define tSphere 317
#define tPolarSphere 318
#define tSurface 319
#define tSpline 320
#define tVolume 321
#define tCharacteristic 322
#define tLength 323
#define tParametric 324
#define tElliptic 325
#define tRefineMesh 326
#define tAdaptMesh 327
#define tPlane 328
#define tRuled 329
#define tTransfinite 330
#define tComplex 331
#define tPhysical 332
#define tCompound 333
#define tPeriodic 334
#define tUsing 335
#define tPlugin 336
#define tDegenerated 337
#define tRotate 338
#define tTranslate 339
#define tSymmetry 340
#define tDilate 341
#define tExtrude 342
#define tLevelset 343
#define tRecombine 344
#define tSmoother 345
#define tSplit 346
#define tDelete 347
#define tCoherence 348
#define tIntersect 349
#define tMeshAlgorithm 350
#define tReverse 351
#define tLayers 352
#define tHole 353
#define tAlias 354
#define tAliasWithOptions 355
#define tQuadTriDbl 356
#define tQuadTriSngl 357
#define tRecombLaterals 358
#define tTransfQuadTri 359
#define tText2D 360
#define tText3D 361
#define tInterpolationScheme 362
#define tTime 363
#define tCombine 364
#define tBSpline 365
#define tBezier 366
#define tNurbs 367
#define tNurbsOrder 368
#define tNurbsKnots 369
#define tColor 370
#define tColorTable 371
#define tFor 372
#define tIn 373
#define tEndFor 374
#define tIf 375
#define tEndIf 376
#define tExit 377
#define tAbort 378
#define tField 379
#define tReturn 380
#define tCall 381
#define tFunction 382
#define tShow 383
#define tHide 384
#define tGetValue 385
#define tGetEnv 386
#define tGetString 387
#define tHomology 388
#define tCohomology 389
#define tBetti 390
#define tSetOrder 391
#define tGMSH_MAJOR_VERSION 392
#define tGMSH_MINOR_VERSION 393
#define tGMSH_PATCH_VERSION 394
#define tAFFECTDIVIDE 395
#define tAFFECTTIMES 396
#define tAFFECTMINUS 397
#define tAFFECTPLUS 398
#define tOR 399
#define tAND 400
#define tNOTEQUAL 401
#define tEQUAL 402
#define tGREATEROREQUAL 403
#define tLESSOREQUAL 404
#define UNARYPREC 405
#define tMINUSMINUS 406
#define tPLUSPLUS 407

Christophe Geuzaine
committed
/* Copy the first part of user declarations. */

Christophe Geuzaine
committed
#line 1 "Gmsh.y"
// Gmsh - Copyright (C) 1997-2013 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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
#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
// Static parser variables (accessible only in this file)
static std::map<std::string, std::string> gmsh_yystringsymbols;

Christophe Geuzaine
committed
#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];
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);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list);

Christophe Geuzaine
committed
struct doubleXstring{
double d;
char *s;
};

Christophe Geuzaine
committed
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif

Christophe Geuzaine
committed
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0

Christophe Geuzaine
committed
#endif
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#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
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
# define YYUSE(e) /* empty */
/* 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
#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 */
# 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 YYFREE || defined free)))
# 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 \
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
yytype_int16 yyss;
YYSTYPE yyvs;
};
/* 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
# define YYCOPY(To, From, Count) \
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
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. */
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack, Stack, yysize); \
Stack = &yyptr->Stack; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */
#define YYNNTS 91
/* 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, 158, 2, 168, 2, 157, 2, 2,
163, 164, 155, 153, 169, 154, 167, 156, 2, 2,
149, 2, 150, 144, 2, 2, 2, 2, 2, 2,
2, 165, 2, 166, 162, 2, 2, 2, 2, 2,
2, 2, 2, 170, 2, 171, 172, 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, 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, 145,
146, 147, 148, 151, 152, 159, 160, 161
#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, 115, 118, 121, 124, 127, 130, 132,
136, 138, 142, 143, 144, 155, 157, 161, 162, 176,
178, 182, 183, 199, 208, 223, 224, 231, 233, 235,
237, 239, 241, 243, 245, 251, 257, 262, 269, 277,
285, 295, 305, 309, 316, 321, 328, 338, 345, 355,
361, 370, 379, 391, 398, 408, 414, 422, 432, 442,
454, 462, 472, 482, 483, 485, 486, 490, 496, 497,
507, 513, 514, 524, 525, 529, 533, 539, 540, 543,
547, 553, 557, 558, 561, 565, 569, 575, 577, 579,
580, 586, 587, 590, 598, 599, 609, 616, 624, 629,
637, 646, 655, 663, 671, 683, 692, 701, 702, 712,
721, 731, 735, 740, 751, 759, 767, 776, 785, 798,
799, 809, 818, 826, 835, 836, 846, 852, 864, 870,
880, 890, 895, 905, 915, 917, 919, 920, 923, 930,
937, 944, 951, 960, 971, 986, 1003, 1016, 1025, 1034,
1041, 1056, 1061, 1068, 1075, 1079, 1084, 1090, 1094, 1098,
1103, 1108, 1112, 1120, 1128, 1132, 1140, 1144, 1147, 1150,
1153, 1156, 1172, 1175, 1178, 1181, 1184, 1201, 1205, 1212,
1221, 1230, 1241, 1243, 1246, 1248, 1252, 1257, 1259, 1265,
1277, 1291, 1292, 1300, 1301, 1315, 1316, 1332, 1333, 1340,
1349, 1358, 1367, 1380, 1393, 1406, 1421, 1436, 1451, 1452,
1465, 1466, 1479, 1480, 1493, 1494, 1511, 1512, 1529, 1530,
1547, 1548, 1567, 1568, 1587, 1588, 1607, 1609, 1612, 1618,
1626, 1636, 1639, 1642, 1646, 1649, 1653, 1663, 1670, 1671,
1675, 1676, 1678, 1679, 1682, 1683, 1686, 1694, 1701, 1710,
1716, 1720, 1728, 1734, 1739, 1746, 1753, 1766, 1777, 1788,
1799, 1810, 1821, 1826, 1831, 1834, 1838, 1845, 1847, 1849,
1851, 1854, 1860, 1868, 1879, 1881, 1885, 1888, 1891, 1894,
1898, 1902, 1906, 1910, 1914, 1918, 1922, 1926, 1930, 1934,
1938, 1942, 1946, 1950, 1956, 1961, 1966, 1971, 1976, 1981,
1986, 1991, 1996, 2001, 2006, 2013, 2018, 2023, 2028, 2033,
2038, 2043, 2050, 2057, 2064, 2069, 2074, 2079, 2084, 2089,
2094, 2099, 2104, 2109, 2114, 2119, 2126, 2131, 2136, 2141,
2146, 2151, 2156, 2163, 2170, 2177, 2182, 2184, 2186, 2188,
2190, 2192, 2194, 2196, 2198, 2200, 2202, 2208, 2213, 2218,
2221, 2227, 2231, 2238, 2243, 2251, 2258, 2265, 2272, 2277,
2279, 2282, 2285, 2289, 2293, 2305, 2315, 2323, 2331, 2333,
2337, 2339, 2341, 2344, 2348, 2353, 2359, 2361, 2363, 2366,
2370, 2374, 2380, 2385, 2388, 2391, 2394, 2397, 2403, 2409,
2415, 2421, 2423, 2425, 2429, 2433, 2438, 2445, 2452, 2454,
2456, 2460, 2464, 2474, 2482, 2484, 2490, 2494, 2501, 2503,
2507, 2509, 2511, 2515, 2522, 2524, 2526, 2531, 2538, 2545,
2550, 2555, 2564, 2569, 2574, 2579, 2586, 2593, 2595
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
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
174, 0, -1, 175, -1, 1, 6, -1, -1, 175,
176, -1, 179, -1, 178, -1, 197, -1, 211, -1,
216, -1, 220, -1, 221, -1, 222, -1, 225, -1,
245, -1, 246, -1, 224, -1, 223, -1, 219, -1,
248, -1, 150, -1, 150, 150, -1, 36, 163, 261,
164, 6, -1, 37, 163, 261, 164, 6, -1, 36,
163, 261, 164, 177, 261, 6, -1, 36, 163, 261,
169, 257, 164, 6, -1, 37, 163, 261, 169, 257,
164, 6, -1, 36, 163, 261, 169, 257, 164, 177,
261, 6, -1, 4, 261, 170, 180, 171, 6, -1,
99, 4, 165, 249, 166, 6, -1, 100, 4, 165,
249, 166, 6, -1, -1, 180, 183, -1, 180, 187,
-1, 180, 190, -1, 180, 192, -1, 180, 193, -1,
249, -1, 181, 169, 249, -1, 249, -1, 182, 169,
249, -1, -1, -1, 4, 184, 163, 181, 164, 185,
170, 182, 171, 6, -1, 261, -1, 186, 169, 261,
-1, -1, 105, 163, 249, 169, 249, 169, 249, 164,
188, 170, 186, 171, 6, -1, 261, -1, 189, 169,
261, -1, -1, 106, 163, 249, 169, 249, 169, 249,
169, 249, 164, 191, 170, 189, 171, 6, -1, 107,
170, 253, 171, 170, 253, 171, 6, -1, 107, 170,
253, 171, 170, 253, 171, 170, 253, 171, 170, 253,
171, 6, -1, -1, 108, 194, 170, 182, 171, 6,
-1, 7, -1, 143, -1, 142, -1, 141, -1, 140,
-1, 161, -1, 160, -1, 56, 165, 199, 166, 6,
-1, 57, 165, 202, 166, 6, -1, 4, 195, 254,
6, -1, 4, 165, 166, 195, 254, 6, -1, 4,
165, 249, 166, 195, 249, 6, -1, 4, 163, 249,
164, 195, 249, 6, -1, 4, 165, 170, 257, 171,
166, 195, 254, 6, -1, 4, 163, 170, 257, 171,
164, 195, 254, 6, -1, 4, 196, 6, -1, 4,
165, 249, 166, 196, 6, -1, 4, 7, 262, 6,
-1, 4, 167, 4, 7, 262, 6, -1, 4, 165,
249, 166, 167, 4, 7, 262, 6, -1, 4, 167,
4, 195, 249, 6, -1, 4, 165, 249, 166, 167,
4, 195, 249, 6, -1, 4, 167, 4, 196, 6,
-1, 4, 165, 249, 166, 167, 4, 196, 6, -1,
4, 167, 115, 167, 4, 7, 258, 6, -1, 4,
165, 249, 166, 167, 115, 167, 4, 7, 258, 6,
-1, 4, 167, 116, 7, 259, 6, -1, 4, 165,
249, 166, 167, 116, 7, 259, 6, -1, 4, 124,
7, 249, 6, -1, 124, 165, 249, 166, 7, 4,
6, -1, 124, 165, 249, 166, 167, 4, 7, 249,
6, -1, 124, 165, 249, 166, 167, 4, 7, 262,
6, -1, 124, 165, 249, 166, 167, 4, 7, 170,
257, 171, 6, -1, 124, 165, 249, 166, 167, 4,
6, -1, 81, 163, 4, 164, 167, 4, 7, 249,
6, -1, 81, 163, 4, 164, 167, 4, 7, 262,
6, -1, -1, 169, -1, -1, 199, 198, 4, -1,
199, 198, 4, 7, 249, -1, -1, 199, 198, 4,
7, 170, 249, 200, 204, 171, -1, 199, 198, 4,
7, 262, -1, -1, 199, 198, 4, 7, 170, 262,
201, 206, 171, -1, -1, 202, 198, 261, -1, 249,
7, 262, -1, 203, 169, 249, 7, 262, -1, -1,
204, 205, -1, 169, 4, 254, -1, 169, 4, 170,
203, 171, -1, 169, 4, 262, -1, -1, 206, 207,
-1, 169, 4, 249, -1, 169, 4, 262, -1, 169,
4, 170, 263, 171, -1, 249, -1, 262, -1, -1,
118, 62, 170, 249, 171, -1, -1, 73, 251, -1,
58, 163, 249, 164, 7, 251, 6, -1, -1, 77,
58, 212, 163, 208, 164, 7, 254, 6, -1, 67,
68, 254, 7, 249, 6, -1, 61, 163, 249, 164,
7, 254, 6, -1, 82, 61, 254, 6, -1, 65,
163, 249, 164, 7, 254, 6, -1, 59, 163, 249,
164, 7, 254, 210, 6, -1, 60, 163, 249, 164,
7, 254, 210, 6, -1, 110, 163, 249, 164, 7,
254, 6, -1, 111, 163, 249, 164, 7, 254, 6,
-1, 112, 163, 249, 164, 7, 254, 114, 254, 113,
249, 6, -1, 61, 4, 163, 249, 164, 7, 254,
6, -1, 78, 61, 163, 249, 164, 7, 254, 6,
-1, -1, 77, 61, 213, 163, 208, 164, 7, 254,
6, -1, 73, 64, 163, 249, 164, 7, 254, 6,
-1, 74, 64, 163, 249, 164, 7, 254, 209, 6,
-1, 12, 13, 6, -1, 13, 64, 249, 6, -1,
69, 64, 163, 249, 164, 7, 5, 5, 5, 6,
-1, 62, 163, 249, 164, 7, 254, 6, -1, 63,
163, 249, 164, 7, 254, 6, -1, 64, 4, 163,
249, 164, 7, 254, 6, -1, 78, 64, 163, 249,
164, 7, 254, 6, -1, 78, 64, 163, 249, 164,
7, 254, 4, 170, 253, 171, 6, -1, -1, 77,
64, 214, 163, 208, 164, 7, 254, 6, -1, 76,
66, 163, 249, 164, 7, 254, 6, -1, 66, 163,
249, 164, 7, 254, 6, -1, 78, 66, 163, 249,
164, 7, 254, 6, -1, -1, 77, 66, 215, 163,
208, 164, 7, 254, 6, -1, 84, 251, 170, 217,
171, -1, 83, 170, 251, 169, 251, 169, 249, 171,
170, 217, 171, -1, 85, 251, 170, 217, 171, -1,
86, 170, 251, 169, 249, 171, 170, 217, 171, -1,
86, 170, 251, 169, 251, 171, 170, 217, 171, -1,
4, 170, 217, 171, -1, 94, 61, 170, 257, 171,
64, 170, 249, 171, -1, 91, 61, 163, 249, 164,
170, 257, 171, 6, -1, 218, -1, 216, -1, -1,
218, 211, -1, 218, 58, 170, 257, 171, 6, -1,
218, 61, 170, 257, 171, 6, -1, 218, 64, 170,
257, 171, 6, -1, 218, 66, 170, 257, 171, 6,
-1, 88, 73, 163, 249, 164, 7, 254, 6, -1,
88, 58, 163, 249, 164, 7, 170, 253, 171, 6,
-1, 88, 73, 163, 249, 164, 7, 170, 251, 169,
251, 169, 257, 171, 6, -1, 88, 73, 163, 249,
164, 7, 170, 251, 169, 251, 169, 251, 169, 257,
171, 6, -1, 88, 62, 163, 249, 164, 7, 170,
251, 169, 257, 171, 6, -1, 88, 4, 163, 249,
164, 7, 254, 6, -1, 88, 4, 163, 249, 164,
7, 5, 6, -1, 88, 4, 170, 249, 171, 6,
-1, 88, 4, 163, 249, 164, 7, 170, 251, 169,
251, 169, 257, 171, 6, -1, 92, 170, 218, 171,
-1, 92, 124, 165, 249, 166, 6, -1, 92, 4,
165, 249, 166, 6, -1, 92, 4, 6, -1, 92,
4, 4, 6, -1, 115, 258, 170, 218, 171, -1,
128, 5, 6, -1, 129, 5, 6, -1, 128, 170,
218, 171, -1, 129, 170, 218, 171, -1, 4, 262,
6, -1, 4, 4, 165, 249, 166, 261, 6, -1,
4, 4, 4, 165, 249, 166, 6, -1, 4, 249,
6, -1, 81, 163, 4, 164, 167, 4, 6, -1,
109, 4, 6, -1, 122, 6, -1, 123, 6, -1,
52, 6, -1, 47, 6, -1, 47, 170, 249, 169,
249, 169, 249, 169, 249, 169, 249, 169, 249, 171,
6, -1, 48, 6, -1, 53, 6, -1, 54, 6,
-1, 71, 6, -1, 72, 170, 257, 171, 170, 257,
171, 170, 253, 171, 170, 249, 169, 249, 171, 6,
-1, 136, 249, 6, -1, 117, 163, 249, 8, 249,
164, -1, 117, 163, 249, 8, 249, 8, 249, 164,
-1, 117, 4, 118, 170, 249, 8, 249, 171, -1,
117, 4, 118, 170, 249, 8, 249, 8, 249, 171,
-1, 119, -1, 127, 4, -1, 125, -1, 126, 4,
6, -1, 120, 163, 249, 164, -1, 121, -1, 87,
251, 170, 218, 171, -1, 87, 170, 251, 169, 251,
169, 249, 171, 170, 218, 171, -1, 87, 170, 251,
169, 251, 169, 251, 169, 249, 171, 170, 218, 171,
-1, -1, 87, 251, 170, 218, 226, 239, 171, -1,
-1, 87, 170, 251, 169, 251, 169, 249, 171, 170,
218, 227, 239, 171, -1, -1, 87, 170, 251, 169,
251, 169, 251, 169, 249, 171, 170, 218, 228, 239,
171, -1, -1, 87, 170, 218, 229, 239, 171, -1,
87, 58, 170, 249, 169, 251, 171, 6, -1, 87,
61, 170, 249, 169, 251, 171, 6, -1, 87, 64,
170, 249, 169, 251, 171, 6, -1, 87, 58, 170,
249, 169, 251, 169, 251, 169, 249, 171, 6, -1,
87, 61, 170, 249, 169, 251, 169, 251, 169, 249,
171, 6, -1, 87, 64, 170, 249, 169, 251, 169,
251, 169, 249, 171, 6, -1, 87, 58, 170, 249,
169, 251, 169, 251, 169, 251, 169, 249, 171, 6,
-1, 87, 61, 170, 249, 169, 251, 169, 251, 169,
251, 169, 249, 171, 6, -1, 87, 64, 170, 249,