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
#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,
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,
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
227
228
229
230
231
232
233
234
235
tOnelabAction = 307,
tCpu = 308,
tMemory = 309,
tSyncModel = 310,
tCreateTopology = 311,
tCreateTopologyNoHoles = 312,
tDistanceFunction = 313,
tDefineConstant = 314,
tUndefineConstant = 315,
tPoint = 316,
tCircle = 317,
tEllipse = 318,
tLine = 319,
tSphere = 320,
tPolarSphere = 321,
tSurface = 322,
tSpline = 323,
tVolume = 324,
tCharacteristic = 325,
tLength = 326,
tParametric = 327,
tElliptic = 328,
tRefineMesh = 329,
tAdaptMesh = 330,
tRelocateMesh = 331,
tPlane = 332,
tRuled = 333,
tTransfinite = 334,
tComplex = 335,
tPhysical = 336,
tCompound = 337,
tPeriodic = 338,
tUsing = 339,
tPlugin = 340,
tDegenerated = 341,
tRecursive = 342,
tRotate = 343,
tTranslate = 344,
tSymmetry = 345,
tDilate = 346,
tExtrude = 347,
tLevelset = 348,
tRecombine = 349,
tSmoother = 350,
tSplit = 351,
tDelete = 352,
tCoherence = 353,
tIntersect = 354,
tMeshAlgorithm = 355,
tReverse = 356,
tLayers = 357,
tScaleLast = 358,
tHole = 359,
tAlias = 360,
tAliasWithOptions = 361,
tCopyOptions = 362,
tQuadTriAddVerts = 363,
tQuadTriNoNewVerts = 364,
tQuadTriSngl = 365,
tQuadTriDbl = 366,
tRecombLaterals = 367,
tTransfQuadTri = 368,
tText2D = 369,
tText3D = 370,
tInterpolationScheme = 371,
tTime = 372,
tCombine = 373,
tBSpline = 374,
tBezier = 375,
tNurbs = 376,
tNurbsOrder = 377,
tNurbsKnots = 378,
tColor = 379,
tColorTable = 380,
tFor = 381,
tIn = 382,
tEndFor = 383,
tIf = 384,
tEndIf = 385,
tExit = 386,
tAbort = 387,
tField = 388,
tReturn = 389,
tCall = 390,
tFunction = 391,
tShow = 392,
tHide = 393,
tGetValue = 394,
tGetEnv = 395,
tGetString = 396,
tHomology = 397,
tCohomology = 398,
tBetti = 399,
tSetOrder = 400,
tGMSH_MAJOR_VERSION = 401,
tGMSH_MINOR_VERSION = 402,
tGMSH_PATCH_VERSION = 403,
tAFFECTDIVIDE = 404,
tAFFECTTIMES = 405,
tAFFECTMINUS = 406,
tAFFECTPLUS = 407,
tOR = 408,
tAND = 409,
tNOTEQUAL = 410,
tEQUAL = 411,
tGREATEROREQUAL = 412,
tLESSOREQUAL = 413,
UNARYPREC = 414,
tMINUSMINUS = 415,
tPLUSPLUS = 416
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
};
#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 tRound 287
#define tFmod 288
#define tModulo 289
#define tHypot 290
#define tList 291
#define tPrintf 292
#define tError 293
#define tStr 294
#define tSprintf 295
#define tStrCat 296
#define tStrPrefix 297
#define tStrRelative 298
#define tStrReplace 299
#define tStrFind 300
#define tStrCmp 301
#define tTextAttributes 302
#define tBoundingBox 303
#define tDraw 304
#define tSetChanged 305
#define tToday 306
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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
#define tOnelabAction 307
#define tCpu 308
#define tMemory 309
#define tSyncModel 310
#define tCreateTopology 311
#define tCreateTopologyNoHoles 312
#define tDistanceFunction 313
#define tDefineConstant 314
#define tUndefineConstant 315
#define tPoint 316
#define tCircle 317
#define tEllipse 318
#define tLine 319
#define tSphere 320
#define tPolarSphere 321
#define tSurface 322
#define tSpline 323
#define tVolume 324
#define tCharacteristic 325
#define tLength 326
#define tParametric 327
#define tElliptic 328
#define tRefineMesh 329
#define tAdaptMesh 330
#define tRelocateMesh 331
#define tPlane 332
#define tRuled 333
#define tTransfinite 334
#define tComplex 335
#define tPhysical 336
#define tCompound 337
#define tPeriodic 338
#define tUsing 339
#define tPlugin 340
#define tDegenerated 341
#define tRecursive 342
#define tRotate 343
#define tTranslate 344
#define tSymmetry 345
#define tDilate 346
#define tExtrude 347
#define tLevelset 348
#define tRecombine 349
#define tSmoother 350
#define tSplit 351
#define tDelete 352
#define tCoherence 353
#define tIntersect 354
#define tMeshAlgorithm 355
#define tReverse 356
#define tLayers 357
#define tScaleLast 358
#define tHole 359
#define tAlias 360
#define tAliasWithOptions 361
#define tCopyOptions 362
#define tQuadTriAddVerts 363
#define tQuadTriNoNewVerts 364
#define tQuadTriSngl 365
#define tQuadTriDbl 366
#define tRecombLaterals 367
#define tTransfQuadTri 368
#define tText2D 369
#define tText3D 370
#define tInterpolationScheme 371
#define tTime 372
#define tCombine 373
#define tBSpline 374
#define tBezier 375
#define tNurbs 376
#define tNurbsOrder 377
#define tNurbsKnots 378
#define tColor 379
#define tColorTable 380
#define tFor 381
#define tIn 382
#define tEndFor 383
#define tIf 384
#define tEndIf 385
#define tExit 386
#define tAbort 387
#define tField 388
#define tReturn 389
#define tCall 390
#define tFunction 391
#define tShow 392
#define tHide 393
#define tGetValue 394
#define tGetEnv 395
#define tGetString 396
#define tHomology 397
#define tCohomology 398
#define tBetti 399
#define tSetOrder 400
#define tGMSH_MAJOR_VERSION 401
#define tGMSH_MINOR_VERSION 402
#define tGMSH_PATCH_VERSION 403
#define tAFFECTDIVIDE 404
#define tAFFECTTIMES 405
#define tAFFECTMINUS 406
#define tAFFECTPLUS 407
#define tOR 408
#define tAND 409
#define tNOTEQUAL 410
#define tEQUAL 411
#define tGREATEROREQUAL 412
#define tLESSOREQUAL 413
#define UNARYPREC 414
#define tMINUSMINUS 415
#define tPLUSPLUS 416

