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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* 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,
tPoint = 298,
tCircle = 299,
tEllipse = 300,
tLine = 301,
tSphere = 302,
tPolarSphere = 303,
tSurface = 304,
tSpline = 305,
tVolume = 306,
tCharacteristic = 307,
tLength = 308,
tParametric = 309,
tElliptic = 310,
tPlane = 311,
tRuled = 312,
tTransfinite = 313,
tComplex = 314,
tPhysical = 315,
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
tUsing = 317,
tPlugin = 318,
tRotate = 319,
tTranslate = 320,
tSymmetry = 321,
tDilate = 322,
tExtrude = 323,
tLoop = 324,
tRecombine = 325,
tSmoother = 326,
tSplit = 327,
tDelete = 328,
tCoherence = 329,
tIntersect = 330,
tLayers = 331,
tHole = 332,
tAlias = 333,
tAliasWithOptions = 334,
tText2D = 335,
tText3D = 336,
tInterpolationScheme = 337,
tTime = 338,
tCombine = 339,
tBSpline = 340,
tBezier = 341,
tNurbs = 342,
tOrder = 343,
tKnots = 344,
tColor = 345,
tColorTable = 346,
tFor = 347,
tIn = 348,
tEndFor = 349,
tIf = 350,
tEndIf = 351,
tExit = 352,
tField = 353,
tReturn = 354,
tCall = 355,
tFunction = 356,
tShow = 357,
tHide = 358,
tGetValue = 359,
tGMSH_MAJOR_VERSION = 360,
tGMSH_MINOR_VERSION = 361,
tGMSH_PATCH_VERSION = 362,
tAFFECTDIVIDE = 363,
tAFFECTTIMES = 364,
tAFFECTMINUS = 365,
tAFFECTPLUS = 366,
tOR = 367,
tAND = 368,
tNOTEQUAL = 369,
tEQUAL = 370,
tGREATEROREQUAL = 371,
tLESSOREQUAL = 372,
UNARYPREC = 373,
tMINUSMINUS = 374,
tPLUSPLUS = 375
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
};
#endif
/* Tokens. */
#define tDOUBLE 258
#define tSTRING 259
#define tBIGSTR 260
#define tEND 261
#define tAFFECT 262
#define tDOTS 263
#define tPi 264
#define tMPI_Rank 265
#define tMPI_Size 266
#define tEuclidian 267
#define tCoordinates 268
#define tExp 269
#define tLog 270
#define tLog10 271
#define tSqrt 272
#define tSin 273
#define tAsin 274
#define tCos 275
#define tAcos 276
#define tTan 277
#define tRand 278
#define tAtan 279
#define tAtan2 280
#define tSinh 281
#define tCosh 282
#define tTanh 283
#define tFabs 284
#define tFloor 285
#define tCeil 286
#define tFmod 287
#define tModulo 288
#define tHypot 289
#define tPrintf 290
#define tSprintf 291
#define tStrCat 292
#define tStrPrefix 293
#define tStrRelative 294
#define tBoundingBox 295
#define tDraw 296
#define tToday 297
#define tPoint 298
#define tCircle 299
#define tEllipse 300
#define tLine 301
#define tSphere 302
#define tPolarSphere 303
#define tSurface 304
#define tSpline 305
#define tVolume 306
#define tCharacteristic 307
#define tLength 308
#define tParametric 309
#define tElliptic 310
#define tPlane 311
#define tRuled 312
#define tTransfinite 313
#define tComplex 314
#define tPhysical 315
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
#define tUsing 317
#define tPlugin 318
#define tRotate 319
#define tTranslate 320
#define tSymmetry 321
#define tDilate 322
#define tExtrude 323
#define tLoop 324
#define tRecombine 325
#define tSmoother 326
#define tSplit 327
#define tDelete 328
#define tCoherence 329
#define tIntersect 330
#define tLayers 331
#define tHole 332
#define tAlias 333
#define tAliasWithOptions 334
#define tText2D 335
#define tText3D 336
#define tInterpolationScheme 337
#define tTime 338
#define tCombine 339
#define tBSpline 340
#define tBezier 341
#define tNurbs 342
#define tOrder 343
#define tKnots 344
#define tColor 345
#define tColorTable 346
#define tFor 347
#define tIn 348
#define tEndFor 349
#define tIf 350
#define tEndIf 351
#define tExit 352
#define tField 353
#define tReturn 354
#define tCall 355
#define tFunction 356
#define tShow 357
#define tHide 358
#define tGetValue 359
#define tGMSH_MAJOR_VERSION 360
#define tGMSH_MINOR_VERSION 361
#define tGMSH_PATCH_VERSION 362
#define tAFFECTDIVIDE 363
#define tAFFECTTIMES 364
#define tAFFECTMINUS 365
#define tAFFECTPLUS 366
#define tOR 367
#define tAND 368
#define tNOTEQUAL 369
#define tEQUAL 370
#define tGREATEROREQUAL 371
#define tLESSOREQUAL 372
#define UNARYPREC 373
#define tMINUSMINUS 374
#define tPLUSPLUS 375
#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>

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
static std::vector<double> ViewCoord;
static List_T *ViewValueList = 0;
static int *ViewNumList = 0;
static ExtrudeParams extr;
#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);
Double_Matrix ListOfListOfDouble2Matrix(List_T *list);
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
#line 73 "Gmsh.y"
#line 426 "Gmsh.tab.cpp"
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. */
#line 439 "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
# 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;
}
524
525
526
527
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
#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. */
#define YYLAST 6191
#define YYNNTS 74
#define YYNRULES 358
#define YYNSTATES 1250
/* 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, 126, 2, 136, 2, 125, 2, 2,
131, 132, 123, 121, 137, 122, 135, 124, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 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, 113, 114, 115,
116, 119, 120, 127, 128, 129
#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,
446, 447, 450, 458, 467, 474, 482, 490, 499, 508,
526, 534, 542, 554, 563, 572, 581, 591, 595, 600,
611, 619, 627, 636, 645, 658, 667, 675, 684, 690,
702, 708, 718, 723, 733, 743, 745, 747, 748, 751,
758, 765, 772, 779, 784, 791, 798, 802, 807, 813,
817, 821, 826, 831, 835, 843, 851, 855, 863, 867,
870, 873, 889, 892, 899, 908, 917, 928, 930, 933,
935, 939, 944, 946, 952, 964, 978, 979, 987, 988,
1002, 1003, 1019, 1020, 1027, 1036, 1045, 1054, 1067, 1080,
1093, 1108, 1123, 1138, 1139, 1152, 1153, 1166, 1167, 1180,
1181, 1198, 1199, 1216, 1217, 1234, 1235, 1254, 1255, 1274,
1275, 1294, 1296, 1299, 1305, 1313, 1323, 1326, 1336, 1337,
1341, 1342, 1344, 1345, 1348, 1349, 1352, 1360, 1367, 1376,
1382, 1388, 1395, 1406, 1417, 1428, 1439, 1442, 1446, 1448,
1452, 1455, 1458, 1461, 1465, 1469, 1473, 1477, 1481, 1485,
1489, 1493, 1497, 1501, 1505, 1509, 1513, 1517, 1523, 1528,
1533, 1538, 1543, 1548, 1553, 1558, 1563, 1568, 1573, 1580,
1585, 1590, 1595, 1600, 1605, 1610, 1617, 1624, 1631, 1636,
1641, 1646, 1651, 1656, 1661, 1666, 1671, 1676, 1681, 1686,
1693, 1698, 1703, 1708, 1713, 1718, 1723, 1730, 1737, 1744,
1749, 1751, 1753, 1755, 1757, 1759, 1761, 1763, 1765, 1771,
1776, 1781, 1784, 1790, 1794, 1801, 1806, 1814, 1821, 1823,
1826, 1829, 1833, 1837, 1849, 1859, 1867, 1875, 1877, 1881,
1883, 1885, 1888, 1892, 1897, 1903, 1905, 1907, 1910, 1914,
1918, 1924, 1929, 1931, 1933, 1937, 1944, 1946, 1948, 1952,
1956, 1966, 1974, 1976, 1982, 1986, 1993, 1995, 1999, 2001,
2003, 2007, 2014, 2016, 2018, 2025, 2030, 2035, 2040
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
142, 0, -1, 143, -1, 1, 6, -1, -1, 143,
144, -1, 147, -1, 146, -1, 165, -1, 169, -1,
170, -1, 173, -1, 174, -1, 175, -1, 178, -1,
198, -1, 199, -1, 200, -1, 177, -1, 176, -1,
118, -1, 118, 118, -1, 35, 131, 5, 132, 6,
-1, 35, 131, 5, 132, 145, 213, 6, -1, 35,
131, 5, 137, 209, 132, 6, -1, 35, 131, 5,
137, 209, 132, 145, 213, 6, -1, 4, 5, 138,
148, 139, 6, -1, 78, 4, 133, 201, 134, 6,
-1, 79, 4, 133, 201, 134, 6, -1, -1, 148,
151, -1, 148, 155, -1, 148, 158, -1, 148, 160,
-1, 148, 161, -1, 201, -1, 149, 137, 201, -1,
201, -1, 150, 137, 201, -1, -1, -1, 4, 152,
131, 149, 132, 153, 138, 150, 139, 6, -1, 213,
-1, 154, 137, 213, -1, -1, 80, 131, 201, 137,
213, -1, 157, 137, 213, -1, -1, 81, 131, 201,
137, 201, 137, 201, 137, 201, 132, 159, 138, 157,
139, 6, -1, 82, 138, 205, 139, 138, 205, 139,
6, -1, 82, 138, 205, 139, 138, 205, 139, 138,
205, 139, 138, 205, 139, 6, -1, -1, 83, 162,
138, 150, 139, 6, -1, 7, -1, 111, -1, 110,
-1, 109, -1, 108, -1, 129, -1, 128, -1, 4,
163, 201, 6, -1, 4, 133, 201, 134, 163, 201,
6, -1, 4, 133, 138, 209, 139, 134, 163, 206,
6, -1, 4, 133, 134, 7, 206, 6, -1, 4,
133, 134, 111, 206, 6, -1, 4, 164, 6, -1,
4, 133, 201, 134, 164, 6, -1, 4, 7, 214,
6, -1, 4, 135, 4, 7, 214, 6, -1, 4,
133, 201, 134, 135, 4, 7, 214, 6, -1, 4,
135, 4, 163, 201, 6, -1, 4, 133, 201, 134,
135, 4, 163, 201, 6, -1, 4, 135, 4, 164,
6, -1, 4, 133, 201, 134, 135, 4, 164, 6,
-1, 4, 135, 90, 135, 4, 7, 210, 6, -1,
4, 133, 201, 134, 135, 90, 135, 4, 7, 210,
6, -1, 4, 135, 91, 7, 211, 6, -1, 4,
133, 201, 134, 135, 91, 7, 211, 6, -1, 4,
98, 7, 201, 6, -1, 98, 133, 201, 134, 7,
4, 6, -1, 98, 133, 201, 134, 135, 4, 7,
201, 6, -1, 98, 133, 201, 134, 135, 4, 7,
214, 6, -1, 98, 133, 201, 134, 135, 4, 7,
138, 209, 139, 6, -1, 63, 131, 4, 132, 135,
4, 7, 214, 6, -1, 201, -1, 214, -1, -1,
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
93, 47, 138, 201, 139, -1, -1, 56, 203, -1,
43, 131, 201, 132, 7, 203, 6, -1, 60, 43,
131, 166, 132, 7, 206, 6, -1, 52, 53, 206,
7, 201, 6, -1, 46, 131, 201, 132, 7, 206,
6, -1, 50, 131, 201, 132, 7, 206, 6, -1,
44, 131, 201, 132, 7, 206, 168, 6, -1, 45,
131, 201, 132, 7, 206, 168, 6, -1, 54, 131,
201, 132, 7, 138, 201, 137, 201, 137, 5, 137,
5, 137, 5, 139, 6, -1, 85, 131, 201, 132,
7, 206, 6, -1, 86, 131, 201, 132, 7, 206,
6, -1, 87, 131, 201, 132, 7, 206, 89, 206,
88, 201, 6, -1, 46, 69, 131, 201, 132, 7,
206, 6, -1, 60, 46, 131, 166, 132, 7, 206,
6, -1, 56, 49, 131, 201, 132, 7, 206, 6,
-1, 57, 49, 131, 201, 132, 7, 206, 167, 6,
-1, 12, 13, 6, -1, 13, 49, 201, 6, -1,
54, 49, 131, 201, 132, 7, 5, 5, 5, 6,
-1, 47, 131, 201, 132, 7, 206, 6, -1, 48,
131, 201, 132, 7, 206, 6, -1, 49, 69, 131,
201, 132, 7, 206, 6, -1, 60, 49, 131, 166,
132, 7, 206, 6, -1, 61, 49, 131, 201, 132,
7, 206, 4, 138, 205, 139, 6, -1, 59, 51,
131, 201, 132, 7, 206, 6, -1, 51, 131, 201,
132, 7, 206, 6, -1, 60, 51, 131, 166, 132,
7, 206, 6, -1, 65, 203, 138, 171, 139, -1,
64, 138, 203, 137, 203, 137, 201, 139, 138, 171,
139, -1, 66, 203, 138, 171, 139, -1, 67, 138,
203, 137, 201, 139, 138, 171, 139, -1, 4, 138,
171, 139, -1, 75, 46, 138, 209, 139, 49, 138,
201, 139, -1, 72, 46, 131, 201, 132, 138, 209,
-1, 172, 43, 138, 209, 139, 6, -1, 172, 46,
138, 209, 139, 6, -1, 172, 49, 138, 209, 139,
6, -1, 172, 51, 138, 209, 139, 6, -1, 73,
138, 172, 139, -1, 73, 98, 133, 201, 134, 6,
-1, 73, 4, 133, 201, 134, 6, -1, 73, 4,
6, -1, 73, 4, 4, 6, -1, 90, 210, 138,
172, 139, -1, 102, 5, 6, -1, 103, 5, 6,
-1, 4, 214, 6, -1, 4, 4, 133, 201, 134,
213, 6, -1, 4, 4, 4, 133, 201, 134, 6,
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
-1, 4, 201, 6, -1, 63, 131, 4, 132, 135,
4, 6, -1, 84, 4, 6, -1, 97, 6, -1,
40, 6, -1, 40, 138, 201, 137, 201, 137, 201,
137, 201, 137, 201, 137, 201, 139, 6, -1, 41,
6, -1, 92, 131, 201, 8, 201, 132, -1, 92,
131, 201, 8, 201, 8, 201, 132, -1, 92, 4,
93, 138, 201, 8, 201, 139, -1, 92, 4, 93,
138, 201, 8, 201, 8, 201, 139, -1, 94, -1,
101, 4, -1, 99, -1, 100, 4, 6, -1, 95,
131, 201, 132, -1, 96, -1, 68, 203, 138, 172,
139, -1, 68, 138, 203, 137, 203, 137, 201, 139,
138, 172, 139, -1, 68, 138, 203, 137, 203, 137,
203, 137, 201, 139, 138, 172, 139, -1, -1, 68,
203, 138, 172, 179, 192, 139, -1, -1, 68, 138,
203, 137, 203, 137, 201, 139, 138, 172, 180, 192,
139, -1, -1, 68, 138, 203, 137, 203, 137, 203,
137, 201, 139, 138, 172, 181, 192, 139, -1, -1,
68, 138, 172, 182, 192, 139, -1, 68, 43, 138,
201, 137, 203, 139, 6, -1, 68, 46, 138, 201,
137, 203, 139, 6, -1, 68, 49, 138, 201, 137,
203, 139, 6, -1, 68, 43, 138, 201, 137, 203,
137, 203, 137, 201, 139, 6, -1, 68, 46, 138,
201, 137, 203, 137, 203, 137, 201, 139, 6, -1,
68, 49, 138, 201, 137, 203, 137, 203, 137, 201,
139, 6, -1, 68, 43, 138, 201, 137, 203, 137,
203, 137, 203, 137, 201, 139, 6, -1, 68, 46,
138, 201, 137, 203, 137, 203, 137, 203, 137, 201,
139, 6, -1, 68, 49, 138, 201, 137, 203, 137,
203, 137, 203, 137, 201, 139, 6, -1, -1, 68,
43, 138, 201, 137, 203, 139, 183, 138, 192, 139,
6, -1, -1, 68, 46, 138, 201, 137, 203, 139,
184, 138, 192, 139, 6, -1, -1, 68, 49, 138,
201, 137, 203, 139, 185, 138, 192, 139, 6, -1,
-1, 68, 43, 138, 201, 137, 203, 137, 203, 137,
201, 139, 186, 138, 192, 139, 6, -1, -1, 68,
46, 138, 201, 137, 203, 137, 203, 137, 201, 139,
187, 138, 192, 139, 6, -1, -1, 68, 49, 138,
201, 137, 203, 137, 203, 137, 201, 139, 188, 138,
192, 139, 6, -1, -1, 68, 43, 138, 201, 137,
203, 137, 203, 137, 203, 137, 201, 139, 189, 138,
192, 139, 6, -1, -1, 68, 46, 138, 201, 137,
203, 137, 203, 137, 203, 137, 201, 139, 190, 138,
192, 139, 6, -1, -1, 68, 49, 138, 201, 137,
203, 137, 203, 137, 203, 137, 201, 139, 191, 138,
192, 139, 6, -1, 193, -1, 192, 193, -1, 76,
138, 201, 139, 6, -1, 76, 138, 206, 137, 206,
139, 6, -1, 76, 138, 206, 137, 206, 137, 206,
139, 6, -1, 70, 6, -1, 77, 131, 201, 132,
7, 206, 62, 201, 6, -1, -1, 62, 4, 201,
-1, -1, 4, -1, -1, 7, 206, -1, -1, 7,
58, 49, 207, 196, 195, 6, -1, 55, 49, 138,
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
201, 139, 7, 206, 6, -1, 58, 51, 207, 196,
6, -1, 70, 49, 207, 197, 6, -1, 71, 49,
206, 7, 201, 6, -1, 43, 138, 209, 139, 93,
49, 138, 201, 139, 6, -1, 46, 138, 209, 139,
93, 49, 138, 201, 139, 6, -1, 46, 138, 209,
139, 93, 51, 138, 201, 139, 6, -1, 49, 138,
209, 139, 93, 51, 138, 201, 139, 6, -1, 74,
6, -1, 74, 4, 6, -1, 202, -1, 131, 201,
132, -1, 122, 201, -1, 121, 201, -1, 126, 201,
-1, 201, 122, 201, -1, 201, 121, 201, -1, 201,
123, 201, -1, 201, 124, 201, -1, 201, 125, 201,
-1, 201, 130, 201, -1, 201, 117, 201, -1, 201,
118, 201, -1, 201, 120, 201, -1, 201, 119, 201,
-1, 201, 116, 201, -1, 201, 115, 201, -1, 201,
114, 201, -1, 201, 113, 201, -1, 201, 112, 201,
8, 201, -1, 14, 131, 201, 132, -1, 15, 131,
201, 132, -1, 16, 131, 201, 132, -1, 17, 131,
201, 132, -1, 18, 131, 201, 132, -1, 19, 131,
201, 132, -1, 20, 131, 201, 132, -1, 21, 131,
201, 132, -1, 22, 131, 201, 132, -1, 24, 131,
201, 132, -1, 25, 131, 201, 137, 201, 132, -1,
26, 131, 201, 132, -1, 27, 131, 201, 132, -1,
28, 131, 201, 132, -1, 29, 131, 201, 132, -1,
30, 131, 201, 132, -1, 31, 131, 201, 132, -1,
32, 131, 201, 137, 201, 132, -1, 33, 131, 201,
137, 201, 132, -1, 34, 131, 201, 137, 201, 132,
-1, 23, 131, 201, 132, -1, 14, 133, 201, 134,
-1, 15, 133, 201, 134, -1, 16, 133, 201, 134,
-1, 17, 133, 201, 134, -1, 18, 133, 201, 134,
-1, 19, 133, 201, 134, -1, 20, 133, 201, 134,
-1, 21, 133, 201, 134, -1, 22, 133, 201, 134,
-1, 24, 133, 201, 134, -1, 25, 133, 201, 137,
201, 134, -1, 26, 133, 201, 134, -1, 27, 133,
201, 134, -1, 28, 133, 201, 134, -1, 29, 133,
201, 134, -1, 30, 133, 201, 134, -1, 31, 133,
201, 134, -1, 32, 133, 201, 137, 201, 134, -1,
33, 133, 201, 137, 201, 134, -1, 34, 133, 201,
137, 201, 134, -1, 23, 133, 201, 134, -1, 3,
-1, 9, -1, 10, -1, 11, -1, 105, -1, 106,
-1, 107, -1, 4, -1, 4, 140, 138, 201, 139,
-1, 4, 133, 201, 134, -1, 136, 4, 133, 134,
-1, 4, 164, -1, 4, 133, 201, 134, 164, -1,
4, 135, 4, -1, 4, 133, 201, 134, 135, 4,
-1, 4, 135, 4, 164, -1, 4, 133, 201, 134,
135, 4, 164, -1, 104, 131, 5, 137, 201, 132,
-1, 204, -1, 122, 203, -1, 121, 203, -1, 203,
122, 203, -1, 203, 121, 203, -1, 138, 201, 137,
201, 137, 201, 137, 201, 137, 201, 139, -1, 138,
201, 137, 201, 137, 201, 137, 201, 139, -1, 138,
201, 137, 201, 137, 201, 139, -1, 131, 201, 137,
201, 137, 201, 132, -1, 206, -1, 205, 137, 206,
-1, 201, -1, 208, -1, 138, 139, -1, 138, 209,
139, -1, 122, 138, 209, 139, -1, 201, 123, 138,
209, 139, -1, 206, -1, 5, -1, 122, 208, -1,
201, 123, 208, -1, 201, 8, 201, -1, 201, 8,
201, 8, 201, -1, 43, 138, 201, 139, -1, 170,
-1, 178, -1, 4, 133, 134, -1, 4, 133, 138,
209, 139, 134, -1, 201, -1, 208, -1, 209, 137,
201, -1, 209, 137, 208, -1, 138, 201, 137, 201,
137, 201, 137, 201, 139, -1, 138, 201, 137, 201,
137, 201, 139, -1, 4, -1, 4, 135, 90, 135,
4, -1, 138, 212, 139, -1, 4, 133, 201, 134,
135, 91, -1, 210, -1, 212, 137, 210, -1, 214,
-1, 4, -1, 4, 135, 4, -1, 4, 133, 201,
134, 135, 4, -1, 5, -1, 42, -1, 37, 131,
213, 137, 213, 132, -1, 38, 131, 213, 132, -1,
39, 131, 213, 132, -1, 36, 131, 213, 132, -1,
36, 131, 213, 137, 209, 132, -1
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
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,
457, 310, 475, 482, 493, 492, 511, 518, 529, 528,
546, 562, 585, 584, 598, 599, 600, 601, 602, 606,
607, 614, 636, 663, 703, 713, 721, 729, 741, 750,
755, 763, 781, 799, 808, 820, 825, 833, 853, 876,
883, 889, 909, 930, 956, 968, 985, 989, 999, 1002,
1015, 1018, 1028, 1051, 1067, 1089, 1107, 1125, 1155, 1185,
1205, 1223, 1241, 1267, 1284, 1303, 1321, 1360, 1366, 1372,
1379, 1404, 1429, 1445, 1461, 1492, 1510, 1527, 1548, 1553,
1558, 1563, 1568, 1588, 1594, 1605, 1606, 1611, 1614, 1618,
1641, 1664, 1687, 1715, 1724, 1728, 1743, 1770, 1787, 1801,
1807, 1813, 1822, 1836, 1884, 1902, 1917, 1936, 1948, 1972,
1976, 1981, 1986, 1998, 2015, 2032, 2051, 2070, 2098, 2106,
2112, 2119, 2123, 2132, 2140, 2148, 2157, 2156, 2169, 2168,
2181, 2180, 2193, 2192, 2205, 2212, 2219, 2226, 2233, 2240,
2247, 2254, 2261, 2269, 2268, 2280, 2279, 2291, 2290, 2302,
2301, 2313, 2312, 2324, 2323, 2335, 2334, 2346, 2345, 2357,
2356, 2371, 2374, 2380, 2389, 2409, 2432, 2436, 2460, 2463,
2479, 2482, 2495, 2498, 2504, 2507, 2514, 2568, 2638, 2643,
2710, 2753, 2779, 2802, 2825, 2828, 2837, 2841, 2857, 2858,
2859, 2860, 2861, 2862, 2863, 2864, 2865, 2872, 2873, 2874,
2875, 2876, 2877, 2878, 2879, 2880, 2881, 2882, 2883, 2884,
2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2894,
2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2905,
2906, 2907, 2908, 2909, 2910, 2911, 2912, 2913, 2914, 2915,
2916, 2917, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925,
2934, 2935, 2936, 2937, 2938, 2939, 2940, 2944, 2957, 2969,
2984, 2994, 3004, 3022, 3027, 3032, 3042, 3052, 3060, 3064,