Newer
Older
#define YYABORT goto yyabortlab
#define YYERROR goto yyerrlab1

Christophe Geuzaine
committed
/* Like YYERROR except do call yyerror.
This remains here temporarily to ease the
transition to the new meaning of YYERROR, for GCC.
Once GCC version 2 has supplanted version 1, this can go. */
#define YYFAIL goto yyerrlab
#define YYRECOVERING() (!!yyerrstatus)

Christophe Geuzaine
committed
#define YYBACKUP(token, value) \
do \
if (yychar == YYEMPTY && yylen == 1) \

Christophe Geuzaine
committed
{ yychar = (token), yylval = (value); \
yychar1 = YYTRANSLATE (yychar); \
YYPOPSTACK; \
goto yybackup; \
} \
else \

Christophe Geuzaine
committed
{ yyerror ("syntax error: cannot back up"); YYERROR; } \
while (0)
#define YYTERROR 1
#define YYERRCODE 256

Christophe Geuzaine
committed
#ifndef YYPURE
#define YYLEX yylex()
#endif
#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif

Christophe Geuzaine
committed
/* If nonreentrant, generate the variables here */

Christophe Geuzaine
committed
#ifndef YYPURE

Christophe Geuzaine
committed
int yychar; /* the lookahead symbol */
YYSTYPE yylval; /* the semantic value of the */
/* lookahead symbol */
#ifdef YYLSP_NEEDED
YYLTYPE yylloc; /* location data for the lookahead */
/* symbol */
#endif

Christophe Geuzaine
committed
int yynerrs; /* number of parse errors so far */
#endif /* not YYPURE */

Christophe Geuzaine
committed
#if YYDEBUG != 0
int yydebug; /* nonzero means print parse trace */
/* Since this is uninitialized, it does not stop multiple parsers
from coexisting. */
#endif

Christophe Geuzaine
committed
/* YYINITDEPTH indicates the initial size of the parser's stacks */

Christophe Geuzaine
committed
#ifndef YYINITDEPTH
#define YYINITDEPTH 200
#endif
/* YYMAXDEPTH is the maximum size the stacks can grow to
(effective only if the built-in stack extension method is used). */
#if YYMAXDEPTH == 0

Christophe Geuzaine
committed
#undef YYMAXDEPTH
#endif
#ifndef YYMAXDEPTH

Christophe Geuzaine
committed
#define YYMAXDEPTH 10000
#endif

Christophe Geuzaine
committed
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
/* Define __yy_memcpy. Note that the size argument
should be passed with type unsigned int, because that is what the non-GCC
definitions require. With GCC, __builtin_memcpy takes an arg
of type size_t, but it can handle unsigned int. */
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
#else /* not GNU C or C++ */
#ifndef __cplusplus
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (to, from, count)
char *to;
char *from;
unsigned int count;
{
register char *f = from;
register char *t = to;
register int i = count;
while (i-- > 0)
*t++ = *f++;
}

Christophe Geuzaine
committed
#else /* __cplusplus */
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
register char *t = to;
register char *f = from;
register int i = count;
while (i-- > 0)
*t++ = *f++;

Christophe Geuzaine
committed
#endif
#endif

Christophe Geuzaine
committed
#line 217 "/usr/lib/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
It should actually point to an object.
Grammar actions can access the variable by casting it
to the proper pointer type. */
#ifdef YYPARSE_PARAM

Christophe Geuzaine
committed
#ifdef __cplusplus
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#else /* not __cplusplus */
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#endif /* not __cplusplus */
#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#endif /* not YYPARSE_PARAM */
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__

Christophe Geuzaine
committed
#ifdef YYPARSE_PARAM

Christophe Geuzaine
committed
#else
int yyparse (void);
#endif
#endif
int