Christophe Geuzaine
committed
/* 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
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
#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 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. */

Christophe Geuzaine
committed
#define YYNNTS 93
/* 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, 167, 2, 177, 2, 166, 2, 2,
172, 173, 164, 162, 178, 163, 176, 165, 2, 2,
158, 2, 159, 153, 2, 2, 2, 2, 2, 2,
2, 174, 2, 175, 171, 2, 2, 2, 2, 2,
2, 2, 2, 179, 2, 180, 181, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 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, 154, 155,
156, 157, 160, 161, 168, 169, 170
#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,
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
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,
244, 246, 248, 250, 252, 254, 260, 266, 271, 278,
286, 294, 304, 314, 318, 325, 330, 337, 347, 354,
364, 370, 379, 388, 400, 407, 417, 423, 431, 441,
451, 463, 471, 481, 491, 492, 494, 495, 499, 505,
506, 516, 522, 523, 533, 534, 538, 542, 548, 549,
552, 556, 562, 566, 567, 570, 574, 578, 584, 586,
588, 589, 595, 596, 599, 607, 608, 618, 625, 633,
638, 646, 655, 664, 672, 680, 692, 701, 710, 711,
721, 730, 740, 744, 749, 760, 768, 776, 785, 794,
807, 808, 818, 827, 835, 844, 845, 855, 861, 873,
879, 889, 899, 904, 914, 924, 926, 928, 929, 932,
939, 946, 953, 960, 969, 980, 995, 1012, 1025, 1034,
1043, 1050, 1065, 1070, 1077, 1084, 1088, 1093, 1099, 1106,
1110, 1114, 1119, 1125, 1130, 1136, 1140, 1148, 1156, 1160,
1168, 1172, 1175, 1178, 1181, 1184, 1200, 1203, 1206, 1209,
1212, 1215, 1232, 1236, 1243, 1252, 1261, 1272, 1274, 1277,
1279, 1283, 1288, 1290, 1296, 1308, 1322, 1323, 1331, 1332,
1346, 1347, 1363, 1364, 1371, 1380, 1389, 1398, 1411, 1424,
1437, 1452, 1467, 1482, 1483, 1496, 1497, 1510, 1511, 1524,
1525, 1542, 1543, 1560, 1561, 1578, 1579, 1598, 1599, 1618,
1619, 1638, 1640, 1643, 1649, 1657, 1667, 1670, 1673, 1676,
1680, 1683, 1687, 1690, 1694, 1697, 1701, 1711, 1718, 1719,
1723, 1724, 1726, 1727, 1730, 1731, 1734, 1742, 1749, 1758,
1764, 1768, 1776, 1782, 1787, 1794, 1801, 1814, 1825, 1836,

Christophe Geuzaine
committed
1847, 1858, 1869, 1874, 1879, 1884, 1889, 1894, 1897, 1901,
1908, 1910, 1912, 1914, 1917, 1923, 1931, 1942, 1944, 1948,
1951, 1954, 1957, 1961, 1965, 1969, 1973, 1977, 1981, 1985,
1989, 1993, 1997, 2001, 2005, 2009, 2013, 2019, 2024, 2029,
2034, 2039, 2044, 2049, 2054, 2059, 2064, 2069, 2076, 2081,
2086, 2091, 2096, 2101, 2106, 2111, 2118, 2125, 2132, 2137,
2142, 2147, 2152, 2157, 2162, 2167, 2172, 2177, 2182, 2187,
2194, 2199, 2204, 2209, 2214, 2219, 2224, 2229, 2236, 2243,
2250, 2255, 2257, 2259, 2261, 2263, 2265, 2267, 2269, 2271,
2273, 2275, 2280, 2285, 2288, 2294, 2298, 2305, 2310, 2318,
2325, 2332, 2339, 2344, 2346, 2349, 2352, 2356, 2360, 2372,
2382, 2390, 2398, 2400, 2404, 2406, 2408, 2411, 2415, 2420,
2426, 2428, 2430, 2433, 2437, 2441, 2447, 2452, 2455, 2458,
2461, 2464, 2470, 2476, 2482, 2488, 2490, 2492, 2496, 2500,
2505, 2512, 2519, 2521, 2523, 2527, 2531, 2541, 2549, 2551,
2557, 2561, 2568, 2570, 2574, 2576, 2578, 2582, 2589, 2591,
2593, 2595, 2600, 2607, 2614, 2621, 2626, 2631, 2640, 2645,
2650, 2655, 2660, 2667, 2674, 2676, 2680, 2686, 2692, 2694
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
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
183, 0, -1, 184, -1, 1, 6, -1, -1, 184,
185, -1, 188, -1, 187, -1, 206, -1, 220, -1,
225, -1, 229, -1, 230, -1, 231, -1, 234, -1,
254, -1, 255, -1, 233, -1, 232, -1, 228, -1,
257, -1, 159, -1, 159, 159, -1, 37, 172, 270,
173, 6, -1, 38, 172, 270, 173, 6, -1, 37,
172, 270, 173, 186, 270, 6, -1, 37, 172, 270,
178, 266, 173, 6, -1, 38, 172, 270, 178, 266,
173, 6, -1, 37, 172, 270, 178, 266, 173, 186,
270, 6, -1, 4, 270, 179, 189, 180, 6, -1,
105, 4, 174, 258, 175, 6, -1, 106, 4, 174,
258, 175, 6, -1, 107, 4, 174, 258, 178, 258,
175, 6, -1, -1, 189, 192, -1, 189, 196, -1,
189, 199, -1, 189, 201, -1, 189, 202, -1, 258,
-1, 190, 178, 258, -1, 258, -1, 191, 178, 258,
-1, -1, -1, 4, 193, 172, 190, 173, 194, 179,
191, 180, 6, -1, 270, -1, 195, 178, 270, -1,
-1, 114, 172, 258, 178, 258, 178, 258, 173, 197,
179, 195, 180, 6, -1, 270, -1, 198, 178, 270,
-1, -1, 115, 172, 258, 178, 258, 178, 258, 178,
258, 173, 200, 179, 198, 180, 6, -1, 116, 179,
262, 180, 179, 262, 180, 6, -1, 116, 179, 262,
180, 179, 262, 180, 179, 262, 180, 179, 262, 180,
6, -1, -1, 117, 203, 179, 191, 180, 6, -1,
7, -1, 152, -1, 151, -1, 150, -1, 149, -1,
170, -1, 169, -1, 59, 174, 208, 175, 6, -1,
60, 174, 211, 175, 6, -1, 274, 204, 263, 6,
-1, 4, 174, 175, 204, 263, 6, -1, 4, 174,
258, 175, 204, 258, 6, -1, 4, 172, 258, 173,
204, 258, 6, -1, 4, 174, 179, 266, 180, 175,
204, 263, 6, -1, 4, 172, 179, 266, 180, 173,
204, 263, 6, -1, 274, 205, 6, -1, 4, 174,
258, 175, 205, 6, -1, 274, 7, 271, 6, -1,
4, 176, 4, 7, 271, 6, -1, 4, 174, 258,
175, 176, 4, 7, 271, 6, -1, 4, 176, 4,
204, 258, 6, -1, 4, 174, 258, 175, 176, 4,
204, 258, 6, -1, 4, 176, 4, 205, 6, -1,
4, 174, 258, 175, 176, 4, 205, 6, -1, 4,
176, 124, 176, 4, 7, 267, 6, -1, 4, 174,
258, 175, 176, 124, 176, 4, 7, 267, 6, -1,
4, 176, 125, 7, 268, 6, -1, 4, 174, 258,
175, 176, 125, 7, 268, 6, -1, 4, 133, 7,
258, 6, -1, 133, 174, 258, 175, 7, 4, 6,
-1, 133, 174, 258, 175, 176, 4, 7, 258, 6,
-1, 133, 174, 258, 175, 176, 4, 7, 271, 6,
-1, 133, 174, 258, 175, 176, 4, 7, 179, 266,
180, 6, -1, 133, 174, 258, 175, 176, 4, 6,
-1, 85, 172, 4, 173, 176, 4, 7, 258, 6,
-1, 85, 172, 4, 173, 176, 4, 7, 271, 6,
-1, -1, 178, -1, -1, 208, 207, 274, -1, 208,
207, 274, 7, 258, -1, -1, 208, 207, 274, 7,
179, 258, 209, 213, 180, -1, 208, 207, 274, 7,
271, -1, -1, 208, 207, 274, 7, 179, 271, 210,
215, 180, -1, -1, 211, 207, 270, -1, 258, 7,
271, -1, 212, 178, 258, 7, 271, -1, -1, 213,
214, -1, 178, 4, 263, -1, 178, 4, 179, 212,
180, -1, 178, 4, 271, -1, -1, 215, 216, -1,
178, 4, 258, -1, 178, 4, 271, -1, 178, 4,
179, 272, 180, -1, 258, -1, 271, -1, -1, 127,
65, 179, 258, 180, -1, -1, 77, 260, -1, 61,
172, 258, 173, 7, 260, 6, -1, -1, 81, 61,
221, 172, 217, 173, 7, 263, 6, -1, 70, 71,
263, 7, 258, 6, -1, 64, 172, 258, 173, 7,
263, 6, -1, 86, 64, 263, 6, -1, 68, 172,
258, 173, 7, 263, 6, -1, 62, 172, 258, 173,
7, 263, 219, 6, -1, 63, 172, 258, 173, 7,
263, 219, 6, -1, 119, 172, 258, 173, 7, 263,
6, -1, 120, 172, 258, 173, 7, 263, 6, -1,
121, 172, 258, 173, 7, 263, 123, 263, 122, 258,
6, -1, 64, 4, 172, 258, 173, 7, 263, 6,
-1, 82, 64, 172, 258, 173, 7, 263, 6, -1,
-1, 81, 64, 222, 172, 217, 173, 7, 263, 6,
-1, 77, 67, 172, 258, 173, 7, 263, 6, -1,
78, 67, 172, 258, 173, 7, 263, 218, 6, -1,
12, 13, 6, -1, 13, 67, 258, 6, -1, 72,
67, 172, 258, 173, 7, 5, 5, 5, 6, -1,
65, 172, 258, 173, 7, 263, 6, -1, 66, 172,
258, 173, 7, 263, 6, -1, 67, 4, 172, 258,
173, 7, 263, 6, -1, 82, 67, 172, 258, 173,
7, 263, 6, -1, 82, 67, 172, 258, 173, 7,
263, 4, 179, 262, 180, 6, -1, -1, 81, 67,
223, 172, 217, 173, 7, 263, 6, -1, 80, 69,
172, 258, 173, 7, 263, 6, -1, 69, 172, 258,
173, 7, 263, 6, -1, 82, 69, 172, 258, 173,
7, 263, 6, -1, -1, 81, 69, 224, 172, 217,
173, 7, 263, 6, -1, 89, 260, 179, 226, 180,
-1, 88, 179, 260, 178, 260, 178, 258, 180, 179,
226, 180, -1, 90, 260, 179, 226, 180, -1, 91,
179, 260, 178, 258, 180, 179, 226, 180, -1, 91,
179, 260, 178, 260, 180, 179, 226, 180, -1, 4,
179, 226, 180, -1, 99, 64, 179, 266, 180, 67,
179, 258, 180, -1, 96, 64, 172, 258, 173, 179,
266, 180, 6, -1, 227, -1, 225, -1, -1, 227,
220, -1, 227, 61, 179, 266, 180, 6, -1, 227,
64, 179, 266, 180, 6, -1, 227, 67, 179, 266,
180, 6, -1, 227, 69, 179, 266, 180, 6, -1,
93, 77, 172, 258, 173, 7, 263, 6, -1, 93,
61, 172, 258, 173, 7, 179, 262, 180, 6, -1,
93, 77, 172, 258, 173, 7, 179, 260, 178, 260,
178, 266, 180, 6, -1, 93, 77, 172, 258, 173,
7, 179, 260, 178, 260, 178, 260, 178, 266, 180,
6, -1, 93, 65, 172, 258, 173, 7, 179, 260,
178, 266, 180, 6, -1, 93, 4, 172, 258, 173,
7, 263, 6, -1, 93, 4, 172, 258, 173, 7,
5, 6, -1, 93, 4, 179, 258, 180, 6, -1,
93, 4, 172, 258, 173, 7, 179, 260, 178, 260,
178, 266, 180, 6, -1, 97, 179, 227, 180, -1,
97, 133, 174, 258, 175, 6, -1, 97, 4, 174,
258, 175, 6, -1, 97, 4, 6, -1, 97, 4,
4, 6, -1, 124, 267, 179, 227, 180, -1, 87,
124, 267, 179, 227, 180, -1, 137, 5, 6, -1,
138, 5, 6, -1, 137, 179, 227, 180, -1, 87,
137, 179, 227, 180, -1, 138, 179, 227, 180, -1,
87, 138, 179, 227, 180, -1, 4, 271, 6, -1,
4, 4, 174, 258, 175, 270, 6, -1, 4, 4,
4, 174, 258, 175, 6, -1, 4, 258, 6, -1,
85, 172, 4, 173, 176, 4, 6, -1, 118, 4,
6, -1, 131, 6, -1, 132, 6, -1, 55, 6,
-1, 48, 6, -1, 48, 179, 258, 178, 258, 178,
258, 178, 258, 178, 258, 178, 258, 180, 6, -1,
49, 6, -1, 50, 6, -1, 56, 6, -1, 57,
6, -1, 74, 6, -1, 75, 179, 266, 180, 179,
266, 180, 179, 262, 180, 179, 258, 178, 258, 180,