Newer
Older
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
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.
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. */
/* 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. */
#define YYBISON_VERSION "2.3"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Using locations. */
#define YYLSP_NEEDED 0
/* 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
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
/* 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,
117
118
119
120
121
122
123
124
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
tSyncModel = 298,
tCreateTopology = 299,
tPoint = 300,
tCircle = 301,
tEllipse = 302,
tLine = 303,
tSphere = 304,
tPolarSphere = 305,
tSurface = 306,
tSpline = 307,
tVolume = 308,
tCharacteristic = 309,
tLength = 310,
tParametric = 311,
tElliptic = 312,
tPlane = 313,
tRuled = 314,
tTransfinite = 315,
tComplex = 316,
tPhysical = 317,
tCompound = 318,
tUsing = 319,
tPlugin = 320,
tRotate = 321,
tTranslate = 322,
tSymmetry = 323,
tDilate = 324,
tExtrude = 325,
tLoop = 326,
tRecombine = 327,
tSmoother = 328,
tSplit = 329,
tDelete = 330,
tCoherence = 331,
tIntersect = 332,
tLayers = 333,
tHole = 334,
tAlias = 335,
tAliasWithOptions = 336,
tText2D = 337,
tText3D = 338,
tInterpolationScheme = 339,
tTime = 340,
tCombine = 341,
tBSpline = 342,
tBezier = 343,
tNurbs = 344,
tOrder = 345,
tKnots = 346,
tColor = 347,
tColorTable = 348,
tFor = 349,
tIn = 350,
tEndFor = 351,
tIf = 352,
tEndIf = 353,
tExit = 354,
tField = 355,
tReturn = 356,
tCall = 357,
tFunction = 358,
tShow = 359,
tHide = 360,
tGetValue = 361,
tGMSH_MAJOR_VERSION = 362,
tGMSH_MINOR_VERSION = 363,
tGMSH_PATCH_VERSION = 364,
tAFFECTDIVIDE = 365,
tAFFECTTIMES = 366,
tAFFECTMINUS = 367,
tAFFECTPLUS = 368,
tOR = 369,
tAND = 370,
tNOTEQUAL = 371,
tEQUAL = 372,
tGREATEROREQUAL = 373,
tLESSOREQUAL = 374,
UNARYPREC = 375,
tMINUSMINUS = 376,
tPLUSPLUS = 377
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
236
237
238
239
};
#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
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
#define tSyncModel 298
#define tCreateTopology 299
#define tPoint 300
#define tCircle 301
#define tEllipse 302
#define tLine 303
#define tSphere 304
#define tPolarSphere 305
#define tSurface 306
#define tSpline 307
#define tVolume 308
#define tCharacteristic 309
#define tLength 310
#define tParametric 311
#define tElliptic 312
#define tPlane 313
#define tRuled 314
#define tTransfinite 315
#define tComplex 316
#define tPhysical 317
#define tCompound 318
#define tUsing 319
#define tPlugin 320
#define tRotate 321
#define tTranslate 322
#define tSymmetry 323
#define tDilate 324
#define tExtrude 325
#define tLoop 326
#define tRecombine 327
#define tSmoother 328
#define tSplit 329
#define tDelete 330
#define tCoherence 331
#define tIntersect 332
#define tLayers 333
#define tHole 334
#define tAlias 335
#define tAliasWithOptions 336
#define tText2D 337
#define tText3D 338
#define tInterpolationScheme 339
#define tTime 340
#define tCombine 341
#define tBSpline 342
#define tBezier 343
#define tNurbs 344
#define tOrder 345
#define tKnots 346
#define tColor 347
#define tColorTable 348
#define tFor 349
#define tIn 350
#define tEndFor 351
#define tIf 352
#define tEndIf 353
#define tExit 354
#define tField 355
#define tReturn 356
#define tCall 357
#define tFunction 358
#define tShow 359
#define tHide 360
#define tGetValue 361
#define tGMSH_MAJOR_VERSION 362
#define tGMSH_MINOR_VERSION 363
#define tGMSH_PATCH_VERSION 364
#define tAFFECTDIVIDE 365
#define tAFFECTTIMES 366
#define tAFFECTMINUS 367
#define tAFFECTPLUS 368
#define tOR 369
#define tAND 370
#define tNOTEQUAL 371
#define tEQUAL 372
#define tGREATEROREQUAL 373
#define tLESSOREQUAL 374
#define UNARYPREC 375
#define tMINUSMINUS 376
#define tPLUSPLUS 377
#line 1 "Gmsh.y"
// Gmsh - Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
#include <stdarg.h>
#include "GmshConfig.h"

Christophe Geuzaine
committed
#include "GmshMessage.h"
#include "GmshMatrix.h"
#include "MallocUtils.h"
#include "ListUtils.h"
#include "TreeUtils.h"
#include "Numeric.h"
#include "Context.h"
#include "Geo.h"

Christophe Geuzaine
committed
#include "Draw.h"
#include "Colors.h"
#include "Field.h"
#include "BackgroundMesh.h"

Christophe Geuzaine
committed
#if !defined(HAVE_NO_POST)
#include "PView.h"
#include "PViewDataList.h"
#include "PluginManager.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_NO_POST)
static PViewDataList *ViewData;
#endif

Christophe Geuzaine
committed
static std::vector<double> *ViewValueList = 0;
static ExtrudeParams extr;

Christophe Geuzaine
committed
static int curPhysDim = 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 char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];
void yymsg(int level, const char *fmt, ...);
void skip_until(const char *skip, const char *until);
void FixRelativePath(const char *in, char *out);
/* 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
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0
#endif
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE

Christophe Geuzaine
committed
#line 73 "Gmsh.y"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
/* Copy the second part of user declarations. */
/* Line 216 of yacc.c. */
#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
# 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
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# 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
YYID (int i)
#else
static int
YYID (i)
int i;
#endif
{
return i;
}
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
#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) \
&& (defined YYFREE || defined free)))
# 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 \
|| (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. */
# 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); \
} \
while (YYID (0))
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */

Christophe Geuzaine
committed
#define YYNNTS 78
/* 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, 128, 2, 138, 2, 127, 2, 2,
133, 134, 125, 123, 139, 124, 137, 126, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 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, 115,
116, 117, 118, 121, 122, 129, 130, 131
#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,
40, 42, 45, 51, 59, 67, 77, 84, 91, 98,
99, 102, 105, 108, 111, 114, 116, 120, 122, 126,
127, 128, 139, 141, 145, 146, 160, 162, 166, 167,
183, 192, 207, 208, 215, 217, 219, 221, 223, 225,
227, 229, 234, 242, 252, 259, 266, 270, 277, 282,
289, 299, 306, 316, 322, 331, 340, 352, 359, 369,

Christophe Geuzaine
committed
375, 383, 393, 403, 415, 425, 435, 437, 439, 440,

Christophe Geuzaine
committed
446, 447, 450, 458, 459, 469, 476, 484, 492, 501,
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
510, 518, 526, 538, 547, 548, 558, 567, 577, 581,
586, 597, 605, 613, 622, 623, 633, 642, 655, 664,
673, 682, 690, 691, 701, 707, 719, 725, 735, 740,
750, 760, 762, 764, 765, 768, 775, 782, 789, 796,
801, 808, 815, 819, 824, 830, 834, 838, 843, 848,
852, 860, 868, 872, 880, 884, 887, 890, 893, 909,
912, 915, 922, 931, 940, 951, 953, 956, 958, 962,
967, 969, 975, 987, 1001, 1002, 1010, 1011, 1025, 1026,
1042, 1043, 1050, 1059, 1068, 1077, 1090, 1103, 1116, 1131,
1146, 1161, 1162, 1175, 1176, 1189, 1190, 1203, 1204, 1221,
1222, 1239, 1240, 1257, 1258, 1277, 1278, 1297, 1298, 1317,
1319, 1322, 1328, 1336, 1346, 1349, 1359, 1360, 1364, 1365,
1367, 1368, 1371, 1372, 1375, 1383, 1390, 1399, 1405, 1411,
1418, 1429, 1440, 1451, 1462, 1465, 1469, 1471, 1475, 1478,
1481, 1484, 1488, 1492, 1496, 1500, 1504, 1508, 1512, 1516,
1520, 1524, 1528, 1532, 1536, 1540, 1546, 1551, 1556, 1561,
1566, 1571, 1576, 1581, 1586, 1591, 1596, 1603, 1608, 1613,
1618, 1623, 1628, 1633, 1640, 1647, 1654, 1659, 1664, 1669,
1674, 1679, 1684, 1689, 1694, 1699, 1704, 1709, 1716, 1721,
1726, 1731, 1736, 1741, 1746, 1753, 1760, 1767, 1772, 1774,
1776, 1778, 1780, 1782, 1784, 1786, 1788, 1794, 1799, 1804,
1807, 1813, 1817, 1824, 1829, 1837, 1844, 1846, 1849, 1852,
1856, 1860, 1872, 1882, 1890, 1898, 1900, 1904, 1906, 1908,
1911, 1915, 1920, 1926, 1928, 1930, 1933, 1937, 1941, 1947,
1952, 1954, 1956, 1960, 1967, 1969, 1971, 1975, 1979, 1989,
1997, 1999, 2005, 2009, 2016, 2018, 2022, 2024, 2026, 2030,
2037, 2039, 2041, 2048, 2053, 2058, 2063
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
144, 0, -1, 145, -1, 1, 6, -1, -1, 145,
146, -1, 149, -1, 148, -1, 167, -1, 171, -1,
176, -1, 179, -1, 180, -1, 181, -1, 184, -1,
204, -1, 205, -1, 206, -1, 183, -1, 182, -1,
120, -1, 120, 120, -1, 35, 133, 5, 134, 6,
-1, 35, 133, 5, 134, 147, 219, 6, -1, 35,
133, 5, 139, 215, 134, 6, -1, 35, 133, 5,
139, 215, 134, 147, 219, 6, -1, 4, 5, 140,
150, 141, 6, -1, 80, 4, 135, 207, 136, 6,
-1, 81, 4, 135, 207, 136, 6, -1, -1, 150,
153, -1, 150, 157, -1, 150, 160, -1, 150, 162,
-1, 150, 163, -1, 207, -1, 151, 139, 207, -1,
207, -1, 152, 139, 207, -1, -1, -1, 4, 154,
133, 151, 134, 155, 140, 152, 141, 6, -1, 219,
-1, 156, 139, 219, -1, -1, 82, 133, 207, 139,
207, 139, 207, 134, 158, 140, 156, 141, 6, -1,
219, -1, 159, 139, 219, -1, -1, 83, 133, 207,
139, 207, 139, 207, 139, 207, 134, 161, 140, 159,
141, 6, -1, 84, 140, 211, 141, 140, 211, 141,
6, -1, 84, 140, 211, 141, 140, 211, 141, 140,
211, 141, 140, 211, 141, 6, -1, -1, 85, 164,
140, 152, 141, 6, -1, 7, -1, 113, -1, 112,
-1, 111, -1, 110, -1, 131, -1, 130, -1, 4,
165, 207, 6, -1, 4, 135, 207, 136, 165, 207,
6, -1, 4, 135, 140, 215, 141, 136, 165, 212,
6, -1, 4, 135, 136, 7, 212, 6, -1, 4,
135, 136, 113, 212, 6, -1, 4, 166, 6, -1,
4, 135, 207, 136, 166, 6, -1, 4, 7, 220,
6, -1, 4, 137, 4, 7, 220, 6, -1, 4,
135, 207, 136, 137, 4, 7, 220, 6, -1, 4,
137, 4, 165, 207, 6, -1, 4, 135, 207, 136,
137, 4, 165, 207, 6, -1, 4, 137, 4, 166,
6, -1, 4, 135, 207, 136, 137, 4, 166, 6,
-1, 4, 137, 92, 137, 4, 7, 216, 6, -1,
4, 135, 207, 136, 137, 92, 137, 4, 7, 216,
6, -1, 4, 137, 93, 7, 217, 6, -1, 4,
135, 207, 136, 137, 93, 7, 217, 6, -1, 4,
100, 7, 207, 6, -1, 100, 135, 207, 136, 7,
4, 6, -1, 100, 135, 207, 136, 137, 4, 7,
207, 6, -1, 100, 135, 207, 136, 137, 4, 7,
220, 6, -1, 100, 135, 207, 136, 137, 4, 7,
140, 215, 141, 6, -1, 65, 133, 4, 134, 137,
4, 7, 207, 6, -1, 65, 133, 4, 134, 137,
4, 7, 220, 6, -1, 207, -1, 220, -1, -1,
95, 49, 140, 207, 141, -1, -1, 58, 209, -1,
45, 133, 207, 134, 7, 209, 6, -1, -1, 62,
45, 172, 133, 168, 134, 7, 212, 6, -1, 54,
55, 212, 7, 207, 6, -1, 48, 133, 207, 134,
7, 212, 6, -1, 52, 133, 207, 134, 7, 212,
6, -1, 46, 133, 207, 134, 7, 212, 170, 6,
-1, 47, 133, 207, 134, 7, 212, 170, 6, -1,
816
817
818
819
820
821
822
823
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
87, 133, 207, 134, 7, 212, 6, -1, 88, 133,
207, 134, 7, 212, 6, -1, 89, 133, 207, 134,
7, 212, 91, 212, 90, 207, 6, -1, 48, 71,
133, 207, 134, 7, 212, 6, -1, -1, 62, 48,
173, 133, 168, 134, 7, 212, 6, -1, 58, 51,
133, 207, 134, 7, 212, 6, -1, 59, 51, 133,
207, 134, 7, 212, 169, 6, -1, 12, 13, 6,
-1, 13, 51, 207, 6, -1, 56, 51, 133, 207,
134, 7, 5, 5, 5, 6, -1, 49, 133, 207,
134, 7, 212, 6, -1, 50, 133, 207, 134, 7,
212, 6, -1, 51, 71, 133, 207, 134, 7, 212,
6, -1, -1, 62, 51, 174, 133, 168, 134, 7,
212, 6, -1, 63, 53, 133, 207, 134, 7, 212,
6, -1, 63, 51, 133, 207, 134, 7, 212, 4,
140, 211, 141, 6, -1, 63, 51, 133, 207, 134,
7, 212, 6, -1, 63, 48, 133, 207, 134, 7,
212, 6, -1, 61, 53, 133, 207, 134, 7, 212,
6, -1, 53, 133, 207, 134, 7, 212, 6, -1,
-1, 62, 53, 175, 133, 168, 134, 7, 212, 6,
-1, 67, 209, 140, 177, 141, -1, 66, 140, 209,
139, 209, 139, 207, 141, 140, 177, 141, -1, 68,
209, 140, 177, 141, -1, 69, 140, 209, 139, 207,
141, 140, 177, 141, -1, 4, 140, 177, 141, -1,
77, 48, 140, 215, 141, 51, 140, 207, 141, -1,
74, 48, 133, 207, 134, 140, 215, 141, 6, -1,
178, -1, 176, -1, -1, 178, 171, -1, 178, 45,
140, 215, 141, 6, -1, 178, 48, 140, 215, 141,
6, -1, 178, 51, 140, 215, 141, 6, -1, 178,
53, 140, 215, 141, 6, -1, 75, 140, 178, 141,
-1, 75, 100, 135, 207, 136, 6, -1, 75, 4,
135, 207, 136, 6, -1, 75, 4, 6, -1, 75,
4, 4, 6, -1, 92, 216, 140, 178, 141, -1,
104, 5, 6, -1, 105, 5, 6, -1, 104, 140,
178, 141, -1, 105, 140, 178, 141, -1, 4, 220,
6, -1, 4, 4, 135, 207, 136, 219, 6, -1,
4, 4, 4, 135, 207, 136, 6, -1, 4, 207,
6, -1, 65, 133, 4, 134, 137, 4, 6, -1,
86, 4, 6, -1, 99, 6, -1, 43, 6, -1,
40, 6, -1, 40, 140, 207, 139, 207, 139, 207,
139, 207, 139, 207, 139, 207, 141, 6, -1, 41,
6, -1, 44, 6, -1, 94, 133, 207, 8, 207,
134, -1, 94, 133, 207, 8, 207, 8, 207, 134,
-1, 94, 4, 95, 140, 207, 8, 207, 141, -1,
94, 4, 95, 140, 207, 8, 207, 8, 207, 141,
-1, 96, -1, 103, 4, -1, 101, -1, 102, 4,
6, -1, 97, 133, 207, 134, -1, 98, -1, 70,
209, 140, 178, 141, -1, 70, 140, 209, 139, 209,
139, 207, 141, 140, 178, 141, -1, 70, 140, 209,
139, 209, 139, 209, 139, 207, 141, 140, 178, 141,
-1, -1, 70, 209, 140, 178, 185, 198, 141, -1,
-1, 70, 140, 209, 139, 209, 139, 207, 141, 140,
178, 186, 198, 141, -1, -1, 70, 140, 209, 139,
209, 139, 209, 139, 207, 141, 140, 178, 187, 198,
141, -1, -1, 70, 140, 178, 188, 198, 141, -1,
70, 45, 140, 207, 139, 209, 141, 6, -1, 70,
48, 140, 207, 139, 209, 141, 6, -1, 70, 51,
140, 207, 139, 209, 141, 6, -1, 70, 45, 140,
207, 139, 209, 139, 209, 139, 207, 141, 6, -1,
70, 48, 140, 207, 139, 209, 139, 209, 139, 207,
141, 6, -1, 70, 51, 140, 207, 139, 209, 139,
209, 139, 207, 141, 6, -1, 70, 45, 140, 207,
139, 209, 139, 209, 139, 209, 139, 207, 141, 6,
-1, 70, 48, 140, 207, 139, 209, 139, 209, 139,
209, 139, 207, 141, 6, -1, 70, 51, 140, 207,
139, 209, 139, 209, 139, 209, 139, 207, 141, 6,
-1, -1, 70, 45, 140, 207, 139, 209, 141, 189,
140, 198, 141, 6, -1, -1, 70, 48, 140, 207,
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
139, 209, 141, 190, 140, 198, 141, 6, -1, -1,
70, 51, 140, 207, 139, 209, 141, 191, 140, 198,
141, 6, -1, -1, 70, 45, 140, 207, 139, 209,
139, 209, 139, 207, 141, 192, 140, 198, 141, 6,
-1, -1, 70, 48, 140, 207, 139, 209, 139, 209,
139, 207, 141, 193, 140, 198, 141, 6, -1, -1,
70, 51, 140, 207, 139, 209, 139, 209, 139, 207,
141, 194, 140, 198, 141, 6, -1, -1, 70, 45,
140, 207, 139, 209, 139, 209, 139, 209, 139, 207,
141, 195, 140, 198, 141, 6, -1, -1, 70, 48,
140, 207, 139, 209, 139, 209, 139, 209, 139, 207,
141, 196, 140, 198, 141, 6, -1, -1, 70, 51,
140, 207, 139, 209, 139, 209, 139, 209, 139, 207,
141, 197, 140, 198, 141, 6, -1, 199, -1, 198,
199, -1, 78, 140, 207, 141, 6, -1, 78, 140,
212, 139, 212, 141, 6, -1, 78, 140, 212, 139,
212, 139, 212, 141, 6, -1, 72, 6, -1, 79,
133, 207, 134, 7, 212, 64, 207, 6, -1, -1,
64, 4, 207, -1, -1, 4, -1, -1, 7, 212,
-1, -1, 7, 207, -1, 60, 48, 213, 7, 207,
200, 6, -1, 60, 51, 213, 202, 201, 6, -1,
57, 51, 140, 207, 141, 7, 212, 6, -1, 60,
53, 213, 202, 6, -1, 72, 51, 213, 203, 6,
-1, 73, 51, 212, 7, 207, 6, -1, 45, 140,
215, 141, 95, 51, 140, 207, 141, 6, -1, 48,
140, 215, 141, 95, 51, 140, 207, 141, 6, -1,
48, 140, 215, 141, 95, 53, 140, 207, 141, 6,
-1, 51, 140, 215, 141, 95, 53, 140, 207, 141,
6, -1, 76, 6, -1, 76, 4, 6, -1, 208,
-1, 133, 207, 134, -1, 124, 207, -1, 123, 207,
-1, 128, 207, -1, 207, 124, 207, -1, 207, 123,
207, -1, 207, 125, 207, -1, 207, 126, 207, -1,
207, 127, 207, -1, 207, 132, 207, -1, 207, 119,
207, -1, 207, 120, 207, -1, 207, 122, 207, -1,
207, 121, 207, -1, 207, 118, 207, -1, 207, 117,
207, -1, 207, 116, 207, -1, 207, 115, 207, -1,
207, 114, 207, 8, 207, -1, 14, 133, 207, 134,
-1, 15, 133, 207, 134, -1, 16, 133, 207, 134,
-1, 17, 133, 207, 134, -1, 18, 133, 207, 134,
-1, 19, 133, 207, 134, -1, 20, 133, 207, 134,
-1, 21, 133, 207, 134, -1, 22, 133, 207, 134,
-1, 24, 133, 207, 134, -1, 25, 133, 207, 139,
207, 134, -1, 26, 133, 207, 134, -1, 27, 133,
207, 134, -1, 28, 133, 207, 134, -1, 29, 133,
207, 134, -1, 30, 133, 207, 134, -1, 31, 133,
207, 134, -1, 32, 133, 207, 139, 207, 134, -1,
33, 133, 207, 139, 207, 134, -1, 34, 133, 207,
139, 207, 134, -1, 23, 133, 207, 134, -1, 14,
135, 207, 136, -1, 15, 135, 207, 136, -1, 16,
135, 207, 136, -1, 17, 135, 207, 136, -1, 18,
135, 207, 136, -1, 19, 135, 207, 136, -1, 20,
135, 207, 136, -1, 21, 135, 207, 136, -1, 22,
135, 207, 136, -1, 24, 135, 207, 136, -1, 25,
135, 207, 139, 207, 136, -1, 26, 135, 207, 136,
-1, 27, 135, 207, 136, -1, 28, 135, 207, 136,
-1, 29, 135, 207, 136, -1, 30, 135, 207, 136,
-1, 31, 135, 207, 136, -1, 32, 135, 207, 139,
207, 136, -1, 33, 135, 207, 139, 207, 136, -1,
34, 135, 207, 139, 207, 136, -1, 23, 135, 207,
136, -1, 3, -1, 9, -1, 10, -1, 11, -1,
107, -1, 108, -1, 109, -1, 4, -1, 4, 142,
140, 207, 141, -1, 4, 135, 207, 136, -1, 138,
4, 135, 136, -1, 4, 166, -1, 4, 135, 207,
136, 166, -1, 4, 137, 4, -1, 4, 135, 207,
136, 137, 4, -1, 4, 137, 4, 166, -1, 4,
135, 207, 136, 137, 4, 166, -1, 106, 133, 5,
139, 207, 134, -1, 210, -1, 124, 209, -1, 123,
209, -1, 209, 124, 209, -1, 209, 123, 209, -1,
140, 207, 139, 207, 139, 207, 139, 207, 139, 207,
141, -1, 140, 207, 139, 207, 139, 207, 139, 207,
141, -1, 140, 207, 139, 207, 139, 207, 141, -1,
133, 207, 139, 207, 139, 207, 134, -1, 212, -1,
211, 139, 212, -1, 207, -1, 214, -1, 140, 141,
-1, 140, 215, 141, -1, 124, 140, 215, 141, -1,
207, 125, 140, 215, 141, -1, 212, -1, 5, -1,
124, 214, -1, 207, 125, 214, -1, 207, 8, 207,
-1, 207, 8, 207, 8, 207, -1, 45, 140, 207,
141, -1, 176, -1, 184, -1, 4, 135, 136, -1,
4, 135, 140, 215, 141, 136, -1, 207, -1, 214,
-1, 215, 139, 207, -1, 215, 139, 214, -1, 140,
207, 139, 207, 139, 207, 139, 207, 141, -1, 140,
207, 139, 207, 139, 207, 141, -1, 4, -1, 4,
137, 92, 137, 4, -1, 140, 218, 141, -1, 4,
135, 207, 136, 137, 93, -1, 216, -1, 218, 139,
216, -1, 220, -1, 4, -1, 4, 137, 4, -1,
4, 135, 207, 136, 137, 4, -1, 5, -1, 42,
-1, 37, 133, 219, 139, 219, 134, -1, 38, 133,
219, 134, -1, 39, 133, 219, 134, -1, 36, 133,
219, 134, -1, 36, 133, 219, 139, 215, 134, -1
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{

Christophe Geuzaine
committed
0, 141, 141, 142, 147, 149, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
170, 174, 181, 186, 201, 214, 243, 257, 268, 283,
288, 289, 290, 291, 292, 296, 298, 303, 305, 311,

Christophe Geuzaine
committed
415, 310, 433, 440, 451, 450, 468, 475, 486, 485,
502, 519, 542, 541, 555, 556, 557, 558, 559, 563,
564, 571, 593, 620, 660, 670, 678, 686, 698, 707,
713, 722, 740, 758, 767, 779, 784, 792, 812, 835,
842, 848, 868, 889, 915, 927, 944, 948, 959, 962,
975, 978, 988, 1012, 1011, 1031, 1053, 1071, 1089, 1119,
1149, 1167, 1185, 1211, 1229, 1228, 1251, 1269, 1308, 1314,
1320, 1327, 1352, 1377, 1394, 1393, 1413, 1430, 1458, 1475,
1495, 1513, 1531, 1530, 1555, 1560, 1565, 1570, 1575, 1595,
1601, 1612, 1613, 1618, 1621, 1625, 1648, 1671, 1694, 1722,
1731, 1735, 1750, 1777, 1794, 1808, 1814, 1820, 1829, 1843,
1891, 1909, 1924, 1943, 1955, 1979, 1983, 1990, 1996, 2001,
2007, 2016, 2033, 2050, 2069, 2088, 2116, 2124, 2130, 2137,
2141, 2150, 2158, 2166, 2175, 2174, 2187, 2186, 2199, 2198,
2211, 2210, 2223, 2230, 2237, 2244, 2251, 2258, 2265, 2272,
2279, 2287, 2286, 2298, 2297, 2309, 2308, 2320, 2319, 2331,
2330, 2342, 2341, 2353, 2352, 2364, 2363, 2375, 2374, 2389,
2392, 2398, 2407, 2427, 2450, 2454, 2478, 2481, 2497, 2500,
2513, 2516, 2522, 2525, 2532, 2588, 2658, 2663, 2730, 2773,
2799, 2822, 2845, 2848, 2857, 2861, 2877, 2878, 2879, 2880,