Newer
Older
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
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 3 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.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* 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.4.1"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1
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
#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
/* Copy the first part of user declarations. */
/* Line 189 of yacc.c */
#line 1 "Gmsh.y"
// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include "GmshConfig.h"
#include "GmshMessage.h"
#include "fullMatrix.h"
#include "MallocUtils.h"
#include "ListUtils.h"
#include "TreeUtils.h"
#include "StringUtils.h"
#include "Numeric.h"
#include "Context.h"
#include "GModel.h"
#include "Geo.h"
#include "GeoInterpolation.h"
#include "Options.h"
#include "Colors.h"
#include "Parser.h"
#include "OpenFile.h"
#include "CommandLine.h"
#include "FunctionManager.h"
#include "ColorTable.h"
#include "OS.h"
#include "CreateFile.h"
#include "gmshSurface.h"
#include "gmshLevelset.h"
#if defined(HAVE_MESH)
#include "Generator.h"
#include "Field.h"
#include "BackgroundMesh.h"
#endif
#if defined(HAVE_POST)
#include "PView.h"
#include "PViewDataList.h"
#include "PluginManager.h"
#endif
#if defined(HAVE_OPENGL)
#include "drawContext.h"
#endif
#if defined(HAVE_KBIPACK)
#include "Homology.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_POST)
static PViewDataList *ViewData;
#endif
static std::vector<double> ViewCoord;
static std::vector<double> *ViewValueList = 0;
static int *ViewNumList = 0;
static ExtrudeParams extr;
static int curPhysDim = 0;
static gmshSurface *myGmshSurface = 0;
#define MAX_RECUR_LOOPS 100
static int ImbricatedLoop = 0;
static fpos_t yyposImbricatedLoopsTab[MAX_RECUR_LOOPS];
static int yylinenoImbricatedLoopsTab[MAX_RECUR_LOOPS];
static double LoopControlVariablesTab[MAX_RECUR_LOOPS][3];
static const char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];
void yyerror(const char *s);
void yymsg(int level, const char *fmt, ...);
void skip_until(const char *skip, const char *until);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
fullMatrix<double> ListOfListOfDouble2Matrix(List_T *list);
/* Line 189 of yacc.c */
#line 166 "Gmsh.tab.cpp"
/* 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
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
/* 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,
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
tDistanceFunction = 300,
tPoint = 301,
tCircle = 302,
tEllipse = 303,
tLine = 304,
tSphere = 305,
tPolarSphere = 306,
tSurface = 307,
tSpline = 308,
tVolume = 309,
tCharacteristic = 310,
tLength = 311,
tParametric = 312,
tElliptic = 313,
tPlane = 314,
tRuled = 315,
tTransfinite = 316,
tComplex = 317,
tPhysical = 318,
tCompound = 319,
tUsing = 320,
tPlugin = 321,
tDegenerated = 322,
tOCCShape = 323,
tRotate = 324,
tTranslate = 325,
tSymmetry = 326,
tDilate = 327,
tExtrude = 328,
tLevelset = 329,
tLoop = 330,
tRecombine = 331,
tSmoother = 332,
tSplit = 333,
tDelete = 334,
tCoherence = 335,
tIntersect = 336,
tLayers = 337,
tHole = 338,
tAlias = 339,
tAliasWithOptions = 340,
tText2D = 341,
tText3D = 342,
tInterpolationScheme = 343,
tTime = 344,
tCombine = 345,
tBSpline = 346,
tBezier = 347,
tNurbs = 348,
tNurbsOrder = 349,
tNurbsKnots = 350,
tColor = 351,
tColorTable = 352,
tFor = 353,
tIn = 354,
tEndFor = 355,
tIf = 356,
tEndIf = 357,
tExit = 358,
tField = 359,
tReturn = 360,
tCall = 361,
tFunction = 362,
tShow = 363,
tHide = 364,
tGetValue = 365,
tGMSH_MAJOR_VERSION = 366,
tGMSH_MINOR_VERSION = 367,
tGMSH_PATCH_VERSION = 368,
tHomSeq = 372,
tAFFECTDIVIDE = 373,
tAFFECTTIMES = 374,
tAFFECTMINUS = 375,
tAFFECTPLUS = 376,
tOR = 377,
tAND = 378,
tNOTEQUAL = 379,
tEQUAL = 380,
tGREATEROREQUAL = 381,
tLESSOREQUAL = 382,
UNARYPREC = 383,
tMINUSMINUS = 384,
tPLUSPLUS = 385

Christophe Geuzaine
committed
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
/* Line 214 of yacc.c */
#line 85 "Gmsh.y"
/* Line 214 of yacc.c */
#line 344 "Gmsh.tab.cpp"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
/* Line 264 of yacc.c */
#line 356 "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 YYENABLE_NLS
# 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 yyi)
YYID (yyi)
int yyi;
return yyi;
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
#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) \
# 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 \
/* A type that is properly aligned for any stack member. */
union yyalloc
{
yytype_int16 yyss_alloc;
YYSTYPE yyvs_alloc;
};
/* 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_alloc, Stack) \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 6752
#define YYNTOKENS 151
#define YYNRULES 384
#define YYNSTATES 1373
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 385
((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, 136, 2, 146, 2, 135, 2, 2,
141, 142, 133, 131, 147, 132, 145, 134, 2, 2,
127, 2, 128, 122, 2, 2, 2, 2, 2, 2,
2, 143, 2, 144, 140, 2, 2, 2, 2, 2,
2, 2, 2, 148, 2, 149, 150, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 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, 123, 124, 125,
126, 129, 130, 137, 138, 139
#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, 44, 46, 49, 55, 63, 71, 81, 88,
95, 102, 103, 106, 109, 112, 115, 118, 120, 124,
126, 130, 131, 132, 143, 145, 149, 150, 164, 166,
170, 171, 187, 196, 211, 212, 219, 221, 223, 225,
227, 229, 231, 233, 238, 246, 256, 263, 270, 274,
281, 286, 293, 303, 310, 320, 326, 335, 344, 356,
363, 373, 379, 387, 397, 407, 419, 429, 439, 441,
443, 444, 450, 451, 454, 462, 463, 473, 480, 488,
493, 501, 510, 519, 527, 535, 547, 556, 565, 566,
576, 585, 595, 599, 604, 615, 623, 631, 640, 650,
664, 665, 675, 684, 692, 702, 711, 712, 722, 728,
740, 746, 756, 761, 771, 781, 783, 785, 786, 789,
796, 803, 810, 817, 826, 841, 858, 871, 880, 889,
896, 911, 916, 923, 930, 934, 939, 945, 949, 953,
958, 963, 967, 975, 983, 987, 995, 999, 1002, 1005,
1008, 1024, 1027, 1030, 1037, 1046, 1055, 1066, 1068, 1071,
1073, 1077, 1082, 1084, 1090, 1102, 1116, 1117, 1125, 1126,
1140, 1141, 1157, 1158, 1165, 1174, 1183, 1192, 1205, 1218,
1231, 1246, 1261, 1276, 1277, 1290, 1291, 1304, 1305, 1318,
1319, 1336, 1337, 1354, 1355, 1372, 1373, 1392, 1393, 1412,
1413, 1432, 1434, 1437, 1443, 1451, 1461, 1464, 1474, 1475,
1477, 1478, 1482, 1483, 1485, 1486, 1489, 1490, 1493, 1501,
1508, 1517, 1523, 1529, 1536, 1547, 1558, 1569, 1580, 1583,
1587, 1599, 1611, 1623, 1635, 1637, 1641, 1644, 1647, 1650,
1654, 1658, 1662, 1666, 1670, 1674, 1678, 1682, 1686, 1690,
1694, 1698, 1702, 1706, 1712, 1717, 1722, 1727, 1732, 1737,
1742, 1747, 1752, 1757, 1762, 1769, 1774, 1779, 1784, 1789,
1794, 1799, 1806, 1813, 1820, 1825, 1830, 1835, 1840, 1845,
1850, 1855, 1860, 1865, 1870, 1875, 1882, 1887, 1892, 1897,
1902, 1907, 1912, 1919, 1926, 1933, 1938, 1940, 1942, 1944,
1946, 1948, 1950, 1952, 1954, 1960, 1965, 1970, 1973, 1979,
1983, 1990, 1995, 2003, 2010, 2012, 2015, 2018, 2022, 2026,
2038, 2048, 2056, 2064, 2066, 2070, 2072, 2074, 2077, 2081,
2086, 2092, 2094, 2096, 2099, 2103, 2107, 2113, 2118, 2120,
2122, 2126, 2133, 2135, 2137, 2141, 2145, 2155, 2163, 2165,
2171, 2175, 2182, 2184, 2188, 2190, 2192, 2196, 2203, 2205,
2207, 2214, 2219, 2224, 2229
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
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
718
719
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
773
152, 0, -1, 153, -1, 1, 6, -1, -1, 153,
154, -1, 157, -1, 156, -1, 175, -1, 179, -1,
184, -1, 188, -1, 189, -1, 190, -1, 193, -1,
214, -1, 215, -1, 216, -1, 192, -1, 191, -1,
187, -1, 217, -1, 128, -1, 128, 128, -1, 35,
141, 5, 142, 6, -1, 35, 141, 5, 142, 155,
230, 6, -1, 35, 141, 5, 147, 226, 142, 6,
-1, 35, 141, 5, 147, 226, 142, 155, 230, 6,
-1, 4, 5, 148, 158, 149, 6, -1, 84, 4,
143, 218, 144, 6, -1, 85, 4, 143, 218, 144,
6, -1, -1, 158, 161, -1, 158, 165, -1, 158,
168, -1, 158, 170, -1, 158, 171, -1, 218, -1,
159, 147, 218, -1, 218, -1, 160, 147, 218, -1,
-1, -1, 4, 162, 141, 159, 142, 163, 148, 160,
149, 6, -1, 230, -1, 164, 147, 230, -1, -1,
86, 141, 218, 147, 218, 147, 218, 142, 166, 148,
164, 149, 6, -1, 230, -1, 167, 147, 230, -1,
-1, 87, 141, 218, 147, 218, 147, 218, 147, 218,
142, 169, 148, 167, 149, 6, -1, 88, 148, 222,
149, 148, 222, 149, 6, -1, 88, 148, 222, 149,
148, 222, 149, 148, 222, 149, 148, 222, 149, 6,
-1, -1, 89, 172, 148, 160, 149, 6, -1, 7,
-1, 121, -1, 120, -1, 119, -1, 118, -1, 139,
-1, 138, -1, 4, 173, 218, 6, -1, 4, 143,
218, 144, 173, 218, 6, -1, 4, 143, 148, 226,
149, 144, 173, 223, 6, -1, 4, 143, 144, 7,
223, 6, -1, 4, 143, 144, 121, 223, 6, -1,
4, 174, 6, -1, 4, 143, 218, 144, 174, 6,
-1, 4, 7, 231, 6, -1, 4, 145, 4, 7,
231, 6, -1, 4, 143, 218, 144, 145, 4, 7,
231, 6, -1, 4, 145, 4, 173, 218, 6, -1,
4, 143, 218, 144, 145, 4, 173, 218, 6, -1,
4, 145, 4, 174, 6, -1, 4, 143, 218, 144,
145, 4, 174, 6, -1, 4, 145, 96, 145, 4,
7, 227, 6, -1, 4, 143, 218, 144, 145, 96,
145, 4, 7, 227, 6, -1, 4, 145, 97, 7,
228, 6, -1, 4, 143, 218, 144, 145, 97, 7,
228, 6, -1, 4, 104, 7, 218, 6, -1, 104,
143, 218, 144, 7, 4, 6, -1, 104, 143, 218,
144, 145, 4, 7, 218, 6, -1, 104, 143, 218,
144, 145, 4, 7, 231, 6, -1, 104, 143, 218,
144, 145, 4, 7, 148, 226, 149, 6, -1, 66,
141, 4, 142, 145, 4, 7, 218, 6, -1, 66,
141, 4, 142, 145, 4, 7, 231, 6, -1, 218,
-1, 231, -1, -1, 99, 50, 148, 218, 149, -1,
-1, 59, 220, -1, 46, 141, 218, 142, 7, 220,
6, -1, -1, 63, 46, 180, 141, 176, 142, 7,
223, 6, -1, 55, 56, 223, 7, 218, 6, -1,
49, 141, 218, 142, 7, 223, 6, -1, 67, 49,
223, 6, -1, 53, 141, 218, 142, 7, 223, 6,
-1, 47, 141, 218, 142, 7, 223, 178, 6, -1,
48, 141, 218, 142, 7, 223, 178, 6, -1, 91,
141, 218, 142, 7, 223, 6, -1, 92, 141, 218,
142, 7, 223, 6, -1, 93, 141, 218, 142, 7,
223, 95, 223, 94, 218, 6, -1, 49, 75, 141,
218, 142, 7, 223, 6, -1, 64, 49, 141, 218,
142, 7, 223, 6, -1, -1, 63, 49, 181, 141,
176, 142, 7, 223, 6, -1, 59, 52, 141, 218,
142, 7, 223, 6, -1, 60, 52, 141, 218, 142,
7, 223, 177, 6, -1, 12, 13, 6, -1, 13,
52, 218, 6, -1, 57, 52, 141, 218, 142, 7,
5, 5, 5, 6, -1, 50, 141, 218, 142, 7,
223, 6, -1, 51, 141, 218, 142, 7, 223, 6,
-1, 52, 75, 141, 218, 142, 7, 223, 6, -1,
64, 52, 141, 218, 142, 7, 223, 209, 6, -1,
64, 52, 141, 218, 142, 7, 223, 4, 148, 222,
149, 209, 6, -1, -1, 63, 52, 182, 141, 176,
142, 7, 223, 6, -1, 62, 54, 141, 218, 142,
7, 223, 6, -1, 54, 141, 218, 142, 7, 223,
6, -1, 68, 141, 5, 147, 223, 147, 5, 142,
6, -1, 64, 54, 141, 218, 142, 7, 223, 6,
-1, -1, 63, 54, 183, 141, 176, 142, 7, 223,
6, -1, 70, 220, 148, 185, 149, -1, 69, 148,
220, 147, 220, 147, 218, 149, 148, 185, 149, -1,
71, 220, 148, 185, 149, -1, 72, 148, 220, 147,
218, 149, 148, 185, 149, -1, 4, 148, 185, 149,
-1, 81, 49, 148, 226, 149, 52, 148, 218, 149,
-1, 78, 49, 141, 218, 142, 148, 226, 149, 6,
-1, 186, -1, 184, -1, -1, 186, 179, -1, 186,
46, 148, 226, 149, 6, -1, 186, 49, 148, 226,
149, 6, -1, 186, 52, 148, 226, 149, 6, -1,
186, 54, 148, 226, 149, 6, -1, 74, 59, 141,
218, 142, 7, 223, 6, -1, 74, 59, 141, 218,
142, 7, 148, 220, 147, 220, 147, 226, 149, 6,
-1, 74, 59, 141, 218, 142, 7, 148, 220, 147,
220, 147, 220, 147, 226, 149, 6, -1, 74, 50,
141, 218, 142, 7, 148, 220, 147, 226, 149, 6,
-1, 74, 4, 141, 218, 142, 7, 223, 6, -1,
74, 4, 141, 218, 142, 7, 5, 6, -1, 74,
4, 148, 218, 149, 6, -1, 74, 4, 141, 218,
142, 7, 148, 220, 147, 220, 147, 226, 149, 6,
-1, 79, 148, 186, 149, -1, 79, 104, 143, 218,
144, 6, -1, 79, 4, 143, 218, 144, 6, -1,
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
227, 148, 186, 149, -1, 108, 5, 6, -1, 109,
5, 6, -1, 108, 148, 186, 149, -1, 109, 148,
186, 149, -1, 4, 231, 6, -1, 4, 4, 143,
218, 144, 230, 6, -1, 4, 4, 4, 143, 218,
144, 6, -1, 4, 218, 6, -1, 66, 141, 4,
142, 145, 4, 6, -1, 90, 4, 6, -1, 103,
6, -1, 43, 6, -1, 40, 6, -1, 40, 148,
218, 147, 218, 147, 218, 147, 218, 147, 218, 147,
218, 149, 6, -1, 41, 6, -1, 44, 6, -1,
98, 141, 218, 8, 218, 142, -1, 98, 141, 218,
8, 218, 8, 218, 142, -1, 98, 4, 99, 148,
218, 8, 218, 149, -1, 98, 4, 99, 148, 218,
8, 218, 8, 218, 149, -1, 100, -1, 107, 4,
-1, 105, -1, 106, 4, 6, -1, 101, 141, 218,
142, -1, 102, -1, 73, 220, 148, 186, 149, -1,
73, 148, 220, 147, 220, 147, 218, 149, 148, 186,
149, -1, 73, 148, 220, 147, 220, 147, 220, 147,
218, 149, 148, 186, 149, -1, -1, 73, 220, 148,
186, 194, 207, 149, -1, -1, 73, 148, 220, 147,
220, 147, 218, 149, 148, 186, 195, 207, 149, -1,
-1, 73, 148, 220, 147, 220, 147, 220, 147, 218,
149, 148, 186, 196, 207, 149, -1, -1, 73, 148,
186, 197, 207, 149, -1, 73, 46, 148, 218, 147,
220, 149, 6, -1, 73, 49, 148, 218, 147, 220,
149, 6, -1, 73, 52, 148, 218, 147, 220, 149,
6, -1, 73, 46, 148, 218, 147, 220, 147, 220,
147, 218, 149, 6, -1, 73, 49, 148, 218, 147,
220, 147, 220, 147, 218, 149, 6, -1, 73, 52,
148, 218, 147, 220, 147, 220, 147, 218, 149, 6,
-1, 73, 46, 148, 218, 147, 220, 147, 220, 147,
220, 147, 218, 149, 6, -1, 73, 49, 148, 218,
147, 220, 147, 220, 147, 220, 147, 218, 149, 6,
-1, 73, 52, 148, 218, 147, 220, 147, 220, 147,
220, 147, 218, 149, 6, -1, -1, 73, 46, 148,
218, 147, 220, 149, 198, 148, 207, 149, 6, -1,
-1, 73, 49, 148, 218, 147, 220, 149, 199, 148,
207, 149, 6, -1, -1, 73, 52, 148, 218, 147,
220, 149, 200, 148, 207, 149, 6, -1, -1, 73,
46, 148, 218, 147, 220, 147, 220, 147, 218, 149,
201, 148, 207, 149, 6, -1, -1, 73, 49, 148,
218, 147, 220, 147, 220, 147, 218, 149, 202, 148,
207, 149, 6, -1, -1, 73, 52, 148, 218, 147,
220, 147, 220, 147, 218, 149, 203, 148, 207, 149,
6, -1, -1, 73, 46, 148, 218, 147, 220, 147,
220, 147, 220, 147, 218, 149, 204, 148, 207, 149,
6, -1, -1, 73, 49, 148, 218, 147, 220, 147,
220, 147, 220, 147, 218, 149, 205, 148, 207, 149,
6, -1, -1, 73, 52, 148, 218, 147, 220, 147,
220, 147, 220, 147, 218, 149, 206, 148, 207, 149,
6, -1, 208, -1, 207, 208, -1, 82, 148, 218,
149, 6, -1, 82, 148, 223, 147, 223, 149, 6,
-1, 82, 148, 223, 147, 223, 147, 223, 149, 6,
-1, 76, 6, -1, 83, 141, 218, 142, 7, 223,
65, 218, 6, -1, -1, 4, -1, -1, 65, 4,
218, -1, -1, 4, -1, -1, 7, 223, -1, -1,
7, 218, -1, 61, 49, 224, 7, 218, 210, 6,
-1, 61, 52, 224, 212, 211, 6, -1, 58, 52,
148, 218, 149, 7, 223, 6, -1, 61, 54, 224,
212, 6, -1, 76, 52, 224, 213, 6, -1, 77,
52, 223, 7, 218, 6, -1, 46, 148, 226, 149,
99, 52, 148, 218, 149, 6, -1, 49, 148, 226,
149, 99, 52, 148, 218, 149, 6, -1, 49, 148,
226, 149, 99, 54, 148, 218, 149, 6, -1, 52,
148, 226, 149, 99, 54, 148, 218, 149, 6, -1,
80, 6, -1, 80, 4, 6, -1, 114, 141, 230,
142, 7, 148, 223, 147, 223, 149, 6, -1, 115,
141, 230, 142, 7, 148, 223, 147, 223, 149, 6,
-1, 116, 141, 230, 142, 7, 148, 223, 147, 223,
149, 6, -1, 117, 141, 230, 142, 7, 148, 223,
147, 223, 149, 6, -1, 219, -1, 141, 218, 142,
-1, 132, 218, -1, 131, 218, -1, 136, 218, -1,
218, 132, 218, -1, 218, 131, 218, -1, 218, 133,
218, -1, 218, 134, 218, -1, 218, 135, 218, -1,
218, 140, 218, -1, 218, 127, 218, -1, 218, 128,
218, -1, 218, 130, 218, -1, 218, 129, 218, -1,
218, 126, 218, -1, 218, 125, 218, -1, 218, 124,
218, -1, 218, 123, 218, -1, 218, 122, 218, 8,
218, -1, 14, 141, 218, 142, -1, 15, 141, 218,
142, -1, 16, 141, 218, 142, -1, 17, 141, 218,
142, -1, 18, 141, 218, 142, -1, 19, 141, 218,
142, -1, 20, 141, 218, 142, -1, 21, 141, 218,
142, -1, 22, 141, 218, 142, -1, 24, 141, 218,
142, -1, 25, 141, 218, 147, 218, 142, -1, 26,
141, 218, 142, -1, 27, 141, 218, 142, -1, 28,
141, 218, 142, -1, 29, 141, 218, 142, -1, 30,
141, 218, 142, -1, 31, 141, 218, 142, -1, 32,
141, 218, 147, 218, 142, -1, 33, 141, 218, 147,
218, 142, -1, 34, 141, 218, 147, 218, 142, -1,
23, 141, 218, 142, -1, 14, 143, 218, 144, -1,
15, 143, 218, 144, -1, 16, 143, 218, 144, -1,
17, 143, 218, 144, -1, 18, 143, 218, 144, -1,
19, 143, 218, 144, -1, 20, 143, 218, 144, -1,
21, 143, 218, 144, -1, 22, 143, 218, 144, -1,
24, 143, 218, 144, -1, 25, 143, 218, 147, 218,
144, -1, 26, 143, 218, 144, -1, 27, 143, 218,
144, -1, 28, 143, 218, 144, -1, 29, 143, 218,
144, -1, 30, 143, 218, 144, -1, 31, 143, 218,
144, -1, 32, 143, 218, 147, 218, 144, -1, 33,
143, 218, 147, 218, 144, -1, 34, 143, 218, 147,
218, 144, -1, 23, 143, 218, 144, -1, 3, -1,
9, -1, 10, -1, 11, -1, 111, -1, 112, -1,
113, -1, 4, -1, 4, 150, 148, 218, 149, -1,
4, 143, 218, 144, -1, 146, 4, 143, 144, -1,
4, 174, -1, 4, 143, 218, 144, 174, -1, 4,
145, 4, -1, 4, 143, 218, 144, 145, 4, -1,
4, 145, 4, 174, -1, 4, 143, 218, 144, 145,
4, 174, -1, 110, 141, 5, 147, 218, 142, -1,
221, -1, 132, 220, -1, 131, 220, -1, 220, 132,
220, -1, 220, 131, 220, -1, 148, 218, 147, 218,
147, 218, 147, 218, 147, 218, 149, -1, 148, 218,
147, 218, 147, 218, 147, 218, 149, -1, 148, 218,
147, 218, 147, 218, 149, -1, 141, 218, 147, 218,
147, 218, 142, -1, 223, -1, 222, 147, 223, -1,
218, -1, 225, -1, 148, 149, -1, 148, 226, 149,
-1, 132, 148, 226, 149, -1, 218, 133, 148, 226,
149, -1, 223, -1, 5, -1, 132, 225, -1, 218,
133, 225, -1, 218, 8, 218, -1, 218, 8, 218,
8, 218, -1, 46, 148, 218, 149, -1, 184, -1,
193, -1, 4, 143, 144, -1, 4, 143, 148, 226,
149, 144, -1, 218, -1, 225, -1, 226, 147, 218,
-1, 226, 147, 225, -1, 148, 218, 147, 218, 147,
218, 147, 218, 149, -1, 148, 218, 147, 218, 147,
218, 149, -1, 4, -1, 4, 145, 96, 145, 4,
-1, 148, 229, 149, -1, 4, 143, 218, 144, 145,
97, -1, 227, -1, 229, 147, 227, -1, 231, -1,
4, -1, 4, 145, 4, -1, 4, 143, 218, 144,
145, 4, -1, 5, -1, 42, -1, 37, 141, 230,
147, 230, 142, -1, 38, 141, 230, 142, -1, 39,
141, 230, 142, -1, 36, 141, 230, 142, -1, 36,
141, 230, 147, 226, 142, -1
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
0, 156, 156, 157, 162, 164, 168, 169, 170, 171,
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
182, 183, 187, 191, 198, 203, 217, 230, 258, 272,
283, 298, 303, 304, 305, 306, 307, 311, 313, 318,
320, 326, 430, 325, 448, 455, 466, 465, 483, 490,
501, 500, 517, 534, 557, 556, 570, 571, 572, 573,
574, 578, 579, 586, 608, 635, 675, 685, 693, 701,
713, 722, 728, 737, 755, 773, 782, 794, 799, 807,
827, 850, 859, 867, 889, 912, 940, 952, 969, 973,
984, 987, 1000, 1003, 1013, 1037, 1036, 1056, 1078, 1096,
1118, 1136, 1166, 1196, 1214, 1232, 1258, 1275, 1292, 1291,
1314, 1332, 1371, 1377, 1383, 1390, 1415, 1440, 1456, 1474,
1507, 1506, 1530, 1548, 1566, 1579, 1596, 1595, 1621, 1626,
1631, 1636, 1641, 1661, 1667, 1678, 1679, 1684, 1687, 1691,
1714, 1737, 1760, 1788, 1809, 1830, 1852, 1872, 1984, 2003,
2023, 2132, 2141, 2147, 2162, 2190, 2207, 2221, 2227, 2233,
2242, 2256, 2298, 2315, 2330, 2349, 2361, 2385, 2389, 2396,
2402, 2407, 2413, 2423, 2440, 2457, 2476, 2495, 2525, 2533,
2539, 2546, 2550, 2559, 2567, 2575, 2584, 2583, 2596, 2595,
2608, 2607, 2620, 2619, 2632, 2639, 2646, 2653, 2660, 2667,
2674, 2681, 2688, 2696, 2695, 2707, 2706, 2718, 2717, 2729,
2728, 2740, 2739, 2751, 2750, 2762, 2761, 2773, 2772, 2784,
2783, 2798, 2801, 2807, 2816, 2836, 2859, 2863, 2887, 2890,
2906, 2909, 2925, 2928, 2941, 2944, 2950, 2953, 2960, 3016,
3086, 3091, 3158, 3201, 3227, 3250, 3273, 3276, 3285, 3289,
3306, 3343, 3379, 3414, 3454, 3455, 3456, 3457, 3458, 3459,
3460, 3461, 3462, 3469, 3470, 3471, 3472, 3473, 3474, 3475,
3476, 3477, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485,
3486, 3487, 3488, 3489, 3490, 3491, 3492, 3493, 3494, 3495,
3496, 3497, 3498, 3499, 3500, 3502, 3503, 3504, 3505, 3506,
3507, 3508, 3509, 3510, 3511, 3512, 3513, 3514, 3515, 3516,
3517, 3518, 3519, 3520, 3521, 3522, 3531, 3532, 3533, 3534,
3535, 3536, 3537, 3541, 3554, 3566, 3581, 3591, 3601, 3619,
3624, 3629, 3639, 3649, 3657, 3661, 3665, 3669, 3673, 3680,
3684, 3688, 3692, 3699, 3704, 3711, 3716, 3720, 3725, 3729,
3737, 3748, 3752, 3764, 3772, 3780, 3787, 3798, 3818, 3828,
3838, 3848, 3868, 3873, 3877, 3881, 3893, 3897, 3909, 3916,
3926, 3930, 3945, 3950, 3957, 3961, 3974, 3982, 3993, 3997,
4005, 4013, 4027, 4041, 4045
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
"$end", "error", "$undefined", "tDOUBLE", "tSTRING", "tBIGSTR", "tEND",
"tAFFECT", "tDOTS", "tPi", "tMPI_Rank", "tMPI_Size", "tEuclidian",
"tCoordinates", "tExp", "tLog", "tLog10", "tSqrt", "tSin", "tAsin",
"tCos", "tAcos", "tTan", "tRand", "tAtan", "tAtan2", "tSinh", "tCosh",
"tTanh", "tFabs", "tFloor", "tCeil", "tFmod", "tModulo", "tHypot",
"tPrintf", "tSprintf", "tStrCat", "tStrPrefix", "tStrRelative",
"tBoundingBox", "tDraw", "tToday", "tSyncModel", "tCreateTopology",
"tDistanceFunction", "tPoint", "tCircle", "tEllipse", "tLine", "tSphere",
"tPolarSphere", "tSurface", "tSpline", "tVolume", "tCharacteristic",
"tLength", "tParametric", "tElliptic", "tPlane", "tRuled",
"tTransfinite", "tComplex", "tPhysical", "tCompound", "tUsing",
"tPlugin", "tDegenerated", "tOCCShape", "tRotate", "tTranslate",
"tSymmetry", "tDilate", "tExtrude", "tLevelset", "tLoop", "tRecombine",
"tSmoother", "tSplit", "tDelete", "tCoherence", "tIntersect", "tLayers",
"tHole", "tAlias", "tAliasWithOptions", "tText2D", "tText3D",
"tInterpolationScheme", "tTime", "tCombine", "tBSpline", "tBezier",
"tNurbs", "tNurbsOrder", "tNurbsKnots", "tColor", "tColorTable", "tFor",
"tIn", "tEndFor", "tIf", "tEndIf", "tExit", "tField", "tReturn", "tCall",
"tFunction", "tShow", "tHide", "tGetValue", "tGMSH_MAJOR_VERSION",
"tHomCut", "tHomSeq", "tAFFECTDIVIDE", "tAFFECTTIMES", "tAFFECTMINUS",
"tAFFECTPLUS", "'?'", "tOR", "tAND", "tNOTEQUAL", "tEQUAL", "'<'", "'>'",
"tGREATEROREQUAL", "tLESSOREQUAL", "'+'", "'-'", "'*'", "'/'", "'%'",
"'!'", "UNARYPREC", "tMINUSMINUS", "tPLUSPLUS", "'^'", "'('", "')'",
"'['", "']'", "'.'", "'#'", "','", "'{'", "'}'", "'~'", "$accept", "All",
"GeoFormatItems", "GeoFormatItem", "SendToFile", "Printf", "View",
"Views", "ElementCoords", "ElementValues", "Element", "$@1", "$@2",
"Text2DValues", "Text2D", "$@3", "Text3DValues", "Text3D", "$@4",
"InterpolationMatrix", "Time", "$@5", "NumericAffectation",
"CircleOptions", "Shape", "$@6", "$@7", "$@8", "$@9", "Transform",
"Visibility", "Command", "Loop", "Extrude", "$@10", "$@11", "$@12",
"$@13", "$@14", "$@15", "$@16", "$@17", "$@18", "$@19", "$@20", "$@21",
"$@22", "ExtrudeParameters", "ExtrudeParameter", "CompoundMap",
"TransfiniteType", "TransfiniteArrangement", "TransfiniteCorners",
"RecombineAngle", "Transfinite", "Embedding", "Coherence", "Homology",
"FExpr", "FExpr_Single", "VExpr", "VExpr_Single",
"RecursiveListOfListOfDouble", "ListOfDouble", "ListOfDoubleOrAll",
"FExpr_Multi", "RecursiveListOfDouble", "ColorExpr", "ListOfColor",