Christophe Geuzaine
committed
yyparse(YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
register int yystate;
register int yyn;
register short *yyssp;

Christophe Geuzaine
committed
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */
short yyssa[YYINITDEPTH]; /* the state stack */
YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */

Christophe Geuzaine
committed
short *yyss = yyssa; /* refer to the stacks thru separate pointers */
YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
#ifdef YYLSP_NEEDED
YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
YYLTYPE *yyls = yylsa;
YYLTYPE *yylsp;

Christophe Geuzaine
committed
#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
#else

Christophe Geuzaine
committed
#define YYPOPSTACK (yyvsp--, yyssp--)
#endif

Christophe Geuzaine
committed
int yystacksize = YYINITDEPTH;
int yyfree_stacks = 0;

Christophe Geuzaine
committed
#ifdef YYPURE
int yychar;
YYSTYPE yylval;
int yynerrs;
#ifdef YYLSP_NEEDED
YYLTYPE yylloc;
#endif

Christophe Geuzaine
committed
YYSTYPE yyval; /* the variable used to return */
/* semantic values from the action */
/* routines */
int yylen;

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Starting parse\n");
#endif
yystate = 0;
yyerrstatus = 0;
yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */
/* Initialize stack pointers.
Waste one element of value and location stack
so that they stay on the same level as the state stack.
The wasted elements are never initialized. */

Christophe Geuzaine
committed
yyssp = yyss - 1;
yyvsp = yyvs;

Christophe Geuzaine
committed
#ifdef YYLSP_NEEDED
yylsp = yyls;
#endif

Christophe Geuzaine
committed
/* Push a new state, which is found in yystate . */
/* In all cases, when you get here, the value and location stacks
have just been pushed. so pushing a state here evens the stacks. */
yynewstate:

Christophe Geuzaine
committed
*++yyssp = yystate;
if (yyssp >= yyss + yystacksize - 1)
{

Christophe Geuzaine
committed
/* Give user a chance to reallocate the stack */
/* Use copies of these so that the &'s don't force the real ones into memory. */
YYSTYPE *yyvs1 = yyvs;
short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
YYLTYPE *yyls1 = yyls;
#endif
/* Get the current used size of the three stacks, in elements. */

Christophe Geuzaine
committed
int size = yyssp - yyss + 1;
#ifdef yyoverflow

Christophe Geuzaine
committed
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
/* Each stack pointer address is followed by the size of
the data in use in that stack, in bytes. */
#ifdef YYLSP_NEEDED
/* This used to be a conditional around just the two extra args,
but that might be undefined if yyoverflow is a macro. */
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yyls1, size * sizeof (*yylsp),
&yystacksize);
#else
yyoverflow("parser stack overflow",
&yyss1, size * sizeof (*yyssp),
&yyvs1, size * sizeof (*yyvsp),
&yystacksize);
#endif
yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
yyls = yyls1;
#endif
#else /* no yyoverflow */
/* Extend the stack our own way. */
if (yystacksize >= YYMAXDEPTH)

Christophe Geuzaine
committed
{
yyerror("parser stack overflow");
if (yyfree_stacks)
{
free (yyss);
free (yyvs);
#ifdef YYLSP_NEEDED
free (yyls);
#endif
}
return 2;
}
yystacksize *= 2;
if (yystacksize > YYMAXDEPTH)
yystacksize = YYMAXDEPTH;

Christophe Geuzaine
committed
#ifndef YYSTACK_USE_ALLOCA
yyfree_stacks = 1;
#endif
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
__yy_memcpy ((char *)yyss, (char *)yyss1,
size * (unsigned int) sizeof (*yyssp));
yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
__yy_memcpy ((char *)yyvs, (char *)yyvs1,
size * (unsigned int) sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
__yy_memcpy ((char *)yyls, (char *)yyls1,
size * (unsigned int) sizeof (*yylsp));
#endif
#endif /* no yyoverflow */

Christophe Geuzaine
committed
yyssp = yyss + size - 1;
yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
yylsp = yyls + size - 1;
#endif

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif
if (yyssp >= yyss + yystacksize - 1)
YYABORT;
}

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Entering state %d\n", yystate);
#endif
goto yybackup;

Christophe Geuzaine
committed
yybackup:
/* Do appropriate processing given the current state. */
/* Read a lookahead token if we need one and don't already have one. */
/* yyresume: */
/* First try to decide what to do without reference to lookahead token. */
yyn = yypact[yystate];
if (yyn == YYFLAG)
goto yydefault;
/* Not known => get a lookahead token if don't already have one. */
/* yychar is either YYEMPTY or YYEOF
or a valid token in external form. */
if (yychar == YYEMPTY)
{

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Reading a token: ");
#endif
yychar = YYLEX;
}
/* Convert token to internal form (in yychar1) for indexing tables with */
if (yychar <= 0) /* This means end of input. */
{
yychar1 = 0;
yychar = YYEOF; /* Don't call YYLEX any more */

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Now at end of input.\n");
#endif
}
else
{

Christophe Geuzaine
committed
yychar1 = YYTRANSLATE(yychar);

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
{

Christophe Geuzaine
committed
fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
/* Give the individual parser a way to print the precise meaning
of a token, for further debugging info. */
#ifdef YYPRINT
YYPRINT (stderr, yychar, yylval);

Christophe Geuzaine
committed
#endif
fprintf (stderr, ")\n");
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
}
#endif
}
yyn += yychar1;
if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
goto yydefault;
yyn = yytable[yyn];
/* yyn is what to do for this token type in this state.
Negative => reduce, -yyn is rule number.
Positive => shift, yyn is new state.
New state is final state => don't bother to shift,
just return success.
0, or most negative number => error. */
if (yyn < 0)
{
if (yyn == YYFLAG)
goto yyerrlab;
yyn = -yyn;
goto yyreduce;
}
else if (yyn == 0)
goto yyerrlab;
if (yyn == YYFINAL)
YYACCEPT;
/* Shift the lookahead token. */

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif
/* Discard the token being shifted unless it is eof. */
if (yychar != YYEOF)
yychar = YYEMPTY;
*++yyvsp = yylval;

Christophe Geuzaine
committed
#ifdef YYLSP_NEEDED
*++yylsp = yylloc;
#endif

Christophe Geuzaine
committed
/* count tokens shifted since error; after three, turn off error status. */
if (yyerrstatus) yyerrstatus--;
yystate = yyn;
goto yynewstate;

Christophe Geuzaine
committed
/* Do the default action for the current state. */

Christophe Geuzaine
committed
yyn = yydefact[yystate];
if (yyn == 0)
goto yyerrlab;

Christophe Geuzaine
committed
/* Do a reduction. yyn is the number of a rule to reduce with. */
yyreduce:
yylen = yyr2[yyn];

Christophe Geuzaine
committed
if (yylen > 0)
yyval = yyvsp[1-yylen]; /* implement default value of the action */

Christophe Geuzaine
committed
#if YYDEBUG != 0
if (yydebug)
{

Christophe Geuzaine
committed
int i;

Christophe Geuzaine
committed
fprintf (stderr, "Reducing via rule %d (line %d), ",
yyn, yyrline[yyn]);
/* Print the symbols being reduced, and their result. */

Christophe Geuzaine
committed
for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
fprintf (stderr, "%s ", yytname[yyrhs[i]]);
fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
}
#endif

Christophe Geuzaine
committed
switch (yyn) {
case 4:

Christophe Geuzaine
committed
#line 179 "Gmsh.y"

Christophe Geuzaine
committed
#line 185 "Gmsh.y"
{ yyval.d = yyvsp[0].d; ;
break;}
case 6:

Christophe Geuzaine
committed
#line 186 "Gmsh.y"
{ yyval.d = -yyvsp[0].d; ;
break;}
case 7:

Christophe Geuzaine
committed
#line 191 "Gmsh.y"
{

Christophe Geuzaine
committed
yymsg(INFO, "STL file format");
STL_Surf = Create_Surface(1,MSH_SURF_STL);
STL_Surf->STL = new STL_Data;
return 1;
;
break;}

Christophe Geuzaine
committed
#line 205 "Gmsh.y"
{
STL_Surf->STL->Add_Facet( yyvsp[-12].d, yyvsp[-11].d, yyvsp[-10].d,
yyvsp[-8].d, yyvsp[-7].d, yyvsp[-6].d,
yyvsp[-4].d, yyvsp[-3].d, yyvsp[-2].d);
return 1;
;
break;}

Christophe Geuzaine
committed
#line 212 "Gmsh.y"
{

Christophe Geuzaine
committed
yymsg(INFO, "STL file format read");
Tree_Add(THEM->Surfaces, &STL_Surf);
return 1;
;
break;}

Christophe Geuzaine
committed
#line 227 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 228 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 229 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 234 "Gmsh.y"
{

Christophe Geuzaine
committed
yymsg(INFO, "Step Iso-10303-21 file format");
Create_Step_Solid_BRep();
;
break;}

Christophe Geuzaine
committed
#line 239 "Gmsh.y"
{

Christophe Geuzaine
committed
yymsg(INFO, "Step Iso-10303-21 file format read");
Resolve_BREP ();
;
break;}

Christophe Geuzaine
committed
#line 250 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
#line 253 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
#line 257 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
#line 263 "Gmsh.y"
{
Add_Cartesian_Point((int)yyvsp[-8].d,yyvsp[-4].c,yyvsp[-2].v[0],yyvsp[-2].v[1],yyvsp[-2].v[2]);
;
break;}

Christophe Geuzaine
committed
#line 269 "Gmsh.y"
{
Add_BSpline_Curve_With_Knots ((int)yyvsp[-22].d, yyvsp[-18].c, (int) yyvsp[-16].d, yyvsp[-14].l, yyvsp[-6].l, yyvsp[-4].l, 0., 1.);
;
break;}

Christophe Geuzaine
committed
#line 276 "Gmsh.y"
{
Add_BSpline_Surface_With_Knots ((int)yyvsp[-30].d, yyvsp[-26].c, (int) yyvsp[-24].d, (int) yyvsp[-22].d, yyvsp[-20].l, yyvsp[-10].l,
yyvsp[-8].l, yyvsp[-6].l, yyvsp[-4].l, 0., 1., 0., 1. );
;
break;}

Christophe Geuzaine
committed
#line 282 "Gmsh.y"
{
Add_Edge_Curve ((int)yyvsp[-14].d, yyvsp[-10].c , (int)yyvsp[-8].d , (int)yyvsp[-6].d, (int)yyvsp[-4].d);
;
break;}

Christophe Geuzaine
committed
#line 286 "Gmsh.y"
{
Add_Face_Outer_Bound((int)yyvsp[-10].d,yyvsp[-6].c,(int)yyvsp[-4].d,yyvsp[-2].i,1);
;
break;}

Christophe Geuzaine
committed
#line 290 "Gmsh.y"
{
// check the norm! Face_Bound : hole outside surface!

Christophe Geuzaine
committed
yymsg(INFO, "Found a face bound");
Add_Face_Outer_Bound((int)yyvsp[-10].d,yyvsp[-6].c,(int)yyvsp[-4].d,yyvsp[-2].i,0);
;
break;}
case 29:

Christophe Geuzaine
committed
#line 297 "Gmsh.y"
{
Add_Oriented_Edge((int)yyvsp[-14].d,yyvsp[-10].c,(int)yyvsp[-4].d,yyvsp[-2].i);
;
break;}
case 30:

Christophe Geuzaine
committed
#line 301 "Gmsh.y"
{
Add_Edge_Loop((int)yyvsp[-8].d,yyvsp[-4].c,yyvsp[-2].l);
;
break;}
case 31:

Christophe Geuzaine
committed
#line 306 "Gmsh.y"
{
Add_Advanced_Face((int)yyvsp[-12].d,yyvsp[-8].c,yyvsp[-6].l,(int)yyvsp[-4].d,yyvsp[-2].i);
;
break;}
case 32:

Christophe Geuzaine
committed
#line 310 "Gmsh.y"
{
Add_Vertex_Point((int)yyvsp[-8].d,yyvsp[-4].c,(int)yyvsp[-2].d);
;
break;}
case 33:

Christophe Geuzaine
committed
#line 314 "Gmsh.y"
{
;
break;}
case 34:

Christophe Geuzaine
committed
#line 318 "Gmsh.y"
{
Add_Axis2_Placement3D ( (int)yyvsp[-12].d, (int)yyvsp[-4].d, (int)yyvsp[-2].d, (int)yyvsp[-6].d);
;
break;}
case 35:

Christophe Geuzaine
committed
#line 322 "Gmsh.y"
{
Add_Direction((int)yyvsp[-8].d , yyvsp[-4].c, yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2]);
;
break;}
case 36:

Christophe Geuzaine
committed
#line 326 "Gmsh.y"
{
Add_Plane((int)yyvsp[-8].d,yyvsp[-4].c,(int)yyvsp[-2].d);
;
break;}
case 37:

Christophe Geuzaine
committed
#line 330 "Gmsh.y"
{
Add_Line ((int)yyvsp[-10].d, yyvsp[-6].c , (int) yyvsp[-4].d, (int)yyvsp[-2].d);
;
break;}
case 38:

Christophe Geuzaine
committed
#line 334 "Gmsh.y"
{

Christophe Geuzaine
committed
yymsg(INFO, "Found a closed shell");
Add_Closed_Shell((int)yyvsp[-8].d, yyvsp[-4].c , yyvsp[-2].l);
;
break;}
case 39:

Christophe Geuzaine
committed
#line 340 "Gmsh.y"
{
;
break;}
case 40:

Christophe Geuzaine
committed
#line 343 "Gmsh.y"
{
;
break;}
case 41:

Christophe Geuzaine
committed
#line 346 "Gmsh.y"
{
Add_Cylinder ((int)yyvsp[-10].d, yyvsp[-6].c , (int)yyvsp[-4].d, yyvsp[-2].d);
;
break;}
case 42:

Christophe Geuzaine
committed
#line 350 "Gmsh.y"
{
Add_Cone ((int)yyvsp[-12].d, yyvsp[-8].c , (int)yyvsp[-6].d, yyvsp[-4].d,yyvsp[-2].d);
;
break;}
case 43:

Christophe Geuzaine
committed
#line 354 "Gmsh.y"
{
Add_Torus ((int)yyvsp[-12].d, yyvsp[-8].c , (int)yyvsp[-6].d, yyvsp[-4].d,yyvsp[-2].d);
;
break;}
case 44:

Christophe Geuzaine
committed
#line 358 "Gmsh.y"
{
Add_Circle((int) yyvsp[-10].d, yyvsp[-6].c, (int) yyvsp[-4].d, yyvsp[-2].d);
;
break;}
case 45:

Christophe Geuzaine
committed
#line 362 "Gmsh.y"
{
Add_Ellipse((int) yyvsp[-12].d, yyvsp[-8].c, (int) yyvsp[-6].d, yyvsp[-4].d, yyvsp[-2].d);
;
break;}
case 46:

Christophe Geuzaine
committed
#line 367 "Gmsh.y"
{
;
break;}
case 47:

Christophe Geuzaine
committed
#line 370 "Gmsh.y"
{
;
break;}
case 48:

Christophe Geuzaine
committed
#line 374 "Gmsh.y"
{
;
break;}
case 49:

Christophe Geuzaine
committed
#line 377 "Gmsh.y"
{
;
break;}
case 50:

Christophe Geuzaine
committed
#line 381 "Gmsh.y"
{
;
break;}
case 51:

Christophe Geuzaine
committed
#line 384 "Gmsh.y"
break;}
case 52:

Christophe Geuzaine
committed
#line 387 "Gmsh.y"
{
;
break;}
case 53:

Christophe Geuzaine
committed
#line 395 "Gmsh.y"
break;}

Christophe Geuzaine
committed
#line 398 "Gmsh.y"

Christophe Geuzaine
committed
yymsg(INFO, "Gmsh file format read");
break;}

Christophe Geuzaine
committed
#line 404 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 405 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 406 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 407 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 408 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 409 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 410 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 411 "Gmsh.y"
break;}

Christophe Geuzaine
committed
#line 412 "Gmsh.y"
break;}

Christophe Geuzaine
committed
#line 413 "Gmsh.y"
{ return 1; ;
break;}

Christophe Geuzaine
committed
#line 414 "Gmsh.y"

Christophe Geuzaine
committed
#line 415 "Gmsh.y"

Christophe Geuzaine
committed
#line 416 "Gmsh.y"

Christophe Geuzaine
committed
{ return 1; ;
break;}
case 68:

Christophe Geuzaine
committed
#line 421 "Gmsh.y"

Christophe Geuzaine
committed
Msg(DIRECT, yyvsp[-2].c);

Christophe Geuzaine
committed
case 69:

Christophe Geuzaine
committed
#line 425 "Gmsh.y"
i = PrintListOfDouble(yyvsp[-4].c,yyvsp[-2].l,tmpstring);
if(i<0)

Christophe Geuzaine
committed
yymsg(GERROR, "Too few arguments in Printf");

Christophe Geuzaine
committed
yymsg(GERROR, "Too many arguments (%d) in Printf", i);

Christophe Geuzaine
committed
case 70:

Christophe Geuzaine
committed
#line 441 "Gmsh.y"
{
if(!strcmp(yyvsp[-5].c, "View")) EndView(View, 1, yyname, yyvsp[-4].c);
;
break;}

Christophe Geuzaine
committed
case 71:

Christophe Geuzaine
committed
#line 445 "Gmsh.y"
{
if(!strcmp(yyvsp[-7].c, "View")) EndView(View, 1, yyname, yyvsp[-6].c);
;
break;}

Christophe Geuzaine
committed
case 72:

Christophe Geuzaine
committed
#line 452 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 99:
#line 485 "Gmsh.y"
{ List_Add(View->SP, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 100:
#line 487 "Gmsh.y"
{ List_Add(View->SP, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
break;}

Christophe Geuzaine
committed
case 101:
#line 492 "Gmsh.y"
List_Add(View->SP, &yyvsp[-5].d); List_Add(View->SP, &yyvsp[-3].d);
List_Add(View->SP, &yyvsp[-1].d);
;
break;}

Christophe Geuzaine
committed
case 102:
#line 497 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 103:
#line 504 "Gmsh.y"
{ List_Add(View->VP, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 104:
#line 506 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->VP, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 105:
#line 511 "Gmsh.y"
List_Add(View->VP, &yyvsp[-5].d); List_Add(View->VP, &yyvsp[-3].d);
List_Add(View->VP, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 106:
#line 516 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 107:
#line 523 "Gmsh.y"
{ List_Add(View->TP, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 108:
#line 525 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->TP, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 109:
#line 530 "Gmsh.y"
List_Add(View->TP, &yyvsp[-5].d); List_Add(View->TP, &yyvsp[-3].d);
List_Add(View->TP, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 110:
#line 535 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 111:
#line 542 "Gmsh.y"
{ List_Add(View->SL, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 112:
#line 544 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->SL, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 113:
#line 550 "Gmsh.y"
List_Add(View->SL, &yyvsp[-11].d); List_Add(View->SL, &yyvsp[-5].d);
List_Add(View->SL, &yyvsp[-9].d); List_Add(View->SL, &yyvsp[-3].d);
List_Add(View->SL, &yyvsp[-7].d); List_Add(View->SL, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 114:
#line 556 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 115:
#line 563 "Gmsh.y"
{ List_Add(View->VL, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 116:
#line 565 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->VL, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 117:
#line 571 "Gmsh.y"
List_Add(View->VL, &yyvsp[-11].d); List_Add(View->VL, &yyvsp[-5].d);
List_Add(View->VL, &yyvsp[-9].d); List_Add(View->VL, &yyvsp[-3].d);
List_Add(View->VL, &yyvsp[-7].d); List_Add(View->VL, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 118:
#line 577 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 119:
#line 584 "Gmsh.y"
{ List_Add(View->TL, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 120:
#line 586 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->TL, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 121:
#line 592 "Gmsh.y"
List_Add(View->TL, &yyvsp[-11].d); List_Add(View->TL, &yyvsp[-5].d);
List_Add(View->TL, &yyvsp[-9].d); List_Add(View->TL, &yyvsp[-3].d);
List_Add(View->TL, &yyvsp[-7].d); List_Add(View->TL, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 122:
#line 598 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 123:
#line 605 "Gmsh.y"
{ List_Add(View->ST, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 124:
#line 607 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->ST, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 125:
#line 614 "Gmsh.y"
List_Add(View->ST, &yyvsp[-17].d); List_Add(View->ST, &yyvsp[-11].d);
List_Add(View->ST, &yyvsp[-5].d);
List_Add(View->ST, &yyvsp[-15].d); List_Add(View->ST, &yyvsp[-9].d);
List_Add(View->ST, &yyvsp[-3].d);
List_Add(View->ST, &yyvsp[-13].d); List_Add(View->ST, &yyvsp[-7].d);
List_Add(View->ST, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 126:
#line 623 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 127:
#line 630 "Gmsh.y"
{ List_Add(View->VT, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 128:
#line 632 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->VT, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 129:
#line 639 "Gmsh.y"
List_Add(View->VT, &yyvsp[-17].d); List_Add(View->VT, &yyvsp[-11].d);
List_Add(View->VT, &yyvsp[-5].d);
List_Add(View->VT, &yyvsp[-15].d); List_Add(View->VT, &yyvsp[-9].d);
List_Add(View->VT, &yyvsp[-3].d);
List_Add(View->VT, &yyvsp[-13].d); List_Add(View->VT, &yyvsp[-7].d);
List_Add(View->VT, &yyvsp[-1].d);

Christophe Geuzaine
committed
case 130:
#line 648 "Gmsh.y"
{
;
break;}

Christophe Geuzaine
committed
case 131:
#line 655 "Gmsh.y"
{ List_Add(View->TT, &yyvsp[0].d) ; ;

Christophe Geuzaine
committed
case 132:
#line 657 "Gmsh.y"

Christophe Geuzaine
committed
{ List_Add(View->TT, &yyvsp[0].d) ; ;
break;}

Christophe Geuzaine
committed
case 133:
#line 664 "Gmsh.y"
List_Add(View->TT, &yyvsp[-17].d); List_Add(View->TT, &yyvsp[-11].d);
List_Add(View->TT, &yyvsp[-5].d);
List_Add(View->TT, &yyvsp[-15].d); List_Add(View->TT, &yyvsp[-9].d);