Newer
Older
/* A Bison parser, made from Gmsh.y
#define YYBISON 1 /* Identify Bison output. */
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
#define tDOUBLE 257
#define tSTRING 258
#define tBIGSTR 259
#define tEND 260
#define tAFFECT 261
#define tDOTS 262
#define tPi 263
#define tExp 264
#define tLog 265
#define tLog10 266
#define tSqrt 267
#define tSin 268
#define tAsin 269
#define tCos 270
#define tAcos 271
#define tTan 272
#define tAtan 273
#define tAtan2 274
#define tSinh 275
#define tCosh 276
#define tTanh 277
#define tFabs 278
#define tFloor 279
#define tCeil 280
#define tFmod 281
#define tModulo 282
#define tHypot 283
#define tPoint 284
#define tCircle 285
#define tEllipsis 286
#define tLine 287
#define tSurface 288
#define tSpline 289
#define tVolume 290
#define tCharacteristic 291
#define tLength 292
#define tParametric 293
#define tElliptic 294
#define tPlane 295
#define tRuled 296
#define tTransfinite 297
#define tComplex 298
#define tPhysical 299
#define tUsing 300
#define tPower 301
#define tBump 302
#define tProgression 303
#define tAssociation 304
#define tRotate 305
#define tTranslate 306
#define tSymmetry 307
#define tDilate 308
#define tExtrude 309
#define tDuplicata 310
#define tLoop 311
#define tInclude 312
#define tRecombine 313
#define tDelete 314
#define tCoherence 315
#define tView 316
#define tOffset 317
#define tAttractor 318
#define tLayers 319
#define tScalarTetrahedron 320
#define tVectorTetrahedron 321
#define tTensorTetrahedron 322
#define tScalarTriangle 323
#define tVectorTriangle 324
#define tTensorTriangle 325
#define tScalarLine 326
#define tVectorLine 327
#define tTensorLine 328
#define tScalarPoint 329
#define tVectorPoint 330
#define tTensorPoint 331
#define tBSpline 332
#define tNurbs 333
#define tOrder 334
#define tWith 335
#define tBounds 336
#define tKnots 337
#define tColor 338
#define tGeneral 339
#define tGeometry 340
#define tMesh 341
#define tB_SPLINE_SURFACE_WITH_KNOTS 342
#define tB_SPLINE_CURVE_WITH_KNOTS 343
#define tCARTESIAN_POINT 344
#define tTRUE 345
#define tFALSE 346
#define tUNSPECIFIED 347
#define tU 348
#define tV 349
#define tEDGE_CURVE 350
#define tVERTEX_POINT 351
#define tORIENTED_EDGE 352
#define tPLANE 353
#define tFACE_OUTER_BOUND 354
#define tEDGE_LOOP 355
#define tADVANCED_FACE 356
#define tVECTOR 357
#define tDIRECTION 358
#define tAXIS2_PLACEMENT_3D 359
#define tISO 360
#define tENDISO 361
#define tENDSEC 362
#define tDATA 363
#define tHEADER 364
#define tFILE_DESCRIPTION 365
#define tFILE_SCHEMA 366
#define tFILE_NAME 367
#define tMANIFOLD_SOLID_BREP 368
#define tCLOSED_SHELL 369
#define tADVANCED_BREP_SHAPE_REPRESENTATION 370
#define tFACE_BOUND 371
#define tCYLINDRICAL_SURFACE 372
#define tCONICAL_SURFACE 373
#define tCIRCLE 374
#define tTRIMMED_CURVE 375
#define tGEOMETRIC_SET 376
#define tCOMPOSITE_CURVE_SEGMENT 377
#define tCONTINUOUS 378
#define tCOMPOSITE_CURVE 379
#define tTOROIDAL_SURFACE 380
#define tPRODUCT_DEFINITION 381
#define tPRODUCT_DEFINITION_SHAPE 382
#define tSHAPE_DEFINITION_REPRESENTATION 383
#define tELLIPSE 384
#define tTrimmed 385
#define tSolid 386
#define tEndSolid 387
#define tVertex 388
#define tFacet 389
#define tNormal 390
#define tOuter 391
#define tLoopSTL 392
#define tEndLoop 393
#define tEndFacet 394
#define UMINUS 395
#line 1 "Gmsh.y"
/* $Id: Gmsh.tab.cpp,v 1.9 2000-11-26 15:43:47 geuzaine Exp $ */
#include <stdarg.h>
#include "Gmsh.h"
#include "Const.h"
#include "Context.h"
#include "Geo.h"
#include "CAD.h"
#include "DataBase.h"
#include "Mesh.h"
#include "Create.h"
#include "Views.h"
#include "StepGeomDatabase.h"
#include "Colors.h"
#include "Parser.h"
List_T *Symbol_L;
extern Mesh *THEM;
extern Post_View *ActualView;
extern char ThePathForIncludes[NAME_STR_L];
static FILE *yyinTab[MAX_OPEN_FILES];
static int yylinenoTab[MAX_OPEN_FILES];
static char yynameTab[MAX_OPEN_FILES][NAME_STR_L];
static char tmpstring[NAME_STR_L];
static Symbol TheSymbol;
static Surface *STL_Surf;
static Shape TheShape;
static unsigned int *ptr ;
static int i,j,k,flag,RecursionLevel=0;
static double d;
static ExtrudeParams extr;
static StringXPointer *ColorField ;
static List_T *ListOfDouble_L,*ListOfDouble2_L;
static List_T *ListOfListOfDouble_L;
void yyerror (char *s);
void vyyerror (char *fmt, ...);
int Get_ColorForString(StringX4Int SX4I[], int alpha,
char * string, int * FlagError);
void Get_ColorPointerForString(StringXPointer SXP[], char * string,
int * FlagError, unsigned int **Pointer);
typedef union {
Loading
Loading full blame...