diff --git a/Geo/GVertex.h b/Geo/GVertex.h index bfb1917d7b61bc849f326e302e73665a0ac4c148..03260f4bdc937e31d9a42bc1de3d66c2b959dc07 100644 --- a/Geo/GVertex.h +++ b/Geo/GVertex.h @@ -43,6 +43,7 @@ class GVertex : public GEntity virtual int dim() const {return 0;} virtual GeomType geomType() const {return Point;} inline double prescribedMeshSizeAtVertex() const {return meshSize;} + virtual void setPrescribedMeshSizeAtVertex(double l) {meshSize = l;} virtual SBoundingBox3d bounds(){ return SBoundingBox3d(SPoint3(x(), y(), z())); } virtual SPoint2 reparamOnFace ( GFace *gf , int) const; virtual std::string getAdditionalInfoString(); diff --git a/Geo/gmshVertex.h b/Geo/gmshVertex.h index 06f61bbd6804c975a0af9bea8db13fcc8f07b8ad..256f438817415cf517c5a18c5dd0af0841f3b8aa 100644 --- a/Geo/gmshVertex.h +++ b/Geo/gmshVertex.h @@ -61,6 +61,7 @@ class gmshVertex : public GVertex { } ModelType getNativeType() const { return GmshModel; } void * getNativePtr() const { return v; } + virtual void setPrescribedMeshSizeAtVertex(double l) {meshSize = l;v->lc = meshSize;} }; #endif diff --git a/Mesh/BackgroundMesh.cpp b/Mesh/BackgroundMesh.cpp index 7beb9a4ecf70c7ca57c89d29c31909142a0cabbd..16c1fe96a7807e936d374199f46143969b4bf594 100644 --- a/Mesh/BackgroundMesh.cpp +++ b/Mesh/BackgroundMesh.cpp @@ -1,4 +1,4 @@ -// $Id: BackgroundMesh.cpp,v 1.6 2006-11-29 23:26:51 geuzaine Exp $ +// $Id: BackgroundMesh.cpp,v 1.7 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -96,6 +96,8 @@ double LC_MVertex_CURV ( GEntity *ge, double U, double V ) Crv = max_surf_curvature ( (const GVertex *)ge); break; case 1: + GEdge *ged = (GEdge *)ge; + //Crv = ged->curvature( U ); Crv = max_surf_curvature ( (const GEdge *)ge, U); break; case 2: @@ -155,21 +157,26 @@ double LC_MVertex_PNTS ( GEntity *ge, double U, double V ) double BGM_MeshSize ( GEntity *ge, double U, double V , double X, double Y, double Z) { + // FIXME + // This should be controlled by the interface + if(CTX.mesh.bgmesh_type == ONFILE && !CTX.mesh.constrained_bgmesh){ // unconstrained background mesh - return BGMXYZ(X,Y,Z) * CTX.mesh.lc_factor; - } - else{ - double l1 = 1.e22; - double l2 = 1.e22; - // if (ge->dim() < 3) l1 = LC_MVertex_CURV ( ge, U, V ); - if (ge->dim() < 2) l2 = LC_MVertex_PNTS ( ge, U, V ); - double l3 = ge->model()->getMeshSize(); - double l = std::min(std::min(l1,l2),l3); - double l4 = LC_MVertex_BGM ( ge, X, Y , Z ); - l = std::min(l,l4); - return l * CTX.mesh.lc_factor ; + return BGMXYZ(X,Y,Z) ; } + + double l2 = 1.e22; + double l3 = ge->model()->getMeshSize(); + double l4 = LC_MVertex_BGM ( ge, X, Y , Z ); + if (ge->dim() < 2) l2 = LC_MVertex_PNTS ( ge, U, V ); + double l = std::min(std::min(l2,l4),l3); + + l *= CTX.mesh.lc_factor ; + double l1 = 1.e22; + + if (CTX.mesh.min_circ_points>0 && ge->dim() < 3) l1 = std::max(l3/300,LC_MVertex_CURV ( ge, U, V )); + + return std::min(l,l1) ; } int BGMWithView(Post_View * ErrView) diff --git a/Mesh/DivideAndConquer.cpp b/Mesh/DivideAndConquer.cpp index 6484e5ee3a3933e6a4478298d2706de3f2244e5e..268978b7ce876fb85fc0120f659c21407579b06e 100644 --- a/Mesh/DivideAndConquer.cpp +++ b/Mesh/DivideAndConquer.cpp @@ -1,4 +1,4 @@ -// $Id: DivideAndConquer.cpp,v 1.4 2006-11-27 22:22:16 geuzaine Exp $ +// $Id: DivideAndConquer.cpp,v 1.5 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -566,29 +566,29 @@ void filldel(Delaunay * deladd, int aa, int bb, int cc, deladd->t.a = aa; deladd->t.b = bb; deladd->t.c = cc; - deladd->t.info = TOLINK; - deladd->t.info2 = 0; + // deladd->t.info = TOLINK; + // deladd->t.info2 = 0; deladd->v.voisin1 = NULL; deladd->v.voisin2 = NULL; deladd->v.voisin3 = NULL; - CircumCircle(points[aa].where.h, points[aa].where.v, - points[bb].where.h, points[bb].where.v, - points[cc].where.h, points[cc].where.v, - &deladd->t.xc, &deladd->t.yc); +// CircumCircle(points[aa].where.h, points[aa].where.v, +// points[bb].where.h, points[bb].where.v, +// points[cc].where.h, points[cc].where.v, +// &deladd->t.xc, &deladd->t.yc); - pt2.h = deladd->t.xc; - pt2.v = deladd->t.yc; +// pt2.h = deladd->t.xc; +// pt2.v = deladd->t.yc; - newqual = (points[aa].quality + points[bb].quality + points[cc].quality) / 3.; +// newqual = (points[aa].quality + points[bb].quality + points[cc].quality) / 3.; - deladd->t.quality_value = - sqrt((deladd->t.xc - points[cc].where.h) * (deladd->t.xc - - points[cc].where.h) + - (deladd->t.yc - points[cc].where.v) * (deladd->t.yc - - points[cc].where.v) - ) / newqual; - deladd->t.position = INTERN; +// deladd->t.quality_value = +// sqrt((deladd->t.xc - points[cc].where.h) * (deladd->t.xc - +// points[cc].where.h) + +// (deladd->t.yc - points[cc].where.v) * (deladd->t.yc - +// points[cc].where.v) +// ) / newqual; +// deladd->t.position = INTERN; } /* Convertir les listes d'adjacence en triangles */ diff --git a/Mesh/DivideAndConquer.h b/Mesh/DivideAndConquer.h index e2c4055cbc81d28c38ccad0b1b9325f2cbb8a0c1..971b2506b14d72870abcd7577b44ee8b5259952f 100644 --- a/Mesh/DivideAndConquer.h +++ b/Mesh/DivideAndConquer.h @@ -41,7 +41,7 @@ typedef struct{ struct _POINT{ MPoint where; DListPeek adjacent; - double quality; + // double quality; void *data; }; @@ -73,9 +73,9 @@ typedef struct{ typedef struct{ PointNumero a, b, c; - double xc, yc; - double quality_value; - int position, info, info2; + // double xc, yc; + // double quality_value; + // int position, info, info2; }Triangle; typedef struct { diff --git a/Mesh/meshGEdge.cpp b/Mesh/meshGEdge.cpp index 9c0d0b1a3fb170a1840642bb3bc33047031d3ae4..60c3f0b416a8ee87546a82f294e7460067731227 100644 --- a/Mesh/meshGEdge.cpp +++ b/Mesh/meshGEdge.cpp @@ -1,4 +1,4 @@ -// $Id: meshGEdge.cpp,v 1.22 2006-11-29 16:57:01 remacle Exp $ +// $Id: meshGEdge.cpp,v 1.23 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -47,7 +47,13 @@ double F_LC_ANALY (double xx, double yy, double zz) double F_Lc(double t) { GPoint p = _myGEdge -> point (t); - double lc_here = BGM_MeshSize(_myGEdge, t , 0 , p.x(),p.y(),p.z()); + double lc_here; + if (t == t_begin) + lc_here = BGM_MeshSize(_myGEdge->getBeginVertex(), t , 0 , p.x(),p.y(),p.z()); + else if (t == t_end) + lc_here = BGM_MeshSize(_myGEdge->getEndVertex(), t , 0 , p.x(),p.y(),p.z()); + else + lc_here = BGM_MeshSize(_myGEdge, t , 0 , p.x(),p.y(),p.z()); SVector3 der = _myGEdge -> firstDer(t) ; const double d = norm(der); return d/lc_here; diff --git a/Mesh/meshGFace.cpp b/Mesh/meshGFace.cpp index f77e716cbd5be1341ef75544882948ad04c5cd22..c43561c45bf21c1a59145062fc459563a6299784 100644 --- a/Mesh/meshGFace.cpp +++ b/Mesh/meshGFace.cpp @@ -1,4 +1,4 @@ -// $Id: meshGFace.cpp,v 1.34 2006-11-29 16:57:01 remacle Exp $ +// $Id: meshGFace.cpp,v 1.35 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -262,13 +262,13 @@ void RefineMesh ( GFace *gf, BDS_Mesh &m , const int NIT) { std::list<BDS_Edge*>::iterator it = (*itp)->edges.begin(); std::list<BDS_Edge*>::iterator ite = (*itp)->edges.end(); - double L = 1.e245; + double L = 1.e22; while(it!=ite){ double l = (*it)->length(); if (l<L && (*it)->g && (*it)->g->classif_degree == 1)L=l; ++it; } - (*itp)->lc() = std::min(L,(*itp)->lc()); + (*itp)->lc() = std::max(L,(*itp)->lc()); ++itp; } @@ -341,6 +341,7 @@ void RefineMesh ( GFace *gf, BDS_Mesh &m , const int NIT) (coord * (*it)->p1->v + (1 - coord) * (*it)->p2->v)*m.scalingV, mid->X,mid->Y,mid->Z); mid->lc() = std::min(l1,l2); + //mid->lc() = l2; m.split_edge ( *it, mid ); nb_split++; } @@ -611,10 +612,10 @@ void gmsh2DMeshGenerator ( GFace *gf ) /// add 4 points than encloses the domain /// Use negative number to distinguish thos fake vertices MVertex *bb[4]; - bb[0] = new MVertex ( bbox.min().x(), bbox.min().y(), 0,0,-1); - bb[1] = new MVertex ( bbox.min().x(), bbox.max().y(), 0,0,-2); - bb[2] = new MVertex ( bbox.max().x(), bbox.min().y(), 0,0,-3); - bb[3] = new MVertex ( bbox.max().x(), bbox.max().y(), 0,0,-4); + bb[0] = new MVertex ( bbox.min().x(), bbox.min().y(), 0,gf,-1); + bb[1] = new MVertex ( bbox.min().x(), bbox.max().y(), 0,gf,-2); + bb[2] = new MVertex ( bbox.max().x(), bbox.min().y(), 0,gf,-3); + bb[3] = new MVertex ( bbox.max().x(), bbox.max().y(), 0,gf,-4); for ( int ip = 0 ; ip<4 ; ip++ ) { @@ -644,8 +645,20 @@ void gmsh2DMeshGenerator ( GFace *gf ) double U = U_[num]; double V = V_[num]; BDS_Point *pp = m->add_point ( num, U,V, gf); - pp->lc() = BGM_MeshSize ( gf, U, V, here->x(),here->y(),here->z()); + // printf("here->onWhat = %p dim = %d\n",here->onWhat(),here->onWhat()->dim()); + + if (here->onWhat()->dim() == 1) + { + double t; + here->getParameter(0,t); + pp->lc() = BGM_MeshSize ( here->onWhat(), t, 0, here->x(),here->y(),here->z()); + } + else + pp->lc() = BGM_MeshSize ( here->onWhat(), U, V, here->x(),here->y(),here->z()); } + + Msg(DEBUG1,"Meshing of the convex hull (%d points) done",all_vertices.size()); + for(int i = 0; i < doc.numTriangles; i++) { MVertex *V1 = (MVertex*)doc.points[doc.delaunay[i].t.a].data; diff --git a/Mesh/meshGRegion.cpp b/Mesh/meshGRegion.cpp index 5b60728f7bc3adee8cbe6c3182e9261d877a83fc..365a96a549142be5e60b8e5647a21c693b4cc867 100644 --- a/Mesh/meshGRegion.cpp +++ b/Mesh/meshGRegion.cpp @@ -1,4 +1,4 @@ -// $Id: meshGRegion.cpp,v 1.18 2006-11-29 23:44:40 geuzaine Exp $ +// $Id: meshGRegion.cpp,v 1.19 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -471,6 +471,7 @@ void meshGRegion::operator() (GRegion *gr) insertVerticesInRegion(gr); // restore the initial set of faces gr->set(faces); + // meshNormalsPointOutOfTheRegion(gr); #endif } diff --git a/Mesh/meshGRegionDelaunayInsertion.cpp b/Mesh/meshGRegionDelaunayInsertion.cpp index a3b425b8d650dcd5b825c32c327f85ad1f94abcf..a7443aca00d0d327e4087e0f496fd94ae4521fec 100644 --- a/Mesh/meshGRegionDelaunayInsertion.cpp +++ b/Mesh/meshGRegionDelaunayInsertion.cpp @@ -1,4 +1,4 @@ -// $Id: meshGRegionDelaunayInsertion.cpp,v 1.7 2006-11-29 16:57:01 remacle Exp $ +// $Id: meshGRegionDelaunayInsertion.cpp,v 1.8 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -337,12 +337,12 @@ void insertVerticesInRegion (GRegion *gr) { MVertex *v = new MVertex (center[0],center[1],center[2]); v->setNum(NUM++); -// double lc = -// (1-uvw[0]-uvw[1]-uvw[2])*vSizes[worst->tet()->getVertex(0)->getNum()] + -// (uvw[0])*vSizes[worst->tet()->getVertex(1)->getNum()] + -// (uvw[1])*vSizes[worst->tet()->getVertex(2)->getNum()] + -// (uvw[2])*vSizes[worst->tet()->getVertex(3)->getNum()]; - double lc = BGM_MeshSize(gr,0,0,center[0],center[1],center[2]); + double lc1 = + (1-uvw[0]-uvw[1]-uvw[2])*vSizes[worst->tet()->getVertex(0)->getNum()] + + (uvw[0])*vSizes[worst->tet()->getVertex(1)->getNum()] + + (uvw[1])*vSizes[worst->tet()->getVertex(2)->getNum()] + + (uvw[2])*vSizes[worst->tet()->getVertex(3)->getNum()]; + double lc = std::min(lc1,BGM_MeshSize(gr,0,0,center[0],center[1],center[2])); vSizes.push_back(lc); // compute mesh spacing there if (!insertVertex ( v , worst, allTets,vSizes)) diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index b5e19538961d17c1e86427b0b6d869998470b23a..a37b9abb2cdac020cb337e98a48a50b58858d28d 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -1,132 +1,306 @@ +/* A Bison parser, made by GNU Bison 2.0. */ -/* A Bison parser, made from Gmsh.y - by GNU Bison version 1.28 */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define tDOUBLE 257 -#define tSTRING 258 -#define tBIGSTR 259 -#define tEND 260 -#define tAFFECT 261 -#define tDOTS 262 -#define tPi 263 -#define tMPI_Rank 264 -#define tMPI_Size 265 -#define tExp 266 -#define tLog 267 -#define tLog10 268 -#define tSqrt 269 -#define tSin 270 -#define tAsin 271 -#define tCos 272 -#define tAcos 273 -#define tTan 274 -#define tRand 275 -#define tAtan 276 -#define tAtan2 277 -#define tSinh 278 -#define tCosh 279 -#define tTanh 280 -#define tFabs 281 -#define tFloor 282 -#define tCeil 283 -#define tFmod 284 -#define tModulo 285 -#define tHypot 286 -#define tPrintf 287 -#define tSprintf 288 -#define tStrCat 289 -#define tStrPrefix 290 -#define 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 +/* 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. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + + + +/* 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 + + + + +/* Copy the first part of user declarations. */ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.287 2006-11-29 20:40:47 geuzaine Exp $ +// $Id: Gmsh.tab.cpp,v 1.288 2006-11-30 11:32:26 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -199,8 +373,23 @@ void skip_until(char *skip, char *until); int PrintListOfDouble(char *format, List_T *list, char *buffer); int CheckViewErrorFlags(Post_View *v); + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 76 "Gmsh.y" -typedef union { +typedef union YYSTYPE { char *c; int i; unsigned int u; @@ -209,2319 +398,2775 @@ typedef union { Shape s; List_T *l; } YYSTYPE; -#include <stdio.h> - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif +/* Line 190 of yacc.c. */ +#line 403 "Gmsh.tab.cpp" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 #endif -#define YYFINAL 1224 -#define YYFLAG -32768 -#define YYNTBASE 142 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 375 ? yytranslate[x] : 209) - -static const short yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 127, 2, 137, 2, 125, 2, 2, 132, - 133, 123, 121, 138, 122, 136, 124, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 117, - 2, 119, 111, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 134, 2, 135, 131, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 139, 2, 140, 141, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 112, 113, 114, 115, 116, 118, - 120, 126, 128, 129, 130 -}; +/* Copy the second part of user declarations. */ + + +/* Line 213 of yacc.c. */ +#line 415 "Gmsh.tab.cpp" + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +# ifndef YYFREE +# define YYFREE free +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# endif + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# else +# define YYSTACK_ALLOC alloca +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short int yyss; + YYSTYPE yyvs; + }; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined (__GNUC__) && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 2, 5, 6, 9, 11, 13, 15, 17, 19, - 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, - 41, 44, 50, 58, 66, 76, 83, 92, 93, 96, - 99, 102, 105, 108, 111, 113, 117, 119, 123, 124, - 125, 136, 138, 142, 143, 157, 159, 163, 164, 180, - 189, 190, 197, 204, 206, 208, 210, 212, 214, 216, - 218, 223, 231, 241, 248, 255, 259, 266, 273, 283, - 290, 300, 306, 315, 324, 336, 343, 353, 363, 373, - 375, 377, 385, 394, 407, 414, 422, 430, 438, 448, - 456, 466, 484, 492, 500, 512, 521, 534, 543, 552, - 561, 574, 597, 618, 627, 636, 645, 653, 662, 668, - 680, 686, 696, 698, 700, 702, 703, 706, 713, 720, - 727, 734, 739, 746, 753, 760, 765, 772, 776, 781, - 787, 791, 795, 800, 805, 809, 817, 825, 829, 837, - 841, 844, 847, 863, 866, 873, 882, 891, 902, 904, - 907, 909, 913, 918, 920, 926, 938, 952, 953, 961, - 962, 976, 977, 993, 1002, 1011, 1020, 1033, 1046, 1059, - 1074, 1089, 1104, 1105, 1118, 1119, 1132, 1133, 1146, 1147, - 1164, 1165, 1182, 1183, 1200, 1201, 1220, 1221, 1240, 1241, - 1260, 1262, 1265, 1275, 1283, 1286, 1293, 1303, 1313, 1322, - 1332, 1341, 1350, 1357, 1362, 1369, 1376, 1383, 1390, 1393, - 1396, 1398, 1402, 1405, 1408, 1411, 1415, 1419, 1423, 1427, - 1431, 1435, 1439, 1443, 1447, 1451, 1455, 1459, 1463, 1467, - 1473, 1478, 1483, 1488, 1493, 1498, 1503, 1508, 1513, 1518, - 1523, 1530, 1535, 1540, 1545, 1550, 1555, 1560, 1567, 1574, - 1581, 1586, 1591, 1596, 1601, 1606, 1611, 1616, 1621, 1626, - 1631, 1636, 1643, 1648, 1653, 1658, 1663, 1668, 1673, 1680, - 1687, 1694, 1699, 1701, 1703, 1705, 1707, 1709, 1711, 1713, - 1715, 1721, 1726, 1731, 1734, 1740, 1744, 1751, 1756, 1764, - 1771, 1773, 1776, 1779, 1783, 1787, 1799, 1809, 1817, 1825, - 1826, 1830, 1834, 1836, 1840, 1842, 1844, 1847, 1851, 1856, - 1860, 1866, 1871, 1873, 1875, 1877, 1881, 1886, 1893, 1901, - 1903, 1905, 1909, 1913, 1923, 1931, 1933, 1939, 1943, 1950, - 1952, 1956, 1958, 1960, 1967, 1972, 1977, 1982, 1989, 1996 +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short int yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 5 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 6476 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 142 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 68 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 341 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 1224 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 376 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const unsigned char yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 127, 2, 137, 2, 125, 2, 2, + 132, 133, 123, 121, 138, 122, 136, 124, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 117, 2, 118, 111, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 134, 2, 135, 131, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 139, 2, 140, 141, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, + 116, 119, 120, 126, 128, 129, 130 }; -static const short yyrhs[] = { 143, - 0, 1, 6, 0, 0, 143, 144, 0, 147, 0, - 146, 0, 166, 0, 168, 0, 169, 0, 172, 0, - 173, 0, 174, 0, 175, 0, 178, 0, 193, 0, - 194, 0, 195, 0, 177, 0, 176, 0, 119, 0, - 119, 119, 0, 33, 132, 5, 133, 6, 0, 33, - 132, 5, 133, 145, 208, 6, 0, 33, 132, 5, - 138, 204, 133, 6, 0, 33, 132, 5, 138, 204, - 133, 145, 208, 6, 0, 4, 5, 139, 148, 140, - 6, 0, 4, 5, 4, 198, 139, 148, 140, 6, - 0, 0, 148, 151, 0, 148, 155, 0, 148, 158, - 0, 148, 160, 0, 148, 161, 0, 148, 163, 0, - 196, 0, 149, 138, 196, 0, 196, 0, 150, 138, - 196, 0, 0, 0, 4, 152, 132, 149, 133, 153, - 139, 150, 140, 6, 0, 208, 0, 154, 138, 208, - 0, 0, 76, 132, 196, 138, 196, 138, 196, 133, - 156, 139, 154, 140, 6, 0, 208, 0, 157, 138, - 208, 0, 0, 77, 132, 196, 138, 196, 138, 196, - 138, 196, 133, 159, 139, 157, 140, 6, 0, 78, - 139, 201, 140, 139, 201, 140, 6, 0, 0, 79, - 162, 139, 150, 140, 6, 0, 80, 132, 196, 133, - 202, 6, 0, 7, 0, 107, 0, 108, 0, 109, - 0, 110, 0, 128, 0, 129, 0, 4, 164, 196, - 6, 0, 4, 134, 196, 135, 164, 196, 6, 0, - 4, 134, 139, 204, 140, 135, 164, 202, 6, 0, - 4, 134, 135, 7, 202, 6, 0, 4, 134, 135, - 107, 202, 6, 0, 4, 165, 6, 0, 4, 134, - 196, 135, 165, 6, 0, 4, 136, 4, 7, 208, - 6, 0, 4, 134, 196, 135, 136, 4, 7, 208, - 6, 0, 4, 136, 4, 164, 196, 6, 0, 4, - 134, 196, 135, 136, 4, 164, 196, 6, 0, 4, - 136, 4, 165, 6, 0, 4, 134, 196, 135, 136, - 4, 165, 6, 0, 4, 136, 89, 136, 4, 7, - 205, 6, 0, 4, 134, 196, 135, 136, 89, 136, - 4, 7, 205, 6, 0, 4, 136, 90, 7, 206, - 6, 0, 4, 134, 196, 135, 136, 90, 7, 206, - 6, 0, 60, 132, 4, 133, 136, 4, 7, 196, - 6, 0, 60, 132, 4, 133, 136, 4, 7, 208, - 6, 0, 196, 0, 208, 0, 41, 132, 196, 133, - 7, 198, 6, 0, 56, 41, 132, 167, 133, 7, - 202, 6, 0, 72, 41, 202, 7, 139, 196, 138, - 196, 138, 196, 140, 6, 0, 48, 49, 202, 7, - 196, 6, 0, 44, 132, 196, 133, 7, 202, 6, - 0, 46, 132, 196, 133, 7, 202, 6, 0, 42, - 132, 196, 133, 7, 202, 6, 0, 42, 132, 196, - 133, 7, 202, 52, 198, 6, 0, 43, 132, 196, - 133, 7, 202, 6, 0, 43, 132, 196, 133, 7, - 202, 52, 198, 6, 0, 50, 132, 196, 133, 7, - 139, 196, 138, 196, 138, 5, 138, 5, 138, 5, - 140, 6, 0, 82, 132, 196, 133, 7, 202, 6, - 0, 83, 132, 196, 133, 7, 202, 6, 0, 84, - 132, 196, 133, 7, 202, 88, 202, 85, 196, 6, - 0, 44, 67, 132, 196, 133, 7, 202, 6, 0, - 72, 44, 202, 7, 139, 196, 138, 196, 138, 196, - 140, 6, 0, 56, 44, 132, 167, 133, 7, 202, - 6, 0, 52, 45, 132, 196, 133, 7, 202, 6, - 0, 53, 45, 132, 196, 133, 7, 202, 6, 0, - 100, 45, 132, 196, 133, 7, 139, 196, 138, 202, - 140, 6, 0, 84, 45, 86, 87, 132, 196, 133, - 7, 200, 88, 139, 202, 138, 202, 140, 85, 139, - 196, 138, 196, 140, 6, 0, 84, 45, 132, 196, - 133, 7, 200, 88, 139, 202, 138, 202, 140, 85, - 139, 196, 138, 196, 140, 6, 0, 45, 67, 132, - 196, 133, 7, 202, 6, 0, 56, 45, 132, 167, - 133, 7, 202, 6, 0, 55, 47, 132, 196, 133, - 7, 202, 6, 0, 47, 132, 196, 133, 7, 202, - 6, 0, 56, 47, 132, 167, 133, 7, 202, 6, - 0, 62, 198, 139, 170, 140, 0, 61, 139, 198, - 138, 198, 138, 196, 140, 139, 170, 140, 0, 63, - 198, 139, 170, 140, 0, 64, 139, 198, 138, 196, - 140, 139, 170, 140, 0, 172, 0, 171, 0, 169, - 0, 0, 171, 168, 0, 171, 41, 139, 204, 140, - 6, 0, 171, 44, 139, 204, 140, 6, 0, 171, - 45, 139, 204, 140, 6, 0, 171, 47, 139, 204, - 140, 6, 0, 66, 139, 171, 140, 0, 66, 4, - 134, 196, 135, 6, 0, 74, 4, 134, 196, 135, - 6, 0, 75, 4, 134, 196, 135, 6, 0, 69, - 139, 171, 140, 0, 69, 4, 134, 196, 135, 6, - 0, 69, 4, 6, 0, 69, 4, 4, 6, 0, - 89, 205, 139, 171, 140, 0, 101, 208, 6, 0, - 102, 208, 6, 0, 101, 139, 171, 140, 0, 102, - 139, 171, 140, 0, 4, 208, 6, 0, 4, 4, - 134, 196, 135, 208, 6, 0, 4, 4, 4, 134, - 196, 135, 6, 0, 4, 196, 6, 0, 60, 132, - 4, 133, 136, 4, 6, 0, 81, 4, 6, 0, - 96, 6, 0, 38, 6, 0, 38, 139, 196, 138, - 196, 138, 196, 138, 196, 138, 196, 138, 196, 140, - 6, 0, 39, 6, 0, 91, 132, 196, 8, 196, - 133, 0, 91, 132, 196, 8, 196, 8, 196, 133, - 0, 91, 4, 92, 139, 196, 8, 196, 140, 0, - 91, 4, 92, 139, 196, 8, 196, 8, 196, 140, - 0, 93, 0, 99, 4, 0, 97, 0, 98, 4, - 6, 0, 94, 132, 196, 133, 0, 95, 0, 65, - 198, 139, 171, 140, 0, 65, 139, 198, 138, 198, - 138, 196, 140, 139, 171, 140, 0, 65, 139, 198, - 138, 198, 138, 198, 138, 196, 140, 139, 171, 140, - 0, 0, 65, 198, 139, 171, 179, 191, 140, 0, - 0, 65, 139, 198, 138, 198, 138, 196, 140, 139, - 171, 180, 191, 140, 0, 0, 65, 139, 198, 138, - 198, 138, 198, 138, 196, 140, 139, 171, 181, 191, - 140, 0, 65, 41, 139, 196, 138, 198, 140, 6, - 0, 65, 44, 139, 196, 138, 198, 140, 6, 0, - 65, 45, 139, 196, 138, 198, 140, 6, 0, 65, - 41, 139, 196, 138, 198, 138, 198, 138, 196, 140, - 6, 0, 65, 44, 139, 196, 138, 198, 138, 198, - 138, 196, 140, 6, 0, 65, 45, 139, 196, 138, - 198, 138, 198, 138, 196, 140, 6, 0, 65, 41, - 139, 196, 138, 198, 138, 198, 138, 198, 138, 196, - 140, 6, 0, 65, 44, 139, 196, 138, 198, 138, - 198, 138, 198, 138, 196, 140, 6, 0, 65, 45, - 139, 196, 138, 198, 138, 198, 138, 198, 138, 196, - 140, 6, 0, 0, 65, 41, 139, 196, 138, 198, - 140, 182, 139, 191, 140, 6, 0, 0, 65, 44, - 139, 196, 138, 198, 140, 183, 139, 191, 140, 6, - 0, 0, 65, 45, 139, 196, 138, 198, 140, 184, - 139, 191, 140, 6, 0, 0, 65, 41, 139, 196, - 138, 198, 138, 198, 138, 196, 140, 185, 139, 191, - 140, 6, 0, 0, 65, 44, 139, 196, 138, 198, - 138, 198, 138, 196, 140, 186, 139, 191, 140, 6, - 0, 0, 65, 45, 139, 196, 138, 198, 138, 198, - 138, 196, 140, 187, 139, 191, 140, 6, 0, 0, - 65, 41, 139, 196, 138, 198, 138, 198, 138, 198, - 138, 196, 140, 188, 139, 191, 140, 6, 0, 0, - 65, 44, 139, 196, 138, 198, 138, 198, 138, 198, - 138, 196, 140, 189, 139, 191, 140, 6, 0, 0, - 65, 45, 139, 196, 138, 198, 138, 198, 138, 198, - 138, 196, 140, 190, 139, 191, 140, 6, 0, 192, - 0, 191, 192, 0, 73, 139, 202, 138, 202, 138, - 202, 140, 6, 0, 73, 139, 202, 138, 202, 140, - 6, 0, 68, 6, 0, 54, 44, 202, 7, 196, - 6, 0, 54, 44, 202, 7, 196, 57, 59, 196, - 6, 0, 54, 44, 202, 7, 196, 57, 58, 196, - 6, 0, 54, 45, 139, 196, 140, 7, 202, 6, - 0, 54, 45, 139, 196, 140, 7, 202, 4, 6, - 0, 51, 45, 139, 196, 140, 7, 202, 6, 0, - 54, 47, 139, 196, 140, 7, 202, 6, 0, 68, - 45, 202, 7, 196, 6, 0, 68, 45, 202, 6, - 0, 41, 202, 92, 45, 196, 6, 0, 44, 202, - 92, 45, 196, 6, 0, 44, 202, 92, 47, 196, - 6, 0, 45, 202, 92, 47, 196, 6, 0, 70, - 6, 0, 71, 6, 0, 197, 0, 132, 196, 133, - 0, 122, 196, 0, 121, 196, 0, 127, 196, 0, - 196, 122, 196, 0, 196, 121, 196, 0, 196, 123, - 196, 0, 196, 124, 196, 0, 196, 125, 196, 0, - 196, 131, 196, 0, 196, 117, 196, 0, 196, 119, - 196, 0, 196, 118, 196, 0, 196, 120, 196, 0, - 196, 114, 196, 0, 196, 115, 196, 0, 196, 113, - 196, 0, 196, 112, 196, 0, 196, 111, 196, 8, - 196, 0, 12, 132, 196, 133, 0, 13, 132, 196, - 133, 0, 14, 132, 196, 133, 0, 15, 132, 196, - 133, 0, 16, 132, 196, 133, 0, 17, 132, 196, - 133, 0, 18, 132, 196, 133, 0, 19, 132, 196, - 133, 0, 20, 132, 196, 133, 0, 22, 132, 196, - 133, 0, 23, 132, 196, 138, 196, 133, 0, 24, - 132, 196, 133, 0, 25, 132, 196, 133, 0, 26, - 132, 196, 133, 0, 27, 132, 196, 133, 0, 28, - 132, 196, 133, 0, 29, 132, 196, 133, 0, 30, - 132, 196, 138, 196, 133, 0, 31, 132, 196, 138, - 196, 133, 0, 32, 132, 196, 138, 196, 133, 0, - 21, 132, 196, 133, 0, 12, 134, 196, 135, 0, - 13, 134, 196, 135, 0, 14, 134, 196, 135, 0, - 15, 134, 196, 135, 0, 16, 134, 196, 135, 0, - 17, 134, 196, 135, 0, 18, 134, 196, 135, 0, - 19, 134, 196, 135, 0, 20, 134, 196, 135, 0, - 22, 134, 196, 135, 0, 23, 134, 196, 138, 196, - 135, 0, 24, 134, 196, 135, 0, 25, 134, 196, - 135, 0, 26, 134, 196, 135, 0, 27, 134, 196, - 135, 0, 28, 134, 196, 135, 0, 29, 134, 196, - 135, 0, 30, 134, 196, 138, 196, 135, 0, 31, - 134, 196, 138, 196, 135, 0, 32, 134, 196, 138, - 196, 135, 0, 21, 134, 196, 135, 0, 3, 0, - 9, 0, 10, 0, 11, 0, 104, 0, 105, 0, - 106, 0, 4, 0, 4, 141, 139, 196, 140, 0, - 4, 134, 196, 135, 0, 137, 4, 134, 135, 0, - 4, 165, 0, 4, 134, 196, 135, 165, 0, 4, - 136, 4, 0, 4, 134, 196, 135, 136, 4, 0, - 4, 136, 4, 165, 0, 4, 134, 196, 135, 136, - 4, 165, 0, 103, 132, 5, 138, 196, 133, 0, - 199, 0, 122, 198, 0, 121, 198, 0, 198, 122, - 198, 0, 198, 121, 198, 0, 139, 196, 138, 196, - 138, 196, 138, 196, 138, 196, 140, 0, 139, 196, - 138, 196, 138, 196, 138, 196, 140, 0, 139, 196, - 138, 196, 138, 196, 140, 0, 132, 196, 138, 196, - 138, 196, 133, 0, 0, 139, 201, 140, 0, 132, - 201, 133, 0, 202, 0, 201, 138, 202, 0, 196, - 0, 203, 0, 139, 140, 0, 139, 204, 140, 0, - 122, 139, 204, 140, 0, 196, 8, 196, 0, 196, - 8, 196, 8, 196, 0, 41, 139, 196, 140, 0, - 169, 0, 172, 0, 178, 0, 4, 134, 135, 0, - 122, 4, 134, 135, 0, 4, 134, 139, 204, 140, - 135, 0, 122, 4, 134, 139, 204, 140, 135, 0, - 196, 0, 203, 0, 204, 138, 196, 0, 204, 138, - 203, 0, 139, 196, 138, 196, 138, 196, 138, 196, - 140, 0, 139, 196, 138, 196, 138, 196, 140, 0, - 4, 0, 4, 136, 89, 136, 4, 0, 139, 207, - 140, 0, 4, 134, 196, 135, 136, 90, 0, 205, - 0, 207, 138, 205, 0, 5, 0, 40, 0, 35, - 132, 208, 138, 208, 133, 0, 36, 132, 208, 133, - 0, 37, 132, 208, 133, 0, 34, 132, 208, 133, - 0, 34, 132, 208, 138, 204, 133, 0, 34, 132, - 4, 136, 4, 133, 0, 34, 132, 4, 134, 196, - 135, 136, 4, 133, 0 +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short int yyprhs[] = +{ + 0, 0, 3, 5, 8, 9, 12, 14, 16, 18, + 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, + 40, 42, 44, 47, 53, 61, 69, 79, 86, 95, + 96, 99, 102, 105, 108, 111, 114, 116, 120, 122, + 126, 127, 128, 139, 141, 145, 146, 160, 162, 166, + 167, 183, 192, 193, 200, 207, 209, 211, 213, 215, + 217, 219, 221, 226, 234, 244, 251, 258, 262, 269, + 276, 286, 293, 303, 309, 318, 327, 339, 346, 356, + 366, 376, 378, 380, 388, 397, 410, 417, 425, 433, + 441, 451, 459, 469, 487, 495, 503, 515, 524, 537, + 546, 555, 564, 577, 600, 621, 630, 639, 648, 656, + 665, 671, 683, 689, 699, 701, 703, 705, 706, 709, + 716, 723, 730, 737, 742, 749, 756, 763, 768, 775, + 779, 784, 790, 794, 798, 803, 808, 812, 820, 828, + 832, 840, 844, 847, 850, 866, 869, 876, 885, 894, + 905, 907, 910, 912, 916, 921, 923, 929, 941, 955, + 956, 964, 965, 979, 980, 996, 1005, 1014, 1023, 1036, + 1049, 1062, 1077, 1092, 1107, 1108, 1121, 1122, 1135, 1136, + 1149, 1150, 1167, 1168, 1185, 1186, 1203, 1204, 1223, 1224, + 1243, 1244, 1263, 1265, 1268, 1278, 1286, 1289, 1296, 1306, + 1316, 1325, 1335, 1344, 1353, 1360, 1365, 1372, 1379, 1386, + 1393, 1396, 1399, 1401, 1405, 1408, 1411, 1414, 1418, 1422, + 1426, 1430, 1434, 1438, 1442, 1446, 1450, 1454, 1458, 1462, + 1466, 1470, 1476, 1481, 1486, 1491, 1496, 1501, 1506, 1511, + 1516, 1521, 1526, 1533, 1538, 1543, 1548, 1553, 1558, 1563, + 1570, 1577, 1584, 1589, 1594, 1599, 1604, 1609, 1614, 1619, + 1624, 1629, 1634, 1639, 1646, 1651, 1656, 1661, 1666, 1671, + 1676, 1683, 1690, 1697, 1702, 1704, 1706, 1708, 1710, 1712, + 1714, 1716, 1718, 1724, 1729, 1734, 1737, 1743, 1747, 1754, + 1759, 1767, 1774, 1776, 1779, 1782, 1786, 1790, 1802, 1812, + 1820, 1828, 1829, 1833, 1837, 1839, 1843, 1845, 1847, 1850, + 1854, 1859, 1863, 1869, 1874, 1876, 1878, 1880, 1884, 1889, + 1896, 1904, 1906, 1908, 1912, 1916, 1926, 1934, 1936, 1942, + 1946, 1953, 1955, 1959, 1961, 1963, 1970, 1975, 1980, 1985, + 1992, 1999 }; -#endif +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short int yyrhs[] = +{ + 143, 0, -1, 144, -1, 1, 6, -1, -1, 144, + 145, -1, 148, -1, 147, -1, 167, -1, 169, -1, + 170, -1, 173, -1, 174, -1, 175, -1, 176, -1, + 179, -1, 194, -1, 195, -1, 196, -1, 178, -1, + 177, -1, 118, -1, 118, 118, -1, 33, 132, 5, + 133, 6, -1, 33, 132, 5, 133, 146, 209, 6, + -1, 33, 132, 5, 138, 205, 133, 6, -1, 33, + 132, 5, 138, 205, 133, 146, 209, 6, -1, 4, + 5, 139, 149, 140, 6, -1, 4, 5, 4, 199, + 139, 149, 140, 6, -1, -1, 149, 152, -1, 149, + 156, -1, 149, 159, -1, 149, 161, -1, 149, 162, + -1, 149, 164, -1, 197, -1, 150, 138, 197, -1, + 197, -1, 151, 138, 197, -1, -1, -1, 4, 153, + 132, 150, 133, 154, 139, 151, 140, 6, -1, 209, + -1, 155, 138, 209, -1, -1, 76, 132, 197, 138, + 197, 138, 197, 133, 157, 139, 155, 140, 6, -1, + 209, -1, 158, 138, 209, -1, -1, 77, 132, 197, + 138, 197, 138, 197, 138, 197, 133, 160, 139, 158, + 140, 6, -1, 78, 139, 202, 140, 139, 202, 140, + 6, -1, -1, 79, 163, 139, 151, 140, 6, -1, + 80, 132, 197, 133, 203, 6, -1, 7, -1, 110, + -1, 109, -1, 108, -1, 107, -1, 130, -1, 129, + -1, 4, 165, 197, 6, -1, 4, 134, 197, 135, + 165, 197, 6, -1, 4, 134, 139, 205, 140, 135, + 165, 203, 6, -1, 4, 134, 135, 7, 203, 6, + -1, 4, 134, 135, 110, 203, 6, -1, 4, 166, + 6, -1, 4, 134, 197, 135, 166, 6, -1, 4, + 136, 4, 7, 209, 6, -1, 4, 134, 197, 135, + 136, 4, 7, 209, 6, -1, 4, 136, 4, 165, + 197, 6, -1, 4, 134, 197, 135, 136, 4, 165, + 197, 6, -1, 4, 136, 4, 166, 6, -1, 4, + 134, 197, 135, 136, 4, 166, 6, -1, 4, 136, + 89, 136, 4, 7, 206, 6, -1, 4, 134, 197, + 135, 136, 89, 136, 4, 7, 206, 6, -1, 4, + 136, 90, 7, 207, 6, -1, 4, 134, 197, 135, + 136, 90, 7, 207, 6, -1, 60, 132, 4, 133, + 136, 4, 7, 197, 6, -1, 60, 132, 4, 133, + 136, 4, 7, 209, 6, -1, 197, -1, 209, -1, + 41, 132, 197, 133, 7, 199, 6, -1, 56, 41, + 132, 168, 133, 7, 203, 6, -1, 72, 41, 203, + 7, 139, 197, 138, 197, 138, 197, 140, 6, -1, + 48, 49, 203, 7, 197, 6, -1, 44, 132, 197, + 133, 7, 203, 6, -1, 46, 132, 197, 133, 7, + 203, 6, -1, 42, 132, 197, 133, 7, 203, 6, + -1, 42, 132, 197, 133, 7, 203, 52, 199, 6, + -1, 43, 132, 197, 133, 7, 203, 6, -1, 43, + 132, 197, 133, 7, 203, 52, 199, 6, -1, 50, + 132, 197, 133, 7, 139, 197, 138, 197, 138, 5, + 138, 5, 138, 5, 140, 6, -1, 82, 132, 197, + 133, 7, 203, 6, -1, 83, 132, 197, 133, 7, + 203, 6, -1, 84, 132, 197, 133, 7, 203, 88, + 203, 85, 197, 6, -1, 44, 67, 132, 197, 133, + 7, 203, 6, -1, 72, 44, 203, 7, 139, 197, + 138, 197, 138, 197, 140, 6, -1, 56, 44, 132, + 168, 133, 7, 203, 6, -1, 52, 45, 132, 197, + 133, 7, 203, 6, -1, 53, 45, 132, 197, 133, + 7, 203, 6, -1, 100, 45, 132, 197, 133, 7, + 139, 197, 138, 203, 140, 6, -1, 84, 45, 86, + 87, 132, 197, 133, 7, 201, 88, 139, 203, 138, + 203, 140, 85, 139, 197, 138, 197, 140, 6, -1, + 84, 45, 132, 197, 133, 7, 201, 88, 139, 203, + 138, 203, 140, 85, 139, 197, 138, 197, 140, 6, + -1, 45, 67, 132, 197, 133, 7, 203, 6, -1, + 56, 45, 132, 168, 133, 7, 203, 6, -1, 55, + 47, 132, 197, 133, 7, 203, 6, -1, 47, 132, + 197, 133, 7, 203, 6, -1, 56, 47, 132, 168, + 133, 7, 203, 6, -1, 62, 199, 139, 171, 140, + -1, 61, 139, 199, 138, 199, 138, 197, 140, 139, + 171, 140, -1, 63, 199, 139, 171, 140, -1, 64, + 139, 199, 138, 197, 140, 139, 171, 140, -1, 173, + -1, 172, -1, 170, -1, -1, 172, 169, -1, 172, + 41, 139, 205, 140, 6, -1, 172, 44, 139, 205, + 140, 6, -1, 172, 45, 139, 205, 140, 6, -1, + 172, 47, 139, 205, 140, 6, -1, 66, 139, 172, + 140, -1, 66, 4, 134, 197, 135, 6, -1, 74, + 4, 134, 197, 135, 6, -1, 75, 4, 134, 197, + 135, 6, -1, 69, 139, 172, 140, -1, 69, 4, + 134, 197, 135, 6, -1, 69, 4, 6, -1, 69, + 4, 4, 6, -1, 89, 206, 139, 172, 140, -1, + 101, 209, 6, -1, 102, 209, 6, -1, 101, 139, + 172, 140, -1, 102, 139, 172, 140, -1, 4, 209, + 6, -1, 4, 4, 134, 197, 135, 209, 6, -1, + 4, 4, 4, 134, 197, 135, 6, -1, 4, 197, + 6, -1, 60, 132, 4, 133, 136, 4, 6, -1, + 81, 4, 6, -1, 96, 6, -1, 38, 6, -1, + 38, 139, 197, 138, 197, 138, 197, 138, 197, 138, + 197, 138, 197, 140, 6, -1, 39, 6, -1, 91, + 132, 197, 8, 197, 133, -1, 91, 132, 197, 8, + 197, 8, 197, 133, -1, 91, 4, 92, 139, 197, + 8, 197, 140, -1, 91, 4, 92, 139, 197, 8, + 197, 8, 197, 140, -1, 93, -1, 99, 4, -1, + 97, -1, 98, 4, 6, -1, 94, 132, 197, 133, + -1, 95, -1, 65, 199, 139, 172, 140, -1, 65, + 139, 199, 138, 199, 138, 197, 140, 139, 172, 140, + -1, 65, 139, 199, 138, 199, 138, 199, 138, 197, + 140, 139, 172, 140, -1, -1, 65, 199, 139, 172, + 180, 192, 140, -1, -1, 65, 139, 199, 138, 199, + 138, 197, 140, 139, 172, 181, 192, 140, -1, -1, + 65, 139, 199, 138, 199, 138, 199, 138, 197, 140, + 139, 172, 182, 192, 140, -1, 65, 41, 139, 197, + 138, 199, 140, 6, -1, 65, 44, 139, 197, 138, + 199, 140, 6, -1, 65, 45, 139, 197, 138, 199, + 140, 6, -1, 65, 41, 139, 197, 138, 199, 138, + 199, 138, 197, 140, 6, -1, 65, 44, 139, 197, + 138, 199, 138, 199, 138, 197, 140, 6, -1, 65, + 45, 139, 197, 138, 199, 138, 199, 138, 197, 140, + 6, -1, 65, 41, 139, 197, 138, 199, 138, 199, + 138, 199, 138, 197, 140, 6, -1, 65, 44, 139, + 197, 138, 199, 138, 199, 138, 199, 138, 197, 140, + 6, -1, 65, 45, 139, 197, 138, 199, 138, 199, + 138, 199, 138, 197, 140, 6, -1, -1, 65, 41, + 139, 197, 138, 199, 140, 183, 139, 192, 140, 6, + -1, -1, 65, 44, 139, 197, 138, 199, 140, 184, + 139, 192, 140, 6, -1, -1, 65, 45, 139, 197, + 138, 199, 140, 185, 139, 192, 140, 6, -1, -1, + 65, 41, 139, 197, 138, 199, 138, 199, 138, 197, + 140, 186, 139, 192, 140, 6, -1, -1, 65, 44, + 139, 197, 138, 199, 138, 199, 138, 197, 140, 187, + 139, 192, 140, 6, -1, -1, 65, 45, 139, 197, + 138, 199, 138, 199, 138, 197, 140, 188, 139, 192, + 140, 6, -1, -1, 65, 41, 139, 197, 138, 199, + 138, 199, 138, 199, 138, 197, 140, 189, 139, 192, + 140, 6, -1, -1, 65, 44, 139, 197, 138, 199, + 138, 199, 138, 199, 138, 197, 140, 190, 139, 192, + 140, 6, -1, -1, 65, 45, 139, 197, 138, 199, + 138, 199, 138, 199, 138, 197, 140, 191, 139, 192, + 140, 6, -1, 193, -1, 192, 193, -1, 73, 139, + 203, 138, 203, 138, 203, 140, 6, -1, 73, 139, + 203, 138, 203, 140, 6, -1, 68, 6, -1, 54, + 44, 203, 7, 197, 6, -1, 54, 44, 203, 7, + 197, 57, 59, 197, 6, -1, 54, 44, 203, 7, + 197, 57, 58, 197, 6, -1, 54, 45, 139, 197, + 140, 7, 203, 6, -1, 54, 45, 139, 197, 140, + 7, 203, 4, 6, -1, 51, 45, 139, 197, 140, + 7, 203, 6, -1, 54, 47, 139, 197, 140, 7, + 203, 6, -1, 68, 45, 203, 7, 197, 6, -1, + 68, 45, 203, 6, -1, 41, 203, 92, 45, 197, + 6, -1, 44, 203, 92, 45, 197, 6, -1, 44, + 203, 92, 47, 197, 6, -1, 45, 203, 92, 47, + 197, 6, -1, 70, 6, -1, 71, 6, -1, 198, + -1, 132, 197, 133, -1, 122, 197, -1, 121, 197, + -1, 127, 197, -1, 197, 122, 197, -1, 197, 121, + 197, -1, 197, 123, 197, -1, 197, 124, 197, -1, + 197, 125, 197, -1, 197, 131, 197, -1, 197, 117, + 197, -1, 197, 118, 197, -1, 197, 120, 197, -1, + 197, 119, 197, -1, 197, 116, 197, -1, 197, 115, + 197, -1, 197, 113, 197, -1, 197, 112, 197, -1, + 197, 111, 197, 8, 197, -1, 12, 132, 197, 133, + -1, 13, 132, 197, 133, -1, 14, 132, 197, 133, + -1, 15, 132, 197, 133, -1, 16, 132, 197, 133, + -1, 17, 132, 197, 133, -1, 18, 132, 197, 133, + -1, 19, 132, 197, 133, -1, 20, 132, 197, 133, + -1, 22, 132, 197, 133, -1, 23, 132, 197, 138, + 197, 133, -1, 24, 132, 197, 133, -1, 25, 132, + 197, 133, -1, 26, 132, 197, 133, -1, 27, 132, + 197, 133, -1, 28, 132, 197, 133, -1, 29, 132, + 197, 133, -1, 30, 132, 197, 138, 197, 133, -1, + 31, 132, 197, 138, 197, 133, -1, 32, 132, 197, + 138, 197, 133, -1, 21, 132, 197, 133, -1, 12, + 134, 197, 135, -1, 13, 134, 197, 135, -1, 14, + 134, 197, 135, -1, 15, 134, 197, 135, -1, 16, + 134, 197, 135, -1, 17, 134, 197, 135, -1, 18, + 134, 197, 135, -1, 19, 134, 197, 135, -1, 20, + 134, 197, 135, -1, 22, 134, 197, 135, -1, 23, + 134, 197, 138, 197, 135, -1, 24, 134, 197, 135, + -1, 25, 134, 197, 135, -1, 26, 134, 197, 135, + -1, 27, 134, 197, 135, -1, 28, 134, 197, 135, + -1, 29, 134, 197, 135, -1, 30, 134, 197, 138, + 197, 135, -1, 31, 134, 197, 138, 197, 135, -1, + 32, 134, 197, 138, 197, 135, -1, 21, 134, 197, + 135, -1, 3, -1, 9, -1, 10, -1, 11, -1, + 104, -1, 105, -1, 106, -1, 4, -1, 4, 141, + 139, 197, 140, -1, 4, 134, 197, 135, -1, 137, + 4, 134, 135, -1, 4, 166, -1, 4, 134, 197, + 135, 166, -1, 4, 136, 4, -1, 4, 134, 197, + 135, 136, 4, -1, 4, 136, 4, 166, -1, 4, + 134, 197, 135, 136, 4, 166, -1, 103, 132, 5, + 138, 197, 133, -1, 200, -1, 122, 199, -1, 121, + 199, -1, 199, 122, 199, -1, 199, 121, 199, -1, + 139, 197, 138, 197, 138, 197, 138, 197, 138, 197, + 140, -1, 139, 197, 138, 197, 138, 197, 138, 197, + 140, -1, 139, 197, 138, 197, 138, 197, 140, -1, + 132, 197, 138, 197, 138, 197, 133, -1, -1, 139, + 202, 140, -1, 132, 202, 133, -1, 203, -1, 202, + 138, 203, -1, 197, -1, 204, -1, 139, 140, -1, + 139, 205, 140, -1, 122, 139, 205, 140, -1, 197, + 8, 197, -1, 197, 8, 197, 8, 197, -1, 41, + 139, 197, 140, -1, 170, -1, 173, -1, 179, -1, + 4, 134, 135, -1, 122, 4, 134, 135, -1, 4, + 134, 139, 205, 140, 135, -1, 122, 4, 134, 139, + 205, 140, 135, -1, 197, -1, 204, -1, 205, 138, + 197, -1, 205, 138, 204, -1, 139, 197, 138, 197, + 138, 197, 138, 197, 140, -1, 139, 197, 138, 197, + 138, 197, 140, -1, 4, -1, 4, 136, 89, 136, + 4, -1, 139, 208, 140, -1, 4, 134, 197, 135, + 136, 90, -1, 206, -1, 208, 138, 206, -1, 5, + -1, 40, -1, 35, 132, 209, 138, 209, 133, -1, + 36, 132, 209, 133, -1, 37, 132, 209, 133, -1, + 34, 132, 209, 133, -1, 34, 132, 209, 138, 205, + 133, -1, 34, 132, 4, 136, 4, 133, -1, 34, + 132, 4, 134, 197, 135, 136, 4, 133, -1 +}; -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 141, 143, 148, 150, 153, 155, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, 168, 171, - 176, 182, 188, 203, 216, 244, 252, 261, 269, 270, - 271, 272, 273, 274, 277, 280, 284, 287, 291, 482, - 500, 510, 516, 523, 531, 537, 543, 550, 558, 564, - 572, 577, 581, 590, 592, 593, 594, 595, 598, 600, - 603, 638, 677, 731, 748, 766, 777, 796, 810, 827, - 853, 880, 894, 911, 925, 942, 962, 985, 995, 1009, - 1014, 1021, 1041, 1057, 1064, 1083, 1101, 1119, 1137, 1163, - 1181, 1207, 1227, 1251, 1275, 1301, 1318, 1325, 1344, 1363, - 1402, 1427, 1446, 1465, 1481, 1501, 1518, 1535, 1555, 1561, - 1566, 1571, 1578, 1580, 1581, 1584, 1589, 1593, 1609, 1625, - 1641, 1661, 1676, 1682, 1688, 1699, 1709, 1719, 1734, 1752, - 1766, 1773, 1779, 1788, 1801, 1847, 1862, 1873, 1893, 1903, - 1925, 1929, 1934, 1939, 1949, 1966, 1982, 2008, 2035, 2067, - 2074, 2079, 2085, 2089, 2097, 2106, 2114, 2122, 2127, 2135, - 2140, 2148, 2153, 2163, 2170, 2177, 2184, 2191, 2198, 2205, - 2212, 2219, 2226, 2231, 2238, 2243, 2250, 2255, 2262, 2267, - 2274, 2279, 2286, 2291, 2298, 2303, 2310, 2315, 2322, 2327, - 2337, 2341, 2346, 2371, 2393, 2401, 2420, 2438, 2456, 2485, - 2520, 2525, 2552, 2566, 2584, 2591, 2597, 2600, 2606, 2611, - 2620, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2636, - 2637, 2638, 2639, 2640, 2641, 2642, 2643, 2644, 2645, 2646, - 2647, 2648, 2649, 2650, 2651, 2652, 2653, 2654, 2655, 2656, - 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, - 2667, 2669, 2670, 2671, 2672, 2673, 2674, 2675, 2676, 2677, - 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686, 2687, - 2688, 2689, 2694, 2699, 2700, 2701, 2702, 2703, 2704, 2708, - 2724, 2739, 2759, 2773, 2786, 2809, 2827, 2845, 2863, 2881, - 2888, 2893, 2897, 2901, 2905, 2911, 2916, 2920, 2924, 2930, - 2934, 2938, 2944, 2950, 2957, 2963, 2967, 2972, 2976, 2987, - 2994, 3005, 3025, 3035, 3045, 3055, 3072, 3091, 3115, 3143, - 3149, 3153, 3157, 3169, 3174, 3186, 3193, 3214, 3219, 3233, - 3239, 3245, 3250, 3258, 3266, 3280, 3294, 3298, 3317, 3339 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short int yyrline[] = +{ + 0, 142, 142, 143, 148, 150, 154, 155, 156, 157, + 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, + 168, 172, 176, 183, 188, 203, 216, 245, 252, 263, + 269, 270, 271, 272, 273, 274, 278, 280, 285, 287, + 293, 483, 292, 511, 516, 525, 524, 538, 543, 552, + 551, 565, 574, 573, 582, 591, 592, 593, 594, 595, + 599, 600, 607, 638, 677, 731, 748, 766, 777, 796, + 810, 827, 853, 880, 894, 911, 925, 942, 962, 985, + 995, 1010, 1014, 1025, 1041, 1057, 1064, 1084, 1102, 1120, + 1138, 1164, 1182, 1208, 1228, 1252, 1276, 1302, 1319, 1326, + 1345, 1364, 1403, 1428, 1447, 1466, 1482, 1502, 1519, 1536, + 1557, 1562, 1567, 1572, 1580, 1581, 1582, 1587, 1590, 1594, + 1610, 1626, 1642, 1663, 1677, 1683, 1689, 1701, 1710, 1720, + 1735, 1754, 1768, 1774, 1780, 1789, 1803, 1848, 1863, 1874, + 1894, 1904, 1926, 1930, 1935, 1940, 1952, 1967, 1983, 2009, + 2036, 2068, 2075, 2080, 2086, 2090, 2099, 2107, 2115, 2124, + 2123, 2137, 2136, 2150, 2149, 2164, 2171, 2178, 2185, 2192, + 2199, 2206, 2213, 2220, 2228, 2227, 2240, 2239, 2252, 2251, + 2264, 2263, 2276, 2275, 2288, 2287, 2300, 2299, 2312, 2311, + 2324, 2323, 2339, 2342, 2348, 2372, 2394, 2403, 2421, 2439, + 2457, 2486, 2521, 2526, 2553, 2567, 2586, 2592, 2598, 2601, + 2608, 2612, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, + 2630, 2637, 2638, 2639, 2640, 2641, 2642, 2643, 2644, 2645, + 2646, 2647, 2648, 2649, 2650, 2651, 2652, 2653, 2654, 2655, + 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, + 2666, 2667, 2668, 2670, 2671, 2672, 2673, 2674, 2675, 2676, + 2677, 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686, + 2687, 2688, 2689, 2690, 2699, 2700, 2701, 2702, 2703, 2704, + 2705, 2709, 2725, 2740, 2760, 2774, 2787, 2810, 2828, 2846, + 2864, 2882, 2890, 2894, 2898, 2902, 2906, 2913, 2917, 2921, + 2925, 2933, 2935, 2939, 2946, 2951, 2959, 2964, 2968, 2973, + 2977, 2989, 2995, 3006, 3026, 3036, 3046, 3056, 3073, 3092, + 3116, 3145, 3150, 3154, 3158, 3171, 3175, 3187, 3194, 3216, + 3220, 3235, 3240, 3247, 3251, 3259, 3267, 3281, 3295, 3299, + 3318, 3340 }; #endif - -#if YYDEBUG != 0 || defined (YYERROR_VERBOSE) - -static const char * const yytname[] = { "$","error","$undefined.","tDOUBLE", -"tSTRING","tBIGSTR","tEND","tAFFECT","tDOTS","tPi","tMPI_Rank","tMPI_Size","tExp", -"tLog","tLog10","tSqrt","tSin","tAsin","tCos","tAcos","tTan","tRand","tAtan", -"tAtan2","tSinh","tCosh","tTanh","tFabs","tFloor","tCeil","tFmod","tModulo", -"tHypot","tPrintf","tSprintf","tStrCat","tStrPrefix","tStrRelative","tBoundingBox", -"tDraw","tToday","tPoint","tCircle","tEllipse","tLine","tSurface","tSpline", -"tVolume","tCharacteristic","tLength","tParametric","tElliptic","tPlane","tRuled", -"tTransfinite","tComplex","tPhysical","tUsing","tBump","tProgression","tPlugin", -"tRotate","tTranslate","tSymmetry","tDilate","tExtrude","tDuplicata","tLoop", -"tRecombine","tDelete","tCoherence","tIntersect","tAttractor","tLayers","tAlias", -"tAliasWithOptions","tText2D","tText3D","tInterpolationScheme","tTime","tGrain", -"tCombine","tBSpline","tBezier","tNurbs","tOrder","tWith","tBounds","tKnots", -"tColor","tColorTable","tFor","tIn","tEndFor","tIf","tEndIf","tExit","tReturn", -"tCall","tFunction","tTrimmed","tShow","tHide","tGetValue","tGMSH_MAJOR_VERSION", -"tGMSH_MINOR_VERSION","tGMSH_PATCH_VERSION","tAFFECTPLUS","tAFFECTMINUS","tAFFECTTIMES", -"tAFFECTDIVIDE","'?'","tOR","tAND","tEQUAL","tNOTEQUAL","tAPPROXEQUAL","'<'", -"tLESSOREQUAL","'>'","tGREATEROREQUAL","'+'","'-'","'*'","'/'","'%'","tCROSSPRODUCT", -"'!'","tPLUSPLUS","tMINUSMINUS","UNARYPREC","'^'","'('","')'","'['","']'","'.'", -"'#'","','","'{'","'}'","'~'","All","GeoFormatItems","GeoFormatItem","SendToFile", -"Printf","View","Views","ElementCoords","ElementValues","Element","@1","@2", -"Text2DValues","Text2D","@3","Text3DValues","Text3D","@4","InterpolationMatrix", -"Time","@5","Grain","NumericAffectation","NumericIncrement","Affectation","PhysicalId", -"Shape","Transform","MultipleShape","ListOfShapes","Duplicata","Delete","Colorify", -"Visibility","Command","Loop","Extrude","@6","@7","@8","@9","@10","@11","@12", -"@13","@14","@15","@16","@17","ExtrudeParameters","ExtrudeParameter","Transfinite", -"Embedding","Coherence","FExpr","FExpr_Single","VExpr","VExpr_Single","ListOfListOfDouble", -"RecursiveListOfListOfDouble","ListOfDouble","FExpr_Multi","RecursiveListOfDouble", -"ColorExpr","ListOfColor","RecursiveListOfColor","StringExpr", NULL +#if YYDEBUG || YYERROR_VERBOSE +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "tDOUBLE", "tSTRING", "tBIGSTR", "tEND", + "tAFFECT", "tDOTS", "tPi", "tMPI_Rank", "tMPI_Size", "tExp", "tLog", + "tLog10", "tSqrt", "tSin", "tAsin", "tCos", "tAcos", "tTan", "tRand", + "tAtan", "tAtan2", "tSinh", "tCosh", "tTanh", "tFabs", "tFloor", "tCeil", + "tFmod", "tModulo", "tHypot", "tPrintf", "tSprintf", "tStrCat", + "tStrPrefix", "tStrRelative", "tBoundingBox", "tDraw", "tToday", + "tPoint", "tCircle", "tEllipse", "tLine", "tSurface", "tSpline", + "tVolume", "tCharacteristic", "tLength", "tParametric", "tElliptic", + "tPlane", "tRuled", "tTransfinite", "tComplex", "tPhysical", "tUsing", + "tBump", "tProgression", "tPlugin", "tRotate", "tTranslate", "tSymmetry", + "tDilate", "tExtrude", "tDuplicata", "tLoop", "tRecombine", "tDelete", + "tCoherence", "tIntersect", "tAttractor", "tLayers", "tAlias", + "tAliasWithOptions", "tText2D", "tText3D", "tInterpolationScheme", + "tTime", "tGrain", "tCombine", "tBSpline", "tBezier", "tNurbs", "tOrder", + "tWith", "tBounds", "tKnots", "tColor", "tColorTable", "tFor", "tIn", + "tEndFor", "tIf", "tEndIf", "tExit", "tReturn", "tCall", "tFunction", + "tTrimmed", "tShow", "tHide", "tGetValue", "tGMSH_MAJOR_VERSION", + "tGMSH_MINOR_VERSION", "tGMSH_PATCH_VERSION", "tAFFECTDIVIDE", + "tAFFECTTIMES", "tAFFECTMINUS", "tAFFECTPLUS", "'?'", "tOR", "tAND", + "tAPPROXEQUAL", "tNOTEQUAL", "tEQUAL", "'<'", "'>'", "tGREATEROREQUAL", + "tLESSOREQUAL", "'+'", "'-'", "'*'", "'/'", "'%'", "tCROSSPRODUCT", + "'!'", "UNARYPREC", "tMINUSMINUS", "tPLUSPLUS", "'^'", "'('", "')'", + "'['", "']'", "'.'", "'#'", "','", "'{'", "'}'", "'~'", "$accept", "All", + "GeoFormatItems", "GeoFormatItem", "SendToFile", "Printf", "View", + "Views", "ElementCoords", "ElementValues", "Element", "@1", "@2", + "Text2DValues", "Text2D", "@3", "Text3DValues", "Text3D", "@4", + "InterpolationMatrix", "Time", "@5", "Grain", "NumericAffectation", + "NumericIncrement", "Affectation", "PhysicalId", "Shape", "Transform", + "MultipleShape", "ListOfShapes", "Duplicata", "Delete", "Colorify", + "Visibility", "Command", "Loop", "Extrude", "@6", "@7", "@8", "@9", + "@10", "@11", "@12", "@13", "@14", "@15", "@16", "@17", + "ExtrudeParameters", "ExtrudeParameter", "Transfinite", "Embedding", + "Coherence", "FExpr", "FExpr_Single", "VExpr", "VExpr_Single", + "ListOfListOfDouble", "RecursiveListOfListOfDouble", "ListOfDouble", + "FExpr_Multi", "RecursiveListOfDouble", "ColorExpr", "ListOfColor", + "RecursiveListOfColor", "StringExpr", 0 }; #endif -static const short yyr1[] = { 0, - 142, 142, 143, 143, 144, 144, 144, 144, 144, 144, - 144, 144, 144, 144, 144, 144, 144, 144, 144, 145, - 145, 146, 146, 146, 146, 147, 147, 148, 148, 148, - 148, 148, 148, 148, 149, 149, 150, 150, 152, 153, - 151, 154, 154, 156, 155, 157, 157, 159, 158, 160, - 162, 161, 163, 164, 164, 164, 164, 164, 165, 165, - 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, - 166, 166, 166, 166, 166, 166, 166, 166, 166, 167, - 167, 168, 168, 168, 168, 168, 168, 168, 168, 168, - 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, - 168, 168, 168, 168, 168, 168, 168, 168, 169, 169, - 169, 169, 170, 170, 170, 171, 171, 171, 171, 171, - 171, 172, 172, 172, 172, 173, 173, 173, 173, 174, - 175, 175, 175, 175, 176, 176, 176, 176, 176, 176, - 176, 176, 176, 176, 177, 177, 177, 177, 177, 177, - 177, 177, 177, 177, 178, 178, 178, 179, 178, 180, - 178, 181, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 182, 178, 183, 178, 184, 178, 185, 178, - 186, 178, 187, 178, 188, 178, 189, 178, 190, 178, - 191, 191, 192, 192, 192, 193, 193, 193, 193, 193, - 193, 193, 193, 193, 194, 194, 194, 194, 195, 195, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, - 196, 196, 197, 197, 197, 197, 197, 197, 197, 197, - 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, - 198, 198, 198, 198, 198, 199, 199, 199, 199, 200, - 200, 200, 201, 201, 202, 202, 202, 202, 202, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 204, - 204, 204, 204, 205, 205, 205, 205, 206, 206, 207, - 207, 208, 208, 208, 208, 208, 208, 208, 208, 208 +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short int yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, + 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, + 365, 63, 366, 367, 368, 369, 370, 60, 62, 371, + 372, 43, 45, 42, 47, 37, 373, 33, 374, 375, + 376, 94, 40, 41, 91, 93, 46, 35, 44, 123, + 125, 126 }; - -static const short yyr2[] = { 0, - 1, 2, 0, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 2, 5, 7, 7, 9, 6, 8, 0, 2, 2, - 2, 2, 2, 2, 1, 3, 1, 3, 0, 0, - 10, 1, 3, 0, 13, 1, 3, 0, 15, 8, - 0, 6, 6, 1, 1, 1, 1, 1, 1, 1, - 4, 7, 9, 6, 6, 3, 6, 6, 9, 6, - 9, 5, 8, 8, 11, 6, 9, 9, 9, 1, - 1, 7, 8, 12, 6, 7, 7, 7, 9, 7, - 9, 17, 7, 7, 11, 8, 12, 8, 8, 8, - 12, 22, 20, 8, 8, 8, 7, 8, 5, 11, - 5, 9, 1, 1, 1, 0, 2, 6, 6, 6, - 6, 4, 6, 6, 6, 4, 6, 3, 4, 5, - 3, 3, 4, 4, 3, 7, 7, 3, 7, 3, - 2, 2, 15, 2, 6, 8, 8, 10, 1, 2, - 1, 3, 4, 1, 5, 11, 13, 0, 7, 0, - 13, 0, 15, 8, 8, 8, 12, 12, 12, 14, - 14, 14, 0, 12, 0, 12, 0, 12, 0, 16, - 0, 16, 0, 16, 0, 18, 0, 18, 0, 18, - 1, 2, 9, 7, 2, 6, 9, 9, 8, 9, - 8, 8, 6, 4, 6, 6, 6, 6, 2, 2, - 1, 3, 2, 2, 2, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 6, 4, 4, 4, 4, 4, 4, 6, 6, 6, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 6, 4, 4, 4, 4, 4, 4, 6, 6, - 6, 4, 1, 1, 1, 1, 1, 1, 1, 1, - 5, 4, 4, 2, 5, 3, 6, 4, 7, 6, - 1, 2, 2, 3, 3, 11, 9, 7, 7, 0, - 3, 3, 1, 3, 1, 1, 2, 3, 4, 3, - 5, 4, 1, 1, 1, 3, 4, 6, 7, 1, - 1, 3, 3, 9, 7, 1, 5, 3, 6, 1, - 3, 1, 1, 6, 4, 4, 4, 6, 6, 9 +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned char yyr1[] = +{ + 0, 142, 143, 143, 144, 144, 145, 145, 145, 145, + 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, + 145, 146, 146, 147, 147, 147, 147, 148, 148, 149, + 149, 149, 149, 149, 149, 149, 150, 150, 151, 151, + 153, 154, 152, 155, 155, 157, 156, 158, 158, 160, + 159, 161, 163, 162, 164, 165, 165, 165, 165, 165, + 166, 166, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, + 167, 168, 168, 169, 169, 169, 169, 169, 169, 169, + 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, + 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, + 170, 170, 170, 170, 171, 171, 171, 172, 172, 172, + 172, 172, 172, 173, 173, 173, 173, 174, 174, 174, + 174, 175, 176, 176, 176, 176, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 178, 178, 178, 178, + 178, 178, 178, 178, 178, 178, 179, 179, 179, 180, + 179, 181, 179, 182, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 179, 183, 179, 184, 179, 185, 179, + 186, 179, 187, 179, 188, 179, 189, 179, 190, 179, + 191, 179, 192, 192, 193, 193, 193, 194, 194, 194, + 194, 194, 194, 194, 194, 194, 195, 195, 195, 195, + 196, 196, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 198, 198, 198, 198, 198, 198, + 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, + 198, 198, 199, 199, 199, 199, 199, 200, 200, 200, + 200, 201, 201, 201, 202, 202, 203, 203, 203, 203, + 203, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 205, 205, 205, 205, 206, 206, 206, 206, 207, + 207, 208, 208, 209, 209, 209, 209, 209, 209, 209, + 209, 209 }; -static const short yydefact[] = { 0, - 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 149, 0, 154, 0, 151, 0, 0, 0, - 0, 0, 4, 6, 5, 7, 8, 9, 10, 11, - 12, 13, 19, 18, 14, 15, 16, 17, 273, 280, - 332, 54, 274, 275, 276, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 333, 0, 277, 278, 279, 55, 56, 57, 58, 0, - 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, - 0, 211, 0, 0, 142, 0, 144, 280, 0, 0, - 0, 0, 313, 314, 315, 305, 0, 306, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 291, 0, 0, - 0, 0, 0, 0, 0, 0, 116, 0, 0, 116, - 209, 210, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 326, 0, 0, 0, 0, 0, 141, 0, 150, - 0, 332, 116, 0, 116, 0, 0, 0, 0, 0, - 284, 0, 28, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 280, 214, 213, 215, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 66, 138, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 135, 0, 0, 0, 0, 280, 0, 0, 0, 307, - 320, 321, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 293, - 292, 0, 0, 0, 0, 116, 116, 0, 0, 0, - 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, - 128, 0, 0, 0, 0, 0, 0, 140, 0, 0, - 0, 0, 0, 0, 0, 116, 0, 0, 0, 152, - 0, 0, 131, 0, 132, 0, 0, 286, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 212, 0, 0, 0, 0, 54, 0, 0, 0, 0, - 0, 61, 0, 229, 228, 226, 227, 222, 224, 223, - 225, 217, 216, 218, 219, 220, 221, 0, 0, 0, - 316, 0, 0, 0, 0, 0, 212, 0, 308, 310, - 0, 0, 0, 0, 212, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 295, 294, 115, 0, 114, 113, 0, 0, 0, 0, - 0, 0, 0, 158, 0, 0, 0, 0, 0, 122, - 117, 204, 0, 129, 0, 126, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 153, 0, 133, 134, 0, 282, 288, 0, 28, 39, - 0, 0, 0, 51, 0, 0, 29, 30, 31, 32, - 33, 34, 231, 252, 232, 253, 233, 254, 234, 255, - 235, 256, 236, 257, 237, 258, 238, 259, 239, 260, - 251, 272, 240, 261, 0, 0, 242, 263, 243, 264, - 244, 265, 245, 266, 246, 267, 247, 268, 0, 0, - 0, 0, 0, 0, 0, 0, 337, 0, 0, 335, - 336, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 72, 0, 0, 0, 0, 283, 0, 22, 20, 0, - 0, 0, 0, 282, 312, 317, 0, 309, 0, 322, - 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 109, 111, 0, 0, 0, 0, 0, 155, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 130, - 0, 0, 0, 0, 0, 285, 0, 281, 0, 0, - 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, - 65, 0, 0, 0, 0, 0, 67, 68, 70, 0, - 0, 330, 0, 76, 230, 21, 0, 0, 0, 0, - 0, 0, 311, 205, 0, 0, 0, 0, 206, 207, - 0, 208, 0, 0, 85, 0, 0, 0, 0, 196, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 191, 123, 0, 0, 0, 0, 0, 0, 203, 127, - 0, 0, 124, 125, 0, 0, 0, 300, 0, 327, - 0, 0, 0, 145, 0, 137, 287, 136, 0, 0, - 0, 0, 0, 303, 0, 0, 241, 262, 248, 269, - 249, 270, 250, 271, 0, 339, 338, 334, 290, 0, - 54, 0, 0, 0, 0, 62, 0, 0, 0, 328, - 23, 24, 0, 0, 318, 0, 82, 88, 0, 90, - 0, 0, 86, 0, 87, 107, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 139, - 0, 0, 0, 0, 116, 0, 173, 0, 175, 0, - 177, 0, 0, 195, 0, 159, 192, 0, 0, 0, - 0, 0, 0, 0, 0, 93, 94, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 289, 27, 0, 35, - 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, - 0, 73, 0, 0, 74, 0, 331, 0, 0, 319, - 0, 0, 96, 104, 0, 201, 99, 100, 0, 0, - 0, 199, 202, 106, 83, 98, 105, 108, 0, 0, - 0, 299, 0, 298, 0, 0, 164, 0, 0, 165, - 0, 0, 166, 0, 0, 0, 0, 118, 119, 120, - 121, 0, 0, 300, 0, 0, 0, 0, 0, 325, - 0, 147, 146, 0, 40, 0, 0, 0, 304, 0, - 0, 0, 0, 0, 63, 69, 71, 0, 77, 0, - 25, 0, 89, 91, 0, 198, 197, 200, 78, 79, - 116, 0, 112, 0, 0, 0, 0, 0, 0, 116, - 0, 0, 0, 0, 0, 302, 301, 0, 0, 0, - 0, 0, 0, 36, 0, 0, 0, 38, 52, 53, - 340, 0, 329, 0, 0, 0, 0, 297, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, - 0, 0, 0, 0, 0, 324, 148, 0, 0, 0, - 0, 0, 75, 0, 0, 110, 0, 179, 0, 0, - 181, 0, 0, 183, 0, 0, 156, 0, 116, 0, - 0, 0, 0, 0, 0, 95, 0, 0, 44, 0, - 50, 0, 0, 296, 167, 0, 0, 174, 168, 0, - 0, 176, 169, 0, 0, 178, 0, 162, 0, 194, - 84, 97, 0, 0, 101, 0, 0, 0, 0, 0, - 0, 185, 0, 187, 0, 189, 161, 157, 0, 0, - 0, 0, 41, 0, 48, 0, 0, 0, 170, 0, - 0, 171, 0, 0, 172, 0, 0, 193, 0, 0, - 0, 42, 0, 143, 0, 0, 0, 0, 0, 0, - 0, 163, 0, 0, 0, 0, 0, 0, 180, 0, - 182, 0, 184, 0, 0, 0, 43, 45, 0, 46, - 92, 0, 0, 0, 0, 0, 0, 0, 186, 188, - 190, 0, 0, 47, 49, 0, 0, 0, 103, 0, - 102, 0, 0, 0 +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 1, 2, 0, 2, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 5, 7, 7, 9, 6, 8, 0, + 2, 2, 2, 2, 2, 2, 1, 3, 1, 3, + 0, 0, 10, 1, 3, 0, 13, 1, 3, 0, + 15, 8, 0, 6, 6, 1, 1, 1, 1, 1, + 1, 1, 4, 7, 9, 6, 6, 3, 6, 6, + 9, 6, 9, 5, 8, 8, 11, 6, 9, 9, + 9, 1, 1, 7, 8, 12, 6, 7, 7, 7, + 9, 7, 9, 17, 7, 7, 11, 8, 12, 8, + 8, 8, 12, 22, 20, 8, 8, 8, 7, 8, + 5, 11, 5, 9, 1, 1, 1, 0, 2, 6, + 6, 6, 6, 4, 6, 6, 6, 4, 6, 3, + 4, 5, 3, 3, 4, 4, 3, 7, 7, 3, + 7, 3, 2, 2, 15, 2, 6, 8, 8, 10, + 1, 2, 1, 3, 4, 1, 5, 11, 13, 0, + 7, 0, 13, 0, 15, 8, 8, 8, 12, 12, + 12, 14, 14, 14, 0, 12, 0, 12, 0, 12, + 0, 16, 0, 16, 0, 16, 0, 18, 0, 18, + 0, 18, 1, 2, 9, 7, 2, 6, 9, 9, + 8, 9, 8, 8, 6, 4, 6, 6, 6, 6, + 2, 2, 1, 3, 2, 2, 2, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 5, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 6, 4, 4, 4, 4, 4, 4, 6, + 6, 6, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 6, 4, 4, 4, 4, 4, 4, + 6, 6, 6, 4, 1, 1, 1, 1, 1, 1, + 1, 1, 5, 4, 4, 2, 5, 3, 6, 4, + 7, 6, 1, 2, 2, 3, 3, 11, 9, 7, + 7, 0, 3, 3, 1, 3, 1, 1, 2, 3, + 4, 3, 5, 4, 1, 1, 1, 3, 4, 6, + 7, 1, 1, 3, 3, 9, 7, 1, 5, 3, + 6, 1, 3, 1, 1, 6, 4, 4, 4, 6, + 6, 9 }; -static const short yydefgoto[] = { 1222, - 2, 53, 630, 54, 55, 381, 919, 925, 557, 710, - 1043, 1171, 558, 1137, 1199, 559, 1173, 560, 561, 714, - 562, 119, 211, 56, 491, 521, 133, 504, 505, 134, - 60, 61, 62, 63, 64, 135, 679, 1098, 1149, 968, - 971, 974, 1116, 1120, 1124, 1160, 1163, 1166, 790, 791, - 66, 67, 68, 136, 122, 330, 168, 911, 823, 824, - 138, 303, 194, 625, 743, 493 +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned short int yydefact[] = +{ + 0, 0, 0, 2, 3, 1, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 150, 0, 155, 0, 152, + 0, 0, 0, 0, 0, 5, 7, 6, 8, 9, + 10, 11, 12, 13, 14, 20, 19, 15, 16, 17, + 18, 274, 281, 333, 55, 275, 276, 277, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 334, 0, 278, 279, 280, 59, 58, + 57, 56, 0, 0, 0, 61, 60, 0, 0, 0, + 0, 0, 0, 0, 212, 0, 0, 143, 0, 145, + 281, 0, 0, 0, 0, 314, 315, 316, 306, 0, + 307, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 0, 0, 0, 117, + 0, 0, 117, 210, 211, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 327, 0, 0, 0, 0, 0, + 142, 0, 151, 0, 333, 117, 0, 117, 0, 0, + 0, 0, 0, 285, 0, 29, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 281, 215, 214, 216, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 67, 139, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 136, 0, 0, 0, 0, 281, 0, + 0, 0, 308, 321, 322, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 294, 293, 0, 0, 0, 0, 117, 117, + 0, 0, 0, 0, 0, 0, 0, 0, 117, 0, + 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, + 141, 0, 0, 0, 0, 0, 0, 0, 117, 0, + 0, 0, 153, 0, 0, 132, 0, 133, 0, 0, + 287, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 213, 0, 0, 0, 0, 55, 0, + 0, 0, 0, 0, 62, 0, 230, 229, 228, 227, + 223, 224, 226, 225, 218, 217, 219, 220, 221, 222, + 0, 0, 0, 317, 0, 0, 0, 0, 0, 213, + 0, 309, 311, 0, 0, 0, 0, 213, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 81, 82, 0, 0, 0, 0, + 0, 0, 0, 296, 295, 116, 0, 115, 114, 0, + 0, 0, 0, 0, 0, 0, 159, 0, 0, 0, + 0, 0, 123, 118, 205, 0, 130, 0, 127, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 154, 0, 134, 135, 0, 283, 289, + 0, 29, 40, 0, 0, 0, 52, 0, 0, 30, + 31, 32, 33, 34, 35, 232, 253, 233, 254, 234, + 255, 235, 256, 236, 257, 237, 258, 238, 259, 239, + 260, 240, 261, 252, 273, 241, 262, 0, 0, 243, + 264, 244, 265, 245, 266, 246, 267, 247, 268, 248, + 269, 0, 0, 0, 0, 0, 0, 0, 0, 338, + 0, 0, 336, 337, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 73, 0, 0, 0, 0, 284, 0, + 23, 21, 0, 0, 0, 0, 283, 313, 318, 0, + 310, 0, 323, 324, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 110, 112, 0, 0, 0, 0, 0, + 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 131, 0, 0, 0, 0, 0, 286, 0, + 282, 0, 0, 0, 0, 0, 0, 0, 27, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 65, 66, 0, 0, 0, 0, 0, 68, + 69, 71, 0, 0, 331, 0, 77, 231, 22, 0, + 0, 0, 0, 0, 0, 312, 206, 0, 0, 0, + 0, 207, 208, 0, 209, 0, 0, 86, 0, 0, + 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 192, 124, 0, 0, 0, 0, 0, + 0, 204, 128, 0, 0, 125, 126, 0, 0, 0, + 301, 0, 328, 0, 0, 0, 146, 0, 138, 288, + 137, 0, 0, 0, 0, 0, 304, 0, 0, 242, + 263, 249, 270, 250, 271, 251, 272, 0, 340, 339, + 335, 291, 0, 55, 0, 0, 0, 0, 63, 0, + 0, 0, 329, 24, 25, 0, 0, 319, 0, 83, + 89, 0, 91, 0, 0, 87, 0, 88, 108, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 140, 0, 0, 0, 0, 117, 0, 174, + 0, 176, 0, 178, 0, 0, 196, 0, 160, 193, + 0, 0, 0, 0, 0, 0, 0, 0, 94, 95, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, + 28, 0, 36, 0, 0, 0, 0, 0, 38, 0, + 0, 0, 0, 0, 74, 0, 0, 75, 0, 332, + 0, 0, 320, 0, 0, 97, 105, 0, 202, 100, + 101, 0, 0, 0, 200, 203, 107, 84, 99, 106, + 109, 0, 0, 0, 300, 0, 299, 0, 0, 165, + 0, 0, 166, 0, 0, 167, 0, 0, 0, 0, + 119, 120, 121, 122, 0, 0, 301, 0, 0, 0, + 0, 0, 326, 0, 148, 147, 0, 41, 0, 0, + 0, 305, 0, 0, 0, 0, 0, 64, 70, 72, + 0, 78, 0, 26, 0, 90, 92, 0, 199, 198, + 201, 79, 80, 117, 0, 113, 0, 0, 0, 0, + 0, 0, 117, 0, 0, 0, 0, 0, 303, 302, + 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, + 39, 53, 54, 341, 0, 330, 0, 0, 0, 0, + 298, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 161, 0, 0, 0, 0, 0, 0, 0, 325, 149, + 0, 0, 0, 0, 0, 76, 0, 0, 111, 0, + 180, 0, 0, 182, 0, 0, 184, 0, 0, 157, + 0, 117, 0, 0, 0, 0, 0, 0, 96, 0, + 0, 45, 0, 51, 0, 0, 297, 168, 0, 0, + 175, 169, 0, 0, 177, 170, 0, 0, 179, 0, + 163, 0, 195, 85, 98, 0, 0, 102, 0, 0, + 0, 0, 0, 0, 186, 0, 188, 0, 190, 162, + 158, 0, 0, 0, 0, 42, 0, 49, 0, 0, + 0, 171, 0, 0, 172, 0, 0, 173, 0, 0, + 194, 0, 0, 0, 43, 0, 144, 0, 0, 0, + 0, 0, 0, 0, 164, 0, 0, 0, 0, 0, + 0, 181, 0, 183, 0, 185, 0, 0, 0, 44, + 46, 0, 47, 93, 0, 0, 0, 0, 0, 0, + 0, 187, 189, 191, 0, 0, 48, 50, 0, 0, + 0, 104, 0, 103 }; -static const short yypact[] = { 2684, - 21, 3081,-32768, 2225, -97, 20, 58, 1628, -60, -54, - 1342, 1497, -38, -12, 85, 65, 60, 207, 213, 162, - 215, 421, 133, 129, -39, -39, 167, 355, 13, 300, - 15, 353, 363, 142, 381, 406, 420, 318, 327, -31, - 16, 7,-32768, 339,-32768, 439,-32768, 487, 494, 429, - 8, 19,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 12, - 17,-32768,-32768,-32768,-32768, -64, 178, 192, 222, 272, - 273, 283, 286, 308, 347, 365, 369, 374, 397, 413, - 495, 498, 503, 598, 602, 627, 373, 410, 417, 418, --32768, 427,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 2405, - 2405, 2405,-32768,-32768, 2405, 1826, 14, 571, 2405, 479, - 604,-32768, 579, 585,-32768, 2405,-32768, 735, 482, 2064, - 2405, 1210,-32768,-32768,-32768, 680, 525,-32768, 2405, 2405, - 492, 2405, 544, 511, 552, 2405, 2405, 1759, 2405, 530, - 542, 551, 1759, 545, 550, 558, 565, 577, 578, 588, - 671, -39, -39, -39, 2405, 2405, 149,-32768, 252, -39, - 574, 592, 599, 2094, 391, 632,-32768, 1759, 26,-32768, --32768,-32768, 1759, 1759, 637, 640, 779, 2405, 2405, -61, - 2405, 652, 2405, 631, 714, 2405, 2405,-32768, 808,-32768, - 657,-32768,-32768, 828,-32768, 841, 716, 2405, 856, 726, --32768, -39,-32768, 2405, 2405, 2405, 2405, 2405, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 536, 543, 543, 543, 861, - 769, 743, 743, 743, 5187, 56, 2275, 1422, 280, 742, - 885, 759, 825,-32768,-32768, 2405, 2405, 2405, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, --32768, -24, 3695, 1890, 2405, 850, 2275, 5210, 2435,-32768, - 680,-32768, 478, 2405, 851, 5233, 5256, 2405, 5279, 722, - 2405, 852, 5302, 5325, 907, 5348, 2405, 2405, 2405, 918, - 2405, 2405, 2405, 636, 636, 636, 636, 800, 431,-32768, --32768, 3717, 3739, -39, -39, 845, 845, 481, 2405, 2405, - 2405, 2094, 2094, 2405, 484,-32768, 2405, 2746, 158, 928, --32768, 2405, 2767, 954, 963, 2405, 2405,-32768, 5371, 5394, - 888, 2405, 5417, 899, 3761,-32768, 855, 2528, 5440,-32768, - 2405, 2813,-32768, 2873,-32768, 2405, 1553, 269, 2405, 470, - -3, 5463, 1684, 5486, 4487, 5509, 4512, 5532, 4537, 5555, - 4562, 5578, 4587, 5601, 4612, 5624, 4637, 5647, 4662, 5670, - 4687, 5693, 4712, 3783, 3805, 5716, 4737, 5739, 4762, 5762, - 4787, 5785, 4812, 5808, 4837, 5831, 4862, 3827, 3849, 3871, - 3893, 3915, 3937, 648, -15, 857, 863, 867, 864, 2405, --32768, 1759, 1759, 672, 72, 543, 2405, 983, 986, 18, - 873,-32768, 2543, 705, 629, 763, 763, 731, 731, 731, - 731, 307, 307, 743, 743, 743, 743, 30, 2275, 2405, --32768, 2275, 4887, 2759, 2027, 675, 1002, 2275,-32768, 2558, - 2405, 1003, 1004, 5854, 1005, 2405, 2405, 5877, 2405, 1006, - 1007, 2405, 1008, 2886, 5900, 5923, 2405, 3163, 3187, 5946, - 883, 6314,-32768, 884, 886, 890, 882, -39, 2405, 2405, --32768,-32768,-32768, 887, 921,-32768, 892, 2405, 3959, 3981, - 4003, 3667, -39, 2894, 4912, -70, 128, -44, -22,-32768, --32768,-32768, 2405,-32768, 4937,-32768, 889, 894, 4962, 4987, - 1018, 1027, 904, 5969, 1030, 902, 2405, 2940, 2405, 2405, --32768, 5992,-32768,-32768, 5012, 62,-32768, 3211,-32768,-32768, - 908, 911, 900,-32768, 912, 1039,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768, 2405, 2405,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 2405, 2405, - 2405, 2405, 2405, 2405, 2405, 1042,-32768, 2275, 543,-32768, --32768, 2405, 1043, 1046, 919, 88, 2405, 1049, 1050, 948, --32768, 1051, 923, 16, 1068,-32768, 2405,-32768, 957, 543, - 35, 4025, 697, -71,-32768,-32768, 2275,-32768, -39, 680, --32768, 2405, 1175, 1759, 1759, 1070, 1759, 1311, 1371, 1071, - 1462, 1759, 1759, 1593, 941, 1074, 1075, 1076, 443, 1077, - 1079, 1080, 1082, 1083, 1085, 1086, 1090, 493, 4047, 4069, --32768,-32768, 3235, -39, -39, -39, 504,-32768, 221, 1089, - 2405, 2275, 2405, 2275, 2275, 2275, 1855, 1091, 2405, 2405, - 1092, 1093, 1759, 1759, 2405, 1094, 1759, 1096, 4091,-32768, - 2580, 581, 1095, 1097, 1100,-32768, 1099,-32768, 11, 964, - 2405, 2405, 1759, 968, 2405,-32768, 6015, 5037, 6038, 5062, - 6061, 5087, 6084, 5112, 5137, 976, 196, 977, 6107,-32768, --32768, 22, 285, 978, 1105, 2252,-32768,-32768,-32768, 16, - 2405,-32768, 708,-32768, 6314,-32768, 1107, 31, 2405, 981, - 732, 3, 6314,-32768, 32, 33, 1759, 1111,-32768,-32768, - 1759,-32768, 1112, 1113,-32768, 2405, 1759, 1759, 1759,-32768, - 378, 1759, 1759, 1759, 1759, 1759, 1759, 1759, 587, 2405, - 2405, 2405, 985, 187, 281, 371, 2094, 1114, 994, -27, --32768,-32768, 6130, 751, 6153, 764, 775, 783,-32768,-32768, - 4113, 4135,-32768,-32768, 1119, 1128, 6176, 64, 1047,-32768, - 2405, 2405, 2405,-32768, 998,-32768, 269,-32768, 1133, 2405, - 4157, 4179, 784,-32768, 2405, 6199,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768, 1009,-32768,-32768,-32768,-32768, 1759, - 543, 2405, 1134, 1137, 18,-32768, 1136, 5162, 16,-32768, --32768,-32768, 543, 4201,-32768, 1011,-32768,-32768, -39,-32768, - -39, 1138,-32768, 1141,-32768,-32768, 4223, 1142, 1143, 1144, - 2405, 2405, 869, 1145, 1147, 1148, 1149, 1150, 1151,-32768, - 636, 3259, 6222, 3073, 845, -39, 1152, -39, 1153, -39, - 1154, 3283, 634,-32768, 1759,-32768,-32768, 1002, 1155, 1005, - 1156, 1158, 1160, 2405, 2405,-32768,-32768, 1161, 1759, 1759, - 1055, 1759, 3103, 403, 6245, 2405,-32768,-32768, 244, 6314, - 2405, 2405, 1759, 1031, 788, 6314, 1759, 1165, 1166, 1167, - 2362,-32768, 1164, 1168,-32768, 1040,-32768, 1169, 2405,-32768, - 45, 54,-32768,-32768, 2405,-32768,-32768,-32768, 2462, 2483, - 1171,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 2498, 1172, - 1045,-32768, 2405,-32768, 1048, 643,-32768, 1052, 658,-32768, - 1053, 711,-32768, 1054, 1056, 2405, 1041,-32768,-32768,-32768, --32768, 4245, 4267, 64, 246, 791, 1057, 1101, 2405,-32768, - 2405,-32768,-32768, 4289,-32768, 2405, 4311, 4333,-32768, 1759, - 2405, 1176, 1181, 1064,-32768,-32768,-32768, 16,-32768, 1108, --32768, 4355,-32768,-32768, 4377,-32768,-32768,-32768,-32768,-32768, - 845, 3133,-32768, 2094, 221, 2094, 221, 2094, 221,-32768, - 3307, 1759, 2405, 2405, 1102,-32768,-32768, 1759, 2405, 3331, - 3355, 1759, 1060, 6314, 2405, 2405, 792, 6314,-32768,-32768, --32768, 1183,-32768, 2405, 1195, 1063, 2405,-32768, 3379, 719, - -21, 3403, 721, -7, 3427, 723, 48, 3000, 1065, 817, - 3451, 3475, 1067, 1069, 2513,-32768,-32768, 1078, 2405, 6268, - 4399, 1202,-32768, 4421, 1072,-32768, 3499, 1203, 2405, 1205, - 1209, 2405, 1211, 1237, 2405, 1238,-32768, 221,-32768, 1759, - 1239, 1240, 1241, 1759, 1759,-32768, 1242, 820,-32768, 2405, --32768, 2405, 1245,-32768,-32768, 1115, 3523,-32768,-32768, 1116, - 3547,-32768,-32768, 1117, 3571,-32768, 191, 3021, 1118,-32768, --32768,-32768, 1121, 1120,-32768, 1246, 1122, 6291, 3595, 1124, - 221, 1247, 221, 1251, 221, 1257,-32768,-32768, 221, 1258, - 1759, 1131,-32768, 543,-32768, 1259, 1262, 193,-32768, 1129, - 228,-32768, 1130, 243,-32768, 1139, 276,-32768, 1140, 1163, - 842,-32768, 1170,-32768, 1178, 1264, 221, 1273, 221, 1276, - 221,-32768, 1198, 2405, 543, 1285, 543, 1298,-32768, 282, --32768, 303,-32768, 313, 1173, 4443,-32768,-32768, 843,-32768, --32768, 1301, 1302, 1304, 2405, 2405, 543, 1305,-32768,-32768, --32768, 4465, 3619,-32768,-32768, 2405, 1313, 3643,-32768, 1314, --32768, 1321, 1322,-32768 +/* YYDEFGOTO[NTERM-NUM]. */ +static const short int yydefgoto[] = +{ + -1, 2, 3, 55, 632, 56, 57, 383, 921, 927, + 559, 712, 1045, 1173, 560, 1139, 1201, 561, 1175, 562, + 563, 716, 564, 121, 213, 58, 493, 523, 135, 506, + 507, 136, 62, 63, 64, 65, 66, 137, 681, 1100, + 1151, 970, 973, 976, 1118, 1122, 1126, 1162, 1165, 1168, + 792, 793, 68, 69, 70, 138, 124, 332, 170, 913, + 825, 826, 140, 305, 196, 627, 745, 495 }; -static const short yypgoto[] = {-32768, --32768,-32768, 575,-32768,-32768, 776,-32768, 245,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768, -263, 0,-32768, -28, 1324, 5, -334, -172, 10, --32768,-32768,-32768,-32768,-32768, 1325,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -697, -704, --32768,-32768,-32768, -4,-32768, 277,-32768, 344, -829, 354, - -98, -257, -596, 485,-32768, -2 +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -870 +static const short int yypact[] = +{ + 2706, 41, 57, 3103, -870, -870, 2225, -108, 20, 77, + 1628, -39, -23, 1342, 1497, 2, 36, 56, 74, 137, + 207, 213, 496, 224, 377, 136, 155, 167, 167, 238, + 355, 9, 281, 10, 379, 391, 4, 433, 449, 455, + 330, 333, -28, 11, 28, -870, 337, -870, 468, -870, + 489, 501, 440, 18, 25, -870, -870, -870, -870, -870, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -870, -870, 17, 15, -870, -870, -870, -870, -63, 178, + 279, 308, 347, 369, 397, 413, 459, 482, 483, 498, + 503, 510, 627, 632, 633, 638, 647, 648, 678, 374, + 388, 394, 410, -870, 453, -870, -870, -870, -870, -870, + -870, -870, 2405, 2405, 2405, -870, -870, 2405, 1826, 106, + 561, 2405, 563, 604, -870, 573, 589, -870, 2405, -870, + 495, 470, 2064, 2405, 1210, -870, -870, -870, 680, 526, + -870, 2405, 2405, 494, 2405, 529, 511, 535, 2405, 2405, + 1759, 2405, 530, 542, 543, 1759, 544, 545, 557, 558, + 577, 578, 598, 691, 167, 167, 167, 2405, 2405, -54, + -870, -22, 167, 574, 595, 605, 2094, -19, 621, -870, + 1759, 31, -870, -870, -870, 1759, 1759, 622, 637, 778, + 2405, 2405, -68, 2405, 649, 2405, 635, 696, 2405, 2405, + -870, 783, -870, 662, -870, -870, 800, -870, 808, 685, + 2405, 818, 687, -870, 167, -870, 2405, 2405, 2405, 2405, + 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, + 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, + 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, + 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 487, 368, + 368, 368, 836, 602, 714, 714, 714, 1424, 65, 2275, + 3111, 280, 723, 855, 731, 858, -870, -870, 2405, 2405, + 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 2405, + 2405, 2405, 2405, -870, -94, 3747, 1890, 2405, 740, 2275, + 5241, 2435, -870, 680, -870, 675, 2405, 821, 5264, 5287, + 2405, 5310, 773, 2405, 825, 5333, 5356, 868, 5379, 2405, + 2405, 2405, 871, 2405, 2405, 2405, 636, 636, 636, 636, + 755, 260, -870, -870, 3771, 3795, 167, 167, 786, 786, + 378, 2405, 2405, 2405, 2094, 2094, 2405, 387, -870, 2405, + 2768, 73, 904, -870, 2405, 2789, 907, 917, 2405, 2405, + -870, 5402, 5425, 824, 2405, 5448, 837, 3819, -870, 789, + 2541, 5471, -870, 2405, 2835, -870, 2895, -870, 2405, 4611, + 168, 2405, 376, -3, 5494, 4632, 5517, 4653, 5540, 4674, + 5563, 4695, 5586, 4716, 5609, 4737, 5632, 4758, 5655, 4779, + 5678, 4800, 5701, 4821, 5724, 4842, 3843, 3867, 5747, 4863, + 5770, 4884, 5793, 4905, 5816, 4926, 5839, 4947, 5862, 4968, + 3891, 3915, 3939, 3963, 3987, 4011, 706, 127, 791, 797, + 798, 794, 2405, -870, 1759, 1759, 733, 71, 368, 2405, + 927, 930, 16, 801, -870, 2558, 979, 894, 629, 629, + 732, 732, 732, 732, 447, 447, 714, 714, 714, 714, + 6, 2275, 2405, -870, 2275, 4989, 1555, 2027, 742, 931, + 2275, -870, 2580, 2405, 932, 933, 5885, 935, 2405, 2405, + 5908, 2405, 936, 937, 2405, 938, 1686, 5931, 5954, 2405, + 2781, 2908, 5977, 804, 6345, -870, 813, 814, 815, 819, + 167, 2405, 2405, -870, -870, -870, 809, 3165, -870, 810, + 2405, 4035, 4059, 4083, 3723, 167, 2916, 5010, -69, -45, + -58, -14, -870, -870, -870, 2405, -870, 5031, -870, 817, + 822, 5052, 5073, 947, 950, 826, 6000, 953, 827, 2405, + 2962, 2405, 2405, -870, 6023, -870, -870, 5094, 61, -870, + 3229, -870, -870, 830, 832, 828, -870, 833, 960, -870, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -870, -870, -870, -870, -870, -870, -870, 2405, 2405, -870, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -870, 2405, 2405, 2405, 2405, 2405, 2405, 2405, 964, -870, + 2275, 368, -870, -870, 2405, 978, 980, 853, 119, 2405, + 984, 985, 1175, -870, 986, 860, 11, 989, -870, 2405, + -870, 878, 368, 221, 4107, 745, 47, -870, -870, 2275, + -870, 167, 680, -870, 2405, 1311, 1759, 1759, 993, 1759, + 1371, 1462, 995, 1593, 1759, 1759, 1855, 864, 997, 998, + 1001, 712, 1014, 1016, 1020, 1021, 1025, 1026, 1027, 1032, + 390, 4131, 4155, -870, -870, 3255, 167, 167, 167, 392, + -870, 256, 1031, 2405, 2275, 2405, 2275, 2275, 2275, 2252, + 1033, 2405, 2405, 1034, 1037, 1759, 1759, 2405, 1038, 1759, + 1040, 4179, -870, 2601, 581, 1039, 1043, 1048, -870, 1049, + -870, 12, 906, 2405, 2405, 1759, 915, 2405, -870, 6046, + 5115, 6069, 5136, 6092, 5157, 6115, 5178, 5199, 923, 236, + 924, 6138, -870, -870, 22, 285, 922, 1052, 2360, -870, + -870, -870, 11, 2405, -870, 746, -870, 6345, -870, 1054, + 21, 2405, 926, 749, 19, 6345, -870, 30, 32, 1759, + 1056, -870, -870, 1759, -870, 1057, 1059, -870, 2405, 1759, + 1759, 1759, -870, 297, 1759, 1759, 1759, 1759, 1759, 1759, + 1759, 400, 2405, 2405, 2405, 928, 187, 298, 328, 2094, + 1060, 929, -27, -870, -870, 6161, 753, 6184, 754, 758, + 759, -870, -870, 4203, 4227, -870, -870, 1063, 1064, 6207, + 24, 983, -870, 2405, 2405, 2405, -870, 934, -870, 168, + -870, 1066, 2405, 4251, 4275, 764, -870, 2405, 6230, -870, + -870, -870, -870, -870, -870, -870, -870, 940, -870, -870, + -870, -870, 1759, 368, 2405, 1068, 1073, 16, -870, 1072, + 5220, 11, -870, -870, -870, 368, 4299, -870, 944, -870, + -870, 167, -870, 167, 1074, -870, 1075, -870, -870, 4323, + 1076, 1077, 1078, 2405, 2405, 840, 1080, 1081, 1083, 1084, + 1087, 1099, -870, 636, 3281, 6253, 3139, 786, 167, 1101, + 167, 1103, 167, 1106, 3307, 396, -870, 1759, -870, -870, + 931, 1107, 935, 1108, 1110, 1111, 2405, 2405, -870, -870, + 1112, 1759, 1759, 1030, 1759, 3169, 437, 6276, 2405, -870, + -870, 246, 6345, 2405, 2405, 1759, 981, 765, 6345, 1759, + 1120, 1119, 1127, 2381, -870, 1128, 1131, -870, 1003, -870, + 1134, 2405, -870, 45, 50, -870, -870, 2405, -870, -870, + -870, 2462, 2483, 1135, -870, -870, -870, -870, -870, -870, + -870, 2507, 1136, 1004, -870, 2405, -870, 994, 442, -870, + 1005, 445, -870, 1006, 452, -870, 1007, 1008, 2405, 1010, + -870, -870, -870, -870, 4347, 4371, 24, 253, 768, 1011, + 1069, 2405, -870, 2405, -870, -870, 4395, -870, 2405, 4419, + 4443, -870, 1759, 2405, 1143, 1145, 1022, -870, -870, -870, + 11, -870, 1067, -870, 4467, -870, -870, 4491, -870, -870, + -870, -870, -870, 786, 3199, -870, 2094, 256, 2094, 256, + 2094, 256, -870, 3333, 1759, 2405, 2405, 1065, -870, -870, + 1759, 2405, 3359, 3385, 1759, 1017, 6345, 2405, 2405, 769, + 6345, -870, -870, -870, 1152, -870, 2405, 1154, 1024, 2405, + -870, 3411, 454, 46, 3437, 481, 48, 3463, 484, 130, + 3022, 1023, 775, 3489, 3515, 1029, 1028, 2524, -870, -870, + 1035, 2405, 6299, 4515, 1155, -870, 4539, 1036, -870, 3541, + 1163, 2405, 1164, 1165, 2405, 1166, 1167, 2405, 1170, -870, + 256, -870, 1759, 1171, 1172, 1173, 1759, 1759, -870, 1176, + 781, -870, 2405, -870, 2405, 1179, -870, -870, 1047, 3567, + -870, -870, 1050, 3593, -870, -870, 1051, 3619, -870, 191, + 3043, 1053, -870, -870, -870, 1058, 1055, -870, 1181, 1061, + 6322, 3645, 1070, 256, 1182, 256, 1185, 256, 1186, -870, + -870, 256, 1191, 1759, 1113, -870, 368, -870, 1193, 1198, + 193, -870, 1071, 194, -870, 1079, 228, -870, 1104, 243, + -870, 1105, 1109, 782, -870, 1114, -870, 1115, 1200, 256, + 1201, 256, 1203, 256, -870, 1126, 2405, 368, 1209, 368, + 1211, -870, 276, -870, 277, -870, 303, 1117, 4563, -870, + -870, 785, -870, -870, 1238, 1240, 1241, 2405, 2405, 368, + 1244, -870, -870, -870, 4587, 3671, -870, -870, 2405, 1246, + 3697, -870, 1248, -870 }; - -#define YYLAST 6445 - - -static const short yytable[] = { 121, - 550, 123, 507, 120, 348, 437, 58, 353, 857, 434, - 195, 59, 202, 190, 550, 207, 176, 269, 179, 192, - 212, 623, 144, 202, 361, 125, 3, 742, 72, 350, - 372, 351, 374, 302, 124, 628, 852, 858, 860, 466, - 788, 97, 98, 99, 100, 789, 788, 101, 204, 206, - 1013, 789, 97, 98, 99, 100, 113, 114, 101, 1014, - 788, 681, 432, 127, 705, 789, 202, 214, 682, 215, - 362, 139, 551, 552, 553, 554, 555, 140, 72, 985, - 986, 163, 164, 859, 861, 897, 551, 552, 553, 554, - 555, 733, 165, 146, 685, 97, 98, 99, 100, 166, - 191, 101, 270, 271, 150, 262, 263, 264, 458, 147, - 265, 268, 896, 459, 273, 788, 686, 607, 1090, 147, - 789, 293, 608, 334, 335, 263, 298, 301, 106, 107, - 108, 109, 1093, 148, 306, 307, 556, 309, 196, 113, - 114, 313, 314, 847, 316, 208, 203, 209, 629, 629, - 819, 177, 210, 180, 193, 213, 624, 205, 126, 352, - 332, 333, 433, 522, 523, 334, 335, 748, 302, 333, - 1047, 617, 468, 514, 334, 335, 734, 735, 106, 107, - 108, 109, 183, 359, 360, 184, 363, 1096, 365, 113, - 114, 368, 369, 538, 141, 909, 149, 705, 302, 113, - 114, 631, 910, 377, 633, 153, 154, 616, 155, 382, - 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, - 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, - 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, - 423, 151, 937, 425, 426, 427, 428, 152, 788, 683, - 788, 156, 301, 789, 161, 789, 684, 162, 438, 334, - 335, 443, 444, 445, 446, 447, 448, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 436, 336, 788, 463, - 464, 841, 301, 789, 263, 788, 494, 495, 496, 470, - 789, 167, 169, 474, 175, 170, 478, 334, 335, 216, - 788, 217, 484, 485, 486, 789, 488, 489, 490, 492, - 492, 492, 492, 218, 886, 219, 887, 1061, 837, 1064, - 1147, 1067, 1176, 468, 509, 510, 511, 262, 263, 512, - 503, 503, 515, 788, 178, 506, 506, 525, 789, 788, - 727, 529, 530, 220, 789, 221, 897, 534, 181, 897, - 302, 137, 897, 302, 143, 145, 542, 1178, 182, 641, - 788, 545, 334, 335, 548, 789, 995, 547, 1036, 751, - 788, 996, 1180, 923, 185, 789, 106, 107, 108, 109, - 337, 106, 107, 108, 109, 171, 113, 114, 172, 173, - 1127, 334, 335, 222, 224, 223, 225, 113, 114, 186, - 991, 1052, 113, 114, 226, 1182, 227, 228, 888, 229, - 889, 1202, 897, 187, 794, 463, 796, 797, 798, 287, - 288, 289, 620, 619, 618, 871, 872, 290, 329, 230, - 331, 231, 1203, 1158, 198, 1161, 338, 1164, 770, 188, - 345, 1167, 1204, 897, 301, 632, 897, 301, 189, 897, - 463, 157, 897, 640, 158, 159, 643, 160, 840, 842, - 197, 648, 649, 201, 651, 163, 164, 654, 232, 1190, - 233, 1192, 659, 1194, 274, 897, 165, 897, 380, 897, - 199, 334, 335, 174, 669, 670, 234, 200, 235, 771, - 236, 315, 237, 673, 256, 238, 320, 239, 890, 302, - 891, 334, 335, 276, 277, 278, 279, 280, 687, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 240, 346, - 241, 349, 699, 290, 701, 702, 354, 355, 302, 424, - 202, 257, 992, 707, 242, 706, 243, 202, 258, 259, - 965, 334, 335, 276, 277, 278, 279, 280, 260, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 498, 97, - 98, 99, 100, 290, 272, 101, 97, 98, 99, 100, - 717, 718, 101, 302, 291, 302, 302, 302, 813, 292, - 334, 335, 880, 881, 719, 720, 721, 722, 723, 724, - 725, 334, 335, 301, 334, 335, 728, 729, 549, 275, - 501, 502, 736, 334, 335, 468, 305, 469, 508, 331, - 295, 513, 745, 308, 334, 335, 244, 747, 245, 246, - 780, 247, 301, 706, 248, 310, 249, 753, 69, 261, - 202, 787, 311, 312, 73, 74, 75, 76, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 317, 97, - 98, 99, 100, 318, 328, 101, 793, 301, 795, 301, - 301, 301, 319, 321, 801, 802, 1056, 304, 322, 323, - 807, 276, 277, 278, 279, 280, 324, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 821, 822, 325, 326, - 826, 290, 339, 814, 276, 277, 278, 279, 280, 327, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 250, - 340, 251, 843, 252, 290, 253, 848, 341, 102, 103, - 104, 105, 279, 280, 854, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 334, 335, 110, 111, 254, 290, - 255, 867, 112, 334, 335, 347, 476, 115, 477, 366, - 356, 976, 118, 357, 668, 882, 883, 884, 334, 335, - 1024, 605, 892, 606, 358, 613, 614, 364, 371, 677, - 276, 277, 278, 279, 280, 1026, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 367, 913, 914, 915, 468, - 290, 615, 468, 370, 638, 920, 917, 278, 279, 280, - 926, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 442, 334, 335, 373, 468, 290, 750, 931, 930, 334, - 335, 334, 335, 334, 335, 849, 375, 850, 1028, 376, - 938, 285, 286, 287, 288, 289, 1089, 1068, 1092, 378, - 1095, 290, 113, 114, 379, 429, 949, 950, 294, 468, - 209, 856, 951, 290, 952, 210, 959, 439, 960, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 468, 503, - 899, 440, 441, 290, 506, 471, 113, 114, 479, 982, - 983, 468, 430, 901, 209, 24, 25, 26, 27, 210, - 29, 994, 468, 482, 902, 752, 997, 998, 35, 36, - 468, 923, 903, 924, 487, 1001, 1128, 1002, 923, 923, - 1037, 1082, 497, 524, 1012, 276, 277, 278, 279, 280, - 1015, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 784, 785, 786, 739, 1100, 290, 1101, 1001, 1022, 1136, - 527, 516, 9, 10, 517, 518, 13, 519, 15, 528, - 16, 1031, 18, 19, 533, 21, 22, 113, 114, 1185, - 1207, 1186, 1208, 465, 1040, 209, 1041, 536, 621, 622, - 210, 1044, 34, 539, 609, 610, 1048, 755, 756, 611, - 758, 612, 38, 39, 40, 763, 764, 626, 639, 644, - 645, 647, 652, 653, 655, 663, 664, 667, 665, 1059, - 50, 1062, 666, 1065, 693, 503, 671, 689, 1071, 1072, - 506, 672, 690, 694, 1075, 695, 697, 698, 713, 711, - 1080, 1081, 712, 715, 716, 726, 805, 806, 730, 1084, - 809, 731, 1087, 732, 737, 738, 741, 740, 276, 277, - 278, 279, 280, 893, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 744, 926, 746, 757, 761, 290, 766, - 767, 768, 769, 772, 1117, 773, 774, 1121, 775, 776, - 1125, 777, 778, 779, 792, 820, 800, 803, 804, 810, - 808, 815, 816, 817, 818, 1138, 825, 1139, 836, 838, - 862, 845, 851, 844, 864, 855, 863, 865, 866, 894, - 868, 869, 870, 885, 906, 873, 874, 875, 876, 877, - 878, 879, 895, 907, 912, 941, 916, 942, 918, 932, - 933, 935, 987, 943, 928, 940, 944, 946, 947, 948, - 953, 1172, 954, 955, 956, 957, 958, 967, 970, 973, - 978, 979, 966, 980, 969, 981, 972, 984, 1004, 1000, - 1008, 1005, 1006, 1009, 1011, 1010, 1018, 1020, 1032, 1196, - 754, 1049, 1197, 1021, 1200, 1039, 1050, 1023, 1083, 1073, - 1025, 1027, 1029, 929, 1030, 1038, 1051, 1053, 1079, 1085, - 1212, 1213, 1086, 1099, 1214, 1104, 1105, 1111, 1115, 1113, - 1118, 1218, 69, 128, 1119, 1170, 1122, 1107, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 1123, 1126, 1130, 1131, 1132, 1135, 977, 1140, - 129, 1153, 1159, 1141, 1143, 1145, 1162, 1150, 1151, 1152, - 1154, 1157, 1165, 1168, 1174, 988, 1175, 1177, 1179, 1189, - 24, 25, 26, 27, 28, 29, 999, 1181, 1191, 1183, - 1003, 1193, 1195, 35, 36, 276, 277, 278, 279, 280, - 1198, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 1060, 1184, 1063, 1201, 1066, 290, 1209, 1210, 1187, 1211, - 1215, 1205, 102, 103, 104, 105, 759, 1188, 1219, 1221, - 1223, 1224, 853, 1108, 709, 57, 65, 1035, 0, 934, - 110, 299, 0, 0, 0, 0, 112, 0, 0, 0, - 0, 115, 0, 0, 69, 128, 118, 0, 0, 300, - 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 0, 0, 760, 0, 0, 0, - 0, 0, 129, 0, 0, 1070, 0, 0, 0, 0, - 0, 1074, 0, 0, 0, 1078, 0, 0, 0, 0, - 0, 0, 24, 25, 26, 27, 28, 29, 141, 0, - 0, 0, 0, 0, 0, 35, 36, 0, 0, 0, - 0, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 0, 102, 103, 104, 105, 0, 0, - 0, 0, 0, 1129, 0, 0, 0, 1133, 1134, 0, - 0, 0, 110, 130, 0, 0, 0, 762, 112, 0, - 0, 0, 0, 142, 0, 0, 0, 0, 118, 0, - 132, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 69, - 128, 290, 0, 0, 1169, 73, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 0, - 0, 0, 276, 277, 278, 279, 280, 129, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 435, 24, 25, 26, - 27, 28, 29, 144, 0, 0, 0, 0, 0, 0, - 35, 36, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 0, 0, 765, 102, - 103, 104, 105, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 110, 130, 0, - 0, 0, 0, 112, 0, 0, 0, 0, 115, 0, - 69, 128, 0, 118, 0, 132, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 0, 0, 0, 276, 277, 278, 279, 280, 129, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 546, 24, 25, - 26, 27, 28, 29, 0, 0, 0, 0, 0, 0, - 0, 35, 36, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, - 102, 103, 104, 105, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 110, 130, - 0, 0, 0, 0, 112, 0, 0, 0, 0, 131, - 0, 69, 128, 0, 118, 0, 132, 73, 74, 75, - 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, - 96, 0, 0, 0, 276, 277, 278, 279, 280, 129, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290, 0, 0, 0, 564, 24, - 25, 26, 27, 28, 29, 0, 0, 0, 69, 261, - 0, 0, 35, 36, 73, 74, 75, 76, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 0, 0, - 799, 102, 103, 104, 105, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, - 130, 0, 0, 0, 0, 112, 0, 0, 0, 0, - 115, 0, 69, 261, 0, 118, 0, 132, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 0, 0, 0, 0, 0, 0, 102, 103, - 104, 105, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 110, 111, 0, 0, - 0, 0, 112, 0, 0, 0, 0, 115, 0, 0, - 266, 0, 118, 0, 267, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, - 0, 0, 102, 103, 104, 105, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 110, 111, 0, 0, 0, 0, 112, 0, 0, 0, - 0, 115, 0, 0, 461, 0, 118, 0, 462, 69, - 261, 0, 0, 0, 0, 73, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 0, - 0, 0, 0, 0, 0, 0, 69, 296, 0, 0, - 0, 0, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, 94, 95, 96, 69, 261, 0, 0, - 0, 0, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, 94, 95, 96, 0, 0, 0, 102, - 103, 104, 105, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 110, 111, 0, - 0, 0, 0, 112, 0, 0, 0, 0, 115, 0, - 0, 636, 0, 118, 0, 637, 102, 103, 104, 105, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 110, 111, 0, 0, 0, 0, - 112, 0, 0, 0, 0, 115, 102, 103, 104, 105, - 118, 0, 297, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 342, 343, 0, 0, 0, 0, - 112, 0, 0, 0, 0, 344, 0, 69, 70, 71, - 118, 72, 166, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 846, 97, 98, - 99, 100, 0, 0, 101, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 69, 128, 0, - 0, 0, 0, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 0, 0, 0, - 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 102, 103, 104, - 105, 106, 107, 108, 109, 24, 25, 26, 27, 28, - 29, 0, 0, 0, 0, 110, 111, 0, 35, 36, - 0, 112, 113, 114, 0, 0, 115, 0, 116, 0, - 117, 118, 276, 277, 278, 279, 280, 1007, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 102, 103, 104, - 105, 0, 290, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 110, 299, 0, 0, 0, - 0, 112, 0, 0, 0, 0, 115, 69, 261, 0, - 0, 118, 0, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 69, 296, 0, - 0, 0, 0, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 1016, 0, 0, - 0, 0, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 1017, 0, - 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1019, 0, 0, 0, 102, 103, 104, - 105, 0, 0, 0, 0, 0, 0, 0, 1106, 0, - 0, 0, 0, 0, 0, 110, 111, 0, 0, 0, - 0, 112, 0, 0, 0, 540, 115, 102, 103, 104, - 105, 118, 0, 0, 0, 0, 0, 0, 0, 0, - 627, 0, 0, 0, 0, 110, 111, 0, 0, 0, - 0, 112, 0, 0, 0, 642, 115, 0, 0, 0, - 0, 118, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 812, 0, 0, - 0, 0, 290, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 276, 277, - 278, 279, 280, 290, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 276, 277, 278, 279, 280, 290, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 276, 277, - 278, 279, 280, 290, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 276, 277, 278, 279, 280, 290, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 276, 277, - 278, 279, 280, 290, 281, 282, 283, 284, 285, 286, - 287, 288, 289, -3, 1, 0, 0, -3, 290, 0, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 0, 0, 0, 0, -3, 0, 0, 0, - 0, -3, -3, 0, -3, -3, -3, -3, -3, -3, - -3, -3, 0, -3, -3, -3, -3, -3, -3, -3, - 0, 0, 0, -3, -3, -3, -3, -3, -3, -3, - 0, -3, -3, -3, -3, -3, 0, -3, -3, 0, - 0, 0, 0, 0, -3, -3, -3, -3, 0, 0, - 0, 0, -3, 0, -3, 0, -3, -3, -3, -3, - -3, -3, -3, -3, -3, -3, 516, 9, 10, 517, - 518, 13, 519, 15, 0, 16, 0, 18, 19, 0, - 21, 22, 0, 0, 0, 0, 0, 516, 9, 10, - 517, 518, 13, 519, 15, 0, 16, 34, 18, 19, - 0, 21, 22, 0, 0, 0, 0, 38, 39, 40, - 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, - 0, 0, 0, 0, 0, 50, 0, 0, 38, 39, - 40, 0, 0, 516, 9, 10, 517, 518, 13, 519, - 15, 0, 16, 0, 18, 19, 50, 21, 22, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 34, 520, 0, 0, 0, 290, - 0, 0, 0, 0, 38, 39, 40, 0, 635, 0, - 0, 0, 0, 0, 0, 0, 526, 0, 0, 0, - 0, 0, 50, 516, 9, 10, 517, 518, 13, 519, - 15, 0, 16, 0, 18, 19, 0, 21, 22, 0, - 0, 0, 0, 0, 516, 9, 10, 517, 518, 13, - 519, 15, 0, 16, 34, 18, 19, 0, 21, 22, - 0, 0, 543, 0, 38, 39, 40, 0, 0, 0, - 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, - 0, 0, 50, 0, 0, 38, 39, 40, 0, 0, - 516, 9, 10, 517, 518, 13, 519, 15, 0, 16, - 0, 18, 19, 50, 21, 22, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 34, 544, 0, 0, 0, 290, 0, 0, 0, - 0, 38, 39, 40, 0, 656, 0, 0, 0, 0, - 0, 0, 0, 678, 0, 0, 0, 0, 0, 50, - 516, 9, 10, 517, 518, 13, 519, 15, 0, 16, - 0, 18, 19, 0, 21, 22, 0, 0, 0, 0, - 0, 516, 9, 10, 517, 518, 13, 519, 15, 0, - 16, 34, 18, 19, 0, 21, 22, 0, 0, 700, - 0, 38, 39, 40, 4, 0, 0, 0, 0, 0, - 0, 0, 34, 0, 0, 0, 0, 0, 0, 50, - 0, 0, 38, 39, 40, 0, 0, 0, 0, 0, - 0, 0, 0, 5, 0, 0, 0, 0, 6, 7, - 50, 8, 9, 10, 11, 12, 13, 14, 15, 0, - 16, 17, 18, 19, 20, 21, 22, 0, 0, 1097, - 23, 24, 25, 26, 27, 28, 29, 0, 30, 31, - 32, 33, 34, 0, 35, 36, 0, 0, 0, 0, - 1148, 37, 38, 39, 40, 0, 0, 0, 0, 41, - 0, 42, 0, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, - 963, 0, 964, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, - 989, 0, 990, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, - 1057, 0, 1058, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 276, 277, 278, - 279, 280, 660, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 276, 277, 278, 279, 280, 661, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 0, 0, 276, 277, 278, 279, 280, - 708, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 0, 0, 276, - 277, 278, 279, 280, 783, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 0, 0, 276, 277, 278, 279, 280, 961, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 276, 277, 278, - 279, 280, 975, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 276, 277, 278, 279, 280, 1069, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 0, 0, 276, 277, 278, 279, 280, - 1076, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 0, 0, 276, - 277, 278, 279, 280, 1077, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 0, 0, 276, 277, 278, 279, 280, 1088, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 276, 277, 278, - 279, 280, 1091, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 276, 277, 278, 279, 280, 1094, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 0, 0, 276, 277, 278, 279, 280, - 1102, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 0, 0, 276, - 277, 278, 279, 280, 1103, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 0, 0, 276, 277, 278, 279, 280, 1114, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 276, 277, 278, - 279, 280, 1142, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 276, 277, 278, 279, 280, 1144, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 0, 0, 276, 277, 278, 279, 280, - 1146, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 0, 0, 276, - 277, 278, 279, 280, 1156, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 0, 0, 276, 277, 278, 279, 280, 1217, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 0, 0, 276, 277, 278, - 279, 280, 1220, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 431, - 0, 0, 0, 0, 499, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 460, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 499, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 500, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 537, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 585, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 586, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 599, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 600, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 601, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 602, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 603, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 604, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 674, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 675, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 676, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 749, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 781, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 782, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 811, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 904, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 905, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 921, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 922, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 939, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 945, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 1033, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 1034, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 1042, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 1045, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 1046, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 1054, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 276, - 277, 278, 279, 280, 1055, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 276, 277, 278, 279, 280, 1110, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 276, 277, 278, 279, 280, 1112, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 276, 277, 278, 279, 280, - 1206, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 276, 277, 278, - 279, 280, 1216, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 566, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 568, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 570, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 572, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 574, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 576, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 578, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 580, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 582, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 584, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 588, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 590, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 592, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 594, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 596, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 598, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 634, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 680, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 688, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 691, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 692, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 704, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 828, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 830, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 832, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 834, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 0, - 0, 835, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 0, 0, 936, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 431, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 467, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 472, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 0, 0, 0, 0, 0, 290, 0, 473, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 475, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 480, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 481, 276, 277, - 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 0, 0, 0, 0, 0, 290, 0, - 483, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 531, 276, 277, 278, 279, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290, 0, 532, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 535, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 541, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 563, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 0, 0, 0, 0, 0, 290, 0, 565, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 567, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 569, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 571, 276, 277, - 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 0, 0, 0, 0, 0, 290, 0, - 573, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 575, 276, 277, 278, 279, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290, 0, 577, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 579, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 581, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 583, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 0, 0, 0, 0, 0, 290, 0, 587, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 589, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 591, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 593, 276, 277, - 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 0, 0, 0, 0, 0, 290, 0, - 595, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 597, 276, 277, 278, 279, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290, 0, 646, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 650, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 657, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 658, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 0, 0, 0, 0, 0, 290, 0, 662, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 696, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 703, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 827, 276, 277, - 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 0, 0, 0, 0, 0, 290, 0, - 829, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 831, 276, 277, 278, 279, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290, 0, 833, 276, 277, 278, - 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 0, 0, 0, 0, 0, 290, 0, 839, - 276, 277, 278, 279, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 0, 0, 0, 0, 0, - 290, 0, 898, 276, 277, 278, 279, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 0, 0, - 0, 0, 0, 290, 0, 900, 276, 277, 278, 279, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 0, 0, 0, 0, 0, 290, 0, 908, 276, - 277, 278, 279, 280, 0, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 0, 0, 0, 0, 0, 290, - 0, 927, 276, 277, 278, 279, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 0, 0, 0, - 0, 0, 290, 0, 962, 276, 277, 278, 279, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 0, 0, 0, 0, 0, 290, 0, 993, 276, 277, - 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 0, 0, 0, 0, 0, 290, 0, - 1109, 276, 277, 278, 279, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 0, 0, 0, 0, - 0, 290, 0, 1155, 276, 277, 278, 279, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 0, - 0, 0, 0, 0, 290 +/* YYPGOTO[NTERM-NUM]. */ +static const short int yypgoto[] = +{ + -870, -870, -870, -870, 466, -870, -870, 609, -870, 123, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -870, -870, -870, -264, -2, -870, 103, 1254, 3, -336, + -174, 8, -870, -870, -870, -870, -870, 1255, -870, -870, + -870, -870, -870, -870, -870, -870, -870, -870, -870, -870, + -699, -706, -870, -870, -870, -6, -870, 275, -870, 273, + -869, 352, -100, -259, -598, 414, -870, -4 }; -static const short yycheck[] = { 4, - 4, 4, 337, 4, 177, 269, 2, 180, 6, 267, - 4, 2, 5, 45, 4, 4, 4, 4, 4, 4, - 4, 4, 67, 5, 86, 6, 6, 624, 7, 4, - 203, 6, 205, 132, 132, 6, 6, 6, 6, 297, - 68, 34, 35, 36, 37, 73, 68, 40, 51, 52, - 6, 73, 34, 35, 36, 37, 128, 129, 40, 6, - 68, 132, 7, 6, 136, 73, 5, 132, 139, 134, - 132, 132, 76, 77, 78, 79, 80, 132, 7, 909, - 910, 121, 122, 52, 52, 790, 76, 77, 78, 79, - 80, 4, 132, 132, 139, 34, 35, 36, 37, 139, - 132, 40, 89, 90, 45, 110, 111, 112, 133, 132, - 115, 116, 140, 138, 119, 68, 139, 133, 140, 132, - 73, 126, 138, 121, 122, 130, 131, 132, 107, 108, - 109, 110, 140, 49, 139, 140, 140, 142, 132, 128, - 129, 146, 147, 740, 149, 134, 139, 136, 119, 119, - 140, 139, 141, 139, 139, 139, 139, 139, 139, 134, - 165, 166, 107, 6, 7, 121, 122, 133, 267, 174, - 1000, 435, 138, 346, 121, 122, 89, 90, 107, 108, - 109, 110, 41, 188, 189, 44, 191, 140, 193, 128, - 129, 196, 197, 366, 67, 132, 132, 136, 297, 128, - 129, 459, 139, 208, 462, 44, 45, 136, 47, 214, - 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, - 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, - 255, 45, 849, 256, 257, 258, 259, 45, 68, 132, - 68, 47, 267, 73, 132, 73, 139, 139, 269, 121, - 122, 276, 277, 278, 279, 280, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 7, 139, 68, 294, - 295, 7, 297, 73, 299, 68, 325, 326, 327, 304, - 73, 25, 26, 308, 28, 139, 311, 121, 122, 132, - 68, 134, 317, 318, 319, 73, 321, 322, 323, 324, - 325, 326, 327, 132, 138, 134, 140, 1025, 133, 1027, - 140, 1029, 140, 138, 339, 340, 341, 342, 343, 344, - 336, 337, 347, 68, 45, 336, 337, 352, 73, 68, - 608, 356, 357, 132, 73, 134, 1061, 362, 6, 1064, - 459, 8, 1067, 462, 11, 12, 371, 140, 6, 468, - 68, 376, 121, 122, 379, 73, 133, 378, 133, 637, - 68, 138, 140, 138, 4, 73, 107, 108, 109, 110, - 139, 107, 108, 109, 110, 41, 128, 129, 44, 45, - 1098, 121, 122, 132, 132, 134, 134, 128, 129, 4, - 8, 1008, 128, 129, 132, 140, 134, 132, 138, 134, - 140, 140, 1127, 4, 682, 430, 684, 685, 686, 123, - 124, 125, 437, 436, 435, 58, 59, 131, 162, 132, - 164, 134, 140, 1141, 6, 1143, 170, 1145, 6, 132, - 174, 1149, 140, 1158, 459, 460, 1161, 462, 132, 1164, - 465, 41, 1167, 468, 44, 45, 471, 47, 732, 733, - 132, 476, 477, 45, 479, 121, 122, 482, 132, 1177, - 134, 1179, 487, 1181, 6, 1190, 132, 1192, 212, 1194, - 4, 121, 122, 139, 499, 500, 132, 4, 134, 57, - 132, 148, 134, 508, 132, 132, 153, 134, 138, 608, - 140, 121, 122, 111, 112, 113, 114, 115, 523, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 132, 139, - 134, 178, 537, 131, 539, 540, 183, 184, 637, 4, - 5, 132, 140, 546, 132, 546, 134, 5, 132, 132, - 885, 121, 122, 111, 112, 113, 114, 115, 132, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 138, 34, - 35, 36, 37, 131, 4, 40, 34, 35, 36, 37, - 585, 586, 40, 682, 6, 684, 685, 686, 8, 5, - 121, 122, 6, 7, 599, 600, 601, 602, 603, 604, - 605, 121, 122, 608, 121, 122, 609, 612, 139, 6, - 334, 335, 617, 121, 122, 138, 92, 140, 138, 343, - 139, 138, 627, 132, 121, 122, 132, 630, 134, 132, - 138, 134, 637, 634, 132, 92, 134, 642, 3, 4, - 5, 138, 132, 92, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 139, 34, - 35, 36, 37, 132, 4, 40, 681, 682, 683, 684, - 685, 686, 132, 139, 689, 690, 1021, 8, 139, 132, - 695, 111, 112, 113, 114, 115, 132, 117, 118, 119, - 120, 121, 122, 123, 124, 125, 711, 712, 132, 132, - 715, 131, 139, 133, 111, 112, 113, 114, 115, 132, - 117, 118, 119, 120, 121, 122, 123, 124, 125, 132, - 139, 134, 733, 132, 131, 134, 741, 139, 103, 104, - 105, 106, 114, 115, 749, 117, 118, 119, 120, 121, - 122, 123, 124, 125, 121, 122, 121, 122, 132, 131, - 134, 766, 127, 121, 122, 134, 45, 132, 47, 139, - 134, 138, 137, 134, 498, 780, 781, 782, 121, 122, - 138, 134, 787, 136, 6, 432, 433, 136, 132, 513, - 111, 112, 113, 114, 115, 138, 117, 118, 119, 120, - 121, 122, 123, 124, 125, 92, 811, 812, 813, 138, - 131, 140, 138, 6, 140, 820, 817, 113, 114, 115, - 825, 117, 118, 119, 120, 121, 122, 123, 124, 125, - 6, 121, 122, 6, 138, 131, 140, 842, 841, 121, - 122, 121, 122, 121, 122, 138, 6, 140, 138, 134, - 853, 121, 122, 123, 124, 125, 138, 1030, 138, 4, - 138, 131, 128, 129, 139, 5, 871, 872, 134, 138, - 136, 140, 4, 131, 6, 141, 881, 136, 881, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 138, 885, - 140, 7, 134, 131, 885, 45, 128, 129, 47, 904, - 905, 138, 134, 140, 136, 61, 62, 63, 64, 141, - 66, 916, 138, 7, 140, 639, 921, 922, 74, 75, - 138, 138, 140, 140, 7, 138, 1099, 140, 138, 138, - 140, 140, 133, 6, 939, 111, 112, 113, 114, 115, - 945, 117, 118, 119, 120, 121, 122, 123, 124, 125, - 674, 675, 676, 6, 138, 131, 140, 138, 963, 140, - 7, 41, 42, 43, 44, 45, 46, 47, 48, 7, - 50, 976, 52, 53, 87, 55, 56, 128, 129, 138, - 138, 140, 140, 134, 989, 136, 991, 89, 6, 4, - 141, 996, 72, 139, 138, 133, 1001, 644, 645, 133, - 647, 138, 82, 83, 84, 652, 653, 135, 7, 7, - 7, 7, 7, 7, 7, 133, 133, 136, 133, 1024, - 100, 1026, 133, 1028, 7, 1021, 140, 139, 1033, 1034, - 1021, 140, 139, 7, 1039, 132, 7, 136, 139, 132, - 1045, 1046, 132, 132, 6, 4, 693, 694, 6, 1054, - 697, 6, 1057, 135, 6, 6, 134, 7, 111, 112, - 113, 114, 115, 787, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 6, 1079, 119, 7, 7, 131, 139, - 7, 7, 7, 7, 1089, 7, 7, 1092, 7, 7, - 1095, 7, 7, 4, 6, 132, 6, 6, 6, 4, - 7, 7, 6, 4, 6, 1110, 139, 1112, 133, 133, - 757, 7, 6, 136, 761, 135, 6, 6, 6, 6, - 767, 768, 769, 139, 6, 772, 773, 774, 775, 776, - 777, 778, 139, 6, 88, 859, 139, 861, 6, 6, - 4, 6, 88, 6, 136, 135, 6, 6, 6, 6, - 6, 1154, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 886, 6, 888, 6, 890, 7, 4, 139, - 7, 6, 6, 6, 6, 136, 6, 6, 138, 1184, - 6, 6, 1185, 139, 1187, 85, 6, 140, 6, 88, - 139, 139, 139, 840, 139, 139, 133, 90, 139, 5, - 1205, 1206, 140, 139, 1207, 139, 138, 6, 6, 138, - 6, 1216, 3, 4, 6, 85, 6, 140, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 6, 6, 6, 6, 6, 6, 895, 5, - 41, 6, 6, 139, 139, 139, 6, 140, 138, 140, - 139, 138, 6, 6, 6, 912, 5, 139, 139, 6, - 61, 62, 63, 64, 65, 66, 923, 139, 6, 140, - 927, 6, 85, 74, 75, 111, 112, 113, 114, 115, - 6, 117, 118, 119, 120, 121, 122, 123, 124, 125, - 1024, 139, 1026, 6, 1028, 131, 6, 6, 139, 6, - 6, 139, 103, 104, 105, 106, 6, 140, 6, 6, - 0, 0, 748, 1079, 549, 2, 2, 984, -1, 845, - 121, 122, -1, -1, -1, -1, 127, -1, -1, -1, - -1, 132, -1, -1, 3, 4, 137, -1, -1, 140, - 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, -1, -1, 6, -1, -1, -1, - -1, -1, 41, -1, -1, 1032, -1, -1, -1, -1, - -1, 1038, -1, -1, -1, 1042, -1, -1, -1, -1, - -1, -1, 61, 62, 63, 64, 65, 66, 67, -1, - -1, -1, -1, -1, -1, 74, 75, -1, -1, -1, - -1, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, -1, 103, 104, 105, 106, -1, -1, - -1, -1, -1, 1100, -1, -1, -1, 1104, 1105, -1, - -1, -1, 121, 122, -1, -1, -1, 6, 127, -1, - -1, -1, -1, 132, -1, -1, -1, -1, 137, -1, - 139, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, 3, - 4, 131, -1, -1, 1151, 9, 10, 11, 12, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, - -1, -1, 111, 112, 113, 114, 115, 41, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 61, 62, 63, - 64, 65, 66, 67, -1, -1, -1, -1, -1, -1, - 74, 75, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, -1, -1, 6, 103, - 104, 105, 106, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 121, 122, -1, - -1, -1, -1, 127, -1, -1, -1, -1, 132, -1, - 3, 4, -1, 137, -1, 139, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - -1, -1, -1, 111, 112, 113, 114, 115, 41, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 135, 61, 62, - 63, 64, 65, 66, -1, -1, -1, -1, -1, -1, - -1, 74, 75, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, -1, -1, -1, - 103, 104, 105, 106, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 121, 122, - -1, -1, -1, -1, 127, -1, -1, -1, -1, 132, - -1, 3, 4, -1, 137, -1, 139, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, -1, -1, -1, 111, 112, 113, 114, 115, 41, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131, -1, -1, -1, 135, 61, - 62, 63, 64, 65, 66, -1, -1, -1, 3, 4, - -1, -1, 74, 75, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, -1, -1, - 6, 103, 104, 105, 106, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 121, - 122, -1, -1, -1, -1, 127, -1, -1, -1, -1, - 132, -1, 3, 4, -1, 137, -1, 139, 9, 10, - 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, -1, -1, -1, -1, -1, -1, 103, 104, - 105, 106, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 121, 122, -1, -1, - -1, -1, 127, -1, -1, -1, -1, 132, -1, -1, - 135, -1, 137, -1, 139, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, -1, -1, -1, - -1, -1, 103, 104, 105, 106, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 121, 122, -1, -1, -1, -1, 127, -1, -1, -1, - -1, 132, -1, -1, 135, -1, 137, -1, 139, 3, - 4, -1, -1, -1, -1, 9, 10, 11, 12, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, - -1, -1, -1, -1, -1, -1, 3, 4, -1, -1, - -1, -1, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 3, 4, -1, -1, - -1, -1, 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, -1, -1, -1, 103, - 104, 105, 106, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 121, 122, -1, - -1, -1, -1, 127, -1, -1, -1, -1, 132, -1, - -1, 135, -1, 137, -1, 139, 103, 104, 105, 106, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 121, 122, -1, -1, -1, -1, - 127, -1, -1, -1, -1, 132, 103, 104, 105, 106, - 137, -1, 139, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 121, 122, -1, -1, -1, -1, - 127, -1, -1, -1, -1, 132, -1, 3, 4, 5, - 137, 7, 139, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 6, 34, 35, - 36, 37, -1, -1, 40, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 3, 4, -1, - -1, -1, -1, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, -1, -1, -1, - -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 103, 104, 105, - 106, 107, 108, 109, 110, 61, 62, 63, 64, 65, - 66, -1, -1, -1, -1, 121, 122, -1, 74, 75, - -1, 127, 128, 129, -1, -1, 132, -1, 134, -1, - 136, 137, 111, 112, 113, 114, 115, 6, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 103, 104, 105, - 106, -1, 131, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 121, 122, -1, -1, -1, - -1, 127, -1, -1, -1, -1, 132, 3, 4, -1, - -1, 137, -1, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 3, 4, -1, - -1, -1, -1, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 6, -1, -1, - -1, -1, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, 6, -1, - -1, -1, 131, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 6, -1, -1, -1, 103, 104, 105, - 106, -1, -1, -1, -1, -1, -1, -1, 6, -1, - -1, -1, -1, -1, -1, 121, 122, -1, -1, -1, - -1, 127, -1, -1, -1, 8, 132, 103, 104, 105, - 106, 137, -1, -1, -1, -1, -1, -1, -1, -1, - 8, -1, -1, -1, -1, 121, 122, -1, -1, -1, - -1, 127, -1, -1, -1, 8, 132, -1, -1, -1, - -1, 137, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 8, -1, -1, - -1, -1, 131, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 111, 112, - 113, 114, 115, 131, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 111, 112, 113, 114, 115, 131, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 111, 112, - 113, 114, 115, 131, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 111, 112, 113, 114, 115, 131, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 111, 112, - 113, 114, 115, 131, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 0, 1, -1, -1, 4, 131, -1, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, -1, -1, -1, -1, 33, -1, -1, -1, - -1, 38, 39, -1, 41, 42, 43, 44, 45, 46, - 47, 48, -1, 50, 51, 52, 53, 54, 55, 56, - -1, -1, -1, 60, 61, 62, 63, 64, 65, 66, - -1, 68, 69, 70, 71, 72, -1, 74, 75, -1, - -1, -1, -1, -1, 81, 82, 83, 84, -1, -1, - -1, -1, 89, -1, 91, -1, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 41, 42, 43, 44, - 45, 46, 47, 48, -1, 50, -1, 52, 53, -1, - 55, 56, -1, -1, -1, -1, -1, 41, 42, 43, - 44, 45, 46, 47, 48, -1, 50, 72, 52, 53, - -1, 55, 56, -1, -1, -1, -1, 82, 83, 84, - -1, -1, -1, -1, -1, -1, -1, -1, 72, -1, - -1, -1, -1, -1, -1, 100, -1, -1, 82, 83, - 84, -1, -1, 41, 42, 43, 44, 45, 46, 47, - 48, -1, 50, -1, 52, 53, 100, 55, 56, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, 72, 140, -1, -1, -1, 131, - -1, -1, -1, -1, 82, 83, 84, -1, 140, -1, - -1, -1, -1, -1, -1, -1, 140, -1, -1, -1, - -1, -1, 100, 41, 42, 43, 44, 45, 46, 47, - 48, -1, 50, -1, 52, 53, -1, 55, 56, -1, - -1, -1, -1, -1, 41, 42, 43, 44, 45, 46, - 47, 48, -1, 50, 72, 52, 53, -1, 55, 56, - -1, -1, 140, -1, 82, 83, 84, -1, -1, -1, - -1, -1, -1, -1, -1, 72, -1, -1, -1, -1, - -1, -1, 100, -1, -1, 82, 83, 84, -1, -1, - 41, 42, 43, 44, 45, 46, 47, 48, -1, 50, - -1, 52, 53, 100, 55, 56, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, 72, 140, -1, -1, -1, 131, -1, -1, -1, - -1, 82, 83, 84, -1, 140, -1, -1, -1, -1, - -1, -1, -1, 140, -1, -1, -1, -1, -1, 100, - 41, 42, 43, 44, 45, 46, 47, 48, -1, 50, - -1, 52, 53, -1, 55, 56, -1, -1, -1, -1, - -1, 41, 42, 43, 44, 45, 46, 47, 48, -1, - 50, 72, 52, 53, -1, 55, 56, -1, -1, 140, - -1, 82, 83, 84, 4, -1, -1, -1, -1, -1, - -1, -1, 72, -1, -1, -1, -1, -1, -1, 100, - -1, -1, 82, 83, 84, -1, -1, -1, -1, -1, - -1, -1, -1, 33, -1, -1, -1, -1, 38, 39, - 100, 41, 42, 43, 44, 45, 46, 47, 48, -1, - 50, 51, 52, 53, 54, 55, 56, -1, -1, 140, - 60, 61, 62, 63, 64, 65, 66, -1, 68, 69, - 70, 71, 72, -1, 74, 75, -1, -1, -1, -1, - 140, 81, 82, 83, 84, -1, -1, -1, -1, 89, - -1, 91, -1, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, -1, -1, -1, - 138, -1, 140, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, -1, -1, -1, - 138, -1, 140, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, -1, -1, -1, - 138, -1, 140, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 111, 112, 113, - 114, 115, 140, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 111, 112, 113, 114, 115, 140, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, -1, -1, 111, 112, 113, 114, 115, - 140, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, -1, -1, 111, - 112, 113, 114, 115, 140, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, -1, -1, 111, 112, 113, 114, 115, 140, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 111, 112, 113, - 114, 115, 140, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 111, 112, 113, 114, 115, 140, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, -1, -1, 111, 112, 113, 114, 115, - 140, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, -1, -1, 111, - 112, 113, 114, 115, 140, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, -1, -1, 111, 112, 113, 114, 115, 140, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 111, 112, 113, - 114, 115, 140, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 111, 112, 113, 114, 115, 140, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, -1, -1, 111, 112, 113, 114, 115, - 140, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, -1, -1, 111, - 112, 113, 114, 115, 140, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, -1, -1, 111, 112, 113, 114, 115, 140, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 111, 112, 113, - 114, 115, 140, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 111, 112, 113, 114, 115, 140, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, -1, -1, 111, 112, 113, 114, 115, - 140, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, -1, -1, 111, - 112, 113, 114, 115, 140, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, -1, -1, 111, 112, 113, 114, 115, 140, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, -1, -1, 111, 112, 113, - 114, 115, 140, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - -1, -1, -1, -1, 138, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 111, - 112, 113, 114, 115, 138, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 111, 112, 113, 114, 115, 138, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 111, 112, 113, 114, 115, 138, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 111, 112, 113, 114, 115, - 138, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 111, 112, 113, - 114, 115, 138, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, - -1, 135, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, -1, -1, 135, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, 133, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 133, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 133, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, 133, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, - 113, 114, 115, -1, 117, 118, 119, 120, 121, 122, - 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, - 133, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 133, 111, 112, 113, 114, 115, -1, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, 133, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 133, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 133, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, 133, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, - 113, 114, 115, -1, 117, 118, 119, 120, 121, 122, - 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, - 133, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 133, 111, 112, 113, 114, 115, -1, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, 133, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 133, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 133, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, 133, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, - 113, 114, 115, -1, 117, 118, 119, 120, 121, 122, - 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, - 133, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 133, 111, 112, 113, 114, 115, -1, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, 133, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 133, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 133, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, 133, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, - 113, 114, 115, -1, 117, 118, 119, 120, 121, 122, - 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, - 133, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 133, 111, 112, 113, 114, 115, -1, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, - 114, 115, -1, 117, 118, 119, 120, 121, 122, 123, - 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, - 111, 112, 113, 114, 115, -1, 117, 118, 119, 120, - 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, - 131, -1, 133, 111, 112, 113, 114, 115, -1, 117, - 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, - -1, -1, -1, 131, -1, 133, 111, 112, 113, 114, - 115, -1, 117, 118, 119, 120, 121, 122, 123, 124, - 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, - 112, 113, 114, 115, -1, 117, 118, 119, 120, 121, - 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, - -1, 133, 111, 112, 113, 114, 115, -1, 117, 118, - 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, - -1, -1, 131, -1, 133, 111, 112, 113, 114, 115, - -1, 117, 118, 119, 120, 121, 122, 123, 124, 125, - -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, - 113, 114, 115, -1, 117, 118, 119, 120, 121, 122, - 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, - 133, 111, 112, 113, 114, 115, -1, 117, 118, 119, - 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, - -1, 131, -1, 133, 111, 112, 113, 114, 115, -1, - 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, - -1, -1, -1, -1, 131 +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -5 +static const short int yytable[] = +{ + 123, 552, 125, 509, 122, 350, 60, 439, 355, 146, + 436, 61, 630, 178, 181, 194, 552, 192, 363, 214, + 625, 209, 143, 204, 126, 859, 127, 854, 744, 74, + 204, 374, 197, 376, 304, 352, 860, 353, 862, 460, + 468, 790, 987, 988, 461, 185, 791, 4, 186, 206, + 208, 1015, 99, 100, 101, 102, 1016, 5, 103, 99, + 100, 101, 102, 683, 364, 103, 204, 336, 337, 216, + 684, 217, 434, 553, 554, 555, 556, 557, 74, 524, + 525, 687, 861, 129, 863, 338, 899, 685, 553, 554, + 555, 556, 557, 141, 686, 99, 100, 101, 102, 336, + 337, 103, 336, 337, 193, 150, 264, 265, 266, 142, + 271, 267, 270, 898, 790, 275, 790, 339, 149, 791, + 348, 791, 295, 735, 631, 688, 265, 300, 303, 108, + 109, 110, 111, 1049, 148, 308, 309, 558, 311, 631, + 336, 337, 315, 316, 849, 318, 115, 116, 179, 182, + 195, 210, 821, 211, 215, 626, 911, 205, 212, 128, + 198, 334, 335, 912, 207, 354, 336, 337, 149, 304, + 335, 336, 337, 619, 516, 435, 115, 116, 108, 109, + 110, 111, 152, 707, 361, 362, 1092, 365, 1095, 367, + 115, 116, 370, 371, 540, 272, 273, 707, 790, 304, + 115, 116, 633, 791, 379, 635, 151, 618, 736, 737, + 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, + 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, + 424, 425, 153, 939, 427, 428, 429, 430, 154, 790, + 609, 790, 790, 303, 791, 610, 791, 791, 163, 440, + 1098, 158, 445, 446, 447, 448, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 458, 459, 438, 165, 166, + 465, 466, 843, 303, 164, 265, 790, 115, 116, 167, + 472, 791, 169, 171, 476, 177, 168, 480, 336, 337, + 218, 790, 219, 486, 487, 488, 791, 490, 491, 492, + 494, 494, 494, 494, 790, 888, 180, 889, 1063, 791, + 1066, 1149, 1069, 1178, 1180, 511, 512, 513, 264, 265, + 514, 505, 505, 517, 790, 790, 508, 508, 527, 791, + 791, 729, 531, 532, 750, 873, 874, 899, 536, 470, + 899, 304, 139, 899, 304, 145, 147, 544, 1182, 839, + 643, 790, 547, 204, 470, 550, 791, 172, 549, 997, + 753, 336, 337, 1184, 998, 183, 1038, 108, 109, 110, + 111, 925, 108, 109, 110, 111, 173, 184, 500, 174, + 175, 1129, 99, 100, 101, 102, 882, 883, 103, 115, + 116, 220, 1054, 221, 115, 116, 1204, 1205, 159, 336, + 337, 160, 161, 899, 162, 796, 465, 798, 799, 800, + 496, 497, 498, 622, 621, 620, 890, 187, 891, 331, + 222, 333, 223, 1206, 1160, 993, 1163, 340, 1166, 336, + 337, 347, 1169, 188, 899, 303, 634, 899, 303, 189, + 899, 465, 190, 899, 642, 191, 892, 645, 893, 199, + 842, 844, 650, 651, 200, 653, 165, 166, 656, 224, + 1192, 225, 1194, 661, 1196, 203, 899, 167, 899, 382, + 899, 426, 204, 201, 176, 671, 672, 336, 337, 336, + 337, 226, 317, 227, 675, 202, 258, 322, 336, 337, + 304, 336, 337, 336, 337, 551, 510, 336, 337, 689, + 259, 99, 100, 101, 102, 515, 260, 103, 782, 228, + 789, 229, 351, 701, 978, 703, 704, 356, 357, 304, + 155, 156, 261, 157, 709, 230, 708, 231, 278, 279, + 280, 967, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 336, 337, 274, 336, 337, 292, 276, + 289, 290, 291, 336, 337, 336, 337, 994, 292, 293, + 1026, 719, 720, 1028, 304, 262, 304, 304, 304, 815, + 1030, 232, 1091, 233, 294, 721, 722, 723, 724, 725, + 726, 727, 336, 337, 303, 336, 337, 730, 731, 297, + 277, 503, 504, 738, 234, 236, 235, 237, 307, 1094, + 333, 312, 1097, 747, 115, 116, 310, 314, 749, 296, + 238, 211, 239, 303, 708, 240, 212, 241, 755, 71, + 263, 204, 242, 313, 243, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 319, + 99, 100, 101, 102, 320, 321, 103, 795, 303, 797, + 303, 303, 303, 323, 324, 803, 804, 1058, 306, 325, + 326, 809, 278, 279, 280, 330, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 823, 824, 327, + 328, 828, 292, 341, 816, 278, 279, 280, 772, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 329, 115, 116, 845, 342, 292, 432, 850, 211, 104, + 105, 106, 107, 212, 343, 856, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 349, 358, 112, 113, 244, + 292, 245, 869, 114, 246, 248, 247, 249, 117, 773, + 250, 359, 251, 120, 368, 670, 884, 885, 886, 252, + 254, 253, 255, 894, 360, 366, 615, 616, 369, 372, + 679, 278, 279, 280, 373, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 375, 915, 916, 917, + 256, 292, 257, 470, 377, 471, 922, 919, 478, 378, + 479, 928, 380, 278, 279, 280, 381, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 933, 932, + 607, 431, 608, 292, 953, 292, 954, 26, 27, 28, + 29, 940, 31, 287, 288, 289, 290, 291, 1070, 441, + 37, 38, 442, 292, 444, 443, 473, 951, 952, 115, + 116, 470, 481, 617, 467, 484, 211, 961, 489, 962, + 470, 212, 640, 470, 851, 752, 852, 470, 499, 858, + 505, 470, 470, 901, 903, 508, 470, 470, 904, 905, + 984, 985, 925, 1003, 926, 1004, 925, 925, 1039, 1084, + 526, 535, 996, 1102, 529, 1103, 754, 999, 1000, 1003, + 1187, 1138, 1188, 1209, 530, 1210, 538, 1130, 541, 611, + 612, 613, 614, 623, 624, 1014, 628, 665, 641, 646, + 647, 1017, 649, 654, 655, 657, 666, 667, 668, 673, + 674, 786, 787, 788, 695, 669, 691, 696, 697, 1024, + 699, 692, 713, 700, 714, 717, 718, 715, 728, 278, + 279, 280, 1033, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 732, 1042, 733, 1043, 734, 292, + 739, 740, 1046, 742, 743, 746, 748, 1050, 757, 758, + 759, 760, 763, 768, 769, 770, 765, 766, 771, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 1061, 774, 1064, 775, 1067, 292, 505, 776, 777, 1073, + 1074, 508, 778, 779, 780, 1077, 781, 794, 822, 802, + 805, 1082, 1083, 806, 812, 810, 817, 807, 808, 818, + 1086, 811, 819, 1089, 827, 820, 838, 840, 846, 847, + 853, 857, 865, 867, 895, 868, 896, 887, 897, 908, + 909, 914, 920, 918, 934, 928, 930, 935, 937, 942, + 945, 946, 948, 949, 950, 1119, 955, 956, 1123, 957, + 958, 1127, 280, 959, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 960, 1140, 969, 1141, 972, + 292, 864, 975, 980, 981, 866, 982, 983, 989, 986, + 1002, 870, 871, 872, 1006, 1007, 875, 876, 877, 878, + 879, 880, 881, 1008, 1025, 1010, 943, 1011, 944, 1012, + 1013, 1020, 1022, 1023, 1027, 1029, 1031, 1032, 1034, 1051, + 1040, 1052, 1174, 1075, 1041, 1053, 1081, 1055, 1085, 1087, + 711, 1113, 1101, 968, 1088, 971, 1107, 974, 1106, 1117, + 1120, 1121, 1124, 1125, 1115, 1109, 1128, 1132, 1133, 1134, + 1198, 741, 1137, 1199, 1142, 1202, 1143, 1155, 1161, 1145, + 1147, 1164, 1167, 1152, 931, 1154, 1153, 1170, 1172, 1176, + 1156, 1214, 1215, 1177, 1110, 1216, 1191, 1193, 1159, 1195, + 1179, 1197, 1220, 71, 130, 1200, 855, 1203, 1181, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 1183, 1211, 1185, 1212, 1213, 1186, 979, + 1217, 131, 1221, 1189, 1223, 1190, 1207, 59, 67, 1037, + 0, 936, 0, 0, 0, 0, 990, 0, 0, 0, + 0, 26, 27, 28, 29, 30, 31, 1001, 0, 0, + 0, 1005, 0, 0, 37, 38, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 1062, 0, 1065, 0, 1068, 292, 0, 0, 0, + 0, 0, 0, 104, 105, 106, 107, 756, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 112, 301, 0, 0, 0, 0, 114, 0, 0, + 0, 0, 117, 0, 0, 71, 130, 120, 0, 0, + 302, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 0, 0, 761, 0, 0, + 0, 0, 0, 131, 0, 0, 1072, 0, 0, 0, + 0, 0, 1076, 0, 0, 0, 1080, 0, 0, 0, + 0, 0, 0, 26, 27, 28, 29, 30, 31, 143, + 0, 0, 0, 0, 0, 0, 37, 38, 0, 0, + 0, 0, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 104, 105, 106, 107, 0, + 0, 0, 0, 0, 1131, 0, 0, 0, 1135, 1136, + 0, 0, 0, 112, 132, 0, 0, 0, 762, 114, + 0, 0, 0, 0, 144, 0, 0, 0, 0, 120, + 0, 134, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 71, 130, 292, 0, 0, 1171, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 0, 0, 0, 0, 0, 278, 279, 280, 131, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 433, 26, 27, + 28, 29, 30, 31, 146, 0, 0, 0, 0, 0, + 0, 37, 38, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 0, 0, 0, 0, 764, + 104, 105, 106, 107, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 112, 132, + 0, 0, 0, 0, 114, 0, 0, 0, 0, 117, + 0, 71, 130, 0, 120, 0, 134, 75, 76, 77, + 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + 98, 0, 0, 0, 0, 0, 278, 279, 280, 131, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 26, + 27, 28, 29, 30, 31, 637, 0, 0, 0, 0, + 0, 0, 37, 38, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 0, 0, + 0, 104, 105, 106, 107, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, + 132, 0, 0, 0, 0, 114, 0, 0, 0, 0, + 133, 0, 71, 130, 0, 120, 0, 134, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 0, 0, 0, 0, 0, 278, 279, 280, + 131, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 0, + 26, 27, 28, 29, 30, 31, 658, 0, 0, 71, + 263, 0, 0, 37, 38, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 0, + 0, 767, 104, 105, 106, 107, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 112, 132, 0, 0, 0, 0, 114, 0, 0, 0, + 0, 117, 0, 71, 263, 0, 120, 0, 134, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 0, 0, 0, 0, 0, 0, 104, + 105, 106, 107, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 112, 113, 0, + 0, 0, 0, 114, 0, 0, 0, 0, 117, 0, + 0, 268, 0, 120, 0, 269, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 0, 0, 0, 104, 105, 106, 107, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 112, 113, 0, 0, 0, 0, 114, 0, 0, + 0, 0, 117, 0, 0, 463, 0, 120, 0, 464, + 71, 263, 0, 0, 0, 0, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 0, 0, 0, 0, 0, 0, 0, 71, 298, 0, + 0, 0, 0, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 71, 263, 0, + 0, 0, 0, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 0, 0, 0, + 104, 105, 106, 107, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 112, 113, + 0, 0, 0, 0, 114, 0, 0, 0, 0, 117, + 0, 0, 638, 0, 120, 0, 639, 104, 105, 106, + 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 112, 113, 0, 0, 0, + 0, 114, 0, 0, 0, 0, 117, 104, 105, 106, + 107, 120, 0, 299, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 344, 345, 0, 0, 0, + 0, 114, 0, 0, 0, 0, 346, 0, 71, 72, + 73, 120, 74, 168, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 801, 99, + 100, 101, 102, 0, 0, 103, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 71, 130, + 0, 0, 0, 0, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 0, 0, + 0, 0, 0, 0, 0, 0, 131, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 104, 105, + 106, 107, 108, 109, 110, 111, 26, 27, 28, 29, + 30, 31, 0, 0, 0, 0, 112, 113, 0, 37, + 38, 0, 114, 0, 115, 116, 0, 117, 0, 118, + 0, 119, 120, 278, 279, 280, 848, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 104, 105, + 106, 107, 0, 292, 0, 0, 0, 1009, 0, 0, + 0, 0, 0, 0, 0, 0, 112, 301, 0, 0, + 0, 0, 114, 0, 0, 0, 0, 117, 71, 263, + 0, 0, 120, 0, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 71, 298, + 0, 0, 0, 0, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 1018, 0, + 0, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 1019, + 0, 292, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 104, 105, + 106, 107, 292, 1021, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 112, 113, 0, 0, + 1108, 0, 114, 0, 0, 0, 0, 117, 104, 105, + 106, 107, 120, 0, 0, 0, 0, 0, 0, 542, + 0, 0, 0, 0, 0, 0, 112, 113, 0, 0, + 0, 0, 114, 0, 0, 0, 629, 117, 0, 0, + 0, 0, 120, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 644, 0, + 0, 0, 0, 292, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 814, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 278, 279, 280, 292, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 278, 279, 280, 292, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 278, + 279, 280, 292, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 0, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, -4, 1, 0, 0, + -4, 292, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 0, 0, 0, -4, + 0, 0, 0, 0, -4, -4, 0, -4, -4, -4, + -4, -4, -4, -4, -4, 0, -4, -4, -4, -4, + -4, -4, -4, 0, 0, 0, -4, -4, -4, -4, + -4, -4, -4, 0, -4, -4, -4, -4, -4, 0, + -4, -4, 0, 0, 0, 0, 0, -4, -4, -4, + -4, 0, 0, 0, 0, -4, 0, -4, 0, -4, + -4, -4, -4, -4, -4, -4, -4, -4, -4, 518, + 11, 12, 519, 520, 15, 521, 17, 0, 18, 0, + 20, 21, 0, 23, 24, 0, 0, 0, 0, 0, + 518, 11, 12, 519, 520, 15, 521, 17, 0, 18, + 36, 20, 21, 0, 23, 24, 0, 0, 0, 0, + 40, 41, 42, 0, 0, 0, 0, 0, 0, 0, + 0, 36, 0, 0, 0, 0, 0, 0, 52, 0, + 0, 40, 41, 42, 0, 0, 518, 11, 12, 519, + 520, 15, 521, 17, 0, 18, 0, 20, 21, 52, + 23, 24, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 36, 522, 0, + 0, 0, 292, 0, 0, 0, 0, 40, 41, 42, + 0, 662, 0, 0, 0, 0, 0, 0, 0, 528, + 0, 0, 0, 0, 0, 52, 518, 11, 12, 519, + 520, 15, 521, 17, 0, 18, 0, 20, 21, 0, + 23, 24, 0, 0, 0, 0, 0, 518, 11, 12, + 519, 520, 15, 521, 17, 0, 18, 36, 20, 21, + 0, 23, 24, 0, 0, 545, 0, 40, 41, 42, + 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, + 0, 0, 0, 0, 0, 52, 0, 0, 40, 41, + 42, 0, 0, 518, 11, 12, 519, 520, 15, 521, + 17, 0, 18, 0, 20, 21, 52, 23, 24, 278, + 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 36, 546, 0, 0, 0, 292, + 0, 0, 0, 0, 40, 41, 42, 0, 663, 0, + 0, 0, 0, 0, 0, 0, 680, 0, 0, 0, + 0, 0, 52, 518, 11, 12, 519, 520, 15, 521, + 17, 0, 18, 0, 20, 21, 0, 23, 24, 0, + 0, 0, 0, 0, 518, 11, 12, 519, 520, 15, + 521, 17, 0, 18, 36, 20, 21, 0, 23, 24, + 0, 0, 702, 0, 40, 41, 42, 6, 0, 0, + 0, 0, 0, 0, 0, 36, 0, 0, 0, 0, + 0, 0, 52, 0, 0, 40, 41, 42, 0, 0, + 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, + 0, 8, 9, 52, 10, 11, 12, 13, 14, 15, + 16, 17, 0, 18, 19, 20, 21, 22, 23, 24, + 0, 0, 1099, 25, 26, 27, 28, 29, 30, 31, + 0, 32, 33, 34, 35, 36, 0, 37, 38, 0, + 0, 0, 0, 1150, 39, 40, 41, 42, 0, 0, + 0, 0, 43, 0, 44, 0, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 518, 11, 12, 519, + 520, 15, 521, 17, 0, 18, 0, 20, 21, 0, + 23, 24, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 36, 0, 0, + 0, 0, 292, 0, 0, 0, 437, 40, 41, 42, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 52, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 0, 965, 0, 966, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 0, 991, 0, 992, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 0, 1059, 0, 1060, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 278, 279, 280, 710, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 0, 0, 278, 279, 280, 785, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 0, 0, 278, 279, + 280, 963, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 0, 0, 278, 279, 280, 977, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 0, 0, + 278, 279, 280, 1071, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 278, 279, 280, 1078, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 0, 0, 278, 279, 280, 1079, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 0, 0, 278, 279, + 280, 1090, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 0, 0, 278, 279, 280, 1093, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 0, 0, + 278, 279, 280, 1096, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 278, 279, 280, 1104, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 0, 0, 278, 279, 280, 1105, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 0, 0, 278, 279, + 280, 1116, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 0, 0, 278, 279, 280, 1144, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 0, 0, + 278, 279, 280, 1146, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 0, 0, 278, 279, 280, 1148, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 0, 0, 278, 279, 280, 1158, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 0, 0, 278, 279, + 280, 1219, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 0, 0, 278, 279, 280, 1222, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 433, 0, 278, 279, + 280, 501, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 462, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 501, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 502, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 539, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 587, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 588, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 601, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 602, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 603, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 604, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 605, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 606, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 676, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 677, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 678, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 751, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 783, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 784, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 813, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 906, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 907, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 923, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 924, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 941, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 947, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 1035, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 1036, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 1044, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 1047, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 1048, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 1056, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 0, 0, 278, 279, 280, 1057, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 0, 0, + 278, 279, 280, 1112, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 0, 0, 278, 279, 280, 1114, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 0, 0, 278, 279, + 280, 1208, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 0, 0, 278, 279, 280, 1218, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 278, 279, 280, 548, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 278, 279, 280, 566, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 278, 279, 280, 568, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 278, 279, 280, 570, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 278, 279, 280, + 572, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 278, 279, + 280, 574, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 278, + 279, 280, 576, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 278, 279, 280, 578, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 278, 279, 280, 580, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 278, 279, 280, 582, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 278, 279, 280, 584, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 278, 279, 280, 586, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 278, 279, 280, 590, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 278, 279, 280, 592, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 278, 279, 280, + 594, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 278, 279, + 280, 596, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 278, + 279, 280, 598, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 278, 279, 280, 600, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 278, 279, 280, 636, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 278, 279, 280, 682, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 278, 279, 280, 690, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 278, 279, 280, 693, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 278, 279, 280, 694, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 278, 279, 280, 706, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 278, 279, 280, + 830, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 278, 279, + 280, 832, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 278, + 279, 280, 834, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 278, 279, 280, 836, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 278, 279, 280, 837, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 278, 279, 280, 938, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 469, 278, 279, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 474, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 475, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 0, 477, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 482, 278, 279, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 483, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 485, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 533, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 534, 278, + 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 0, 537, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 543, 278, 279, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 565, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 567, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 0, 569, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 571, 278, 279, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 573, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 575, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 577, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 579, 278, + 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 0, 581, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 583, 278, 279, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 585, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 589, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 0, 591, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 593, 278, 279, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 595, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 597, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 599, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 648, 278, + 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 0, 652, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 659, 278, 279, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 660, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 664, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 0, 698, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 705, 278, 279, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 829, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 831, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 833, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292, 0, 835, 278, + 279, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 0, 0, 0, 0, 292, + 0, 841, 278, 279, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 0, 0, + 0, 0, 292, 0, 900, 278, 279, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 0, 0, 0, 0, 292, 0, 902, 278, 279, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 0, 0, 0, 0, 292, 0, + 910, 278, 279, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 0, 0, 0, + 0, 292, 0, 929, 278, 279, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 0, 0, 0, 0, 292, 0, 964, 278, 279, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 0, 0, 0, 0, 292, 0, 995, + 278, 279, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 0, 0, 0, 0, + 292, 0, 1111, 278, 279, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 0, + 0, 0, 0, 292, 0, 1157, 278, 279, 280, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 0, 0, 0, 0, 292 }; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/share/bison.simple" -/* This file comes from bison-1.28. */ - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 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. */ +static const short int yycheck[] = +{ + 6, 4, 6, 339, 6, 179, 3, 271, 182, 67, + 269, 3, 6, 4, 4, 4, 4, 45, 86, 4, + 4, 4, 67, 5, 132, 6, 6, 6, 626, 7, + 5, 205, 4, 207, 134, 4, 6, 6, 6, 133, + 299, 68, 911, 912, 138, 41, 73, 6, 44, 53, + 54, 6, 34, 35, 36, 37, 6, 0, 40, 34, + 35, 36, 37, 132, 132, 40, 5, 121, 122, 132, + 139, 134, 7, 76, 77, 78, 79, 80, 7, 6, + 7, 139, 52, 6, 52, 139, 792, 132, 76, 77, + 78, 79, 80, 132, 139, 34, 35, 36, 37, 121, + 122, 40, 121, 122, 132, 49, 112, 113, 114, 132, + 4, 117, 118, 140, 68, 121, 68, 139, 132, 73, + 139, 73, 128, 4, 118, 139, 132, 133, 134, 107, + 108, 109, 110, 1002, 132, 141, 142, 140, 144, 118, + 121, 122, 148, 149, 742, 151, 129, 130, 139, 139, + 139, 134, 140, 136, 139, 139, 132, 139, 141, 139, + 132, 167, 168, 139, 139, 134, 121, 122, 132, 269, + 176, 121, 122, 437, 348, 110, 129, 130, 107, 108, + 109, 110, 45, 136, 190, 191, 140, 193, 140, 195, + 129, 130, 198, 199, 368, 89, 90, 136, 68, 299, + 129, 130, 461, 73, 210, 464, 132, 136, 89, 90, + 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, + 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, + 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, + 256, 257, 45, 851, 258, 259, 260, 261, 45, 68, + 133, 68, 68, 269, 73, 138, 73, 73, 132, 271, + 140, 47, 278, 279, 280, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 292, 7, 121, 122, + 296, 297, 7, 299, 139, 301, 68, 129, 130, 132, + 306, 73, 27, 28, 310, 30, 139, 313, 121, 122, + 132, 68, 134, 319, 320, 321, 73, 323, 324, 325, + 326, 327, 328, 329, 68, 138, 45, 140, 1027, 73, + 1029, 140, 1031, 140, 140, 341, 342, 343, 344, 345, + 346, 338, 339, 349, 68, 68, 338, 339, 354, 73, + 73, 610, 358, 359, 133, 58, 59, 1063, 364, 138, + 1066, 461, 10, 1069, 464, 13, 14, 373, 140, 133, + 470, 68, 378, 5, 138, 381, 73, 139, 380, 133, + 639, 121, 122, 140, 138, 6, 133, 107, 108, 109, + 110, 138, 107, 108, 109, 110, 41, 6, 138, 44, + 45, 1100, 34, 35, 36, 37, 6, 7, 40, 129, + 130, 132, 1010, 134, 129, 130, 140, 140, 41, 121, + 122, 44, 45, 1129, 47, 684, 432, 686, 687, 688, + 327, 328, 329, 439, 438, 437, 138, 4, 140, 164, + 132, 166, 134, 140, 1143, 8, 1145, 172, 1147, 121, + 122, 176, 1151, 4, 1160, 461, 462, 1163, 464, 4, + 1166, 467, 132, 1169, 470, 132, 138, 473, 140, 132, + 734, 735, 478, 479, 6, 481, 121, 122, 484, 132, + 1179, 134, 1181, 489, 1183, 45, 1192, 132, 1194, 214, + 1196, 4, 5, 4, 139, 501, 502, 121, 122, 121, + 122, 132, 150, 134, 510, 4, 132, 155, 121, 122, + 610, 121, 122, 121, 122, 139, 138, 121, 122, 525, + 132, 34, 35, 36, 37, 138, 132, 40, 138, 132, + 138, 134, 180, 539, 138, 541, 542, 185, 186, 639, + 44, 45, 132, 47, 548, 132, 548, 134, 111, 112, + 113, 887, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, 121, 122, 4, 121, 122, 131, 6, + 123, 124, 125, 121, 122, 121, 122, 140, 131, 6, + 138, 587, 588, 138, 684, 132, 686, 687, 688, 8, + 138, 132, 138, 134, 5, 601, 602, 603, 604, 605, + 606, 607, 121, 122, 610, 121, 122, 611, 614, 139, + 6, 336, 337, 619, 132, 132, 134, 134, 92, 138, + 345, 92, 138, 629, 129, 130, 132, 92, 632, 134, + 132, 136, 134, 639, 636, 132, 141, 134, 644, 3, + 4, 5, 132, 132, 134, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 139, + 34, 35, 36, 37, 132, 132, 40, 683, 684, 685, + 686, 687, 688, 139, 139, 691, 692, 1023, 8, 132, + 132, 697, 111, 112, 113, 4, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 713, 714, 132, + 132, 717, 131, 139, 133, 111, 112, 113, 6, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 132, 129, 130, 735, 139, 131, 134, 743, 136, 103, + 104, 105, 106, 141, 139, 751, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 134, 134, 121, 122, 132, + 131, 134, 768, 127, 132, 132, 134, 134, 132, 57, + 132, 134, 134, 137, 139, 500, 782, 783, 784, 132, + 132, 134, 134, 789, 6, 136, 434, 435, 92, 6, + 515, 111, 112, 113, 132, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 6, 813, 814, 815, + 132, 131, 134, 138, 6, 140, 822, 819, 45, 134, + 47, 827, 4, 111, 112, 113, 139, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, 844, 843, + 134, 5, 136, 131, 4, 131, 6, 61, 62, 63, + 64, 855, 66, 121, 122, 123, 124, 125, 1032, 136, + 74, 75, 7, 131, 6, 134, 45, 873, 874, 129, + 130, 138, 47, 140, 134, 7, 136, 883, 7, 883, + 138, 141, 140, 138, 138, 140, 140, 138, 133, 140, + 887, 138, 138, 140, 140, 887, 138, 138, 140, 140, + 906, 907, 138, 138, 140, 140, 138, 138, 140, 140, + 6, 87, 918, 138, 7, 140, 641, 923, 924, 138, + 138, 140, 140, 138, 7, 140, 89, 1101, 139, 138, + 133, 133, 138, 6, 4, 941, 135, 133, 7, 7, + 7, 947, 7, 7, 7, 7, 133, 133, 133, 140, + 140, 676, 677, 678, 7, 136, 139, 7, 132, 965, + 7, 139, 132, 136, 132, 132, 6, 139, 4, 111, + 112, 113, 978, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 6, 991, 6, 993, 135, 131, + 6, 6, 998, 7, 134, 6, 118, 1003, 646, 647, + 7, 649, 7, 139, 7, 7, 654, 655, 7, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 1026, 7, 1028, 7, 1030, 131, 1023, 7, 7, 1035, + 1036, 1023, 7, 7, 7, 1041, 4, 6, 132, 6, + 6, 1047, 1048, 6, 4, 7, 7, 695, 696, 6, + 1056, 699, 4, 1059, 139, 6, 133, 133, 136, 7, + 6, 135, 6, 6, 789, 6, 6, 139, 139, 6, + 6, 88, 6, 139, 6, 1081, 136, 4, 6, 135, + 6, 6, 6, 6, 6, 1091, 6, 6, 1094, 6, + 6, 1097, 113, 6, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 6, 1112, 6, 1114, 6, + 131, 759, 6, 6, 6, 763, 6, 6, 88, 7, + 139, 769, 770, 771, 4, 6, 774, 775, 776, 777, + 778, 779, 780, 6, 140, 7, 861, 6, 863, 136, + 6, 6, 6, 139, 139, 139, 139, 139, 138, 6, + 139, 6, 1156, 88, 85, 133, 139, 90, 6, 5, + 551, 6, 139, 888, 140, 890, 138, 892, 139, 6, + 6, 6, 6, 6, 138, 140, 6, 6, 6, 6, + 1186, 6, 6, 1187, 5, 1189, 139, 6, 6, 139, + 139, 6, 6, 140, 842, 140, 138, 6, 85, 6, + 139, 1207, 1208, 5, 1081, 1209, 6, 6, 138, 6, + 139, 85, 1218, 3, 4, 6, 750, 6, 139, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 139, 6, 140, 6, 6, 139, 897, + 6, 41, 6, 139, 6, 140, 139, 3, 3, 986, + -1, 847, -1, -1, -1, -1, 914, -1, -1, -1, + -1, 61, 62, 63, 64, 65, 66, 925, -1, -1, + -1, 929, -1, -1, 74, 75, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, 1026, -1, 1028, -1, 1030, 131, -1, -1, -1, + -1, -1, -1, 103, 104, 105, 106, 6, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 121, 122, -1, -1, -1, -1, 127, -1, -1, + -1, -1, 132, -1, -1, 3, 4, 137, -1, -1, + 140, 9, 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 30, 31, 32, -1, -1, 6, -1, -1, + -1, -1, -1, 41, -1, -1, 1034, -1, -1, -1, + -1, -1, 1040, -1, -1, -1, 1044, -1, -1, -1, + -1, -1, -1, 61, 62, 63, 64, 65, 66, 67, + -1, -1, -1, -1, -1, -1, 74, 75, -1, -1, + -1, -1, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, 103, 104, 105, 106, -1, + -1, -1, -1, -1, 1102, -1, -1, -1, 1106, 1107, + -1, -1, -1, 121, 122, -1, -1, -1, 6, 127, + -1, -1, -1, -1, 132, -1, -1, -1, -1, 137, + -1, 139, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + 3, 4, 131, -1, -1, 1153, 9, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + -1, -1, -1, -1, -1, 111, 112, 113, 41, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 61, 62, + 63, 64, 65, 66, 67, -1, -1, -1, -1, -1, + -1, 74, 75, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, -1, -1, -1, -1, 6, + 103, 104, 105, 106, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 121, 122, + -1, -1, -1, -1, 127, -1, -1, -1, -1, 132, + -1, 3, 4, -1, 137, -1, 139, 9, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, -1, -1, -1, -1, -1, 111, 112, 113, 41, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, 61, + 62, 63, 64, 65, 66, 140, -1, -1, -1, -1, + -1, -1, 74, 75, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, -1, -1, + -1, 103, 104, 105, 106, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 121, + 122, -1, -1, -1, -1, 127, -1, -1, -1, -1, + 132, -1, 3, 4, -1, 137, -1, 139, 9, 10, + 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, -1, -1, -1, -1, -1, 111, 112, 113, + 41, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, -1, + 61, 62, 63, 64, 65, 66, 140, -1, -1, 3, + 4, -1, -1, 74, 75, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, + -1, 6, 103, 104, 105, 106, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 121, 122, -1, -1, -1, -1, 127, -1, -1, -1, + -1, 132, -1, 3, 4, -1, 137, -1, 139, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, -1, -1, -1, -1, -1, -1, 103, + 104, 105, 106, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 121, 122, -1, + -1, -1, -1, 127, -1, -1, -1, -1, 132, -1, + -1, 135, -1, 137, -1, 139, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + -1, -1, -1, 103, 104, 105, 106, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 121, 122, -1, -1, -1, -1, 127, -1, -1, + -1, -1, 132, -1, -1, 135, -1, 137, -1, 139, + 3, 4, -1, -1, -1, -1, 9, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + -1, -1, -1, -1, -1, -1, -1, 3, 4, -1, + -1, -1, -1, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 3, 4, -1, + -1, -1, -1, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, -1, -1, -1, + 103, 104, 105, 106, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 121, 122, + -1, -1, -1, -1, 127, -1, -1, -1, -1, 132, + -1, -1, 135, -1, 137, -1, 139, 103, 104, 105, + 106, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 121, 122, -1, -1, -1, + -1, 127, -1, -1, -1, -1, 132, 103, 104, 105, + 106, 137, -1, 139, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 121, 122, -1, -1, -1, + -1, 127, -1, -1, -1, -1, 132, -1, 3, 4, + 5, 137, 7, 139, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 6, 34, + 35, 36, 37, -1, -1, 40, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, + -1, -1, -1, -1, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, -1, -1, + -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 103, 104, + 105, 106, 107, 108, 109, 110, 61, 62, 63, 64, + 65, 66, -1, -1, -1, -1, 121, 122, -1, 74, + 75, -1, 127, -1, 129, 130, -1, 132, -1, 134, + -1, 136, 137, 111, 112, 113, 6, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, 103, 104, + 105, 106, -1, 131, -1, -1, -1, 6, -1, -1, + -1, -1, -1, -1, -1, -1, 121, 122, -1, -1, + -1, -1, 127, -1, -1, -1, -1, 132, 3, 4, + -1, -1, 137, -1, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 3, 4, + -1, -1, -1, -1, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 6, -1, + -1, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, 6, + -1, 131, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, 103, 104, + 105, 106, 131, 6, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 121, 122, -1, -1, + 6, -1, 127, -1, -1, -1, -1, 132, 103, 104, + 105, 106, 137, -1, -1, -1, -1, -1, -1, 8, + -1, -1, -1, -1, -1, -1, 121, 122, -1, -1, + -1, -1, 127, -1, -1, -1, 8, 132, -1, -1, + -1, -1, 137, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, 8, -1, + -1, -1, -1, 131, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, 8, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, 111, 112, 113, 131, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, 111, 112, 113, 131, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, 111, + 112, 113, 131, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + -1, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 0, 1, -1, -1, + 4, 131, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, -1, -1, -1, 33, + -1, -1, -1, -1, 38, 39, -1, 41, 42, 43, + 44, 45, 46, 47, 48, -1, 50, 51, 52, 53, + 54, 55, 56, -1, -1, -1, 60, 61, 62, 63, + 64, 65, 66, -1, 68, 69, 70, 71, 72, -1, + 74, 75, -1, -1, -1, -1, -1, 81, 82, 83, + 84, -1, -1, -1, -1, 89, -1, 91, -1, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 41, + 42, 43, 44, 45, 46, 47, 48, -1, 50, -1, + 52, 53, -1, 55, 56, -1, -1, -1, -1, -1, + 41, 42, 43, 44, 45, 46, 47, 48, -1, 50, + 72, 52, 53, -1, 55, 56, -1, -1, -1, -1, + 82, 83, 84, -1, -1, -1, -1, -1, -1, -1, + -1, 72, -1, -1, -1, -1, -1, -1, 100, -1, + -1, 82, 83, 84, -1, -1, 41, 42, 43, 44, + 45, 46, 47, 48, -1, 50, -1, 52, 53, 100, + 55, 56, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 72, 140, -1, + -1, -1, 131, -1, -1, -1, -1, 82, 83, 84, + -1, 140, -1, -1, -1, -1, -1, -1, -1, 140, + -1, -1, -1, -1, -1, 100, 41, 42, 43, 44, + 45, 46, 47, 48, -1, 50, -1, 52, 53, -1, + 55, 56, -1, -1, -1, -1, -1, 41, 42, 43, + 44, 45, 46, 47, 48, -1, 50, 72, 52, 53, + -1, 55, 56, -1, -1, 140, -1, 82, 83, 84, + -1, -1, -1, -1, -1, -1, -1, -1, 72, -1, + -1, -1, -1, -1, -1, 100, -1, -1, 82, 83, + 84, -1, -1, 41, 42, 43, 44, 45, 46, 47, + 48, -1, 50, -1, 52, 53, 100, 55, 56, 111, + 112, 113, -1, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 72, 140, -1, -1, -1, 131, + -1, -1, -1, -1, 82, 83, 84, -1, 140, -1, + -1, -1, -1, -1, -1, -1, 140, -1, -1, -1, + -1, -1, 100, 41, 42, 43, 44, 45, 46, 47, + 48, -1, 50, -1, 52, 53, -1, 55, 56, -1, + -1, -1, -1, -1, 41, 42, 43, 44, 45, 46, + 47, 48, -1, 50, 72, 52, 53, -1, 55, 56, + -1, -1, 140, -1, 82, 83, 84, 4, -1, -1, + -1, -1, -1, -1, -1, 72, -1, -1, -1, -1, + -1, -1, 100, -1, -1, 82, 83, 84, -1, -1, + -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, + -1, 38, 39, 100, 41, 42, 43, 44, 45, 46, + 47, 48, -1, 50, 51, 52, 53, 54, 55, 56, + -1, -1, 140, 60, 61, 62, 63, 64, 65, 66, + -1, 68, 69, 70, 71, 72, -1, 74, 75, -1, + -1, -1, -1, 140, 81, 82, 83, 84, -1, -1, + -1, -1, 89, -1, 91, -1, 93, 94, 95, 96, + 97, 98, 99, 100, 101, 102, 41, 42, 43, 44, + 45, 46, 47, 48, -1, 50, -1, 52, 53, -1, + 55, 56, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 72, -1, -1, + -1, -1, 131, -1, -1, -1, 135, 82, 83, 84, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 100, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, -1, 138, -1, 140, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, -1, 138, -1, 140, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, -1, 138, -1, 140, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, 111, 112, 113, 140, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + -1, -1, 111, 112, 113, 140, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, -1, -1, 111, 112, + 113, 140, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, -1, -1, 111, 112, 113, 140, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, -1, -1, + 111, 112, 113, 140, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, 111, 112, 113, 140, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + -1, -1, 111, 112, 113, 140, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, -1, -1, 111, 112, + 113, 140, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, -1, -1, 111, 112, 113, 140, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, -1, -1, + 111, 112, 113, 140, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, 111, 112, 113, 140, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + -1, -1, 111, 112, 113, 140, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, -1, -1, 111, 112, + 113, 140, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, -1, -1, 111, 112, 113, 140, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, -1, -1, + 111, 112, 113, 140, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, -1, -1, 111, 112, 113, 140, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + -1, -1, 111, 112, 113, 140, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, -1, -1, 111, 112, + 113, 140, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, -1, -1, 111, 112, 113, 140, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, -1, -1, 111, 112, 113, 138, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, -1, -1, + 111, 112, 113, 138, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, -1, -1, 111, 112, 113, 138, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, -1, -1, 111, 112, + 113, 138, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + -1, -1, 111, 112, 113, 138, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, 111, 112, 113, 135, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, 111, 112, 113, 135, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, 111, 112, 113, 135, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, 111, 112, 113, 135, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, 111, 112, 113, + 135, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, 111, 112, + 113, 135, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, 111, + 112, 113, 135, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + 111, 112, 113, 135, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, 111, 112, 113, 135, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, 111, 112, 113, 135, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, 111, 112, 113, 135, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, 111, 112, 113, 135, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, 111, 112, 113, 135, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, 111, 112, 113, 135, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, 111, 112, 113, + 135, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, 111, 112, + 113, 135, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, 111, + 112, 113, 135, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + 111, 112, 113, 135, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, 111, 112, 113, 135, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, 111, 112, 113, 135, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, 111, 112, 113, 135, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, 111, 112, 113, 135, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, 111, 112, 113, 135, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, 111, 112, 113, 135, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, 111, 112, 113, + 135, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, 111, 112, + 113, 135, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, 111, + 112, 113, 135, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + 111, 112, 113, 135, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, 111, 112, 113, 135, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, 111, 112, 113, 135, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, 133, 111, 112, 113, -1, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + 133, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, -1, 133, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, + -1, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, 133, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, 133, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, + 112, 113, -1, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + -1, 133, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, 133, 111, 112, 113, -1, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + 133, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, -1, 133, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, + -1, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, 133, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, 133, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, + 112, 113, -1, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + -1, 133, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, 133, 111, 112, 113, -1, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + 133, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, -1, 133, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, + -1, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, 133, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, 133, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, + 112, 113, -1, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + -1, 133, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, 133, 111, 112, 113, -1, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + 133, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, -1, 133, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, + -1, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, 133, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, 133, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131, -1, 133, 111, + 112, 113, -1, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, -1, -1, -1, -1, -1, 131, + -1, 133, 111, 112, 113, -1, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, -1, -1, -1, + -1, -1, 131, -1, 133, 111, 112, 113, -1, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + -1, -1, -1, -1, -1, 131, -1, 133, 111, 112, + 113, -1, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, -1, -1, -1, -1, -1, 131, -1, + 133, 111, 112, 113, -1, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, -1, -1, -1, + -1, 131, -1, 133, 111, 112, 113, -1, 115, 116, + 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + -1, -1, -1, -1, 131, -1, 133, 111, 112, 113, + -1, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, -1, -1, -1, -1, -1, 131, -1, 133, + 111, 112, 113, -1, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, -1, -1, -1, -1, -1, + 131, -1, 133, 111, 112, 113, -1, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 125, -1, -1, + -1, -1, -1, 131, -1, 133, 111, 112, 113, -1, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, -1, -1, -1, -1, 131 +}; -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned char yystos[] = +{ + 0, 1, 143, 144, 6, 0, 4, 33, 38, 39, + 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, + 52, 53, 54, 55, 56, 60, 61, 62, 63, 64, + 65, 66, 68, 69, 70, 71, 72, 74, 75, 81, + 82, 83, 84, 89, 91, 93, 94, 95, 96, 97, + 98, 99, 100, 101, 102, 145, 147, 148, 167, 169, + 170, 173, 174, 175, 176, 177, 178, 179, 194, 195, + 196, 3, 4, 5, 7, 9, 10, 11, 12, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, + 35, 36, 37, 40, 103, 104, 105, 106, 107, 108, + 109, 110, 121, 122, 127, 129, 130, 132, 134, 136, + 137, 165, 166, 197, 198, 209, 132, 6, 139, 6, + 4, 41, 122, 132, 139, 170, 173, 179, 197, 203, + 204, 132, 132, 67, 132, 203, 67, 203, 132, 132, + 49, 132, 45, 45, 45, 44, 45, 47, 47, 41, + 44, 45, 47, 132, 139, 121, 122, 132, 139, 199, + 200, 199, 139, 41, 44, 45, 139, 199, 4, 139, + 45, 4, 139, 6, 6, 41, 44, 4, 4, 4, + 132, 132, 45, 132, 4, 139, 206, 4, 132, 132, + 6, 4, 4, 45, 5, 139, 209, 139, 209, 4, + 134, 136, 141, 166, 4, 139, 132, 134, 132, 134, + 132, 134, 132, 134, 132, 134, 132, 134, 132, 134, + 132, 134, 132, 134, 132, 134, 132, 134, 132, 134, + 132, 134, 132, 134, 132, 134, 132, 134, 132, 134, + 132, 134, 132, 134, 132, 134, 132, 134, 132, 132, + 132, 132, 132, 4, 197, 197, 197, 197, 135, 139, + 197, 4, 89, 90, 4, 197, 6, 6, 111, 112, + 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, 131, 6, 5, 197, 134, 139, 4, 139, + 197, 122, 140, 197, 204, 205, 8, 92, 197, 197, + 132, 197, 92, 132, 92, 197, 197, 203, 197, 139, + 132, 132, 203, 139, 139, 132, 132, 132, 132, 132, + 4, 199, 199, 199, 197, 197, 121, 122, 139, 139, + 199, 139, 139, 139, 121, 122, 132, 199, 139, 134, + 172, 203, 4, 6, 134, 172, 203, 203, 134, 134, + 6, 197, 197, 86, 132, 197, 136, 197, 139, 92, + 197, 197, 6, 132, 172, 6, 172, 6, 134, 197, + 4, 139, 199, 149, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 4, 209, 209, 209, + 209, 5, 134, 133, 7, 110, 205, 135, 7, 165, + 166, 136, 7, 134, 6, 197, 197, 197, 197, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, + 133, 138, 138, 135, 139, 197, 197, 134, 205, 133, + 138, 140, 197, 45, 133, 133, 197, 133, 45, 47, + 197, 47, 133, 133, 7, 133, 197, 197, 197, 7, + 197, 197, 197, 168, 197, 209, 168, 168, 168, 133, + 138, 138, 138, 199, 199, 170, 171, 172, 173, 171, + 138, 197, 197, 197, 197, 138, 172, 197, 41, 44, + 45, 47, 140, 169, 6, 7, 6, 197, 140, 7, + 7, 197, 197, 133, 133, 87, 197, 133, 89, 138, + 172, 139, 8, 133, 197, 140, 140, 197, 135, 166, + 197, 139, 4, 76, 77, 78, 79, 80, 140, 152, + 156, 159, 161, 162, 164, 133, 135, 133, 135, 133, + 135, 133, 135, 133, 135, 133, 135, 133, 135, 133, + 135, 133, 135, 133, 135, 133, 135, 138, 138, 133, + 135, 133, 135, 133, 135, 133, 135, 133, 135, 133, + 135, 138, 138, 138, 138, 138, 138, 134, 136, 133, + 138, 138, 133, 133, 138, 203, 203, 140, 136, 165, + 166, 209, 197, 6, 4, 4, 139, 207, 135, 8, + 6, 118, 146, 205, 197, 205, 135, 140, 135, 139, + 140, 7, 197, 204, 8, 197, 7, 7, 133, 7, + 197, 197, 133, 197, 7, 7, 197, 7, 140, 133, + 133, 197, 140, 140, 133, 133, 133, 133, 133, 136, + 199, 197, 197, 140, 140, 197, 138, 138, 138, 199, + 140, 180, 135, 132, 139, 132, 139, 139, 139, 197, + 135, 139, 139, 135, 135, 7, 7, 132, 133, 7, + 136, 197, 140, 197, 197, 133, 135, 136, 166, 209, + 140, 149, 153, 132, 132, 139, 163, 132, 6, 197, + 197, 197, 197, 197, 197, 197, 197, 197, 4, 205, + 209, 197, 6, 6, 135, 4, 89, 90, 197, 6, + 6, 6, 7, 134, 206, 208, 6, 197, 118, 209, + 133, 138, 140, 205, 199, 197, 6, 203, 203, 7, + 203, 6, 6, 7, 6, 203, 203, 6, 139, 7, + 7, 7, 6, 57, 7, 7, 7, 7, 7, 7, + 7, 4, 138, 138, 138, 140, 199, 199, 199, 138, + 68, 73, 192, 193, 6, 197, 205, 197, 205, 205, + 205, 6, 6, 197, 197, 6, 6, 203, 203, 197, + 7, 203, 4, 138, 8, 8, 133, 7, 6, 4, + 6, 140, 132, 197, 197, 202, 203, 139, 197, 133, + 135, 133, 135, 133, 135, 133, 135, 135, 133, 133, + 133, 133, 165, 7, 165, 166, 136, 7, 6, 206, + 197, 138, 140, 6, 6, 146, 197, 135, 140, 6, + 6, 52, 6, 52, 203, 6, 203, 6, 6, 197, + 203, 203, 203, 58, 59, 203, 203, 203, 203, 203, + 203, 203, 6, 7, 197, 197, 197, 139, 138, 140, + 138, 140, 138, 140, 197, 199, 6, 139, 140, 193, + 133, 140, 133, 140, 140, 140, 138, 138, 6, 6, + 133, 132, 139, 201, 88, 197, 197, 197, 139, 166, + 6, 150, 197, 138, 138, 138, 140, 151, 197, 133, + 136, 203, 209, 197, 6, 4, 207, 6, 135, 206, + 209, 138, 135, 199, 199, 6, 6, 138, 6, 6, + 6, 197, 197, 4, 6, 6, 6, 6, 6, 6, + 6, 197, 209, 140, 133, 138, 140, 171, 199, 6, + 183, 199, 6, 184, 199, 6, 185, 140, 138, 203, + 6, 6, 6, 6, 197, 197, 7, 202, 202, 88, + 203, 138, 140, 8, 140, 133, 197, 133, 138, 197, + 197, 203, 139, 138, 140, 203, 4, 6, 6, 6, + 7, 6, 136, 6, 197, 6, 6, 197, 6, 6, + 6, 6, 6, 139, 197, 140, 138, 139, 138, 139, + 138, 139, 139, 197, 138, 138, 138, 201, 133, 140, + 139, 85, 197, 197, 138, 154, 197, 138, 138, 202, + 197, 6, 6, 133, 206, 90, 138, 138, 171, 138, + 140, 197, 199, 192, 197, 199, 192, 197, 199, 192, + 172, 140, 203, 197, 197, 88, 203, 197, 140, 140, + 203, 139, 197, 197, 140, 6, 197, 5, 140, 197, + 140, 138, 140, 140, 138, 140, 140, 138, 140, 140, + 181, 139, 138, 140, 140, 140, 139, 138, 6, 140, + 151, 133, 138, 6, 138, 138, 140, 6, 186, 197, + 6, 6, 187, 197, 6, 6, 188, 197, 6, 192, + 172, 203, 6, 6, 6, 203, 203, 6, 140, 157, + 197, 197, 5, 139, 140, 139, 140, 139, 140, 140, + 140, 182, 140, 138, 140, 6, 139, 133, 140, 138, + 192, 6, 189, 192, 6, 190, 192, 6, 191, 192, + 6, 203, 85, 155, 209, 160, 6, 5, 140, 139, + 140, 139, 140, 139, 140, 140, 139, 138, 140, 139, + 140, 6, 192, 6, 192, 6, 192, 85, 197, 209, + 6, 158, 209, 6, 140, 140, 140, 139, 138, 138, + 140, 6, 6, 6, 197, 197, 209, 6, 138, 140, + 197, 6, 140, 6 +}; -#ifndef YYSTACK_USE_ALLOCA -#ifdef alloca -#define YYSTACK_USE_ALLOCA -#else /* alloca not defined */ -#ifdef __GNUC__ -#define YYSTACK_USE_ALLOCA -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386)) -#define YYSTACK_USE_ALLOCA -#include <alloca.h> -#else /* not sparc */ -/* We think this test detects Watcom and Microsoft C. */ -/* This used to test MSDOS, but that is a bad idea - since that symbol is in the user namespace. */ -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__) -#if 0 /* No need for malloc.h, which pollutes the namespace; - instead, just don't use alloca. */ -#include <malloc.h> +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ #endif -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -/* I don't know what this was needed for, but it pollutes the namespace. - So I turned it off. rms, 2 May 1997. */ -/* #include <malloc.h> */ - #pragma alloca -#define YYSTACK_USE_ALLOCA -#else /* not MSDOS, or __TURBOC__, or _AIX */ -#if 0 -#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up, - and on HPUX 10. Eventually we can turn this on. */ -#define YYSTACK_USE_ALLOCA -#define alloca __builtin_alloca -#endif /* __hpux */ +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t #endif -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc */ -#endif /* not GNU C */ -#endif /* alloca not defined */ -#endif /* YYSTACK_USE_ALLOCA not defined */ - -#ifdef YYSTACK_USE_ALLOCA -#define YYSTACK_ALLOC alloca -#else -#define YYSTACK_ALLOC malloc +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int #endif - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 +#define YYEMPTY (-2) #define YYEOF 0 + #define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + +/* 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) -#define YYBACKUP(token, value) \ + +#define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ + { \ + yychar = (Token); \ + yylval = (Value); \ + yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ + { \ + yyerror ("syntax error: cannot back up");\ + YYERROR; \ + } \ while (0) + #define YYTERROR 1 #define YYERRCODE 256 -#ifndef YYPURE -#define YYLEX yylex() + +/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. + If N is 0, then set CURRENT to the empty location which ends + the previous symbol: RHS[0] (always defined). */ + +#define YYRHSLOC(Rhs, K) ((Rhs)[K]) +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + do \ + if (N) \ + { \ + (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ + (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ + (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ + (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ + } \ + else \ + { \ + (Current).first_line = (Current).last_line = \ + YYRHSLOC (Rhs, 0).last_line; \ + (Current).first_column = (Current).last_column = \ + YYRHSLOC (Rhs, 0).last_column; \ + } \ + while (0) #endif -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) + +/* YY_LOCATION_PRINT -- Print the location on the stream. + This macro was not mandated originally: define only if we know + we won't break user code: when these are the locations we know. */ + +#ifndef YY_LOCATION_PRINT +# if YYLTYPE_IS_TRIVIAL +# define YY_LOCATION_PRINT(File, Loc) \ + fprintf (File, "%d.%d-%d.%d", \ + (Loc).first_line, (Loc).first_column, \ + (Loc).last_line, (Loc).last_column) +# else +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +# endif #endif -#else /* not YYLSP_NEEDED */ + + +/* YYLEX -- calling `yylex' with the right arguments. */ + #ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) +# define YYLEX yylex (YYLEX_PARAM) #else -#define YYLEX yylex(&yylval) +# define YYLEX yylex () #endif -#endif /* not YYLSP_NEEDED */ + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short int *bottom, short int *top) +#else +static void +yy_stack_print (bottom, top) + short int *bottom; + short int *top; #endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} -/* If nonreentrant, generate the variables here */ +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) -#ifndef YYPURE -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; #endif +{ + int yyi; + unsigned int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", + yyrule - 1, yylno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); +} -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ -#endif +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ -/* YYINITDEPTH indicates the initial size of the parser's stacks */ +/* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH -#define YYINITDEPTH 200 +# 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). */ +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). -#if YYMAXDEPTH == 0 -#undef YYMAXDEPTH -#endif + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ #ifndef YYMAXDEPTH -#define YYMAXDEPTH 10000 +# define YYMAXDEPTH 10000 #endif + -/* 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; + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif { - register char *f = from; - register char *t = to; - register int i = count; + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; - while (i-- > 0) - *t++ = *f++; + return yys - yystr - 1; } +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +#endif /* !YYERROR_VERBOSE */ + + -#else /* __cplusplus */ +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ +#if defined (__STDC__) || defined (__cplusplus) static void -__yy_memcpy (char *to, char *from, unsigned int count) +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; +#endif { - register char *t = to; - register char *f = from; - register int i = count; + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; - while (i-- > 0) - *t++ = *f++; + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); } +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yymsg, yytype, yyvaluep) + const char *yymsg; + int yytype; + YYSTYPE *yyvaluep; #endif -#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); + + switch (yytype) + { + + default: + break; + } +} -#line 217 "/usr/share/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. */ +/* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM -#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__ -#ifdef YYPARSE_PARAM -int yyparse (void *); -#else +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM); +# else +int yyparse (); +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int yyparse (void); +#else +int yyparse (); #endif -#endif +#endif /* ! YYPARSE_PARAM */ + + +/* The look-ahead symbol. */ +int yychar; + +/* The semantic value of the look-ahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int -yyparse(YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL +yyparse (void) +#else +int +yyparse () + +#endif +#endif { + register int yystate; register int yyn; - register short *yyssp; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Look-ahead token as an internal (translated) token number. */ + int yytoken = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short int yyssa[YYINITDEPTH]; + short int *yyss = yyssa; + register short int *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; - 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 */ - 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; -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else #define YYPOPSTACK (yyvsp--, yyssp--) -#endif - int yystacksize = YYINITDEPTH; - int yyfree_stacks = 0; + YYSIZE_T yystacksize = YYINITDEPTH; -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; -#endif -#endif + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ int yylen; -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif + YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; @@ -2533,372 +3178,346 @@ yyparse(YYPARSE_PARAM_ARG) so that they stay on the same level as the state stack. The wasted elements are never initialized. */ - yyssp = yyss - 1; + yyssp = yyss; yyvsp = yyvs; -#ifdef YYLSP_NEEDED - yylsp = yyls; -#endif -/* 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: - *++yyssp = yystate; + yyvsp[0] = yylval; - if (yyssp >= yyss + yystacksize - 1) - { - /* 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 + goto yysetstate; +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { /* Get the current used size of the three stacks, in elements. */ - int size = yyssp - yyss + 1; + YYSIZE_T yysize = yyssp - yyss + 1; #ifdef yyoverflow - /* 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 + { + /* 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 int *yyss1 = yyss; - yyss = yyss1; yyvs = yyvs1; -#ifdef YYLSP_NEEDED - yyls = yyls1; -#endif + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. 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, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } #else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); - if (yyfree_stacks) - { - free (yyss); - free (yyvs); -#ifdef YYLSP_NEEDED - free (yyls); -#endif - } - return 2; - } + if (YYMAXDEPTH <= yystacksize) + goto yyoverflowlab; yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) + if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; -#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 + + { + short int *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); + +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif #endif /* no yyoverflow */ - yyssp = yyss + size - 1; - yyvsp = yyvs + size - 1; -#ifdef YYLSP_NEEDED - yylsp = yyls + size - 1; -#endif + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Stack size increased to %d\n", yystacksize); -#endif - if (yyssp >= yyss + yystacksize - 1) + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) YYABORT; } -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Entering state %d\n", yystate); -#endif + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); goto yybackup; - yybackup: + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: /* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ +/* Read a look-ahead token if we need one and don't already have one. */ /* yyresume: */ - /* First try to decide what to do without reference to lookahead token. */ + /* First try to decide what to do without reference to look-ahead token. */ yyn = yypact[yystate]; - if (yyn == YYFLAG) + if (yyn == YYPACT_NINF) 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. */ + /* Not known => get a look-ahead token if don't already have one. */ + /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ if (yychar == YYEMPTY) { -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Reading a token: "); -#endif + YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ + if (yychar <= YYEOF) { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Now at end of input.\n"); -#endif + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); } else { - yychar1 = YYTRANSLATE(yychar); - -#if YYDEBUG != 0 - if (yydebug) - { - 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); -#endif - fprintf (stderr, ")\n"); - } -#endif + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); } - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) 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 <= 0) { - if (yyn == YYFLAG) + if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } - else if (yyn == 0) - goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; - /* Shift the lookahead token. */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); -#endif + /* Shift the look-ahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - /* count tokens shifted since error; after three, turn off error status. */ - if (yyerrstatus) yyerrstatus--; + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; yystate = yyn; goto yynewstate; -/* Do the default action for the current state. */ -yydefault: +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; + goto yyreduce; -/* Do a reduction. yyn is the number of a rule to reduce with. */ + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ yyreduce: + /* yyn is the number of a rule to reduce with. */ yylen = yyr2[yyn]; - if (yylen > 0) - yyval = yyvsp[1-yylen]; /* implement default value of the action */ - -#if YYDEBUG != 0 - if (yydebug) - { - int i; - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) - fprintf (stderr, "%s ", yytname[yyrhs[i]]); - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; - switch (yyn) { -case 2: + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 3: #line 143 "Gmsh.y" -{ yyerrok; return 1; ; - break;} -case 5: + { yyerrok; return 1; ;} + break; + + case 6: #line 154 "Gmsh.y" -{ return 1; ; - break;} -case 6: + { return 1; ;} + break; + + case 7: #line 155 "Gmsh.y" -{ return 1; ; - break;} -case 7: + { return 1; ;} + break; + + case 8: #line 156 "Gmsh.y" -{ return 1; ; - break;} -case 8: + { return 1; ;} + break; + + case 9: #line 157 "Gmsh.y" -{ return 1; ; - break;} -case 9: + { return 1; ;} + break; + + case 10: #line 158 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 10: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 11: #line 159 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 11: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 12: #line 160 "Gmsh.y" -{ return 1; ; - break;} -case 12: + { return 1; ;} + break; + + case 13: #line 161 "Gmsh.y" -{ return 1; ; - break;} -case 13: + { return 1; ;} + break; + + case 14: #line 162 "Gmsh.y" -{ return 1; ; - break;} -case 14: + { return 1; ;} + break; + + case 15: #line 163 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 15: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 16: #line 164 "Gmsh.y" -{ return 1; ; - break;} -case 16: + { return 1; ;} + break; + + case 17: #line 165 "Gmsh.y" -{ return 1; ; - break;} -case 17: + { return 1; ;} + break; + + case 18: #line 166 "Gmsh.y" -{ return 1; ; - break;} -case 18: + { return 1; ;} + break; + + case 19: #line 167 "Gmsh.y" -{ return 1; ; - break;} -case 19: + { return 1; ;} + break; + + case 20: #line 168 "Gmsh.y" -{ return 1; ; - break;} -case 20: + { return 1; ;} + break; + + case 21: #line 173 "Gmsh.y" -{ - yyval.c = "w"; - ; - break;} -case 21: + { + (yyval.c) = "w"; + ;} + break; + + case 22: #line 177 "Gmsh.y" -{ - yyval.c = "a"; - ; - break;} -case 22: + { + (yyval.c) = "a"; + ;} + break; + + case 23: #line 184 "Gmsh.y" -{ - Msg(DIRECT, yyvsp[-2].c); - Free(yyvsp[-2].c); - ; - break;} -case 23: + { + Msg(DIRECT, (yyvsp[-2].c)); + Free((yyvsp[-2].c)); + ;} + break; + + case 24: #line 189 "Gmsh.y" -{ + { char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); - FILE *fp = fopen(tmpstring, yyvsp[-2].c); + FixRelativePath((yyvsp[-1].c), tmpstring); + FILE *fp = fopen(tmpstring, (yyvsp[-2].c)); if(!fp){ yymsg(GERROR, "Unable to open file '%s'", tmpstring); } else{ - fprintf(fp, "%s\n", yyvsp[-4].c); + fprintf(fp, "%s\n", (yyvsp[-4].c)); fclose(fp); } - Free(yyvsp[-4].c); - Free(yyvsp[-1].c); - ; - break;} -case 24: + Free((yyvsp[-4].c)); + Free((yyvsp[-1].c)); + ;} + break; + + case 25: #line 204 "Gmsh.y" -{ + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-4].c, yyvsp[-2].l, tmpstring); + int i = PrintListOfDouble((yyvsp[-4].c), (yyvsp[-2].l), tmpstring); if(i < 0) yymsg(GERROR, "Too few arguments in Printf"); else if(i > 0) yymsg(GERROR, "%d extra argument%s in Printf", i, (i>1)?"s":""); else Msg(DIRECT, tmpstring); - Free(yyvsp[-4].c); - List_Delete(yyvsp[-2].l); - ; - break;} -case 25: + Free((yyvsp[-4].c)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 26: #line 217 "Gmsh.y" -{ + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-6].c, yyvsp[-4].l, tmpstring); + int i = PrintListOfDouble((yyvsp[-6].c), (yyvsp[-4].l), tmpstring); if(i < 0) yymsg(GERROR, "Too few arguments in Printf"); else if(i > 0) yymsg(GERROR, "%d extra argument%s in Printf", i, (i>1)?"s":""); else{ char tmpstring2[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring2); - FILE *fp = fopen(tmpstring2, yyvsp[-2].c); + FixRelativePath((yyvsp[-1].c), tmpstring2); + FILE *fp = fopen(tmpstring2, (yyvsp[-2].c)); if(!fp){ yymsg(GERROR, "Unable to open file '%s'", tmpstring2); } @@ -2907,249 +3526,258 @@ case 25: fclose(fp); } } - Free(yyvsp[-6].c); - Free(yyvsp[-1].c); - List_Delete(yyvsp[-4].l); - ; - break;} -case 26: + Free((yyvsp[-6].c)); + Free((yyvsp[-1].c)); + List_Delete((yyvsp[-4].l)); + ;} + break; + + case 27: #line 246 "Gmsh.y" -{ - if(!strcmp(yyvsp[-5].c, "View") && !CheckViewErrorFlags(View)){ - EndView(View, 0, yyname, yyvsp[-4].c); - } - Free(yyvsp[-5].c); Free(yyvsp[-4].c); - ; - break;} -case 27: + { + if(!strcmp((yyvsp[-5].c), "View") && !CheckViewErrorFlags(View)){ + EndView(View, 0, yyname, (yyvsp[-4].c)); + } + Free((yyvsp[-5].c)); Free((yyvsp[-4].c)); + ;} + break; + + case 28: #line 253 "Gmsh.y" -{ - if(!strcmp(yyvsp[-7].c, "View") && !CheckViewErrorFlags(View)){ - EndView(View, 0, yyname, yyvsp[-6].c); + { + if(!strcmp((yyvsp[-7].c), "View") && !CheckViewErrorFlags(View)){ + EndView(View, 0, yyname, (yyvsp[-6].c)); } - Free(yyvsp[-7].c); Free(yyvsp[-6].c); Free(yyvsp[-5].c); - ; - break;} -case 28: + Free((yyvsp[-7].c)); Free((yyvsp[-6].c)); Free((yyvsp[-5].c)); + ;} + break; + + case 29: #line 263 "Gmsh.y" -{ + { View = BeginView(1); for(int i = 0; i < VIEW_NB_ELEMENT_TYPES; i++){ ViewErrorFlags[i] = 0; } - ; - break;} -case 35: + ;} + break; + + case 36: #line 279 "Gmsh.y" -{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ; - break;} -case 36: + { ViewCoord[ViewCoordIdx] = (yyvsp[0].d); ViewCoordIdx++; ;} + break; + + case 37: #line 281 "Gmsh.y" -{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ; - break;} -case 37: + { ViewCoord[ViewCoordIdx] = (yyvsp[0].d); ViewCoordIdx++; ;} + break; + + case 38: #line 286 "Gmsh.y" -{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ; - break;} -case 38: + { if(ViewValueList) List_Add(ViewValueList, &(yyvsp[0].d)); ;} + break; + + case 39: #line 288 "Gmsh.y" -{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ; - break;} -case 39: + { if(ViewValueList) List_Add(ViewValueList, &(yyvsp[0].d)); ;} + break; + + case 40: #line 293 "Gmsh.y" -{ - if(!strcmp(yyvsp[0].c, "SP")){ + { + if(!strcmp((yyvsp[0].c), "SP")){ ViewElementIdx = 0; ViewNumNodes = 1; ViewNumComp = 1; ViewValueList = View->SP; ViewNumList = &View->NbSP; } - else if(!strcmp(yyvsp[0].c, "VP")){ + else if(!strcmp((yyvsp[0].c), "VP")){ ViewElementIdx = 1; ViewNumNodes = 1; ViewNumComp = 3; ViewValueList = View->VP; ViewNumList = &View->NbVP; } - else if(!strcmp(yyvsp[0].c, "TP")){ + else if(!strcmp((yyvsp[0].c), "TP")){ ViewElementIdx = 2; ViewNumNodes = 1; ViewNumComp = 9; ViewValueList = View->TP; ViewNumList = &View->NbTP; } - else if(!strcmp(yyvsp[0].c, "SL")){ + else if(!strcmp((yyvsp[0].c), "SL")){ ViewElementIdx = 3; ViewNumNodes = 2; ViewNumComp = 1; ViewValueList = View->SL; ViewNumList = &View->NbSL; } - else if(!strcmp(yyvsp[0].c, "VL")){ + else if(!strcmp((yyvsp[0].c), "VL")){ ViewElementIdx = 4; ViewNumNodes = 2; ViewNumComp = 3; ViewValueList = View->VL; ViewNumList = &View->NbVL; } - else if(!strcmp(yyvsp[0].c, "TL")){ + else if(!strcmp((yyvsp[0].c), "TL")){ ViewElementIdx = 5; ViewNumNodes = 2; ViewNumComp = 9; ViewValueList = View->TL; ViewNumList = &View->NbTL; } - else if(!strcmp(yyvsp[0].c, "ST")){ + else if(!strcmp((yyvsp[0].c), "ST")){ ViewElementIdx = 6; ViewNumNodes = 3; ViewNumComp = 1; ViewValueList = View->ST; ViewNumList = &View->NbST; } - else if(!strcmp(yyvsp[0].c, "VT")){ + else if(!strcmp((yyvsp[0].c), "VT")){ ViewElementIdx = 7; ViewNumNodes = 3; ViewNumComp = 3; ViewValueList = View->VT; ViewNumList = &View->NbVT; } - else if(!strcmp(yyvsp[0].c, "TT")){ + else if(!strcmp((yyvsp[0].c), "TT")){ ViewElementIdx = 8; ViewNumNodes = 3; ViewNumComp = 9; ViewValueList = View->TT; ViewNumList = &View->NbTT; } - else if(!strcmp(yyvsp[0].c, "SQ")){ + else if(!strcmp((yyvsp[0].c), "SQ")){ ViewElementIdx = 9; ViewNumNodes = 4; ViewNumComp = 1; ViewValueList = View->SQ; ViewNumList = &View->NbSQ; } - else if(!strcmp(yyvsp[0].c, "VQ")){ + else if(!strcmp((yyvsp[0].c), "VQ")){ ViewElementIdx = 10; ViewNumNodes = 4; ViewNumComp = 3; ViewValueList = View->VQ; ViewNumList = &View->NbVQ; } - else if(!strcmp(yyvsp[0].c, "TQ")){ + else if(!strcmp((yyvsp[0].c), "TQ")){ ViewElementIdx = 11; ViewNumNodes = 4; ViewNumComp = 9; ViewValueList = View->TQ; ViewNumList = &View->NbTQ; } - else if(!strcmp(yyvsp[0].c, "SS")){ + else if(!strcmp((yyvsp[0].c), "SS")){ ViewElementIdx = 12; ViewNumNodes = 4; ViewNumComp = 1; ViewValueList = View->SS; ViewNumList = &View->NbSS; } - else if(!strcmp(yyvsp[0].c, "VS")){ + else if(!strcmp((yyvsp[0].c), "VS")){ ViewElementIdx = 13; ViewNumNodes = 4; ViewNumComp = 3; ViewValueList = View->VS; ViewNumList = &View->NbVS; } - else if(!strcmp(yyvsp[0].c, "TS")){ + else if(!strcmp((yyvsp[0].c), "TS")){ ViewElementIdx = 14; ViewNumNodes = 4; ViewNumComp = 9; ViewValueList = View->TS; ViewNumList = &View->NbTS; } - else if(!strcmp(yyvsp[0].c, "SH")){ + else if(!strcmp((yyvsp[0].c), "SH")){ ViewElementIdx = 15; ViewNumNodes = 8; ViewNumComp = 1; ViewValueList = View->SH; ViewNumList = &View->NbSH; } - else if(!strcmp(yyvsp[0].c, "VH")){ + else if(!strcmp((yyvsp[0].c), "VH")){ ViewElementIdx = 16; ViewNumNodes = 8; ViewNumComp = 3; ViewValueList = View->VH; ViewNumList = &View->NbVH; } - else if(!strcmp(yyvsp[0].c, "TH")){ + else if(!strcmp((yyvsp[0].c), "TH")){ ViewElementIdx = 17; ViewNumNodes = 8; ViewNumComp = 9; ViewValueList = View->TH; ViewNumList = &View->NbTH; } - else if(!strcmp(yyvsp[0].c, "SI")){ + else if(!strcmp((yyvsp[0].c), "SI")){ ViewElementIdx = 18; ViewNumNodes = 6; ViewNumComp = 1; ViewValueList = View->SI; ViewNumList = &View->NbSI; } - else if(!strcmp(yyvsp[0].c, "VI")){ + else if(!strcmp((yyvsp[0].c), "VI")){ ViewElementIdx = 19; ViewNumNodes = 6; ViewNumComp = 3; ViewValueList = View->VI; ViewNumList = &View->NbVI; } - else if(!strcmp(yyvsp[0].c, "TI")){ + else if(!strcmp((yyvsp[0].c), "TI")){ ViewElementIdx = 20; ViewNumNodes = 6; ViewNumComp = 9; ViewValueList = View->TI; ViewNumList = &View->NbTI; } - else if(!strcmp(yyvsp[0].c, "SY")){ + else if(!strcmp((yyvsp[0].c), "SY")){ ViewElementIdx = 21; ViewNumNodes = 5; ViewNumComp = 1; ViewValueList = View->SY; ViewNumList = &View->NbSY; } - else if(!strcmp(yyvsp[0].c, "VY")){ + else if(!strcmp((yyvsp[0].c), "VY")){ ViewElementIdx = 22; ViewNumNodes = 5; ViewNumComp = 3; ViewValueList = View->VY; ViewNumList = &View->NbVY; } - else if(!strcmp(yyvsp[0].c, "TY")){ + else if(!strcmp((yyvsp[0].c), "TY")){ ViewElementIdx = 23; ViewNumNodes = 5; ViewNumComp = 9; ViewValueList = View->TY; ViewNumList = &View->NbTY; } - else if(!strcmp(yyvsp[0].c, "SL2")){ + else if(!strcmp((yyvsp[0].c), "SL2")){ ViewElementIdx = 3; ViewNumNodes = 3; ViewNumComp = 1; ViewValueList = View->SL2; ViewNumList = &View->NbSL2; } - else if(!strcmp(yyvsp[0].c, "VL2")){ + else if(!strcmp((yyvsp[0].c), "VL2")){ ViewElementIdx = 4; ViewNumNodes = 3; ViewNumComp = 3; ViewValueList = View->VL2; ViewNumList = &View->NbVL2; } - else if(!strcmp(yyvsp[0].c, "TL2")){ + else if(!strcmp((yyvsp[0].c), "TL2")){ ViewElementIdx = 5; ViewNumNodes = 3; ViewNumComp = 9; ViewValueList = View->TL2; ViewNumList = &View->NbTL2; } - else if(!strcmp(yyvsp[0].c, "ST2")){ + else if(!strcmp((yyvsp[0].c), "ST2")){ ViewElementIdx = 6; ViewNumNodes = 6; ViewNumComp = 1; ViewValueList = View->ST2; ViewNumList = &View->NbST2; } - else if(!strcmp(yyvsp[0].c, "VT2")){ + else if(!strcmp((yyvsp[0].c), "VT2")){ ViewElementIdx = 7; ViewNumNodes = 6; ViewNumComp = 3; ViewValueList = View->VT2; ViewNumList = &View->NbVT2; } - else if(!strcmp(yyvsp[0].c, "TT2")){ + else if(!strcmp((yyvsp[0].c), "TT2")){ ViewElementIdx = 8; ViewNumNodes = 6; ViewNumComp = 9; ViewValueList = View->TT2; ViewNumList = &View->NbTT2; } - else if(!strcmp(yyvsp[0].c, "SQ2")){ + else if(!strcmp((yyvsp[0].c), "SQ2")){ ViewElementIdx = 9; ViewNumNodes = 9; ViewNumComp = 1; ViewValueList = View->SQ2; ViewNumList = &View->NbSQ2; } - else if(!strcmp(yyvsp[0].c, "VQ2")){ + else if(!strcmp((yyvsp[0].c), "VQ2")){ ViewElementIdx = 10; ViewNumNodes = 9; ViewNumComp = 3; ViewValueList = View->VQ2; ViewNumList = &View->NbVQ2; } - else if(!strcmp(yyvsp[0].c, "TQ2")){ + else if(!strcmp((yyvsp[0].c), "TQ2")){ ViewElementIdx = 11; ViewNumNodes = 9; ViewNumComp = 9; ViewValueList = View->TQ2; ViewNumList = &View->NbTQ2; } - else if(!strcmp(yyvsp[0].c, "SS2")){ + else if(!strcmp((yyvsp[0].c), "SS2")){ ViewElementIdx = 12; ViewNumNodes = 10; ViewNumComp = 1; ViewValueList = View->SS2; ViewNumList = &View->NbSS2; } - else if(!strcmp(yyvsp[0].c, "VS2")){ + else if(!strcmp((yyvsp[0].c), "VS2")){ ViewElementIdx = 13; ViewNumNodes = 10; ViewNumComp = 3; ViewValueList = View->VS2; ViewNumList = &View->NbVS2; } - else if(!strcmp(yyvsp[0].c, "TS2")){ + else if(!strcmp((yyvsp[0].c), "TS2")){ ViewElementIdx = 14; ViewNumNodes = 10; ViewNumComp = 9; ViewValueList = View->TS2; ViewNumList = &View->NbTS2; } - else if(!strcmp(yyvsp[0].c, "SH2")){ + else if(!strcmp((yyvsp[0].c), "SH2")){ ViewElementIdx = 15; ViewNumNodes = 27; ViewNumComp = 1; ViewValueList = View->SH2; ViewNumList = &View->NbSH2; } - else if(!strcmp(yyvsp[0].c, "VH2")){ + else if(!strcmp((yyvsp[0].c), "VH2")){ ViewElementIdx = 16; ViewNumNodes = 27; ViewNumComp = 3; ViewValueList = View->VH2; ViewNumList = &View->NbVH2; } - else if(!strcmp(yyvsp[0].c, "TH2")){ + else if(!strcmp((yyvsp[0].c), "TH2")){ ViewElementIdx = 17; ViewNumNodes = 27; ViewNumComp = 9; ViewValueList = View->TH2; ViewNumList = &View->NbTH2; } - else if(!strcmp(yyvsp[0].c, "SI2")){ + else if(!strcmp((yyvsp[0].c), "SI2")){ ViewElementIdx = 18; ViewNumNodes = 18; ViewNumComp = 1; ViewValueList = View->SI2; ViewNumList = &View->NbSI2; } - else if(!strcmp(yyvsp[0].c, "VI2")){ + else if(!strcmp((yyvsp[0].c), "VI2")){ ViewElementIdx = 19; ViewNumNodes = 18; ViewNumComp = 3; ViewValueList = View->VI2; ViewNumList = &View->NbVI2; } - else if(!strcmp(yyvsp[0].c, "TI2")){ + else if(!strcmp((yyvsp[0].c), "TI2")){ ViewElementIdx = 20; ViewNumNodes = 18; ViewNumComp = 9; ViewValueList = View->TI2; ViewNumList = &View->NbTI2; } - else if(!strcmp(yyvsp[0].c, "SY2")){ + else if(!strcmp((yyvsp[0].c), "SY2")){ ViewElementIdx = 21; ViewNumNodes = 14; ViewNumComp = 1; ViewValueList = View->SY2; ViewNumList = &View->NbSY2; } - else if(!strcmp(yyvsp[0].c, "VY2")){ + else if(!strcmp((yyvsp[0].c), "VY2")){ ViewElementIdx = 22; ViewNumNodes = 14; ViewNumComp = 3; ViewValueList = View->VY2; ViewNumList = &View->NbVY2; } - else if(!strcmp(yyvsp[0].c, "TY2")){ + else if(!strcmp((yyvsp[0].c), "TY2")){ ViewElementIdx = 23; ViewNumNodes = 14; ViewNumComp = 9; ViewValueList = View->TY2; ViewNumList = &View->NbTY2; } else{ - yymsg(GERROR, "Unknown element type '%s'", yyvsp[0].c); + yymsg(GERROR, "Unknown element type '%s'", (yyvsp[0].c)); ViewElementIdx = -1; ViewNumNodes = 0; ViewNumComp = 0; ViewValueList = NULL; ViewNumList = NULL; } - Free(yyvsp[0].c); + Free((yyvsp[0].c)); ViewCoordIdx = 0; - ; - break;} -case 40: + ;} + break; + + case 41: #line 483 "Gmsh.y" -{ + { if(ViewValueList){ if(ViewCoordIdx != 3 * ViewNumNodes){ yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", @@ -3165,795 +3793,849 @@ case 40: } ViewNumListTmp = List_Nbr(ViewValueList); } - ; - break;} -case 41: + ;} + break; + + case 42: #line 501 "Gmsh.y" -{ + { if(ViewValueList){ if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewNumNodes)) ViewErrorFlags[ViewElementIdx]++; (*ViewNumList)++; } - ; - break;} -case 42: + ;} + break; + + case 43: #line 512 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T2C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 43: + { + for(int i = 0; i < (int)strlen((yyvsp[0].c))+1; i++) List_Add(View->T2C, &(yyvsp[0].c)[i]); + Free((yyvsp[0].c)); + ;} + break; + + case 44: #line 517 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T2C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 44: + { + for(int i = 0; i < (int)strlen((yyvsp[0].c))+1; i++) List_Add(View->T2C, &(yyvsp[0].c)[i]); + Free((yyvsp[0].c)); + ;} + break; + + case 45: #line 525 "Gmsh.y" -{ - List_Add(View->T2D, &yyvsp[-5].d); List_Add(View->T2D, &yyvsp[-3].d); - List_Add(View->T2D, &yyvsp[-1].d); + { + List_Add(View->T2D, &(yyvsp[-5].d)); List_Add(View->T2D, &(yyvsp[-3].d)); + List_Add(View->T2D, &(yyvsp[-1].d)); double d = List_Nbr(View->T2C); List_Add(View->T2D, &d); - ; - break;} -case 45: + ;} + break; + + case 46: #line 532 "Gmsh.y" -{ + { View->NbT2++; - ; - break;} -case 46: + ;} + break; + + case 47: #line 539 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T3C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 47: + { + for(int i = 0; i < (int)strlen((yyvsp[0].c))+1; i++) List_Add(View->T3C, &(yyvsp[0].c)[i]); + Free((yyvsp[0].c)); + ;} + break; + + case 48: #line 544 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T3C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 48: + { + for(int i = 0; i < (int)strlen((yyvsp[0].c))+1; i++) List_Add(View->T3C, &(yyvsp[0].c)[i]); + Free((yyvsp[0].c)); + ;} + break; + + case 49: #line 552 "Gmsh.y" -{ - List_Add(View->T3D, &yyvsp[-7].d); List_Add(View->T3D, &yyvsp[-5].d); - List_Add(View->T3D, &yyvsp[-3].d); List_Add(View->T3D, &yyvsp[-1].d); + { + List_Add(View->T3D, &(yyvsp[-7].d)); List_Add(View->T3D, &(yyvsp[-5].d)); + List_Add(View->T3D, &(yyvsp[-3].d)); List_Add(View->T3D, &(yyvsp[-1].d)); double d = List_Nbr(View->T3C); List_Add(View->T3D, &d); - ; - break;} -case 49: + ;} + break; + + case 50: #line 559 "Gmsh.y" -{ + { View->NbT3++; - ; - break;} -case 50: + ;} + break; + + case 51: #line 567 "Gmsh.y" -{ - View->adaptive = new Adaptive_Post_View(View, yyvsp[-5].l, yyvsp[-2].l); - ; - break;} -case 51: + { + View->adaptive = new Adaptive_Post_View(View, (yyvsp[-5].l), (yyvsp[-2].l)); + ;} + break; + + case 52: #line 574 "Gmsh.y" -{ + { ViewValueList = View->Time; - ; - break;} -case 52: + ;} + break; + + case 53: #line 578 "Gmsh.y" -{ - ; - break;} -case 53: + { + ;} + break; + + case 54: #line 583 "Gmsh.y" -{ - (*View->Grains) [(int)yyvsp[-3].d] = yyvsp[-1].l; - ; - break;} -case 54: + { + (*View->Grains) [(int)(yyvsp[-3].d)] = (yyvsp[-1].l); + ;} + break; + + case 55: #line 591 "Gmsh.y" -{ yyval.i = 0; ; - break;} -case 55: + { (yyval.i) = 0; ;} + break; + + case 56: #line 592 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 56: + { (yyval.i) = 1; ;} + break; + + case 57: #line 593 "Gmsh.y" -{ yyval.i = 2; ; - break;} -case 57: + { (yyval.i) = 2; ;} + break; + + case 58: #line 594 "Gmsh.y" -{ yyval.i = 3; ; - break;} -case 58: + { (yyval.i) = 3; ;} + break; + + case 59: #line 595 "Gmsh.y" -{ yyval.i = 4; ; - break;} -case 59: + { (yyval.i) = 4; ;} + break; + + case 60: #line 599 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 60: + { (yyval.i) = 1; ;} + break; + + case 61: #line 600 "Gmsh.y" -{ yyval.i = -1; ; - break;} -case 61: + { (yyval.i) = -1; ;} + break; + + case 62: #line 608 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-3].c; + TheSymbol.Name = (yyvsp[-3].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[-2].i)){ TheSymbol.val = List_Create(1, 1, sizeof(double)); - List_Put(TheSymbol.val, 0, &yyvsp[-1].d); + List_Put(TheSymbol.val, 0, &(yyvsp[-1].d)); Tree_Add(Symbol_T, &TheSymbol); } else{ - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-3].c); - Free(yyvsp[-3].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-3].c)); + Free((yyvsp[-3].c)); } } else{ double *pd = (double*)List_Pointer_Fast(pSymbol->val, 0); - switch(yyvsp[-2].i){ - case 0 : *pd = yyvsp[-1].d; break; - case 1 : *pd += yyvsp[-1].d; break; - case 2 : *pd -= yyvsp[-1].d; break; - case 3 : *pd *= yyvsp[-1].d; break; + switch((yyvsp[-2].i)){ + case 0 : *pd = (yyvsp[-1].d); break; + case 1 : *pd += (yyvsp[-1].d); break; + case 2 : *pd -= (yyvsp[-1].d); break; + case 3 : *pd *= (yyvsp[-1].d); break; case 4 : - if(yyvsp[-1].d) *pd /= yyvsp[-1].d; - else yymsg(GERROR, "Division by zero in '%s /= %g'", yyvsp[-3].c, yyvsp[-1].d); + if((yyvsp[-1].d)) *pd /= (yyvsp[-1].d); + else yymsg(GERROR, "Division by zero in '%s /= %g'", (yyvsp[-3].c), (yyvsp[-1].d)); break; } - Free(yyvsp[-3].c); + Free((yyvsp[-3].c)); } - ; - break;} -case 62: + ;} + break; + + case 63: #line 639 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-6].c; + TheSymbol.Name = (yyvsp[-6].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[-2].i)){ TheSymbol.val = List_Create(5, 5, sizeof(double)); - List_Put(TheSymbol.val, (int)yyvsp[-4].d, &yyvsp[-1].d); + List_Put(TheSymbol.val, (int)(yyvsp[-4].d), &(yyvsp[-1].d)); Tree_Add(Symbol_T, &TheSymbol); } else{ - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-6].c); - Free(yyvsp[-6].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-6].c)); + Free((yyvsp[-6].c)); } } else{ double *pd; - if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-4].d))){ - switch(yyvsp[-2].i){ - case 0 : *pd = yyvsp[-1].d; break; - case 1 : *pd += yyvsp[-1].d; break; - case 2 : *pd -= yyvsp[-1].d; break; - case 3 : *pd *= yyvsp[-1].d; break; + if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)(yyvsp[-4].d)))){ + switch((yyvsp[-2].i)){ + case 0 : *pd = (yyvsp[-1].d); break; + case 1 : *pd += (yyvsp[-1].d); break; + case 2 : *pd -= (yyvsp[-1].d); break; + case 3 : *pd *= (yyvsp[-1].d); break; case 4 : - if(yyvsp[-1].d) *pd /= yyvsp[-1].d; - else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].d); + if((yyvsp[-1].d)) *pd /= (yyvsp[-1].d); + else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", (yyvsp[-6].c), (int)(yyvsp[-4].d), (yyvsp[-1].d)); break; } } else{ - if(!yyvsp[-2].i) - List_Put(pSymbol->val, (int)yyvsp[-4].d, &yyvsp[-1].d); + if(!(yyvsp[-2].i)) + List_Put(pSymbol->val, (int)(yyvsp[-4].d), &(yyvsp[-1].d)); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-6].c, (int)yyvsp[-4].d); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-6].c), (int)(yyvsp[-4].d)); } - Free(yyvsp[-6].c); + Free((yyvsp[-6].c)); } - ; - break;} -case 63: + ;} + break; + + case 64: #line 678 "Gmsh.y" -{ - if(List_Nbr(yyvsp[-5].l) != List_Nbr(yyvsp[-1].l)){ + { + if(List_Nbr((yyvsp[-5].l)) != List_Nbr((yyvsp[-1].l))){ yymsg(GERROR, "Incompatible array dimensions in affectation"); - Free(yyvsp[-8].c); + Free((yyvsp[-8].c)); } else{ Symbol TheSymbol; - TheSymbol.Name = yyvsp[-8].c; + TheSymbol.Name = (yyvsp[-8].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[-2].i)){ TheSymbol.val = List_Create(5, 5, sizeof(double)); - for(int i = 0; i < List_Nbr(yyvsp[-5].l); i++){ - List_Put(TheSymbol.val, (int)(*(double*)List_Pointer(yyvsp[-5].l, i)), - (double*)List_Pointer(yyvsp[-1].l, i)); + for(int i = 0; i < List_Nbr((yyvsp[-5].l)); i++){ + List_Put(TheSymbol.val, (int)(*(double*)List_Pointer((yyvsp[-5].l), i)), + (double*)List_Pointer((yyvsp[-1].l), i)); } Tree_Add(Symbol_T, &TheSymbol); } else{ - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-8].c); - Free(yyvsp[-8].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-8].c)); + Free((yyvsp[-8].c)); } } else{ - for(int i = 0; i < List_Nbr(yyvsp[-5].l); i++){ - int j = (int)(*(double*)List_Pointer(yyvsp[-5].l, i)); - double d = *(double*)List_Pointer(yyvsp[-1].l, i); + for(int i = 0; i < List_Nbr((yyvsp[-5].l)); i++){ + int j = (int)(*(double*)List_Pointer((yyvsp[-5].l), i)); + double d = *(double*)List_Pointer((yyvsp[-1].l), i); double *pd; if((pd = (double*)List_Pointer_Test(pSymbol->val, j))){ - switch(yyvsp[-2].i){ + switch((yyvsp[-2].i)){ case 0 : *pd = d; break; case 1 : *pd += d; break; case 2 : *pd -= d; break; case 3 : *pd *= d; break; case 4 : - if(yyvsp[-1].l) *pd /= d; - else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", yyvsp[-8].c, j, d); + if((yyvsp[-1].l)) *pd /= d; + else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", (yyvsp[-8].c), j, d); break; } } else{ - if(!yyvsp[-2].i) + if(!(yyvsp[-2].i)) List_Put(pSymbol->val, j, &d); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-8].c, j); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-8].c), j); } } - Free(yyvsp[-8].c); + Free((yyvsp[-8].c)); } } - List_Delete(yyvsp[-5].l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 64: + List_Delete((yyvsp[-5].l)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 65: #line 732 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[-5].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ TheSymbol.val = List_Create(5, 5, sizeof(double)); - List_Copy(yyvsp[-1].l, TheSymbol.val); + List_Copy((yyvsp[-1].l), TheSymbol.val); Tree_Add(Symbol_T, &TheSymbol); } else{ List_Reset(pSymbol->val); - List_Copy(yyvsp[-1].l, pSymbol->val); - Free(yyvsp[-5].c); + List_Copy((yyvsp[-1].l), pSymbol->val); + Free((yyvsp[-5].c)); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 65: + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 66: #line 749 "Gmsh.y" -{ + { // appends to the list Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[-5].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ TheSymbol.val = List_Create(5, 5, sizeof(double)); - List_Copy(yyvsp[-1].l, TheSymbol.val); + List_Copy((yyvsp[-1].l), TheSymbol.val); Tree_Add(Symbol_T, &TheSymbol); } else{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++) - List_Add(pSymbol->val, List_Pointer(yyvsp[-1].l, i)); - Free(yyvsp[-5].c); - } - List_Delete(yyvsp[-1].l); - ; - break;} -case 66: + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++) + List_Add(pSymbol->val, List_Pointer((yyvsp[-1].l), i)); + Free((yyvsp[-5].c)); + } + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 67: #line 767 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[-2].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-2].c)); else - *(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[-1].i; - Free(yyvsp[-2].c); - ; - break;} -case 67: + *(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[-1].i); + Free((yyvsp[-2].c)); + ;} + break; + + case 68: #line 778 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[-5].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-5].c)); else{ double *pd; - if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-3].d))) - *pd += yyvsp[-1].i; + if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)(yyvsp[-3].d)))) + *pd += (yyvsp[-1].i); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, (int)yyvsp[-3].d); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-5].c), (int)(yyvsp[-3].d)); } - Free(yyvsp[-5].c); - ; - break;} -case 68: + Free((yyvsp[-5].c)); + ;} + break; + + case 69: #line 797 "Gmsh.y" -{ + { char* (*pStrOpt)(int num, int action, char *value); StringXString *pStrCat; - if(!(pStrCat = Get_StringOptionCategory(yyvsp[-5].c))) - yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-5].c); + if(!(pStrCat = Get_StringOptionCategory((yyvsp[-5].c)))) + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[-5].c)); else{ - if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-3].c, pStrCat))) - yymsg(GERROR, "Unknown string option '%s.%s'", yyvsp[-5].c, yyvsp[-3].c); + if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption((yyvsp[-3].c), pStrCat))) + yymsg(GERROR, "Unknown string option '%s.%s'", (yyvsp[-5].c), (yyvsp[-3].c)); else - pStrOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].c); + pStrOpt(0, GMSH_SET|GMSH_GUI, (yyvsp[-1].c)); } - Free(yyvsp[-5].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $5 - ; - break;} -case 69: + Free((yyvsp[-5].c)); Free((yyvsp[-3].c)); //FIXME: somtimes leak $5 + ;} + break; + + case 70: #line 811 "Gmsh.y" -{ + { char* (*pStrOpt)(int num, int action, char *value); StringXString *pStrCat; - if(!(pStrCat = Get_StringOptionCategory(yyvsp[-8].c))) - yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-8].c); + if(!(pStrCat = Get_StringOptionCategory((yyvsp[-8].c)))) + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[-8].c)); else{ - if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-3].c, pStrCat))) - yymsg(GERROR, "Unknown string option '%s[%d].%s'", yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c); + if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption((yyvsp[-3].c), pStrCat))) + yymsg(GERROR, "Unknown string option '%s[%d].%s'", (yyvsp[-8].c), (int)(yyvsp[-6].d), (yyvsp[-3].c)); else - pStrOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, yyvsp[-1].c); + pStrOpt((int)(yyvsp[-6].d), GMSH_SET|GMSH_GUI, (yyvsp[-1].c)); } - Free(yyvsp[-8].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $8 - ; - break;} -case 70: + Free((yyvsp[-8].c)); Free((yyvsp[-3].c)); //FIXME: somtimes leak $8 + ;} + break; + + case 71: #line 828 "Gmsh.y" -{ + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-5].c))) - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-5].c); + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-5].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-5].c)); else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-3].c, pNumCat))) - yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-5].c, yyvsp[-3].c); + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-3].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[-5].c), (yyvsp[-3].c)); else{ double d = 0; - switch(yyvsp[-2].i){ - case 0 : d = yyvsp[-1].d; break; - case 1 : d = pNumOpt(0, GMSH_GET, 0) + yyvsp[-1].d; break; - case 2 : d = pNumOpt(0, GMSH_GET, 0) - yyvsp[-1].d; break; - case 3 : d = pNumOpt(0, GMSH_GET, 0) * yyvsp[-1].d; break; + switch((yyvsp[-2].i)){ + case 0 : d = (yyvsp[-1].d); break; + case 1 : d = pNumOpt(0, GMSH_GET, 0) + (yyvsp[-1].d); break; + case 2 : d = pNumOpt(0, GMSH_GET, 0) - (yyvsp[-1].d); break; + case 3 : d = pNumOpt(0, GMSH_GET, 0) * (yyvsp[-1].d); break; case 4 : - if(yyvsp[-1].d) d = pNumOpt(0, GMSH_GET, 0) / yyvsp[-1].d; - else yymsg(GERROR, "Division by zero in '%s.%s /= %g'", yyvsp[-5].c, yyvsp[-3].c, yyvsp[-1].d); + if((yyvsp[-1].d)) d = pNumOpt(0, GMSH_GET, 0) / (yyvsp[-1].d); + else yymsg(GERROR, "Division by zero in '%s.%s /= %g'", (yyvsp[-5].c), (yyvsp[-3].c), (yyvsp[-1].d)); break; } pNumOpt(0, GMSH_SET|GMSH_GUI, d); } } - Free(yyvsp[-5].c); Free(yyvsp[-3].c); - ; - break;} -case 71: + Free((yyvsp[-5].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 72: #line 854 "Gmsh.y" -{ + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-8].c))) - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-8].c); + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-8].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-8].c)); else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-3].c, pNumCat))) - yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c); + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-3].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[-8].c), (int)(yyvsp[-6].d), (yyvsp[-3].c)); else{ double d = 0; - switch(yyvsp[-2].i){ - case 0 : d = yyvsp[-1].d; break; - case 1 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) + yyvsp[-1].d; break; - case 2 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) - yyvsp[-1].d; break; - case 3 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) * yyvsp[-1].d; break; + switch((yyvsp[-2].i)){ + case 0 : d = (yyvsp[-1].d); break; + case 1 : d = pNumOpt((int)(yyvsp[-6].d), GMSH_GET, 0) + (yyvsp[-1].d); break; + case 2 : d = pNumOpt((int)(yyvsp[-6].d), GMSH_GET, 0) - (yyvsp[-1].d); break; + case 3 : d = pNumOpt((int)(yyvsp[-6].d), GMSH_GET, 0) * (yyvsp[-1].d); break; case 4 : - if(yyvsp[-1].d) d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) / yyvsp[-1].d; + if((yyvsp[-1].d)) d = pNumOpt((int)(yyvsp[-6].d), GMSH_GET, 0) / (yyvsp[-1].d); else yymsg(GERROR, "Division by zero in '%s[%d].%s /= %g'", - yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c, yyvsp[-1].d); + (yyvsp[-8].c), (int)(yyvsp[-6].d), (yyvsp[-3].c), (yyvsp[-1].d)); break; } - pNumOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, d); + pNumOpt((int)(yyvsp[-6].d), GMSH_SET|GMSH_GUI, d); } } - Free(yyvsp[-8].c); Free(yyvsp[-3].c); - ; - break;} -case 72: + Free((yyvsp[-8].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 73: #line 881 "Gmsh.y" -{ + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-4].c))) - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-4].c); + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-4].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-4].c)); else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-2].c, pNumCat))) - yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-4].c, yyvsp[-2].c); + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-2].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[-4].c), (yyvsp[-2].c)); else - pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+yyvsp[-1].i); + pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+(yyvsp[-1].i)); } - Free(yyvsp[-4].c); Free(yyvsp[-2].c); - ; - break;} -case 73: + Free((yyvsp[-4].c)); Free((yyvsp[-2].c)); + ;} + break; + + case 74: #line 895 "Gmsh.y" -{ + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-7].c))) - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-7].c); + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-7].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-7].c)); else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-2].c, pNumCat))) - yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-7].c, (int)yyvsp[-5].d, yyvsp[-2].c); + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-2].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[-7].c), (int)(yyvsp[-5].d), (yyvsp[-2].c)); else - pNumOpt((int)yyvsp[-5].d, GMSH_SET|GMSH_GUI, pNumOpt((int)yyvsp[-5].d, GMSH_GET, 0)+yyvsp[-1].i); + pNumOpt((int)(yyvsp[-5].d), GMSH_SET|GMSH_GUI, pNumOpt((int)(yyvsp[-5].d), GMSH_GET, 0)+(yyvsp[-1].i)); } - Free(yyvsp[-7].c); Free(yyvsp[-2].c); - ; - break;} -case 74: + Free((yyvsp[-7].c)); Free((yyvsp[-2].c)); + ;} + break; + + case 75: #line 912 "Gmsh.y" -{ + { unsigned int (*pColOpt)(int num, int action, unsigned int value); StringXColor *pColCat; - if(!(pColCat = Get_ColorOptionCategory(yyvsp[-7].c))) - yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-7].c); + if(!(pColCat = Get_ColorOptionCategory((yyvsp[-7].c)))) + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[-7].c)); else{ - if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[-3].c, pColCat))) - yymsg(GERROR, "Unknown color option '%s.Color.%s'", yyvsp[-7].c, yyvsp[-3].c); + if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption((yyvsp[-3].c), pColCat))) + yymsg(GERROR, "Unknown color option '%s.Color.%s'", (yyvsp[-7].c), (yyvsp[-3].c)); else - pColOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].u); + pColOpt(0, GMSH_SET|GMSH_GUI, (yyvsp[-1].u)); } - Free(yyvsp[-7].c); Free(yyvsp[-3].c); - ; - break;} -case 75: + Free((yyvsp[-7].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 76: #line 926 "Gmsh.y" -{ + { unsigned int (*pColOpt)(int num, int action, unsigned int value); StringXColor *pColCat; - if(!(pColCat = Get_ColorOptionCategory(yyvsp[-10].c))) - yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-10].c); + if(!(pColCat = Get_ColorOptionCategory((yyvsp[-10].c)))) + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[-10].c)); else{ - if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[-3].c, pColCat))) - yymsg(GERROR, "Unknown color option '%s[%d].Color.%s'", yyvsp[-10].c, (int)yyvsp[-8].d, yyvsp[-3].c); + if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption((yyvsp[-3].c), pColCat))) + yymsg(GERROR, "Unknown color option '%s[%d].Color.%s'", (yyvsp[-10].c), (int)(yyvsp[-8].d), (yyvsp[-3].c)); else - pColOpt((int)yyvsp[-8].d, GMSH_SET|GMSH_GUI, yyvsp[-1].u); + pColOpt((int)(yyvsp[-8].d), GMSH_SET|GMSH_GUI, (yyvsp[-1].u)); } - Free(yyvsp[-10].c); Free(yyvsp[-3].c); - ; - break;} -case 76: + Free((yyvsp[-10].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 77: #line 943 "Gmsh.y" -{ + { GmshColorTable *ct = Get_ColorTable(0); if(!ct) yymsg(GERROR, "View[%d] does not exist", 0); else{ - ct->size = List_Nbr(yyvsp[-1].l); + ct->size = List_Nbr((yyvsp[-1].l)); if(ct->size > COLORTABLE_NBMAX_COLOR) yymsg(GERROR, "Too many (%d>%d) colors in View[%d].ColorTable", ct->size, COLORTABLE_NBMAX_COLOR, 0); else - for(int i = 0; i < ct->size; i++) List_Read(yyvsp[-1].l, i, &ct->table[i]); + for(int i = 0; i < ct->size; i++) List_Read((yyvsp[-1].l), i, &ct->table[i]); if(ct->size == 1){ ct->size = 2; ct->table[1] = ct->table[0]; } } - Free(yyvsp[-5].c); - List_Delete(yyvsp[-1].l); - ; - break;} -case 77: + Free((yyvsp[-5].c)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 78: #line 963 "Gmsh.y" -{ - GmshColorTable *ct = Get_ColorTable((int)yyvsp[-6].d); + { + GmshColorTable *ct = Get_ColorTable((int)(yyvsp[-6].d)); if(!ct) - yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-6].d); + yymsg(GERROR, "View[%d] does not exist", (int)(yyvsp[-6].d)); else{ - ct->size = List_Nbr(yyvsp[-1].l); + ct->size = List_Nbr((yyvsp[-1].l)); if(ct->size > COLORTABLE_NBMAX_COLOR) yymsg(GERROR, "Too many (%d>%d) colors in View[%d].ColorTable", - ct->size, COLORTABLE_NBMAX_COLOR, (int)yyvsp[-6].d); + ct->size, COLORTABLE_NBMAX_COLOR, (int)(yyvsp[-6].d)); else - for(int i = 0; i < ct->size; i++) List_Read(yyvsp[-1].l, i, &ct->table[i]); + for(int i = 0; i < ct->size; i++) List_Read((yyvsp[-1].l), i, &ct->table[i]); if(ct->size == 1){ ct->size = 2; ct->table[1] = ct->table[0]; } } - Free(yyvsp[-8].c); - List_Delete(yyvsp[-1].l); - ; - break;} -case 78: + Free((yyvsp[-8].c)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 79: #line 986 "Gmsh.y" -{ + { try { - GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].d); + GMSH_PluginManager::instance()->setPluginOption((yyvsp[-6].c), (yyvsp[-3].c), (yyvsp[-1].d)); } catch (...) { - yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", (yyvsp[-3].c), (yyvsp[-6].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-3].c); - ; - break;} -case 79: + Free((yyvsp[-6].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 80: #line 996 "Gmsh.y" -{ + { try { - GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].c); + GMSH_PluginManager::instance()->setPluginOption((yyvsp[-6].c), (yyvsp[-3].c), (yyvsp[-1].c)); } catch (...) { - yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", (yyvsp[-3].c), (yyvsp[-6].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-3].c); // FIXME: sometimes leak $8 - ; - break;} -case 80: + Free((yyvsp[-6].c)); Free((yyvsp[-3].c)); // FIXME: sometimes leak $8 + ;} + break; + + case 81: #line 1011 "Gmsh.y" -{ - yyval.i = yyvsp[0].d; - ; - break;} -case 81: + { + (yyval.i) = (yyvsp[0].d); + ;} + break; + + case 82: #line 1015 "Gmsh.y" -{ - yyval.i = GMODEL->setPhysicalName(std::string(yyvsp[0].c), ++THEM->MaxPhysicalNum); - Free(yyvsp[0].c); - ; - break;} -case 82: + { + (yyval.i) = GMODEL->setPhysicalName(std::string((yyvsp[0].c)), ++THEM->MaxPhysicalNum); + Free((yyvsp[0].c)); + ;} + break; + + case 83: #line 1026 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[-4].d); if(FindPoint(num)){ yymsg(GERROR, "Point %d already exists", num); } else{ - Vertex *v = Create_Vertex(num, CTX.geom.scaling_factor * yyvsp[-1].v[0], - CTX.geom.scaling_factor * yyvsp[-1].v[1], - CTX.geom.scaling_factor * yyvsp[-1].v[2], - CTX.geom.scaling_factor * yyvsp[-1].v[3], 1.0); + Vertex *v = Create_Vertex(num, CTX.geom.scaling_factor * (yyvsp[-1].v)[0], + CTX.geom.scaling_factor * (yyvsp[-1].v)[1], + CTX.geom.scaling_factor * (yyvsp[-1].v)[2], + CTX.geom.scaling_factor * (yyvsp[-1].v)[3], 1.0); Tree_Add(THEM->Points, &v); } - yyval.s.Type = MSH_POINT; - yyval.s.Num = num; - ; - break;} -case 83: + (yyval.s).Type = MSH_POINT; + (yyval.s).Num = num; + ;} + break; + + case 84: #line 1042 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + { + int num = (int)(yyvsp[-4].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_POINT)){ yymsg(GERROR, "Physical point %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_POINT, temp); List_Delete(temp); List_Add(THEM->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_POINT; - yyval.s.Num = num; - ; - break;} -case 84: + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_POINT; + (yyval.s).Num = num; + ;} + break; + + case 85: #line 1058 "Gmsh.y" -{ + { yymsg(GERROR, "Attractors are deprecated"); - List_Delete(yyvsp[-9].l); - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 85: + List_Delete((yyvsp[-9].l)); + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 86: #line 1065 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[-3].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); - Vertex *v = FindPoint((int)d); - if(!v) + List_Read((yyvsp[-3].l), i, &d); + + GVertex *gv = GMODEL->vertexByTag((int)d); + if(!gv) yymsg(WARNING, "Unknown point %d", (int)d); else - v->lc = yyvsp[-1].d; + gv->setPrescribedMeshSizeAtVertex((yyvsp[-1].d)); } - List_Delete(yyvsp[-3].l); + List_Delete((yyvsp[-3].l)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 86: -#line 1084 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 87: +#line 1085 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_LINE, 1, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_LINE; - yyval.s.Num = num; - ; - break;} -case 87: -#line 1102 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_LINE; + (yyval.s).Num = num; + ;} + break; + + case 88: +#line 1103 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_SPLN, 3, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_SPLN; - yyval.s.Num = num; - ; - break;} -case 88: -#line 1120 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_SPLN; + (yyval.s).Num = num; + ;} + break; + + case 89: +#line 1121 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_CIRC; - yyval.s.Num = num; - ; - break;} -case 89: -#line 1138 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_CIRC; + (yyval.s).Num = num; + ;} + break; + + case 90: +#line 1139 "Gmsh.y" + { + int num = (int)(yyvsp[-6].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-3].l)); Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL, -1, -1, 0., 1.); - c->Circle.n[0] = yyvsp[-1].v[0]; - c->Circle.n[1] = yyvsp[-1].v[1]; - c->Circle.n[2] = yyvsp[-1].v[2]; + c->Circle.n[0] = (yyvsp[-1].v)[0]; + c->Circle.n[1] = (yyvsp[-1].v)[1]; + c->Circle.n[2] = (yyvsp[-1].v)[2]; End_Curve(c); Tree_Add(THEM->Curves, &c); Curve *rc = CreateReversedCurve(c); - rc->Circle.n[0] = yyvsp[-1].v[0]; - rc->Circle.n[1] = yyvsp[-1].v[1]; - rc->Circle.n[2] = yyvsp[-1].v[2]; + rc->Circle.n[0] = (yyvsp[-1].v)[0]; + rc->Circle.n[1] = (yyvsp[-1].v)[1]; + rc->Circle.n[2] = (yyvsp[-1].v)[2]; End_Curve(rc); List_Delete(temp); } - List_Delete(yyvsp[-3].l); - yyval.s.Type = MSH_SEGM_CIRC; - yyval.s.Num = num; - ; - break;} -case 90: -#line 1164 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-3].l)); + (yyval.s).Type = MSH_SEGM_CIRC; + (yyval.s).Num = num; + ;} + break; + + case 91: +#line 1165 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_ELLI; - yyval.s.Num = num; - ; - break;} -case 91: -#line 1182 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_ELLI; + (yyval.s).Num = num; + ;} + break; + + case 92: +#line 1183 "Gmsh.y" + { + int num = (int)(yyvsp[-6].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-3].l)); Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL, -1, -1, 0., 1.); - c->Circle.n[0] = yyvsp[-1].v[0]; - c->Circle.n[1] = yyvsp[-1].v[1]; - c->Circle.n[2] = yyvsp[-1].v[2]; + c->Circle.n[0] = (yyvsp[-1].v)[0]; + c->Circle.n[1] = (yyvsp[-1].v)[1]; + c->Circle.n[2] = (yyvsp[-1].v)[2]; End_Curve(c); Tree_Add(THEM->Curves, &c); Curve *rc = CreateReversedCurve(c); - rc->Circle.n[0] = yyvsp[-1].v[0]; - rc->Circle.n[1] = yyvsp[-1].v[1]; - rc->Circle.n[2] = yyvsp[-1].v[2]; + rc->Circle.n[0] = (yyvsp[-1].v)[0]; + rc->Circle.n[1] = (yyvsp[-1].v)[1]; + rc->Circle.n[2] = (yyvsp[-1].v)[2]; End_Curve(c); List_Delete(temp); } - List_Delete(yyvsp[-3].l); - yyval.s.Type = MSH_SEGM_ELLI; - yyval.s.Num = num; - ; - break;} -case 92: -#line 1209 "Gmsh.y" -{ - int num = (int)yyvsp[-14].d; + List_Delete((yyvsp[-3].l)); + (yyval.s).Type = MSH_SEGM_ELLI; + (yyval.s).Num = num; + ;} + break; + + case 93: +#line 1210 "Gmsh.y" + { + int num = (int)(yyvsp[-14].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ Curve *c = Create_Curve(num, MSH_SEGM_PARAMETRIC, 2, NULL, NULL, - -1, -1, yyvsp[-10].d, yyvsp[-8].d); - strcpy(c->functu, yyvsp[-6].c); - strcpy(c->functv, yyvsp[-4].c); - strcpy(c->functw, yyvsp[-2].c); + -1, -1, (yyvsp[-10].d), (yyvsp[-8].d)); + strcpy(c->functu, (yyvsp[-6].c)); + strcpy(c->functv, (yyvsp[-4].c)); + strcpy(c->functw, (yyvsp[-2].c)); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); } - Free(yyvsp[-6].c); Free(yyvsp[-4].c); Free(yyvsp[-2].c); - yyval.s.Type = MSH_SEGM_PARAMETRIC; - yyval.s.Num = num; - ; - break;} -case 93: -#line 1228 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; - if(List_Nbr(yyvsp[-1].l) < 4){ + Free((yyvsp[-6].c)); Free((yyvsp[-4].c)); Free((yyvsp[-2].c)); + (yyval.s).Type = MSH_SEGM_PARAMETRIC; + (yyval.s).Num = num; + ;} + break; + + case 94: +#line 1229 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); + if(List_Nbr((yyvsp[-1].l)) < 4){ yymsg(GERROR, "Too few control points for BSpline %d (%d < 4)", num, - List_Nbr(yyvsp[-1].l)); + List_Nbr((yyvsp[-1].l))); } else{ if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_BSPLN, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); @@ -3961,25 +4643,26 @@ case 93: List_Delete(temp); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BSPLN; - yyval.s.Num = num; - ; - break;} -case 94: -#line 1252 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; - if(List_Nbr(yyvsp[-1].l) < 4){ + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_BSPLN; + (yyval.s).Num = num; + ;} + break; + + case 95: +#line 1253 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); + if(List_Nbr((yyvsp[-1].l)) < 4){ yymsg(GERROR, "Too few control points for Bezier curve %d (%d < 4)", num, - List_Nbr(yyvsp[-1].l)); + List_Nbr((yyvsp[-1].l))); } else{ if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); Curve *c = Create_Curve(num, MSH_SEGM_BEZIER, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); @@ -3987,116 +4670,122 @@ case 94: List_Delete(temp); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BEZIER; - yyval.s.Num = num; - ; - break;} -case 95: -#line 1276 "Gmsh.y" -{ - int num = (int)yyvsp[-8].d; - if(List_Nbr(yyvsp[-5].l) + (int)yyvsp[-1].d + 1 != List_Nbr(yyvsp[-3].l)){ + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_BEZIER; + (yyval.s).Num = num; + ;} + break; + + case 96: +#line 1277 "Gmsh.y" + { + int num = (int)(yyvsp[-8].d); + if(List_Nbr((yyvsp[-5].l)) + (int)(yyvsp[-1].d) + 1 != List_Nbr((yyvsp[-3].l))){ yymsg(GERROR, "Wrong definition of Nurbs Curve %d: " "got %d knots, need N + D + 1 = %d + %d + 1 = %d", - (int)yyvsp[-8].d, List_Nbr(yyvsp[-3].l), List_Nbr(yyvsp[-5].l), (int)yyvsp[-1].d, List_Nbr(yyvsp[-5].l) + (int)yyvsp[-1].d + 1); + (int)(yyvsp[-8].d), List_Nbr((yyvsp[-3].l)), List_Nbr((yyvsp[-5].l)), (int)(yyvsp[-1].d), List_Nbr((yyvsp[-5].l)) + (int)(yyvsp[-1].d) + 1); } else{ if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-5].l); - Curve *c = Create_Curve(num, MSH_SEGM_NURBS, (int)yyvsp[-1].d, temp, yyvsp[-3].l, + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-5].l)); + Curve *c = Create_Curve(num, MSH_SEGM_NURBS, (int)(yyvsp[-1].d), temp, (yyvsp[-3].l), -1, -1, 0., 1.); Tree_Add(THEM->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } } - List_Delete(yyvsp[-5].l); - List_Delete(yyvsp[-3].l); - yyval.s.Type = MSH_SEGM_NURBS; - yyval.s.Num = num; - ; - break;} -case 96: -#line 1302 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-5].l)); + List_Delete((yyvsp[-3].l)); + (yyval.s).Type = MSH_SEGM_NURBS; + (yyval.s).Num = num; + ;} + break; + + case 97: +#line 1303 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindEdgeLoop(num)){ yymsg(GERROR, "Line loop %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); sortEdgesInLoop(num, temp); EdgeLoop *l = Create_EdgeLoop(num, temp); Tree_Add(THEM->EdgeLoops, &l); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_LOOP; - yyval.s.Num = num; - ; - break;} -case 97: -#line 1319 "Gmsh.y" -{ + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_LOOP; + (yyval.s).Num = num; + ;} + break; + + case 98: +#line 1320 "Gmsh.y" + { yymsg(GERROR, "Attractors are deprecated"); - List_Delete(yyvsp[-9].l); - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 98: -#line 1326 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + List_Delete((yyvsp[-9].l)); + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 99: +#line 1327 "Gmsh.y" + { + int num = (int)(yyvsp[-4].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_LINE)){ yymsg(GERROR, "Physical line %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_LINE, temp); List_Delete(temp); List_Add(THEM->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_LINE; - yyval.s.Num = num; - ; - break;} -case 99: -#line 1345 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_LINE; + (yyval.s).Num = num; + ;} + break; + + case 100: +#line 1346 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ Surface *s = Create_Surface(num, MSH_SURF_PLAN); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); setSurfaceGeneratrices(s, temp); List_Delete(temp); s->Support = s; End_Surface(s); Tree_Add(THEM->Surfaces, &s); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SURF_PLAN; - yyval.s.Num = num; - ; - break;} -case 100: -#line 1364 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SURF_PLAN; + (yyval.s).Num = num; + ;} + break; + + case 101: +#line 1365 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d), type = 0; if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ double d; - List_Read(yyvsp[-1].l, 0, &d); + List_Read((yyvsp[-1].l), 0, &d); EdgeLoop *el = FindEdgeLoop((int)fabs(d)); if(!el){ yymsg(GERROR, "Unknown line loop %d", (int)d); @@ -4115,7 +4804,7 @@ case 100: type = MSH_SURF_PLAN; } Surface *s = Create_Surface(num, type); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); setSurfaceGeneratrices(s, temp); List_Delete(temp); s->Support = s; @@ -4123,18 +4812,19 @@ case 100: Tree_Add(THEM->Surfaces, &s); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = type; - yyval.s.Num = num; - ; - break;} -case 101: -#line 1403 "Gmsh.y" -{ - int num = (int)yyvsp[-8].d; - Surface *support = FindSurface((int)yyvsp[-4].d); + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = type; + (yyval.s).Num = num; + ;} + break; + + case 102: +#line 1404 "Gmsh.y" + { + int num = (int)(yyvsp[-8].d); + Surface *support = FindSurface((int)(yyvsp[-4].d)); if(!support){ - yymsg(GERROR, "Unknown support surface %d", (int)yyvsp[-4].d); + yymsg(GERROR, "Unknown support surface %d", (int)(yyvsp[-4].d)); } else{ if(FindSurface(num)){ @@ -4142,7 +4832,7 @@ case 101: } else{ Surface *s = Create_Surface(num, MSH_SURF_TRIMMED); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-2].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-2].l)); setSurfaceGeneratrices(s, temp); List_Delete(temp); s->Support = support; @@ -4150,199 +4840,216 @@ case 101: Tree_Add(THEM->Surfaces, &s); } } - List_Delete(yyvsp[-2].l); - yyval.s.Type = MSH_SURF_TRIMMED; - yyval.s.Num = num; - ; - break;} -case 102: -#line 1430 "Gmsh.y" -{ - int num = (int)yyvsp[-16].d; + List_Delete((yyvsp[-2].l)); + (yyval.s).Type = MSH_SURF_TRIMMED; + (yyval.s).Num = num; + ;} + break; + + case 103: +#line 1431 "Gmsh.y" + { + int num = (int)(yyvsp[-16].d); if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ - CreateNurbsSurface(num, (int)yyvsp[-4].d, (int)yyvsp[-2].d, yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l); - } - for(int i = 0; i < List_Nbr(yyvsp[-13].l); i++) - List_Delete((List_T*)List_Pointer(yyvsp[-13].l, i)); - List_Delete(yyvsp[-13].l); - List_Delete(yyvsp[-10].l); - List_Delete(yyvsp[-8].l); - yyval.s.Type = MSH_SURF_NURBS; - yyval.s.Num = num; - ; - break;} -case 103: -#line 1449 "Gmsh.y" -{ - int num = (int)yyvsp[-16].d; + CreateNurbsSurface(num, (int)(yyvsp[-4].d), (int)(yyvsp[-2].d), (yyvsp[-13].l), (yyvsp[-10].l), (yyvsp[-8].l)); + } + for(int i = 0; i < List_Nbr((yyvsp[-13].l)); i++) + List_Delete((List_T*)List_Pointer((yyvsp[-13].l), i)); + List_Delete((yyvsp[-13].l)); + List_Delete((yyvsp[-10].l)); + List_Delete((yyvsp[-8].l)); + (yyval.s).Type = MSH_SURF_NURBS; + (yyval.s).Num = num; + ;} + break; + + case 104: +#line 1450 "Gmsh.y" + { + int num = (int)(yyvsp[-16].d); if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ - CreateNurbsSurfaceSupport(num, (int)yyvsp[-4].d, (int)yyvsp[-2].d, yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l); - } - for(int i = 0; i < List_Nbr(yyvsp[-13].l); i++) - List_Delete((List_T*)List_Pointer(yyvsp[-13].l, i)); - List_Delete(yyvsp[-13].l); - List_Delete(yyvsp[-10].l); - List_Delete(yyvsp[-8].l); - yyval.s.Type = MSH_SURF_NURBS; - yyval.s.Num = num; - ; - break;} -case 104: -#line 1466 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + CreateNurbsSurfaceSupport(num, (int)(yyvsp[-4].d), (int)(yyvsp[-2].d), (yyvsp[-13].l), (yyvsp[-10].l), (yyvsp[-8].l)); + } + for(int i = 0; i < List_Nbr((yyvsp[-13].l)); i++) + List_Delete((List_T*)List_Pointer((yyvsp[-13].l), i)); + List_Delete((yyvsp[-13].l)); + List_Delete((yyvsp[-10].l)); + List_Delete((yyvsp[-8].l)); + (yyval.s).Type = MSH_SURF_NURBS; + (yyval.s).Num = num; + ;} + break; + + case 105: +#line 1467 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindSurfaceLoop(num)){ yymsg(GERROR, "Surface loop %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); SurfaceLoop *l = Create_SurfaceLoop(num, temp); Tree_Add(THEM->SurfaceLoops, &l); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SURF_LOOP; - yyval.s.Num = num; - ; - break;} -case 105: -#line 1482 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SURF_LOOP; + (yyval.s).Num = num; + ;} + break; + + case 106: +#line 1483 "Gmsh.y" + { + int num = (int)(yyvsp[-4].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_SURFACE)){ yymsg(GERROR, "Physical surface %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_SURFACE, temp); List_Delete(temp); List_Add(THEM->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_SURFACE; - yyval.s.Num = num; - ; - break;} -case 106: -#line 1502 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_SURFACE; + (yyval.s).Num = num; + ;} + break; + + case 107: +#line 1503 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindVolume(num)){ yymsg(GERROR, "Volume %d already exists", num); } else{ Volume *v = Create_Volume(num, MSH_VOLUME); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); setVolumeSurfaces(v, temp); List_Delete(temp); Tree_Add(THEM->Volumes, &v); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_VOLUME; - yyval.s.Num = num; - ; - break;} -case 107: -#line 1519 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 108: +#line 1520 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindVolume(num)){ yymsg(GERROR, "Volume %d already exists", num); } else{ Volume *v = Create_Volume(num, MSH_VOLUME); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); setVolumeSurfaces(v, temp); List_Delete(temp); Tree_Add(THEM->Volumes, &v); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_VOLUME; - yyval.s.Num = num; - ; - break;} -case 108: -#line 1536 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 109: +#line 1537 "Gmsh.y" + { + int num = (int)(yyvsp[-4].i); if(FindPhysicalGroup(num, MSH_PHYSICAL_VOLUME)){ yymsg(GERROR, "Physical volume %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[-1].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_VOLUME, temp); List_Delete(temp); List_Add(THEM->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_VOLUME; - yyval.s.Num = num; - ; - break;} -case 109: -#line 1557 "Gmsh.y" -{ - TranslateShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-1].l, 1); - yyval.l = yyvsp[-1].l; - ; - break;} -case 110: -#line 1562 "Gmsh.y" -{ - RotateShapes(yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, yyvsp[-1].l, 1); - yyval.l = yyvsp[-1].l; - ; - break;} -case 111: -#line 1567 "Gmsh.y" -{ - SymmetryShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-3].v[3], yyvsp[-1].l, 1); - yyval.l = yyvsp[-1].l; - ; - break;} -case 112: -#line 1572 "Gmsh.y" -{ - DilatShapes(yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, yyvsp[-1].l, 1); - yyval.l = yyvsp[-1].l; - ; - break;} -case 113: -#line 1579 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 114: + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 110: +#line 1558 "Gmsh.y" + { + TranslateShapes((yyvsp[-3].v)[0], (yyvsp[-3].v)[1], (yyvsp[-3].v)[2], (yyvsp[-1].l), 1); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 111: +#line 1563 "Gmsh.y" + { + RotateShapes((yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].d), (yyvsp[-1].l), 1); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 112: +#line 1568 "Gmsh.y" + { + SymmetryShapes((yyvsp[-3].v)[0], (yyvsp[-3].v)[1], (yyvsp[-3].v)[2], (yyvsp[-3].v)[3], (yyvsp[-1].l), 1); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 113: +#line 1573 "Gmsh.y" + { + DilatShapes((yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].d), (yyvsp[-1].l), 1); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 114: #line 1580 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 115: + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 115: #line 1581 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 116: -#line 1586 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - ; - break;} -case 117: -#line 1590 "Gmsh.y" -{ - List_Add(yyval.l, &yyvsp[0].s); - ; - break;} -case 118: -#line 1594 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 116: +#line 1582 "Gmsh.y" + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 117: +#line 1587 "Gmsh.y" + { + (yyval.l) = List_Create(3, 3, sizeof(Shape)); + ;} + break; + + case 118: +#line 1591 "Gmsh.y" + { + List_Add((yyval.l), &(yyvsp[0].s)); + ;} + break; + + case 119: +#line 1595 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); Shape TheShape; TheShape.Num = (int)d; Vertex *v = FindPoint(TheShape.Num); @@ -4350,17 +5057,18 @@ case 118: yymsg(WARNING, "Unknown point %d", TheShape.Num); else{ TheShape.Type = MSH_POINT; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } } - ; - break;} -case 119: -#line 1610 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 120: +#line 1611 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); Shape TheShape; TheShape.Num = (int)d; Curve *c = FindCurve(TheShape.Num); @@ -4368,17 +5076,18 @@ case 119: yymsg(WARNING, "Unknown curve %d", TheShape.Num); else{ TheShape.Type = c->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } } - ; - break;} -case 120: -#line 1626 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 121: +#line 1627 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); Shape TheShape; TheShape.Num = (int)d; Surface *s = FindSurface(TheShape.Num); @@ -4386,17 +5095,18 @@ case 120: yymsg(WARNING, "Unknown surface %d", TheShape.Num); else{ TheShape.Type = s->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } } - ; - break;} -case 121: -#line 1642 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 122: +#line 1643 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); Shape TheShape; TheShape.Num = (int)d; Volume *v = FindVolume(TheShape.Num); @@ -4404,94 +5114,102 @@ case 121: yymsg(WARNING, "Unknown volume %d", TheShape.Num); else{ TheShape.Type = v->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } } - ; - break;} -case 122: -#line 1663 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + ;} + break; + + case 123: +#line 1664 "Gmsh.y" + { + (yyval.l) = List_Create(3, 3, sizeof(Shape)); + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[-1].l), i, &TheShape); int j; CopyShape(TheShape.Type, TheShape.Num, &j); TheShape.Num = j; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 123: -#line 1677 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 124: -#line 1683 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 125: -#line 1689 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 1); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 126: -#line 1701 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 124: +#line 1678 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 0); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 125: +#line 1684 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 0); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 126: +#line 1690 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 1); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 127: +#line 1702 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[-1].l), i, &TheShape); DeleteShape(TheShape.Type, TheShape.Num); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 127: -#line 1710 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")){ - RemoveViewByIndex((int)yyvsp[-2].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 128: +#line 1711 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")){ + RemoveViewByIndex((int)(yyvsp[-2].d)); } else{ - yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-4].c); + yymsg(GERROR, "Unknown command 'Delete %s'", (yyvsp[-4].c)); } - Free(yyvsp[-4].c); - ; - break;} -case 128: -#line 1720 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "Meshes") || !strcmp(yyvsp[-1].c, "All")){ + Free((yyvsp[-4].c)); + ;} + break; + + case 129: +#line 1721 "Gmsh.y" + { + if(!strcmp((yyvsp[-1].c), "Meshes") || !strcmp((yyvsp[-1].c), "All")){ GMODEL->destroy(); THEM->destroy(); } - else if(!strcmp(yyvsp[-1].c, "Physicals")){ + else if(!strcmp((yyvsp[-1].c), "Physicals")){ List_Action(THEM->PhysicalGroups, Free_PhysicalGroup); List_Reset(THEM->PhysicalGroups); } else{ - yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-1].c); + yymsg(GERROR, "Unknown command 'Delete %s'", (yyvsp[-1].c)); } - Free(yyvsp[-1].c); - ; - break;} -case 129: -#line 1735 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Empty") && !strcmp(yyvsp[-1].c, "Views")){ + Free((yyvsp[-1].c)); + ;} + break; + + case 130: +#line 1736 "Gmsh.y" + { + if(!strcmp((yyvsp[-2].c), "Empty") && !strcmp((yyvsp[-1].c), "Views")){ for(int i = List_Nbr(CTX.post.list) - 1; i >= 0; i--){ Post_View *v = *(Post_View **) List_Pointer(CTX.post.list, i); if(v->empty()) @@ -4499,66 +5217,72 @@ case 129: } } else{ - yymsg(GERROR, "Unknown command 'Delete %s %s'", yyvsp[-2].c, yyvsp[-1].c); + yymsg(GERROR, "Unknown command 'Delete %s %s'", (yyvsp[-2].c), (yyvsp[-1].c)); } - Free(yyvsp[-2].c); Free(yyvsp[-1].c); - ; - break;} -case 130: -#line 1754 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + Free((yyvsp[-2].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 131: +#line 1755 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); - ColorShape(TheShape.Type, TheShape.Num, yyvsp[-3].u); - } - List_Delete(yyvsp[-1].l); - ; - break;} -case 131: -#line 1768 "Gmsh.y" -{ + List_Read((yyvsp[-1].l), i, &TheShape); + ColorShape(TheShape.Type, TheShape.Num, (yyvsp[-3].u)); + } + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 132: +#line 1769 "Gmsh.y" + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 1); - Free(yyvsp[-1].c); - ; - break;} -case 132: -#line 1774 "Gmsh.y" -{ + VisibilityShape((yyvsp[-1].c), i, 1); + Free((yyvsp[-1].c)); + ;} + break; + + case 133: +#line 1775 "Gmsh.y" + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 0); - Free(yyvsp[-1].c); - ; - break;} -case 133: -#line 1780 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + VisibilityShape((yyvsp[-1].c), i, 0); + Free((yyvsp[-1].c)); + ;} + break; + + case 134: +#line 1781 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[-1].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 1); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 134: -#line 1789 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 135: +#line 1790 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[-1].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 0); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 135: -#line 1803 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Include")){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 136: +#line 1804 "Gmsh.y" + { + if(!strcmp((yyvsp[-2].c), "Include")){ char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[-1].c), tmpstring); // Warning: we *don't* close included files (to allow user // functions in these files). If you need to include many many // files and don't have functions in the files, use "Merge" @@ -4571,156 +5295,166 @@ case 135: SetBoundingBox(); Msg(STATUS2, "Read '%s'", tmpstring); } - else if(!strcmp(yyvsp[-2].c, "Print")){ + else if(!strcmp((yyvsp[-2].c), "Print")){ #if defined(HAVE_FLTK) char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[-1].c), tmpstring); CreateOutputFile(tmpstring, CTX.print.format); #endif } - else if(!strcmp(yyvsp[-2].c, "Save")){ + else if(!strcmp((yyvsp[-2].c), "Save")){ #if defined(HAVE_FLTK) char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[-1].c), tmpstring); CreateOutputFile(tmpstring, CTX.mesh.format); #endif } - else if(!strcmp(yyvsp[-2].c, "Merge") || !strcmp(yyvsp[-2].c, "MergeWithBoundingBox")){ + else if(!strcmp((yyvsp[-2].c), "Merge") || !strcmp((yyvsp[-2].c), "MergeWithBoundingBox")){ // MergeWithBoundingBox is deprecated char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[-1].c), tmpstring); MergeProblem(tmpstring, 1); } - else if(!strcmp(yyvsp[-2].c, "System")){ - SystemCall(yyvsp[-1].c); + else if(!strcmp((yyvsp[-2].c), "System")){ + SystemCall((yyvsp[-1].c)); } else{ - yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c); + yymsg(GERROR, "Unknown command '%s'", (yyvsp[-2].c)); } - Free(yyvsp[-2].c); Free(yyvsp[-1].c); - ; - break;} -case 136: -#line 1848 "Gmsh.y" -{ - if(!strcmp(yyvsp[-6].c, "Save") && !strcmp(yyvsp[-5].c, "View")){ - Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)yyvsp[-3].d); + Free((yyvsp[-2].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 137: +#line 1849 "Gmsh.y" + { + if(!strcmp((yyvsp[-6].c), "Save") && !strcmp((yyvsp[-5].c), "View")){ + Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)(yyvsp[-3].d)); if(vv){ char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[-1].c), tmpstring); WriteView(*vv, tmpstring, CTX.post.file_format, 0); } } else{ - yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c); + yymsg(GERROR, "Unknown command '%s'", (yyvsp[-6].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-1].c); - ; - break;} -case 137: -#line 1863 "Gmsh.y" -{ - if(!strcmp(yyvsp[-6].c, "Background") && !strcmp(yyvsp[-5].c, "Mesh") && !strcmp(yyvsp[-4].c, "View")){ - Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)yyvsp[-2].d); + Free((yyvsp[-6].c)); Free((yyvsp[-5].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 138: +#line 1864 "Gmsh.y" + { + if(!strcmp((yyvsp[-6].c), "Background") && !strcmp((yyvsp[-5].c), "Mesh") && !strcmp((yyvsp[-4].c), "View")){ + Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)(yyvsp[-2].d)); if(vv) BGMWithView(*vv); } else{ - yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c); + yymsg(GERROR, "Unknown command '%s'", (yyvsp[-6].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-4].c); - ; - break;} -case 138: -#line 1874 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Sleep")){ - SleepInSeconds(yyvsp[-1].d); + Free((yyvsp[-6].c)); Free((yyvsp[-5].c)); Free((yyvsp[-4].c)); + ;} + break; + + case 139: +#line 1875 "Gmsh.y" + { + if(!strcmp((yyvsp[-2].c), "Sleep")){ + SleepInSeconds((yyvsp[-1].d)); } - else if(!strcmp(yyvsp[-2].c, "Remesh")){ + else if(!strcmp((yyvsp[-2].c), "Remesh")){ Msg(GERROR, "Surface ReMeshing must be reinterfaced"); // ReMesh(); } - else if(!strcmp(yyvsp[-2].c, "Mesh")){ + else if(!strcmp((yyvsp[-2].c), "Mesh")){ yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts"); } - else if(!strcmp(yyvsp[-2].c, "Status")){ + else if(!strcmp((yyvsp[-2].c), "Status")){ yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts"); } else{ - yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c); + yymsg(GERROR, "Unknown command '%s'", (yyvsp[-2].c)); } - Free(yyvsp[-2].c); - ; - break;} -case 139: -#line 1894 "Gmsh.y" -{ + Free((yyvsp[-2].c)); + ;} + break; + + case 140: +#line 1895 "Gmsh.y" + { try { - GMSH_PluginManager::instance()->action(yyvsp[-4].c, yyvsp[-1].c, 0); + GMSH_PluginManager::instance()->action((yyvsp[-4].c), (yyvsp[-1].c), 0); } catch(...) { - yymsg(GERROR, "Unknown action '%s' or plugin '%s'", yyvsp[-1].c, yyvsp[-4].c); + yymsg(GERROR, "Unknown action '%s' or plugin '%s'", (yyvsp[-1].c), (yyvsp[-4].c)); } - Free(yyvsp[-4].c); Free(yyvsp[-1].c); - ; - break;} -case 140: -#line 1904 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "ElementsFromAllViews")) + Free((yyvsp[-4].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 141: +#line 1905 "Gmsh.y" + { + if(!strcmp((yyvsp[-1].c), "ElementsFromAllViews")) CombineViews(0, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "ElementsFromVisibleViews")) + else if(!strcmp((yyvsp[-1].c), "ElementsFromVisibleViews")) CombineViews(0, 0, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "ElementsByViewName")) + else if(!strcmp((yyvsp[-1].c), "ElementsByViewName")) CombineViews(0, 2, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsFromAllViews")) + else if(!strcmp((yyvsp[-1].c), "TimeStepsFromAllViews")) CombineViews(1, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsFromVisibleViews")) + else if(!strcmp((yyvsp[-1].c), "TimeStepsFromVisibleViews")) CombineViews(1, 0, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsByViewName")) + else if(!strcmp((yyvsp[-1].c), "TimeStepsByViewName")) CombineViews(1, 2, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "Views")) + else if(!strcmp((yyvsp[-1].c), "Views")) CombineViews(0, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeSteps")) + else if(!strcmp((yyvsp[-1].c), "TimeSteps")) CombineViews(1, 2, CTX.post.combine_remove_orig); else yymsg(GERROR, "Unknown 'Combine' command"); - Free(yyvsp[-1].c); - ; - break;} -case 141: -#line 1926 "Gmsh.y" -{ + Free((yyvsp[-1].c)); + ;} + break; + + case 142: +#line 1927 "Gmsh.y" + { exit(0); - ; - break;} -case 142: -#line 1930 "Gmsh.y" -{ + ;} + break; + + case 143: +#line 1931 "Gmsh.y" + { CTX.forced_bbox = 0; SetBoundingBox(); - ; - break;} -case 143: -#line 1935 "Gmsh.y" -{ + ;} + break; + + case 144: +#line 1936 "Gmsh.y" + { CTX.forced_bbox = 1; - SetBoundingBox(yyvsp[-12].d, yyvsp[-10].d, yyvsp[-8].d, yyvsp[-6].d, yyvsp[-4].d, yyvsp[-2].d); - ; - break;} -case 144: -#line 1940 "Gmsh.y" -{ + SetBoundingBox((yyvsp[-12].d), (yyvsp[-10].d), (yyvsp[-8].d), (yyvsp[-6].d), (yyvsp[-4].d), (yyvsp[-2].d)); + ;} + break; + + case 145: +#line 1941 "Gmsh.y" + { #if defined(HAVE_FLTK) Draw(); #endif - ; - break;} -case 145: -#line 1952 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + ;} + break; + + case 146: +#line 1953 "Gmsh.y" + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[-3].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[-1].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; LoopControlVariablesNameTab[ImbricatedLoop] = NULL; fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); @@ -4730,15 +5464,16 @@ case 145: yymsg(GERROR, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS-1; } - if(yyvsp[-3].d > yyvsp[-1].d) skip_until("For", "EndFor"); - ; - break;} -case 146: -#line 1967 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-5].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][2] = yyvsp[-1].d; + if((yyvsp[-3].d) > (yyvsp[-1].d)) skip_until("For", "EndFor"); + ;} + break; + + case 147: +#line 1968 "Gmsh.y" + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[-5].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[-3].d); + LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[-1].d); LoopControlVariablesNameTab[ImbricatedLoop] = NULL; fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; @@ -4747,27 +5482,28 @@ case 146: yymsg(GERROR, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS-1; } - if((yyvsp[-1].d > 0. && yyvsp[-5].d > yyvsp[-3].d) || (yyvsp[-1].d < 0. && yyvsp[-5].d < yyvsp[-3].d)) + if(((yyvsp[-1].d) > 0. && (yyvsp[-5].d) > (yyvsp[-3].d)) || ((yyvsp[-1].d) < 0. && (yyvsp[-5].d) < (yyvsp[-3].d))) skip_until("For", "EndFor"); - ; - break;} -case 147: -#line 1983 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + ;} + break; + + case 148: +#line 1984 "Gmsh.y" + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[-3].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[-1].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; - LoopControlVariablesNameTab[ImbricatedLoop] = yyvsp[-6].c; + LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[-6].c); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-6].c; + TheSymbol.Name = (yyvsp[-6].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ TheSymbol.val = List_Create(1, 1, sizeof(double)); - List_Put(TheSymbol.val, 0, &yyvsp[-3].d); + List_Put(TheSymbol.val, 0, &(yyvsp[-3].d)); Tree_Add(Symbol_T, &TheSymbol); } else{ - List_Write(pSymbol->val, 0, &yyvsp[-3].d); + List_Write(pSymbol->val, 0, &(yyvsp[-3].d)); } fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; @@ -4776,26 +5512,27 @@ case 147: yymsg(GERROR, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS-1; } - if(yyvsp[-3].d > yyvsp[-1].d) skip_until("For", "EndFor"); - ; - break;} -case 148: -#line 2009 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-5].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][2] = yyvsp[-1].d; - LoopControlVariablesNameTab[ImbricatedLoop] = yyvsp[-8].c; + if((yyvsp[-3].d) > (yyvsp[-1].d)) skip_until("For", "EndFor"); + ;} + break; + + case 149: +#line 2010 "Gmsh.y" + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[-5].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[-3].d); + LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[-1].d); + LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[-8].c); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-8].c; + TheSymbol.Name = (yyvsp[-8].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ TheSymbol.val = List_Create(1, 1, sizeof(double)); - List_Put(TheSymbol.val, 0, &yyvsp[-5].d); + List_Put(TheSymbol.val, 0, &(yyvsp[-5].d)); Tree_Add(Symbol_T, &TheSymbol); } else{ - List_Write(pSymbol->val, 0, &yyvsp[-5].d); + List_Write(pSymbol->val, 0, &(yyvsp[-5].d)); } fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; @@ -4804,13 +5541,14 @@ case 148: yymsg(GERROR, "Reached maximum number of imbricated loops"); ImbricatedLoop = MAX_RECUR_LOOPS-1; } - if((yyvsp[-1].d > 0. && yyvsp[-5].d > yyvsp[-3].d) || (yyvsp[-1].d < 0. && yyvsp[-5].d < yyvsp[-3].d)) + if(((yyvsp[-1].d) > 0. && (yyvsp[-5].d) > (yyvsp[-3].d)) || ((yyvsp[-1].d) < 0. && (yyvsp[-5].d) < (yyvsp[-3].d))) skip_until("For", "EndFor"); - ; - break;} -case 149: -#line 2036 "Gmsh.y" -{ + ;} + break; + + case 150: +#line 2037 "Gmsh.y" + { if(ImbricatedLoop <= 0){ yymsg(GERROR, "Invalid For/EndFor loop"); ImbricatedLoop = 0; @@ -4840,494 +5578,544 @@ case 149: ImbricatedLoop--; } } - ; - break;} -case 150: -#line 2068 "Gmsh.y" -{ - if(!FunctionManager::Instance()->createFunction(yyvsp[0].c, yyin, yyname, yylineno)) - yymsg(GERROR, "Redefinition of function %s", yyvsp[0].c); + ;} + break; + + case 151: +#line 2069 "Gmsh.y" + { + if(!FunctionManager::Instance()->createFunction((yyvsp[0].c), yyin, yyname, yylineno)) + yymsg(GERROR, "Redefinition of function %s", (yyvsp[0].c)); skip_until(NULL, "Return"); //FIXME: wee leak $2 - ; - break;} -case 151: -#line 2075 "Gmsh.y" -{ + ;} + break; + + case 152: +#line 2076 "Gmsh.y" + { if(!FunctionManager::Instance()->leaveFunction(&yyin, yyname, yylineno)) yymsg(GERROR, "Error while exiting function"); - ; - break;} -case 152: -#line 2080 "Gmsh.y" -{ - if(!FunctionManager::Instance()->enterFunction(yyvsp[-1].c, &yyin, yyname, yylineno)) - yymsg(GERROR, "Unknown function %s", yyvsp[-1].c); + ;} + break; + + case 153: +#line 2081 "Gmsh.y" + { + if(!FunctionManager::Instance()->enterFunction((yyvsp[-1].c), &yyin, yyname, yylineno)) + yymsg(GERROR, "Unknown function %s", (yyvsp[-1].c)); //FIXME: wee leak $2 - ; - break;} -case 153: -#line 2086 "Gmsh.y" -{ - if(!yyvsp[-1].d) skip_until("If", "EndIf"); - ; - break;} -case 154: -#line 2090 "Gmsh.y" -{ - ; - break;} -case 155: -#line 2099 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(TRANSLATE, yyvsp[-1].l, - yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], 0., 0., 0., 0., 0., 0., 0., - NULL, yyval.l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 156: -#line 2107 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(ROTATE, yyvsp[-1].l, - 0., 0., 0., yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, - NULL, yyval.l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 157: -#line 2115 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(TRANSLATE_ROTATE, yyvsp[-1].l, - yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, - NULL, yyval.l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 158: -#line 2123 "Gmsh.y" -{ + ;} + break; + + case 154: +#line 2087 "Gmsh.y" + { + if(!(yyvsp[-1].d)) skip_until("If", "EndIf"); + ;} + break; + + case 155: +#line 2091 "Gmsh.y" + { + ;} + break; + + case 156: +#line 2100 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE, (yyvsp[-1].l), + (yyvsp[-3].v)[0], (yyvsp[-3].v)[1], (yyvsp[-3].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 157: +#line 2108 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(ROTATE, (yyvsp[-1].l), + 0., 0., 0., (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].d), + NULL, (yyval.l)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 158: +#line 2116 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[-1].l), + (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].d), + NULL, (yyval.l)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 159: +#line 2124 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 159: -#line 2128 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(TRANSLATE, yyvsp[-3].l, - yyvsp[-5].v[0], yyvsp[-5].v[1], yyvsp[-5].v[2], 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); - List_Delete(yyvsp[-3].l); - ; - break;} -case 160: -#line 2136 "Gmsh.y" -{ + ;} + break; + + case 160: +#line 2129 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE, (yyvsp[-3].l), + (yyvsp[-5].v)[0], (yyvsp[-5].v)[1], (yyvsp[-5].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 161: +#line 2137 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 161: -#line 2141 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(ROTATE, yyvsp[-3].l, - 0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - List_Delete(yyvsp[-3].l); - ; - break;} -case 162: -#line 2149 "Gmsh.y" -{ + ;} + break; + + case 162: +#line 2142 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(ROTATE, (yyvsp[-3].l), + 0., 0., 0., (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 163: +#line 2150 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 163: -#line 2154 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(TRANSLATE_ROTATE, yyvsp[-3].l, - yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - List_Delete(yyvsp[-3].l); - ; - break;} -case 164: -#line 2164 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_POINT, (int)yyvsp[-4].d, - yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0., - NULL, yyval.l); - ; - break;} -case 165: -#line 2171 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)yyvsp[-4].d, - yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0., - NULL, yyval.l); - ; - break;} -case 166: -#line 2178 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)yyvsp[-4].d, - yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0., - NULL, yyval.l); - ; - break;} -case 167: -#line 2185 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_POINT, (int)yyvsp[-8].d, - 0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 168: -#line 2192 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)yyvsp[-8].d, - 0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 169: -#line 2199 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)yyvsp[-8].d, - 0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 170: -#line 2206 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)yyvsp[-10].d, - yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 171: -#line 2213 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)yyvsp[-10].d, - yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 172: -#line 2220 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)yyvsp[-10].d, - yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d, - NULL, yyval.l); - ; - break;} -case 173: -#line 2227 "Gmsh.y" -{ + ;} + break; + + case 164: +#line 2155 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[-3].l), + (yyvsp[-12].v)[0], (yyvsp[-12].v)[1], (yyvsp[-12].v)[2], (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 165: +#line 2165 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[-4].d), + (yyvsp[-2].v)[0], (yyvsp[-2].v)[1], (yyvsp[-2].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 166: +#line 2172 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[-4].d), + (yyvsp[-2].v)[0], (yyvsp[-2].v)[1], (yyvsp[-2].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 167: +#line 2179 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[-4].d), + (yyvsp[-2].v)[0], (yyvsp[-2].v)[1], (yyvsp[-2].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 168: +#line 2186 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[-8].d), + 0., 0., 0., (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 169: +#line 2193 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[-8].d), + 0., 0., 0., (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 170: +#line 2200 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[-8].d), + 0., 0., 0., (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 171: +#line 2207 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[-10].d), + (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 172: +#line 2214 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[-10].d), + (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 173: +#line 2221 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[-10].d), + (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].v)[0], (yyvsp[-4].v)[1], (yyvsp[-4].v)[2], (yyvsp[-2].d), + NULL, (yyval.l)); + ;} + break; + + case 174: +#line 2228 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 174: -#line 2232 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_POINT, (int)yyvsp[-8].d, - yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); - ; - break;} -case 175: -#line 2239 "Gmsh.y" -{ + ;} + break; + + case 175: +#line 2233 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[-8].d), + (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 176: +#line 2240 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 176: -#line 2244 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)yyvsp[-8].d, - yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); - ; - break;} -case 177: -#line 2251 "Gmsh.y" -{ + ;} + break; + + case 177: +#line 2245 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[-8].d), + (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 178: +#line 2252 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 178: -#line 2256 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)yyvsp[-8].d, - yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); - ; - break;} -case 179: -#line 2263 "Gmsh.y" -{ + ;} + break; + + case 179: +#line 2257 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[-8].d), + (yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 180: +#line 2264 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 180: -#line 2268 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_POINT, (int)yyvsp[-12].d, - 0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 181: -#line 2275 "Gmsh.y" -{ + ;} + break; + + case 181: +#line 2269 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[-12].d), + 0., 0., 0., (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 182: +#line 2276 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 182: -#line 2280 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)yyvsp[-12].d, - 0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 183: -#line 2287 "Gmsh.y" -{ + ;} + break; + + case 183: +#line 2281 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[-12].d), + 0., 0., 0., (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 184: +#line 2288 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 184: -#line 2292 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)yyvsp[-12].d, - 0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 185: -#line 2299 "Gmsh.y" -{ + ;} + break; + + case 185: +#line 2293 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[-12].d), + 0., 0., 0., (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 186: +#line 2300 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 186: -#line 2304 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)yyvsp[-14].d, - yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 187: -#line 2311 "Gmsh.y" -{ + ;} + break; + + case 187: +#line 2305 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[-14].d), + (yyvsp[-12].v)[0], (yyvsp[-12].v)[1], (yyvsp[-12].v)[2], (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 188: +#line 2312 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 188: -#line 2316 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)yyvsp[-14].d, - yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 189: -#line 2323 "Gmsh.y" -{ + ;} + break; + + case 189: +#line 2317 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[-14].d), + (yyvsp[-12].v)[0], (yyvsp[-12].v)[1], (yyvsp[-12].v)[2], (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 190: +#line 2324 "Gmsh.y" + { extr.mesh.ExtrudeMesh = false; extr.mesh.Recombine = false; - ; - break;} -case 190: -#line 2328 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)yyvsp[-14].d, - yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d, - &extr, yyval.l); - ; - break;} -case 191: -#line 2339 "Gmsh.y" -{ - ; - break;} -case 192: -#line 2342 "Gmsh.y" -{ - ; - break;} -case 193: -#line 2348 "Gmsh.y" -{ + ;} + break; + + case 191: +#line 2329 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[-14].d), + (yyvsp[-12].v)[0], (yyvsp[-12].v)[1], (yyvsp[-12].v)[2], (yyvsp[-10].v)[0], (yyvsp[-10].v)[1], (yyvsp[-10].v)[2], (yyvsp[-8].v)[0], (yyvsp[-8].v)[1], (yyvsp[-8].v)[2], (yyvsp[-6].d), + &extr, (yyval.l)); + ;} + break; + + case 192: +#line 2340 "Gmsh.y" + { + ;} + break; + + case 193: +#line 2343 "Gmsh.y" + { + ;} + break; + + case 194: +#line 2349 "Gmsh.y" + { yymsg(WARNING, "Explicit region numbers in layers are deprecated"); double d; extr.mesh.ExtrudeMesh = true; - extr.mesh.NbLayer = List_Nbr(yyvsp[-6].l); - if(List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-4].l) && List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-2].l)){ + extr.mesh.NbLayer = List_Nbr((yyvsp[-6].l)); + if(List_Nbr((yyvsp[-6].l)) == List_Nbr((yyvsp[-4].l)) && List_Nbr((yyvsp[-6].l)) == List_Nbr((yyvsp[-2].l))){ extr.mesh.NbElmLayer.clear(); extr.mesh.hLayer.clear(); - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ - List_Read(yyvsp[-6].l, i, &d); + for(int i = 0; i < List_Nbr((yyvsp[-6].l)); i++){ + List_Read((yyvsp[-6].l), i, &d); extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1); - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); extr.mesh.hLayer.push_back(d); } } else{ yymsg(GERROR, "Wrong layer definition {%d, %d, %d}", - List_Nbr(yyvsp[-6].l), List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l)); - } - List_Delete(yyvsp[-6].l); - List_Delete(yyvsp[-4].l); - List_Delete(yyvsp[-2].l); - ; - break;} -case 194: -#line 2372 "Gmsh.y" -{ + List_Nbr((yyvsp[-6].l)), List_Nbr((yyvsp[-4].l)), List_Nbr((yyvsp[-2].l))); + } + List_Delete((yyvsp[-6].l)); + List_Delete((yyvsp[-4].l)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 195: +#line 2373 "Gmsh.y" + { double d; extr.mesh.ExtrudeMesh = true; - extr.mesh.NbLayer = List_Nbr(yyvsp[-4].l); - if(List_Nbr(yyvsp[-4].l) == List_Nbr(yyvsp[-2].l)){ + extr.mesh.NbLayer = List_Nbr((yyvsp[-4].l)); + if(List_Nbr((yyvsp[-4].l)) == List_Nbr((yyvsp[-2].l))){ extr.mesh.NbElmLayer.clear(); extr.mesh.hLayer.clear(); - for(int i = 0; i < List_Nbr(yyvsp[-4].l); i++){ - List_Read(yyvsp[-4].l, i, &d); + for(int i = 0; i < List_Nbr((yyvsp[-4].l)); i++){ + List_Read((yyvsp[-4].l), i, &d); extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1); - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); extr.mesh.hLayer.push_back(d); } } else{ yymsg(GERROR, "Wrong layer definition {%d, %d}", - List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l)); - } - List_Delete(yyvsp[-4].l); - List_Delete(yyvsp[-2].l); - ; - break;} -case 195: -#line 2394 "Gmsh.y" -{ + List_Nbr((yyvsp[-4].l)), List_Nbr((yyvsp[-2].l))); + } + List_Delete((yyvsp[-4].l)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 196: +#line 2395 "Gmsh.y" + { extr.mesh.Recombine = true; - ; - break;} -case 196: -#line 2403 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + ;} + break; + + case 197: +#line 2404 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-3].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[-3].l), i, &d); int j = (int)fabs(d); Curve *c = FindCurve(j); if(!c) yymsg(WARNING, "Unknown curve %d", j); else{ c->Method = TRANSFINI; - c->ipar[0] = (yyvsp[-1].d>2)?(int)yyvsp[-1].d:2; + c->ipar[0] = ((yyvsp[-1].d)>2)?(int)(yyvsp[-1].d):2; c->ipar[1] = sign(d); c->dpar[0] = 1.0; } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 197: -#line 2421 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 198: +#line 2422 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-6].l)); i++){ double d; - List_Read(yyvsp[-6].l, i, &d); + List_Read((yyvsp[-6].l), i, &d); int j = (int)fabs(d); Curve *c = FindCurve(j); if(!c) yymsg(WARNING, "Unknown curve %d", j); else{ c->Method = TRANSFINI; - c->ipar[0] = (yyvsp[-4].d>2)?(int)yyvsp[-4].d:2; + c->ipar[0] = ((yyvsp[-4].d)>2)?(int)(yyvsp[-4].d):2; c->ipar[1] = sign(d); /* Progresion : code 1 ou -1 */ - c->dpar[0] = fabs(yyvsp[-1].d); + c->dpar[0] = fabs((yyvsp[-1].d)); } } - List_Delete(yyvsp[-6].l); - ; - break;} -case 198: -#line 2439 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + List_Delete((yyvsp[-6].l)); + ;} + break; + + case 199: +#line 2440 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-6].l)); i++){ double d; - List_Read(yyvsp[-6].l, i, &d); + List_Read((yyvsp[-6].l), i, &d); int j = (int)fabs(d); Curve *c = FindCurve(j); if(!c) yymsg(WARNING, "Unknown curve %d", j); else{ c->Method = TRANSFINI; - c->ipar[0] = (yyvsp[-4].d>2)?(int)yyvsp[-4].d:2; + c->ipar[0] = ((yyvsp[-4].d)>2)?(int)(yyvsp[-4].d):2; c->ipar[1] = 2*sign(d); /* Bump : code 2 ou -2 */ - c->dpar[0] = fabs(yyvsp[-1].d); + c->dpar[0] = fabs((yyvsp[-1].d)); } } - List_Delete(yyvsp[-6].l); - ; - break;} -case 199: -#line 2457 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-4].d); + List_Delete((yyvsp[-6].l)); + ;} + break; + + case 200: +#line 2458 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-4].d)); if(!s) - yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-4].d); + yymsg(WARNING, "Unknown surface %d", (int)(yyvsp[-4].d)); else{ s->Method = TRANSFINI; s->Recombine_Dir = 1; - int k = List_Nbr(yyvsp[-1].l); + int k = List_Nbr((yyvsp[-1].l)); if(k != 3 && k != 4){ yymsg(GERROR, "Wrong definition of Transfinite Surface %d: " - "%d points instead of 3 or 4" , (int)yyvsp[-4].d, k); + "%d points instead of 3 or 4" , (int)(yyvsp[-4].d), k); } else{ List_Reset(s->TrsfPoints); for(int i = 0; i < k; i++){ double d; - List_Read(yyvsp[-1].l, i, &d); + List_Read((yyvsp[-1].l), i, &d); int j = (int)fabs(d); Vertex *v = FindPoint(j); if(!v) @@ -5337,33 +6125,34 @@ case 199: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 200: -#line 2486 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-5].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 201: +#line 2487 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-5].d)); if(!s) - yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-5].d); + yymsg(WARNING, "Unknown surface %d", (int)(yyvsp[-5].d)); else{ s->Method = TRANSFINI; - int k = List_Nbr(yyvsp[-2].l); + int k = List_Nbr((yyvsp[-2].l)); if(k != 3 && k != 4){ yymsg(GERROR, "Wrong definition of Transfinite Surface %d: " - "%d points instead of 3 or 4" , (int)yyvsp[-5].d, k); + "%d points instead of 3 or 4" , (int)(yyvsp[-5].d), k); } else{ List_Reset(s->TrsfPoints); - if (!strcmp(yyvsp[-1].c, "Right")) + if (!strcmp((yyvsp[-1].c), "Right")) s->Recombine_Dir = 1; - else if (!strcmp(yyvsp[-1].c, "Left")) + else if (!strcmp((yyvsp[-1].c), "Left")) s->Recombine_Dir = -1; else s->Recombine_Dir = 0; for(int i = 0; i < k; i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[-2].l), i, &d); int j = (int)fabs(d); Vertex *v = FindPoint(j); if(!v) @@ -5373,34 +6162,36 @@ case 200: } } } - List_Delete(yyvsp[-2].l); - Free(yyvsp[-1].c); - ; - break;} -case 201: -#line 2521 "Gmsh.y" -{ + List_Delete((yyvsp[-2].l)); + Free((yyvsp[-1].c)); + ;} + break; + + case 202: +#line 2522 "Gmsh.y" + { yymsg(GERROR, "Elliptic Surface is deprecated: use smoothed Transfinite instead"); - List_Delete(yyvsp[-1].l); - ; - break;} -case 202: -#line 2526 "Gmsh.y" -{ - Volume *v = FindVolume((int)yyvsp[-4].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 203: +#line 2527 "Gmsh.y" + { + Volume *v = FindVolume((int)(yyvsp[-4].d)); if(!v) - yymsg(WARNING, "Unknown volume %d", (int)yyvsp[-4].d); + yymsg(WARNING, "Unknown volume %d", (int)(yyvsp[-4].d)); else{ v->Method = TRANSFINI; - int k = List_Nbr(yyvsp[-1].l); + int k = List_Nbr((yyvsp[-1].l)); if(k != 6 && k != 8) yymsg(GERROR, "Wrong definition of Transfinite Volume %d: " - "%d points instead of 6 or 8" , (int)yyvsp[-4].d, k); + "%d points instead of 6 or 8" , (int)(yyvsp[-4].d), k); else{ List_Reset(v->TrsfPoints); for(int i = 0; i < k; i++){ double d; - List_Read(yyvsp[-1].l, i, &d); + List_Read((yyvsp[-1].l), i, &d); int j = (int)fabs(d); Vertex *vert = FindPoint(j); if(!vert) @@ -5410,1308 +6201,1457 @@ case 202: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 203: -#line 2553 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 204: +#line 2554 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-3].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[-3].l), i, &d); int j = (int)d; Surface *s = FindSurface(j); if(s){ s->Recombine = 1; - s->RecombineAngle = (yyvsp[-1].d > 0 && yyvsp[-1].d < 90) ? yyvsp[-1].d : 90; + s->RecombineAngle = ((yyvsp[-1].d) > 0 && (yyvsp[-1].d) < 90) ? (yyvsp[-1].d) : 90; } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 204: -#line 2567 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 205: +#line 2568 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ double d; - List_Read(yyvsp[-1].l, i, &d); + List_Read((yyvsp[-1].l), i, &d); int j = (int)d; Surface *s = FindSurface(j); if(s){ s->Recombine = 1; } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 205: -#line 2586 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-1].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 206: +#line 2587 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-1].d)); if(s) - setSurfaceEmbeddedPoints(s, yyvsp[-4].l); - ; - break;} -case 206: -#line 2592 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-1].d); + setSurfaceEmbeddedPoints(s, (yyvsp[-4].l)); + ;} + break; + + case 207: +#line 2593 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-1].d)); if(s) - setSurfaceEmbeddedCurves(s, yyvsp[-4].l); - ; - break;} -case 207: -#line 2598 "Gmsh.y" -{ - ; - break;} -case 208: -#line 2601 "Gmsh.y" -{ - ; - break;} -case 209: -#line 2608 "Gmsh.y" -{ + setSurfaceEmbeddedCurves(s, (yyvsp[-4].l)); + ;} + break; + + case 208: +#line 2599 "Gmsh.y" + { + ;} + break; + + case 209: +#line 2602 "Gmsh.y" + { + ;} + break; + + case 210: +#line 2609 "Gmsh.y" + { ReplaceAllDuplicates(); - ; - break;} -case 210: -#line 2612 "Gmsh.y" -{ + ;} + break; + + case 211: +#line 2613 "Gmsh.y" + { yymsg(GERROR, "Intersect is deprecated"); - ; - break;} -case 211: -#line 2621 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 212: + ;} + break; + + case 212: #line 2622 "Gmsh.y" -{ yyval.d = yyvsp[-1].d; ; - break;} -case 213: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 213: #line 2623 "Gmsh.y" -{ yyval.d = -yyvsp[0].d; ; - break;} -case 214: + { (yyval.d) = (yyvsp[-1].d); ;} + break; + + case 214: #line 2624 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 215: + { (yyval.d) = -(yyvsp[0].d); ;} + break; + + case 215: #line 2625 "Gmsh.y" -{ yyval.d = !yyvsp[0].d; ; - break;} -case 216: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 216: #line 2626 "Gmsh.y" -{ yyval.d = yyvsp[-2].d - yyvsp[0].d; ; - break;} -case 217: + { (yyval.d) = !(yyvsp[0].d); ;} + break; + + case 217: #line 2627 "Gmsh.y" -{ yyval.d = yyvsp[-2].d + yyvsp[0].d; ; - break;} -case 218: + { (yyval.d) = (yyvsp[-2].d) - (yyvsp[0].d); ;} + break; + + case 218: #line 2628 "Gmsh.y" -{ yyval.d = yyvsp[-2].d * yyvsp[0].d; ; - break;} -case 219: -#line 2630 "Gmsh.y" -{ - if(!yyvsp[0].d) - yymsg(GERROR, "Division by zero in '%g / %g'", yyvsp[-2].d, yyvsp[0].d); + { (yyval.d) = (yyvsp[-2].d) + (yyvsp[0].d); ;} + break; + + case 219: +#line 2629 "Gmsh.y" + { (yyval.d) = (yyvsp[-2].d) * (yyvsp[0].d); ;} + break; + + case 220: +#line 2631 "Gmsh.y" + { + if(!(yyvsp[0].d)) + yymsg(GERROR, "Division by zero in '%g / %g'", (yyvsp[-2].d), (yyvsp[0].d)); else - yyval.d = yyvsp[-2].d / yyvsp[0].d; - ; - break;} -case 220: -#line 2636 "Gmsh.y" -{ yyval.d = (int)yyvsp[-2].d % (int)yyvsp[0].d; ; - break;} -case 221: + (yyval.d) = (yyvsp[-2].d) / (yyvsp[0].d); + ;} + break; + + case 221: #line 2637 "Gmsh.y" -{ yyval.d = pow(yyvsp[-2].d, yyvsp[0].d); ; - break;} -case 222: + { (yyval.d) = (int)(yyvsp[-2].d) % (int)(yyvsp[0].d); ;} + break; + + case 222: #line 2638 "Gmsh.y" -{ yyval.d = yyvsp[-2].d < yyvsp[0].d; ; - break;} -case 223: + { (yyval.d) = pow((yyvsp[-2].d), (yyvsp[0].d)); ;} + break; + + case 223: #line 2639 "Gmsh.y" -{ yyval.d = yyvsp[-2].d > yyvsp[0].d; ; - break;} -case 224: + { (yyval.d) = (yyvsp[-2].d) < (yyvsp[0].d); ;} + break; + + case 224: #line 2640 "Gmsh.y" -{ yyval.d = yyvsp[-2].d <= yyvsp[0].d; ; - break;} -case 225: + { (yyval.d) = (yyvsp[-2].d) > (yyvsp[0].d); ;} + break; + + case 225: #line 2641 "Gmsh.y" -{ yyval.d = yyvsp[-2].d >= yyvsp[0].d; ; - break;} -case 226: + { (yyval.d) = (yyvsp[-2].d) <= (yyvsp[0].d); ;} + break; + + case 226: #line 2642 "Gmsh.y" -{ yyval.d = yyvsp[-2].d == yyvsp[0].d; ; - break;} -case 227: + { (yyval.d) = (yyvsp[-2].d) >= (yyvsp[0].d); ;} + break; + + case 227: #line 2643 "Gmsh.y" -{ yyval.d = yyvsp[-2].d != yyvsp[0].d; ; - break;} -case 228: + { (yyval.d) = (yyvsp[-2].d) == (yyvsp[0].d); ;} + break; + + case 228: #line 2644 "Gmsh.y" -{ yyval.d = yyvsp[-2].d && yyvsp[0].d; ; - break;} -case 229: + { (yyval.d) = (yyvsp[-2].d) != (yyvsp[0].d); ;} + break; + + case 229: #line 2645 "Gmsh.y" -{ yyval.d = yyvsp[-2].d || yyvsp[0].d; ; - break;} -case 230: + { (yyval.d) = (yyvsp[-2].d) && (yyvsp[0].d); ;} + break; + + case 230: #line 2646 "Gmsh.y" -{ yyval.d = yyvsp[-4].d? yyvsp[-2].d : yyvsp[0].d; ; - break;} -case 231: + { (yyval.d) = (yyvsp[-2].d) || (yyvsp[0].d); ;} + break; + + case 231: #line 2647 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 232: + { (yyval.d) = (yyvsp[-4].d)? (yyvsp[-2].d) : (yyvsp[0].d); ;} + break; + + case 232: #line 2648 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 233: + { (yyval.d) = exp((yyvsp[-1].d)); ;} + break; + + case 233: #line 2649 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 234: + { (yyval.d) = log((yyvsp[-1].d)); ;} + break; + + case 234: #line 2650 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 235: + { (yyval.d) = log10((yyvsp[-1].d)); ;} + break; + + case 235: #line 2651 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 236: + { (yyval.d) = sqrt((yyvsp[-1].d)); ;} + break; + + case 236: #line 2652 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 237: + { (yyval.d) = sin((yyvsp[-1].d)); ;} + break; + + case 237: #line 2653 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 238: + { (yyval.d) = asin((yyvsp[-1].d)); ;} + break; + + case 238: #line 2654 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 239: + { (yyval.d) = cos((yyvsp[-1].d)); ;} + break; + + case 239: #line 2655 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 240: + { (yyval.d) = acos((yyvsp[-1].d)); ;} + break; + + case 240: #line 2656 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 241: + { (yyval.d) = tan((yyvsp[-1].d)); ;} + break; + + case 241: #line 2657 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 242: + { (yyval.d) = atan((yyvsp[-1].d)); ;} + break; + + case 242: #line 2658 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 243: + { (yyval.d) = atan2((yyvsp[-3].d), (yyvsp[-1].d));;} + break; + + case 243: #line 2659 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 244: + { (yyval.d) = sinh((yyvsp[-1].d)); ;} + break; + + case 244: #line 2660 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 245: + { (yyval.d) = cosh((yyvsp[-1].d)); ;} + break; + + case 245: #line 2661 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 246: + { (yyval.d) = tanh((yyvsp[-1].d)); ;} + break; + + case 246: #line 2662 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 247: + { (yyval.d) = fabs((yyvsp[-1].d)); ;} + break; + + case 247: #line 2663 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 248: + { (yyval.d) = floor((yyvsp[-1].d)); ;} + break; + + case 248: #line 2664 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 249: + { (yyval.d) = ceil((yyvsp[-1].d)); ;} + break; + + case 249: #line 2665 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 250: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 250: #line 2666 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 251: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 251: #line 2667 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 252: -#line 2669 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 253: + { (yyval.d) = sqrt((yyvsp[-3].d)*(yyvsp[-3].d)+(yyvsp[-1].d)*(yyvsp[-1].d)); ;} + break; + + case 252: +#line 2668 "Gmsh.y" + { (yyval.d) = (yyvsp[-1].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 253: #line 2670 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 254: + { (yyval.d) = exp((yyvsp[-1].d)); ;} + break; + + case 254: #line 2671 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 255: + { (yyval.d) = log((yyvsp[-1].d)); ;} + break; + + case 255: #line 2672 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 256: + { (yyval.d) = log10((yyvsp[-1].d)); ;} + break; + + case 256: #line 2673 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 257: + { (yyval.d) = sqrt((yyvsp[-1].d)); ;} + break; + + case 257: #line 2674 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 258: + { (yyval.d) = sin((yyvsp[-1].d)); ;} + break; + + case 258: #line 2675 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 259: + { (yyval.d) = asin((yyvsp[-1].d)); ;} + break; + + case 259: #line 2676 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 260: + { (yyval.d) = cos((yyvsp[-1].d)); ;} + break; + + case 260: #line 2677 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 261: + { (yyval.d) = acos((yyvsp[-1].d)); ;} + break; + + case 261: #line 2678 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 262: + { (yyval.d) = tan((yyvsp[-1].d)); ;} + break; + + case 262: #line 2679 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 263: + { (yyval.d) = atan((yyvsp[-1].d)); ;} + break; + + case 263: #line 2680 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 264: + { (yyval.d) = atan2((yyvsp[-3].d), (yyvsp[-1].d));;} + break; + + case 264: #line 2681 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 265: + { (yyval.d) = sinh((yyvsp[-1].d)); ;} + break; + + case 265: #line 2682 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 266: + { (yyval.d) = cosh((yyvsp[-1].d)); ;} + break; + + case 266: #line 2683 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 267: + { (yyval.d) = tanh((yyvsp[-1].d)); ;} + break; + + case 267: #line 2684 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 268: + { (yyval.d) = fabs((yyvsp[-1].d)); ;} + break; + + case 268: #line 2685 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 269: + { (yyval.d) = floor((yyvsp[-1].d)); ;} + break; + + case 269: #line 2686 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 270: + { (yyval.d) = ceil((yyvsp[-1].d)); ;} + break; + + case 270: #line 2687 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 271: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 271: #line 2688 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 272: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 272: #line 2689 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 273: -#line 2698 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 274: + { (yyval.d) = sqrt((yyvsp[-3].d)*(yyvsp[-3].d)+(yyvsp[-1].d)*(yyvsp[-1].d)); ;} + break; + + case 273: +#line 2690 "Gmsh.y" + { (yyval.d) = (yyvsp[-1].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 274: #line 2699 "Gmsh.y" -{ yyval.d = 3.141592653589793; ; - break;} -case 275: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 275: #line 2700 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->rank(); ; - break;} -case 276: + { (yyval.d) = 3.141592653589793; ;} + break; + + case 276: #line 2701 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->size(); ; - break;} -case 277: + { (yyval.d) = ParUtil::Instance()->rank(); ;} + break; + + case 277: #line 2702 "Gmsh.y" -{ yyval.d = Get_GmshMajorVersion(); ; - break;} -case 278: + { (yyval.d) = ParUtil::Instance()->size(); ;} + break; + + case 278: #line 2703 "Gmsh.y" -{ yyval.d = Get_GmshMinorVersion(); ; - break;} -case 279: + { (yyval.d) = Get_GmshMajorVersion(); ;} + break; + + case 279: #line 2704 "Gmsh.y" -{ yyval.d = Get_GmshPatchVersion(); ; - break;} -case 280: -#line 2709 "Gmsh.y" -{ + { (yyval.d) = Get_GmshMinorVersion(); ;} + break; + + case 280: +#line 2705 "Gmsh.y" + { (yyval.d) = Get_GmshPatchVersion(); ;} + break; + + case 281: +#line 2710 "Gmsh.y" + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[0].c; + TheSymbol.Name = (yyvsp[0].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[0].c); - yyval.d = 0.; + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[0].c)); + (yyval.d) = 0.; } else - yyval.d = *(double*)List_Pointer_Fast(pSymbol->val, 0); - Free(yyvsp[0].c); - ; - break;} -case 281: -#line 2725 "Gmsh.y" -{ + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[0].c)); + ;} + break; + + case 282: +#line 2726 "Gmsh.y" + { char tmpstring[1024]; - sprintf(tmpstring, "%s_%d", yyvsp[-4].c, (int)yyvsp[-1].d) ; + sprintf(tmpstring, "%s_%d", (yyvsp[-4].c), (int)(yyvsp[-1].d)) ; Symbol TheSymbol; TheSymbol.Name = tmpstring; Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { yymsg(GERROR, "Unknown variable '%s'", tmpstring); - yyval.d = 0.; + (yyval.d) = 0.; } else - yyval.d = *(double*)List_Pointer_Fast(pSymbol->val, 0); - Free(yyvsp[-4].c); - ; - break;} -case 282: -#line 2740 "Gmsh.y" -{ + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[-4].c)); + ;} + break; + + case 283: +#line 2741 "Gmsh.y" + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-3].c; + TheSymbol.Name = (yyvsp[-3].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-3].c); - yyval.d = 0.; + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-3].c)); + (yyval.d) = 0.; } else{ double *pd; - if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-1].d))) - yyval.d = *pd; + if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)(yyvsp[-1].d)))) + (yyval.d) = *pd; else{ - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-3].c, (int)yyvsp[-1].d); - yyval.d = 0.; + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-3].c), (int)(yyvsp[-1].d)); + (yyval.d) = 0.; } } - Free(yyvsp[-3].c); - ; - break;} -case 283: -#line 2760 "Gmsh.y" -{ + Free((yyvsp[-3].c)); + ;} + break; + + case 284: +#line 2761 "Gmsh.y" + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[-2].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c); - yyval.d = 0.; + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-2].c)); + (yyval.d) = 0.; } else{ - yyval.d = List_Nbr(pSymbol->val); + (yyval.d) = List_Nbr(pSymbol->val); } - Free(yyvsp[-2].c); - ; - break;} -case 284: -#line 2774 "Gmsh.y" -{ + Free((yyvsp[-2].c)); + ;} + break; + + case 285: +#line 2775 "Gmsh.y" + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-1].c; + TheSymbol.Name = (yyvsp[-1].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-1].c); - yyval.d = 0.; + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-1].c)); + (yyval.d) = 0.; } else - yyval.d = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[0].i); - Free(yyvsp[-1].c); - ; - break;} -case 285: -#line 2787 "Gmsh.y" -{ + (yyval.d) = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[0].i)); + Free((yyvsp[-1].c)); + ;} + break; + + case 286: +#line 2788 "Gmsh.y" + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-4].c; + TheSymbol.Name = (yyvsp[-4].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-4].c); - yyval.d = 0.; + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-4].c)); + (yyval.d) = 0.; } else{ double *pd; - if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-2].d))) - yyval.d = (*pd += yyvsp[0].i); + if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)(yyvsp[-2].d)))) + (yyval.d) = (*pd += (yyvsp[0].i)); else{ - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-4].c, (int)yyvsp[-2].d); - yyval.d = 0.; + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-4].c), (int)(yyvsp[-2].d)); + (yyval.d) = 0.; } } - Free(yyvsp[-4].c); - ; - break;} -case 286: -#line 2810 "Gmsh.y" -{ + Free((yyvsp[-4].c)); + ;} + break; + + case 287: +#line 2811 "Gmsh.y" + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-2].c))){ - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-2].c); - yyval.d = 0.; + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-2].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-2].c)); + (yyval.d) = 0.; } else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[0].c, pNumCat))){ - yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-2].c, yyvsp[0].c); - yyval.d = 0.; + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[0].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[-2].c), (yyvsp[0].c)); + (yyval.d) = 0.; } else - yyval.d = pNumOpt(0, GMSH_GET, 0); + (yyval.d) = pNumOpt(0, GMSH_GET, 0); } - Free(yyvsp[-2].c); Free(yyvsp[0].c); - ; - break;} -case 287: -#line 2828 "Gmsh.y" -{ + Free((yyvsp[-2].c)); Free((yyvsp[0].c)); + ;} + break; + + case 288: +#line 2829 "Gmsh.y" + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-5].c))){ - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-5].c); - yyval.d = 0.; + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-5].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-5].c)); + (yyval.d) = 0.; } else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[0].c, pNumCat))){ - yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-5].c, (int)yyvsp[-3].d, yyvsp[0].c); - yyval.d = 0.; + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[0].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[-5].c), (int)(yyvsp[-3].d), (yyvsp[0].c)); + (yyval.d) = 0.; } else - yyval.d = pNumOpt((int)yyvsp[-3].d, GMSH_GET, 0); + (yyval.d) = pNumOpt((int)(yyvsp[-3].d), GMSH_GET, 0); } - Free(yyvsp[-5].c); Free(yyvsp[0].c); - ; - break;} -case 288: -#line 2846 "Gmsh.y" -{ + Free((yyvsp[-5].c)); Free((yyvsp[0].c)); + ;} + break; + + case 289: +#line 2847 "Gmsh.y" + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-3].c))){ - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-3].c); - yyval.d = 0.; + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-3].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-3].c)); + (yyval.d) = 0.; } else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-1].c, pNumCat))){ - yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-3].c, yyvsp[-1].c); - yyval.d = 0.; + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-1].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[-3].c), (yyvsp[-1].c)); + (yyval.d) = 0.; } else - yyval.d = pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+yyvsp[0].i); + (yyval.d) = pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+(yyvsp[0].i)); } - Free(yyvsp[-3].c); Free(yyvsp[-1].c); - ; - break;} -case 289: -#line 2864 "Gmsh.y" -{ + Free((yyvsp[-3].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 290: +#line 2865 "Gmsh.y" + { double (*pNumOpt)(int num, int action, double value); StringXNumber *pNumCat; - if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-6].c))){ - yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-6].c); - yyval.d = 0.; + if(!(pNumCat = Get_NumberOptionCategory((yyvsp[-6].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[-6].c)); + (yyval.d) = 0.; } else{ - if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-1].c, pNumCat))){ - yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].c); - yyval.d = 0.; + if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption((yyvsp[-1].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[-6].c), (int)(yyvsp[-4].d), (yyvsp[-1].c)); + (yyval.d) = 0.; } else - yyval.d = pNumOpt((int)yyvsp[-4].d, GMSH_SET|GMSH_GUI, pNumOpt((int)yyvsp[-4].d, GMSH_GET, 0)+yyvsp[0].i); - } - Free(yyvsp[-6].c); Free(yyvsp[-1].c); - ; - break;} -case 290: -#line 2882 "Gmsh.y" -{ - yyval.d = GetValue(yyvsp[-3].c, yyvsp[-1].d); - Free(yyvsp[-3].c); - ; - break;} -case 291: -#line 2890 "Gmsh.y" -{ - memcpy(yyval.v, yyvsp[0].v, 5*sizeof(double)); - ; - break;} -case 292: -#line 2894 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = -yyvsp[0].v[i]; - ; - break;} -case 293: -#line 2898 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[0].v[i]; - ; - break;} -case 294: -#line 2902 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] - yyvsp[0].v[i]; - ; - break;} -case 295: -#line 2906 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] + yyvsp[0].v[i]; - ; - break;} -case 296: -#line 2913 "Gmsh.y" -{ - yyval.v[0] = yyvsp[-9].d; yyval.v[1] = yyvsp[-7].d; yyval.v[2] = yyvsp[-5].d; yyval.v[3] = yyvsp[-3].d; yyval.v[4] = yyvsp[-1].d; - ; - break;} -case 297: -#line 2917 "Gmsh.y" -{ - yyval.v[0] = yyvsp[-7].d; yyval.v[1] = yyvsp[-5].d; yyval.v[2] = yyvsp[-3].d; yyval.v[3] = yyvsp[-1].d; yyval.v[4] = 1.0; - ; - break;} -case 298: -#line 2921 "Gmsh.y" -{ - yyval.v[0] = yyvsp[-5].d; yyval.v[1] = yyvsp[-3].d; yyval.v[2] = yyvsp[-1].d; yyval.v[3] = 0.0; yyval.v[4] = 1.0; - ; - break;} -case 299: -#line 2925 "Gmsh.y" -{ - yyval.v[0] = yyvsp[-5].d; yyval.v[1] = yyvsp[-3].d; yyval.v[2] = yyvsp[-1].d; yyval.v[3] = 0.0; yyval.v[4] = 1.0; - ; - break;} -case 300: -#line 2932 "Gmsh.y" -{ - ; - break;} -case 301: -#line 2935 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 302: -#line 2939 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 303: -#line 2946 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(List_T*)); - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 304: -#line 2951 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 305: -#line 2959 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 306: -#line 2964 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 307: -#line 2968 "Gmsh.y" -{ + (yyval.d) = pNumOpt((int)(yyvsp[-4].d), GMSH_SET|GMSH_GUI, pNumOpt((int)(yyvsp[-4].d), GMSH_GET, 0)+(yyvsp[0].i)); + } + Free((yyvsp[-6].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 291: +#line 2883 "Gmsh.y" + { + (yyval.d) = GetValue((yyvsp[-3].c), (yyvsp[-1].d)); + Free((yyvsp[-3].c)); + ;} + break; + + case 292: +#line 2891 "Gmsh.y" + { + memcpy((yyval.v), (yyvsp[0].v), 5*sizeof(double)); + ;} + break; + + case 293: +#line 2895 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[0].v)[i]; + ;} + break; + + case 294: +#line 2899 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[0].v)[i]; + ;} + break; + + case 295: +#line 2903 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[-2].v)[i] - (yyvsp[0].v)[i]; + ;} + break; + + case 296: +#line 2907 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[-2].v)[i] + (yyvsp[0].v)[i]; + ;} + break; + + case 297: +#line 2914 "Gmsh.y" + { + (yyval.v)[0] = (yyvsp[-9].d); (yyval.v)[1] = (yyvsp[-7].d); (yyval.v)[2] = (yyvsp[-5].d); (yyval.v)[3] = (yyvsp[-3].d); (yyval.v)[4] = (yyvsp[-1].d); + ;} + break; + + case 298: +#line 2918 "Gmsh.y" + { + (yyval.v)[0] = (yyvsp[-7].d); (yyval.v)[1] = (yyvsp[-5].d); (yyval.v)[2] = (yyvsp[-3].d); (yyval.v)[3] = (yyvsp[-1].d); (yyval.v)[4] = 1.0; + ;} + break; + + case 299: +#line 2922 "Gmsh.y" + { + (yyval.v)[0] = (yyvsp[-5].d); (yyval.v)[1] = (yyvsp[-3].d); (yyval.v)[2] = (yyvsp[-1].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0; + ;} + break; + + case 300: +#line 2926 "Gmsh.y" + { + (yyval.v)[0] = (yyvsp[-5].d); (yyval.v)[1] = (yyvsp[-3].d); (yyval.v)[2] = (yyvsp[-1].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0; + ;} + break; + + case 301: +#line 2933 "Gmsh.y" + { + ;} + break; + + case 302: +#line 2936 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 303: +#line 2940 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 304: +#line 2947 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(List_T*)); + List_Add((yyval.l), &((yyvsp[0].l))); + ;} + break; + + case 305: +#line 2952 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].l))); + ;} + break; + + case 306: +#line 2960 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 307: +#line 2965 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + ;} + break; + + case 308: +#line 2969 "Gmsh.y" + { // creates an empty list - yyval.l = List_Create(2, 1, sizeof(double)); - ; - break;} -case 308: -#line 2973 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 309: -#line 2977 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; + (yyval.l) = List_Create(2, 1, sizeof(double)); + ;} + break; + + case 309: +#line 2974 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 310: +#line 2978 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); double *pd; - for(int i = 0; i < List_Nbr(yyval.l); i++){ - pd = (double*)List_Pointer(yyval.l, i); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + pd = (double*)List_Pointer((yyval.l), i); (*pd) = - (*pd); } - ; - break;} -case 310: -#line 2989 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - for(double d = yyvsp[-2].d; (yyvsp[-2].d < yyvsp[0].d) ? (d <= yyvsp[0].d) : (d >= yyvsp[0].d); (yyvsp[-2].d < yyvsp[0].d) ? (d += 1.) : (d -= 1.)) - List_Add(yyval.l, &d); - ; - break;} -case 311: -#line 2995 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - if(!yyvsp[0].d || (yyvsp[-4].d < yyvsp[-2].d && yyvsp[0].d < 0) || (yyvsp[-4].d > yyvsp[-2].d && yyvsp[0].d > 0)){ - yymsg(GERROR, "Wrong increment in '%g:%g:%g'", yyvsp[-4].d, yyvsp[-2].d, yyvsp[0].d); - List_Add(yyval.l, &(yyvsp[-4].d)); + ;} + break; + + case 311: +#line 2990 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + for(double d = (yyvsp[-2].d); ((yyvsp[-2].d) < (yyvsp[0].d)) ? (d <= (yyvsp[0].d)) : (d >= (yyvsp[0].d)); ((yyvsp[-2].d) < (yyvsp[0].d)) ? (d += 1.) : (d -= 1.)) + List_Add((yyval.l), &d); + ;} + break; + + case 312: +#line 2996 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + if(!(yyvsp[0].d) || ((yyvsp[-4].d) < (yyvsp[-2].d) && (yyvsp[0].d) < 0) || ((yyvsp[-4].d) > (yyvsp[-2].d) && (yyvsp[0].d) > 0)){ + yymsg(GERROR, "Wrong increment in '%g:%g:%g'", (yyvsp[-4].d), (yyvsp[-2].d), (yyvsp[0].d)); + List_Add((yyval.l), &((yyvsp[-4].d))); } else - for(double d = yyvsp[-4].d; (yyvsp[0].d > 0) ? (d <= yyvsp[-2].d) : (d >= yyvsp[-2].d); d += yyvsp[0].d) - List_Add(yyval.l, &d); - ; - break;} -case 312: -#line 3006 "Gmsh.y" -{ + for(double d = (yyvsp[-4].d); ((yyvsp[0].d) > 0) ? (d <= (yyvsp[-2].d)) : (d >= (yyvsp[-2].d)); d += (yyvsp[0].d)) + List_Add((yyval.l), &d); + ;} + break; + + case 313: +#line 3007 "Gmsh.y" + { // Returns the coordinates of a point and fills a list with it. // This allows to ensure e.g. that relative point positions are // always conserved - Vertex *v = FindPoint((int)yyvsp[-1].d); - yyval.l = List_Create(3, 1, sizeof(double)); + Vertex *v = FindPoint((int)(yyvsp[-1].d)); + (yyval.l) = List_Create(3, 1, sizeof(double)); if(!v) { - yymsg(GERROR, "Unknown point '%d'", (int) yyvsp[-1].d); + yymsg(GERROR, "Unknown point '%d'", (int) (yyvsp[-1].d)); double d = 0.0; - List_Add(yyval.l, &d); - List_Add(yyval.l, &d); - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); + List_Add((yyval.l), &d); + List_Add((yyval.l), &d); } else{ - List_Add(yyval.l, &v->Pos.X); - List_Add(yyval.l, &v->Pos.Y); - List_Add(yyval.l, &v->Pos.Z); - } - ; - break;} -case 313: -#line 3026 "Gmsh.y" -{ - yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double)); - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ - Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i); + List_Add((yyval.l), &v->Pos.X); + List_Add((yyval.l), &v->Pos.Y); + List_Add((yyval.l), &v->Pos.Z); + } + ;} + break; + + case 314: +#line 3027 "Gmsh.y" + { + (yyval.l) = List_Create(List_Nbr((yyvsp[0].l)), 1, sizeof(double)); + for(int i = 0; i < List_Nbr((yyvsp[0].l)); i++){ + Shape *s = (Shape*) List_Pointer((yyvsp[0].l), i); double d = s->Num; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 314: -#line 3036 "Gmsh.y" -{ - yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double)); - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ - Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i); + List_Delete((yyvsp[0].l)); + ;} + break; + + case 315: +#line 3037 "Gmsh.y" + { + (yyval.l) = List_Create(List_Nbr((yyvsp[0].l)), 1, sizeof(double)); + for(int i = 0; i < List_Nbr((yyvsp[0].l)); i++){ + Shape *s = (Shape*) List_Pointer((yyvsp[0].l), i); double d = s->Num; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 315: -#line 3046 "Gmsh.y" -{ - yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double)); - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ - Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i); + List_Delete((yyvsp[0].l)); + ;} + break; + + case 316: +#line 3047 "Gmsh.y" + { + (yyval.l) = List_Create(List_Nbr((yyvsp[0].l)), 1, sizeof(double)); + for(int i = 0; i < List_Nbr((yyvsp[0].l)); i++){ + Shape *s = (Shape*) List_Pointer((yyvsp[0].l), i); double d = s->Num; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 316: -#line 3056 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + List_Delete((yyvsp[0].l)); + ;} + break; + + case 317: +#line 3057 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[-2].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-2].c)); double d = 0.0; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } else{ for(int i = 0; i < List_Nbr(pSymbol->val); i++) - List_Add(yyval.l, (double*)List_Pointer_Fast(pSymbol->val, i)); + List_Add((yyval.l), (double*)List_Pointer_Fast(pSymbol->val, i)); } - Free(yyvsp[-2].c); - ; - break;} -case 317: -#line 3073 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + Free((yyvsp[-2].c)); + ;} + break; + + case 318: +#line 3074 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[-2].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-2].c)); double d = 0.0; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } else{ for(int i = 0; i < List_Nbr(pSymbol->val); i++){ double d = - *(double*)List_Pointer_Fast(pSymbol->val, i); - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } } - Free(yyvsp[-2].c); - ; - break;} -case 318: -#line 3092 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + Free((yyvsp[-2].c)); + ;} + break; + + case 319: +#line 3093 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[-5].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-5].c)); double d = 0.0; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } else{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ - int j = (int)(*(double*)List_Pointer_Fast(yyvsp[-2].l, i)); + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ + int j = (int)(*(double*)List_Pointer_Fast((yyvsp[-2].l), i)); double *pd; if((pd = (double*)List_Pointer_Test(pSymbol->val, j))) - List_Add(yyval.l, pd); + List_Add((yyval.l), pd); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, j); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-5].c), j); } } - Free(yyvsp[-5].c); - List_Delete(yyvsp[-2].l); - ; - break;} -case 319: -#line 3116 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + Free((yyvsp[-5].c)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 320: +#line 3117 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[-5].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) { - yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c); + yymsg(GERROR, "Unknown variable '%s'", (yyvsp[-5].c)); double d = 0.0; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } else{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ - int j = (int)(*(double*)List_Pointer_Fast(yyvsp[-2].l, i)); + for(int i = 0; i < List_Nbr((yyvsp[-2].l)); i++){ + int j = (int)(*(double*)List_Pointer_Fast((yyvsp[-2].l), i)); double *pd; if((pd = (double*)List_Pointer_Test(pSymbol->val, j))){ double d = - *pd; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, j); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-5].c), j); } } - Free(yyvsp[-5].c); - List_Delete(yyvsp[-2].l); - ; - break;} -case 320: -#line 3145 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 321: -#line 3150 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 322: -#line 3154 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 323: -#line 3158 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ + Free((yyvsp[-5].c)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 321: +#line 3146 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 322: +#line 3151 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + ;} + break; + + case 323: +#line 3155 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 324: +#line 3159 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[0].l)); i++){ double d; - List_Read(yyvsp[0].l, i, &d); - List_Add(yyval.l, &d); - } - List_Delete(yyvsp[0].l); - ; - break;} -case 324: -#line 3171 "Gmsh.y" -{ - yyval.u = CTX.PACK_COLOR((int)yyvsp[-7].d, (int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d); - ; - break;} -case 325: -#line 3175 "Gmsh.y" -{ - yyval.u = CTX.PACK_COLOR((int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d, 255); - ; - break;} -case 326: -#line 3187 "Gmsh.y" -{ + List_Read((yyvsp[0].l), i, &d); + List_Add((yyval.l), &d); + } + List_Delete((yyvsp[0].l)); + ;} + break; + + case 325: +#line 3172 "Gmsh.y" + { + (yyval.u) = CTX.PACK_COLOR((int)(yyvsp[-7].d), (int)(yyvsp[-5].d), (int)(yyvsp[-3].d), (int)(yyvsp[-1].d)); + ;} + break; + + case 326: +#line 3176 "Gmsh.y" + { + (yyval.u) = CTX.PACK_COLOR((int)(yyvsp[-5].d), (int)(yyvsp[-3].d), (int)(yyvsp[-1].d), 255); + ;} + break; + + case 327: +#line 3188 "Gmsh.y" + { int flag; - yyval.u = Get_ColorForString(ColorString, -1, yyvsp[0].c, &flag); - if(flag) yymsg(GERROR, "Unknown color '%s'", yyvsp[0].c); - Free(yyvsp[0].c); - ; - break;} -case 327: -#line 3194 "Gmsh.y" -{ + (yyval.u) = Get_ColorForString(ColorString, -1, (yyvsp[0].c), &flag); + if(flag) yymsg(GERROR, "Unknown color '%s'", (yyvsp[0].c)); + Free((yyvsp[0].c)); + ;} + break; + + case 328: +#line 3195 "Gmsh.y" + { unsigned int (*pColOpt)(int num, int action, unsigned int value); StringXColor *pColCat; - if(!(pColCat = Get_ColorOptionCategory(yyvsp[-4].c))){ - yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-4].c); - yyval.u = 0; + if(!(pColCat = Get_ColorOptionCategory((yyvsp[-4].c)))){ + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[-4].c)); + (yyval.u) = 0; } else{ - if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[0].c, pColCat))){ - yymsg(GERROR, "Unknown color option '%s.Color.%s'", yyvsp[-4].c, yyvsp[0].c); - yyval.u = 0; + if(!(pColOpt = (unsigned int (*) (int, int, unsigned int))Get_ColorOption((yyvsp[0].c), pColCat))){ + yymsg(GERROR, "Unknown color option '%s.Color.%s'", (yyvsp[-4].c), (yyvsp[0].c)); + (yyval.u) = 0; } else{ - yyval.u = pColOpt(0, GMSH_GET, 0); + (yyval.u) = pColOpt(0, GMSH_GET, 0); } } - Free(yyvsp[-4].c); Free(yyvsp[0].c); - ; - break;} -case 328: -#line 3216 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 329: -#line 3220 "Gmsh.y" -{ - yyval.l = List_Create(256, 10, sizeof(unsigned int)); - GmshColorTable *ct = Get_ColorTable((int)yyvsp[-3].d); + Free((yyvsp[-4].c)); Free((yyvsp[0].c)); + ;} + break; + + case 329: +#line 3217 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 330: +#line 3221 "Gmsh.y" + { + (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); + GmshColorTable *ct = Get_ColorTable((int)(yyvsp[-3].d)); if(!ct) - yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-3].d); + yymsg(GERROR, "View[%d] does not exist", (int)(yyvsp[-3].d)); else{ for(int i = 0; i < ct->size; i++) - List_Add(yyval.l, &ct->table[i]); + List_Add((yyval.l), &ct->table[i]); } - Free(yyvsp[-5].c); - ; - break;} -case 330: -#line 3235 "Gmsh.y" -{ - yyval.l = List_Create(256, 10, sizeof(unsigned int)); - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 331: -#line 3240 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 332: -#line 3247 "Gmsh.y" -{ - yyval.c = yyvsp[0].c; - ; - break;} -case 333: -#line 3251 "Gmsh.y" -{ - yyval.c = (char *)Malloc(32*sizeof(char)); + Free((yyvsp[-5].c)); + ;} + break; + + case 331: +#line 3236 "Gmsh.y" + { + (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); + List_Add((yyval.l), &((yyvsp[0].u))); + ;} + break; + + case 332: +#line 3241 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].u))); + ;} + break; + + case 333: +#line 3248 "Gmsh.y" + { + (yyval.c) = (yyvsp[0].c); + ;} + break; + + case 334: +#line 3252 "Gmsh.y" + { + (yyval.c) = (char *)Malloc(32*sizeof(char)); time_t now; time(&now); - strcpy(yyval.c, ctime(&now)); - yyval.c[strlen(yyval.c) - 1] = '\0'; - ; - break;} -case 334: -#line 3259 "Gmsh.y" -{ - yyval.c = (char *)Malloc((strlen(yyvsp[-3].c)+strlen(yyvsp[-1].c)+1)*sizeof(char)); - strcpy(yyval.c, yyvsp[-3].c); - strcat(yyval.c, yyvsp[-1].c); - Free(yyvsp[-3].c); - Free(yyvsp[-1].c); - ; - break;} -case 335: -#line 3267 "Gmsh.y" -{ - yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char)); + strcpy((yyval.c), ctime(&now)); + (yyval.c)[strlen((yyval.c)) - 1] = '\0'; + ;} + break; + + case 335: +#line 3260 "Gmsh.y" + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[-3].c))+strlen((yyvsp[-1].c))+1)*sizeof(char)); + strcpy((yyval.c), (yyvsp[-3].c)); + strcat((yyval.c), (yyvsp[-1].c)); + Free((yyvsp[-3].c)); + Free((yyvsp[-1].c)); + ;} + break; + + case 336: +#line 3268 "Gmsh.y" + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c))+1)*sizeof(char)); int i; - for(i = strlen(yyvsp[-1].c)-1; i >= 0; i--){ - if(yyvsp[-1].c[i] == '.'){ - strncpy(yyval.c, yyvsp[-1].c, i); - yyval.c[i]='\0'; + for(i = strlen((yyvsp[-1].c))-1; i >= 0; i--){ + if((yyvsp[-1].c)[i] == '.'){ + strncpy((yyval.c), (yyvsp[-1].c), i); + (yyval.c)[i]='\0'; break; } } - if(i <= 0) strcpy(yyval.c, yyvsp[-1].c); - Free(yyvsp[-1].c); - ; - break;} -case 336: -#line 3281 "Gmsh.y" -{ - yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char)); + if(i <= 0) strcpy((yyval.c), (yyvsp[-1].c)); + Free((yyvsp[-1].c)); + ;} + break; + + case 337: +#line 3282 "Gmsh.y" + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c))+1)*sizeof(char)); int i; - for(i = strlen(yyvsp[-1].c)-1; i >= 0; i--){ - if(yyvsp[-1].c[i] == '/' || yyvsp[-1].c[i] == '\\') + for(i = strlen((yyvsp[-1].c))-1; i >= 0; i--){ + if((yyvsp[-1].c)[i] == '/' || (yyvsp[-1].c)[i] == '\\') break; } if(i <= 0) - strcpy(yyval.c, yyvsp[-1].c); + strcpy((yyval.c), (yyvsp[-1].c)); else - strcpy(yyval.c, &yyvsp[-1].c[i+1]); - Free(yyvsp[-1].c); - ; - break;} -case 337: -#line 3295 "Gmsh.y" -{ - yyval.c = yyvsp[-1].c; - ; - break;} -case 338: -#line 3299 "Gmsh.y" -{ + strcpy((yyval.c), &(yyvsp[-1].c)[i+1]); + Free((yyvsp[-1].c)); + ;} + break; + + case 338: +#line 3296 "Gmsh.y" + { + (yyval.c) = (yyvsp[-1].c); + ;} + break; + + case 339: +#line 3300 "Gmsh.y" + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-3].c, yyvsp[-1].l, tmpstring); + int i = PrintListOfDouble((yyvsp[-3].c), (yyvsp[-1].l), tmpstring); if(i < 0){ yymsg(GERROR, "Too few arguments in Sprintf"); - yyval.c = yyvsp[-3].c; + (yyval.c) = (yyvsp[-3].c); } else if(i > 0){ yymsg(GERROR, "%d extra argument%s in Sprintf", i, (i>1)?"s":""); - yyval.c = yyvsp[-3].c; + (yyval.c) = (yyvsp[-3].c); } else{ - yyval.c = (char*)Malloc((strlen(tmpstring)+1)*sizeof(char)); - strcpy(yyval.c, tmpstring); - Free(yyvsp[-3].c); - } - List_Delete(yyvsp[-1].l); - ; - break;} -case 339: -#line 3318 "Gmsh.y" -{ + (yyval.c) = (char*)Malloc((strlen(tmpstring)+1)*sizeof(char)); + strcpy((yyval.c), tmpstring); + Free((yyvsp[-3].c)); + } + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 340: +#line 3319 "Gmsh.y" + { char* (*pStrOpt)(int num, int action, char *value); StringXString *pStrCat; - if(!(pStrCat = Get_StringOptionCategory(yyvsp[-3].c))){ - yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-3].c); - yyval.c = (char*)Malloc(sizeof(char)); - yyval.c[0] = '\0'; + if(!(pStrCat = Get_StringOptionCategory((yyvsp[-3].c)))){ + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[-3].c)); + (yyval.c) = (char*)Malloc(sizeof(char)); + (yyval.c)[0] = '\0'; } else{ - if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-1].c, pStrCat))){ - yymsg(GERROR, "Unknown string option '%s.%s'", yyvsp[-3].c, yyvsp[-1].c); - yyval.c = (char*)Malloc(sizeof(char)); - yyval.c[0] = '\0'; + if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption((yyvsp[-1].c), pStrCat))){ + yymsg(GERROR, "Unknown string option '%s.%s'", (yyvsp[-3].c), (yyvsp[-1].c)); + (yyval.c) = (char*)Malloc(sizeof(char)); + (yyval.c)[0] = '\0'; } else{ char *str = pStrOpt(0, GMSH_GET, NULL); - yyval.c = (char*)Malloc((strlen(str)+1)*sizeof(char)); - strcpy(yyval.c, str); + (yyval.c) = (char*)Malloc((strlen(str)+1)*sizeof(char)); + strcpy((yyval.c), str); } } - ; - break;} -case 340: -#line 3340 "Gmsh.y" -{ + ;} + break; + + case 341: +#line 3341 "Gmsh.y" + { char* (*pStrOpt)(int num, int action, char *value); StringXString *pStrCat; - if(!(pStrCat = Get_StringOptionCategory(yyvsp[-6].c))){ - yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-6].c); - yyval.c = (char*)Malloc(sizeof(char)); - yyval.c[0] = '\0'; + if(!(pStrCat = Get_StringOptionCategory((yyvsp[-6].c)))){ + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[-6].c)); + (yyval.c) = (char*)Malloc(sizeof(char)); + (yyval.c)[0] = '\0'; } else{ - if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-1].c, pStrCat))){ - yymsg(GERROR, "Unknown string option '%s[%d].%s'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].c); - yyval.c = (char*)Malloc(sizeof(char)); - yyval.c[0] = '\0'; + if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption((yyvsp[-1].c), pStrCat))){ + yymsg(GERROR, "Unknown string option '%s[%d].%s'", (yyvsp[-6].c), (int)(yyvsp[-4].d), (yyvsp[-1].c)); + (yyval.c) = (char*)Malloc(sizeof(char)); + (yyval.c)[0] = '\0'; } else{ - char *str = pStrOpt((int)yyvsp[-4].d, GMSH_GET, NULL); - yyval.c = (char*)Malloc((strlen(str)+1)*sizeof(char)); - strcpy(yyval.c, str); + char *str = pStrOpt((int)(yyvsp[-4].d), GMSH_GET, NULL); + (yyval.c) = (char*)Malloc((strlen(str)+1)*sizeof(char)); + strcpy((yyval.c), str); } } - ; - break;} -} - /* the action file gets copied in in place of this dollarsign */ -#line 543 "/usr/share/bison.simple" + ;} + break; + + + } + +/* Line 1037 of yacc.c. */ +#line 7427 "Gmsh.tab.cpp" yyvsp -= yylen; yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif + + YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; -#ifdef YYLSP_NEEDED - yylsp++; - if (yylen == 0) - { - yylsp->first_line = yylloc.first_line; - yylsp->first_column = yylloc.first_column; - yylsp->last_line = (yylsp-1)->last_line; - yylsp->last_column = (yylsp-1)->last_column; - yylsp->text = 0; - } - else - { - yylsp->last_line = (yylsp+yylen-1)->last_line; - yylsp->last_column = (yylsp+yylen-1)->last_column; - } -#endif - /* Now "shift" the result of the reduction. - Determine what state that goes to, - based on the state we popped back to - and the rule number reduced by. */ + /* Now `shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ yyn = yyr1[yyn]; - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else - yystate = yydefgoto[yyn - YYNTBASE]; + yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; -yyerrlab: /* here on detecting error */ - if (! yyerrstatus) - /* If not already recovering from an error, report this error. */ +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) { ++yynerrs; - -#ifdef YYERROR_VERBOSE +#if YYERROR_VERBOSE yyn = yypact[yystate]; - if (yyn > YYFLAG && yyn < YYLAST) + if (YYPACT_NINF < yyn && yyn < YYLAST) { - int size = 0; - char *msg; - int x, count; - - count = 0; - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - size += strlen(yytname[x]) + 15, count++; - msg = (char *) malloc(size + 15); - if (msg != 0) + YYSIZE_T yysize = 0; + int yytype = YYTRANSLATE (yychar); + const char* yyprefix; + char *yymsg; + int yyx; + + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 0; + + yyprefix = ", expecting "; + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]); + yycount += 1; + if (yycount == 5) + { + yysize = 0; + break; + } + } + yysize += (sizeof ("syntax error, unexpected ") + + yystrlen (yytname[yytype])); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) { - strcpy(msg, "parse error"); + char *yyp = yystpcpy (yymsg, "syntax error, unexpected "); + yyp = yystpcpy (yyp, yytname[yytype]); - if (count < 5) + if (yycount < 5) { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) + yyprefix = ", expecting "; + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; + yyp = yystpcpy (yyp, yyprefix); + yyp = yystpcpy (yyp, yytname[yyx]); + yyprefix = " or "; } } - yyerror(msg); - free(msg); + yyerror (yymsg); + YYSTACK_FREE (yymsg); } else - yyerror ("parse error; also virtual memory exceeded"); + yyerror ("syntax error; also virtual memory exhausted"); } else #endif /* YYERROR_VERBOSE */ - yyerror("parse error"); + yyerror ("syntax error"); } - goto yyerrlab1; -yyerrlab1: /* here on error raised explicitly by an action */ + if (yyerrstatus == 3) { - /* if just tried and failed to reuse lookahead token after an error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); -#endif - - yychar = YYEMPTY; + /* If just tried and failed to reuse look-ahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* If at end of input, pop the error token, + then the rest of the stack, then return failure. */ + if (yychar == YYEOF) + for (;;) + { + + YYPOPSTACK; + if (yyssp == yyss) + YYABORT; + yydestruct ("Error: popping", + yystos[*yyssp], yyvsp); + } + } + else + { + yydestruct ("Error: discarding", yytoken, &yylval); + yychar = YYEMPTY; + } } - /* Else will try to reuse lookahead token - after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ + /* Else will try to reuse look-ahead token after shifting the error + token. */ + goto yyerrlab1; - goto yyerrhandle; -yyerrdefault: /* current state does not do anything special for the error token. */ +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ - if (yyn) goto yydefault; +#ifdef __GNUC__ + /* Pacify GCC when the user code never invokes YYERROR and the label + yyerrorlab therefore never appears in user code. */ + if (0) + goto yyerrorlab; #endif -yyerrpop: /* pop the current state because it cannot handle the error token */ +yyvsp -= yylen; + yyssp -= yylen; + yystate = *yyssp; + goto yyerrlab1; + - if (yyssp == yyss) YYABORT; - yyvsp--; - yystate = *--yyssp; -#ifdef YYLSP_NEEDED - yylsp--; -#endif +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ -#if YYDEBUG != 0 - if (yydebug) + for (;;) { - short *ssp1 = yyss - 1; - fprintf (stderr, "Error: state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - -yyerrhandle: + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; + yydestruct ("Error: popping", yystos[yystate], yyvsp); + YYPOPSTACK; + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); } - else if (yyn == 0) - goto yyerrpop; if (yyn == YYFINAL) YYACCEPT; -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting error token, "); -#endif - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); yystate = yyn; goto yynewstate; - yyacceptlab: - /* YYACCEPT comes here. */ - if (yyfree_stacks) - { - free (yyss); - free (yyvs); -#ifdef YYLSP_NEEDED - free (yyls); + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yydestruct ("Error: discarding lookahead", + yytoken, &yylval); + yychar = YYEMPTY; + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*----------------------------------------------. +| yyoverflowlab -- parser overflow comes here. | +`----------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ #endif - } - return 0; - yyabortlab: - /* YYABORT comes here. */ - if (yyfree_stacks) - { - free (yyss); - free (yyvs); -#ifdef YYLSP_NEEDED - free (yyls); +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); #endif - } - return 1; + return yyresult; } -#line 3363 "Gmsh.y" + + +#line 3364 "Gmsh.y" void DeleteSymbol(void *a, void *b){ @@ -6805,3 +7745,4 @@ void yymsg(int type, char *fmt, ...){ if(type == GERROR) yyerrorstate++; } + diff --git a/Parser/Gmsh.tab.hpp b/Parser/Gmsh.tab.hpp index af1ab7c30b444aa2aa8e031579148479936bc4df..2be459f75dd240c453bc92b275c76a5cdfc71e8f 100644 --- a/Parser/Gmsh.tab.hpp +++ b/Parser/Gmsh.tab.hpp @@ -1,4 +1,281 @@ -typedef union { +/* A Bison parser, made by GNU Bison 2.0. */ + +/* 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; int i; unsigned int u; @@ -7,125 +284,14 @@ typedef union { Shape s; List_T *l; } YYSTYPE; -#define tDOUBLE 257 -#define tSTRING 258 -#define tBIGSTR 259 -#define tEND 260 -#define tAFFECT 261 -#define tDOTS 262 -#define tPi 263 -#define tMPI_Rank 264 -#define tMPI_Size 265 -#define tExp 266 -#define tLog 267 -#define tLog10 268 -#define tSqrt 269 -#define tSin 270 -#define tAsin 271 -#define tCos 272 -#define tAcos 273 -#define tTan 274 -#define tRand 275 -#define tAtan 276 -#define tAtan2 277 -#define tSinh 278 -#define tCosh 279 -#define tTanh 280 -#define tFabs 281 -#define tFloor 282 -#define tCeil 283 -#define tFmod 284 -#define tModulo 285 -#define tHypot 286 -#define tPrintf 287 -#define tSprintf 288 -#define tStrCat 289 -#define tStrPrefix 290 -#define 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 - +/* Line 1318 of yacc.c. */ +#line 289 "Gmsh.tab.hpp" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif extern YYSTYPE yylval; + + + diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index 15f042b47d64b2ca3de91706e600eb203ff4a0e6..f280fafb092f997c766ea1c1bbf4a4a6c05a16a7 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.245 2006-11-29 03:11:20 geuzaine Exp $ +// $Id: Gmsh.y,v 1.246 2006-11-30 11:32:30 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -1062,15 +1062,16 @@ Shape : $$.Num = 0; } | tCharacteristic tLength ListOfDouble tAFFECT FExpr tEND - { + { for(int i = 0; i < List_Nbr($3); i++){ double d; List_Read($3, i, &d); - Vertex *v = FindPoint((int)d); - if(!v) + + GVertex *gv = GMODEL->vertexByTag((int)d); + if(!gv) yymsg(WARNING, "Unknown point %d", (int)d); else - v->lc = $5; + gv->setPrescribedMeshSizeAtVertex($5); } List_Delete($3); // dummy values diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp index ca7ed0cbdca17372de2d0bdf139e4e2fcb9bdab8..da8f7e0b50ef34afd88e426b5cb7a5ff377c0a01 100644 --- a/Parser/Gmsh.yy.cpp +++ b/Parser/Gmsh.yy.cpp @@ -2,7 +2,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.286 2006-11-29 20:40:47 geuzaine Exp $ + * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.287 2006-11-30 11:32:31 remacle Exp $ */ #define FLEX_SCANNER @@ -727,7 +727,7 @@ char *yytext; #line 1 "Gmsh.l" #define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.286 2006-11-29 20:40:47 geuzaine Exp $ +// $Id: Gmsh.yy.cpp,v 1.287 2006-11-30 11:32:31 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle //