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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
d6d3c1ef
Commit
d6d3c1ef
authored
8 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
44e74ca9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Parser/Gmsh.l
+2
-1
2 additions, 1 deletion
Parser/Gmsh.l
Parser/Gmsh.yy.cpp
+242
-241
242 additions, 241 deletions
Parser/Gmsh.yy.cpp
with
244 additions
and
242 deletions
Parser/Gmsh.l
+
2
−
1
View file @
d6d3c1ef
...
...
@@ -10,10 +10,11 @@
#include <math.h>
#include "GmshConfig.h"
#include "GmshMessage.h"
#include "G
eo
.h"
#include "G
ModelIO_GEO
.h"
#include "Gmsh.tab.hpp"
#include "GmshIO.h"
void parsestring(char endchar);
char *strsave(char *ptr);
void skipcomments(void);
...
...
This diff is collapsed.
Click to expand it.
Parser/Gmsh.yy.cpp
+
242
−
241
View file @
d6d3c1ef
...
...
@@ -1193,10 +1193,11 @@ char *gmsh_yytext;
#include
<math.h>
#include
"GmshConfig.h"
#include
"GmshMessage.h"
#include
"G
eo
.h"
#include
"G
ModelIO_GEO
.h"
#include
"Gmsh.tab.hpp"
#include
"GmshIO.h"
void
parsestring
(
char
endchar
);
char
*
strsave
(
char
*
ptr
);
void
skipcomments
(
void
);
...
...
@@ -1243,7 +1244,7 @@ void skipline(void);
#define YY_NO_UNISTD_H
#endif
#line 124
7
"Gmsh.yy.cpp"
#line 124
8
"Gmsh.yy.cpp"
#define INITIAL 0
...
...
@@ -1425,10 +1426,10 @@ YY_DECL
register
char
*
yy_cp
,
*
yy_bp
;
register
int
yy_act
;
#line 7
2
"Gmsh.l"
#line 7
3
"Gmsh.l"
#line 143
2
"Gmsh.yy.cpp"
#line 143
3
"Gmsh.yy.cpp"
if
(
!
(
yy_init
)
)
{
...
...
@@ -1514,1171 +1515,1171 @@ do_action: /* This label is used only to access EOF actions. */
case
1
:
/* rule 1 can match eol */
YY_RULE_SETUP
#line 7
4
"Gmsh.l"
#line 7
5
"Gmsh.l"
/* none */
;
YY_BREAK
case
2
:
YY_RULE_SETUP
#line 7
5
"Gmsh.l"
#line 7
6
"Gmsh.l"
return
tEND
;
YY_BREAK
case
3
:
YY_RULE_SETUP
#line 7
6
"Gmsh.l"
#line 7
7
"Gmsh.l"
skipcomments
();
YY_BREAK
case
4
:
YY_RULE_SETUP
#line 7
7
"Gmsh.l"
#line 7
8
"Gmsh.l"
skipline
();
YY_BREAK
case
5
:
YY_RULE_SETUP
#line 7
8
"Gmsh.l"
#line 7
9
"Gmsh.l"
{
parsestring
(
'\"'
);
return
tBIGSTR
;
}
YY_BREAK
case
6
:
YY_RULE_SETUP
#line
79
"Gmsh.l"
#line
80
"Gmsh.l"
{
parsestring
(
'\''
);
return
tBIGSTR
;
}
YY_BREAK
case
7
:
YY_RULE_SETUP
#line 8
0
"Gmsh.l"
#line 8
1
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWREG
();
return
tDOUBLE
;
}
YY_BREAK
case
8
:
YY_RULE_SETUP
#line 8
1
"Gmsh.l"
#line 8
2
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWPOINT
();
return
tDOUBLE
;
}
YY_BREAK
case
9
:
YY_RULE_SETUP
#line 8
2
"Gmsh.l"
#line 8
3
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINE
();
return
tDOUBLE
;
}
YY_BREAK
case
10
:
YY_RULE_SETUP
#line 8
3
"Gmsh.l"
#line 8
4
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINE
();
return
tDOUBLE
;
}
YY_BREAK
case
11
:
YY_RULE_SETUP
#line 8
4
"Gmsh.l"
#line 8
5
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINELOOP
();
return
tDOUBLE
;
}
YY_BREAK
case
12
:
YY_RULE_SETUP
#line 8
5
"Gmsh.l"
#line 8
6
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWSURFACE
();
return
tDOUBLE
;
}
YY_BREAK
case
13
:
YY_RULE_SETUP
#line 8
6
"Gmsh.l"
#line 8
7
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWSURFACELOOP
();
return
tDOUBLE
;
}
YY_BREAK
case
14
:
YY_RULE_SETUP
#line 8
7
"Gmsh.l"
#line 8
8
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWVOLUME
();
return
tDOUBLE
;
}
YY_BREAK
case
15
:
YY_RULE_SETUP
#line 8
8
"Gmsh.l"
#line 8
9
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWFIELD
();
return
tDOUBLE
;
}
YY_BREAK
case
16
:
YY_RULE_SETUP
#line
8
9 "Gmsh.l"
#line 9
0
"Gmsh.l"
return
tAFFECT
;
YY_BREAK
case
17
:
YY_RULE_SETUP
#line 9
0
"Gmsh.l"
#line 9
1
"Gmsh.l"
return
tAFFECTPLUS
;
YY_BREAK
case
18
:
YY_RULE_SETUP
#line 9
1
"Gmsh.l"
#line 9
2
"Gmsh.l"
return
tAFFECTMINUS
;
YY_BREAK
case
19
:
YY_RULE_SETUP
#line 9
2
"Gmsh.l"
#line 9
3
"Gmsh.l"
return
tAFFECTTIMES
;
YY_BREAK
case
20
:
YY_RULE_SETUP
#line 9
3
"Gmsh.l"
#line 9
4
"Gmsh.l"
return
tAFFECTDIVIDE
;
YY_BREAK
case
21
:
YY_RULE_SETUP
#line 9
4
"Gmsh.l"
#line 9
5
"Gmsh.l"
return
tDOTS
;
YY_BREAK
case
22
:
YY_RULE_SETUP
#line 9
5
"Gmsh.l"
#line 9
6
"Gmsh.l"
return
tDOTS
;
YY_BREAK
case
23
:
YY_RULE_SETUP
#line 9
6
"Gmsh.l"
#line 9
7
"Gmsh.l"
return
tOR
;
YY_BREAK
case
24
:
YY_RULE_SETUP
#line 9
7
"Gmsh.l"
#line 9
8
"Gmsh.l"
return
tAND
;
YY_BREAK
case
25
:
YY_RULE_SETUP
#line 9
8
"Gmsh.l"
#line 9
9
"Gmsh.l"
return
tPLUSPLUS
;
YY_BREAK
case
26
:
YY_RULE_SETUP
#line
99
"Gmsh.l"
#line
100
"Gmsh.l"
return
tMINUSMINUS
;
YY_BREAK
case
27
:
YY_RULE_SETUP
#line 10
0
"Gmsh.l"
#line 10
1
"Gmsh.l"
return
tEQUAL
;
YY_BREAK
case
28
:
YY_RULE_SETUP
#line 10
1
"Gmsh.l"
#line 10
2
"Gmsh.l"
return
tNOTEQUAL
;
YY_BREAK
case
29
:
YY_RULE_SETUP
#line 10
2
"Gmsh.l"
#line 10
3
"Gmsh.l"
return
tLESSOREQUAL
;
YY_BREAK
case
30
:
YY_RULE_SETUP
#line 10
3
"Gmsh.l"
#line 10
4
"Gmsh.l"
return
tGREATEROREQUAL
;
YY_BREAK
case
31
:
YY_RULE_SETUP
#line 10
5
"Gmsh.l"
#line 10
6
"Gmsh.l"
return
tAbort
;
YY_BREAK
case
32
:
YY_RULE_SETUP
#line 10
6
"Gmsh.l"
#line 10
7
"Gmsh.l"
return
tAbsolutePath
;
YY_BREAK
case
33
:
YY_RULE_SETUP
#line 10
7
"Gmsh.l"
#line 10
8
"Gmsh.l"
return
tAcos
;
YY_BREAK
case
34
:
YY_RULE_SETUP
#line 10
8
"Gmsh.l"
#line 10
9
"Gmsh.l"
return
tAdaptMesh
;
YY_BREAK
case
35
:
YY_RULE_SETUP
#line 10
9
"Gmsh.l"
#line 1
1
0 "Gmsh.l"
return
tAffine
;
YY_BREAK
case
36
:
YY_RULE_SETUP
#line 11
0
"Gmsh.l"
#line 11
1
"Gmsh.l"
return
tAcos
;
YY_BREAK
case
37
:
YY_RULE_SETUP
#line 11
1
"Gmsh.l"
#line 11
2
"Gmsh.l"
return
tAlias
;
YY_BREAK
case
38
:
YY_RULE_SETUP
#line 11
2
"Gmsh.l"
#line 11
3
"Gmsh.l"
return
tAliasWithOptions
;
YY_BREAK
case
39
:
YY_RULE_SETUP
#line 11
3
"Gmsh.l"
#line 11
4
"Gmsh.l"
return
tAsin
;
YY_BREAK
case
40
:
YY_RULE_SETUP
#line 11
4
"Gmsh.l"
#line 11
5
"Gmsh.l"
return
tAsin
;
YY_BREAK
case
41
:
YY_RULE_SETUP
#line 11
5
"Gmsh.l"
#line 11
6
"Gmsh.l"
return
tAtan
;
YY_BREAK
case
42
:
YY_RULE_SETUP
#line 11
6
"Gmsh.l"
#line 11
7
"Gmsh.l"
return
tAtan
;
YY_BREAK
case
43
:
YY_RULE_SETUP
#line 11
7
"Gmsh.l"
#line 11
8
"Gmsh.l"
return
tAtan2
;
YY_BREAK
case
44
:
YY_RULE_SETUP
#line 11
8
"Gmsh.l"
#line 11
9
"Gmsh.l"
return
tAtan2
;
YY_BREAK
case
45
:
YY_RULE_SETUP
#line 12
0
"Gmsh.l"
#line 12
1
"Gmsh.l"
return
tBetti
;
YY_BREAK
case
46
:
YY_RULE_SETUP
#line 12
1
"Gmsh.l"
#line 12
2
"Gmsh.l"
return
tBezier
;
YY_BREAK
case
47
:
YY_RULE_SETUP
#line 12
2
"Gmsh.l"
#line 12
3
"Gmsh.l"
return
tBlock
;
YY_BREAK
case
48
:
YY_RULE_SETUP
#line 12
3
"Gmsh.l"
#line 12
4
"Gmsh.l"
return
tBSpline
;
YY_BREAK
case
49
:
YY_RULE_SETUP
#line 12
4
"Gmsh.l"
#line 12
5
"Gmsh.l"
return
tBooleanUnion
;
YY_BREAK
case
50
:
YY_RULE_SETUP
#line 12
5
"Gmsh.l"
#line 12
6
"Gmsh.l"
return
tBooleanIntersection
;
YY_BREAK
case
51
:
YY_RULE_SETUP
#line 12
6
"Gmsh.l"
#line 12
7
"Gmsh.l"
return
tBooleanDifference
;
YY_BREAK
case
52
:
YY_RULE_SETUP
#line 12
7
"Gmsh.l"
#line 12
8
"Gmsh.l"
return
tBooleanSection
;
YY_BREAK
case
53
:
YY_RULE_SETUP
#line 12
8
"Gmsh.l"
#line 12
9
"Gmsh.l"
return
tBooleanFragments
;
YY_BREAK
case
54
:
YY_RULE_SETUP
#line 1
29
"Gmsh.l"
#line 1
30
"Gmsh.l"
return
tBoundingBox
;
YY_BREAK
case
55
:
YY_RULE_SETUP
#line 13
1
"Gmsh.l"
#line 13
2
"Gmsh.l"
return
tCatenary
;
YY_BREAK
case
56
:
YY_RULE_SETUP
#line 13
2
"Gmsh.l"
#line 13
3
"Gmsh.l"
return
tCeil
;
YY_BREAK
case
57
:
YY_RULE_SETUP
#line 13
3
"Gmsh.l"
#line 13
4
"Gmsh.l"
return
tCircle
;
YY_BREAK
case
58
:
YY_RULE_SETUP
#line 13
4
"Gmsh.l"
#line 13
5
"Gmsh.l"
return
tCopyOptions
;
YY_BREAK
case
59
:
YY_RULE_SETUP
#line 13
5
"Gmsh.l"
#line 13
6
"Gmsh.l"
return
tCoherence
;
YY_BREAK
case
60
:
YY_RULE_SETUP
#line 13
6
"Gmsh.l"
#line 13
7
"Gmsh.l"
return
tCohomology
;
YY_BREAK
case
61
:
YY_RULE_SETUP
#line 13
7
"Gmsh.l"
#line 13
8
"Gmsh.l"
return
tCombine
;
YY_BREAK
case
62
:
YY_RULE_SETUP
#line 13
8
"Gmsh.l"
#line 13
9
"Gmsh.l"
return
tCone
;
YY_BREAK
case
63
:
YY_RULE_SETUP
#line 1
39
"Gmsh.l"
#line 1
40
"Gmsh.l"
return
tCosh
;
YY_BREAK
case
64
:
YY_RULE_SETUP
#line 14
0
"Gmsh.l"
#line 14
1
"Gmsh.l"
return
tCos
;
YY_BREAK
case
65
:
YY_RULE_SETUP
#line 14
1
"Gmsh.l"
#line 14
2
"Gmsh.l"
return
tCharacteristic
;
YY_BREAK
case
66
:
YY_RULE_SETUP
#line 14
2
"Gmsh.l"
#line 14
3
"Gmsh.l"
return
tComplex
;
YY_BREAK
case
67
:
YY_RULE_SETUP
#line 14
3
"Gmsh.l"
#line 14
4
"Gmsh.l"
return
tColor
;
YY_BREAK
case
68
:
YY_RULE_SETUP
#line 14
4
"Gmsh.l"
#line 14
5
"Gmsh.l"
return
tColorTable
;
YY_BREAK
case
69
:
YY_RULE_SETUP
#line 14
5
"Gmsh.l"
#line 14
6
"Gmsh.l"
return
tCompound
;
YY_BREAK
case
70
:
YY_RULE_SETUP
#line 14
6
"Gmsh.l"
#line 14
7
"Gmsh.l"
return
tCoordinates
;
YY_BREAK
case
71
:
YY_RULE_SETUP
#line 14
7
"Gmsh.l"
#line 14
8
"Gmsh.l"
return
tSpline
;
YY_BREAK
case
72
:
YY_RULE_SETUP
#line 14
8
"Gmsh.l"
#line 14
9
"Gmsh.l"
return
tCall
;
YY_BREAK
case
73
:
YY_RULE_SETUP
#line 1
49
"Gmsh.l"
#line 1
50
"Gmsh.l"
return
tCreateTopology
;
YY_BREAK
case
74
:
YY_RULE_SETUP
#line 15
0
"Gmsh.l"
#line 15
1
"Gmsh.l"
return
tCreateTopologyNoHoles
;
YY_BREAK
case
75
:
YY_RULE_SETUP
#line 15
1
"Gmsh.l"
#line 15
2
"Gmsh.l"
return
tCpu
;
YY_BREAK
case
76
:
YY_RULE_SETUP
#line 15
2
"Gmsh.l"
#line 15
3
"Gmsh.l"
return
tCurrentDirectory
;
YY_BREAK
case
77
:
YY_RULE_SETUP
#line 15
3
"Gmsh.l"
#line 15
4
"Gmsh.l"
return
tCurrentDirectory
;
YY_BREAK
case
78
:
YY_RULE_SETUP
#line 15
4
"Gmsh.l"
#line 15
5
"Gmsh.l"
return
tCylinder
;
YY_BREAK
case
79
:
YY_RULE_SETUP
#line 15
6
"Gmsh.l"
#line 15
7
"Gmsh.l"
return
tDefineConstant
;
YY_BREAK
case
80
:
YY_RULE_SETUP
#line 15
7
"Gmsh.l"
#line 15
8
"Gmsh.l"
return
tDefineNumber
;
YY_BREAK
case
81
:
YY_RULE_SETUP
#line 15
8
"Gmsh.l"
#line 15
9
"Gmsh.l"
return
tDefineString
;
YY_BREAK
case
82
:
YY_RULE_SETUP
#line 1
59
"Gmsh.l"
#line 1
60
"Gmsh.l"
return
tDelete
;
YY_BREAK
case
83
:
YY_RULE_SETUP
#line 16
0
"Gmsh.l"
#line 16
1
"Gmsh.l"
return
tDegenerated
;
YY_BREAK
case
84
:
YY_RULE_SETUP
#line 16
1
"Gmsh.l"
#line 16
2
"Gmsh.l"
return
tDilate
;
YY_BREAK
case
85
:
YY_RULE_SETUP
#line 16
2
"Gmsh.l"
#line 16
3
"Gmsh.l"
return
tDirName
;
YY_BREAK
case
86
:
YY_RULE_SETUP
#line 16
3
"Gmsh.l"
#line 16
4
"Gmsh.l"
return
tDisk
;
YY_BREAK
case
87
:
YY_RULE_SETUP
#line 16
4
"Gmsh.l"
#line 16
5
"Gmsh.l"
return
tDraw
;
YY_BREAK
case
88
:
YY_RULE_SETUP
#line 16
5
"Gmsh.l"
#line 16
6
"Gmsh.l"
return
tSetChanged
;
YY_BREAK
case
89
:
YY_RULE_SETUP
#line 16
7
"Gmsh.l"
#line 16
8
"Gmsh.l"
return
tExp
;
YY_BREAK
case
90
:
YY_RULE_SETUP
#line 16
8
"Gmsh.l"
#line 16
9
"Gmsh.l"
return
tEllipse
;
YY_BREAK
case
91
:
YY_RULE_SETUP
#line 1
69
"Gmsh.l"
#line 1
70
"Gmsh.l"
return
tEllipse
;
YY_BREAK
case
92
:
YY_RULE_SETUP
#line 17
0
"Gmsh.l"
#line 17
1
"Gmsh.l"
return
tEllipsoid
;
YY_BREAK
case
93
:
YY_RULE_SETUP
#line 17
1
"Gmsh.l"
#line 17
2
"Gmsh.l"
return
tElse
;
YY_BREAK
case
94
:
YY_RULE_SETUP
#line 17
2
"Gmsh.l"
#line 17
3
"Gmsh.l"
return
tElseIf
;
YY_BREAK
case
95
:
YY_RULE_SETUP
#line 17
3
"Gmsh.l"
#line 17
4
"Gmsh.l"
return
tExtrude
;
YY_BREAK
case
96
:
YY_RULE_SETUP
#line 17
4
"Gmsh.l"
#line 17
5
"Gmsh.l"
return
tElliptic
;
YY_BREAK
case
97
:
YY_RULE_SETUP
#line 17
5
"Gmsh.l"
#line 17
6
"Gmsh.l"
return
tEndFor
;
YY_BREAK
case
98
:
YY_RULE_SETUP
#line 17
6
"Gmsh.l"
#line 17
7
"Gmsh.l"
return
tEndIf
;
YY_BREAK
case
99
:
YY_RULE_SETUP
#line 17
7
"Gmsh.l"
#line 17
8
"Gmsh.l"
return
tEuclidian
;
YY_BREAK
case
100
:
YY_RULE_SETUP
#line 17
8
"Gmsh.l"
#line 17
9
"Gmsh.l"
return
tError
;
YY_BREAK
case
101
:
YY_RULE_SETUP
#line 1
79
"Gmsh.l"
#line 1
80
"Gmsh.l"
return
tExit
;
YY_BREAK
case
102
:
YY_RULE_SETUP
#line 18
0
"Gmsh.l"
#line 18
1
"Gmsh.l"
return
tExists
;
YY_BREAK
case
103
:
YY_RULE_SETUP
#line 18
2
"Gmsh.l"
#line 18
3
"Gmsh.l"
return
tFabs
;
YY_BREAK
case
104
:
YY_RULE_SETUP
#line 18
3
"Gmsh.l"
#line 18
4
"Gmsh.l"
return
tField
;
YY_BREAK
case
105
:
YY_RULE_SETUP
#line 18
4
"Gmsh.l"
#line 18
5
"Gmsh.l"
return
tFind
;
YY_BREAK
case
106
:
YY_RULE_SETUP
#line 18
5
"Gmsh.l"
#line 18
6
"Gmsh.l"
return
tFileExists
;
YY_BREAK
case
107
:
YY_RULE_SETUP
#line 18
6
"Gmsh.l"
#line 18
7
"Gmsh.l"
return
tFixRelativePath
;
YY_BREAK
case
108
:
YY_RULE_SETUP
#line 18
7
"Gmsh.l"
#line 18
8
"Gmsh.l"
return
tFloor
;
YY_BREAK
case
109
:
YY_RULE_SETUP
#line 18
8
"Gmsh.l"
#line 18
9
"Gmsh.l"
return
tFmod
;
YY_BREAK
case
110
:
YY_RULE_SETUP
#line 1
8
9 "Gmsh.l"
#line 19
0
"Gmsh.l"
return
tFor
;
YY_BREAK
case
111
:
YY_RULE_SETUP
#line 19
0
"Gmsh.l"
#line 19
1
"Gmsh.l"
return
tMacro
;
YY_BREAK
case
112
:
YY_RULE_SETUP
#line 19
2
"Gmsh.l"
#line 19
3
"Gmsh.l"
return
tGetEnv
;
YY_BREAK
case
113
:
YY_RULE_SETUP
#line 19
3
"Gmsh.l"
#line 19
4
"Gmsh.l"
return
tGetString
;
YY_BREAK
case
114
:
YY_RULE_SETUP
#line 19
4
"Gmsh.l"
#line 19
5
"Gmsh.l"
return
tGetNumber
;
YY_BREAK
case
115
:
YY_RULE_SETUP
#line 19
5
"Gmsh.l"
#line 19
6
"Gmsh.l"
return
tGetValue
;
YY_BREAK
case
116
:
YY_RULE_SETUP
#line 19
6
"Gmsh.l"
#line 19
7
"Gmsh.l"
return
tGetStringValue
;
YY_BREAK
case
117
:
YY_RULE_SETUP
#line 19
7
"Gmsh.l"
#line 19
8
"Gmsh.l"
return
tGMSH_MAJOR_VERSION
;
YY_BREAK
case
118
:
YY_RULE_SETUP
#line 19
8
"Gmsh.l"
#line 19
9
"Gmsh.l"
return
tGMSH_MINOR_VERSION
;
YY_BREAK
case
119
:
YY_RULE_SETUP
#line
199
"Gmsh.l"
#line
200
"Gmsh.l"
return
tGMSH_PATCH_VERSION
;
YY_BREAK
case
120
:
YY_RULE_SETUP
#line 20
0
"Gmsh.l"
#line 20
1
"Gmsh.l"
return
tGmshExecutableName
;
YY_BREAK
case
121
:
YY_RULE_SETUP
#line 20
2
"Gmsh.l"
#line 20
3
"Gmsh.l"
return
tHide
;
YY_BREAK
case
122
:
YY_RULE_SETUP
#line 20
3
"Gmsh.l"
#line 20
4
"Gmsh.l"
return
tHole
;
YY_BREAK
case
123
:
YY_RULE_SETUP
#line 20
4
"Gmsh.l"
#line 20
5
"Gmsh.l"
return
tHomology
;
YY_BREAK
case
124
:
YY_RULE_SETUP
#line 20
5
"Gmsh.l"
#line 20
6
"Gmsh.l"
return
tHypot
;
YY_BREAK
case
125
:
YY_RULE_SETUP
#line 20
7
"Gmsh.l"
#line 20
8
"Gmsh.l"
return
tIn
;
YY_BREAK
case
126
:
YY_RULE_SETUP
#line 20
8
"Gmsh.l"
#line 20
9
"Gmsh.l"
return
tIf
;
YY_BREAK
case
127
:
YY_RULE_SETUP
#line 20
9
"Gmsh.l"
#line 2
1
0 "Gmsh.l"
return
tIntersect
;
YY_BREAK
case
128
:
YY_RULE_SETUP
#line 21
0
"Gmsh.l"
#line 21
1
"Gmsh.l"
return
tInterpolationScheme
;
YY_BREAK
case
129
:
YY_RULE_SETUP
#line 21
2
"Gmsh.l"
#line 21
3
"Gmsh.l"
return
tNurbsKnots
;
YY_BREAK
case
130
:
YY_RULE_SETUP
#line 21
4
"Gmsh.l"
#line 21
5
"Gmsh.l"
return
tLength
;
YY_BREAK
case
131
:
YY_RULE_SETUP
#line 21
5
"Gmsh.l"
#line 21
6
"Gmsh.l"
return
tLine
;
YY_BREAK
case
132
:
YY_RULE_SETUP
#line 21
6
"Gmsh.l"
#line 21
7
"Gmsh.l"
return
tList
;
YY_BREAK
case
133
:
YY_RULE_SETUP
#line 21
7
"Gmsh.l"
#line 21
8
"Gmsh.l"
return
tListFromFile
;
YY_BREAK
case
134
:
YY_RULE_SETUP
#line 21
8
"Gmsh.l"
#line 21
9
"Gmsh.l"
return
tLinSpace
;
YY_BREAK
case
135
:
YY_RULE_SETUP
#line 2
19
"Gmsh.l"
#line 2
20
"Gmsh.l"
return
tLogSpace
;
YY_BREAK
case
136
:
YY_RULE_SETUP
#line 22
0
"Gmsh.l"
#line 22
1
"Gmsh.l"
return
tLog
;
YY_BREAK
case
137
:
YY_RULE_SETUP
#line 22
1
"Gmsh.l"
#line 22
2
"Gmsh.l"
return
tLog10
;
YY_BREAK
case
138
:
YY_RULE_SETUP
#line 22
2
"Gmsh.l"
#line 22
3
"Gmsh.l"
return
tLayers
;
YY_BREAK
case
139
:
YY_RULE_SETUP
#line 22
3
"Gmsh.l"
#line 22
4
"Gmsh.l"
return
tLevelset
;
YY_BREAK
case
140
:
YY_RULE_SETUP
#line 22
5
"Gmsh.l"
#line 22
6
"Gmsh.l"
return
tMacro
;
YY_BREAK
case
141
:
YY_RULE_SETUP
#line 22
6
"Gmsh.l"
#line 22
7
"Gmsh.l"
return
tMeshAlgorithm
;
YY_BREAK
case
142
:
YY_RULE_SETUP
#line 22
7
"Gmsh.l"
#line 22
8
"Gmsh.l"
return
tModulo
;
YY_BREAK
case
143
:
YY_RULE_SETUP
#line 22
8
"Gmsh.l"
#line 22
9
"Gmsh.l"
return
tMPI_Rank
;
YY_BREAK
case
144
:
YY_RULE_SETUP
#line 2
29
"Gmsh.l"
#line 2
30
"Gmsh.l"
return
tMPI_Size
;
YY_BREAK
case
145
:
YY_RULE_SETUP
#line 23
0
"Gmsh.l"
#line 23
1
"Gmsh.l"
return
tMemory
;
YY_BREAK
case
146
:
YY_RULE_SETUP
#line 23
2
"Gmsh.l"
#line 23
3
"Gmsh.l"
return
tNameToString
;
YY_BREAK
case
147
:
YY_RULE_SETUP
#line 23
3
"Gmsh.l"
#line 23
4
"Gmsh.l"
return
tNameToString
;
YY_BREAK
case
148
:
YY_RULE_SETUP
#line 23
4
"Gmsh.l"
#line 23
5
"Gmsh.l"
return
tNewModel
;
YY_BREAK
case
149
:
YY_RULE_SETUP
#line 23
5
"Gmsh.l"
#line 23
6
"Gmsh.l"
return
tNurbs
;
YY_BREAK
case
150
:
YY_RULE_SETUP
#line 23
7
"Gmsh.l"
#line 23
8
"Gmsh.l"
return
tOnelabAction
;
YY_BREAK
case
151
:
YY_RULE_SETUP
#line 23
8
"Gmsh.l"
#line 23
9
"Gmsh.l"
return
tOnelabRun
;
YY_BREAK
case
152
:
YY_RULE_SETUP
#line 2
39
"Gmsh.l"
#line 2
40
"Gmsh.l"
return
tNurbsOrder
;
YY_BREAK
case
153
:
YY_RULE_SETUP
#line 24
1
"Gmsh.l"
#line 24
2
"Gmsh.l"
return
tPeriodic
;
YY_BREAK
case
154
:
YY_RULE_SETUP
#line 24
2
"Gmsh.l"
#line 24
3
"Gmsh.l"
return
tPhysical
;
YY_BREAK
case
155
:
YY_RULE_SETUP
#line 24
3
"Gmsh.l"
#line 24
4
"Gmsh.l"
return
tPi
;
YY_BREAK
case
156
:
YY_RULE_SETUP
#line 24
4
"Gmsh.l"
#line 24
5
"Gmsh.l"
return
tPlane
;
YY_BREAK
case
157
:
YY_RULE_SETUP
#line 24
5
"Gmsh.l"
#line 24
6
"Gmsh.l"
return
tPoint
;
YY_BREAK
case
158
:
YY_RULE_SETUP
#line 24
6
"Gmsh.l"
#line 24
7
"Gmsh.l"
return
tParametric
;
YY_BREAK
case
159
:
YY_RULE_SETUP
#line 24
7
"Gmsh.l"
#line 24
8
"Gmsh.l"
return
tPolarSphere
;
YY_BREAK
case
160
:
YY_RULE_SETUP
#line 24
8
"Gmsh.l"
#line 24
9
"Gmsh.l"
return
tPrintf
;
YY_BREAK
case
161
:
YY_RULE_SETUP
#line 2
49
"Gmsh.l"
#line 2
50
"Gmsh.l"
return
tPlugin
;
YY_BREAK
case
162
:
YY_RULE_SETUP
#line 25
1
"Gmsh.l"
#line 25
2
"Gmsh.l"
return
tQuadric
;
YY_BREAK
case
163
:
YY_RULE_SETUP
#line 25
2
"Gmsh.l"
#line 25
3
"Gmsh.l"
return
tQuadTriAddVerts
;
YY_BREAK
case
164
:
YY_RULE_SETUP
#line 25
3
"Gmsh.l"
#line 25
4
"Gmsh.l"
return
tQuadTriNoNewVerts
;
YY_BREAK
case
165
:
YY_RULE_SETUP
#line 25
4
"Gmsh.l"
#line 25
5
"Gmsh.l"
return
tQuadTriDbl
;
YY_BREAK
case
166
:
YY_RULE_SETUP
#line 25
5
"Gmsh.l"
#line 25
6
"Gmsh.l"
return
tQuadTriSngl
;
YY_BREAK
case
167
:
YY_RULE_SETUP
#line 25
7
"Gmsh.l"
#line 25
8
"Gmsh.l"
return
tRectangle
;
YY_BREAK
case
168
:
YY_RULE_SETUP
#line 25
8
"Gmsh.l"
#line 25
9
"Gmsh.l"
return
tRecombine
;
YY_BREAK
case
169
:
YY_RULE_SETUP
#line 2
59
"Gmsh.l"
#line 2
60
"Gmsh.l"
return
tRecombLaterals
;
YY_BREAK
case
170
:
YY_RULE_SETUP
#line 26
0
"Gmsh.l"
#line 26
1
"Gmsh.l"
return
tRecursive
;
YY_BREAK
case
171
:
YY_RULE_SETUP
#line 26
1
"Gmsh.l"
#line 26
2
"Gmsh.l"
return
tRotate
;
YY_BREAK
case
172
:
YY_RULE_SETUP
#line 26
2
"Gmsh.l"
#line 26
3
"Gmsh.l"
return
tRound
;
YY_BREAK
case
173
:
YY_RULE_SETUP
#line 26
3
"Gmsh.l"
#line 26
4
"Gmsh.l"
return
tRuled
;
YY_BREAK
case
174
:
YY_RULE_SETUP
#line 26
4
"Gmsh.l"
#line 26
5
"Gmsh.l"
return
tRand
;
YY_BREAK
case
175
:
YY_RULE_SETUP
#line 26
5
"Gmsh.l"
#line 26
6
"Gmsh.l"
return
tRefineMesh
;
YY_BREAK
case
176
:
YY_RULE_SETUP
#line 26
6
"Gmsh.l"
#line 26
7
"Gmsh.l"
return
tRelocateMesh
;
YY_BREAK
case
177
:
YY_RULE_SETUP
#line 26
7
"Gmsh.l"
#line 26
8
"Gmsh.l"
return
tReturn
;
YY_BREAK
case
178
:
YY_RULE_SETUP
#line 26
8
"Gmsh.l"
#line 26
9
"Gmsh.l"
return
tReverse
;
YY_BREAK
case
179
:
YY_RULE_SETUP
#line 27
0
"Gmsh.l"
#line 27
1
"Gmsh.l"
return
tScaleLast
;
YY_BREAK
case
180
:
YY_RULE_SETUP
#line 27
1
"Gmsh.l"
#line 27
2
"Gmsh.l"
return
tSmoother
;
YY_BREAK
case
181
:
YY_RULE_SETUP
#line 27
2
"Gmsh.l"
#line 27
3
"Gmsh.l"
return
tShapeFromFile
;
YY_BREAK
case
182
:
YY_RULE_SETUP
#line 27
3
"Gmsh.l"
#line 27
4
"Gmsh.l"
return
tSetFactory
;
YY_BREAK
case
183
:
YY_RULE_SETUP
#line 27
4
"Gmsh.l"
#line 27
5
"Gmsh.l"
return
tSetNumber
;
YY_BREAK
case
184
:
YY_RULE_SETUP
#line 27
5
"Gmsh.l"
#line 27
6
"Gmsh.l"
return
tSetString
;
YY_BREAK
case
185
:
YY_RULE_SETUP
#line 27
6
"Gmsh.l"
#line 27
7
"Gmsh.l"
return
tSetPartition
;
YY_BREAK
case
186
:
YY_RULE_SETUP
#line 27
7
"Gmsh.l"
#line 27
8
"Gmsh.l"
return
tSqrt
;
YY_BREAK
case
187
:
YY_RULE_SETUP
#line 27
8
"Gmsh.l"
#line 27
9
"Gmsh.l"
return
tSin
;
YY_BREAK
case
188
:
YY_RULE_SETUP
#line 2
79
"Gmsh.l"
#line 2
80
"Gmsh.l"
return
tSinh
;
YY_BREAK
case
189
:
YY_RULE_SETUP
#line 28
0
"Gmsh.l"
#line 28
1
"Gmsh.l"
return
tSphere
;
YY_BREAK
case
190
:
YY_RULE_SETUP
#line 28
1
"Gmsh.l"
#line 28
2
"Gmsh.l"
return
tSpline
;
YY_BREAK
case
191
:
YY_RULE_SETUP
#line 28
2
"Gmsh.l"
#line 28
3
"Gmsh.l"
return
tSplit
;
YY_BREAK
case
192
:
YY_RULE_SETUP
#line 28
3
"Gmsh.l"
#line 28
4
"Gmsh.l"
return
tSurface
;
YY_BREAK
case
193
:
YY_RULE_SETUP
#line 28
4
"Gmsh.l"
#line 28
5
"Gmsh.l"
return
tStr
;
YY_BREAK
case
194
:
YY_RULE_SETUP
#line 28
5
"Gmsh.l"
#line 28
6
"Gmsh.l"
return
tStringToName
;
YY_BREAK
case
195
:
YY_RULE_SETUP
#line 28
6
"Gmsh.l"
#line 28
7
"Gmsh.l"
return
tStringToName
;
YY_BREAK
case
196
:
YY_RULE_SETUP
#line 28
7
"Gmsh.l"
#line 28
8
"Gmsh.l"
return
tSprintf
;
YY_BREAK
case
197
:
YY_RULE_SETUP
#line 28
8
"Gmsh.l"
#line 28
9
"Gmsh.l"
return
tStrCat
;
YY_BREAK
case
198
:
YY_RULE_SETUP
#line 2
8
9 "Gmsh.l"
#line 29
0
"Gmsh.l"
return
tStrReplace
;
YY_BREAK
case
199
:
YY_RULE_SETUP
#line 29
0
"Gmsh.l"
#line 29
1
"Gmsh.l"
return
tStrPrefix
;
YY_BREAK
case
200
:
YY_RULE_SETUP
#line 29
1
"Gmsh.l"
#line 29
2
"Gmsh.l"
return
tStrRelative
;
YY_BREAK
case
201
:
YY_RULE_SETUP
#line 29
2
"Gmsh.l"
#line 29
3
"Gmsh.l"
return
tStrFind
;
YY_BREAK
case
202
:
YY_RULE_SETUP
#line 29
3
"Gmsh.l"
#line 29
4
"Gmsh.l"
return
tStrCmp
;
YY_BREAK
case
203
:
YY_RULE_SETUP
#line 29
4
"Gmsh.l"
#line 29
5
"Gmsh.l"
return
tStrChoice
;
YY_BREAK
case
204
:
YY_RULE_SETUP
#line 29
5
"Gmsh.l"
#line 29
6
"Gmsh.l"
return
tStrLen
;
YY_BREAK
case
205
:
YY_RULE_SETUP
#line 29
6
"Gmsh.l"
#line 29
7
"Gmsh.l"
return
tStrSub
;
YY_BREAK
case
206
:
YY_RULE_SETUP
#line 29
7
"Gmsh.l"
#line 29
8
"Gmsh.l"
return
tShow
;
YY_BREAK
case
207
:
YY_RULE_SETUP
#line 29
8
"Gmsh.l"
#line 29
9
"Gmsh.l"
return
tSymmetry
;
YY_BREAK
case
208
:
YY_RULE_SETUP
#line
299
"Gmsh.l"
#line
300
"Gmsh.l"
return
tSlide
;
YY_BREAK
case
209
:
YY_RULE_SETUP
#line 30
0
"Gmsh.l"
#line 30
1
"Gmsh.l"
return
tSyncModel
;
YY_BREAK
case
210
:
YY_RULE_SETUP
#line 30
2
"Gmsh.l"
#line 30
3
"Gmsh.l"
return
tText2D
;
YY_BREAK
case
211
:
YY_RULE_SETUP
#line 30
3
"Gmsh.l"
#line 30
4
"Gmsh.l"
return
tText3D
;
YY_BREAK
case
212
:
YY_RULE_SETUP
#line 30
4
"Gmsh.l"
#line 30
5
"Gmsh.l"
return
tTestLevel
;
YY_BREAK
case
213
:
YY_RULE_SETUP
#line 30
5
"Gmsh.l"
#line 30
6
"Gmsh.l"
return
tTextAttributes
;
YY_BREAK
case
214
:
YY_RULE_SETUP
#line 30
6
"Gmsh.l"
#line 30
7
"Gmsh.l"
return
tThruSections
;
YY_BREAK
case
215
:
YY_RULE_SETUP
#line 30
7
"Gmsh.l"
#line 30
8
"Gmsh.l"
return
tTime
;
YY_BREAK
case
216
:
YY_RULE_SETUP
#line 30
8
"Gmsh.l"
#line 30
9
"Gmsh.l"
return
tTransfinite
;
YY_BREAK
case
217
:
YY_RULE_SETUP
#line 30
9
"Gmsh.l"
#line 3
1
0 "Gmsh.l"
return
tTransfQuadTri
;
YY_BREAK
case
218
:
YY_RULE_SETUP
#line 31
0
"Gmsh.l"
#line 31
1
"Gmsh.l"
return
tTranslate
;
YY_BREAK
case
219
:
YY_RULE_SETUP
#line 31
1
"Gmsh.l"
#line 31
2
"Gmsh.l"
return
tTanh
;
YY_BREAK
case
220
:
YY_RULE_SETUP
#line 31
2
"Gmsh.l"
#line 31
3
"Gmsh.l"
return
tTan
;
YY_BREAK
case
221
:
YY_RULE_SETUP
#line 31
3
"Gmsh.l"
#line 31
4
"Gmsh.l"
return
tToday
;
YY_BREAK
case
222
:
YY_RULE_SETUP
#line 31
4
"Gmsh.l"
#line 31
5
"Gmsh.l"
return
tTotalMemory
;
YY_BREAK
case
223
:
YY_RULE_SETUP
#line 31
6
"Gmsh.l"
#line 31
7
"Gmsh.l"
return
tUndefineConstant
;
YY_BREAK
case
224
:
YY_RULE_SETUP
#line 31
7
"Gmsh.l"
#line 31
8
"Gmsh.l"
return
tUpperCase
;
YY_BREAK
case
225
:
YY_RULE_SETUP
#line 31
8
"Gmsh.l"
#line 31
9
"Gmsh.l"
return
tLowerCase
;
YY_BREAK
case
226
:
YY_RULE_SETUP
#line 3
19
"Gmsh.l"
#line 3
20
"Gmsh.l"
return
tLowerCaseIn
;
YY_BREAK
case
227
:
YY_RULE_SETUP
#line 32
0
"Gmsh.l"
#line 32
1
"Gmsh.l"
return
tUsing
;
YY_BREAK
case
228
:
YY_RULE_SETUP
#line 32
2
"Gmsh.l"
#line 32
3
"Gmsh.l"
return
tVolume
;
YY_BREAK
case
229
:
#line 325 "Gmsh.l"
case
230
:
#line 326 "Gmsh.l"
case
23
1
:
case
23
0
:
#line 327 "Gmsh.l"
case
231
:
#line 328 "Gmsh.l"
case
232
:
YY_RULE_SETUP
#line 32
7
"Gmsh.l"
#line 32
8
"Gmsh.l"
{
gmsh_yylval
.
d
=
atof
((
char
*
)
gmsh_yytext
);
return
tDOUBLE
;
}
YY_BREAK
case
233
:
YY_RULE_SETUP
#line 3
29
"Gmsh.l"
#line 3
30
"Gmsh.l"
{
gmsh_yylval
.
c
=
strsave
((
char
*
)
gmsh_yytext
);
return
tSTRING
;
}
YY_BREAK
case
234
:
YY_RULE_SETUP
#line 33
1
"Gmsh.l"
#line 33
2
"Gmsh.l"
return
gmsh_yytext
[
0
];
YY_BREAK
case
235
:
YY_RULE_SETUP
#line 33
3
"Gmsh.l"
#line 33
4
"Gmsh.l"
ECHO
;
YY_BREAK
#line 268
2
"Gmsh.yy.cpp"
#line 268
3
"Gmsh.yy.cpp"
case
YY_STATE_EOF
(
INITIAL
)
:
yyterminate
();
...
...
@@ -3675,7 +3676,7 @@ void gmsh_yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
#line 33
3
"Gmsh.l"
#line 33
4
"Gmsh.l"
...
...
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