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
a0bd295b
Commit
a0bd295b
authored
9 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
revert EOF fix for now (breaks e.g. t7.geo)
parent
edff711f
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Parser/Gmsh.l
+1
-4
1 addition, 4 deletions
Parser/Gmsh.l
Parser/Gmsh.tab.cpp
+4329
-4449
4329 additions, 4449 deletions
Parser/Gmsh.tab.cpp
Parser/Gmsh.tab.hpp
+220
-395
220 additions, 395 deletions
Parser/Gmsh.tab.hpp
Parser/Gmsh.yy.cpp
+230
-236
230 additions, 236 deletions
Parser/Gmsh.yy.cpp
with
4780 additions
and
5084 deletions
Parser/Gmsh.l
+
1
−
4
View file @
a0bd295b
...
...
@@ -49,9 +49,6 @@ void skipline(void);
buf[n++] = (char) c; \
yylineno++; \
} \
else if ( c == EOF ){ \
buf[n++] = '\0'; \
} \
if ( c == EOF && ferror( yyin ) ) \
Msg::Fatal("Input in flex scanner failed"); \
result = n; \
...
...
@@ -342,7 +339,7 @@ void parsestring(char endchar)
// etc.) "as is" in the output string: see yyinput() above
int i = 0;
while ((c = yyinput()) != endchar) {
if(
c=='\0'){
if(
gmsheof(yyin)){ // FIXME: this is not correct
Msg::Error("End of file in string");
break;
}
...
...
This diff is collapsed.
Click to expand it.
Parser/Gmsh.tab.cpp
+
4329
−
4449
View file @
a0bd295b
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
Parser/Gmsh.tab.hpp
+
220
−
395
View file @
a0bd295b
/* A Bison parser, made by GNU Bison
2.3
. */
/* A Bison parser, made by GNU Bison
3.0.4
. */
/*
Skelet
on interface for
Bison's
Yacc-like parsers in C
/*
Bis
on interface for Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
This program is free software
;
you can redistribute it and/or modify
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, or (at your option)
any later version.
the Free Software Foundation
,
either version
3 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
...
...
@@ -16,9 +15,7 @@
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
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
...
...
@@ -33,12 +30,21 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YY_GMSH_YY_GMSH_TAB_HPP_INCLUDED
# define YY_GMSH_YY_GMSH_TAB_HPP_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern
int
gmsh_yydebug
;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum
yytokentype
{
enum
yytokentype
{
tDOUBLE
=
258
,
tSTRING
=
259
,
tBIGSTR
=
260
,
...
...
@@ -210,214 +216,29 @@
tSetPartition
=
426
,
tNameToString
=
427
,
tStringToName
=
428
,
tAFFECT
DIVIDE
=
429
,
tAFFECT
TIME
S
=
430
,
tAFFECT
MINU
S
=
431
,
tAFFECT
PLUS
=
432
,
tAFFECT
PLUS
=
429
,
tAFFECT
MINU
S
=
430
,
tAFFECT
TIME
S
=
431
,
tAFFECT
DIVIDE
=
432
,
tOR
=
433
,
tAND
=
434
,
tNOT
EQUAL
=
435
,
tEQUAL
=
436
,
tGREATER
OREQUAL
=
437
,
tLESS
OREQUAL
=
438
,
UNARYPREC
=
439
,
t
EQUAL
=
435
,
t
NOT
EQUAL
=
436
,
tLESS
OREQUAL
=
437
,
tGREATER
OREQUAL
=
438
,
tPLUSPLUS
=
439
,
tMINUSMINUS
=
440
,
tPLUSPLUS
=
441
UNARYPREC
=
441
};
#endif
/* Tokens. */
#define tDOUBLE 258
#define tSTRING 259
#define tBIGSTR 260
#define tEND 261
#define tAFFECT 262
#define tDOTS 263
#define tPi 264
#define tMPI_Rank 265
#define tMPI_Size 266
#define tEuclidian 267
#define tCoordinates 268
#define tTestLevel 269
#define tExp 270
#define tLog 271
#define tLog10 272
#define tSqrt 273
#define tSin 274
#define tAsin 275
#define tCos 276
#define tAcos 277
#define tTan 278
#define tRand 279
#define tAtan 280
#define tAtan2 281
#define tSinh 282
#define tCosh 283
#define tTanh 284
#define tFabs 285
#define tFloor 286
#define tCeil 287
#define tRound 288
#define tFmod 289
#define tModulo 290
#define tHypot 291
#define tList 292
#define tPrintf 293
#define tError 294
#define tStr 295
#define tSprintf 296
#define tStrCat 297
#define tStrPrefix 298
#define tStrRelative 299
#define tStrReplace 300
#define tFind 301
#define tStrFind 302
#define tStrCmp 303
#define tStrChoice 304
#define tUpperCase 305
#define tLowerCase 306
#define tLowerCaseIn 307
#define tTextAttributes 308
#define tBoundingBox 309
#define tDraw 310
#define tSetChanged 311
#define tToday 312
#define tFixRelativePath 313
#define tCurrentDirectory 314
#define tSyncModel 315
#define tNewModel 316
#define tOnelabAction 317
#define tOnelabRun 318
#define tCpu 319
#define tMemory 320
#define tTotalMemory 321
#define tCreateTopology 322
#define tCreateTopologyNoHoles 323
#define tDistanceFunction 324
#define tDefineConstant 325
#define tUndefineConstant 326
#define tDefineNumber 327
#define tDefineString 328
#define tSetNumber 329
#define tSetString 330
#define tPoint 331
#define tCircle 332
#define tEllipse 333
#define tLine 334
#define tSphere 335
#define tPolarSphere 336
#define tSurface 337
#define tSpline 338
#define tVolume 339
#define tCharacteristic 340
#define tLength 341
#define tParametric 342
#define tElliptic 343
#define tRefineMesh 344
#define tAdaptMesh 345
#define tRelocateMesh 346
#define tPlane 347
#define tRuled 348
#define tTransfinite 349
#define tComplex 350
#define tPhysical 351
#define tCompound 352
#define tPeriodic 353
#define tUsing 354
#define tPlugin 355
#define tDegenerated 356
#define tRecursive 357
#define tRotate 358
#define tTranslate 359
#define tSymmetry 360
#define tDilate 361
#define tExtrude 362
#define tLevelset 363
#define tAffine 364
#define tRecombine 365
#define tSmoother 366
#define tSplit 367
#define tDelete 368
#define tCoherence 369
#define tIntersect 370
#define tMeshAlgorithm 371
#define tReverse 372
#define tLayers 373
#define tScaleLast 374
#define tHole 375
#define tAlias 376
#define tAliasWithOptions 377
#define tCopyOptions 378
#define tQuadTriAddVerts 379
#define tQuadTriNoNewVerts 380
#define tQuadTriSngl 381
#define tQuadTriDbl 382
#define tRecombLaterals 383
#define tTransfQuadTri 384
#define tText2D 385
#define tText3D 386
#define tInterpolationScheme 387
#define tTime 388
#define tCombine 389
#define tBSpline 390
#define tBezier 391
#define tNurbs 392
#define tNurbsOrder 393
#define tNurbsKnots 394
#define tColor 395
#define tColorTable 396
#define tFor 397
#define tIn 398
#define tEndFor 399
#define tIf 400
#define tElseIf 401
#define tElse 402
#define tEndIf 403
#define tExit 404
#define tAbort 405
#define tField 406
#define tReturn 407
#define tCall 408
#define tMacro 409
#define tShow 410
#define tHide 411
#define tGetValue 412
#define tGetStringValue 413
#define tGetEnv 414
#define tGetString 415
#define tGetNumber 416
#define tHomology 417
#define tCohomology 418
#define tBetti 419
#define tExists 420
#define tFileExists 421
#define tGMSH_MAJOR_VERSION 422
#define tGMSH_MINOR_VERSION 423
#define tGMSH_PATCH_VERSION 424
#define tGmshExecutableName 425
#define tSetPartition 426
#define tNameToString 427
#define tStringToName 428
#define tAFFECTDIVIDE 429
#define tAFFECTTIMES 430
#define tAFFECTMINUS 431
#define tAFFECTPLUS 432
#define tOR 433
#define tAND 434
#define tNOTEQUAL 435
#define tEQUAL 436
#define tGREATEROREQUAL 437
#define tLESSOREQUAL 438
#define UNARYPREC 439
#define tMINUSMINUS 440
#define tPLUSPLUS 441
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef
union
YYSTYPE
#line 109 "Gmsh.y"
union
YYSTYPE
{
#line 109 "Gmsh.y"
/* yacc.c:1909 */
char
*
c
;
int
i
;
unsigned
int
u
;
...
...
@@ -425,14 +246,18 @@ typedef union YYSTYPE
double
v
[
5
];
Shape
s
;
List_T
*
l
;
}
/* Line 1529 of yacc.c. */
#line 431 "Gmsh.tab.hpp"
YYSTYPE
;
# define yystype YYSTYPE
/* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#line 251 "Gmsh.tab.hpp"
/* yacc.c:1909 */
};
typedef
union
YYSTYPE
YYSTYPE
;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern
YYSTYPE
gmsh_yylval
;
int
gmsh_yyparse
(
void
);
#endif
/* !YY_GMSH_YY_GMSH_TAB_HPP_INCLUDED */
This diff is collapsed.
Click to expand it.
Parser/Gmsh.yy.cpp
+
230
−
236
View file @
a0bd295b
...
...
@@ -28,7 +28,7 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 3
5
#define YY_FLEX_SUBMINOR_VERSION 3
7
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
...
...
@@ -66,7 +66,6 @@ typedef int16_t flex_int16_t;
typedef
uint16_t
flex_uint16_t
;
typedef
int32_t
flex_int32_t
;
typedef
uint32_t
flex_uint32_t
;
typedef
uint64_t
flex_uint64_t
;
#else
typedef
signed
char
flex_int8_t
;
typedef
short
int
flex_int16_t
;
...
...
@@ -74,7 +73,6 @@ typedef int flex_int32_t;
typedef
unsigned
char
flex_uint8_t
;
typedef
unsigned
short
int
flex_uint16_t
;
typedef
unsigned
int
flex_uint32_t
;
#endif
/* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
...
...
@@ -105,6 +103,8 @@ typedef unsigned int flex_uint32_t;
#define UINT32_MAX (4294967295U)
#endif
#endif
/* ! C99 */
#endif
/* ! FLEXINT_H */
#ifdef __cplusplus
...
...
@@ -375,7 +375,7 @@ static void yy_fatal_error (yyconst char msg[] );
*/
#define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \
gmsh_yyleng = (
yy_
size_t) (yy_cp - yy_bp); \
gmsh_yyleng = (size_t) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
...
...
@@ -1145,9 +1145,6 @@ void skipline(void);
buf[n++] = (char) c; \
gmsh_yylineno++; \
} \
else if ( c == EOF ){ \
buf[n++] = '\0'; \
} \
if ( c == EOF && ferror( gmsh_yyin ) ) \
Msg::Fatal("Input in flex scanner failed"); \
result = n; \
...
...
@@ -1159,7 +1156,7 @@ void skipline(void);
#define YY_NO_UNISTD_H
#endif
#line 116
3
"Gmsh.yy.cpp"
#line 116
0
"Gmsh.yy.cpp"
#define INITIAL 0
...
...
@@ -1248,7 +1245,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO fwrite( gmsh_yytext, gmsh_yyleng, 1, gmsh_yyout )
#define ECHO
do { if (
fwrite( gmsh_yytext, gmsh_yyleng, 1, gmsh_yyout )
) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
...
...
@@ -1259,7 +1256,7 @@ static int input (void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
yy_
size_t n; \
size_t n; \
for ( n = 0; n < max_size && \
(c = getc( gmsh_yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
...
...
@@ -1341,10 +1338,10 @@ YY_DECL
register
char
*
yy_cp
,
*
yy_bp
;
register
int
yy_act
;
#line 7
5
"Gmsh.l"
#line 7
2
"Gmsh.l"
#line 134
8
"Gmsh.yy.cpp"
#line 134
5
"Gmsh.yy.cpp"
if
(
!
(
yy_init
)
)
{
...
...
@@ -1430,1051 +1427,1051 @@ do_action: /* This label is used only to access EOF actions. */
case
1
:
/* rule 1 can match eol */
YY_RULE_SETUP
#line 7
7
"Gmsh.l"
#line 7
4
"Gmsh.l"
/* none */
;
YY_BREAK
case
2
:
YY_RULE_SETUP
#line 7
8
"Gmsh.l"
#line 7
5
"Gmsh.l"
return
tEND
;
YY_BREAK
case
3
:
YY_RULE_SETUP
#line 7
9
"Gmsh.l"
#line 7
6
"Gmsh.l"
skipcomments
();
YY_BREAK
case
4
:
YY_RULE_SETUP
#line
80
"Gmsh.l"
#line
77
"Gmsh.l"
skipline
();
YY_BREAK
case
5
:
YY_RULE_SETUP
#line 8
1
"Gmsh.l"
#line
7
8 "Gmsh.l"
{
parsestring
(
'\"'
);
return
tBIGSTR
;
}
YY_BREAK
case
6
:
YY_RULE_SETUP
#line
82
"Gmsh.l"
#line
79
"Gmsh.l"
{
parsestring
(
'\''
);
return
tBIGSTR
;
}
YY_BREAK
case
7
:
YY_RULE_SETUP
#line 8
3
"Gmsh.l"
#line 8
0
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWREG
();
return
tDOUBLE
;
}
YY_BREAK
case
8
:
YY_RULE_SETUP
#line 8
4
"Gmsh.l"
#line 8
1
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWPOINT
();
return
tDOUBLE
;
}
YY_BREAK
case
9
:
YY_RULE_SETUP
#line 8
5
"Gmsh.l"
#line 8
2
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINE
();
return
tDOUBLE
;
}
YY_BREAK
case
10
:
YY_RULE_SETUP
#line 8
6
"Gmsh.l"
#line 8
3
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINE
();
return
tDOUBLE
;
}
YY_BREAK
case
11
:
YY_RULE_SETUP
#line 8
7
"Gmsh.l"
#line 8
4
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWLINELOOP
();
return
tDOUBLE
;
}
YY_BREAK
case
12
:
YY_RULE_SETUP
#line 8
8
"Gmsh.l"
#line 8
5
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWSURFACE
();
return
tDOUBLE
;
}
YY_BREAK
case
13
:
YY_RULE_SETUP
#line 8
9
"Gmsh.l"
#line 8
6
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWSURFACELOOP
();
return
tDOUBLE
;
}
YY_BREAK
case
14
:
YY_RULE_SETUP
#line
90
"Gmsh.l"
#line
87
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWVOLUME
();
return
tDOUBLE
;
}
YY_BREAK
case
15
:
YY_RULE_SETUP
#line
91
"Gmsh.l"
#line
88
"Gmsh.l"
{
gmsh_yylval
.
d
=
NEWFIELD
();
return
tDOUBLE
;
}
YY_BREAK
case
16
:
YY_RULE_SETUP
#line 9
2
"Gmsh.l"
#line
8
9 "Gmsh.l"
return
tAFFECT
;
YY_BREAK
case
17
:
YY_RULE_SETUP
#line 9
3
"Gmsh.l"
#line 9
0
"Gmsh.l"
return
tAFFECTPLUS
;
YY_BREAK
case
18
:
YY_RULE_SETUP
#line 9
4
"Gmsh.l"
#line 9
1
"Gmsh.l"
return
tAFFECTMINUS
;
YY_BREAK
case
19
:
YY_RULE_SETUP
#line 9
5
"Gmsh.l"
#line 9
2
"Gmsh.l"
return
tAFFECTTIMES
;
YY_BREAK
case
20
:
YY_RULE_SETUP
#line 9
6
"Gmsh.l"
#line 9
3
"Gmsh.l"
return
tAFFECTDIVIDE
;
YY_BREAK
case
21
:
YY_RULE_SETUP
#line 9
7
"Gmsh.l"
#line 9
4
"Gmsh.l"
return
tDOTS
;
YY_BREAK
case
22
:
YY_RULE_SETUP
#line 9
8
"Gmsh.l"
#line 9
5
"Gmsh.l"
return
tDOTS
;
YY_BREAK
case
23
:
YY_RULE_SETUP
#line 9
9
"Gmsh.l"
#line 9
6
"Gmsh.l"
return
tOR
;
YY_BREAK
case
24
:
YY_RULE_SETUP
#line
100
"Gmsh.l"
#line
97
"Gmsh.l"
return
tAND
;
YY_BREAK
case
25
:
YY_RULE_SETUP
#line
101
"Gmsh.l"
#line
98
"Gmsh.l"
return
tPLUSPLUS
;
YY_BREAK
case
26
:
YY_RULE_SETUP
#line
102
"Gmsh.l"
#line
99
"Gmsh.l"
return
tMINUSMINUS
;
YY_BREAK
case
27
:
YY_RULE_SETUP
#line 10
3
"Gmsh.l"
#line 10
0
"Gmsh.l"
return
tEQUAL
;
YY_BREAK
case
28
:
YY_RULE_SETUP
#line 10
4
"Gmsh.l"
#line 10
1
"Gmsh.l"
return
tNOTEQUAL
;
YY_BREAK
case
29
:
YY_RULE_SETUP
#line 10
5
"Gmsh.l"
#line 10
2
"Gmsh.l"
return
tLESSOREQUAL
;
YY_BREAK
case
30
:
YY_RULE_SETUP
#line 10
6
"Gmsh.l"
#line 10
3
"Gmsh.l"
return
tGREATEROREQUAL
;
YY_BREAK
case
31
:
YY_RULE_SETUP
#line 10
8
"Gmsh.l"
#line 10
5
"Gmsh.l"
return
tAbort
;
YY_BREAK
case
32
:
YY_RULE_SETUP
#line 10
9
"Gmsh.l"
#line 10
6
"Gmsh.l"
return
tAcos
;
YY_BREAK
case
33
:
YY_RULE_SETUP
#line 1
1
0 "Gmsh.l"
#line 10
7
"Gmsh.l"
return
tAdaptMesh
;
YY_BREAK
case
34
:
YY_RULE_SETUP
#line 1
11
"Gmsh.l"
#line 1
08
"Gmsh.l"
return
tAffine
;
YY_BREAK
case
35
:
YY_RULE_SETUP
#line 1
12
"Gmsh.l"
#line 1
09
"Gmsh.l"
return
tAcos
;
YY_BREAK
case
36
:
YY_RULE_SETUP
#line 11
3
"Gmsh.l"
#line 11
0
"Gmsh.l"
return
tAlias
;
YY_BREAK
case
37
:
YY_RULE_SETUP
#line 11
4
"Gmsh.l"
#line 11
1
"Gmsh.l"
return
tAliasWithOptions
;
YY_BREAK
case
38
:
YY_RULE_SETUP
#line 11
5
"Gmsh.l"
#line 11
2
"Gmsh.l"
return
tAsin
;
YY_BREAK
case
39
:
YY_RULE_SETUP
#line 11
6
"Gmsh.l"
#line 11
3
"Gmsh.l"
return
tAsin
;
YY_BREAK
case
40
:
YY_RULE_SETUP
#line 11
7
"Gmsh.l"
#line 11
4
"Gmsh.l"
return
tAtan
;
YY_BREAK
case
41
:
YY_RULE_SETUP
#line 11
8
"Gmsh.l"
#line 11
5
"Gmsh.l"
return
tAtan
;
YY_BREAK
case
42
:
YY_RULE_SETUP
#line 11
9
"Gmsh.l"
#line 11
6
"Gmsh.l"
return
tAtan2
;
YY_BREAK
case
43
:
YY_RULE_SETUP
#line 1
20
"Gmsh.l"
#line 1
17
"Gmsh.l"
return
tAtan2
;
YY_BREAK
case
44
:
YY_RULE_SETUP
#line 1
22
"Gmsh.l"
#line 1
19
"Gmsh.l"
return
tBetti
;
YY_BREAK
case
45
:
YY_RULE_SETUP
#line 12
3
"Gmsh.l"
#line 12
0
"Gmsh.l"
return
tBezier
;
YY_BREAK
case
46
:
YY_RULE_SETUP
#line 12
4
"Gmsh.l"
#line 12
1
"Gmsh.l"
return
tBSpline
;
YY_BREAK
case
47
:
YY_RULE_SETUP
#line 12
5
"Gmsh.l"
#line 12
2
"Gmsh.l"
return
tBoundingBox
;
YY_BREAK
case
48
:
YY_RULE_SETUP
#line 12
7
"Gmsh.l"
#line 12
4
"Gmsh.l"
return
tCeil
;
YY_BREAK
case
49
:
YY_RULE_SETUP
#line 12
8
"Gmsh.l"
#line 12
5
"Gmsh.l"
return
tCircle
;
YY_BREAK
case
50
:
YY_RULE_SETUP
#line 12
9
"Gmsh.l"
#line 12
6
"Gmsh.l"
return
tCopyOptions
;
YY_BREAK
case
51
:
YY_RULE_SETUP
#line 1
30
"Gmsh.l"
#line 1
27
"Gmsh.l"
return
tCoherence
;
YY_BREAK
case
52
:
YY_RULE_SETUP
#line 1
31
"Gmsh.l"
#line 1
28
"Gmsh.l"
return
tCohomology
;
YY_BREAK
case
53
:
YY_RULE_SETUP
#line 1
3
2 "Gmsh.l"
#line 12
9
"Gmsh.l"
return
tCombine
;
YY_BREAK
case
54
:
YY_RULE_SETUP
#line 13
3
"Gmsh.l"
#line 13
0
"Gmsh.l"
return
tCosh
;
YY_BREAK
case
55
:
YY_RULE_SETUP
#line 13
4
"Gmsh.l"
#line 13
1
"Gmsh.l"
return
tCos
;
YY_BREAK
case
56
:
YY_RULE_SETUP
#line 13
5
"Gmsh.l"
#line 13
2
"Gmsh.l"
return
tCharacteristic
;
YY_BREAK
case
57
:
YY_RULE_SETUP
#line 13
6
"Gmsh.l"
#line 13
3
"Gmsh.l"
return
tComplex
;
YY_BREAK
case
58
:
YY_RULE_SETUP
#line 13
7
"Gmsh.l"
#line 13
4
"Gmsh.l"
return
tColor
;
YY_BREAK
case
59
:
YY_RULE_SETUP
#line 13
8
"Gmsh.l"
#line 13
5
"Gmsh.l"
return
tColorTable
;
YY_BREAK
case
60
:
YY_RULE_SETUP
#line 13
9
"Gmsh.l"
#line 13
6
"Gmsh.l"
return
tCompound
;
YY_BREAK
case
61
:
YY_RULE_SETUP
#line 1
40
"Gmsh.l"
#line 1
37
"Gmsh.l"
return
tCoordinates
;
YY_BREAK
case
62
:
YY_RULE_SETUP
#line 1
41
"Gmsh.l"
#line 1
38
"Gmsh.l"
return
tSpline
;
YY_BREAK
case
63
:
YY_RULE_SETUP
#line 1
42
"Gmsh.l"
#line 1
39
"Gmsh.l"
return
tCall
;
YY_BREAK
case
64
:
YY_RULE_SETUP
#line 14
3
"Gmsh.l"
#line 14
0
"Gmsh.l"
return
tCreateTopology
;
YY_BREAK
case
65
:
YY_RULE_SETUP
#line 14
4
"Gmsh.l"
#line 14
1
"Gmsh.l"
return
tCreateTopologyNoHoles
;
YY_BREAK
case
66
:
YY_RULE_SETUP
#line 14
5
"Gmsh.l"
#line 14
2
"Gmsh.l"
return
tCpu
;
YY_BREAK
case
67
:
YY_RULE_SETUP
#line 14
6
"Gmsh.l"
#line 14
3
"Gmsh.l"
return
tCurrentDirectory
;
YY_BREAK
case
68
:
YY_RULE_SETUP
#line 14
7
"Gmsh.l"
#line 14
4
"Gmsh.l"
return
tCurrentDirectory
;
YY_BREAK
case
69
:
YY_RULE_SETUP
#line 14
9
"Gmsh.l"
#line 14
6
"Gmsh.l"
return
tDefineConstant
;
YY_BREAK
case
70
:
YY_RULE_SETUP
#line 1
50
"Gmsh.l"
#line 1
47
"Gmsh.l"
return
tDefineNumber
;
YY_BREAK
case
71
:
YY_RULE_SETUP
#line 1
51
"Gmsh.l"
#line 1
48
"Gmsh.l"
return
tDefineString
;
YY_BREAK
case
72
:
YY_RULE_SETUP
#line 1
52
"Gmsh.l"
#line 1
49
"Gmsh.l"
return
tDelete
;
YY_BREAK
case
73
:
YY_RULE_SETUP
#line 15
3
"Gmsh.l"
#line 15
0
"Gmsh.l"
return
tDegenerated
;
YY_BREAK
case
74
:
YY_RULE_SETUP
#line 15
4
"Gmsh.l"
#line 15
1
"Gmsh.l"
return
tDilate
;
YY_BREAK
case
75
:
YY_RULE_SETUP
#line 15
5
"Gmsh.l"
#line 15
2
"Gmsh.l"
return
tDraw
;
YY_BREAK
case
76
:
YY_RULE_SETUP
#line 15
6
"Gmsh.l"
#line 15
3
"Gmsh.l"
return
tSetChanged
;
YY_BREAK
case
77
:
YY_RULE_SETUP
#line 15
8
"Gmsh.l"
#line 15
5
"Gmsh.l"
return
tExp
;
YY_BREAK
case
78
:
YY_RULE_SETUP
#line 15
9
"Gmsh.l"
#line 15
6
"Gmsh.l"
return
tEllipse
;
YY_BREAK
case
79
:
YY_RULE_SETUP
#line 1
60
"Gmsh.l"
#line 1
57
"Gmsh.l"
return
tEllipse
;
YY_BREAK
case
80
:
YY_RULE_SETUP
#line 1
61
"Gmsh.l"
#line 1
58
"Gmsh.l"
return
tElse
;
YY_BREAK
case
81
:
YY_RULE_SETUP
#line 1
62
"Gmsh.l"
#line 1
59
"Gmsh.l"
return
tElseIf
;
YY_BREAK
case
82
:
YY_RULE_SETUP
#line 16
3
"Gmsh.l"
#line 16
0
"Gmsh.l"
return
tExtrude
;
YY_BREAK
case
83
:
YY_RULE_SETUP
#line 16
4
"Gmsh.l"
#line 16
1
"Gmsh.l"
return
tElliptic
;
YY_BREAK
case
84
:
YY_RULE_SETUP
#line 16
5
"Gmsh.l"
#line 16
2
"Gmsh.l"
return
tEndFor
;
YY_BREAK
case
85
:
YY_RULE_SETUP
#line 16
6
"Gmsh.l"
#line 16
3
"Gmsh.l"
return
tEndIf
;
YY_BREAK
case
86
:
YY_RULE_SETUP
#line 16
7
"Gmsh.l"
#line 16
4
"Gmsh.l"
return
tEuclidian
;
YY_BREAK
case
87
:
YY_RULE_SETUP
#line 16
8
"Gmsh.l"
#line 16
5
"Gmsh.l"
return
tError
;
YY_BREAK
case
88
:
YY_RULE_SETUP
#line 16
9
"Gmsh.l"
#line 16
6
"Gmsh.l"
return
tExit
;
YY_BREAK
case
89
:
YY_RULE_SETUP
#line 17
0
"Gmsh.l"
#line 1
6
7 "Gmsh.l"
return
tExists
;
YY_BREAK
case
90
:
YY_RULE_SETUP
#line 1
72
"Gmsh.l"
#line 1
69
"Gmsh.l"
return
tFabs
;
YY_BREAK
case
91
:
YY_RULE_SETUP
#line 17
3
"Gmsh.l"
#line 17
0
"Gmsh.l"
return
tField
;
YY_BREAK
case
92
:
YY_RULE_SETUP
#line 17
4
"Gmsh.l"
#line 17
1
"Gmsh.l"
return
tFind
;
YY_BREAK
case
93
:
YY_RULE_SETUP
#line 17
5
"Gmsh.l"
#line 17
2
"Gmsh.l"
return
tFileExists
;
YY_BREAK
case
94
:
YY_RULE_SETUP
#line 17
6
"Gmsh.l"
#line 17
3
"Gmsh.l"
return
tFixRelativePath
;
YY_BREAK
case
95
:
YY_RULE_SETUP
#line 17
7
"Gmsh.l"
#line 17
4
"Gmsh.l"
return
tFloor
;
YY_BREAK
case
96
:
YY_RULE_SETUP
#line 17
8
"Gmsh.l"
#line 17
5
"Gmsh.l"
return
tFmod
;
YY_BREAK
case
97
:
YY_RULE_SETUP
#line 17
9
"Gmsh.l"
#line 17
6
"Gmsh.l"
return
tFor
;
YY_BREAK
case
98
:
YY_RULE_SETUP
#line 1
80
"Gmsh.l"
#line 1
77
"Gmsh.l"
return
tMacro
;
YY_BREAK
case
99
:
YY_RULE_SETUP
#line 1
82
"Gmsh.l"
#line 1
79
"Gmsh.l"
return
tGetEnv
;
YY_BREAK
case
100
:
YY_RULE_SETUP
#line 18
3
"Gmsh.l"
#line 18
0
"Gmsh.l"
return
tGetString
;
YY_BREAK
case
101
:
YY_RULE_SETUP
#line 18
4
"Gmsh.l"
#line 18
1
"Gmsh.l"
return
tGetNumber
;
YY_BREAK
case
102
:
YY_RULE_SETUP
#line 18
5
"Gmsh.l"
#line 18
2
"Gmsh.l"
return
tGetValue
;
YY_BREAK
case
103
:
YY_RULE_SETUP
#line 18
6
"Gmsh.l"
#line 18
3
"Gmsh.l"
return
tGetStringValue
;
YY_BREAK
case
104
:
YY_RULE_SETUP
#line 18
7
"Gmsh.l"
#line 18
4
"Gmsh.l"
return
tGMSH_MAJOR_VERSION
;
YY_BREAK
case
105
:
YY_RULE_SETUP
#line 18
8
"Gmsh.l"
#line 18
5
"Gmsh.l"
return
tGMSH_MINOR_VERSION
;
YY_BREAK
case
106
:
YY_RULE_SETUP
#line 18
9
"Gmsh.l"
#line 18
6
"Gmsh.l"
return
tGMSH_PATCH_VERSION
;
YY_BREAK
case
107
:
YY_RULE_SETUP
#line 1
90
"Gmsh.l"
#line 1
87
"Gmsh.l"
return
tGmshExecutableName
;
YY_BREAK
case
108
:
YY_RULE_SETUP
#line 19
2
"Gmsh.l"
#line 1
8
9 "Gmsh.l"
return
tHide
;
YY_BREAK
case
109
:
YY_RULE_SETUP
#line 19
3
"Gmsh.l"
#line 19
0
"Gmsh.l"
return
tHole
;
YY_BREAK
case
110
:
YY_RULE_SETUP
#line 19
4
"Gmsh.l"
#line 19
1
"Gmsh.l"
return
tHomology
;
YY_BREAK
case
111
:
YY_RULE_SETUP
#line 19
5
"Gmsh.l"
#line 19
2
"Gmsh.l"
return
tHypot
;
YY_BREAK
case
112
:
YY_RULE_SETUP
#line 19
7
"Gmsh.l"
#line 19
4
"Gmsh.l"
return
tIn
;
YY_BREAK
case
113
:
YY_RULE_SETUP
#line 19
8
"Gmsh.l"
#line 19
5
"Gmsh.l"
return
tIf
;
YY_BREAK
case
114
:
YY_RULE_SETUP
#line 19
9
"Gmsh.l"
#line 19
6
"Gmsh.l"
return
tIntersect
;
YY_BREAK
case
115
:
YY_RULE_SETUP
#line
200
"Gmsh.l"
#line
197
"Gmsh.l"
return
tInterpolationScheme
;
YY_BREAK
case
116
:
YY_RULE_SETUP
#line
202
"Gmsh.l"
#line
199
"Gmsh.l"
return
tNurbsKnots
;
YY_BREAK
case
117
:
YY_RULE_SETUP
#line 20
4
"Gmsh.l"
#line 20
1
"Gmsh.l"
return
tLength
;
YY_BREAK
case
118
:
YY_RULE_SETUP
#line 20
5
"Gmsh.l"
#line 20
2
"Gmsh.l"
return
tLine
;
YY_BREAK
case
119
:
YY_RULE_SETUP
#line 20
6
"Gmsh.l"
#line 20
3
"Gmsh.l"
return
tList
;
YY_BREAK
case
120
:
YY_RULE_SETUP
#line 20
7
"Gmsh.l"
#line 20
4
"Gmsh.l"
return
tLog
;
YY_BREAK
case
121
:
YY_RULE_SETUP
#line 20
8
"Gmsh.l"
#line 20
5
"Gmsh.l"
return
tLog10
;
YY_BREAK
case
122
:
YY_RULE_SETUP
#line 20
9
"Gmsh.l"
#line 20
6
"Gmsh.l"
return
tLayers
;
YY_BREAK
case
123
:
YY_RULE_SETUP
#line 2
1
0 "Gmsh.l"
#line 20
7
"Gmsh.l"
return
tLevelset
;
YY_BREAK
case
124
:
YY_RULE_SETUP
#line 2
12
"Gmsh.l"
#line 2
09
"Gmsh.l"
return
tMacro
;
YY_BREAK
case
125
:
YY_RULE_SETUP
#line 21
3
"Gmsh.l"
#line 21
0
"Gmsh.l"
return
tMeshAlgorithm
;
YY_BREAK
case
126
:
YY_RULE_SETUP
#line 21
4
"Gmsh.l"
#line 21
1
"Gmsh.l"
return
tModulo
;
YY_BREAK
case
127
:
YY_RULE_SETUP
#line 21
5
"Gmsh.l"
#line 21
2
"Gmsh.l"
return
tMPI_Rank
;
YY_BREAK
case
128
:
YY_RULE_SETUP
#line 21
6
"Gmsh.l"
#line 21
3
"Gmsh.l"
return
tMPI_Size
;
YY_BREAK
case
129
:
YY_RULE_SETUP
#line 21
7
"Gmsh.l"
#line 21
4
"Gmsh.l"
return
tMemory
;
YY_BREAK
case
130
:
YY_RULE_SETUP
#line 21
9
"Gmsh.l"
#line 21
6
"Gmsh.l"
return
tNameToString
;
YY_BREAK
case
131
:
YY_RULE_SETUP
#line 2
20
"Gmsh.l"
#line 2
17
"Gmsh.l"
return
tNameToString
;
YY_BREAK
case
132
:
YY_RULE_SETUP
#line 2
2
1 "Gmsh.l"
#line 21
8
"Gmsh.l"
return
tNewModel
;
YY_BREAK
case
133
:
YY_RULE_SETUP
#line 2
22
"Gmsh.l"
#line 2
19
"Gmsh.l"
return
tNurbs
;
YY_BREAK
case
134
:
YY_RULE_SETUP
#line 22
4
"Gmsh.l"
#line 22
1
"Gmsh.l"
return
tOnelabAction
;
YY_BREAK
case
135
:
YY_RULE_SETUP
#line 22
5
"Gmsh.l"
#line 22
2
"Gmsh.l"
return
tOnelabRun
;
YY_BREAK
case
136
:
YY_RULE_SETUP
#line 22
6
"Gmsh.l"
#line 22
3
"Gmsh.l"
return
tNurbsOrder
;
YY_BREAK
case
137
:
YY_RULE_SETUP
#line 22
8
"Gmsh.l"
#line 22
5
"Gmsh.l"
return
tPeriodic
;
YY_BREAK
case
138
:
YY_RULE_SETUP
#line 22
9
"Gmsh.l"
#line 22
6
"Gmsh.l"
return
tPhysical
;
YY_BREAK
case
139
:
YY_RULE_SETUP
#line 2
30
"Gmsh.l"
#line 2
27
"Gmsh.l"
return
tPi
;
YY_BREAK
case
140
:
YY_RULE_SETUP
#line 2
31
"Gmsh.l"
#line 2
28
"Gmsh.l"
return
tPlane
;
YY_BREAK
case
141
:
YY_RULE_SETUP
#line 2
3
2 "Gmsh.l"
#line 22
9
"Gmsh.l"
return
tPoint
;
YY_BREAK
case
142
:
YY_RULE_SETUP
#line 23
3
"Gmsh.l"
#line 23
0
"Gmsh.l"
return
tParametric
;
YY_BREAK
case
143
:
YY_RULE_SETUP
#line 23
4
"Gmsh.l"
#line 23
1
"Gmsh.l"
return
tPolarSphere
;
YY_BREAK
case
144
:
YY_RULE_SETUP
#line 23
5
"Gmsh.l"
#line 23
2
"Gmsh.l"
return
tPrintf
;
YY_BREAK
case
145
:
YY_RULE_SETUP
#line 23
6
"Gmsh.l"
#line 23
3
"Gmsh.l"
return
tPlugin
;
YY_BREAK
case
146
:
YY_RULE_SETUP
#line 23
8
"Gmsh.l"
#line 23
5
"Gmsh.l"
return
tQuadTriAddVerts
;
YY_BREAK
case
147
:
YY_RULE_SETUP
#line 23
9
"Gmsh.l"
#line 23
6
"Gmsh.l"
return
tQuadTriNoNewVerts
;
YY_BREAK
case
148
:
YY_RULE_SETUP
#line 2
41
"Gmsh.l"
#line 2
38
"Gmsh.l"
return
tQuadTriDbl
;
YY_BREAK
case
149
:
YY_RULE_SETUP
#line 2
42
"Gmsh.l"
#line 2
39
"Gmsh.l"
return
tQuadTriSngl
;
YY_BREAK
case
150
:
YY_RULE_SETUP
#line 24
4
"Gmsh.l"
#line 24
1
"Gmsh.l"
return
tRecombine
;
YY_BREAK
case
151
:
YY_RULE_SETUP
#line 24
5
"Gmsh.l"
#line 24
2
"Gmsh.l"
return
tRecombLaterals
;
YY_BREAK
case
152
:
YY_RULE_SETUP
#line 24
6
"Gmsh.l"
#line 24
3
"Gmsh.l"
return
tRecursive
;
YY_BREAK
case
153
:
YY_RULE_SETUP
#line 24
7
"Gmsh.l"
#line 24
4
"Gmsh.l"
return
tRotate
;
YY_BREAK
case
154
:
YY_RULE_SETUP
#line 24
8
"Gmsh.l"
#line 24
5
"Gmsh.l"
return
tRound
;
YY_BREAK
case
155
:
YY_RULE_SETUP
#line 24
9
"Gmsh.l"
#line 24
6
"Gmsh.l"
return
tRuled
;
YY_BREAK
case
156
:
YY_RULE_SETUP
#line 2
50
"Gmsh.l"
#line 2
47
"Gmsh.l"
return
tRand
;
YY_BREAK
case
157
:
YY_RULE_SETUP
#line 2
51
"Gmsh.l"
#line 2
48
"Gmsh.l"
return
tRefineMesh
;
YY_BREAK
case
158
:
YY_RULE_SETUP
#line 2
52
"Gmsh.l"
#line 2
49
"Gmsh.l"
return
tRelocateMesh
;
YY_BREAK
case
159
:
YY_RULE_SETUP
#line 25
3
"Gmsh.l"
#line 25
0
"Gmsh.l"
return
tReturn
;
YY_BREAK
case
160
:
YY_RULE_SETUP
#line 25
4
"Gmsh.l"
#line 25
1
"Gmsh.l"
return
tReverse
;
YY_BREAK
case
161
:
YY_RULE_SETUP
#line 25
6
"Gmsh.l"
#line 25
3
"Gmsh.l"
return
tScaleLast
;
YY_BREAK
case
162
:
YY_RULE_SETUP
#line 25
7
"Gmsh.l"
#line 25
4
"Gmsh.l"
return
tSmoother
;
YY_BREAK
case
163
:
YY_RULE_SETUP
#line 25
8
"Gmsh.l"
#line 25
5
"Gmsh.l"
return
tSetNumber
;
YY_BREAK
case
164
:
YY_RULE_SETUP
#line 25
9
"Gmsh.l"
#line 25
6
"Gmsh.l"
return
tSetString
;
YY_BREAK
case
165
:
YY_RULE_SETUP
#line 2
60
"Gmsh.l"
#line 2
57
"Gmsh.l"
return
tSetPartition
;
YY_BREAK
case
166
:
YY_RULE_SETUP
#line 2
61
"Gmsh.l"
#line 2
58
"Gmsh.l"
return
tSqrt
;
YY_BREAK
case
167
:
YY_RULE_SETUP
#line 2
62
"Gmsh.l"
#line 2
59
"Gmsh.l"
return
tSin
;
YY_BREAK
case
168
:
YY_RULE_SETUP
#line 26
3
"Gmsh.l"
#line 26
0
"Gmsh.l"
return
tSinh
;
YY_BREAK
case
169
:
YY_RULE_SETUP
#line 26
4
"Gmsh.l"
#line 26
1
"Gmsh.l"
return
tSphere
;
YY_BREAK
case
170
:
YY_RULE_SETUP
#line 26
5
"Gmsh.l"
#line 26
2
"Gmsh.l"
return
tSpline
;
YY_BREAK
case
171
:
YY_RULE_SETUP
#line 26
6
"Gmsh.l"
#line 26
3
"Gmsh.l"
return
tSplit
;
YY_BREAK
case
172
:
YY_RULE_SETUP
#line 26
7
"Gmsh.l"
#line 26
4
"Gmsh.l"
return
tSurface
;
YY_BREAK
case
173
:
YY_RULE_SETUP
#line 26
8
"Gmsh.l"
#line 26
5
"Gmsh.l"
return
tStr
;
YY_BREAK
case
174
:
YY_RULE_SETUP
#line 26
9
"Gmsh.l"
#line 26
6
"Gmsh.l"
return
tStringToName
;
YY_BREAK
case
175
:
YY_RULE_SETUP
#line 27
0
"Gmsh.l"
#line 2
6
7 "Gmsh.l"
return
tStringToName
;
YY_BREAK
case
176
:
YY_RULE_SETUP
#line 2
71
"Gmsh.l"
#line 2
68
"Gmsh.l"
return
tSprintf
;
YY_BREAK
case
177
:
YY_RULE_SETUP
#line 2
72
"Gmsh.l"
#line 2
69
"Gmsh.l"
return
tStrCat
;
YY_BREAK
case
178
:
YY_RULE_SETUP
#line 27
3
"Gmsh.l"
#line 27
0
"Gmsh.l"
return
tStrReplace
;
YY_BREAK
case
179
:
YY_RULE_SETUP
#line 27
4
"Gmsh.l"
#line 27
1
"Gmsh.l"
return
tStrPrefix
;
YY_BREAK
case
180
:
YY_RULE_SETUP
#line 27
5
"Gmsh.l"
#line 27
2
"Gmsh.l"
return
tStrRelative
;
YY_BREAK
case
181
:
YY_RULE_SETUP
#line 27
6
"Gmsh.l"
#line 27
3
"Gmsh.l"
return
tStrFind
;
YY_BREAK
case
182
:
YY_RULE_SETUP
#line 27
7
"Gmsh.l"
#line 27
4
"Gmsh.l"
return
tStrCmp
;
YY_BREAK
case
183
:
YY_RULE_SETUP
#line 27
8
"Gmsh.l"
#line 27
5
"Gmsh.l"
return
tStrChoice
;
YY_BREAK
case
184
:
YY_RULE_SETUP
#line 27
9
"Gmsh.l"
#line 27
6
"Gmsh.l"
return
tShow
;
YY_BREAK
case
185
:
YY_RULE_SETUP
#line 2
80
"Gmsh.l"
#line 2
77
"Gmsh.l"
return
tSymmetry
;
YY_BREAK
case
186
:
YY_RULE_SETUP
#line 28
1
"Gmsh.l"
#line 2
7
8 "Gmsh.l"
return
tSyncModel
;
YY_BREAK
case
187
:
YY_RULE_SETUP
#line 28
3
"Gmsh.l"
#line 28
0
"Gmsh.l"
return
tText2D
;
YY_BREAK
case
188
:
YY_RULE_SETUP
#line 28
4
"Gmsh.l"
#line 28
1
"Gmsh.l"
return
tText3D
;
YY_BREAK
case
189
:
YY_RULE_SETUP
#line 28
5
"Gmsh.l"
#line 28
2
"Gmsh.l"
return
tTestLevel
;
YY_BREAK
case
190
:
YY_RULE_SETUP
#line 28
6
"Gmsh.l"
#line 28
3
"Gmsh.l"
return
tTextAttributes
;
YY_BREAK
case
191
:
YY_RULE_SETUP
#line 28
7
"Gmsh.l"
#line 28
4
"Gmsh.l"
return
tTime
;
YY_BREAK
case
192
:
YY_RULE_SETUP
#line 28
8
"Gmsh.l"
#line 28
5
"Gmsh.l"
return
tTransfinite
;
YY_BREAK
case
193
:
YY_RULE_SETUP
#line 28
9
"Gmsh.l"
#line 28
6
"Gmsh.l"
return
tTransfQuadTri
;
YY_BREAK
case
194
:
YY_RULE_SETUP
#line 2
90
"Gmsh.l"
#line 2
87
"Gmsh.l"
return
tTranslate
;
YY_BREAK
case
195
:
YY_RULE_SETUP
#line 2
91
"Gmsh.l"
#line 2
88
"Gmsh.l"
return
tTanh
;
YY_BREAK
case
196
:
YY_RULE_SETUP
#line 29
2
"Gmsh.l"
#line 2
8
9 "Gmsh.l"
return
tTan
;
YY_BREAK
case
197
:
YY_RULE_SETUP
#line 29
3
"Gmsh.l"
#line 29
0
"Gmsh.l"
return
tToday
;
YY_BREAK
case
198
:
YY_RULE_SETUP
#line 29
4
"Gmsh.l"
#line 29
1
"Gmsh.l"
return
tTotalMemory
;
YY_BREAK
case
199
:
YY_RULE_SETUP
#line 29
6
"Gmsh.l"
#line 29
3
"Gmsh.l"
return
tUndefineConstant
;
YY_BREAK
case
200
:
YY_RULE_SETUP
#line 29
7
"Gmsh.l"
#line 29
4
"Gmsh.l"
return
tUpperCase
;
YY_BREAK
case
201
:
YY_RULE_SETUP
#line 29
8
"Gmsh.l"
#line 29
5
"Gmsh.l"
return
tLowerCase
;
YY_BREAK
case
202
:
YY_RULE_SETUP
#line 29
9
"Gmsh.l"
#line 29
6
"Gmsh.l"
return
tLowerCaseIn
;
YY_BREAK
case
203
:
YY_RULE_SETUP
#line
300
"Gmsh.l"
#line
297
"Gmsh.l"
return
tUsing
;
YY_BREAK
case
204
:
YY_RULE_SETUP
#line
302
"Gmsh.l"
#line
299
"Gmsh.l"
return
tVolume
;
YY_BREAK
case
205
:
#line 30
5
"Gmsh.l"
#line 30
2
"Gmsh.l"
case
206
:
#line 30
6
"Gmsh.l"
#line 30
3
"Gmsh.l"
case
207
:
#line 30
7
"Gmsh.l"
#line 30
4
"Gmsh.l"
case
208
:
YY_RULE_SETUP
#line 30
7
"Gmsh.l"
#line 30
4
"Gmsh.l"
{
gmsh_yylval
.
d
=
atof
((
char
*
)
gmsh_yytext
);
return
tDOUBLE
;
}
YY_BREAK
case
209
:
YY_RULE_SETUP
#line 30
9
"Gmsh.l"
#line 30
6
"Gmsh.l"
{
gmsh_yylval
.
c
=
strsave
((
char
*
)
gmsh_yytext
);
return
tSTRING
;
}
YY_BREAK
case
210
:
YY_RULE_SETUP
#line 3
11
"Gmsh.l"
#line 3
08
"Gmsh.l"
return
gmsh_yytext
[
0
];
YY_BREAK
case
211
:
YY_RULE_SETUP
#line 31
3
"Gmsh.l"
#line 31
0
"Gmsh.l"
ECHO
;
YY_BREAK
#line 247
8
"Gmsh.yy.cpp"
#line 247
5
"Gmsh.yy.cpp"
case
YY_STATE_EOF
(
INITIAL
)
:
yyterminate
();
...
...
@@ -2667,7 +2664,7 @@ static int yy_get_next_buffer (void)
{
/* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE
b
=
YY_CURRENT_BUFFER
;
YY_BUFFER_STATE
b
=
YY_CURRENT_BUFFER
_LVALUE
;
int
yy_c_buf_p_offset
=
(
int
)
((
yy_c_buf_p
)
-
b
->
yy_ch_buf
);
...
...
@@ -2888,7 +2885,7 @@ static int yy_get_next_buffer (void)
case
EOB_ACT_END_OF_FILE
:
{
if
(
gmsh_yywrap
(
)
)
return
0
;
return
EOF
;
if
(
!
(
yy_did_buffer_switch_on_eof
)
)
YY_NEW_FILE
;
...
...
@@ -3024,10 +3021,6 @@ static void gmsh_yy_load_buffer_state (void)
gmsh_yyfree
((
void
*
)
b
);
}
#ifndef __cplusplus
extern
int
isatty
(
int
);
#endif
/* __cplusplus */
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a gmsh_yyrestart() or at EOF.
...
...
@@ -3232,8 +3225,8 @@ YY_BUFFER_STATE gmsh_yy_scan_string (yyconst char * yystr )
/** Setup the input buffer state to scan the given bytes. The next call to gmsh_yylex() will
* scan from a @e copy of @a bytes.
* @param bytes the byte buffer to scan
* @param len the number of bytes in the buffer pointed to by @a bytes.
* @param
yy
bytes the byte buffer to scan
* @param
_yybytes_
len the number of bytes in the buffer pointed to by @a bytes.
*
* @return the newly allocated buffer state object.
*/
...
...
@@ -3241,7 +3234,8 @@ YY_BUFFER_STATE gmsh_yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes
{
YY_BUFFER_STATE
b
;
char
*
buf
;
yy_size_t
n
,
i
;
yy_size_t
n
;
int
i
;
/* Get memory for full buffer, including space for trailing EOB's. */
n
=
_yybytes_len
+
2
;
...
...
@@ -3471,7 +3465,7 @@ void gmsh_yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
#line 31
3
"Gmsh.l"
#line 31
0
"Gmsh.l"
...
...
@@ -3505,7 +3499,7 @@ void parsestring(char endchar)
// etc.) "as is" in the output string: see yyinput() above
int
i
=
0
;
while
((
c
=
yyinput
())
!=
endchar
)
{
if
(
c
==
'\0'
){
if
(
gmsheof
(
gmsh_yyin
)){
// FIXME: this is not correct
Msg
::
Error
(
"End of file in string"
);
break
;
}
...
...
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