Newer
Older
/* A Bison parser, made from Gmsh.y
by GNU Bison version 1.28 */
#define YYBISON 1 /* Identify Bison output. */
#define tDOUBLE 257
#define tSTRING 258
#define tBIGSTR 259
#define tEND 260
#define tAFFECT 261
#define tDOTS 262
#define tPi 263
#define tMPI_Rank 264
#define tMPI_Size 265
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
#define tEuclidian 266
#define tCoordinates 267
#define tExp 268
#define tLog 269
#define tLog10 270
#define tSqrt 271
#define tSin 272
#define tAsin 273
#define tCos 274
#define tAcos 275
#define tTan 276
#define tRand 277
#define tAtan 278
#define tAtan2 279
#define tSinh 280
#define tCosh 281
#define tTanh 282
#define tFabs 283
#define tFloor 284
#define tCeil 285
#define tFmod 286
#define tModulo 287
#define tHypot 288
#define tPrintf 289
#define tSprintf 290
#define tStrCat 291
#define tStrPrefix 292
#define tStrRelative 293
#define tBoundingBox 294
#define tDraw 295
#define tToday 296
#define tPoint 297
#define tCircle 298
#define tEllipse 299
#define tLine 300
#define tSphere 301
#define tPolarSphere 302
#define tSurface 303
#define tSpline 304
#define tVolume 305
#define tCharacteristic 306
#define tLength 307
#define tParametric 308
#define tElliptic 309
#define tPlane 310
#define tRuled 311
#define tTransfinite 312
#define tComplex 313
#define tPhysical 314
#define tUsing 315
#define tBump 316
#define tProgression 317
#define tPlugin 318
#define tRotate 319
#define tTranslate 320
#define tSymmetry 321
#define tDilate 322
#define tExtrude 323
#define tDuplicata 324
#define tLoop 325
#define tRecombine 326
#define tDelete 327
#define tCoherence 328
#define tAttractor 329
#define tLayers 330
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
#define tHole 331
#define tAlias 332
#define tAliasWithOptions 333
#define tText2D 334
#define tText3D 335
#define tInterpolationScheme 336
#define tTime 337
#define tGrain 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 tReturn 353
#define tCall 354
#define tFunction 355
#define tShow 356
#define tHide 357
#define tGetValue 358
#define tGMSH_MAJOR_VERSION 359
#define tGMSH_MINOR_VERSION 360
#define tGMSH_PATCH_VERSION 361
#define tAFFECTPLUS 362
#define tAFFECTMINUS 363
#define tAFFECTTIMES 364
#define tAFFECTDIVIDE 365
#define tOR 366
#define tAND 367
#define tEQUAL 368
#define tNOTEQUAL 369
#define tLESSOREQUAL 370
#define tGREATEROREQUAL 371
#define tPLUSPLUS 372
#define tMINUSMINUS 373
#define UNARYPREC 374
#line 1 "Gmsh.y"
// $Id: Gmsh.tab.cpp,v 1.315 2007-04-12 08:58:06 remacle Exp $
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
// 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"

Christophe Geuzaine
committed
#include "Draw.h"
#include "Views.h"
#include "Colors.h"
#include "Parser.h"
static List_T *ViewValueList;
static double ViewCoord[100];
static int *ViewNumList, ViewNumNodes, ViewNumComp, ViewNumListTmp;
static int ViewCoordIdx, ViewElementIdx;
static gmshSurface *myGmshSurface = 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 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);
Loading
Loading full blame...