Newer
Older
/* A Bison parser, made by GNU Bison 1.875. */
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
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
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
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
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
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., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* 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
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Using locations. */
#define YYLSP_NEEDED 0
/* 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,
tExp = 267,
tLog = 268,
tLog10 = 269,
tSqrt = 270,
tSin = 271,
tAsin = 272,
tCos = 273,
tAcos = 274,
tTan = 275,
tRand = 276,
tAtan = 277,
tAtan2 = 278,
tSinh = 279,
tCosh = 280,
tTanh = 281,
tFabs = 282,
tFloor = 283,
tCeil = 284,
tFmod = 285,
tModulo = 286,
tHypot = 287,
tPrintf = 288,
tSprintf = 289,
tStrCat = 290,
tStrPrefix = 291,
tBoundingBox = 292,
tDraw = 293,
tPoint = 294,
tCircle = 295,
tEllipse = 296,
tLine = 297,
tSurface = 298,
tSpline = 299,
tVolume = 300,
tCharacteristic = 301,
tLength = 302,
tParametric = 303,
tElliptic = 304,
tPlane = 305,
tRuled = 306,
tTriangulation = 307,
tTransfinite = 308,
tComplex = 309,
tPhysical = 310,
tUsing = 311,
tBump = 312,
tProgression = 313,
tPlugin = 314,
tRotate = 315,
tTranslate = 316,
tSymmetry = 317,
tDilate = 318,
tExtrude = 319,
tDuplicata = 320,
tLoop = 321,
tRecombine = 322,
tDelete = 323,
tCoherence = 324,
tIntersect = 325,
tAttractor = 326,
tLayers = 327,
tScalarPoint = 328,
tVectorPoint = 329,
tTensorPoint = 330,
tScalarLine = 331,
tVectorLine = 332,
tTensorLine = 333,
tScalarTriangle = 334,
tVectorTriangle = 335,
tTensorTriangle = 336,
tScalarQuadrangle = 337,
tVectorQuadrangle = 338,
tTensorQuadrangle = 339,
tScalarTetrahedron = 340,
tVectorTetrahedron = 341,
tTensorTetrahedron = 342,
tScalarHexahedron = 343,
tVectorHexahedron = 344,
tTensorHexahedron = 345,
tScalarPrism = 346,
tVectorPrism = 347,
tTensorPrism = 348,
tScalarPyramid = 349,
tVectorPyramid = 350,
tTensorPyramid = 351,
tText2D = 352,
tText3D = 353,
tInterpolationScheme = 354,
tCombine = 355,
tBSpline = 356,
tBezier = 357,
tNurbs = 358,
tOrder = 359,
tWith = 360,
tBounds = 361,
tKnots = 362,
tColor = 363,
tColorTable = 364,
tFor = 365,
tIn = 366,
tEndFor = 367,
tIf = 368,
tEndIf = 369,
tExit = 370,
tReturn = 371,
tCall = 372,
tFunction = 373,
tTrimmed = 374,
tShow = 375,
tHide = 376,
tB_SPLINE_SURFACE_WITH_KNOTS = 377,
tB_SPLINE_CURVE_WITH_KNOTS = 378,
tCARTESIAN_POINT = 379,
tTRUE = 380,
tFALSE = 381,
tUNSPECIFIED = 382,
tU = 383,
tV = 384,
tEDGE_CURVE = 385,
tVERTEX_POINT = 386,
tORIENTED_EDGE = 387,
tPLANE = 388,
tFACE_OUTER_BOUND = 389,
tEDGE_LOOP = 390,
tADVANCED_FACE = 391,
tVECTOR = 392,
tDIRECTION = 393,
tAXIS2_PLACEMENT_3D = 394,
tISO = 395,
tENDISO = 396,
tENDSEC = 397,
tDATA = 398,
tHEADER = 399,
tFILE_DESCRIPTION = 400,
tFILE_SCHEMA = 401,
tFILE_NAME = 402,
tMANIFOLD_SOLID_BREP = 403,
tCLOSED_SHELL = 404,
tADVANCED_BREP_SHAPE_REPRESENTATION = 405,
tFACE_BOUND = 406,
tCYLINDRICAL_SURFACE = 407,
tCONICAL_SURFACE = 408,
tCIRCLE = 409,
tTRIMMED_CURVE = 410,
tGEOMETRIC_SET = 411,
tCOMPOSITE_CURVE_SEGMENT = 412,
tCONTINUOUS = 413,
tCOMPOSITE_CURVE = 414,
tTOROIDAL_SURFACE = 415,
tPRODUCT_DEFINITION = 416,
tPRODUCT_DEFINITION_SHAPE = 417,
tSHAPE_DEFINITION_REPRESENTATION = 418,
tELLIPSE = 419,
tSolid = 420,
tEndSolid = 421,
tVertex = 422,
tFacet = 423,
tNormal = 424,
tOuter = 425,
tLoopSTL = 426,
tEndLoop = 427,
tEndFacet = 428,
tAFFECTDIVIDE = 429,
tAFFECTTIMES = 430,
tAFFECTMINUS = 431,
tAFFECTPLUS = 432,
tOR = 433,
tAND = 434,
tAPPROXEQUAL = 435,
tNOTEQUAL = 436,
tEQUAL = 437,
tGREATEROREQUAL = 438,
tLESSOREQUAL = 439,
tCROSSPRODUCT = 440,
UNARYPREC = 441,
tMINUSMINUS = 442,
tPLUSPLUS = 443
};
#endif
#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 tExp 267
#define tLog 268
#define tLog10 269
#define tSqrt 270
#define tSin 271
#define tAsin 272
#define tCos 273
#define tAcos 274
#define tTan 275
#define tRand 276
#define tAtan 277
#define tAtan2 278
#define tSinh 279
#define tCosh 280
#define tTanh 281
#define tFabs 282
#define tFloor 283
#define tCeil 284
#define tFmod 285
#define tModulo 286
#define tHypot 287
#define tPrintf 288
#define tSprintf 289
#define tStrCat 290
#define tStrPrefix 291
#define tBoundingBox 292
#define tDraw 293
#define tPoint 294
#define tCircle 295
#define tEllipse 296
#define tLine 297
#define tSurface 298
#define tSpline 299
#define tVolume 300
#define tCharacteristic 301
#define tLength 302
#define tParametric 303
#define tElliptic 304
#define tPlane 305
#define tRuled 306
#define tTriangulation 307
#define tTransfinite 308
#define tComplex 309
#define tPhysical 310
#define tUsing 311
#define tBump 312
#define tProgression 313
#define tPlugin 314
#define tRotate 315
#define tTranslate 316
#define tSymmetry 317
#define tDilate 318
#define tExtrude 319
#define tDuplicata 320
#define tLoop 321
#define tRecombine 322
#define tDelete 323
#define tCoherence 324
#define tIntersect 325
#define tAttractor 326
#define tLayers 327
#define tScalarPoint 328
#define tVectorPoint 329
#define tTensorPoint 330
#define tScalarLine 331
#define tVectorLine 332
#define tTensorLine 333
#define tScalarTriangle 334
#define tVectorTriangle 335
#define tTensorTriangle 336
#define tScalarQuadrangle 337
#define tVectorQuadrangle 338
#define tTensorQuadrangle 339
#define tScalarTetrahedron 340
#define tVectorTetrahedron 341
#define tTensorTetrahedron 342
#define tScalarHexahedron 343
#define tVectorHexahedron 344
#define tTensorHexahedron 345
#define tScalarPrism 346
#define tVectorPrism 347
#define tTensorPrism 348
#define tScalarPyramid 349
#define tVectorPyramid 350
#define tTensorPyramid 351
#define tText2D 352
#define tText3D 353
#define tInterpolationScheme 354
#define tCombine 355
#define tBSpline 356
#define tBezier 357
#define tNurbs 358
#define tOrder 359
#define tWith 360
#define tBounds 361
#define tKnots 362
#define tColor 363
#define tColorTable 364
#define tFor 365
#define tIn 366
#define tEndFor 367
#define tIf 368
#define tEndIf 369
#define tExit 370
#define tReturn 371
#define tCall 372
#define tFunction 373
#define tTrimmed 374
#define tShow 375
#define tHide 376
#define tB_SPLINE_SURFACE_WITH_KNOTS 377
#define tB_SPLINE_CURVE_WITH_KNOTS 378
#define tCARTESIAN_POINT 379
#define tTRUE 380
#define tFALSE 381
#define tUNSPECIFIED 382
#define tU 383
#define tV 384
#define tEDGE_CURVE 385
#define tVERTEX_POINT 386
#define tORIENTED_EDGE 387
#define tPLANE 388
#define tFACE_OUTER_BOUND 389
#define tEDGE_LOOP 390
#define tADVANCED_FACE 391
#define tVECTOR 392
#define tDIRECTION 393
#define tAXIS2_PLACEMENT_3D 394
#define tISO 395
#define tENDISO 396
#define tENDSEC 397
#define tDATA 398
#define tHEADER 399
#define tFILE_DESCRIPTION 400
#define tFILE_SCHEMA 401
#define tFILE_NAME 402
#define tMANIFOLD_SOLID_BREP 403
#define tCLOSED_SHELL 404
#define tADVANCED_BREP_SHAPE_REPRESENTATION 405
#define tFACE_BOUND 406
#define tCYLINDRICAL_SURFACE 407
#define tCONICAL_SURFACE 408
#define tCIRCLE 409
#define tTRIMMED_CURVE 410
#define tGEOMETRIC_SET 411
#define tCOMPOSITE_CURVE_SEGMENT 412
#define tCONTINUOUS 413
#define tCOMPOSITE_CURVE 414
#define tTOROIDAL_SURFACE 415
#define tPRODUCT_DEFINITION 416
#define tPRODUCT_DEFINITION_SHAPE 417
#define tSHAPE_DEFINITION_REPRESENTATION 418
#define tELLIPSE 419
#define tSolid 420
#define tEndSolid 421
#define tVertex 422
#define tFacet 423
#define tNormal 424
#define tOuter 425
#define tLoopSTL 426
#define tEndLoop 427
#define tEndFacet 428
#define tAFFECTDIVIDE 429
#define tAFFECTTIMES 430
#define tAFFECTMINUS 431
#define tAFFECTPLUS 432
#define tOR 433
#define tAND 434
#define tAPPROXEQUAL 435
#define tNOTEQUAL 436
#define tEQUAL 437
#define tGREATEROREQUAL 438
#define tLESSOREQUAL 439
#define tCROSSPRODUCT 440
#define UNARYPREC 441
#define tMINUSMINUS 442
#define tPLUSPLUS 443
/* Copy the first part of user declarations. */
#line 1 "Gmsh.y"
// $Id: Gmsh.tab.cpp,v 1.211 2004-11-25 16:22:45 remacle Exp $
//
// 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 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software

Christophe Geuzaine
committed
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
#include <stdarg.h>
#include "Gmsh.h"
#include "Numeric.h"
#include "Context.h"
#include "Geo.h"
#include "CAD.h"
#include "Mesh.h"

Christophe Geuzaine
committed
#include "Draw.h"
#include "Create.h"
#include "Views.h"
#include "StepGeomDatabase.h"
#include "Colors.h"
#include "Parser.h"
// FIXME: most tSTRING and tBIGSTRING are leaked: Free() them!
#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];
#if defined(HAVE_FLTK)
void UpdateViewsInGUI();
#endif
void yyerror(char *s);
void yymsg(int type, char *fmt, ...);
void skip_until(char *skip, char *until);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
int CheckViewErrorFlags(Post_View *v);
/* 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
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
/* Copy the second part of user declarations. */
/* Line 214 of yacc.c. */
#if ! defined (yyoverflow) || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
# if YYSTACK_USE_ALLOCA
# define YYSTACK_ALLOC alloca
# ifndef YYSTACK_USE_ALLOCA
# if defined (alloca) || defined (_ALLOCA_H)
# define YYSTACK_ALLOC alloca
# else
# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
/* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
# else
# if defined (__STDC__) || defined (__cplusplus)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# endif
# define YYSTACK_ALLOC malloc
# define YYSTACK_FREE free
# endif
#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
#if (! defined (yyoverflow) \
&& (! defined (__cplusplus) \
/* A type that is properly aligned for any stack member. */
union yyalloc
{
short 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 (short) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
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
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
register YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (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 (0)
#endif
#if defined (__STDC__) || defined (__cplusplus)
typedef signed char yysigned_char;
#else
typedef short yysigned_char;
#endif
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 7
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 13940
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 208
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 137
/* YYNRULES -- Number of rules. */
#define YYNRULES 477
/* YYNRULES -- Number of states. */
#define YYNSTATES 2364
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 443
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const unsigned char 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, 194, 2, 204, 2, 192, 2, 2,
199, 200, 190, 188, 205, 189, 203, 191, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
184, 2, 185, 178, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 201, 2, 202, 198, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 206, 2, 207, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 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,
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, 179, 180, 181, 182, 183, 186, 187,
193, 195, 196, 197
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
static const unsigned short yyprhs[] =
{
0, 0, 3, 5, 7, 9, 12, 14, 17, 18,
21, 23, 45, 47, 48, 51, 53, 55, 57, 60,
63, 66, 69, 72, 80, 86, 104, 114, 138, 170,
186, 198, 210, 226, 236, 250, 260, 272, 286, 296,
306, 318, 328, 340, 350, 362, 376, 390, 402, 416,
434, 444, 456, 468, 482, 494, 504, 505, 508, 510,
512, 514, 516, 518, 520, 522, 524, 526, 528, 530,
532, 534, 536, 542, 550, 557, 566, 567, 570, 573,
576, 579, 582, 585, 588, 591, 594, 597, 600, 603,
606, 609, 612, 615, 618, 621, 624, 627, 630, 633,
636, 639, 642, 645, 648, 650, 654, 655, 669, 671,
675, 676, 690, 692, 696, 697, 711, 713, 717, 718,
738, 740, 744, 745, 765, 767, 771, 772, 792, 794,
798, 799, 825, 827, 831, 832, 858, 860, 864, 865,
891, 893, 897, 898, 930, 932, 936, 937, 969, 971,
975, 976, 1008, 1010, 1014, 1015, 1047, 1049, 1053, 1054,
1086, 1088, 1092, 1093, 1125, 1127, 1131, 1132, 1188, 1190,
1194, 1195, 1251, 1253, 1257, 1258, 1314, 1316, 1320, 1321,
1365, 1367, 1371, 1372, 1416, 1418, 1422, 1423, 1467, 1469,
1473, 1474, 1512, 1514, 1518, 1519, 1557, 1559, 1563, 1564,
1602, 1604, 1608, 1609, 1623, 1625, 1629, 1630, 1646, 1655,
1657, 1659, 1661, 1663, 1665, 1667, 1669, 1674, 1682, 1692,
1699, 1703, 1710, 1717, 1727, 1734, 1744, 1750, 1759, 1768,
1780, 1787, 1797, 1807, 1817, 1825, 1834, 1847, 1854, 1862,
1870, 1878, 1888, 1896, 1906, 1924, 1932, 1940, 1952, 1961,
1974, 1983, 1992, 2001, 2014, 2029, 2044, 2067, 2088, 2097,
2106, 2115, 2123, 2132, 2138, 2150, 2156, 2166, 2168, 2170,
2172, 2173, 2176, 2183, 2190, 2197, 2204, 2209, 2216, 2221,
2228, 2232, 2238, 2242, 2246, 2251, 2256, 2260, 2268, 2272,
2280, 2284, 2287, 2290, 2306, 2309, 2316, 2325, 2334, 2345,
2347, 2350, 2352, 2356, 2361, 2363, 2372, 2385, 2400, 2401,
2414, 2415, 2432, 2433, 2452, 2461, 2474, 2489, 2490, 2503,
2504, 2521, 2522, 2541, 2550, 2563, 2578, 2579, 2592, 2593,
2610, 2611, 2630, 2632, 2635, 2645, 2653, 2656, 2663, 2673,
2683, 2692, 2701, 2710, 2717, 2722, 2725, 2728, 2730, 2732,
2734, 2736, 2738, 2740, 2744, 2747, 2750, 2753, 2757, 2761,
2765, 2769, 2773, 2777, 2781, 2785, 2789, 2793, 2797, 2801,
2805, 2809, 2815, 2820, 2825, 2830, 2835, 2840, 2845, 2850,
2855, 2860, 2865, 2872, 2877, 2882, 2887, 2892, 2897, 2902,
2909, 2916, 2923, 2928, 2933, 2938, 2943, 2948, 2953, 2958,
2963, 2968, 2973, 2978, 2985, 2990, 2995, 3000, 3005, 3010,
3015, 3022, 3029, 3036, 3041, 3043, 3045, 3047, 3049, 3051,
3056, 3061, 3064, 3070, 3074, 3081, 3086, 3094, 3096, 3099,
3102, 3106, 3110, 3122, 3132, 3140, 3148, 3149, 3153, 3155,
3159, 3160, 3164, 3168, 3170, 3174, 3176, 3178, 3182, 3187,
3191, 3197, 3202, 3204, 3206, 3208, 3212, 3217, 3224, 3232,
3234, 3236, 3240, 3244, 3254, 3262, 3264, 3270, 3274, 3281,
3283, 3287, 3289, 3296, 3301, 3306, 3313, 3320
};
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
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
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
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const short yyrhs[] =
{
209, 0, -1, 213, -1, 211, -1, 218, -1, 1,
6, -1, 3, -1, 189, 3, -1, -1, 211, 212,
-1, 165, -1, 168, 169, 210, 210, 210, 170, 171,
167, 210, 210, 210, 167, 210, 210, 210, 167, 210,
210, 210, 172, 173, -1, 166, -1, -1, 213, 214,
-1, 215, -1, 217, -1, 216, -1, 140, 6, -1,
141, 6, -1, 143, 6, -1, 142, 6, -1, 144,
6, -1, 145, 199, 334, 205, 5, 200, 6, -1,
146, 199, 334, 200, 6, -1, 147, 199, 5, 205,
5, 205, 334, 205, 334, 205, 5, 205, 5, 205,
5, 200, 6, -1, 3, 7, 124, 199, 5, 205,
332, 200, 6, -1, 3, 7, 123, 199, 5, 205,
330, 205, 338, 205, 329, 205, 329, 205, 329, 205,
338, 205, 338, 205, 329, 200, 6, -1, 3, 7,
122, 199, 5, 205, 330, 205, 330, 205, 336, 205,
329, 205, 329, 205, 329, 205, 329, 205, 338, 205,
338, 205, 338, 205, 338, 205, 329, 200, 6, -1,
3, 7, 130, 199, 5, 205, 3, 205, 3, 205,
3, 205, 329, 200, 6, -1, 3, 7, 134, 199,
5, 205, 3, 205, 329, 200, 6, -1, 3, 7,
151, 199, 5, 205, 3, 205, 329, 200, 6, -1,
3, 7, 132, 199, 5, 205, 190, 205, 190, 205,
330, 205, 329, 200, 6, -1, 3, 7, 135, 199,
5, 205, 338, 200, 6, -1, 3, 7, 136, 199,
5, 205, 338, 205, 3, 205, 329, 200, 6, -1,
3, 7, 131, 199, 5, 205, 3, 200, 6, -1,
3, 7, 137, 199, 5, 205, 3, 205, 330, 200,
6, -1, 3, 7, 139, 199, 5, 205, 3, 205,
3, 205, 3, 200, 6, -1, 3, 7, 138, 199,
5, 205, 332, 200, 6, -1, 3, 7, 133, 199,
5, 205, 3, 200, 6, -1, 3, 7, 42, 199,
5, 205, 3, 205, 3, 200, 6, -1, 3, 7,
149, 199, 5, 205, 338, 200, 6, -1, 3, 7,
150, 199, 5, 205, 338, 205, 3, 200, 6, -1,
3, 7, 148, 199, 5, 205, 3, 200, 6, -1,
3, 7, 152, 199, 5, 205, 3, 205, 330, 200,
6, -1, 3, 7, 153, 199, 5, 205, 3, 205,
330, 205, 330, 200, 6, -1, 3, 7, 160, 199,
5, 205, 3, 205, 330, 205, 330, 200, 6, -1,
3, 7, 154, 199, 5, 205, 3, 205, 330, 200,
6, -1, 3, 7, 164, 199, 5, 205, 3, 205,
330, 205, 330, 200, 6, -1, 3, 7, 155, 199,
5, 205, 3, 205, 338, 205, 338, 205, 329, 205,
329, 200, 6, -1, 3, 7, 156, 199, 5, 205,
338, 200, 6, -1, 3, 7, 157, 199, 158, 205,
329, 205, 3, 200, 6, -1, 3, 7, 159, 199,
5, 205, 338, 205, 329, 200, 6, -1, 3, 7,
161, 199, 5, 205, 5, 205, 3, 205, 3, 200,
6, -1, 3, 7, 162, 199, 5, 205, 5, 205,
3, 200, 6, -1, 3, 7, 163, 199, 3, 205,
3, 200, 6, -1, -1, 218, 219, -1, 221, -1,
220, -1, 304, -1, 305, -1, 306, -1, 309, -1,
310, -1, 311, -1, 312, -1, 315, -1, 327, -1,
328, -1, 314, -1, 313, -1, 33, 199, 5, 200,
6, -1, 33, 199, 5, 205, 340, 200, 6, -1,
4, 5, 206, 222, 207, 6, -1, 4, 5, 4,
332, 206, 222, 207, 6, -1, -1, 222, 224, -1,
222, 227, -1, 222, 230, -1, 222, 233, -1, 222,
236, -1, 222, 239, -1, 222, 242, -1, 222, 245,
-1, 222, 248, -1, 222, 251, -1, 222, 254, -1,
222, 257, -1, 222, 260, -1, 222, 263, -1, 222,
266, -1, 222, 269, -1, 222, 272, -1, 222, 275,
-1, 222, 278, -1, 222, 281, -1, 222, 284, -1,
222, 287, -1, 222, 290, -1, 222, 293, -1, 222,
296, -1, 222, 299, -1, 222, 301, -1, 330, -1,
223, 205, 330, -1, -1, 73, 199, 330, 205, 330,
205, 330, 200, 225, 206, 223, 207, 6, -1, 330,
-1, 226, 205, 330, -1, -1, 74, 199, 330, 205,
330, 205, 330, 200, 228, 206, 226, 207, 6, -1,
330, -1, 229, 205, 330, -1, -1, 75, 199, 330,
205, 330, 205, 330, 200, 231, 206, 229, 207, 6,
-1, 330, -1, 232, 205, 330, -1, -1, 76, 199,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 200, 234, 206, 232, 207, 6, -1, 330, -1,
235, 205, 330, -1, -1, 77, 199, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 200, 237,
206, 235, 207, 6, -1, 330, -1, 238, 205, 330,
-1, -1, 78, 199, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 200, 240, 206, 238, 207,
6, -1, 330, -1, 241, 205, 330, -1, -1, 79,
199, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 200, 243,
206, 241, 207, 6, -1, 330, -1, 244, 205, 330,
-1, -1, 80, 199, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 200, 246, 206, 244, 207, 6, -1, 330, -1,
247, 205, 330, -1, -1, 81, 199, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 200, 249, 206, 247, 207, 6,
-1, 330, -1, 250, 205, 330, -1, -1, 82, 199,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 200, 252, 206, 250, 207, 6, -1,
330, -1, 253, 205, 330, -1, -1, 83, 199, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 200, 255, 206, 253, 207, 6, -1, 330,
-1, 256, 205, 330, -1, -1, 84, 199, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 200, 258, 206, 256, 207, 6, -1, 330, -1,
259, 205, 330, -1, -1, 85, 199, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
200, 261, 206, 259, 207, 6, -1, 330, -1, 262,
205, 330, -1, -1, 86, 199, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 200,
264, 206, 262, 207, 6, -1, 330, -1, 265, 205,
330, -1, -1, 87, 199, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 200, 267,
206, 265, 207, 6, -1, 330, -1, 268, 205, 330,
-1, -1, 88, 199, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 200, 270, 206, 268, 207, 6, -1, 330, -1,
271, 205, 330, -1, -1, 89, 199, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 200, 273, 206, 271, 207, 6,
-1, 330, -1, 274, 205, 330, -1, -1, 90, 199,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 200, 276, 206,
274, 207, 6, -1, 330, -1, 277, 205, 330, -1,
-1, 91, 199, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 200, 279,
206, 277, 207, 6, -1, 330, -1, 280, 205, 330,
-1, -1, 92, 199, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 200,
282, 206, 280, 207, 6, -1, 330, -1, 283, 205,
330, -1, -1, 93, 199, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
200, 285, 206, 283, 207, 6, -1, 330, -1, 286,
205, 330, -1, -1, 94, 199, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 200, 288, 206, 286, 207,
6, -1, 330, -1, 289, 205, 330, -1, -1, 95,
199, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
205, 330, 205, 330, 205, 330, 205, 330, 205, 330,
200, 291, 206, 289, 207, 6, -1, 330, -1, 292,
205, 330, -1, -1, 96, 199, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 205, 330, 205, 330, 205,
330, 205, 330, 205, 330, 200, 294, 206, 292, 207,
6, -1, 344, -1, 295, 205, 344, -1, -1, 97,
199, 330, 205, 330, 205, 330, 200, 297, 206, 295,
207, 6, -1, 344, -1, 298, 205, 344, -1, -1,
98, 199, 330, 205, 330, 205, 330, 205, 330, 200,
300, 206, 298, 207, 6, -1, 99, 206, 337, 207,
206, 337, 207, 6, -1, 7, -1, 177, -1, 176,
-1, 175, -1, 174, -1, 197, -1, 196, -1, 4,
302, 330, 6, -1, 4, 201, 330, 202, 302, 330,
6, -1, 4, 201, 206, 340, 207, 202, 302, 338,
6, -1, 4, 201, 202, 7, 338, 6, -1, 4,
303, 6, -1, 4, 201, 330, 202, 303, 6, -1,
4, 203, 4, 7, 344, 6, -1, 4, 201, 330,
202, 203, 4, 7, 344, 6, -1, 4, 203, 4,
302, 330, 6, -1, 4, 201, 330, 202, 203, 4,
302, 330, 6, -1, 4, 203, 4, 303, 6, -1,
4, 201, 330, 202, 203, 4, 303, 6, -1, 4,
203, 108, 203, 4, 7, 341, 6, -1, 4, 201,
330, 202, 203, 108, 203, 4, 7, 341, 6, -1,
4, 203, 109, 7, 342, 6, -1, 4, 201, 330,
202, 203, 109, 7, 342, 6, -1, 59, 199, 4,
200, 203, 4, 7, 330, 6, -1, 59, 199, 4,
200, 203, 4, 7, 344, 6, -1, 39, 199, 330,
200, 7, 332, 6, -1, 55, 39, 199, 330, 200,
7, 338, 6, -1, 71, 39, 338, 7, 206, 330,
205, 330, 205, 330, 207, 6, -1, 46, 47, 338,
7, 330, 6, -1, 42, 199, 330, 200, 7, 338,
6, -1, 44, 199, 330, 200, 7, 338, 6, -1,
40, 199, 330, 200, 7, 338, 6, -1, 40, 199,
330, 200, 7, 338, 50, 332, 6, -1, 41, 199,
330, 200, 7, 338, 6, -1, 41, 199, 330, 200,
7, 338, 50, 332, 6, -1, 48, 199, 330, 200,
7, 206, 330, 205, 330, 205, 5, 205, 5, 205,
5, 207, 6, -1, 101, 199, 330, 200, 7, 338,
6, -1, 102, 199, 330, 200, 7, 338, 6, -1,
103, 199, 330, 200, 7, 338, 107, 338, 104, 330,
6, -1, 42, 66, 199, 330, 200, 7, 338, 6,
-1, 71, 42, 338, 7, 206, 330, 205, 330, 205,
330, 207, 6, -1, 55, 42, 199, 330, 200, 7,
338, 6, -1, 50, 43, 199, 330, 200, 7, 338,
6, -1, 51, 43, 199, 330, 200, 7, 338, 6,
-1, 119, 43, 199, 330, 200, 7, 206, 330, 205,
338, 207, 6, -1, 52, 43, 206, 330, 207, 7,
199, 330, 205, 330, 200, 338, 338, 6, -1, 52,
43, 199, 330, 200, 7, 199, 330, 205, 330, 200,
338, 338, 6, -1, 103, 43, 105, 106, 199, 330,
200, 7, 336, 107, 206, 338, 205, 338, 207, 104,
206, 330, 205, 330, 207, 6, -1, 103, 43, 199,
330, 200, 7, 336, 107, 206, 338, 205, 338, 207,
104, 206, 330, 205, 330, 207, 6, -1, 43, 66,
199, 330, 200, 7, 338, 6, -1, 55, 43, 199,
330, 200, 7, 338, 6, -1, 54, 45, 199, 330,
200, 7, 338, 6, -1, 45, 199, 330, 200, 7,
338, 6, -1, 55, 45, 199, 330, 200, 7, 338,
6, -1, 61, 332, 206, 307, 207, -1, 60, 206,
332, 205, 332, 205, 330, 207, 206, 307, 207, -1,
62, 332, 206, 307, 207, -1, 63, 206, 332, 205,
330, 207, 206, 307, 207, -1, 309, -1, 308, -1,
306, -1, -1, 308, 305, -1, 308, 39, 206, 340,
207, 6, -1, 308, 42, 206, 340, 207, 6, -1,
308, 43, 206, 340, 207, 6, -1, 308, 45, 206,
340, 207, 6, -1, 65, 206, 308, 207, -1, 65,
4, 201, 330, 202, 6, -1, 68, 206, 308, 207,
-1, 68, 4, 201, 330, 202, 6, -1, 68, 4,