Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
8de5d8c1
Commit
8de5d8c1
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
make parser
parent
864a124e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Parser/Gmsh.tab.cpp
+4552
-4772
4552 additions, 4772 deletions
Parser/Gmsh.tab.cpp
Parser/Gmsh.tab.hpp
+185
-194
185 additions, 194 deletions
Parser/Gmsh.tab.hpp
Parser/Gmsh.yy.cpp
+10
-6
10 additions, 6 deletions
Parser/Gmsh.yy.cpp
with
4747 additions
and
4972 deletions
Parser/Gmsh.tab.cpp
+
4552
−
4772
View file @
8de5d8c1
This diff is collapsed.
Click to expand it.
Parser/Gmsh.tab.hpp
+
185
−
194
View file @
8de5d8c1
#ifndef BISON_GMSH_TAB_HPP
# define BISON_GMSH_TAB_HPP
#ifndef YYSTYPE
typedef
union
{
char
*
c
;
int
i
;
...
...
@@ -10,196 +6,191 @@ typedef union {
double
v
[
5
];
Shape
s
;
List_T
*
l
;
}
yystype
;
# define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1
#endif
# 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
# define tExp 266
# define tLog 267
# define tLog10 268
# define tSqrt 269
# define tSin 270
# define tAsin 271
# define tCos 272
# define tAcos 273
# define tTan 274
# define tRand 275
# define tAtan 276
# define tAtan2 277
# define tSinh 278
# define tCosh 279
# define tTanh 280
# define tFabs 281
# define tFloor 282
# define tCeil 283
# define tFmod 284
# define tModulo 285
# define tHypot 286
# define tPrintf 287
# define tSprintf 288
# define tStrCat 289
# define tStrPrefix 290
# define tDraw 291
# define tPoint 292
# define tCircle 293
# define tEllipse 294
# define tLine 295
# define tSurface 296
# define tSpline 297
# define tVolume 298
# define tCharacteristic 299
# define tLength 300
# define tParametric 301
# define tElliptic 302
# define tPlane 303
# define tRuled 304
# define tTriangulation 305
# define tTransfinite 306
# define tComplex 307
# define tPhysical 308
# define tUsing 309
# define tBump 310
# define tProgression 311
# define tPlugin 312
# define tRotate 313
# define tTranslate 314
# define tSymmetry 315
# define tDilate 316
# define tExtrude 317
# define tDuplicata 318
# define tLoop 319
# define tRecombine 320
# define tDelete 321
# define tCoherence 322
# define tIntersect 323
# define tAttractor 324
# define tLayers 325
# define tScalarPoint 326
# define tVectorPoint 327
# define tTensorPoint 328
# define tScalarLine 329
# define tVectorLine 330
# define tTensorLine 331
# define tScalarTriangle 332
# define tVectorTriangle 333
# define tTensorTriangle 334
# define tScalarQuadrangle 335
# define tVectorQuadrangle 336
# define tTensorQuadrangle 337
# define tScalarTetrahedron 338
# define tVectorTetrahedron 339
# define tTensorTetrahedron 340
# define tScalarHexahedron 341
# define tVectorHexahedron 342
# define tTensorHexahedron 343
# define tScalarPrism 344
# define tVectorPrism 345
# define tTensorPrism 346
# define tScalarPyramid 347
# define tVectorPyramid 348
# define tTensorPyramid 349
# define tText2D 350
# define tText3D 351
# define tCombine 352
# define tBSpline 353
# define tBezier 354
# define tNurbs 355
# define tOrder 356
# define tWith 357
# define tBounds 358
# define tKnots 359
# define tColor 360
# define tColorTable 361
# define tFor 362
# define tIn 363
# define tEndFor 364
# define tIf 365
# define tEndIf 366
# define tExit 367
# define tReturn 368
# define tCall 369
# define tFunction 370
# define tTrimmed 371
# define tShow 372
# define tHide 373
# define tB_SPLINE_SURFACE_WITH_KNOTS 374
# define tB_SPLINE_CURVE_WITH_KNOTS 375
# define tCARTESIAN_POINT 376
# define tTRUE 377
# define tFALSE 378
# define tUNSPECIFIED 379
# define tU 380
# define tV 381
# define tEDGE_CURVE 382
# define tVERTEX_POINT 383
# define tORIENTED_EDGE 384
# define tPLANE 385
# define tFACE_OUTER_BOUND 386
# define tEDGE_LOOP 387
# define tADVANCED_FACE 388
# define tVECTOR 389
# define tDIRECTION 390
# define tAXIS2_PLACEMENT_3D 391
# define tISO 392
# define tENDISO 393
# define tENDSEC 394
# define tDATA 395
# define tHEADER 396
# define tFILE_DESCRIPTION 397
# define tFILE_SCHEMA 398
# define tFILE_NAME 399
# define tMANIFOLD_SOLID_BREP 400
# define tCLOSED_SHELL 401
# define tADVANCED_BREP_SHAPE_REPRESENTATION 402
# define tFACE_BOUND 403
# define tCYLINDRICAL_SURFACE 404
# define tCONICAL_SURFACE 405
# define tCIRCLE 406
# define tTRIMMED_CURVE 407
# define tGEOMETRIC_SET 408
# define tCOMPOSITE_CURVE_SEGMENT 409
# define tCONTINUOUS 410
# define tCOMPOSITE_CURVE 411
# define tTOROIDAL_SURFACE 412
# define tPRODUCT_DEFINITION 413
# define tPRODUCT_DEFINITION_SHAPE 414
# define tSHAPE_DEFINITION_REPRESENTATION 415
# define tELLIPSE 416
# define tSolid 417
# define tEndSolid 418
# define tVertex 419
# define tFacet 420
# define tNormal 421
# define tOuter 422
# define tLoopSTL 423
# define tEndLoop 424
# define tEndFacet 425
# define tAFFECTPLUS 426
# define tAFFECTMINUS 427
# define tAFFECTTIMES 428
# define tAFFECTDIVIDE 429
# define tOR 430
# define tAND 431
# define tEQUAL 432
# define tNOTEQUAL 433
# define tAPPROXEQUAL 434
# define tLESSOREQUAL 435
# define tGREATEROREQUAL 436
# define tCROSSPRODUCT 437
# define tPLUSPLUS 438
# define tMINUSMINUS 439
# define UNARYPREC 440
}
YYSTYPE
;
#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
#define tExp 266
#define tLog 267
#define tLog10 268
#define tSqrt 269
#define tSin 270
#define tAsin 271
#define tCos 272
#define tAcos 273
#define tTan 274
#define tRand 275
#define tAtan 276
#define tAtan2 277
#define tSinh 278
#define tCosh 279
#define tTanh 280
#define tFabs 281
#define tFloor 282
#define tCeil 283
#define tFmod 284
#define tModulo 285
#define tHypot 286
#define tPrintf 287
#define tSprintf 288
#define tStrCat 289
#define tStrPrefix 290
#define tDraw 291
#define tPoint 292
#define tCircle 293
#define tEllipse 294
#define tLine 295
#define tSurface 296
#define tSpline 297
#define tVolume 298
#define tCharacteristic 299
#define tLength 300
#define tParametric 301
#define tElliptic 302
#define tPlane 303
#define tRuled 304
#define tTriangulation 305
#define tTransfinite 306
#define tComplex 307
#define tPhysical 308
#define tUsing 309
#define tBump 310
#define tProgression 311
#define tPlugin 312
#define tRotate 313
#define tTranslate 314
#define tSymmetry 315
#define tDilate 316
#define tExtrude 317
#define tDuplicata 318
#define tLoop 319
#define tRecombine 320
#define tDelete 321
#define tCoherence 322
#define tIntersect 323
#define tAttractor 324
#define tLayers 325
#define tScalarPoint 326
#define tVectorPoint 327
#define tTensorPoint 328
#define tScalarLine 329
#define tVectorLine 330
#define tTensorLine 331
#define tScalarTriangle 332
#define tVectorTriangle 333
#define tTensorTriangle 334
#define tScalarQuadrangle 335
#define tVectorQuadrangle 336
#define tTensorQuadrangle 337
#define tScalarTetrahedron 338
#define tVectorTetrahedron 339
#define tTensorTetrahedron 340
#define tScalarHexahedron 341
#define tVectorHexahedron 342
#define tTensorHexahedron 343
#define tScalarPrism 344
#define tVectorPrism 345
#define tTensorPrism 346
#define tScalarPyramid 347
#define tVectorPyramid 348
#define tTensorPyramid 349
#define tText2D 350
#define tText3D 351
#define tCombine 352
#define tBSpline 353
#define tBezier 354
#define tNurbs 355
#define tOrder 356
#define tWith 357
#define tBounds 358
#define tKnots 359
#define tColor 360
#define tColorTable 361
#define tFor 362
#define tIn 363
#define tEndFor 364
#define tIf 365
#define tEndIf 366
#define tExit 367
#define tReturn 368
#define tCall 369
#define tFunction 370
#define tTrimmed 371
#define tShow 372
#define tHide 373
#define tB_SPLINE_SURFACE_WITH_KNOTS 374
#define tB_SPLINE_CURVE_WITH_KNOTS 375
#define tCARTESIAN_POINT 376
#define tTRUE 377
#define tFALSE 378
#define tUNSPECIFIED 379
#define tU 380
#define tV 381
#define tEDGE_CURVE 382
#define tVERTEX_POINT 383
#define tORIENTED_EDGE 384
#define tPLANE 385
#define tFACE_OUTER_BOUND 386
#define tEDGE_LOOP 387
#define tADVANCED_FACE 388
#define tVECTOR 389
#define tDIRECTION 390
#define tAXIS2_PLACEMENT_3D 391
#define tISO 392
#define tENDISO 393
#define tENDSEC 394
#define tDATA 395
#define tHEADER 396
#define tFILE_DESCRIPTION 397
#define tFILE_SCHEMA 398
#define tFILE_NAME 399
#define tMANIFOLD_SOLID_BREP 400
#define tCLOSED_SHELL 401
#define tADVANCED_BREP_SHAPE_REPRESENTATION 402
#define tFACE_BOUND 403
#define tCYLINDRICAL_SURFACE 404
#define tCONICAL_SURFACE 405
#define tCIRCLE 406
#define tTRIMMED_CURVE 407
#define tGEOMETRIC_SET 408
#define tCOMPOSITE_CURVE_SEGMENT 409
#define tCONTINUOUS 410
#define tCOMPOSITE_CURVE 411
#define tTOROIDAL_SURFACE 412
#define tPRODUCT_DEFINITION 413
#define tPRODUCT_DEFINITION_SHAPE 414
#define tSHAPE_DEFINITION_REPRESENTATION 415
#define tELLIPSE 416
#define tSolid 417
#define tEndSolid 418
#define tVertex 419
#define tFacet 420
#define tNormal 421
#define tOuter 422
#define tLoopSTL 423
#define tEndLoop 424
#define tEndFacet 425
#define tAFFECTPLUS 426
#define tAFFECTMINUS 427
#define tAFFECTTIMES 428
#define tAFFECTDIVIDE 429
#define tOR 430
#define tAND 431
#define tEQUAL 432
#define tNOTEQUAL 433
#define tAPPROXEQUAL 434
#define tLESSOREQUAL 435
#define tGREATEROREQUAL 436
#define tCROSSPRODUCT 437
#define tPLUSPLUS 438
#define tMINUSMINUS 439
#define UNARYPREC 440
extern
YYSTYPE
yylval
;
#endif
/* not BISON_GMSH_TAB_HPP */
This diff is collapsed.
Click to expand it.
Parser/Gmsh.yy.cpp
+
10
−
6
View file @
8de5d8c1
...
...
@@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.18
8
2004-05-
14 18:23
:5
8
geuzaine Exp $
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.18
9
2004-05-
22 01:34
:5
7
geuzaine Exp $
*/
#define FLEX_SCANNER
...
...
@@ -10,7 +10,6 @@
#define YY_FLEX_MINOR_VERSION 5
#include
<stdio.h>
#include
<unistd.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
...
...
@@ -24,6 +23,7 @@
#ifdef __cplusplus
#include
<stdlib.h>
#include
<unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
...
...
@@ -1014,7 +1014,7 @@ char *yytext;
#line 1 "Gmsh.l"
#define INITIAL 0
#line 2 "Gmsh.l"
// $Id: Gmsh.yy.cpp,v 1.18
8
2004-05-
14 18:23
:5
8
geuzaine Exp $
// $Id: Gmsh.yy.cpp,v 1.18
9
2004-05-
22 01:34
:5
7
geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -1223,7 +1223,7 @@ YY_MALLOC_DECL
YY_DECL
{
register
yy_state_type
yy_current_state
;
register
char
*
yy_cp
=
NULL
,
*
yy_bp
=
NULL
;
register
char
*
yy_cp
,
*
yy_bp
;
register
int
yy_act
;
#line 80 "Gmsh.l"
...
...
@@ -2725,7 +2725,6 @@ register char *yy_bp;
#endif
/* ifndef YY_NO_UNPUT */
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static
int
yyinput
()
#else
...
...
@@ -2797,7 +2796,7 @@ static int input()
return
c
;
}
#endif
/* YY_NO_INPUT */
#ifdef YY_USE_PROTOS
void
yyrestart
(
FILE
*
input_file
)
...
...
@@ -2908,6 +2907,11 @@ YY_BUFFER_STATE b;
}
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern
int
isatty
YY_PROTO
((
int
));
#endif
#endif
#ifdef YY_USE_PROTOS
void
yy_init_buffer
(
YY_BUFFER_STATE
b
,
FILE
*
file
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment