Skip to content
Snippets Groups Projects
Commit 89e9ef06 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 6a6d3c40
No related branches found
No related tags found
No related merge requests found
%{ %{
// $Id: Gmsh.l,v 1.78 2006-03-09 07:56:34 remacle Exp $ // $Id: Gmsh.l,v 1.79 2006-11-22 15:01:28 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -69,7 +69,6 @@ special [\.] ...@@ -69,7 +69,6 @@ special [\.]
digit [0-9] digit [0-9]
exp [Ee][-+]?{digit}+ exp [Ee][-+]?{digit}+
string {alpha}({alpha}|{digit})* string {alpha}({alpha}|{digit})*
stepid {dieze}({digit})+
%e 2000 %e 2000
%p 7000 %p 7000
......
This diff is collapsed.
/* A Bison parser, made by GNU Bison 2.0. */ typedef union {
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
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.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
tDOUBLE = 258,
tSTRING = 259,
tBIGSTR = 260,
tEND = 261,
tAFFECT = 262,
tDOTS = 263,
tPi = 264,
tMPI_Rank = 265,
tMPI_Size = 266,
tExp = 267,
tLog = 268,
tLog10 = 269,
tSqrt = 270,
tSin = 271,
tAsin = 272,
tCos = 273,
tAcos = 274,
tTan = 275,
tRand = 276,
tAtan = 277,
tAtan2 = 278,
tSinh = 279,
tCosh = 280,
tTanh = 281,
tFabs = 282,
tFloor = 283,
tCeil = 284,
tFmod = 285,
tModulo = 286,
tHypot = 287,
tPrintf = 288,
tSprintf = 289,
tStrCat = 290,
tStrPrefix = 291,
tStrRelative = 292,
tBoundingBox = 293,
tDraw = 294,
tToday = 295,
tPoint = 296,
tCircle = 297,
tEllipse = 298,
tLine = 299,
tSurface = 300,
tSpline = 301,
tVolume = 302,
tCharacteristic = 303,
tLength = 304,
tParametric = 305,
tElliptic = 306,
tPlane = 307,
tRuled = 308,
tTransfinite = 309,
tComplex = 310,
tPhysical = 311,
tUsing = 312,
tBump = 313,
tProgression = 314,
tPlugin = 315,
tRotate = 316,
tTranslate = 317,
tSymmetry = 318,
tDilate = 319,
tExtrude = 320,
tDuplicata = 321,
tLoop = 322,
tRecombine = 323,
tDelete = 324,
tCoherence = 325,
tIntersect = 326,
tAttractor = 327,
tLayers = 328,
tAlias = 329,
tAliasWithOptions = 330,
tText2D = 331,
tText3D = 332,
tInterpolationScheme = 333,
tTime = 334,
tGrain = 335,
tCombine = 336,
tBSpline = 337,
tBezier = 338,
tNurbs = 339,
tOrder = 340,
tWith = 341,
tBounds = 342,
tKnots = 343,
tColor = 344,
tColorTable = 345,
tFor = 346,
tIn = 347,
tEndFor = 348,
tIf = 349,
tEndIf = 350,
tExit = 351,
tReturn = 352,
tCall = 353,
tFunction = 354,
tTrimmed = 355,
tShow = 356,
tHide = 357,
tGetValue = 358,
tGMSH_MAJOR_VERSION = 359,
tGMSH_MINOR_VERSION = 360,
tGMSH_PATCH_VERSION = 361,
tAFFECTDIVIDE = 362,
tAFFECTTIMES = 363,
tAFFECTMINUS = 364,
tAFFECTPLUS = 365,
tOR = 366,
tAND = 367,
tAPPROXEQUAL = 368,
tNOTEQUAL = 369,
tEQUAL = 370,
tGREATEROREQUAL = 371,
tLESSOREQUAL = 372,
tCROSSPRODUCT = 373,
UNARYPREC = 374,
tMINUSMINUS = 375,
tPLUSPLUS = 376
};
#endif
#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 tExp 267
#define tLog 268
#define tLog10 269
#define tSqrt 270
#define tSin 271
#define tAsin 272
#define tCos 273
#define tAcos 274
#define tTan 275
#define tRand 276
#define tAtan 277
#define tAtan2 278
#define tSinh 279
#define tCosh 280
#define tTanh 281
#define tFabs 282
#define tFloor 283
#define tCeil 284
#define tFmod 285
#define tModulo 286
#define tHypot 287
#define tPrintf 288
#define tSprintf 289
#define tStrCat 290
#define tStrPrefix 291
#define tStrRelative 292
#define tBoundingBox 293
#define tDraw 294
#define tToday 295
#define tPoint 296
#define tCircle 297
#define tEllipse 298
#define tLine 299
#define tSurface 300
#define tSpline 301
#define tVolume 302
#define tCharacteristic 303
#define tLength 304
#define tParametric 305
#define tElliptic 306
#define tPlane 307
#define tRuled 308
#define tTransfinite 309
#define tComplex 310
#define tPhysical 311
#define tUsing 312
#define tBump 313
#define tProgression 314
#define tPlugin 315
#define tRotate 316
#define tTranslate 317
#define tSymmetry 318
#define tDilate 319
#define tExtrude 320
#define tDuplicata 321
#define tLoop 322
#define tRecombine 323
#define tDelete 324
#define tCoherence 325
#define tIntersect 326
#define tAttractor 327
#define tLayers 328
#define tAlias 329
#define tAliasWithOptions 330
#define tText2D 331
#define tText3D 332
#define tInterpolationScheme 333
#define tTime 334
#define tGrain 335
#define tCombine 336
#define tBSpline 337
#define tBezier 338
#define tNurbs 339
#define tOrder 340
#define tWith 341
#define tBounds 342
#define tKnots 343
#define tColor 344
#define tColorTable 345
#define tFor 346
#define tIn 347
#define tEndFor 348
#define tIf 349
#define tEndIf 350
#define tExit 351
#define tReturn 352
#define tCall 353
#define tFunction 354
#define tTrimmed 355
#define tShow 356
#define tHide 357
#define tGetValue 358
#define tGMSH_MAJOR_VERSION 359
#define tGMSH_MINOR_VERSION 360
#define tGMSH_PATCH_VERSION 361
#define tAFFECTDIVIDE 362
#define tAFFECTTIMES 363
#define tAFFECTMINUS 364
#define tAFFECTPLUS 365
#define tOR 366
#define tAND 367
#define tAPPROXEQUAL 368
#define tNOTEQUAL 369
#define tEQUAL 370
#define tGREATEROREQUAL 371
#define tLESSOREQUAL 372
#define tCROSSPRODUCT 373
#define UNARYPREC 374
#define tMINUSMINUS 375
#define tPLUSPLUS 376
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 76 "Gmsh.y"
typedef union YYSTYPE {
char *c; char *c;
int i; int i;
unsigned int u; unsigned int u;
...@@ -284,14 +7,125 @@ typedef union YYSTYPE { ...@@ -284,14 +7,125 @@ typedef union YYSTYPE {
Shape s; Shape s;
List_T *l; List_T *l;
} YYSTYPE; } YYSTYPE;
/* Line 1318 of yacc.c. */ #define tDOUBLE 257
#line 289 "Gmsh.tab.hpp" #define tSTRING 258
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ #define tBIGSTR 259
# define YYSTYPE_IS_DECLARED 1 #define tEND 260
# define YYSTYPE_IS_TRIVIAL 1 #define tAFFECT 261
#endif #define tDOTS 262
#define tPi 263
extern YYSTYPE yylval; #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 tStrRelative 291
#define tBoundingBox 292
#define tDraw 293
#define tToday 294
#define tPoint 295
#define tCircle 296
#define tEllipse 297
#define tLine 298
#define tSurface 299
#define tSpline 300
#define tVolume 301
#define tCharacteristic 302
#define tLength 303
#define tParametric 304
#define tElliptic 305
#define tPlane 306
#define tRuled 307
#define tTransfinite 308
#define tComplex 309
#define tPhysical 310
#define tUsing 311
#define tBump 312
#define tProgression 313
#define tPlugin 314
#define tRotate 315
#define tTranslate 316
#define tSymmetry 317
#define tDilate 318
#define tExtrude 319
#define tDuplicata 320
#define tLoop 321
#define tRecombine 322
#define tDelete 323
#define tCoherence 324
#define tIntersect 325
#define tAttractor 326
#define tLayers 327
#define tAlias 328
#define tAliasWithOptions 329
#define tText2D 330
#define tText3D 331
#define tInterpolationScheme 332
#define tTime 333
#define tGrain 334
#define tCombine 335
#define tBSpline 336
#define tBezier 337
#define tNurbs 338
#define tOrder 339
#define tWith 340
#define tBounds 341
#define tKnots 342
#define tColor 343
#define tColorTable 344
#define tFor 345
#define tIn 346
#define tEndFor 347
#define tIf 348
#define tEndIf 349
#define tExit 350
#define tReturn 351
#define tCall 352
#define tFunction 353
#define tTrimmed 354
#define tShow 355
#define tHide 356
#define tGetValue 357
#define tGMSH_MAJOR_VERSION 358
#define tGMSH_MINOR_VERSION 359
#define tGMSH_PATCH_VERSION 360
#define tAFFECTPLUS 361
#define tAFFECTMINUS 362
#define tAFFECTTIMES 363
#define tAFFECTDIVIDE 364
#define tOR 365
#define tAND 366
#define tEQUAL 367
#define tNOTEQUAL 368
#define tAPPROXEQUAL 369
#define tLESSOREQUAL 370
#define tGREATEROREQUAL 371
#define tCROSSPRODUCT 372
#define tPLUSPLUS 373
#define tMINUSMINUS 374
#define UNARYPREC 375
extern YYSTYPE yylval;
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* A lexical scanner generated by flex */ /* A lexical scanner generated by flex */
/* Scanner skeleton version: /* Scanner skeleton version:
* $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.273 2006-08-29 10:39:54 remacle Exp $ * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.274 2006-11-22 15:01:29 geuzaine Exp $
*/ */
#define FLEX_SCANNER #define FLEX_SCANNER
...@@ -727,7 +727,7 @@ char *yytext; ...@@ -727,7 +727,7 @@ char *yytext;
#line 1 "Gmsh.l" #line 1 "Gmsh.l"
#define INITIAL 0 #define INITIAL 0
#line 2 "Gmsh.l" #line 2 "Gmsh.l"
// $Id: Gmsh.yy.cpp,v 1.273 2006-08-29 10:39:54 remacle Exp $ // $Id: Gmsh.yy.cpp,v 1.274 2006-11-22 15:01:29 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -940,7 +940,7 @@ YY_DECL ...@@ -940,7 +940,7 @@ YY_DECL
register char *yy_cp, *yy_bp; register char *yy_cp, *yy_bp;
register int yy_act; register int yy_act;
#line 81 "Gmsh.l" #line 80 "Gmsh.l"
#line 947 "Gmsh.yy.cpp" #line 947 "Gmsh.yy.cpp"
...@@ -1028,708 +1028,708 @@ do_action: /* This label is used only to access EOF actions. */ ...@@ -1028,708 +1028,708 @@ do_action: /* This label is used only to access EOF actions. */
case 1: case 1:
YY_RULE_SETUP YY_RULE_SETUP
#line 83 "Gmsh.l" #line 82 "Gmsh.l"
/* none */; /* none */;
YY_BREAK YY_BREAK
case 2: case 2:
YY_RULE_SETUP YY_RULE_SETUP
#line 84 "Gmsh.l" #line 83 "Gmsh.l"
return tEND; return tEND;
YY_BREAK YY_BREAK
case 3: case 3:
YY_RULE_SETUP YY_RULE_SETUP
#line 85 "Gmsh.l" #line 84 "Gmsh.l"
skipcomments(); skipcomments();
YY_BREAK YY_BREAK
case 4: case 4:
YY_RULE_SETUP YY_RULE_SETUP
#line 86 "Gmsh.l" #line 85 "Gmsh.l"
skipline(); skipline();
YY_BREAK YY_BREAK
case 5: case 5:
YY_RULE_SETUP YY_RULE_SETUP
#line 87 "Gmsh.l" #line 86 "Gmsh.l"
{parsestring('\"'); return tBIGSTR;} {parsestring('\"'); return tBIGSTR;}
YY_BREAK YY_BREAK
case 6: case 6:
YY_RULE_SETUP YY_RULE_SETUP
#line 88 "Gmsh.l" #line 87 "Gmsh.l"
{parsestring('\''); return tBIGSTR;} {parsestring('\''); return tBIGSTR;}
YY_BREAK YY_BREAK
case 7: case 7:
YY_RULE_SETUP YY_RULE_SETUP
#line 89 "Gmsh.l" #line 88 "Gmsh.l"
{yylval.d = NEWREG(); return tDOUBLE;} {yylval.d = NEWREG(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 8: case 8:
YY_RULE_SETUP YY_RULE_SETUP
#line 90 "Gmsh.l" #line 89 "Gmsh.l"
{yylval.d = NEWPOINT(); return tDOUBLE;} {yylval.d = NEWPOINT(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 9: case 9:
YY_RULE_SETUP YY_RULE_SETUP
#line 91 "Gmsh.l" #line 90 "Gmsh.l"
{yylval.d = NEWLINE(); return tDOUBLE;} {yylval.d = NEWLINE(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 10: case 10:
YY_RULE_SETUP YY_RULE_SETUP
#line 92 "Gmsh.l" #line 91 "Gmsh.l"
{yylval.d = NEWLINE(); return tDOUBLE;} {yylval.d = NEWLINE(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 11: case 11:
YY_RULE_SETUP YY_RULE_SETUP
#line 93 "Gmsh.l" #line 92 "Gmsh.l"
{yylval.d = NEWLINELOOP(); return tDOUBLE;} {yylval.d = NEWLINELOOP(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 12: case 12:
YY_RULE_SETUP YY_RULE_SETUP
#line 94 "Gmsh.l" #line 93 "Gmsh.l"
{yylval.d = NEWSURFACE(); return tDOUBLE;} {yylval.d = NEWSURFACE(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 13: case 13:
YY_RULE_SETUP YY_RULE_SETUP
#line 95 "Gmsh.l" #line 94 "Gmsh.l"
{yylval.d = NEWSURFACELOOP(); return tDOUBLE;} {yylval.d = NEWSURFACELOOP(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 14: case 14:
YY_RULE_SETUP YY_RULE_SETUP
#line 96 "Gmsh.l" #line 95 "Gmsh.l"
{yylval.d = NEWVOLUME(); return tDOUBLE;} {yylval.d = NEWVOLUME(); return tDOUBLE;}
YY_BREAK YY_BREAK
case 15: case 15:
YY_RULE_SETUP YY_RULE_SETUP
#line 97 "Gmsh.l" #line 96 "Gmsh.l"
return tAFFECT; return tAFFECT;
YY_BREAK YY_BREAK
case 16: case 16:
YY_RULE_SETUP YY_RULE_SETUP
#line 98 "Gmsh.l" #line 97 "Gmsh.l"
return tAFFECTPLUS; return tAFFECTPLUS;
YY_BREAK YY_BREAK
case 17: case 17:
YY_RULE_SETUP YY_RULE_SETUP
#line 99 "Gmsh.l" #line 98 "Gmsh.l"
return tAFFECTMINUS; return tAFFECTMINUS;
YY_BREAK YY_BREAK
case 18: case 18:
YY_RULE_SETUP YY_RULE_SETUP
#line 100 "Gmsh.l" #line 99 "Gmsh.l"
return tAFFECTTIMES; return tAFFECTTIMES;
YY_BREAK YY_BREAK
case 19: case 19:
YY_RULE_SETUP YY_RULE_SETUP
#line 101 "Gmsh.l" #line 100 "Gmsh.l"
return tAFFECTDIVIDE; return tAFFECTDIVIDE;
YY_BREAK YY_BREAK
case 20: case 20:
YY_RULE_SETUP YY_RULE_SETUP
#line 102 "Gmsh.l" #line 101 "Gmsh.l"
return tDOTS; return tDOTS;
YY_BREAK YY_BREAK
case 21: case 21:
YY_RULE_SETUP YY_RULE_SETUP
#line 103 "Gmsh.l" #line 102 "Gmsh.l"
return tDOTS; return tDOTS;
YY_BREAK YY_BREAK
case 22: case 22:
YY_RULE_SETUP YY_RULE_SETUP
#line 104 "Gmsh.l" #line 103 "Gmsh.l"
return tCROSSPRODUCT; return tCROSSPRODUCT;
YY_BREAK YY_BREAK
case 23: case 23:
YY_RULE_SETUP YY_RULE_SETUP
#line 105 "Gmsh.l" #line 104 "Gmsh.l"
return tOR; return tOR;
YY_BREAK YY_BREAK
case 24: case 24:
YY_RULE_SETUP YY_RULE_SETUP
#line 106 "Gmsh.l" #line 105 "Gmsh.l"
return tAND; return tAND;
YY_BREAK YY_BREAK
case 25: case 25:
YY_RULE_SETUP YY_RULE_SETUP
#line 107 "Gmsh.l" #line 106 "Gmsh.l"
return tPLUSPLUS; return tPLUSPLUS;
YY_BREAK YY_BREAK
case 26: case 26:
YY_RULE_SETUP YY_RULE_SETUP
#line 108 "Gmsh.l" #line 107 "Gmsh.l"
return tMINUSMINUS; return tMINUSMINUS;
YY_BREAK YY_BREAK
case 27: case 27:
YY_RULE_SETUP YY_RULE_SETUP
#line 109 "Gmsh.l" #line 108 "Gmsh.l"
return tEQUAL; return tEQUAL;
YY_BREAK YY_BREAK
case 28: case 28:
YY_RULE_SETUP YY_RULE_SETUP
#line 110 "Gmsh.l" #line 109 "Gmsh.l"
return tNOTEQUAL; return tNOTEQUAL;
YY_BREAK YY_BREAK
case 29: case 29:
YY_RULE_SETUP YY_RULE_SETUP
#line 111 "Gmsh.l" #line 110 "Gmsh.l"
return tAPPROXEQUAL; return tAPPROXEQUAL;
YY_BREAK YY_BREAK
case 30: case 30:
YY_RULE_SETUP YY_RULE_SETUP
#line 112 "Gmsh.l" #line 111 "Gmsh.l"
return tLESSOREQUAL; return tLESSOREQUAL;
YY_BREAK YY_BREAK
case 31: case 31:
YY_RULE_SETUP YY_RULE_SETUP
#line 113 "Gmsh.l" #line 112 "Gmsh.l"
return tGREATEROREQUAL; return tGREATEROREQUAL;
YY_BREAK YY_BREAK
case 32: case 32:
YY_RULE_SETUP YY_RULE_SETUP
#line 115 "Gmsh.l" #line 114 "Gmsh.l"
return tAcos; return tAcos;
YY_BREAK YY_BREAK
case 33: case 33:
YY_RULE_SETUP YY_RULE_SETUP
#line 116 "Gmsh.l" #line 115 "Gmsh.l"
return tAcos; return tAcos;
YY_BREAK YY_BREAK
case 34: case 34:
YY_RULE_SETUP YY_RULE_SETUP
#line 117 "Gmsh.l" #line 116 "Gmsh.l"
return tAlias; return tAlias;
YY_BREAK YY_BREAK
case 35: case 35:
YY_RULE_SETUP YY_RULE_SETUP
#line 118 "Gmsh.l" #line 117 "Gmsh.l"
return tAliasWithOptions; return tAliasWithOptions;
YY_BREAK YY_BREAK
case 36: case 36:
YY_RULE_SETUP YY_RULE_SETUP
#line 119 "Gmsh.l" #line 118 "Gmsh.l"
return tAsin; return tAsin;
YY_BREAK YY_BREAK
case 37: case 37:
YY_RULE_SETUP YY_RULE_SETUP
#line 120 "Gmsh.l" #line 119 "Gmsh.l"
return tAsin; return tAsin;
YY_BREAK YY_BREAK
case 38: case 38:
YY_RULE_SETUP YY_RULE_SETUP
#line 121 "Gmsh.l" #line 120 "Gmsh.l"
return tAtan; return tAtan;
YY_BREAK YY_BREAK
case 39: case 39:
YY_RULE_SETUP YY_RULE_SETUP
#line 122 "Gmsh.l" #line 121 "Gmsh.l"
return tAtan; return tAtan;
YY_BREAK YY_BREAK
case 40: case 40:
YY_RULE_SETUP YY_RULE_SETUP
#line 123 "Gmsh.l" #line 122 "Gmsh.l"
return tAtan2; return tAtan2;
YY_BREAK YY_BREAK
case 41: case 41:
YY_RULE_SETUP YY_RULE_SETUP
#line 124 "Gmsh.l" #line 123 "Gmsh.l"
return tAtan2; return tAtan2;
YY_BREAK YY_BREAK
case 42: case 42:
YY_RULE_SETUP YY_RULE_SETUP
#line 125 "Gmsh.l" #line 124 "Gmsh.l"
return tAttractor; return tAttractor;
YY_BREAK YY_BREAK
case 43: case 43:
YY_RULE_SETUP YY_RULE_SETUP
#line 127 "Gmsh.l" #line 126 "Gmsh.l"
return tBezier; return tBezier;
YY_BREAK YY_BREAK
case 44: case 44:
YY_RULE_SETUP YY_RULE_SETUP
#line 128 "Gmsh.l" #line 127 "Gmsh.l"
return tBump; return tBump;
YY_BREAK YY_BREAK
case 45: case 45:
YY_RULE_SETUP YY_RULE_SETUP
#line 129 "Gmsh.l" #line 128 "Gmsh.l"
return tBSpline; return tBSpline;
YY_BREAK YY_BREAK
case 46: case 46:
YY_RULE_SETUP YY_RULE_SETUP
#line 130 "Gmsh.l" #line 129 "Gmsh.l"
return tBounds; return tBounds;
YY_BREAK YY_BREAK
case 47: case 47:
YY_RULE_SETUP YY_RULE_SETUP
#line 131 "Gmsh.l" #line 130 "Gmsh.l"
return tBoundingBox; return tBoundingBox;
YY_BREAK YY_BREAK
case 48: case 48:
YY_RULE_SETUP YY_RULE_SETUP
#line 133 "Gmsh.l" #line 132 "Gmsh.l"
return tCeil; return tCeil;
YY_BREAK YY_BREAK
case 49: case 49:
YY_RULE_SETUP YY_RULE_SETUP
#line 134 "Gmsh.l" #line 133 "Gmsh.l"
return tCombine; return tCombine;
YY_BREAK YY_BREAK
case 50: case 50:
YY_RULE_SETUP YY_RULE_SETUP
#line 135 "Gmsh.l" #line 134 "Gmsh.l"
return tCosh; return tCosh;
YY_BREAK YY_BREAK
case 51: case 51:
YY_RULE_SETUP YY_RULE_SETUP
#line 136 "Gmsh.l" #line 135 "Gmsh.l"
return tCos; return tCos;
YY_BREAK YY_BREAK
case 52: case 52:
YY_RULE_SETUP YY_RULE_SETUP
#line 137 "Gmsh.l" #line 136 "Gmsh.l"
return tCharacteristic; return tCharacteristic;
YY_BREAK YY_BREAK
case 53: case 53:
YY_RULE_SETUP YY_RULE_SETUP
#line 138 "Gmsh.l" #line 137 "Gmsh.l"
return tCircle; return tCircle;
YY_BREAK YY_BREAK
case 54: case 54:
YY_RULE_SETUP YY_RULE_SETUP
#line 139 "Gmsh.l" #line 138 "Gmsh.l"
return tCoherence; return tCoherence;
YY_BREAK YY_BREAK
case 55: case 55:
YY_RULE_SETUP YY_RULE_SETUP
#line 140 "Gmsh.l" #line 139 "Gmsh.l"
return tComplex; return tComplex;
YY_BREAK YY_BREAK
case 56: case 56:
YY_RULE_SETUP YY_RULE_SETUP
#line 141 "Gmsh.l" #line 140 "Gmsh.l"
return tColor; return tColor;
YY_BREAK YY_BREAK
case 57: case 57:
YY_RULE_SETUP YY_RULE_SETUP
#line 142 "Gmsh.l" #line 141 "Gmsh.l"
return tColorTable; return tColorTable;
YY_BREAK YY_BREAK
case 58: case 58:
YY_RULE_SETUP YY_RULE_SETUP
#line 143 "Gmsh.l" #line 142 "Gmsh.l"
return tSpline; return tSpline;
YY_BREAK YY_BREAK
case 59: case 59:
YY_RULE_SETUP YY_RULE_SETUP
#line 144 "Gmsh.l" #line 143 "Gmsh.l"
return tCall; return tCall;
YY_BREAK YY_BREAK
case 60: case 60:
YY_RULE_SETUP YY_RULE_SETUP
#line 146 "Gmsh.l" #line 145 "Gmsh.l"
return tDelete; return tDelete;
YY_BREAK YY_BREAK
case 61: case 61:
YY_RULE_SETUP YY_RULE_SETUP
#line 147 "Gmsh.l" #line 146 "Gmsh.l"
return tDilate; return tDilate;
YY_BREAK YY_BREAK
case 62: case 62:
YY_RULE_SETUP YY_RULE_SETUP
#line 148 "Gmsh.l" #line 147 "Gmsh.l"
return tDuplicata; return tDuplicata;
YY_BREAK YY_BREAK
case 63: case 63:
YY_RULE_SETUP YY_RULE_SETUP
#line 149 "Gmsh.l" #line 148 "Gmsh.l"
return tDraw; return tDraw;
YY_BREAK YY_BREAK
case 64: case 64:
YY_RULE_SETUP YY_RULE_SETUP
#line 151 "Gmsh.l" #line 150 "Gmsh.l"
return tExp; return tExp;
YY_BREAK YY_BREAK
case 65: case 65:
YY_RULE_SETUP YY_RULE_SETUP
#line 152 "Gmsh.l" #line 151 "Gmsh.l"
return tEllipse; return tEllipse;
YY_BREAK YY_BREAK
case 66: case 66:
YY_RULE_SETUP YY_RULE_SETUP
#line 153 "Gmsh.l" #line 152 "Gmsh.l"
return tEllipse; return tEllipse;
YY_BREAK YY_BREAK
case 67: case 67:
YY_RULE_SETUP YY_RULE_SETUP
#line 154 "Gmsh.l" #line 153 "Gmsh.l"
return tExtrude; return tExtrude;
YY_BREAK YY_BREAK
case 68: case 68:
YY_RULE_SETUP YY_RULE_SETUP
#line 155 "Gmsh.l" #line 154 "Gmsh.l"
return tElliptic; return tElliptic;
YY_BREAK YY_BREAK
case 69: case 69:
YY_RULE_SETUP YY_RULE_SETUP
#line 156 "Gmsh.l" #line 155 "Gmsh.l"
return tEndFor; return tEndFor;
YY_BREAK YY_BREAK
case 70: case 70:
YY_RULE_SETUP YY_RULE_SETUP
#line 157 "Gmsh.l" #line 156 "Gmsh.l"
return tEndIf; return tEndIf;
YY_BREAK YY_BREAK
case 71: case 71:
YY_RULE_SETUP YY_RULE_SETUP
#line 158 "Gmsh.l" #line 157 "Gmsh.l"
return tExit; return tExit;
YY_BREAK YY_BREAK
case 72: case 72:
YY_RULE_SETUP YY_RULE_SETUP
#line 160 "Gmsh.l" #line 159 "Gmsh.l"
return tFabs; return tFabs;
YY_BREAK YY_BREAK
case 73: case 73:
YY_RULE_SETUP YY_RULE_SETUP
#line 161 "Gmsh.l" #line 160 "Gmsh.l"
return tFloor; return tFloor;
YY_BREAK YY_BREAK
case 74: case 74:
YY_RULE_SETUP YY_RULE_SETUP
#line 162 "Gmsh.l" #line 161 "Gmsh.l"
return tFmod; return tFmod;
YY_BREAK YY_BREAK
case 75: case 75:
YY_RULE_SETUP YY_RULE_SETUP
#line 163 "Gmsh.l" #line 162 "Gmsh.l"
return tFor; return tFor;
YY_BREAK YY_BREAK
case 76: case 76:
YY_RULE_SETUP YY_RULE_SETUP
#line 164 "Gmsh.l" #line 163 "Gmsh.l"
return tFunction; return tFunction;
YY_BREAK YY_BREAK
case 77: case 77:
YY_RULE_SETUP YY_RULE_SETUP
#line 166 "Gmsh.l" #line 165 "Gmsh.l"
return tGetValue; return tGetValue;
YY_BREAK YY_BREAK
case 78: case 78:
YY_RULE_SETUP YY_RULE_SETUP
#line 167 "Gmsh.l" #line 166 "Gmsh.l"
return tGMSH_MAJOR_VERSION; return tGMSH_MAJOR_VERSION;
YY_BREAK YY_BREAK
case 79: case 79:
YY_RULE_SETUP YY_RULE_SETUP
#line 168 "Gmsh.l" #line 167 "Gmsh.l"
return tGMSH_MINOR_VERSION; return tGMSH_MINOR_VERSION;
YY_BREAK YY_BREAK
case 80: case 80:
YY_RULE_SETUP YY_RULE_SETUP
#line 169 "Gmsh.l" #line 168 "Gmsh.l"
return tGMSH_PATCH_VERSION; return tGMSH_PATCH_VERSION;
YY_BREAK YY_BREAK
case 81: case 81:
YY_RULE_SETUP YY_RULE_SETUP
#line 171 "Gmsh.l" #line 170 "Gmsh.l"
return tHide; return tHide;
YY_BREAK YY_BREAK
case 82: case 82:
YY_RULE_SETUP YY_RULE_SETUP
#line 172 "Gmsh.l" #line 171 "Gmsh.l"
return tHypot; return tHypot;
YY_BREAK YY_BREAK
case 83: case 83:
YY_RULE_SETUP YY_RULE_SETUP
#line 174 "Gmsh.l" #line 173 "Gmsh.l"
return tIn; return tIn;
YY_BREAK YY_BREAK
case 84: case 84:
YY_RULE_SETUP YY_RULE_SETUP
#line 175 "Gmsh.l" #line 174 "Gmsh.l"
return tIf; return tIf;
YY_BREAK YY_BREAK
case 85: case 85:
YY_RULE_SETUP YY_RULE_SETUP
#line 176 "Gmsh.l" #line 175 "Gmsh.l"
return tIntersect; return tIntersect;
YY_BREAK YY_BREAK
case 86: case 86:
YY_RULE_SETUP YY_RULE_SETUP
#line 178 "Gmsh.l" #line 177 "Gmsh.l"
return tKnots; return tKnots;
YY_BREAK YY_BREAK
case 87: case 87:
YY_RULE_SETUP YY_RULE_SETUP
#line 180 "Gmsh.l" #line 179 "Gmsh.l"
return tLength; return tLength;
YY_BREAK YY_BREAK
case 88: case 88:
YY_RULE_SETUP YY_RULE_SETUP
#line 181 "Gmsh.l" #line 180 "Gmsh.l"
return tLine; return tLine;
YY_BREAK YY_BREAK
case 89: case 89:
YY_RULE_SETUP YY_RULE_SETUP
#line 182 "Gmsh.l" #line 181 "Gmsh.l"
return tLoop; return tLoop;
YY_BREAK YY_BREAK
case 90: case 90:
YY_RULE_SETUP YY_RULE_SETUP
#line 183 "Gmsh.l" #line 182 "Gmsh.l"
return tLog; return tLog;
YY_BREAK YY_BREAK
case 91: case 91:
YY_RULE_SETUP YY_RULE_SETUP
#line 184 "Gmsh.l" #line 183 "Gmsh.l"
return tLog10; return tLog10;
YY_BREAK YY_BREAK
case 92: case 92:
YY_RULE_SETUP YY_RULE_SETUP
#line 185 "Gmsh.l" #line 184 "Gmsh.l"
return tLayers; return tLayers;
YY_BREAK YY_BREAK
case 93: case 93:
YY_RULE_SETUP YY_RULE_SETUP
#line 187 "Gmsh.l" #line 186 "Gmsh.l"
return tModulo; return tModulo;
YY_BREAK YY_BREAK
case 94: case 94:
YY_RULE_SETUP YY_RULE_SETUP
#line 188 "Gmsh.l" #line 187 "Gmsh.l"
return tMPI_Rank; return tMPI_Rank;
YY_BREAK YY_BREAK
case 95: case 95:
YY_RULE_SETUP YY_RULE_SETUP
#line 189 "Gmsh.l" #line 188 "Gmsh.l"
return tMPI_Size; return tMPI_Size;
YY_BREAK YY_BREAK
case 96: case 96:
YY_RULE_SETUP YY_RULE_SETUP
#line 191 "Gmsh.l" #line 190 "Gmsh.l"
return tNurbs; return tNurbs;
YY_BREAK YY_BREAK
case 97: case 97:
YY_RULE_SETUP YY_RULE_SETUP
#line 193 "Gmsh.l" #line 192 "Gmsh.l"
return tOrder; return tOrder;
YY_BREAK YY_BREAK
case 98: case 98:
YY_RULE_SETUP YY_RULE_SETUP
#line 195 "Gmsh.l" #line 194 "Gmsh.l"
return tPhysical; return tPhysical;
YY_BREAK YY_BREAK
case 99: case 99:
YY_RULE_SETUP YY_RULE_SETUP
#line 196 "Gmsh.l" #line 195 "Gmsh.l"
return tPi; return tPi;
YY_BREAK YY_BREAK
case 100: case 100:
YY_RULE_SETUP YY_RULE_SETUP
#line 197 "Gmsh.l" #line 196 "Gmsh.l"
return tPlane; return tPlane;
YY_BREAK YY_BREAK
case 101: case 101:
YY_RULE_SETUP YY_RULE_SETUP
#line 198 "Gmsh.l" #line 197 "Gmsh.l"
return tPoint; return tPoint;
YY_BREAK YY_BREAK
case 102: case 102:
YY_RULE_SETUP YY_RULE_SETUP
#line 199 "Gmsh.l" #line 198 "Gmsh.l"
return tProgression; return tProgression;
YY_BREAK YY_BREAK
case 103: case 103:
YY_RULE_SETUP YY_RULE_SETUP
#line 200 "Gmsh.l" #line 199 "Gmsh.l"
return tProgression; return tProgression;
YY_BREAK YY_BREAK
case 104: case 104:
YY_RULE_SETUP YY_RULE_SETUP
#line 201 "Gmsh.l" #line 200 "Gmsh.l"
return tParametric; return tParametric;
YY_BREAK YY_BREAK
case 105: case 105:
YY_RULE_SETUP YY_RULE_SETUP
#line 202 "Gmsh.l" #line 201 "Gmsh.l"
return tPrintf; return tPrintf;
YY_BREAK YY_BREAK
case 106: case 106:
YY_RULE_SETUP YY_RULE_SETUP
#line 203 "Gmsh.l" #line 202 "Gmsh.l"
return tPlugin; return tPlugin;
YY_BREAK YY_BREAK
case 107: case 107:
YY_RULE_SETUP YY_RULE_SETUP
#line 205 "Gmsh.l" #line 204 "Gmsh.l"
return tRecombine; return tRecombine;
YY_BREAK YY_BREAK
case 108: case 108:
YY_RULE_SETUP YY_RULE_SETUP
#line 206 "Gmsh.l" #line 205 "Gmsh.l"
return tRotate; return tRotate;
YY_BREAK YY_BREAK
case 109: case 109:
YY_RULE_SETUP YY_RULE_SETUP
#line 207 "Gmsh.l" #line 206 "Gmsh.l"
return tRuled; return tRuled;
YY_BREAK YY_BREAK
case 110: case 110:
YY_RULE_SETUP YY_RULE_SETUP
#line 208 "Gmsh.l" #line 207 "Gmsh.l"
return tRand; return tRand;
YY_BREAK YY_BREAK
case 111: case 111:
YY_RULE_SETUP YY_RULE_SETUP
#line 209 "Gmsh.l" #line 208 "Gmsh.l"
return tReturn; return tReturn;
YY_BREAK YY_BREAK
case 112: case 112:
YY_RULE_SETUP YY_RULE_SETUP
#line 211 "Gmsh.l" #line 210 "Gmsh.l"
return tSqrt; return tSqrt;
YY_BREAK YY_BREAK
case 113: case 113:
YY_RULE_SETUP YY_RULE_SETUP
#line 212 "Gmsh.l" #line 211 "Gmsh.l"
return tSin; return tSin;
YY_BREAK YY_BREAK
case 114: case 114:
YY_RULE_SETUP YY_RULE_SETUP
#line 213 "Gmsh.l" #line 212 "Gmsh.l"
return tSinh; return tSinh;
YY_BREAK YY_BREAK
case 115: case 115:
YY_RULE_SETUP YY_RULE_SETUP
#line 214 "Gmsh.l" #line 213 "Gmsh.l"
return tSpline; return tSpline;
YY_BREAK YY_BREAK
case 116: case 116:
YY_RULE_SETUP YY_RULE_SETUP
#line 215 "Gmsh.l" #line 214 "Gmsh.l"
return tSurface; return tSurface;
YY_BREAK YY_BREAK
case 117: case 117:
YY_RULE_SETUP YY_RULE_SETUP
#line 216 "Gmsh.l" #line 215 "Gmsh.l"
return tSymmetry; return tSymmetry;
YY_BREAK YY_BREAK
case 118: case 118:
YY_RULE_SETUP YY_RULE_SETUP
#line 217 "Gmsh.l" #line 216 "Gmsh.l"
return tSprintf; return tSprintf;
YY_BREAK YY_BREAK
case 119: case 119:
YY_RULE_SETUP YY_RULE_SETUP
#line 218 "Gmsh.l" #line 217 "Gmsh.l"
return tStrCat; return tStrCat;
YY_BREAK YY_BREAK
case 120: case 120:
YY_RULE_SETUP YY_RULE_SETUP
#line 219 "Gmsh.l" #line 218 "Gmsh.l"
return tStrPrefix; return tStrPrefix;
YY_BREAK YY_BREAK
case 121: case 121:
YY_RULE_SETUP YY_RULE_SETUP
#line 220 "Gmsh.l" #line 219 "Gmsh.l"
return tStrRelative; return tStrRelative;
YY_BREAK YY_BREAK
case 122: case 122:
YY_RULE_SETUP YY_RULE_SETUP
#line 221 "Gmsh.l" #line 220 "Gmsh.l"
return tShow; return tShow;
YY_BREAK YY_BREAK
case 123: case 123:
YY_RULE_SETUP YY_RULE_SETUP
#line 223 "Gmsh.l" #line 222 "Gmsh.l"
return tTransfinite; return tTransfinite;
YY_BREAK YY_BREAK
case 124: case 124:
YY_RULE_SETUP YY_RULE_SETUP
#line 224 "Gmsh.l" #line 223 "Gmsh.l"
return tTranslate; return tTranslate;
YY_BREAK YY_BREAK
case 125: case 125:
YY_RULE_SETUP YY_RULE_SETUP
#line 225 "Gmsh.l" #line 224 "Gmsh.l"
return tTanh; return tTanh;
YY_BREAK YY_BREAK
case 126: case 126:
YY_RULE_SETUP YY_RULE_SETUP
#line 226 "Gmsh.l" #line 225 "Gmsh.l"
return tTan; return tTan;
YY_BREAK YY_BREAK
case 127: case 127:
YY_RULE_SETUP YY_RULE_SETUP
#line 227 "Gmsh.l" #line 226 "Gmsh.l"
return tTrimmed; return tTrimmed;
YY_BREAK YY_BREAK
case 128: case 128:
YY_RULE_SETUP YY_RULE_SETUP
#line 228 "Gmsh.l" #line 227 "Gmsh.l"
return tToday; return tToday;
YY_BREAK YY_BREAK
case 129: case 129:
YY_RULE_SETUP YY_RULE_SETUP
#line 230 "Gmsh.l" #line 229 "Gmsh.l"
return tUsing; return tUsing;
YY_BREAK YY_BREAK
case 130: case 130:
YY_RULE_SETUP YY_RULE_SETUP
#line 232 "Gmsh.l" #line 231 "Gmsh.l"
return tVolume; return tVolume;
YY_BREAK YY_BREAK
case 131: case 131:
YY_RULE_SETUP YY_RULE_SETUP
#line 234 "Gmsh.l" #line 233 "Gmsh.l"
return tWith; return tWith;
YY_BREAK YY_BREAK
case 132: case 132:
YY_RULE_SETUP YY_RULE_SETUP
#line 236 "Gmsh.l" #line 235 "Gmsh.l"
return tText2D; return tText2D;
YY_BREAK YY_BREAK
case 133: case 133:
YY_RULE_SETUP YY_RULE_SETUP
#line 237 "Gmsh.l" #line 236 "Gmsh.l"
return tText3D; return tText3D;
YY_BREAK YY_BREAK
case 134: case 134:
YY_RULE_SETUP YY_RULE_SETUP
#line 238 "Gmsh.l" #line 237 "Gmsh.l"
return tInterpolationScheme; return tInterpolationScheme;
YY_BREAK YY_BREAK
case 135: case 135:
YY_RULE_SETUP YY_RULE_SETUP
#line 239 "Gmsh.l" #line 238 "Gmsh.l"
return tTime; return tTime;
YY_BREAK YY_BREAK
case 136: case 136:
YY_RULE_SETUP YY_RULE_SETUP
#line 240 "Gmsh.l" #line 239 "Gmsh.l"
return tGrain; return tGrain;
YY_BREAK YY_BREAK
case 137: case 137:
#line 243 "Gmsh.l" #line 242 "Gmsh.l"
case 138: case 138:
#line 244 "Gmsh.l" #line 243 "Gmsh.l"
case 139: case 139:
#line 245 "Gmsh.l" #line 244 "Gmsh.l"
case 140: case 140:
YY_RULE_SETUP YY_RULE_SETUP
#line 245 "Gmsh.l" #line 244 "Gmsh.l"
{yylval.d = atof((char *)yytext); return tDOUBLE;} {yylval.d = atof((char *)yytext); return tDOUBLE;}
YY_BREAK YY_BREAK
case 141: case 141:
YY_RULE_SETUP YY_RULE_SETUP
#line 247 "Gmsh.l" #line 246 "Gmsh.l"
{yylval.c = strsave((char*)yytext); return tSTRING;} {yylval.c = strsave((char*)yytext); return tSTRING;}
YY_BREAK YY_BREAK
case 142: case 142:
YY_RULE_SETUP YY_RULE_SETUP
#line 249 "Gmsh.l" #line 248 "Gmsh.l"
return yytext[0]; return yytext[0];
YY_BREAK YY_BREAK
case 143: case 143:
YY_RULE_SETUP YY_RULE_SETUP
#line 251 "Gmsh.l" #line 250 "Gmsh.l"
ECHO; ECHO;
YY_BREAK YY_BREAK
#line 1736 "Gmsh.yy.cpp" #line 1736 "Gmsh.yy.cpp"
...@@ -2618,7 +2618,7 @@ int main() ...@@ -2618,7 +2618,7 @@ int main()
return 0; return 0;
} }
#endif #endif
#line 251 "Gmsh.l" #line 250 "Gmsh.l"
#undef yywrap #undef yywrap
......
...@@ -44,12 +44,12 @@ MINGW: too many patches to list here: ...@@ -44,12 +44,12 @@ MINGW: too many patches to list here:
1) export CC="gcc -mno-cygwin -DWNT=1 -DWIN32" 1) export CC="gcc -mno-cygwin -DWNT=1 -DWIN32"
export CXX="g++ -mno-cygwin -DWNT=1 -DWIN32" export CXX="g++ -mno-cygwin -DWNT=1 -DWIN32"
2) fix all OSD_* routines that throw MSVC-specific expcetions (__try, 2) fix all OSD_* routines that throw MSVC-specific exceptions (__try,
__finally, etc.) using #defines __leave, __finally) using #defines
3) remove all the dllimport/dllexport #defines 3) remove ALL the dllimport/dllexport stuff
4) apply same uname patch as for APPLE below 4) apply same uname patch as for APPLE (see below)
I will try to consolidate all these patches in a single one and submit I will try to consolidate all these patches in a single one and submit
it to the OCC folks, but it's not easy: we must first find a way to it to the OCC folks, but it's not easy: we must first find a way to
...@@ -84,7 +84,6 @@ APPLE: ...@@ -84,7 +84,6 @@ APPLE:
bMMap = atoi((var = getenv("MMGT_MMAP" )) ? var : "1" ); bMMap = atoi((var = getenv("MMGT_MMAP" )) ? var : "1" );
#endif #endif
************************************************************************* *************************************************************************
PS: to strip static libaries of debug symbols, use "strip -S *.a" PS: to strip static libaries of debug symbols, use "strip -S *.a"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment