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
146
#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 tClip 342
#define tB_SPLINE_SURFACE_WITH_KNOTS 343
#define tB_SPLINE_CURVE_WITH_KNOTS 344
#define tCARTESIAN_POINT 345
#define tTRUE 346
#define tFALSE 347
#define tUNSPECIFIED 348
#define tU 349
#define tV 350
#define tEDGE_CURVE 351
#define tVERTEX_POINT 352
#define tORIENTED_EDGE 353
#define tPLANE 354
#define tFACE_OUTER_BOUND 355
#define tEDGE_LOOP 356
#define tADVANCED_FACE 357
#define tVECTOR 358
#define tDIRECTION 359
#define tAXIS2_PLACEMENT_3D 360
#define tISO 361
#define tENDISO 362
#define tENDSEC 363
#define tDATA 364
#define tHEADER 365
#define tFILE_DESCRIPTION 366
#define tFILE_SCHEMA 367
#define tFILE_NAME 368
#define tMANIFOLD_SOLID_BREP 369
#define tCLOSED_SHELL 370
#define tADVANCED_BREP_SHAPE_REPRESENTATION 371
#define tFACE_BOUND 372
#define tCYLINDRICAL_SURFACE 373
#define tCONICAL_SURFACE 374
#define tCIRCLE 375
#define tTRIMMED_CURVE 376
#define tGEOMETRIC_SET 377
#define tCOMPOSITE_CURVE_SEGMENT 378
#define tCONTINUOUS 379
#define tCOMPOSITE_CURVE 380
#define tTOROIDAL_SURFACE 381
#define tPRODUCT_DEFINITION 382
#define tPRODUCT_DEFINITION_SHAPE 383
#define tSHAPE_DEFINITION_REPRESENTATION 384
#define tELLIPSE 385
#define tTrimmed 386
#define tSolid 387
#define tEndSolid 388
#define tVertex 389
#define tFacet 390
#define tNormal 391
#define tOuter 392
#define tLoopSTL 393
#define tEndLoop 394
#define tEndFacet 395
#define UMINUS 396
#line 1 "Gmsh.y"
/* $Id: Gmsh.tab.cpp,v 1.13 2000-12-04 09:51:51 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);
Loading
Loading full blame...