diff --git a/Common/AdaptiveViews.cpp b/Common/AdaptiveViews.cpp index c77a27715ef8c07a6aeb4b1c0bfe887f11f0be04..f39ed4640e2529f8fe055877f7bbe46bc60cccbf 100644 --- a/Common/AdaptiveViews.cpp +++ b/Common/AdaptiveViews.cpp @@ -26,8 +26,18 @@ #include "Plugin.h" #include "OS.h" + + // A recursive effective implementation +void adapt_triangle::GSF (const double u, const double v, double w, double sf[]) +{ + sf[0] = 1. - u - v; + sf[1] = u; + sf[2] = v; +} + + void computeShapeFunctions(Double_Matrix * coeffs, Double_Matrix * eexps, double u, double v, double w, double *sf); @@ -86,6 +96,7 @@ void adapt_triangle::Create(int maxlevel, Double_Matrix * coeffs, Recur_Create(t, maxlevel, level, coeffs, eexps); } + void adapt_quad::Create(int maxlevel, Double_Matrix * coeffs, Double_Matrix * eexps) { @@ -192,6 +203,8 @@ void adapt_triangle::Recur_Create(adapt_triangle * t, int maxlevel, int level, t->e[3] = t4; } + + void adapt_quad::Recur_Create(adapt_quad * q, int maxlevel, int level, Double_Matrix * coeffs, Double_Matrix * eexps) { @@ -386,6 +399,7 @@ void adapt_triangle::Error(double AVG, double tol) Recur_Error(t, AVG, tol); } + void adapt_quad::Error(double AVG, double tol) { adapt_quad *q = *all_elems.begin(); @@ -517,6 +531,7 @@ void adapt_triangle::Recur_Error(adapt_triangle * t, double AVG, double tol) } } + void adapt_quad::Recur_Error(adapt_quad * q, double AVG, double tol) { if(!q->e[0]) @@ -705,14 +720,17 @@ int Adaptive_Post_View::zoomElement(Post_View * view, double c0 = Cpu(); const int N = _coefs->size1(); + + // printf("%d coefs %d nod %d points %d %d %d %d\n",N,nbNod,adapt_point::all_points.size(),_STposX->size1(),_STposX->size2(),_STval->size1(),_STval->size2()); + Double_Vector val(N), res(adapt_point::all_points.size()); Double_Vector valx(N), resx(adapt_point::all_points.size()); Double_Vector valy(N), resy(adapt_point::all_points.size()); Double_Vector valz(N), resz(adapt_point::all_points.size()); - Double_Matrix xyz(nbNod,3); + Double_Matrix xyz(_STposX->size2(),3); Double_Matrix XYZ(adapt_point::all_points.size(),3); - for(int k = 0; k < nbNod; ++k){ + for(int k = 0; k < _STposX->size2(); ++k){ xyz(k, 0) = (*_STposX)(ielem, k); xyz(k, 1) = (*_STposY)(ielem, k); xyz(k, 2) = (*_STposZ)(ielem, k); @@ -830,9 +848,9 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel(Post_View * view, if(presentTol == tol && presentZoomLevel == level && !plug) return; - printf - ("calling setAdaptive with level = %d and plug = %p tol %g presentTol %g\n", - level, (void *)plug, tol, presentTol); +// printf +// ("calling setAdaptive with level = %d and plug = %p tol %g presentTol %g\n", +// level, (void *)plug, tol, presentTol); int *done = new int[_STposX->size1()]; for(int i = 0; i < _STposX->size1(); ++i) @@ -853,7 +871,7 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel(Post_View * view, view->NbVT = 0; view->VT =List_Create ( nbelm * 36, nbelm , sizeof(double)); } - if(view->NbST) { + else if(view->NbST) { TYP = 1; List_Delete(view->ST); view->NbST = 0; @@ -912,7 +930,7 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel(Post_View * view, &(view->SS), &(view->NbSS), done); int nbDone = 0; for(int i=0; i < _STposX->size1(); ++i) nbDone += done[i]; - printf("adaptive %d %d %d %d\n", level, level_act, nbDone, _STposX->size1()); + // printf("adaptive %d %d %d %d\n", level, level_act, nbDone, _STposX->size1()); if (nbDone ==_STposX->size1()) break; if (level_act >= level) break; level_act ++; @@ -926,7 +944,7 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel(Post_View * view, presentZoomLevel = level; presentTol = tol; - printf("finished %g %g %g %g\n", t0, t1, t2, t3); + // printf("finished %g %g %g %g\n", t0, t1, t2, t3); delete[]done; } @@ -954,7 +972,7 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel_TEMPL(Post_View * view, if(_Geometry) delete _Geometry; _Interpolate = new Double_Matrix(adapt_point::all_points.size(), N); - _Geometry = new Double_Matrix(adapt_point::all_points.size(), ELEM::nbNod); + _Geometry = new Double_Matrix(adapt_point::all_points.size(), _STposX->size2()); int kk = 0; for(; it != ite; ++it) { @@ -962,8 +980,16 @@ void Adaptive_Post_View::setAdaptiveResolutionLevel_TEMPL(Post_View * view, for(int k = 0; k < N; ++k) { (*_Interpolate) (kk, k) = p->shape_functions[k]; } - ELEM::GSF(p->x, p->y, p->z, sf); - for(int k = 0; k < ELEM::nbNod; k++) + + if (_coefsGeom) + { + computeShapeFunctions(_coefsGeom, _eexpsGeom, p->x, p->y, p->z, sf); + } + else + { + ELEM::GSF(p->x, p->y, p->z, sf); + } + for(int k = 0; k < _STposX->size2(); k++) (*_Geometry) (kk, k) = sf[k]; kk++; } @@ -1047,6 +1073,7 @@ void Adaptive_Post_View::initWithLowResolution(Post_View * view) if (_coefsGeom) { nbnod = _coefsGeom -> size1 (); + // printf("THERE IS A GEOMETRY !!!!!!!! nbNod = %d\n",nbnod); } diff --git a/Common/AdaptiveViews.h b/Common/AdaptiveViews.h index 53effd4b2860d3f1f5b777ee002aa04de475c936..a6ff5490f7cbb5fa3ab300cee85b501d8877d1b5 100644 --- a/Common/AdaptiveViews.h +++ b/Common/AdaptiveViews.h @@ -108,12 +108,7 @@ public: { return (p[0]->val + p[1]->val + p[2]->val)/3.; } - inline static void GSF (const double u, const double v, double w, double sf[]) - { - sf[0] = 1. - u - v; - sf[1] = u; - sf[2] = v; - } + static void GSF (const double u, const double v, double w, double sf[]); void print () { printf("p1 %g %g p2 %g %g p3 %g %g\n", @@ -131,6 +126,10 @@ public: static int nbNod; }; + + + + class adapt_quad { public: diff --git a/Graphics/Entity.cpp b/Graphics/Entity.cpp index d5147543336b68b45579d0cfdc18e291ff7b2390..d21e36ecfa06a6a685f8c20436022c978775ac7c 100644 --- a/Graphics/Entity.cpp +++ b/Graphics/Entity.cpp @@ -1,4 +1,4 @@ -// $Id: Entity.cpp,v 1.71 2006-11-27 22:22:14 geuzaine Exp $ +// $Id: Entity.cpp,v 1.72 2007-06-22 12:08:16 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -128,7 +128,7 @@ void Draw_Cylinder(double width, double *x, double *y, double *z, int light) void Draw_Line(int type, double width, double *x, double *y, double *z, int light) { - if(type) + if(type==1) Draw_Cylinder(width, x, y, z, light); else { glBegin(GL_LINES); diff --git a/Graphics/PostElement.cpp b/Graphics/PostElement.cpp index f89ad4080e8042ce917bf4e2efcdae74b25b1bd3..13a32a676b7c584cdb5434261386e7372d2f3b4d 100644 --- a/Graphics/PostElement.cpp +++ b/Graphics/PostElement.cpp @@ -1,4 +1,4 @@ -// $Id: PostElement.cpp,v 1.78 2007-03-05 09:30:53 geuzaine Exp $ +// $Id: PostElement.cpp,v 1.79 2007-06-22 12:08:16 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index ca016c30aad59218334f026474f6ae7fbcb7efe7..5fea51bfee86e5ef0806a02cb025629f91b4fe6c 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -1,137 +1,316 @@ +/* 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 tEuclidian 266 -#define tCoordinates 267 -#define tExp 268 -#define tLog 269 -#define tLog10 270 -#define tSqrt 271 -#define tSin 272 -#define tAsin 273 -#define tCos 274 -#define tAcos 275 -#define tTan 276 -#define tRand 277 -#define tAtan 278 -#define tAtan2 279 -#define tSinh 280 -#define tCosh 281 -#define tTanh 282 -#define tFabs 283 -#define tFloor 284 -#define tCeil 285 -#define tFmod 286 -#define tModulo 287 -#define tHypot 288 -#define tPrintf 289 -#define tSprintf 290 -#define tStrCat 291 -#define tStrPrefix 292 -#define tStrRelative 293 -#define tBoundingBox 294 -#define tDraw 295 -#define tToday 296 -#define tPoint 297 -#define tCircle 298 -#define tEllipse 299 -#define tLine 300 -#define tSphere 301 -#define tPolarSphere 302 -#define tSurface 303 -#define tSpline 304 -#define tVolume 305 -#define tCharacteristic 306 -#define tLength 307 -#define tParametric 308 -#define tElliptic 309 -#define tPlane 310 -#define tRuled 311 -#define tTransfinite 312 -#define tComplex 313 -#define tPhysical 314 -#define tUsing 315 -#define tBump 316 -#define tProgression 317 -#define tPlugin 318 -#define tRotate 319 -#define tTranslate 320 -#define tSymmetry 321 -#define tDilate 322 -#define tExtrude 323 -#define tDuplicata 324 -#define tLoop 325 -#define tRecombine 326 -#define tDelete 327 -#define tCoherence 328 -#define tAttractor 329 -#define tLayers 330 -#define tHole 331 -#define tAlias 332 -#define tAliasWithOptions 333 -#define tText2D 334 -#define tText3D 335 -#define tInterpolationScheme 336 -#define tTime 337 -#define tGrain 338 -#define tCombine 339 -#define tBSpline 340 -#define tBezier 341 -#define tNurbs 342 -#define tOrder 343 -#define tKnots 344 -#define tColor 345 -#define tColorTable 346 -#define tFor 347 -#define tIn 348 -#define tEndFor 349 -#define tIf 350 -#define tEndIf 351 -#define tExit 352 -#define tField 353 -#define tThreshold 354 -#define tStructured 355 -#define tLatLon 356 -#define tGrad 357 -#define tPostView 358 -#define tReturn 359 -#define tCall 360 -#define tFunction 361 -#define tShow 362 -#define tHide 363 -#define tGetValue 364 -#define tGMSH_MAJOR_VERSION 365 -#define tGMSH_MINOR_VERSION 366 -#define tGMSH_PATCH_VERSION 367 -#define tAFFECTPLUS 368 -#define tAFFECTMINUS 369 -#define tAFFECTTIMES 370 -#define tAFFECTDIVIDE 371 -#define tOR 372 -#define tAND 373 -#define tEQUAL 374 -#define tNOTEQUAL 375 -#define tLESSOREQUAL 376 -#define tGREATEROREQUAL 377 -#define tPLUSPLUS 378 -#define tMINUSMINUS 379 -#define UNARYPREC 380 +/* 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, + tEuclidian = 267, + tCoordinates = 268, + tExp = 269, + tLog = 270, + tLog10 = 271, + tSqrt = 272, + tSin = 273, + tAsin = 274, + tCos = 275, + tAcos = 276, + tTan = 277, + tRand = 278, + tAtan = 279, + tAtan2 = 280, + tSinh = 281, + tCosh = 282, + tTanh = 283, + tFabs = 284, + tFloor = 285, + tCeil = 286, + tFmod = 287, + tModulo = 288, + tHypot = 289, + tPrintf = 290, + tSprintf = 291, + tStrCat = 292, + tStrPrefix = 293, + tStrRelative = 294, + tBoundingBox = 295, + tDraw = 296, + tToday = 297, + tPoint = 298, + tCircle = 299, + tEllipse = 300, + tLine = 301, + tSphere = 302, + tPolarSphere = 303, + tSurface = 304, + tSpline = 305, + tVolume = 306, + tCharacteristic = 307, + tLength = 308, + tParametric = 309, + tElliptic = 310, + tPlane = 311, + tRuled = 312, + tTransfinite = 313, + tComplex = 314, + tPhysical = 315, + tUsing = 316, + tBump = 317, + tProgression = 318, + tPlugin = 319, + tRotate = 320, + tTranslate = 321, + tSymmetry = 322, + tDilate = 323, + tExtrude = 324, + tDuplicata = 325, + tLoop = 326, + tRecombine = 327, + tDelete = 328, + tCoherence = 329, + tAttractor = 330, + tLayers = 331, + tHole = 332, + tAlias = 333, + tAliasWithOptions = 334, + tText2D = 335, + tText3D = 336, + tInterpolationScheme = 337, + tTime = 338, + tGrain = 339, + tCombine = 340, + tBSpline = 341, + tBezier = 342, + tNurbs = 343, + tOrder = 344, + tKnots = 345, + tColor = 346, + tColorTable = 347, + tFor = 348, + tIn = 349, + tEndFor = 350, + tIf = 351, + tEndIf = 352, + tExit = 353, + tField = 354, + tThreshold = 355, + tStructured = 356, + tLatLon = 357, + tGrad = 358, + tPostView = 359, + tReturn = 360, + tCall = 361, + tFunction = 362, + tShow = 363, + tHide = 364, + tGetValue = 365, + tGMSH_MAJOR_VERSION = 366, + tGMSH_MINOR_VERSION = 367, + tGMSH_PATCH_VERSION = 368, + tAFFECTDIVIDE = 369, + tAFFECTTIMES = 370, + tAFFECTMINUS = 371, + tAFFECTPLUS = 372, + tOR = 373, + tAND = 374, + tNOTEQUAL = 375, + tEQUAL = 376, + tGREATEROREQUAL = 377, + tLESSOREQUAL = 378, + UNARYPREC = 379, + tMINUSMINUS = 380, + tPLUSPLUS = 381 + }; +#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 tEuclidian 267 +#define tCoordinates 268 +#define tExp 269 +#define tLog 270 +#define tLog10 271 +#define tSqrt 272 +#define tSin 273 +#define tAsin 274 +#define tCos 275 +#define tAcos 276 +#define tTan 277 +#define tRand 278 +#define tAtan 279 +#define tAtan2 280 +#define tSinh 281 +#define tCosh 282 +#define tTanh 283 +#define tFabs 284 +#define tFloor 285 +#define tCeil 286 +#define tFmod 287 +#define tModulo 288 +#define tHypot 289 +#define tPrintf 290 +#define tSprintf 291 +#define tStrCat 292 +#define tStrPrefix 293 +#define tStrRelative 294 +#define tBoundingBox 295 +#define tDraw 296 +#define tToday 297 +#define tPoint 298 +#define tCircle 299 +#define tEllipse 300 +#define tLine 301 +#define tSphere 302 +#define tPolarSphere 303 +#define tSurface 304 +#define tSpline 305 +#define tVolume 306 +#define tCharacteristic 307 +#define tLength 308 +#define tParametric 309 +#define tElliptic 310 +#define tPlane 311 +#define tRuled 312 +#define tTransfinite 313 +#define tComplex 314 +#define tPhysical 315 +#define tUsing 316 +#define tBump 317 +#define tProgression 318 +#define tPlugin 319 +#define tRotate 320 +#define tTranslate 321 +#define tSymmetry 322 +#define tDilate 323 +#define tExtrude 324 +#define tDuplicata 325 +#define tLoop 326 +#define tRecombine 327 +#define tDelete 328 +#define tCoherence 329 +#define tAttractor 330 +#define tLayers 331 +#define tHole 332 +#define tAlias 333 +#define tAliasWithOptions 334 +#define tText2D 335 +#define tText3D 336 +#define tInterpolationScheme 337 +#define tTime 338 +#define tGrain 339 +#define tCombine 340 +#define tBSpline 341 +#define tBezier 342 +#define tNurbs 343 +#define tOrder 344 +#define tKnots 345 +#define tColor 346 +#define tColorTable 347 +#define tFor 348 +#define tIn 349 +#define tEndFor 350 +#define tIf 351 +#define tEndIf 352 +#define tExit 353 +#define tField 354 +#define tThreshold 355 +#define tStructured 356 +#define tLatLon 357 +#define tGrad 358 +#define tPostView 359 +#define tReturn 360 +#define tCall 361 +#define tFunction 362 +#define tShow 363 +#define tHide 364 +#define tGetValue 365 +#define tGMSH_MAJOR_VERSION 366 +#define tGMSH_MINOR_VERSION 367 +#define tGMSH_PATCH_VERSION 368 +#define tAFFECTDIVIDE 369 +#define tAFFECTTIMES 370 +#define tAFFECTMINUS 371 +#define tAFFECTPLUS 372 +#define tOR 373 +#define tAND 374 +#define tNOTEQUAL 375 +#define tEQUAL 376 +#define tGREATEROREQUAL 377 +#define tLESSOREQUAL 378 +#define UNARYPREC 379 +#define tMINUSMINUS 380 +#define tPLUSPLUS 381 + + + + +/* Copy the first part of user declarations. */ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.322 2007-05-24 17:37:33 geuzaine Exp $ +// $Id: Gmsh.tab.cpp,v 1.323 2007-06-22 12:08:16 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -207,8 +386,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 79 "Gmsh.y" -typedef union { +typedef union YYSTYPE { char *c; int i; unsigned int u; @@ -217,2406 +411,2861 @@ typedef union { Shape s; List_T *l; } YYSTYPE; -#include <stdio.h> - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif +/* Line 190 of yacc.c. */ +#line 416 "Gmsh.tab.cpp" +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 #endif -#define YYFINAL 1281 -#define YYFLAG -32768 -#define YYNTBASE 147 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 380 ? yytranslate[x] : 216) - -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, 132, 2, 142, 2, 131, 2, 2, 137, - 138, 129, 127, 143, 128, 141, 130, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 123, - 2, 125, 118, 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, 136, 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, 144, 2, 145, 146, 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, 111, 112, 113, 114, 115, 116, - 117, 119, 120, 121, 122, 124, 126, 133, 134, 135 -}; +/* Copy the second part of user declarations. */ + + +/* Line 213 of yacc.c. */ +#line 428 "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) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short int yysigned_char; +#endif -#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, 204, 205, 212, 219, 221, 223, 225, 227, 229, - 231, 233, 238, 246, 256, 263, 270, 274, 281, 286, - 293, 303, 310, 320, 326, 335, 344, 356, 363, 373, - 383, 393, 395, 397, 405, 414, 424, 433, 442, 451, - 461, 470, 476, 483, 490, 497, 505, 513, 521, 531, - 539, 549, 567, 575, 583, 595, 604, 613, 622, 631, - 635, 640, 651, 659, 667, 676, 685, 694, 702, 711, - 717, 729, 735, 745, 747, 749, 751, 752, 755, 762, - 769, 776, 783, 788, 795, 802, 809, 814, 821, 825, - 830, 836, 840, 844, 849, 854, 858, 866, 874, 878, - 886, 890, 893, 896, 912, 915, 922, 931, 940, 951, - 953, 956, 958, 962, 967, 969, 975, 987, 1001, 1002, - 1010, 1011, 1025, 1026, 1042, 1043, 1050, 1051, 1062, 1071, - 1080, 1089, 1102, 1115, 1128, 1143, 1158, 1173, 1174, 1187, - 1188, 1201, 1202, 1215, 1216, 1233, 1234, 1251, 1252, 1269, - 1270, 1289, 1290, 1309, 1310, 1329, 1331, 1334, 1340, 1348, - 1358, 1361, 1371, 1378, 1388, 1398, 1407, 1417, 1426, 1435, - 1442, 1447, 1458, 1469, 1480, 1491, 1494, 1496, 1500, 1503, - 1506, 1509, 1513, 1517, 1521, 1525, 1529, 1533, 1537, 1541, - 1545, 1549, 1553, 1557, 1561, 1565, 1571, 1576, 1581, 1586, - 1591, 1596, 1601, 1606, 1611, 1616, 1621, 1628, 1633, 1638, - 1643, 1648, 1653, 1658, 1665, 1672, 1679, 1684, 1689, 1694, - 1699, 1704, 1709, 1714, 1719, 1724, 1729, 1734, 1741, 1746, - 1751, 1756, 1761, 1766, 1771, 1778, 1785, 1792, 1797, 1799, - 1801, 1803, 1805, 1807, 1809, 1811, 1813, 1819, 1824, 1829, - 1832, 1838, 1842, 1849, 1854, 1862, 1869, 1871, 1874, 1877, - 1881, 1885, 1897, 1907, 1915, 1923, 1925, 1929, 1931, 1933, - 1936, 1940, 1945, 1951, 1954, 1958, 1962, 1968, 1973, 1975, - 1977, 1979, 1983, 1990, 1992, 1994, 1998, 2002, 2012, 2020, - 2022, 2028, 2032, 2039, 2041, 2045, 2047, 2049, 2051, 2053, - 2060, 2065, 2070, 2075, 2082, 2089 +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 5 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 6735 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 147 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 70 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 357 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 1281 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 381 + +#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, 132, 2, 142, 2, 131, 2, 2, + 137, 138, 129, 127, 143, 128, 141, 130, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 123, 2, 124, 118, 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, 136, 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, 144, 2, 145, 146, 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, 111, 112, 113, 114, + 115, 116, 117, 119, 120, 121, 122, 125, 126, 133, + 134, 135 }; -static const short yyrhs[] = { 148, - 0, 1, 6, 0, 0, 148, 149, 0, 152, 0, - 151, 0, 171, 0, 173, 0, 174, 0, 177, 0, - 178, 0, 179, 0, 180, 0, 183, 0, 200, 0, - 201, 0, 202, 0, 182, 0, 181, 0, 125, 0, - 125, 125, 0, 35, 137, 5, 138, 6, 0, 35, - 137, 5, 138, 150, 214, 6, 0, 35, 137, 5, - 143, 210, 138, 6, 0, 35, 137, 5, 143, 210, - 138, 150, 214, 6, 0, 4, 5, 144, 153, 145, - 6, 0, 4, 5, 4, 205, 144, 153, 145, 6, - 0, 0, 153, 156, 0, 153, 160, 0, 153, 163, - 0, 153, 165, 0, 153, 166, 0, 153, 168, 0, - 203, 0, 154, 143, 203, 0, 203, 0, 155, 143, - 203, 0, 0, 0, 4, 157, 137, 154, 138, 158, - 144, 155, 145, 6, 0, 214, 0, 159, 143, 214, - 0, 0, 80, 137, 203, 143, 203, 143, 203, 138, - 161, 144, 159, 145, 6, 0, 214, 0, 162, 143, - 214, 0, 0, 81, 137, 203, 143, 203, 143, 203, - 143, 203, 138, 164, 144, 162, 145, 6, 0, 82, - 144, 207, 145, 144, 207, 145, 6, 0, 82, 144, - 207, 145, 144, 207, 145, 144, 207, 145, 144, 207, - 145, 6, 0, 0, 83, 167, 144, 155, 145, 6, - 0, 84, 137, 203, 138, 208, 6, 0, 7, 0, - 114, 0, 115, 0, 116, 0, 117, 0, 133, 0, - 134, 0, 4, 169, 203, 6, 0, 4, 139, 203, - 140, 169, 203, 6, 0, 4, 139, 144, 210, 145, - 140, 169, 208, 6, 0, 4, 139, 140, 7, 208, - 6, 0, 4, 139, 140, 114, 208, 6, 0, 4, - 170, 6, 0, 4, 139, 203, 140, 170, 6, 0, - 4, 7, 215, 6, 0, 4, 141, 4, 7, 215, - 6, 0, 4, 139, 203, 140, 141, 4, 7, 215, - 6, 0, 4, 141, 4, 169, 203, 6, 0, 4, - 139, 203, 140, 141, 4, 169, 203, 6, 0, 4, - 141, 4, 170, 6, 0, 4, 139, 203, 140, 141, - 4, 170, 6, 0, 4, 141, 91, 141, 4, 7, - 211, 6, 0, 4, 139, 203, 140, 141, 91, 141, - 4, 7, 211, 6, 0, 4, 141, 92, 7, 212, - 6, 0, 4, 139, 203, 140, 141, 92, 7, 212, - 6, 0, 64, 137, 4, 138, 141, 4, 7, 203, - 6, 0, 64, 137, 4, 138, 141, 4, 7, 215, - 6, 0, 203, 0, 215, 0, 43, 137, 203, 138, - 7, 205, 6, 0, 60, 43, 137, 172, 138, 7, - 208, 6, 0, 75, 43, 99, 137, 203, 138, 7, - 208, 6, 0, 102, 99, 137, 203, 138, 7, 203, - 6, 0, 104, 99, 137, 203, 138, 7, 203, 6, - 0, 100, 99, 137, 203, 138, 7, 208, 6, 0, - 107, 99, 137, 203, 138, 7, 5, 208, 6, 0, - 101, 99, 137, 203, 138, 7, 5, 6, 0, 52, - 53, 99, 208, 6, 0, 75, 43, 208, 7, 208, - 6, 0, 75, 46, 208, 7, 208, 6, 0, 52, - 53, 208, 7, 203, 6, 0, 46, 137, 203, 138, - 7, 208, 6, 0, 50, 137, 203, 138, 7, 208, - 6, 0, 44, 137, 203, 138, 7, 208, 6, 0, - 44, 137, 203, 138, 7, 208, 56, 205, 6, 0, - 45, 137, 203, 138, 7, 208, 6, 0, 45, 137, - 203, 138, 7, 208, 56, 205, 6, 0, 54, 137, - 203, 138, 7, 144, 203, 143, 203, 143, 5, 143, - 5, 143, 5, 145, 6, 0, 86, 137, 203, 138, - 7, 208, 6, 0, 87, 137, 203, 138, 7, 208, - 6, 0, 88, 137, 203, 138, 7, 208, 90, 208, - 89, 203, 6, 0, 46, 71, 137, 203, 138, 7, - 208, 6, 0, 60, 46, 137, 172, 138, 7, 208, - 6, 0, 56, 49, 137, 203, 138, 7, 208, 6, - 0, 57, 49, 137, 203, 138, 7, 208, 6, 0, - 12, 13, 6, 0, 13, 49, 203, 6, 0, 54, - 49, 137, 203, 138, 7, 5, 5, 5, 6, 0, - 47, 137, 203, 138, 7, 208, 6, 0, 48, 137, - 203, 138, 7, 208, 6, 0, 49, 71, 137, 203, - 138, 7, 208, 6, 0, 60, 49, 137, 172, 138, - 7, 208, 6, 0, 59, 51, 137, 203, 138, 7, - 208, 6, 0, 51, 137, 203, 138, 7, 208, 6, - 0, 60, 51, 137, 172, 138, 7, 208, 6, 0, - 66, 205, 144, 175, 145, 0, 65, 144, 205, 143, - 205, 143, 203, 145, 144, 175, 145, 0, 67, 205, - 144, 175, 145, 0, 68, 144, 205, 143, 203, 145, - 144, 175, 145, 0, 177, 0, 176, 0, 174, 0, - 0, 176, 173, 0, 176, 43, 144, 210, 145, 6, - 0, 176, 46, 144, 210, 145, 6, 0, 176, 49, - 144, 210, 145, 6, 0, 176, 51, 144, 210, 145, - 6, 0, 70, 144, 176, 145, 0, 70, 4, 139, - 203, 140, 6, 0, 78, 4, 139, 203, 140, 6, - 0, 79, 4, 139, 203, 140, 6, 0, 73, 144, - 176, 145, 0, 73, 4, 139, 203, 140, 6, 0, - 73, 4, 6, 0, 73, 4, 4, 6, 0, 91, - 211, 144, 176, 145, 0, 108, 214, 6, 0, 109, - 214, 6, 0, 108, 144, 176, 145, 0, 109, 144, - 176, 145, 0, 4, 215, 6, 0, 4, 4, 139, - 203, 140, 214, 6, 0, 4, 4, 4, 139, 203, - 140, 6, 0, 4, 203, 6, 0, 64, 137, 4, - 138, 141, 4, 6, 0, 85, 4, 6, 0, 98, - 6, 0, 40, 6, 0, 40, 144, 203, 143, 203, - 143, 203, 143, 203, 143, 203, 143, 203, 145, 6, - 0, 41, 6, 0, 93, 137, 203, 8, 203, 138, - 0, 93, 137, 203, 8, 203, 8, 203, 138, 0, - 93, 4, 94, 144, 203, 8, 203, 145, 0, 93, - 4, 94, 144, 203, 8, 203, 8, 203, 145, 0, - 95, 0, 107, 4, 0, 105, 0, 106, 4, 6, - 0, 96, 137, 203, 138, 0, 97, 0, 69, 205, - 144, 176, 145, 0, 69, 144, 205, 143, 205, 143, - 203, 145, 144, 176, 145, 0, 69, 144, 205, 143, - 205, 143, 205, 143, 203, 145, 144, 176, 145, 0, - 0, 69, 205, 144, 176, 184, 198, 145, 0, 0, - 69, 144, 205, 143, 205, 143, 203, 145, 144, 176, - 185, 198, 145, 0, 0, 69, 144, 205, 143, 205, - 143, 205, 143, 203, 145, 144, 176, 186, 198, 145, - 0, 0, 69, 144, 176, 187, 198, 145, 0, 0, - 69, 4, 139, 203, 140, 144, 176, 188, 198, 145, - 0, 69, 43, 144, 203, 143, 205, 145, 6, 0, - 69, 46, 144, 203, 143, 205, 145, 6, 0, 69, - 49, 144, 203, 143, 205, 145, 6, 0, 69, 43, - 144, 203, 143, 205, 143, 205, 143, 203, 145, 6, - 0, 69, 46, 144, 203, 143, 205, 143, 205, 143, - 203, 145, 6, 0, 69, 49, 144, 203, 143, 205, - 143, 205, 143, 203, 145, 6, 0, 69, 43, 144, - 203, 143, 205, 143, 205, 143, 205, 143, 203, 145, - 6, 0, 69, 46, 144, 203, 143, 205, 143, 205, - 143, 205, 143, 203, 145, 6, 0, 69, 49, 144, - 203, 143, 205, 143, 205, 143, 205, 143, 203, 145, - 6, 0, 0, 69, 43, 144, 203, 143, 205, 145, - 189, 144, 198, 145, 6, 0, 0, 69, 46, 144, - 203, 143, 205, 145, 190, 144, 198, 145, 6, 0, - 0, 69, 49, 144, 203, 143, 205, 145, 191, 144, - 198, 145, 6, 0, 0, 69, 43, 144, 203, 143, - 205, 143, 205, 143, 203, 145, 192, 144, 198, 145, - 6, 0, 0, 69, 46, 144, 203, 143, 205, 143, - 205, 143, 203, 145, 193, 144, 198, 145, 6, 0, - 0, 69, 49, 144, 203, 143, 205, 143, 205, 143, - 203, 145, 194, 144, 198, 145, 6, 0, 0, 69, - 43, 144, 203, 143, 205, 143, 205, 143, 205, 143, - 203, 145, 195, 144, 198, 145, 6, 0, 0, 69, - 46, 144, 203, 143, 205, 143, 205, 143, 205, 143, - 203, 145, 196, 144, 198, 145, 6, 0, 0, 69, - 49, 144, 203, 143, 205, 143, 205, 143, 205, 143, - 203, 145, 197, 144, 198, 145, 6, 0, 199, 0, - 198, 199, 0, 76, 144, 203, 145, 6, 0, 76, - 144, 208, 143, 208, 145, 6, 0, 76, 144, 208, - 143, 208, 143, 208, 145, 6, 0, 72, 6, 0, - 77, 137, 203, 138, 7, 208, 61, 203, 6, 0, - 58, 46, 208, 7, 203, 6, 0, 58, 46, 208, - 7, 203, 61, 63, 203, 6, 0, 58, 46, 208, - 7, 203, 61, 62, 203, 6, 0, 58, 49, 144, - 203, 145, 7, 208, 6, 0, 58, 49, 144, 203, - 145, 7, 208, 4, 6, 0, 55, 49, 144, 203, - 145, 7, 208, 6, 0, 58, 51, 144, 203, 145, - 7, 208, 6, 0, 72, 49, 208, 7, 203, 6, - 0, 72, 49, 208, 6, 0, 43, 144, 210, 145, - 94, 49, 144, 203, 145, 6, 0, 46, 144, 210, - 145, 94, 49, 144, 203, 145, 6, 0, 46, 144, - 210, 145, 94, 51, 144, 203, 145, 6, 0, 49, - 144, 210, 145, 94, 51, 144, 203, 145, 6, 0, - 74, 6, 0, 204, 0, 137, 203, 138, 0, 128, - 203, 0, 127, 203, 0, 132, 203, 0, 203, 128, - 203, 0, 203, 127, 203, 0, 203, 129, 203, 0, - 203, 130, 203, 0, 203, 131, 203, 0, 203, 136, - 203, 0, 203, 123, 203, 0, 203, 125, 203, 0, - 203, 124, 203, 0, 203, 126, 203, 0, 203, 121, - 203, 0, 203, 122, 203, 0, 203, 120, 203, 0, - 203, 119, 203, 0, 203, 118, 203, 8, 203, 0, - 14, 137, 203, 138, 0, 15, 137, 203, 138, 0, - 16, 137, 203, 138, 0, 17, 137, 203, 138, 0, - 18, 137, 203, 138, 0, 19, 137, 203, 138, 0, - 20, 137, 203, 138, 0, 21, 137, 203, 138, 0, - 22, 137, 203, 138, 0, 24, 137, 203, 138, 0, - 25, 137, 203, 143, 203, 138, 0, 26, 137, 203, - 138, 0, 27, 137, 203, 138, 0, 28, 137, 203, - 138, 0, 29, 137, 203, 138, 0, 30, 137, 203, - 138, 0, 31, 137, 203, 138, 0, 32, 137, 203, - 143, 203, 138, 0, 33, 137, 203, 143, 203, 138, - 0, 34, 137, 203, 143, 203, 138, 0, 23, 137, - 203, 138, 0, 14, 139, 203, 140, 0, 15, 139, - 203, 140, 0, 16, 139, 203, 140, 0, 17, 139, - 203, 140, 0, 18, 139, 203, 140, 0, 19, 139, - 203, 140, 0, 20, 139, 203, 140, 0, 21, 139, - 203, 140, 0, 22, 139, 203, 140, 0, 24, 139, - 203, 140, 0, 25, 139, 203, 143, 203, 140, 0, - 26, 139, 203, 140, 0, 27, 139, 203, 140, 0, - 28, 139, 203, 140, 0, 29, 139, 203, 140, 0, - 30, 139, 203, 140, 0, 31, 139, 203, 140, 0, - 32, 139, 203, 143, 203, 140, 0, 33, 139, 203, - 143, 203, 140, 0, 34, 139, 203, 143, 203, 140, - 0, 23, 139, 203, 140, 0, 3, 0, 9, 0, - 10, 0, 11, 0, 111, 0, 112, 0, 113, 0, - 4, 0, 4, 146, 144, 203, 145, 0, 4, 139, - 203, 140, 0, 142, 4, 139, 140, 0, 4, 170, - 0, 4, 139, 203, 140, 170, 0, 4, 141, 4, - 0, 4, 139, 203, 140, 141, 4, 0, 4, 141, - 4, 170, 0, 4, 139, 203, 140, 141, 4, 170, - 0, 110, 137, 5, 143, 203, 138, 0, 206, 0, - 128, 205, 0, 127, 205, 0, 205, 128, 205, 0, - 205, 127, 205, 0, 144, 203, 143, 203, 143, 203, - 143, 203, 143, 203, 145, 0, 144, 203, 143, 203, - 143, 203, 143, 203, 145, 0, 144, 203, 143, 203, - 143, 203, 145, 0, 137, 203, 143, 203, 143, 203, - 138, 0, 208, 0, 207, 143, 208, 0, 203, 0, - 209, 0, 144, 145, 0, 144, 210, 145, 0, 128, - 144, 210, 145, 0, 203, 129, 144, 210, 145, 0, - 128, 209, 0, 203, 129, 209, 0, 203, 8, 203, - 0, 203, 8, 203, 8, 203, 0, 43, 144, 203, - 145, 0, 174, 0, 177, 0, 183, 0, 4, 139, - 140, 0, 4, 139, 144, 210, 145, 140, 0, 203, - 0, 209, 0, 210, 143, 203, 0, 210, 143, 209, - 0, 144, 203, 143, 203, 143, 203, 143, 203, 145, - 0, 144, 203, 143, 203, 143, 203, 145, 0, 4, - 0, 4, 141, 91, 141, 4, 0, 144, 213, 145, - 0, 4, 139, 203, 140, 141, 92, 0, 211, 0, - 213, 143, 211, 0, 215, 0, 4, 0, 5, 0, - 42, 0, 37, 137, 214, 143, 214, 138, 0, 38, - 137, 214, 138, 0, 39, 137, 214, 138, 0, 36, - 137, 214, 138, 0, 36, 137, 214, 143, 210, 138, - 0, 36, 137, 4, 141, 4, 138, 0, 36, 137, - 4, 139, 203, 140, 141, 4, 138, 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, 207, 208, 215, 222, 224, 226, 228, + 230, 232, 234, 236, 241, 249, 259, 266, 273, 277, + 284, 289, 296, 306, 313, 323, 329, 338, 347, 359, + 366, 376, 386, 396, 398, 400, 408, 417, 427, 436, + 445, 454, 464, 473, 479, 486, 493, 500, 508, 516, + 524, 534, 542, 552, 570, 578, 586, 598, 607, 616, + 625, 634, 638, 643, 654, 662, 670, 679, 688, 697, + 705, 714, 720, 732, 738, 748, 750, 752, 754, 755, + 758, 765, 772, 779, 786, 791, 798, 805, 812, 817, + 824, 828, 833, 839, 843, 847, 852, 857, 861, 869, + 877, 881, 889, 893, 896, 899, 915, 918, 925, 934, + 943, 954, 956, 959, 961, 965, 970, 972, 978, 990, + 1004, 1005, 1013, 1014, 1028, 1029, 1045, 1046, 1053, 1054, + 1065, 1074, 1083, 1092, 1105, 1118, 1131, 1146, 1161, 1176, + 1177, 1190, 1191, 1204, 1205, 1218, 1219, 1236, 1237, 1254, + 1255, 1272, 1273, 1292, 1293, 1312, 1313, 1332, 1334, 1337, + 1343, 1351, 1361, 1364, 1374, 1381, 1391, 1401, 1410, 1420, + 1429, 1438, 1445, 1450, 1461, 1472, 1483, 1494, 1497, 1499, + 1503, 1506, 1509, 1512, 1516, 1520, 1524, 1528, 1532, 1536, + 1540, 1544, 1548, 1552, 1556, 1560, 1564, 1568, 1574, 1579, + 1584, 1589, 1594, 1599, 1604, 1609, 1614, 1619, 1624, 1631, + 1636, 1641, 1646, 1651, 1656, 1661, 1668, 1675, 1682, 1687, + 1692, 1697, 1702, 1707, 1712, 1717, 1722, 1727, 1732, 1737, + 1744, 1749, 1754, 1759, 1764, 1769, 1774, 1781, 1788, 1795, + 1800, 1802, 1804, 1806, 1808, 1810, 1812, 1814, 1816, 1822, + 1827, 1832, 1835, 1841, 1845, 1852, 1857, 1865, 1872, 1874, + 1877, 1880, 1884, 1888, 1900, 1910, 1918, 1926, 1928, 1932, + 1934, 1936, 1939, 1943, 1948, 1954, 1957, 1961, 1965, 1971, + 1976, 1978, 1980, 1982, 1986, 1993, 1995, 1997, 2001, 2005, + 2015, 2023, 2025, 2031, 2035, 2042, 2044, 2048, 2050, 2052, + 2054, 2056, 2063, 2068, 2073, 2078, 2085, 2092 }; -#endif +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short int yyrhs[] = +{ + 148, 0, -1, 149, -1, 1, 6, -1, -1, 149, + 150, -1, 153, -1, 152, -1, 172, -1, 174, -1, + 175, -1, 178, -1, 179, -1, 180, -1, 181, -1, + 184, -1, 201, -1, 202, -1, 203, -1, 183, -1, + 182, -1, 124, -1, 124, 124, -1, 35, 137, 5, + 138, 6, -1, 35, 137, 5, 138, 151, 215, 6, + -1, 35, 137, 5, 143, 211, 138, 6, -1, 35, + 137, 5, 143, 211, 138, 151, 215, 6, -1, 4, + 5, 144, 154, 145, 6, -1, 4, 5, 4, 206, + 144, 154, 145, 6, -1, -1, 154, 157, -1, 154, + 161, -1, 154, 164, -1, 154, 166, -1, 154, 167, + -1, 154, 169, -1, 204, -1, 155, 143, 204, -1, + 204, -1, 156, 143, 204, -1, -1, -1, 4, 158, + 137, 155, 138, 159, 144, 156, 145, 6, -1, 215, + -1, 160, 143, 215, -1, -1, 80, 137, 204, 143, + 204, 143, 204, 138, 162, 144, 160, 145, 6, -1, + 215, -1, 163, 143, 215, -1, -1, 81, 137, 204, + 143, 204, 143, 204, 143, 204, 138, 165, 144, 163, + 145, 6, -1, 82, 144, 208, 145, 144, 208, 145, + 6, -1, 82, 144, 208, 145, 144, 208, 145, 144, + 208, 145, 144, 208, 145, 6, -1, -1, 83, 168, + 144, 156, 145, 6, -1, 84, 137, 204, 138, 209, + 6, -1, 7, -1, 117, -1, 116, -1, 115, -1, + 114, -1, 135, -1, 134, -1, 4, 170, 204, 6, + -1, 4, 139, 204, 140, 170, 204, 6, -1, 4, + 139, 144, 211, 145, 140, 170, 209, 6, -1, 4, + 139, 140, 7, 209, 6, -1, 4, 139, 140, 117, + 209, 6, -1, 4, 171, 6, -1, 4, 139, 204, + 140, 171, 6, -1, 4, 7, 216, 6, -1, 4, + 141, 4, 7, 216, 6, -1, 4, 139, 204, 140, + 141, 4, 7, 216, 6, -1, 4, 141, 4, 170, + 204, 6, -1, 4, 139, 204, 140, 141, 4, 170, + 204, 6, -1, 4, 141, 4, 171, 6, -1, 4, + 139, 204, 140, 141, 4, 171, 6, -1, 4, 141, + 91, 141, 4, 7, 212, 6, -1, 4, 139, 204, + 140, 141, 91, 141, 4, 7, 212, 6, -1, 4, + 141, 92, 7, 213, 6, -1, 4, 139, 204, 140, + 141, 92, 7, 213, 6, -1, 64, 137, 4, 138, + 141, 4, 7, 204, 6, -1, 64, 137, 4, 138, + 141, 4, 7, 216, 6, -1, 204, -1, 216, -1, + 43, 137, 204, 138, 7, 206, 6, -1, 60, 43, + 137, 173, 138, 7, 209, 6, -1, 75, 43, 99, + 137, 204, 138, 7, 209, 6, -1, 102, 99, 137, + 204, 138, 7, 204, 6, -1, 104, 99, 137, 204, + 138, 7, 204, 6, -1, 100, 99, 137, 204, 138, + 7, 209, 6, -1, 107, 99, 137, 204, 138, 7, + 5, 209, 6, -1, 101, 99, 137, 204, 138, 7, + 5, 6, -1, 52, 53, 99, 209, 6, -1, 75, + 43, 209, 7, 209, 6, -1, 75, 46, 209, 7, + 209, 6, -1, 52, 53, 209, 7, 204, 6, -1, + 46, 137, 204, 138, 7, 209, 6, -1, 50, 137, + 204, 138, 7, 209, 6, -1, 44, 137, 204, 138, + 7, 209, 6, -1, 44, 137, 204, 138, 7, 209, + 56, 206, 6, -1, 45, 137, 204, 138, 7, 209, + 6, -1, 45, 137, 204, 138, 7, 209, 56, 206, + 6, -1, 54, 137, 204, 138, 7, 144, 204, 143, + 204, 143, 5, 143, 5, 143, 5, 145, 6, -1, + 86, 137, 204, 138, 7, 209, 6, -1, 87, 137, + 204, 138, 7, 209, 6, -1, 88, 137, 204, 138, + 7, 209, 90, 209, 89, 204, 6, -1, 46, 71, + 137, 204, 138, 7, 209, 6, -1, 60, 46, 137, + 173, 138, 7, 209, 6, -1, 56, 49, 137, 204, + 138, 7, 209, 6, -1, 57, 49, 137, 204, 138, + 7, 209, 6, -1, 12, 13, 6, -1, 13, 49, + 204, 6, -1, 54, 49, 137, 204, 138, 7, 5, + 5, 5, 6, -1, 47, 137, 204, 138, 7, 209, + 6, -1, 48, 137, 204, 138, 7, 209, 6, -1, + 49, 71, 137, 204, 138, 7, 209, 6, -1, 60, + 49, 137, 173, 138, 7, 209, 6, -1, 59, 51, + 137, 204, 138, 7, 209, 6, -1, 51, 137, 204, + 138, 7, 209, 6, -1, 60, 51, 137, 173, 138, + 7, 209, 6, -1, 66, 206, 144, 176, 145, -1, + 65, 144, 206, 143, 206, 143, 204, 145, 144, 176, + 145, -1, 67, 206, 144, 176, 145, -1, 68, 144, + 206, 143, 204, 145, 144, 176, 145, -1, 178, -1, + 177, -1, 175, -1, -1, 177, 174, -1, 177, 43, + 144, 211, 145, 6, -1, 177, 46, 144, 211, 145, + 6, -1, 177, 49, 144, 211, 145, 6, -1, 177, + 51, 144, 211, 145, 6, -1, 70, 144, 177, 145, + -1, 70, 4, 139, 204, 140, 6, -1, 78, 4, + 139, 204, 140, 6, -1, 79, 4, 139, 204, 140, + 6, -1, 73, 144, 177, 145, -1, 73, 4, 139, + 204, 140, 6, -1, 73, 4, 6, -1, 73, 4, + 4, 6, -1, 91, 212, 144, 177, 145, -1, 108, + 215, 6, -1, 109, 215, 6, -1, 108, 144, 177, + 145, -1, 109, 144, 177, 145, -1, 4, 216, 6, + -1, 4, 4, 139, 204, 140, 215, 6, -1, 4, + 4, 4, 139, 204, 140, 6, -1, 4, 204, 6, + -1, 64, 137, 4, 138, 141, 4, 6, -1, 85, + 4, 6, -1, 98, 6, -1, 40, 6, -1, 40, + 144, 204, 143, 204, 143, 204, 143, 204, 143, 204, + 143, 204, 145, 6, -1, 41, 6, -1, 93, 137, + 204, 8, 204, 138, -1, 93, 137, 204, 8, 204, + 8, 204, 138, -1, 93, 4, 94, 144, 204, 8, + 204, 145, -1, 93, 4, 94, 144, 204, 8, 204, + 8, 204, 145, -1, 95, -1, 107, 4, -1, 105, + -1, 106, 4, 6, -1, 96, 137, 204, 138, -1, + 97, -1, 69, 206, 144, 177, 145, -1, 69, 144, + 206, 143, 206, 143, 204, 145, 144, 177, 145, -1, + 69, 144, 206, 143, 206, 143, 206, 143, 204, 145, + 144, 177, 145, -1, -1, 69, 206, 144, 177, 185, + 199, 145, -1, -1, 69, 144, 206, 143, 206, 143, + 204, 145, 144, 177, 186, 199, 145, -1, -1, 69, + 144, 206, 143, 206, 143, 206, 143, 204, 145, 144, + 177, 187, 199, 145, -1, -1, 69, 144, 177, 188, + 199, 145, -1, -1, 69, 4, 139, 204, 140, 144, + 177, 189, 199, 145, -1, 69, 43, 144, 204, 143, + 206, 145, 6, -1, 69, 46, 144, 204, 143, 206, + 145, 6, -1, 69, 49, 144, 204, 143, 206, 145, + 6, -1, 69, 43, 144, 204, 143, 206, 143, 206, + 143, 204, 145, 6, -1, 69, 46, 144, 204, 143, + 206, 143, 206, 143, 204, 145, 6, -1, 69, 49, + 144, 204, 143, 206, 143, 206, 143, 204, 145, 6, + -1, 69, 43, 144, 204, 143, 206, 143, 206, 143, + 206, 143, 204, 145, 6, -1, 69, 46, 144, 204, + 143, 206, 143, 206, 143, 206, 143, 204, 145, 6, + -1, 69, 49, 144, 204, 143, 206, 143, 206, 143, + 206, 143, 204, 145, 6, -1, -1, 69, 43, 144, + 204, 143, 206, 145, 190, 144, 199, 145, 6, -1, + -1, 69, 46, 144, 204, 143, 206, 145, 191, 144, + 199, 145, 6, -1, -1, 69, 49, 144, 204, 143, + 206, 145, 192, 144, 199, 145, 6, -1, -1, 69, + 43, 144, 204, 143, 206, 143, 206, 143, 204, 145, + 193, 144, 199, 145, 6, -1, -1, 69, 46, 144, + 204, 143, 206, 143, 206, 143, 204, 145, 194, 144, + 199, 145, 6, -1, -1, 69, 49, 144, 204, 143, + 206, 143, 206, 143, 204, 145, 195, 144, 199, 145, + 6, -1, -1, 69, 43, 144, 204, 143, 206, 143, + 206, 143, 206, 143, 204, 145, 196, 144, 199, 145, + 6, -1, -1, 69, 46, 144, 204, 143, 206, 143, + 206, 143, 206, 143, 204, 145, 197, 144, 199, 145, + 6, -1, -1, 69, 49, 144, 204, 143, 206, 143, + 206, 143, 206, 143, 204, 145, 198, 144, 199, 145, + 6, -1, 200, -1, 199, 200, -1, 76, 144, 204, + 145, 6, -1, 76, 144, 209, 143, 209, 145, 6, + -1, 76, 144, 209, 143, 209, 143, 209, 145, 6, + -1, 72, 6, -1, 77, 137, 204, 138, 7, 209, + 61, 204, 6, -1, 58, 46, 209, 7, 204, 6, + -1, 58, 46, 209, 7, 204, 61, 63, 204, 6, + -1, 58, 46, 209, 7, 204, 61, 62, 204, 6, + -1, 58, 49, 144, 204, 145, 7, 209, 6, -1, + 58, 49, 144, 204, 145, 7, 209, 4, 6, -1, + 55, 49, 144, 204, 145, 7, 209, 6, -1, 58, + 51, 144, 204, 145, 7, 209, 6, -1, 72, 49, + 209, 7, 204, 6, -1, 72, 49, 209, 6, -1, + 43, 144, 211, 145, 94, 49, 144, 204, 145, 6, + -1, 46, 144, 211, 145, 94, 49, 144, 204, 145, + 6, -1, 46, 144, 211, 145, 94, 51, 144, 204, + 145, 6, -1, 49, 144, 211, 145, 94, 51, 144, + 204, 145, 6, -1, 74, 6, -1, 205, -1, 137, + 204, 138, -1, 128, 204, -1, 127, 204, -1, 132, + 204, -1, 204, 128, 204, -1, 204, 127, 204, -1, + 204, 129, 204, -1, 204, 130, 204, -1, 204, 131, + 204, -1, 204, 136, 204, -1, 204, 123, 204, -1, + 204, 124, 204, -1, 204, 126, 204, -1, 204, 125, + 204, -1, 204, 122, 204, -1, 204, 121, 204, -1, + 204, 120, 204, -1, 204, 119, 204, -1, 204, 118, + 204, 8, 204, -1, 14, 137, 204, 138, -1, 15, + 137, 204, 138, -1, 16, 137, 204, 138, -1, 17, + 137, 204, 138, -1, 18, 137, 204, 138, -1, 19, + 137, 204, 138, -1, 20, 137, 204, 138, -1, 21, + 137, 204, 138, -1, 22, 137, 204, 138, -1, 24, + 137, 204, 138, -1, 25, 137, 204, 143, 204, 138, + -1, 26, 137, 204, 138, -1, 27, 137, 204, 138, + -1, 28, 137, 204, 138, -1, 29, 137, 204, 138, + -1, 30, 137, 204, 138, -1, 31, 137, 204, 138, + -1, 32, 137, 204, 143, 204, 138, -1, 33, 137, + 204, 143, 204, 138, -1, 34, 137, 204, 143, 204, + 138, -1, 23, 137, 204, 138, -1, 14, 139, 204, + 140, -1, 15, 139, 204, 140, -1, 16, 139, 204, + 140, -1, 17, 139, 204, 140, -1, 18, 139, 204, + 140, -1, 19, 139, 204, 140, -1, 20, 139, 204, + 140, -1, 21, 139, 204, 140, -1, 22, 139, 204, + 140, -1, 24, 139, 204, 140, -1, 25, 139, 204, + 143, 204, 140, -1, 26, 139, 204, 140, -1, 27, + 139, 204, 140, -1, 28, 139, 204, 140, -1, 29, + 139, 204, 140, -1, 30, 139, 204, 140, -1, 31, + 139, 204, 140, -1, 32, 139, 204, 143, 204, 140, + -1, 33, 139, 204, 143, 204, 140, -1, 34, 139, + 204, 143, 204, 140, -1, 23, 139, 204, 140, -1, + 3, -1, 9, -1, 10, -1, 11, -1, 111, -1, + 112, -1, 113, -1, 4, -1, 4, 146, 144, 204, + 145, -1, 4, 139, 204, 140, -1, 142, 4, 139, + 140, -1, 4, 171, -1, 4, 139, 204, 140, 171, + -1, 4, 141, 4, -1, 4, 139, 204, 140, 141, + 4, -1, 4, 141, 4, 171, -1, 4, 139, 204, + 140, 141, 4, 171, -1, 110, 137, 5, 143, 204, + 138, -1, 207, -1, 128, 206, -1, 127, 206, -1, + 206, 128, 206, -1, 206, 127, 206, -1, 144, 204, + 143, 204, 143, 204, 143, 204, 143, 204, 145, -1, + 144, 204, 143, 204, 143, 204, 143, 204, 145, -1, + 144, 204, 143, 204, 143, 204, 145, -1, 137, 204, + 143, 204, 143, 204, 138, -1, 209, -1, 208, 143, + 209, -1, 204, -1, 210, -1, 144, 145, -1, 144, + 211, 145, -1, 128, 144, 211, 145, -1, 204, 129, + 144, 211, 145, -1, 128, 210, -1, 204, 129, 210, + -1, 204, 8, 204, -1, 204, 8, 204, 8, 204, + -1, 43, 144, 204, 145, -1, 175, -1, 178, -1, + 184, -1, 4, 139, 140, -1, 4, 139, 144, 211, + 145, 140, -1, 204, -1, 210, -1, 211, 143, 204, + -1, 211, 143, 210, -1, 144, 204, 143, 204, 143, + 204, 143, 204, 145, -1, 144, 204, 143, 204, 143, + 204, 145, -1, 4, -1, 4, 141, 91, 141, 4, + -1, 144, 214, 145, -1, 4, 139, 204, 140, 141, + 92, -1, 212, -1, 214, 143, 212, -1, 216, -1, + 4, -1, 5, -1, 42, -1, 37, 137, 215, 143, + 215, 138, -1, 38, 137, 215, 138, -1, 39, 137, + 215, 138, -1, 36, 137, 215, 138, -1, 36, 137, + 215, 143, 211, 138, -1, 36, 137, 4, 141, 4, + 138, -1, 36, 137, 4, 139, 204, 140, 141, 4, + 138, -1 +}; -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 145, 147, 152, 154, 157, 159, 160, 161, 162, 163, - 164, 165, 166, 167, 168, 169, 170, 171, 172, 175, - 180, 186, 192, 207, 220, 248, 256, 265, 273, 274, - 275, 276, 277, 278, 281, 284, 288, 291, 295, 486, - 504, 514, 520, 527, 535, 541, 547, 554, 562, 568, - 574, 584, 589, 593, 602, 604, 605, 606, 607, 610, - 612, 615, 650, 689, 743, 760, 778, 789, 806, 813, - 827, 844, 870, 897, 911, 928, 942, 959, 979, 1002, - 1012, 1026, 1031, 1039, 1065, 1081, 1102, 1109, 1120, 1135, - 1150, 1157, 1169, 1203, 1239, 1261, 1279, 1297, 1315, 1341, - 1359, 1385, 1405, 1429, 1453, 1479, 1496, 1515, 1533, 1571, - 1575, 1579, 1584, 1606, 1628, 1644, 1664, 1681, 1698, 1718, - 1724, 1729, 1734, 1741, 1743, 1744, 1747, 1752, 1756, 1779, - 1802, 1825, 1852, 1865, 1871, 1877, 1888, 1898, 1908, 1924, - 1942, 1956, 1963, 1969, 1978, 1991, 2042, 2057, 2072, 2092, - 2102, 2124, 2128, 2133, 2138, 2148, 2165, 2181, 2207, 2234, - 2266, 2273, 2278, 2284, 2288, 2296, 2305, 2313, 2321, 2325, - 2333, 2337, 2345, 2349, 2357, 2361, 2368, 2372, 2384, 2391, - 2398, 2405, 2412, 2419, 2426, 2433, 2440, 2447, 2451, 2458, - 2462, 2469, 2473, 2480, 2484, 2491, 2495, 2502, 2506, 2513, - 2517, 2524, 2528, 2535, 2539, 2549, 2553, 2558, 2568, 2590, - 2614, 2618, 2641, 2660, 2678, 2696, 2725, 2760, 2765, 2792, - 2806, 2824, 2831, 2837, 2840, 2848, 2858, 2860, 2861, 2862, - 2863, 2864, 2865, 2866, 2867, 2874, 2875, 2876, 2877, 2878, - 2879, 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, 2888, - 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, - 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2907, 2908, 2909, - 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, 2919, - 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2932, 2937, - 2938, 2939, 2940, 2941, 2942, 2946, 2962, 2977, 2997, 3011, - 3024, 3047, 3065, 3083, 3101, 3119, 3126, 3131, 3135, 3139, - 3143, 3149, 3154, 3158, 3162, 3168, 3174, 3181, 3187, 3191, - 3196, 3200, 3208, 3218, 3227, 3235, 3241, 3252, 3272, 3282, - 3292, 3302, 3319, 3345, 3351, 3355, 3359, 3371, 3376, 3388, - 3395, 3416, 3421, 3435, 3441, 3447, 3452, 3458, 3463, 3471, - 3479, 3493, 3507, 3511, 3530, 3552 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short int yyrline[] = +{ + 0, 146, 146, 147, 152, 154, 158, 159, 160, 161, + 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, + 172, 176, 180, 187, 192, 207, 220, 249, 256, 267, + 273, 274, 275, 276, 277, 278, 282, 284, 289, 291, + 297, 487, 296, 516, 521, 530, 529, 543, 548, 557, + 556, 570, 576, 587, 586, 595, 604, 605, 606, 607, + 608, 612, 613, 620, 651, 690, 744, 761, 779, 790, + 807, 814, 828, 845, 871, 898, 912, 929, 943, 960, + 980, 1003, 1013, 1028, 1032, 1044, 1066, 1082, 1103, 1110, + 1121, 1136, 1151, 1158, 1170, 1204, 1240, 1262, 1280, 1298, + 1316, 1342, 1360, 1386, 1406, 1430, 1454, 1480, 1497, 1516, + 1534, 1572, 1576, 1580, 1585, 1607, 1629, 1645, 1665, 1682, + 1699, 1720, 1725, 1730, 1735, 1743, 1744, 1745, 1750, 1753, + 1757, 1780, 1803, 1826, 1854, 1866, 1872, 1878, 1890, 1899, + 1909, 1925, 1944, 1958, 1964, 1970, 1979, 1993, 2043, 2058, + 2073, 2093, 2103, 2125, 2129, 2134, 2139, 2151, 2166, 2182, + 2208, 2235, 2267, 2274, 2279, 2285, 2289, 2298, 2306, 2314, + 2323, 2322, 2335, 2334, 2347, 2346, 2359, 2358, 2370, 2369, + 2385, 2392, 2399, 2406, 2413, 2420, 2427, 2434, 2441, 2449, + 2448, 2460, 2459, 2471, 2470, 2482, 2481, 2493, 2492, 2504, + 2503, 2515, 2514, 2526, 2525, 2537, 2536, 2551, 2554, 2560, + 2569, 2591, 2615, 2619, 2643, 2661, 2679, 2697, 2726, 2761, + 2766, 2793, 2807, 2826, 2832, 2838, 2841, 2850, 2860, 2861, + 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2875, 2876, 2877, + 2878, 2879, 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, + 2888, 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, + 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2906, 2908, + 2909, 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, + 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, + 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2947, 2963, 2978, + 2998, 3012, 3025, 3048, 3066, 3084, 3102, 3120, 3128, 3132, + 3136, 3140, 3144, 3151, 3155, 3159, 3163, 3170, 3175, 3183, + 3188, 3192, 3197, 3201, 3209, 3220, 3228, 3236, 3242, 3253, + 3273, 3283, 3293, 3303, 3320, 3347, 3352, 3356, 3360, 3373, + 3377, 3389, 3396, 3418, 3422, 3437, 3442, 3449, 3453, 3460, + 3464, 3472, 3480, 3494, 3508, 3512, 3531, 3553 }; #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","tEuclidian", -"tCoordinates","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","tSphere", -"tPolarSphere","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","tAttractor", -"tLayers","tHole","tAlias","tAliasWithOptions","tText2D","tText3D","tInterpolationScheme", -"tTime","tGrain","tCombine","tBSpline","tBezier","tNurbs","tOrder","tKnots", -"tColor","tColorTable","tFor","tIn","tEndFor","tIf","tEndIf","tExit","tField", -"tThreshold","tStructured","tLatLon","tGrad","tPostView","tReturn","tCall","tFunction", -"tShow","tHide","tGetValue","tGMSH_MAJOR_VERSION","tGMSH_MINOR_VERSION","tGMSH_PATCH_VERSION", -"tAFFECTPLUS","tAFFECTMINUS","tAFFECTTIMES","tAFFECTDIVIDE","'?'","tOR","tAND", -"tEQUAL","tNOTEQUAL","'<'","tLESSOREQUAL","'>'","tGREATEROREQUAL","'+'","'-'", -"'*'","'/'","'%'","'!'","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","@18","@19","ExtrudeParameters","ExtrudeParameter", -"Transfinite","Embedding","Coherence","FExpr","FExpr_Single","VExpr","VExpr_Single", -"RecursiveListOfListOfDouble","ListOfDouble","FExpr_Multi","RecursiveListOfDouble", -"ColorExpr","ListOfColor","RecursiveListOfColor","StringExprVar","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", "tEuclidian", + "tCoordinates", "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", "tSphere", "tPolarSphere", "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", "tAttractor", "tLayers", "tHole", "tAlias", + "tAliasWithOptions", "tText2D", "tText3D", "tInterpolationScheme", + "tTime", "tGrain", "tCombine", "tBSpline", "tBezier", "tNurbs", "tOrder", + "tKnots", "tColor", "tColorTable", "tFor", "tIn", "tEndFor", "tIf", + "tEndIf", "tExit", "tField", "tThreshold", "tStructured", "tLatLon", + "tGrad", "tPostView", "tReturn", "tCall", "tFunction", "tShow", "tHide", + "tGetValue", "tGMSH_MAJOR_VERSION", "tGMSH_MINOR_VERSION", + "tGMSH_PATCH_VERSION", "tAFFECTDIVIDE", "tAFFECTTIMES", "tAFFECTMINUS", + "tAFFECTPLUS", "'?'", "tOR", "tAND", "tNOTEQUAL", "tEQUAL", "'<'", "'>'", + "tGREATEROREQUAL", "tLESSOREQUAL", "'+'", "'-'", "'*'", "'/'", "'%'", + "'!'", "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", "@18", "@19", + "ExtrudeParameters", "ExtrudeParameter", "Transfinite", "Embedding", + "Coherence", "FExpr", "FExpr_Single", "VExpr", "VExpr_Single", + "RecursiveListOfListOfDouble", "ListOfDouble", "FExpr_Multi", + "RecursiveListOfDouble", "ColorExpr", "ListOfColor", + "RecursiveListOfColor", "StringExprVar", "StringExpr", 0 }; #endif -static const short yyr1[] = { 0, - 147, 147, 148, 148, 149, 149, 149, 149, 149, 149, - 149, 149, 149, 149, 149, 149, 149, 149, 149, 150, - 150, 151, 151, 151, 151, 152, 152, 153, 153, 153, - 153, 153, 153, 153, 154, 154, 155, 155, 157, 158, - 156, 159, 159, 161, 160, 162, 162, 164, 163, 165, - 165, 167, 166, 168, 169, 169, 169, 169, 169, 170, - 170, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 172, 172, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 174, - 174, 174, 174, 175, 175, 175, 176, 176, 176, 176, - 176, 176, 177, 177, 177, 177, 178, 178, 178, 178, - 179, 180, 180, 180, 180, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 182, 182, 182, 182, 182, - 182, 182, 182, 182, 182, 183, 183, 183, 184, 183, - 185, 183, 186, 183, 187, 183, 188, 183, 183, 183, - 183, 183, 183, 183, 183, 183, 183, 189, 183, 190, - 183, 191, 183, 192, 183, 193, 183, 194, 183, 195, - 183, 196, 183, 197, 183, 198, 198, 199, 199, 199, - 199, 199, 200, 200, 200, 200, 200, 200, 200, 200, - 200, 201, 201, 201, 201, 202, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 204, 204, - 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, - 204, 204, 204, 204, 204, 204, 205, 205, 205, 205, - 205, 206, 206, 206, 206, 207, 207, 208, 208, 208, - 208, 208, 208, 209, 209, 209, 209, 209, 209, 209, - 209, 209, 209, 210, 210, 210, 210, 211, 211, 211, - 211, 212, 212, 213, 213, 214, 214, 215, 215, 215, - 215, 215, 215, 215, 215, 215 +# 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, 366, 367, 368, 369, 370, 371, 372, 63, 373, + 374, 375, 376, 60, 62, 377, 378, 43, 45, 42, + 47, 37, 33, 379, 380, 381, 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, - 14, 0, 6, 6, 1, 1, 1, 1, 1, 1, - 1, 4, 7, 9, 6, 6, 3, 6, 4, 6, - 9, 6, 9, 5, 8, 8, 11, 6, 9, 9, - 9, 1, 1, 7, 8, 9, 8, 8, 8, 9, - 8, 5, 6, 6, 6, 7, 7, 7, 9, 7, - 9, 17, 7, 7, 11, 8, 8, 8, 8, 3, - 4, 10, 7, 7, 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, 0, 6, 0, 10, 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, 5, 7, 9, - 2, 9, 6, 9, 9, 8, 9, 8, 8, 6, - 4, 10, 10, 10, 10, 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, 1, 3, 1, 1, 2, - 3, 4, 5, 2, 3, 3, 5, 4, 1, 1, - 1, 3, 6, 1, 1, 3, 3, 9, 7, 1, - 5, 3, 6, 1, 3, 1, 1, 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, 147, 148, 148, 149, 149, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, + 150, 151, 151, 152, 152, 152, 152, 153, 153, 154, + 154, 154, 154, 154, 154, 154, 155, 155, 156, 156, + 158, 159, 157, 160, 160, 162, 161, 163, 163, 165, + 164, 166, 166, 168, 167, 169, 170, 170, 170, 170, + 170, 171, 171, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 172, 172, 173, 173, 174, 174, 174, 174, 174, + 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, + 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, + 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, + 174, 175, 175, 175, 175, 176, 176, 176, 177, 177, + 177, 177, 177, 177, 178, 178, 178, 178, 179, 179, + 179, 179, 180, 181, 181, 181, 181, 182, 182, 182, + 182, 182, 182, 182, 182, 182, 182, 183, 183, 183, + 183, 183, 183, 183, 183, 183, 183, 184, 184, 184, + 185, 184, 186, 184, 187, 184, 188, 184, 189, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 190, + 184, 191, 184, 192, 184, 193, 184, 194, 184, 195, + 184, 196, 184, 197, 184, 198, 184, 199, 199, 200, + 200, 200, 200, 200, 201, 201, 201, 201, 201, 201, + 201, 201, 201, 202, 202, 202, 202, 203, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, + 205, 205, 205, 205, 205, 205, 205, 205, 206, 206, + 206, 206, 206, 207, 207, 207, 207, 208, 208, 209, + 209, 209, 209, 209, 209, 210, 210, 210, 210, 210, + 210, 210, 210, 210, 210, 211, 211, 211, 211, 212, + 212, 212, 212, 213, 213, 214, 214, 215, 215, 216, + 216, 216, 216, 216, 216, 216, 216, 216 }; -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, 0, 0, 0, 160, 0, 165, 0, 0, - 0, 0, 0, 162, 0, 0, 0, 0, 4, 6, - 5, 7, 8, 9, 10, 11, 12, 13, 19, 18, - 14, 15, 16, 17, 289, 296, 348, 55, 290, 291, - 292, 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, 349, 0, 293, 294, - 295, 56, 57, 58, 59, 0, 0, 0, 60, 61, - 0, 0, 0, 0, 0, 0, 0, 227, 0, 0, - 0, 0, 153, 0, 155, 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, 307, - 0, 0, 0, 0, 0, 0, 127, 0, 0, 127, - 0, 0, 127, 226, 0, 0, 0, 0, 0, 0, - 0, 0, 340, 0, 0, 0, 0, 0, 152, 0, - 0, 0, 0, 0, 161, 0, 347, 348, 127, 0, - 346, 127, 0, 0, 0, 0, 0, 300, 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, 0, 296, 230, - 229, 231, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 67, 149, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 146, 110, - 0, 0, 0, 0, 296, 0, 0, 329, 330, 331, - 334, 335, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 318, 0, 319, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 309, 308, 0, 0, 0, - 0, 127, 127, 0, 0, 0, 0, 0, 0, 0, - 0, 175, 0, 127, 0, 0, 0, 0, 139, 0, - 0, 0, 0, 0, 0, 0, 151, 0, 0, 0, - 0, 0, 127, 0, 0, 0, 0, 0, 0, 0, - 163, 0, 0, 142, 0, 143, 0, 0, 302, 0, - 0, 0, 69, 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, 347, 0, 0, 0, 0, - 0, 0, 228, 0, 0, 0, 0, 55, 0, 0, - 0, 0, 0, 62, 0, 245, 244, 242, 243, 238, - 240, 239, 241, 233, 232, 234, 235, 236, 237, 111, - 0, 0, 0, 0, 0, 0, 229, 324, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 320, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, - 83, 0, 0, 0, 0, 0, 0, 0, 311, 310, - 126, 0, 125, 124, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 128, 0, 0, 169, - 0, 133, 221, 0, 140, 0, 137, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 164, 0, 0, 0, 0, 0, 144, 145, 0, 298, - 304, 0, 28, 39, 0, 0, 0, 52, 0, 0, - 29, 30, 31, 32, 33, 34, 247, 268, 248, 269, - 249, 270, 250, 271, 251, 272, 252, 273, 253, 274, - 254, 275, 255, 276, 267, 288, 256, 277, 0, 0, - 258, 279, 259, 280, 260, 281, 261, 282, 262, 283, - 263, 284, 0, 0, 0, 0, 0, 0, 0, 0, - 353, 0, 0, 351, 352, 0, 0, 0, 0, 0, - 55, 0, 0, 0, 0, 0, 74, 0, 0, 0, - 0, 299, 0, 22, 20, 0, 0, 0, 0, 332, - 0, 0, 326, 234, 325, 336, 337, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, - 0, 321, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 120, 122, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 206, 0, 166, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 141, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 301, 0, 297, 0, 0, 0, 0, - 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 298, 65, 66, - 0, 0, 0, 0, 0, 68, 70, 72, 0, 0, - 344, 0, 78, 246, 21, 0, 0, 0, 0, 0, - 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 322, 0, 95, 0, 0, - 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, - 0, 0, 0, 0, 0, 211, 0, 0, 176, 207, - 0, 0, 134, 220, 138, 0, 93, 94, 135, 136, - 0, 0, 0, 341, 0, 0, 0, 156, 0, 0, - 0, 0, 0, 148, 303, 147, 0, 0, 0, 0, - 0, 316, 0, 0, 257, 278, 264, 285, 265, 286, - 266, 287, 0, 355, 354, 350, 306, 0, 55, 0, - 0, 0, 0, 63, 0, 0, 0, 342, 23, 24, - 0, 0, 84, 0, 327, 0, 98, 0, 100, 0, - 0, 96, 0, 0, 113, 114, 0, 0, 97, 118, - 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 150, 0, 0, 0, 0, - 127, 177, 0, 188, 0, 190, 0, 192, 0, 0, - 0, 0, 318, 0, 0, 0, 0, 170, 0, 103, - 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 305, 27, 0, 35, 0, 0, 0, 0, 0, 37, - 0, 0, 0, 0, 0, 75, 0, 0, 76, 0, - 345, 0, 0, 333, 0, 0, 0, 106, 0, 0, - 115, 0, 0, 0, 218, 108, 109, 0, 0, 0, - 216, 219, 117, 85, 107, 116, 119, 0, 0, 0, - 315, 0, 314, 0, 0, 0, 179, 0, 0, 180, - 0, 0, 181, 0, 129, 130, 131, 132, 0, 0, - 0, 0, 0, 0, 0, 0, 339, 0, 158, 157, - 89, 91, 87, 88, 0, 40, 0, 0, 0, 317, - 0, 0, 0, 0, 0, 64, 71, 73, 0, 79, - 0, 25, 0, 0, 99, 101, 0, 0, 0, 0, - 0, 215, 214, 217, 80, 81, 127, 0, 123, 0, - 0, 0, 0, 0, 0, 0, 208, 0, 0, 127, - 0, 86, 0, 0, 0, 90, 0, 36, 0, 0, - 0, 38, 53, 54, 356, 0, 343, 0, 222, 223, - 224, 225, 112, 0, 0, 0, 313, 178, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 171, 0, 0, 338, 159, 0, 0, 0, 0, 77, - 0, 0, 121, 0, 194, 0, 0, 196, 0, 0, - 198, 0, 0, 0, 209, 0, 167, 0, 127, 105, - 0, 44, 0, 50, 0, 0, 0, 312, 182, 0, - 0, 189, 183, 0, 0, 191, 184, 0, 0, 193, - 0, 0, 0, 173, 0, 0, 0, 0, 0, 0, - 0, 200, 0, 202, 0, 204, 210, 212, 172, 168, - 0, 41, 0, 48, 0, 0, 0, 0, 185, 0, - 0, 186, 0, 0, 187, 0, 0, 0, 42, 0, - 0, 154, 0, 0, 0, 0, 0, 0, 0, 174, - 0, 0, 0, 0, 0, 195, 0, 197, 0, 199, - 0, 43, 45, 0, 46, 0, 102, 0, 0, 0, - 0, 0, 51, 201, 203, 205, 47, 49, 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, 14, 0, 6, 6, 1, 1, 1, 1, + 1, 1, 1, 4, 7, 9, 6, 6, 3, 6, + 4, 6, 9, 6, 9, 5, 8, 8, 11, 6, + 9, 9, 9, 1, 1, 7, 8, 9, 8, 8, + 8, 9, 8, 5, 6, 6, 6, 7, 7, 7, + 9, 7, 9, 17, 7, 7, 11, 8, 8, 8, + 8, 3, 4, 10, 7, 7, 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, 0, 6, 0, 10, + 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, 5, + 7, 9, 2, 9, 6, 9, 9, 8, 9, 8, + 8, 6, 4, 10, 10, 10, 10, 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, 1, 3, 1, + 1, 2, 3, 4, 5, 2, 3, 3, 5, 4, + 1, 1, 1, 3, 6, 1, 1, 3, 3, 9, + 7, 1, 5, 3, 6, 1, 3, 1, 1, 1, + 1, 6, 4, 4, 4, 6, 6, 9 }; -static const short yydefgoto[] = { 1279, - 2, 59, 666, 60, 61, 402, 983, 989, 591, 758, - 1117, 1238, 592, 1206, 1264, 593, 1240, 594, 595, 762, - 596, 125, 218, 62, 519, 547, 308, 532, 533, 309, - 66, 67, 68, 69, 70, 310, 730, 1178, 1221, 548, - 1035, 1038, 1041, 1044, 1190, 1194, 1198, 1230, 1233, 1236, - 726, 727, 72, 73, 74, 328, 128, 346, 170, 881, - 882, 330, 313, 195, 661, 792, 210, 211 +/* 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, 0, 0, 0, 161, 0, + 166, 0, 0, 0, 0, 0, 163, 0, 0, 0, + 0, 5, 7, 6, 8, 9, 10, 11, 12, 13, + 14, 20, 19, 15, 16, 17, 18, 290, 297, 349, + 56, 291, 292, 293, 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, 350, + 0, 294, 295, 296, 60, 59, 58, 57, 0, 0, + 0, 62, 61, 0, 0, 0, 0, 0, 0, 0, + 228, 0, 0, 0, 0, 154, 0, 156, 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, 308, 0, 0, 0, 0, 0, 0, 128, + 0, 0, 128, 0, 0, 128, 227, 0, 0, 0, + 0, 0, 0, 0, 0, 341, 0, 0, 0, 0, + 0, 153, 0, 0, 0, 0, 0, 162, 0, 348, + 349, 128, 0, 347, 128, 0, 0, 0, 0, 0, + 301, 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, + 0, 297, 231, 230, 232, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 68, 150, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 147, 111, 0, 0, 0, 0, 297, 0, 0, + 330, 331, 332, 335, 336, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 319, 0, 320, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 310, 309, + 0, 0, 0, 0, 128, 128, 0, 0, 0, 0, + 0, 0, 0, 0, 176, 0, 128, 0, 0, 0, + 0, 140, 0, 0, 0, 0, 0, 0, 0, 152, + 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, + 0, 0, 0, 164, 0, 0, 143, 0, 144, 0, + 0, 303, 0, 0, 0, 70, 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, 348, 0, + 0, 0, 0, 0, 0, 229, 0, 0, 0, 0, + 56, 0, 0, 0, 0, 0, 63, 0, 246, 245, + 244, 243, 239, 240, 242, 241, 234, 233, 235, 236, + 237, 238, 112, 0, 0, 0, 0, 0, 0, 230, + 325, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 321, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 83, 84, 0, 0, 0, 0, 0, 0, + 0, 312, 311, 127, 0, 126, 125, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 129, + 0, 0, 170, 0, 134, 222, 0, 141, 0, 138, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 165, 0, 0, 0, 0, 0, 145, + 146, 0, 299, 305, 0, 29, 40, 0, 0, 0, + 53, 0, 0, 30, 31, 32, 33, 34, 35, 248, + 269, 249, 270, 250, 271, 251, 272, 252, 273, 253, + 274, 254, 275, 255, 276, 256, 277, 268, 289, 257, + 278, 0, 0, 259, 280, 260, 281, 261, 282, 262, + 283, 263, 284, 264, 285, 0, 0, 0, 0, 0, + 0, 0, 0, 354, 0, 0, 352, 353, 0, 0, + 0, 0, 0, 56, 0, 0, 0, 0, 0, 75, + 0, 0, 0, 0, 300, 0, 23, 21, 0, 0, + 0, 0, 333, 0, 0, 327, 235, 326, 337, 338, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 93, 0, 322, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 121, 123, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, + 0, 167, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 142, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 302, 0, 298, 0, + 0, 0, 0, 0, 0, 0, 27, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 299, 66, 67, 0, 0, 0, 0, 0, 69, 71, + 73, 0, 0, 345, 0, 79, 247, 22, 0, 0, + 0, 0, 0, 329, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 323, 0, + 96, 0, 0, 0, 0, 0, 214, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 128, 0, 0, 0, 0, 0, 0, 0, 212, 0, + 0, 177, 208, 0, 0, 135, 221, 139, 0, 94, + 95, 136, 137, 0, 0, 0, 342, 0, 0, 0, + 157, 0, 0, 0, 0, 0, 149, 304, 148, 0, + 0, 0, 0, 0, 317, 0, 0, 258, 279, 265, + 286, 266, 287, 267, 288, 0, 356, 355, 351, 307, + 0, 56, 0, 0, 0, 0, 64, 0, 0, 0, + 343, 24, 25, 0, 0, 85, 0, 328, 0, 99, + 0, 101, 0, 0, 97, 0, 0, 114, 115, 0, + 0, 98, 119, 324, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 151, 0, + 0, 0, 0, 128, 178, 0, 189, 0, 191, 0, + 193, 0, 0, 0, 0, 319, 0, 0, 0, 0, + 171, 0, 104, 105, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 306, 28, 0, 36, 0, 0, 0, + 0, 0, 38, 0, 0, 0, 0, 0, 76, 0, + 0, 77, 0, 346, 0, 0, 334, 0, 0, 0, + 107, 0, 0, 116, 0, 0, 0, 219, 109, 110, + 0, 0, 0, 217, 220, 118, 86, 108, 117, 120, + 0, 0, 0, 316, 0, 315, 0, 0, 0, 180, + 0, 0, 181, 0, 0, 182, 0, 130, 131, 132, + 133, 0, 0, 0, 0, 0, 0, 0, 0, 340, + 0, 159, 158, 90, 92, 88, 89, 0, 41, 0, + 0, 0, 318, 0, 0, 0, 0, 0, 65, 72, + 74, 0, 80, 0, 26, 0, 0, 100, 102, 0, + 0, 0, 0, 0, 216, 215, 218, 81, 82, 128, + 0, 124, 0, 0, 0, 0, 0, 0, 0, 209, + 0, 0, 128, 0, 87, 0, 0, 0, 91, 0, + 37, 0, 0, 0, 39, 54, 55, 357, 0, 344, + 0, 223, 224, 225, 226, 113, 0, 0, 0, 314, + 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 172, 0, 0, 339, 160, 0, 0, + 0, 0, 78, 0, 0, 122, 0, 195, 0, 0, + 197, 0, 0, 199, 0, 0, 0, 210, 0, 168, + 0, 128, 106, 0, 45, 0, 51, 0, 0, 0, + 313, 183, 0, 0, 190, 184, 0, 0, 192, 185, + 0, 0, 194, 0, 0, 0, 174, 0, 0, 0, + 0, 0, 0, 0, 201, 0, 203, 0, 205, 211, + 213, 173, 169, 0, 42, 0, 49, 0, 0, 0, + 0, 186, 0, 0, 187, 0, 0, 188, 0, 0, + 0, 43, 0, 0, 155, 0, 0, 0, 0, 0, + 0, 0, 175, 0, 0, 0, 0, 0, 196, 0, + 198, 0, 200, 0, 44, 46, 0, 47, 0, 103, + 0, 0, 0, 0, 0, 52, 202, 204, 206, 48, + 50 }; -static const short yypact[] = { 3165, - 77, 3242,-32768, 2261, 96, 78, 56, -2, 157, -34, - 62, 68, -39, 133, 168, -40, 174, 184, 165, -21, - 276, 284, 319, 217, 318, 702, 237, 233, 255, 255, - 249, 263, 12, 329, 15, 397, 234, 407, 410, 411, - 269, 297, 298, 23, 41,-32768, 321,-32768, 433, 363, - 367, 370, 371,-32768, 480, 22, 10, 17,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 16, 25, 662,-32768,-32768, --32768, 40, 204, 328, 374, 409, 437, 457, 509, 522, - 526, 532, 543, 554, 566, 574, 596, 615, 622, 630, - 631, 640, 357, 373, 380, 395,-32768, 404,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 2472, 2472, 2472,-32768,-32768, - 2472, 2019, 20, 496, 2472, 498, 1165,-32768, 512, 555, - 2472, 560,-32768, 2472,-32768, 2472, 2401, 2472, 2472, 447, - 2472, 2401, 2472, 2472, 456, 2401, 2472, 2472, 1384, 461, - 2472, 387, 481, 486, 1676, 482, 493, 508, 535, 540, - 547, 565, 577, 255, 255, 255, 2472, 2472, -70,-32768, - -42, 255, 499, 562, 570, 578, 2226, 173, 517,-32768, - 1676, 58,-32768,-32768, 1540, 1676, 589, 599, 744, 2472, - 2472, 2472, 614, 2472, 618, 677, 2472, 2472,-32768, 656, - 690, 693, 709, 766,-32768, 724,-32768,-32768,-32768, 837, --32768,-32768, 860, 735, 2472, 872, 734,-32768, 255,-32768, - 871, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, - 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, - 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, - 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, - 2472, 2472, 2472, 616, 637, 637, 637, 874, 590, 745, - 745, 745, 5465, 18, 2401, 3253, 381, 754, 889, 760, - 1310,-32768,-32768, 2472, 2472, 2472, 2472, 2472, 2472, 2472, - 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472,-32768,-32768, - 1348, 159, 3998, 5486, 593, 756, 2401,-32768,-32768,-32768, - 1411,-32768, 394, 5507, 5528, 2472, 5549, 470, 5570, 5591, - 2472, 519, 5612, 5633, 1676, 1812, 1239, 1603, 895,-32768, - 2472, 5654, 2472, 2472, 2472, 896, 2472, 2472, 2472, 2531, - 2531, 2531, 2531, 768, 325,-32768,-32768, 4024, 4050, 255, - 255, 642, 642, 350, 2472, 2472, 2472, 2472, 2226, 2226, - 2472, 3310, 400,-32768, 2472, 974, 93, 898,-32768, 2472, - 2574, 770, 901, 903, 2472, 2472,-32768, 5675, 5696, 5717, - 820, 4076,-32768, 771, 1739, 5738, 2472, 2472, 2472, 2472, --32768, 2472, 2639,-32768, 2704,-32768, 2472, 4752, -73, 2472, - 315, 8,-32768, 5759, 4775, 5780, 4798, 5801, 4821, 5822, - 4844, 5843, 4867, 5864, 4890, 5885, 4913, 5906, 4936, 5927, - 4959, 5948, 4982, 5969, 5005, 4102, 4128, 5990, 5028, 6011, - 5051, 6032, 5074, 6053, 5097, 6074, 5120, 6095, 5143, 4154, - 4180, 4206, 4232, 4258, 4284, 362, 177, 769, 776, 778, - 774, 2472,-32768, 1676, 1676, 552, 358, 662, 2472, 912, - 915, 26, 782,-32768, 1875, 762, 867, 711, 711, 613, - 613, 613, 613, 558, 558, 745, 745, 745, 745,-32768, - 1, 2401, 2472, 916, 2084, 2472, 745,-32768, 2472, 2401, - 2401, 830, 919, 920, 6116, 921, 835, 923, 924, 6137, - 838, 926, 929, 931, 2401,-32768, 635, 1948, 2472, 6158, - 932, 1467, 6179, 6200, 2472, 3062, 3384, 6221, 802, 6599, --32768, 803, 804, 805, 806, 255, 2472, 2472,-32768,-32768, --32768, 800, 3310,-32768, 801, 2472, 5166, 4310, 4336, 4362, - 3972, 38, -36, 2, 73, 852,-32768, -7, 255, 2769, - 5189,-32768,-32768, 2472,-32768, 5212,-32768, 2472, 1676, 1676, - 5235, 5258, 945, 947, 948, 815, 2472, 2834, 2472, 2472, --32768, 6242, 6263, 6284, 6305, 6326,-32768,-32768, 5281, 39, --32768, 3412,-32768,-32768, 822, 823, 813,-32768, 824, 957, --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, 2472, 2472, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 976, --32768, 2401, 637,-32768,-32768, 2472, 5304, 975, 979, 859, --32768, 32, 2472, 995, 996, 1502,-32768, 997, 866, 23, - 1000,-32768, 2472,-32768, 883, 637, 207, 4388, 255,-32768, - 2401, 3440, 3011, 745,-32768, 1411,-32768, 960, 1676, 1676, - 1003, 1676, 733, 1676, 1676, 1005, 962, 1676, 1676,-32768, - 643,-32768, 2401, 1638, 1007, 888, 1008, 1009, 1020, 848, - 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1038, 402, 4414, - 4440,-32768,-32768, 3468, 899, 255, 255, 255, 2401, 2401, - 2401, 2401, 1039, 900, 909, -38,-32768, 429,-32768, -7, - 1041, 1774, 1042, 6347, 1045, 1046, 1048, 1050, 1676, 1676, - 1676, 1053, 4466,-32768, 3032, 1078, 1051, 1052, 1056, 1058, - 1059, 1061, 1064,-32768, 1065,-32768, 13, 933, 2472, 2472, - 1676, 928, 2472,-32768, 6368, 5327, 6389, 5350, 6410, 5373, - 6431, 5396, 5419, 935, 223, 939, 6452, -62,-32768,-32768, - 99, 454, 938, 1073, 2048,-32768,-32768,-32768, 23, 2472, --32768, 646,-32768, 6599,-32768, 1076, 35, 2472, 57, 647, --32768, 2472, 944, 61, 81, 1676, 1085, 951, 952, 1086, - 1091, 1676, 955, 1095, 1097,-32768, 651,-32768, 1100, 2472, - 1676, 1676, 1676,-32768, 89, 1676, 1676, 1676, 1676, 1676, - 1676, 1676, 272, 2472, 2472, 2472, 963,-32768, -77, 171, - 274, 655, 673, 676, 679,-32768, 1676, 2472,-32768,-32768, - 2226, 53,-32768,-32768,-32768, 1099,-32768,-32768,-32768,-32768, - 1103, 1105, 1022,-32768, 2472, 2472, 2472,-32768, 1676, 1108, - 2472, 2472, 1109,-32768, -73,-32768, 1112, 2472, 4492, 4518, - 680,-32768, 2472, 6473,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768, 980,-32768,-32768,-32768,-32768, 1676, 662, 2472, - 1114, 1111, 26,-32768, 1116, 5442, 23,-32768,-32768,-32768, - 637, 4544,-32768, 983, 6599, 2472,-32768, 255,-32768, 255, - 1118,-32768, 2472, 2472,-32768,-32768, 1120, 2472,-32768,-32768, --32768, 1122, 4570, 1123, 1124, 1125, 2472, 2472, 779, 1126, - 1128, 1129, 1130, 1131, 1132,-32768, 2531, 3496, 6494, 3300, - 642, 3310, 255, 1133, 255, 1134, 255, 1135, 1136, 1137, - 1141, 1142, 302, 985, 6515, 3524, 435,-32768, 1676,-32768, --32768, 1676, 3328, 684, 6536, 1143, 1145, 2186, 2327, 1676, --32768,-32768, 267, 6599, 2472, 2472, 1676, 1010, 683, 6599, - 1676, 1151, 1150, 1152, 2582,-32768, 1153, 1155,-32768, 1016, --32768, 1156, 2472,-32768, 3552, 74, 76,-32768, 3580, 3608, --32768, 3636, 1154, 2472,-32768,-32768,-32768, 2647, 2842, 1158, --32768,-32768,-32768,-32768,-32768,-32768,-32768, 2907, 1161, 1024, --32768, 2472,-32768, 1025, -7, 452,-32768, 1035, 476,-32768, - 1037, 479,-32768, 1040,-32768,-32768,-32768,-32768, 1166, 1676, - 1167, 1044, 2472, 1169, 1087, 2472,-32768, 2472,-32768,-32768, --32768,-32768,-32768,-32768, 1171,-32768, 2472, 4596, 4622,-32768, - 1676, 2472, 1172, 1176, 1054,-32768,-32768,-32768, 23,-32768, - 1094,-32768, 4648, 1184,-32768,-32768, 1185, 1188, 1204, 1206, - 4674,-32768,-32768,-32768,-32768,-32768, 642, 3356,-32768, 197, - 2226, -7, 2226, -7, 2226, -7,-32768, 706, 1676,-32768, - 3664,-32768, 2472, 3692, 3720,-32768, 1071, 6599, 2472, 2472, - 707, 6599,-32768,-32768,-32768, 1212,-32768, 2472,-32768,-32768, --32768,-32768,-32768, 1214, 1075, 2472,-32768,-32768, 3748, 484, - 199, 3776, 497, 231, 3804, 501, 250, 1676, 1215, 1162, - 2899, 1080, 2969,-32768,-32768, 2472, 6557, 4700, 27,-32768, - 4726, 1079,-32768, 3832, 1219, 2472, 1223, 1224, 2472, 1232, - 1233, 2472, 1234, 1096,-32768, 2472,-32768, -7,-32768,-32768, - 712,-32768, 2472,-32768, 1676, 2472, 1240,-32768,-32768, 1102, - 3860,-32768,-32768, 1107, 3888,-32768,-32768, 1168, 3916,-32768, - 1238, 2992, 303, 2964, 1241, 1170, 6578, 713, 3944, 1138, - -7, 1269, -7, 1270, -7, 1271,-32768,-32768,-32768,-32768, - -7,-32768, 637,-32768, 1175, 1272, 1274, 336,-32768, 1177, - 364,-32768, 1178, 378,-32768, 1179, 413, 722,-32768, 1180, - 1676,-32768, 1157, 1291, -7, 1292, -7, 1293, -7,-32768, - 637, 1294, 637, 727, 1304,-32768, 444,-32768, 525,-32768, - 533,-32768,-32768, 728,-32768, 1305,-32768, 1307, 1309, 1314, - 637, 1319,-32768,-32768,-32768,-32768,-32768,-32768, 1280, 1326, --32768 +/* YYDEFGOTO[NTERM-NUM]. */ +static const short int yydefgoto[] = +{ + -1, 2, 3, 61, 668, 62, 63, 404, 985, 991, + 593, 760, 1119, 1240, 594, 1208, 1266, 595, 1242, 596, + 597, 764, 598, 127, 220, 64, 521, 549, 310, 534, + 535, 311, 68, 69, 70, 71, 72, 312, 732, 1180, + 1223, 550, 1037, 1040, 1043, 1046, 1192, 1196, 1200, 1232, + 1235, 1238, 728, 729, 74, 75, 76, 330, 130, 348, + 172, 883, 884, 332, 315, 197, 663, 794, 212, 213 }; -static const short yypgoto[] = {-32768, --32768,-32768, 530,-32768,-32768, 746,-32768, 172,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768, -274, 19,-32768, 103, 1328, 7, -351, -172, 11, --32768,-32768,-32768,-32768,-32768, 1329,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -564, -684,-32768,-32768,-32768, -3,-32768, 232,-32768, -1065, - 405, 44, 54, -642, 431,-32768, -58, 6 +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -1068 +static const short int yypact[] = +{ + 3165, 37, 47, 3242, -1068, -1068, 2261, 12, 21, -53, + -2, 74, 36, 55, 65, -39, 160, 185, -20, 188, + 192, 46, -16, 104, 161, 292, 330, 352, 627, 280, + 287, -52, -52, 323, 373, 11, 375, 18, 454, 253, + 467, 473, 477, 347, 354, 362, 19, 20, -1068, 372, + -1068, 514, 430, 437, 451, 460, -1068, 536, 27, 16, + 23, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, 15, 22, + 35, -1068, -1068, -1068, 140, 169, 205, 320, 329, 339, + 405, 409, 426, 440, 464, 487, 503, 525, 535, 546, + 550, 570, 573, 603, 610, 416, 433, 439, 443, -1068, + 465, -1068, -1068, -1068, -1068, -1068, -1068, -1068, 2472, 2472, + 2472, -1068, -1068, 2472, 2019, 112, 615, 2472, 622, 1165, + -1068, 631, 635, 2472, 609, -1068, 2472, -1068, 2472, 2401, + 2472, 2472, 483, 2472, 2401, 2472, 2472, 507, 2401, 2472, + 2472, 1384, 512, 2472, 515, 528, 529, 1676, 531, 544, + 563, 576, 577, 583, 595, 700, -52, -52, -52, 2472, + 2472, 189, -1068, 222, -52, 597, 600, 611, 618, 2226, + 247, 602, -1068, 1676, 31, -1068, -1068, 1540, 1676, 638, + 654, 742, 2472, 2472, 2472, 644, 2472, 656, 703, 2472, + 2472, -1068, 693, 705, 706, 709, 809, -1068, 710, -1068, + -1068, -1068, 823, -1068, -1068, 843, 711, 2472, 847, 708, + -1068, -52, -1068, 849, 2472, 2472, 2472, 2472, 2472, 2472, + 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, + 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, + 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, + 2472, 2472, 2472, 2472, 2472, 2472, 397, 557, 557, 557, + 851, 560, 721, 721, 721, 5465, 29, 2401, 3253, 291, + 717, 854, 726, 1310, -1068, -1068, 2472, 2472, 2472, 2472, + 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, 2472, + 2472, -1068, -1068, 1348, -97, 3998, 5486, 604, 722, 2401, + -1068, -1068, -1068, 1411, -1068, 278, 5507, 5528, 2472, 5549, + 387, 5570, 5591, 2472, 608, 5612, 5633, 1676, 1812, 1239, + 1603, 860, -1068, 2472, 5654, 2472, 2472, 2472, 863, 2472, + 2472, 2472, 2531, 2531, 2531, 2531, 733, 388, -1068, -1068, + 4024, 4050, -52, -52, 614, 614, 429, 2472, 2472, 2472, + 2472, 2226, 2226, 2472, 3310, 441, -1068, 2472, 947, 60, + 866, -1068, 2472, 2574, 736, 867, 870, 2472, 2472, -1068, + 5675, 5696, 5717, 787, 4076, -1068, 735, 1739, 5738, 2472, + 2472, 2472, 2472, -1068, 2472, 2639, -1068, 2704, -1068, 2472, + 4752, 180, 2472, 255, 7, -1068, 5759, 4775, 5780, 4798, + 5801, 4821, 5822, 4844, 5843, 4867, 5864, 4890, 5885, 4913, + 5906, 4936, 5927, 4959, 5948, 4982, 5969, 5005, 4102, 4128, + 5990, 5028, 6011, 5051, 6032, 5074, 6053, 5097, 6074, 5120, + 6095, 5143, 4154, 4180, 4206, 4232, 4258, 4284, 613, -57, + 752, 758, 760, 757, 2472, -1068, 1676, 1676, 616, 186, + 35, 2472, 896, 899, 25, 765, -1068, 1875, 1200, 1217, + 598, 598, 367, 367, 367, 367, 567, 567, 721, 721, + 721, 721, -1068, 1, 2401, 2472, 900, 2084, 2472, 721, + -1068, 2472, 2401, 2401, 816, 904, 905, 6116, 907, 821, + 909, 910, 6137, 824, 912, 915, 917, 2401, -1068, 624, + 1948, 2472, 6158, 919, 1467, 6179, 6200, 2472, 3062, 3384, + 6221, 768, 6599, -1068, 786, 789, 790, 788, -52, 2472, + 2472, -1068, -1068, -1068, 785, 3310, -1068, 791, 2472, 5166, + 4310, 4336, 4362, 3972, 38, -7, 52, 136, 832, -1068, + 141, -52, 2769, 5189, -1068, -1068, 2472, -1068, 5212, -1068, + 2472, 1676, 1676, 5235, 5258, 925, 926, 930, 797, 2472, + 2834, 2472, 2472, -1068, 6242, 6263, 6284, 6305, 6326, -1068, + -1068, 5281, 64, -1068, 3412, -1068, -1068, 802, 803, 798, + -1068, 804, 939, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, 2472, 2472, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, 2472, 2472, 2472, 2472, 2472, + 2472, 2472, 942, -1068, 2401, 557, -1068, -1068, 2472, 5304, + 941, 945, 813, -1068, 123, 2472, 948, 949, 1502, -1068, + 950, 817, 19, 955, -1068, 2472, -1068, 839, 557, 133, + 4388, -52, -1068, 2401, 3440, 3011, 721, -1068, 1411, -1068, + 931, 1676, 1676, 974, 1676, 719, 1676, 1676, 978, 935, + 1676, 1676, -1068, 629, -1068, 2401, 1638, 980, 844, 982, + 995, 998, 848, 1001, 1002, 1003, 1006, 1007, 1008, 1009, + 1013, 461, 4414, 4440, -1068, -1068, 3468, 874, -52, -52, + -52, 2401, 2401, 2401, 2401, 1014, 875, 884, -38, -1068, + 470, -1068, 141, 1017, 1774, 1018, 6347, 1019, 1020, 1021, + 1022, 1676, 1676, 1676, 1026, 4466, -1068, 3032, 1078, 1024, + 1025, 1029, 1030, 1031, 1033, 1036, -1068, 1035, -1068, 13, + 906, 2472, 2472, 1676, 898, 2472, -1068, 6368, 5327, 6389, + 5350, 6410, 5373, 6431, 5396, 5419, 908, 252, 914, 6452, + 279, -1068, -1068, 152, 358, 903, 1038, 2048, -1068, -1068, + -1068, 19, 2472, -1068, 630, -1068, 6599, -1068, 1050, 8, + 2472, 44, 633, -1068, 2472, 913, 73, 145, 1676, 1052, + 916, 918, 1053, 1055, 1676, 921, 1057, 1060, -1068, 637, + -1068, 1062, 2472, 1676, 1676, 1676, -1068, 306, 1676, 1676, + 1676, 1676, 1676, 1676, 1676, 599, 2472, 2472, 2472, 924, + -1068, 284, 319, 400, 641, 645, 646, 649, -1068, 1676, + 2472, -1068, -1068, 2226, -28, -1068, -1068, -1068, 1063, -1068, + -1068, -1068, -1068, 1065, 1066, 983, -1068, 2472, 2472, 2472, + -1068, 1676, 1069, 2472, 2472, 1070, -1068, 180, -1068, 1071, + 2472, 4492, 4518, 653, -1068, 2472, 6473, -1068, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, 937, -1068, -1068, -1068, -1068, + 1676, 35, 2472, 1073, 1072, 25, -1068, 1074, 5442, 19, + -1068, -1068, -1068, 557, 4544, -1068, 951, 6599, 2472, -1068, + -52, -1068, -52, 1075, -1068, 2472, 2472, -1068, -1068, 1076, + 2472, -1068, -1068, -1068, 1083, 4570, 1089, 1090, 1091, 2472, + 2472, 812, 1093, 1095, 1097, 1099, 1100, 1101, -1068, 2531, + 3496, 6494, 3300, 614, 3310, -52, 1103, -52, 1105, -52, + 1106, 1107, 1108, 1109, 1112, 683, 976, 6515, 3524, 482, + -1068, 1676, -1068, -1068, 1676, 3328, 763, 6536, 1114, 1115, + 2186, 2327, 1676, -1068, -1068, 272, 6599, 2472, 2472, 1676, + 979, 677, 6599, 1676, 1118, 1120, 1121, 2582, -1068, 1117, + 1122, -1068, 988, -1068, 1124, 2472, -1068, 3552, 51, 57, + -1068, 3580, 3608, -1068, 3636, 1126, 2472, -1068, -1068, -1068, + 2647, 2842, 1128, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + 2907, 1129, 992, -1068, 2472, -1068, 987, 141, 484, -1068, + 993, 495, -1068, 994, 518, -1068, 996, -1068, -1068, -1068, + -1068, 1133, 1676, 1134, 999, 2472, 1136, 1058, 2472, -1068, + 2472, -1068, -1068, -1068, -1068, -1068, -1068, 1142, -1068, 2472, + 4596, 4622, -1068, 1676, 2472, 1143, 1145, 1016, -1068, -1068, + -1068, 19, -1068, 1064, -1068, 4648, 1149, -1068, -1068, 1151, + 1152, 1153, 1154, 4674, -1068, -1068, -1068, -1068, -1068, 614, + 3356, -1068, 32, 2226, 141, 2226, 141, 2226, 141, -1068, + 678, 1676, -1068, 3664, -1068, 2472, 3692, 3720, -1068, 1023, + 6599, 2472, 2472, 681, 6599, -1068, -1068, -1068, 1155, -1068, + 2472, -1068, -1068, -1068, -1068, -1068, 1157, 1027, 2472, -1068, + -1068, 3748, 520, 198, 3776, 524, 233, 3804, 526, 235, + 1676, 1158, 1113, 2899, 1032, 2969, -1068, -1068, 2472, 6557, + 4700, 24, -1068, 4726, 1034, -1068, 3832, 1162, 2472, 1164, + 1169, 2472, 1172, 1173, 2472, 1175, 1037, -1068, 2472, -1068, + 141, -1068, -1068, 682, -1068, 2472, -1068, 1676, 2472, 1179, + -1068, -1068, 1042, 3860, -1068, -1068, 1044, 3888, -1068, -1068, + 1046, 3916, -1068, 1185, 2992, 316, 2964, 1186, 1068, 6578, + 691, 3944, 1051, 141, 1204, 141, 1209, 141, 1212, -1068, + -1068, -1068, -1068, 141, -1068, 557, -1068, 1077, 1213, 1215, + 366, -1068, 1079, 368, -1068, 1080, 376, -1068, 1081, 378, + 692, -1068, 1085, 1676, -1068, 1094, 1216, 141, 1224, 141, + 1232, 141, -1068, 557, 1234, 557, 695, 1235, -1068, 393, + -1068, 413, -1068, 442, -1068, -1068, 696, -1068, 1238, -1068, + 1240, 1241, 1245, 557, 1269, -1068, -1068, -1068, -1068, -1068, + -1068 }; - -#define YYLAST 6735 - - -static const short yytable[] = { 213, - 127, 535, 459, 133, 362, 1121, 664, 366, 64, 129, - 371, 584, 65, 207, 208, 179, 584, 791, 182, 214, - 207, 208, 126, 277, 454, 205, 193, 150, 219, 659, - 145, 140, 1184, 723, 140, 782, 393, 724, 725, 395, - 910, 850, 207, 208, 196, 103, 104, 105, 106, 350, - 351, 107, 103, 104, 105, 106, 350, 351, 107, 119, - 120, 368, 913, 369, 723, 953, 917, 954, 724, 725, - 119, 120, 145, 352, 103, 104, 105, 106, 753, 1085, - 107, 1086, 3, 221, 350, 351, 919, 585, 586, 587, - 588, 589, 585, 586, 587, 588, 589, 141, 553, 554, - 141, 353, 136, 146, 142, 651, 849, 720, 130, 137, - 278, 279, 270, 271, 272, 151, 918, 273, 276, 1208, - 206, 281, 783, 784, 723, 665, 131, 301, 724, 725, - 303, 455, 304, 311, 314, 315, 920, 317, 311, 319, - 320, 134, 311, 323, 324, 721, 905, 332, 119, 120, - 937, 938, 590, 209, 215, 180, 216, 877, 183, 665, - 212, 217, 135, 348, 349, 852, 194, 850, 220, 660, - 1185, 119, 120, 349, 136, 1254, 222, 197, 223, 753, - 312, 719, 653, 350, 351, 312, 378, 379, 380, 312, - 382, 550, 132, 385, 386, 318, 370, 968, 138, 322, - 350, 351, 350, 351, 139, 447, 448, 449, 450, 148, - 568, 398, 112, 113, 114, 115, 722, 149, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, - 169, 171, 155, 178, 1001, 156, 173, 157, 723, 143, - 723, 311, 724, 725, 724, 725, 185, 946, 947, 186, - 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, - 475, 476, 477, 478, 479, 460, 481, 350, 351, 350, - 351, 482, 723, 487, 144, 174, 724, 725, 175, 489, - 147, 176, 495, 955, 641, 956, 364, 500, 312, 642, - 148, 723, 487, 311, 152, 724, 725, 510, 456, 512, - 513, 514, 153, 516, 517, 518, 520, 520, 520, 520, - 224, 1138, 225, 1167, 797, 521, 521, 521, 521, 491, - 488, 537, 538, 539, 540, 270, 271, 541, 531, 531, - 895, 551, 534, 534, 651, 491, 556, 154, 158, 488, - 312, 561, 562, 163, 723, 1170, 164, 181, 724, 725, - 507, 165, 166, 572, 573, 574, 575, 458, 576, 165, - 166, 167, 172, 579, 1173, 345, 582, 347, 168, 167, - 350, 351, 184, 354, 1066, 190, 177, 723, 363, 1067, - 187, 724, 725, 188, 189, 850, 957, 581, 958, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 508, 296, 297, 191, 192, 723, 1126, 298, 199, 724, - 725, 350, 351, 522, 523, 524, 1049, 1219, 647, 723, - 401, 350, 351, 724, 725, 656, 850, 198, 583, 850, - 899, 200, 850, 655, 226, 201, 227, 526, 202, 203, - 1100, 112, 113, 114, 115, 654, 350, 351, 311, 668, - 1244, 647, 672, 204, 723, 673, 674, 676, 724, 725, - 119, 120, 536, 264, 112, 113, 114, 115, 652, 280, - 639, 311, 640, 282, 674, 694, 898, 900, 1246, 265, - 228, 700, 229, 119, 120, 723, 266, 299, 850, 724, - 725, 755, 1248, 710, 711, 312, 350, 351, 350, 351, - 333, 267, 714, 675, 677, 667, 491, 1141, 492, 1144, - 268, 1147, 549, 850, 834, 230, 850, 231, 312, 850, - 732, 675, 850, 329, 734, 350, 351, 1250, 691, 336, - 300, 350, 351, 743, 302, 745, 746, 112, 113, 114, - 115, 851, 850, 232, 850, 233, 850, 1053, 350, 351, - 344, 529, 530, 316, 776, 367, 119, 120, 1268, 373, - 374, 347, 321, 234, 1101, 235, 723, 331, 754, 1034, - 724, 725, 350, 351, 723, 350, 351, 796, 724, 725, - 350, 351, 491, 1203, 497, 765, 766, 334, 1103, 446, - 208, 1105, 335, 350, 351, 337, 1166, 350, 351, 767, - 768, 769, 770, 771, 772, 773, 338, 355, 311, 1169, - 207, 208, 777, 1172, 339, 236, 1228, 237, 1231, 785, - 1234, 103, 104, 105, 106, 365, 1237, 107, 238, 794, - 239, 491, 240, 501, 241, 952, 208, 311, 242, 1269, - 243, 340, 103, 104, 105, 106, 341, 1270, 107, 244, - 1257, 245, 1259, 342, 1261, 312, 295, 296, 297, 311, - 246, 1058, 247, 298, 491, 775, 650, 103, 104, 105, - 106, 343, 248, 107, 249, 356, 28, 29, 30, 31, - 250, 33, 251, 357, 312, 311, 311, 311, 311, 38, - 39, 358, 119, 120, 800, 119, 120, 375, 452, 504, - 216, 485, 252, 216, 253, 217, 312, 376, 217, 293, - 294, 295, 296, 297, 159, 1135, 817, 160, 298, 377, - 161, 254, 162, 255, 381, 879, 880, 709, 256, 884, - 257, 383, 312, 312, 312, 312, 258, 260, 259, 261, - 384, 391, 842, 843, 844, 845, 262, 491, 263, 692, - 728, 808, 1020, 809, 1021, 491, 906, 816, 907, 491, - 908, 914, 387, 491, 912, 931, 754, 491, 915, 959, - 901, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 491, 933, 960, 491, 298, - 961, 491, 987, 962, 988, 1072, 388, 1073, 1059, 389, - 948, 949, 950, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 394, 963, 965, 390, 298, 966, 1148, 987, - 1149, 1159, 1002, 824, 1072, 987, 1205, 1225, 648, 649, - 392, 973, 974, 975, 1251, 396, 1252, 978, 979, 987, - 1271, 1266, 1272, 397, 984, 399, 403, 400, 451, 990, - 298, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 981, 461, 462, 995, 298, 463, 486, - 799, 509, 515, 555, 994, 525, 558, 559, 825, 560, - 566, 643, 1005, 644, 569, 645, 646, 657, 658, 1009, - 1010, 662, 669, 678, 1012, 679, 680, 682, 683, 684, - 685, 687, 688, 1018, 1019, 689, 690, 1151, 696, 704, - 705, 706, 707, 1028, 712, 713, 708, 839, 840, 841, - 206, 739, 1029, 740, 741, 742, 761, 531, 759, 760, - 763, 534, 764, 735, 736, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 774, - 779, 1068, 1069, 298, 780, 5, 6, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 781, 1083, - 786, 787, 298, 789, 790, 793, 1204, 795, 803, 806, - 1091, 812, 813, 819, 821, 822, 542, 11, 12, 543, - 14, 15, 544, 17, 545, 19, 823, 20, 1098, 22, - 23, 820, 25, 26, 826, 827, 828, 829, 830, 831, - 832, 833, 838, 847, 846, 848, 853, 855, 37, 1111, - 857, 858, 1114, 859, 1115, 860, 864, 869, 870, 41, - 42, 43, 871, 1118, 872, 873, 874, 875, 1122, 878, - 876, 883, 894, 50, 51, 52, 896, 53, 902, 903, - 546, 909, 967, 804, 805, 867, 807, 916, 810, 811, - 922, 925, 814, 815, 923, 924, 926, 1139, 928, 1142, - 929, 1145, 930, 531, 932, 969, 951, 534, 970, 1153, - 971, 972, 977, 980, 997, 1157, 1158, 982, 552, 996, - 992, 999, 1004, 1008, 1161, 1011, 1013, 1050, 1015, 1016, - 1017, 1022, 1164, 1023, 1024, 1025, 1026, 1027, 1037, 1040, - 1043, 1045, 1046, 861, 862, 863, 1047, 1048, 1061, 1006, - 1062, 1007, 990, 1071, 1075, 1076, 1081, 1077, 1090, 1079, - 1080, 1082, 1191, 1094, 1239, 1195, 1096, 1097, 1199, 1099, - 283, 1107, 1202, 1109, 1112, 1113, 1116, 1123, 1102, 1207, - 1104, 1124, 1209, 1106, 1036, 1127, 1039, 1110, 1042, 1129, - 1130, 1125, 1262, 1131, 1265, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 1132, - 921, 1133, 1277, 298, 1156, 868, 927, 1160, 1162, 1163, - 1175, 1187, 1176, 1179, 1189, 934, 935, 936, 1192, 1193, - 939, 940, 941, 942, 943, 944, 945, 1196, 1197, 1200, - 1201, 75, 305, 1217, 1210, 1211, 1222, 79, 80, 81, - 1213, 964, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 976, 1229, 1232, 1235, 1242, 1243, 1280, - 1227, 306, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 1256, 1258, 1260, 1263, - 298, 1255, 993, 28, 29, 30, 31, 32, 33, 1267, - 1273, 1215, 1274, 1223, 1275, 464, 38, 39, 1241, 1276, - 1245, 1247, 1249, 1253, 1278, 1281, 911, 1181, 757, 63, - 71, 0, 1140, 998, 1143, 0, 1146, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 108, 109, - 110, 111, 0, 480, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 116, 307, 0, 0, 0, - 118, 0, 0, 1054, 0, 121, 1055, 0, 0, 0, - 124, 0, 0, 506, 1065, 0, 75, 305, 0, 0, - 0, 1070, 79, 80, 81, 1074, 0, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 489, 0, - 0, 0, 0, 0, 0, 0, 306, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 28, 29, - 30, 31, 32, 33, 1108, 0, 0, 0, 0, 0, - 0, 38, 39, 0, 0, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 325, 298, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 108, 109, 110, 111, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 788, 0, 0, - 116, 326, 0, 1150, 0, 118, 0, 0, 0, 0, - 121, 0, 0, 0, 0, 124, 0, 327, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 490, - 296, 297, 75, 305, 0, 0, 298, 0, 79, 80, - 81, 0, 1174, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 0, 0, 0, 0, 0, 0, - 0, 0, 306, 0, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 28, 29, 30, 31, 32, 33, - 489, 697, 0, 0, 0, 0, 0, 38, 39, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 372, 0, - 0, 0, 0, 818, 0, 0, 0, 0, 0, 108, - 109, 110, 111, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 116, 326, 0, 0, - 0, 118, 0, 0, 0, 0, 121, 0, 75, 305, - 0, 124, 0, 327, 79, 80, 81, 0, 0, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 0, 0, 0, 0, 0, 0, 0, 0, 306, 0, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 508, 296, 297, 0, 0, 0, 0, 298, 0, - 28, 29, 30, 31, 32, 33, 570, 0, 0, 0, - 0, 0, 0, 38, 39, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 854, - 0, 0, 0, 0, 0, 108, 109, 110, 111, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 116, 326, 0, 0, 0, 118, 0, 0, - 0, 0, 121, 0, 75, 305, 0, 124, 0, 327, - 79, 80, 81, 0, 0, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 0, 0, 0, 0, - 0, 0, 0, 0, 306, 0, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 28, 29, 30, 31, - 32, 33, 663, 0, 0, 0, 0, 0, 0, 38, - 39, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 108, 109, 110, 111, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 116, 307, - 0, 0, 0, 118, 0, 0, 0, 0, 121, 0, - 75, 305, 0, 124, 0, 505, 79, 80, 81, 0, - 0, 82, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 0, 0, 0, 0, 0, 0, 0, 0, - 306, 0, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 28, 29, 30, 31, 32, 33, 0, 0, - 0, 75, 269, 0, 0, 38, 39, 79, 80, 81, - 0, 0, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 904, 0, 0, 0, 108, 109, 110, - 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 116, 307, 0, 0, 0, 118, - 0, 0, 0, 0, 121, 0, 75, 269, 0, 124, - 0, 693, 79, 80, 81, 0, 0, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 108, 109, - 110, 111, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 116, 117, 0, 0, 0, - 118, 0, 0, 0, 0, 121, 0, 0, 274, 0, - 124, 0, 275, 0, 0, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 0, 1063, 0, 108, 109, 110, 111, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 116, 117, 0, 0, 0, 118, 0, 0, 0, 0, - 121, 0, 0, 670, 0, 124, 0, 671, 75, 269, - 0, 0, 0, 0, 79, 80, 81, 0, 0, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 0, 0, 0, 75, 76, 77, 0, 78, 0, 79, - 80, 81, 0, 0, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 0, 103, 104, 105, 106, - 0, 0, 107, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1064, 0, 0, 108, 109, 110, 111, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 359, 360, 0, 0, 0, 118, 0, 0, - 0, 0, 361, 0, 0, 0, 0, 124, 0, 168, - 108, 109, 110, 111, 112, 113, 114, 115, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 116, 117, 0, - 0, 0, 118, 119, 120, 0, 0, 121, 0, 122, - 0, 123, 124, 75, 305, 0, 0, 0, 0, 79, - 80, 81, 0, 0, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 0, 0, 0, 0, 0, - 0, 0, 0, 306, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 0, 28, 29, 30, 31, 32, - 33, 0, 0, 0, 75, 269, 0, 0, 38, 39, - 79, 80, 81, 0, 0, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 0, 0, 0, 0, - 108, 109, 110, 111, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 116, 307, 0, - 0, 0, 118, 75, 269, 208, 0, 121, 0, 79, - 80, 81, 124, 0, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 0, 103, 104, 105, 106, - 0, 0, 107, 0, 0, 0, 0, 0, 0, 0, - 0, 108, 109, 110, 111, 5, 6, 1078, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 116, 117, - 0, 0, 0, 118, 0, 0, 0, 0, 121, 0, - 0, 0, 0, 124, 0, 0, 542, 11, 12, 543, - 14, 15, 544, 17, 545, 19, 0, 20, 0, 22, - 23, 0, 25, 26, 0, 0, 0, 0, 0, 0, - 108, 109, 110, 111, 0, 0, 0, 0, 37, 0, - 5, 6, 1092, 0, 0, 0, 0, 116, 117, 41, - 42, 43, 118, 0, 0, 0, 0, 121, 0, 0, - 0, 0, 124, 50, 51, 52, 0, 53, 0, 0, - 546, 542, 11, 12, 543, 14, 15, 544, 17, 545, - 19, 0, 20, 0, 22, 23, 0, 25, 26, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 37, 0, 5, 6, 298, 557, 0, - 0, 0, 0, 0, 41, 42, 43, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, - 52, 0, 53, 0, 0, 546, 542, 11, 12, 543, - 14, 15, 544, 17, 545, 19, 0, 20, 0, 22, - 23, 0, 25, 26, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 37, 0, - 5, 6, 298, 577, 0, 0, 0, 0, 0, 41, - 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 50, 51, 52, 0, 53, 0, 0, - 546, 542, 11, 12, 543, 14, 15, 544, 17, 545, - 19, 0, 20, 0, 22, 23, 0, 25, 26, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 37, 0, 5, 6, 1093, 578, 0, - 0, 0, 0, 0, 41, 42, 43, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, - 52, 0, 53, 0, 0, 546, 542, 11, 12, 543, - 14, 15, 544, 17, 545, 19, 0, 20, 0, 22, - 23, 0, 25, 26, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, - 5, 6, 1095, 729, 0, 0, 0, 0, 0, 41, - 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 50, 51, 52, 0, 53, 0, 0, - 546, 542, 11, 12, 543, 14, 15, 544, 17, 545, - 19, 0, 20, 0, 22, 23, 0, 25, 26, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 37, 1180, 5, 6, 298, 744, 0, - 0, 0, 0, 0, 41, 42, 43, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1218, 50, 51, - 52, 0, 53, 0, 0, 546, 542, 11, 12, 543, - 14, 15, 544, 17, 545, 19, 0, 20, 802, 22, - 23, 0, 25, 26, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 37, 866, - 0, 0, 298, 1177, 0, 0, 0, 0, 0, 41, - 42, 43, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 50, 51, 52, 0, 53, 0, 0, - 546, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 0, 0, 1220, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 0, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, -3, 1, 0, 298, -3, 0, - 0, 0, 0, 0, 0, 0, -3, -3, 0, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, -3, - 0, 0, 0, 0, -3, -3, 701, -3, -3, -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, - 0, 0, -3, -3, 0, 4, 0, 0, 0, -3, - -3, -3, -3, 5, 6, -3, 0, -3, 0, -3, - -3, -3, -3, 0, -3, -3, -3, 0, -3, -3, - -3, -3, -3, -3, 0, 0, 7, 0, 0, 0, - 0, 8, 9, 0, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 0, 20, 21, 22, 23, 24, - 25, 26, 0, 0, 0, 27, 28, 29, 30, 31, - 32, 33, 0, 34, 35, 36, 37, 0, 0, 38, - 39, 5, 6, 0, 0, 0, 40, 41, 42, 43, - 0, 0, 44, 0, 45, 0, 46, 47, 48, 49, - 0, 50, 51, 52, 0, 53, 54, 55, 56, 57, - 58, 0, 542, 11, 12, 543, 14, 15, 544, 17, - 545, 19, 0, 20, 0, 22, 23, 0, 25, 26, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 37, 0, 0, 0, 298, 0, - 0, 0, 457, 0, 0, 41, 42, 43, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, - 51, 52, 0, 53, 0, 0, 546, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 1032, 0, 1033, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 1056, 0, 1057, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 1136, 0, - 1137, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 702, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 0, 0, 756, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 0, 0, 801, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 0, 0, 837, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, - 1030, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 1052, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 0, 0, 1084, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 0, 0, 1087, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 0, 0, 1088, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, - 1089, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 1152, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 0, 0, 1154, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 0, 0, 1155, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 0, 0, 1165, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, - 1168, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 1171, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 0, 0, 1188, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 0, 0, 1212, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 0, 0, 1214, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, - 1216, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 0, 0, 1226, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 453, - 0, 0, 0, 0, 527, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 483, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 527, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 528, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 567, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 619, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 620, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 633, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 634, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 635, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 636, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 637, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 638, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 716, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 717, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 718, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 798, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 835, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 836, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 865, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 985, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 986, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 1003, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 1014, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 1119, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 0, 0, 0, 1120, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 0, 0, 0, - 1128, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 0, 0, 0, 1134, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 0, - 0, 0, 1183, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 0, 0, 0, 1186, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 580, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 0, 0, 598, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 600, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 0, 0, - 602, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 604, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 0, 0, 606, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 608, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 0, 0, 610, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 612, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 0, 0, 614, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 616, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 0, 0, 618, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 622, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 0, 0, - 624, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 626, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 0, 0, 628, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 630, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 0, 0, 632, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 715, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 0, 0, 731, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 733, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 0, 0, 737, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 0, 0, 738, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 0, 0, - 752, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 0, 0, 778, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 0, 0, 886, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 0, 0, 888, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 0, 0, 890, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 0, 0, 892, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 0, 0, 893, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 0, - 0, 1000, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 453, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 484, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 493, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 494, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 496, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 498, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 499, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 502, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 503, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 511, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 563, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 564, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 565, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 571, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 597, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 599, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 601, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 603, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 605, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 607, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 609, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 611, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 613, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 615, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 617, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 621, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 623, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 625, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 627, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 629, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 631, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 681, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 686, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 695, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 698, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 699, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 703, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 747, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 748, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 749, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 750, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 751, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 856, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 885, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298, 0, 887, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 0, 0, 0, 0, 298, 0, 889, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 0, 0, 0, 0, 298, 0, 891, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 0, 0, 0, 0, 298, 0, 897, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 0, 0, 0, 0, 298, 0, - 991, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 0, 0, 0, 0, 298, - 0, 1031, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 0, 0, 0, 0, - 298, 0, 1051, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 0, 0, 0, - 0, 298, 0, 1060, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 0, 0, - 0, 0, 298, 0, 1182, 284, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 0, - 0, 0, 0, 298, 0, 1224, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 0, 0, 0, 0, 298 +/* YYPGOTO[NTERM-NUM]. */ +static const short int yypgoto[] = +{ + -1068, -1068, -1068, -1068, 446, -1068, -1068, 694, -1068, 118, + -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -1068, -276, -1, -1068, -233, 1274, 5, -353, + -169, 9, -1068, -1068, -1068, -1068, -1068, 1275, -1068, -1068, + -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, -1068, + -1068, -1068, -676, -528, -1068, -1068, -1068, -5, -1068, 230, + -1068, -1067, 403, 42, -66, -644, 392, -1068, -60, 3 }; -static const short yycheck[] = { 58, - 4, 353, 277, 6, 177, 1071, 6, 180, 2, 4, - 183, 4, 2, 4, 5, 4, 4, 660, 4, 4, - 4, 5, 4, 4, 7, 4, 4, 49, 4, 4, - 71, 71, 6, 72, 71, 4, 209, 76, 77, 212, - 6, 726, 4, 5, 4, 36, 37, 38, 39, 127, - 128, 42, 36, 37, 38, 39, 127, 128, 42, 133, - 134, 4, 6, 6, 72, 143, 6, 145, 76, 77, - 133, 134, 71, 144, 36, 37, 38, 39, 141, 6, - 42, 6, 6, 78, 127, 128, 6, 80, 81, 82, - 83, 84, 80, 81, 82, 83, 84, 137, 6, 7, - 137, 144, 137, 144, 144, 7, 145, 144, 13, 144, - 91, 92, 116, 117, 118, 137, 56, 121, 122, 1185, - 99, 125, 91, 92, 72, 125, 49, 131, 76, 77, - 134, 114, 136, 137, 138, 139, 56, 141, 142, 143, - 144, 144, 146, 147, 148, 144, 789, 151, 133, 134, - 62, 63, 145, 144, 139, 144, 141, 145, 144, 125, - 144, 146, 6, 167, 168, 730, 144, 852, 144, 144, - 144, 133, 134, 177, 137, 1241, 137, 137, 139, 141, - 137, 144, 457, 127, 128, 142, 190, 191, 192, 146, - 194, 364, 137, 197, 198, 142, 139, 145, 137, 146, - 127, 128, 127, 128, 137, 264, 265, 266, 267, 137, - 383, 215, 114, 115, 116, 117, 144, 53, 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, 258, 259, 260, 261, 262, 263, - 29, 30, 46, 32, 907, 49, 4, 51, 72, 137, - 72, 275, 76, 77, 76, 77, 43, 6, 7, 46, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 277, 138, 127, 128, 127, - 128, 143, 72, 307, 137, 43, 76, 77, 46, 8, - 137, 49, 316, 143, 138, 145, 144, 321, 275, 143, - 137, 72, 326, 327, 49, 76, 77, 331, 275, 333, - 334, 335, 49, 337, 338, 339, 340, 341, 342, 343, - 137, 145, 139, 145, 138, 340, 341, 342, 343, 143, - 307, 355, 356, 357, 358, 359, 360, 361, 352, 353, - 138, 365, 352, 353, 7, 143, 370, 49, 51, 326, - 327, 375, 376, 137, 72, 145, 144, 49, 76, 77, - 327, 127, 128, 387, 388, 389, 390, 7, 392, 127, - 128, 137, 144, 397, 145, 164, 400, 166, 144, 137, - 127, 128, 6, 172, 138, 137, 144, 72, 177, 143, - 4, 76, 77, 4, 4, 1100, 143, 399, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 137, 137, 72, 1079, 136, 6, 76, - 77, 127, 128, 341, 342, 343, 145, 145, 452, 72, - 219, 127, 128, 76, 77, 459, 1141, 137, 144, 1144, - 7, 99, 1147, 458, 137, 99, 139, 143, 99, 99, - 1035, 114, 115, 116, 117, 457, 127, 128, 482, 483, - 145, 485, 486, 4, 72, 489, 490, 491, 76, 77, - 133, 134, 143, 137, 114, 115, 116, 117, 141, 4, - 139, 505, 141, 6, 508, 509, 781, 782, 145, 137, - 137, 515, 139, 133, 134, 72, 137, 6, 1203, 76, - 77, 580, 145, 527, 528, 482, 127, 128, 127, 128, - 144, 137, 536, 490, 491, 482, 143, 1102, 145, 1104, - 137, 1106, 143, 1228, 143, 137, 1231, 139, 505, 1234, - 554, 508, 1237, 149, 558, 127, 128, 145, 505, 155, - 6, 127, 128, 567, 5, 569, 570, 114, 115, 116, - 117, 143, 1257, 137, 1259, 139, 1261, 143, 127, 128, - 4, 350, 351, 137, 643, 181, 133, 134, 145, 185, - 186, 360, 137, 137, 143, 139, 72, 137, 580, 951, - 76, 77, 127, 128, 72, 127, 128, 666, 76, 77, - 127, 128, 143, 1178, 145, 619, 620, 137, 143, 4, - 5, 143, 137, 127, 128, 144, 143, 127, 128, 633, - 634, 635, 636, 637, 638, 639, 144, 139, 642, 143, - 4, 5, 646, 143, 137, 137, 1211, 139, 1213, 653, - 1215, 36, 37, 38, 39, 139, 1221, 42, 137, 663, - 139, 143, 137, 145, 139, 838, 5, 671, 137, 145, - 139, 137, 36, 37, 38, 39, 137, 145, 42, 137, - 1245, 139, 1247, 137, 1249, 642, 129, 130, 131, 693, - 137, 8, 139, 136, 143, 642, 145, 36, 37, 38, - 39, 137, 137, 42, 139, 144, 65, 66, 67, 68, - 137, 70, 139, 144, 671, 719, 720, 721, 722, 78, - 79, 144, 133, 134, 671, 133, 134, 139, 139, 325, - 141, 139, 137, 141, 139, 146, 693, 139, 146, 127, - 128, 129, 130, 131, 43, 1097, 693, 46, 136, 6, - 49, 137, 51, 139, 141, 759, 760, 526, 137, 763, - 139, 144, 719, 720, 721, 722, 137, 137, 139, 139, - 94, 6, 719, 720, 721, 722, 137, 143, 139, 145, - 549, 49, 4, 51, 6, 143, 790, 145, 143, 143, - 145, 145, 137, 143, 798, 145, 778, 143, 802, 145, - 782, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 143, 820, 145, 143, 136, - 145, 143, 143, 145, 145, 143, 137, 145, 145, 137, - 834, 835, 836, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 6, 847, 848, 137, 136, 851, 143, 143, - 145, 145, 911, 6, 143, 143, 145, 145, 454, 455, - 137, 865, 866, 867, 143, 6, 145, 871, 872, 143, - 143, 145, 145, 139, 878, 4, 6, 144, 5, 883, - 136, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 875, 141, 7, 900, 136, 139, 144, - 669, 7, 7, 6, 899, 138, 137, 7, 61, 7, - 91, 143, 916, 138, 144, 138, 143, 6, 4, 923, - 924, 140, 7, 94, 928, 7, 7, 7, 94, 7, - 7, 94, 7, 937, 938, 7, 6, 1110, 7, 138, - 138, 138, 138, 947, 145, 145, 141, 716, 717, 718, - 99, 7, 947, 7, 7, 141, 144, 951, 137, 137, - 137, 951, 6, 559, 560, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 4, - 6, 985, 986, 136, 6, 12, 13, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 140, 1003, - 6, 6, 136, 7, 139, 6, 1179, 125, 49, 7, - 1014, 7, 51, 7, 7, 7, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 7, 54, 1032, 56, - 57, 144, 59, 60, 7, 7, 7, 7, 7, 7, - 7, 4, 144, 144, 6, 137, 6, 6, 75, 1053, - 6, 6, 1056, 6, 1058, 6, 4, 7, 7, 86, - 87, 88, 7, 1067, 7, 7, 6, 4, 1072, 137, - 6, 144, 138, 100, 101, 102, 138, 104, 141, 7, - 107, 6, 851, 679, 680, 8, 682, 144, 684, 685, - 6, 6, 688, 689, 144, 144, 6, 1101, 144, 1103, - 6, 1105, 6, 1097, 5, 7, 144, 1097, 6, 1113, - 6, 90, 5, 5, 4, 1119, 1120, 6, 145, 6, - 141, 6, 140, 6, 1128, 6, 5, 143, 6, 6, - 6, 6, 1136, 6, 6, 6, 6, 6, 6, 6, - 6, 6, 6, 739, 740, 741, 6, 6, 6, 918, - 6, 920, 1156, 144, 4, 6, 141, 6, 5, 7, - 6, 6, 1166, 6, 1223, 1169, 6, 144, 1172, 145, - 6, 6, 1176, 7, 6, 89, 6, 6, 144, 1183, - 144, 6, 1186, 144, 953, 92, 955, 144, 957, 6, - 6, 138, 1251, 6, 1253, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 6, - 806, 6, 1271, 136, 144, 138, 812, 6, 5, 145, - 6, 143, 61, 144, 6, 821, 822, 823, 6, 6, - 826, 827, 828, 829, 830, 831, 832, 6, 6, 6, - 145, 3, 4, 6, 5, 144, 6, 9, 10, 11, - 144, 847, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 869, 6, 6, 6, 6, 5, 0, - 143, 43, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 6, 6, 6, 6, - 136, 145, 898, 65, 66, 67, 68, 69, 70, 6, - 6, 144, 6, 144, 6, 6, 78, 79, 144, 6, - 144, 144, 144, 144, 6, 0, 797, 1156, 583, 2, - 2, -1, 1101, 903, 1103, -1, 1105, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 110, 111, - 112, 113, -1, 6, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, - 132, -1, -1, 969, -1, 137, 972, -1, -1, -1, - 142, -1, -1, 145, 980, -1, 3, 4, -1, -1, - -1, 987, 9, 10, 11, 991, -1, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 8, -1, - -1, -1, -1, -1, -1, -1, 43, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, 65, 66, - 67, 68, 69, 70, 1050, -1, -1, -1, -1, -1, - -1, 78, 79, -1, -1, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, 99, 136, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 110, 111, 112, 113, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 6, -1, -1, - 127, 128, -1, 1109, -1, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, 142, -1, 144, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 3, 4, -1, -1, 136, -1, 9, 10, - 11, -1, 1148, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, -1, 43, -1, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 65, 66, 67, 68, 69, 70, - 8, 145, -1, -1, -1, -1, -1, 78, 79, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, 99, -1, - -1, -1, -1, 6, -1, -1, -1, -1, -1, 110, - 111, 112, 113, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, - -1, 132, -1, -1, -1, -1, 137, -1, 3, 4, - -1, 142, -1, 144, 9, 10, 11, -1, -1, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - -1, -1, -1, -1, -1, -1, -1, -1, 43, -1, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 65, 66, 67, 68, 69, 70, 8, -1, -1, -1, - -1, -1, -1, 78, 79, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, 6, - -1, -1, -1, -1, -1, 110, 111, 112, 113, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 127, 128, -1, -1, -1, 132, -1, -1, - -1, -1, 137, -1, 3, 4, -1, 142, -1, 144, - 9, 10, 11, -1, -1, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, - -1, -1, -1, -1, 43, -1, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 65, 66, 67, 68, - 69, 70, 8, -1, -1, -1, -1, -1, -1, 78, - 79, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 110, 111, 112, 113, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, - -1, -1, -1, 132, -1, -1, -1, -1, 137, -1, - 3, 4, -1, 142, -1, 144, 9, 10, 11, -1, - -1, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, -1, -1, -1, -1, -1, -1, -1, -1, - 43, -1, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 65, 66, 67, 68, 69, 70, -1, -1, - -1, 3, 4, -1, -1, 78, 79, 9, 10, 11, - -1, -1, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 6, -1, -1, -1, 110, 111, 112, - 113, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 127, 128, -1, -1, -1, 132, - -1, -1, -1, -1, 137, -1, 3, 4, -1, 142, - -1, 144, 9, 10, 11, -1, -1, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 110, 111, - 112, 113, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, - 132, -1, -1, -1, -1, 137, -1, -1, 140, -1, - 142, -1, 144, -1, -1, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - -1, 6, -1, 110, 111, 112, 113, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 127, 128, -1, -1, -1, 132, -1, -1, -1, -1, - 137, -1, -1, 140, -1, 142, -1, 144, 3, 4, - -1, -1, -1, -1, 9, 10, 11, -1, -1, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - -1, -1, -1, 3, 4, 5, -1, 7, -1, 9, - 10, 11, -1, -1, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, 36, 37, 38, 39, - -1, -1, 42, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 6, -1, -1, 110, 111, 112, 113, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 127, 128, -1, -1, -1, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, 142, -1, 144, - 110, 111, 112, 113, 114, 115, 116, 117, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, - -1, -1, 132, 133, 134, -1, -1, 137, -1, 139, - -1, 141, 142, 3, 4, -1, -1, -1, -1, 9, - 10, 11, -1, -1, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, - -1, -1, -1, 43, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, -1, 65, 66, 67, 68, 69, - 70, -1, -1, -1, 3, 4, -1, -1, 78, 79, - 9, 10, 11, -1, -1, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, - 110, 111, 112, 113, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, - -1, -1, 132, 3, 4, 5, -1, 137, -1, 9, - 10, 11, 142, -1, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, 36, 37, 38, 39, - -1, -1, 42, -1, -1, -1, -1, -1, -1, -1, - -1, 110, 111, 112, 113, 12, 13, 6, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, - -1, -1, -1, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, 142, -1, -1, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, -1, 54, -1, 56, - 57, -1, 59, 60, -1, -1, -1, -1, -1, -1, - 110, 111, 112, 113, -1, -1, -1, -1, 75, -1, - 12, 13, 6, -1, -1, -1, -1, 127, 128, 86, - 87, 88, 132, -1, -1, -1, -1, 137, -1, -1, - -1, -1, 142, 100, 101, 102, -1, 104, -1, -1, - 107, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, -1, 54, -1, 56, 57, -1, 59, 60, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 75, -1, 12, 13, 136, 145, -1, - -1, -1, -1, -1, 86, 87, 88, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 100, 101, - 102, -1, 104, -1, -1, 107, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, -1, 54, -1, 56, - 57, -1, 59, 60, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 75, -1, - 12, 13, 136, 145, -1, -1, -1, -1, -1, 86, - 87, 88, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 100, 101, 102, -1, 104, -1, -1, - 107, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, -1, 54, -1, 56, 57, -1, 59, 60, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 75, -1, 12, 13, 6, 145, -1, - -1, -1, -1, -1, 86, 87, 88, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 100, 101, - 102, -1, 104, -1, -1, 107, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, -1, 54, -1, 56, - 57, -1, 59, 60, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 75, -1, - 12, 13, 6, 145, -1, -1, -1, -1, -1, 86, - 87, 88, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 100, 101, 102, -1, 104, -1, -1, - 107, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, -1, 54, -1, 56, 57, -1, 59, 60, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 75, 6, 12, 13, 136, 145, -1, - -1, -1, -1, -1, 86, 87, 88, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 6, 100, 101, - 102, -1, 104, -1, -1, 107, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, -1, 54, 8, 56, - 57, -1, 59, 60, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 75, 8, - -1, -1, 136, 145, -1, -1, -1, -1, -1, 86, - 87, 88, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 100, 101, 102, -1, 104, -1, -1, - 107, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, -1, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, 0, 1, -1, 136, 4, -1, - -1, -1, -1, -1, -1, -1, 12, 13, -1, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 35, - -1, -1, -1, -1, 40, 41, 145, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, -1, 54, 55, - 56, 57, 58, 59, 60, -1, -1, -1, 64, 65, - 66, 67, 68, 69, 70, -1, 72, 73, 74, 75, - -1, -1, 78, 79, -1, 4, -1, -1, -1, 85, - 86, 87, 88, 12, 13, 91, -1, 93, -1, 95, - 96, 97, 98, -1, 100, 101, 102, -1, 104, 105, - 106, 107, 108, 109, -1, -1, 35, -1, -1, -1, - -1, 40, 41, -1, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, -1, 54, 55, 56, 57, 58, - 59, 60, -1, -1, -1, 64, 65, 66, 67, 68, - 69, 70, -1, 72, 73, 74, 75, -1, -1, 78, - 79, 12, 13, -1, -1, -1, 85, 86, 87, 88, - -1, -1, 91, -1, 93, -1, 95, 96, 97, 98, - -1, 100, 101, 102, -1, 104, 105, 106, 107, 108, - 109, -1, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, -1, 54, -1, 56, 57, -1, 59, 60, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 75, -1, -1, -1, 136, -1, - -1, -1, 140, -1, -1, 86, 87, 88, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, - 101, 102, -1, 104, -1, -1, 107, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, -1, 145, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, -1, 145, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, -1, - 145, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, -1, -1, 145, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, -1, -1, 145, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - -1, -1, 145, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, -1, -1, - 145, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, -1, -1, 145, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, -1, -1, 145, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - -1, -1, 145, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, -1, -1, - 145, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, -1, -1, 145, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, -1, -1, 145, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - -1, -1, 145, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, -1, -1, - 145, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, -1, -1, 145, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, -1, -1, 145, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - -1, -1, 145, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, -1, -1, - 145, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, -1, -1, 145, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, -1, -1, -1, 143, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, -1, -1, -1, - 143, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, -1, -1, -1, 143, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, -1, - -1, -1, 143, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, -1, -1, -1, 143, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, - 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, - 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, - 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, - -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, - 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, - -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, - 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, - -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, - -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, - -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - -1, -1, -1, -1, 136 +/* 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[] = +{ + 215, 129, 537, 461, 135, 128, 1123, 666, 66, 131, + 364, 586, 67, 368, 912, 181, 373, 586, 793, 216, + 209, 210, 184, 195, 198, 132, 221, 209, 210, 661, + 1186, 207, 142, 152, 725, 370, 456, 371, 726, 727, + 210, 483, 395, 4, 725, 397, 484, 5, 726, 727, + 915, 147, 105, 106, 107, 108, 854, 1087, 109, 105, + 106, 107, 108, 1088, 142, 109, 555, 556, 209, 210, + 133, 105, 106, 107, 108, 167, 168, 109, 320, 919, + 137, 643, 324, 223, 134, 169, 644, 587, 588, 589, + 590, 591, 170, 587, 588, 589, 590, 591, 143, 151, + 105, 106, 107, 108, 725, 144, 109, 851, 726, 727, + 524, 525, 526, 272, 273, 274, 279, 970, 275, 278, + 1210, 153, 283, 147, 148, 667, 208, 784, 303, 920, + 143, 305, 667, 306, 313, 316, 317, 722, 319, 313, + 321, 322, 136, 313, 325, 326, 457, 907, 334, 121, + 122, 921, 592, 154, 217, 182, 218, 199, 879, 653, + 211, 219, 185, 196, 350, 351, 222, 214, 1187, 662, + 372, 352, 353, 138, 351, 138, 1256, 1140, 352, 353, + 139, 314, 721, 655, 352, 353, 314, 380, 381, 382, + 314, 384, 140, 653, 387, 388, 723, 552, 121, 122, + 852, 922, 141, 280, 281, 755, 449, 450, 451, 452, + 155, 458, 400, 725, 785, 786, 570, 726, 727, 406, + 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, + 447, 171, 173, 509, 180, 1003, 114, 115, 116, 117, + 725, 799, 313, 150, 726, 727, 493, 224, 462, 225, + 724, 467, 468, 469, 470, 471, 472, 473, 474, 475, + 476, 477, 478, 479, 480, 481, 187, 145, 460, 188, + 114, 115, 116, 117, 489, 725, 226, 725, 227, 726, + 727, 726, 727, 497, 121, 122, 352, 353, 502, 314, + 121, 122, 146, 489, 313, 149, 852, 654, 512, 150, + 514, 515, 516, 354, 518, 519, 520, 522, 522, 522, + 522, 156, 228, 1169, 229, 523, 523, 523, 523, 352, + 353, 490, 539, 540, 541, 542, 272, 273, 543, 533, + 533, 1102, 553, 536, 536, 901, 355, 558, 939, 940, + 490, 314, 563, 564, 352, 353, 157, 175, 1172, 158, + 1175, 159, 352, 353, 574, 575, 576, 577, 725, 578, + 897, 366, 726, 727, 581, 493, 347, 584, 349, 585, + 583, 448, 210, 160, 356, 114, 115, 116, 117, 365, + 1068, 352, 353, 121, 122, 1069, 176, 165, 669, 177, + 755, 493, 178, 494, 183, 121, 122, 955, 1143, 956, + 1146, 166, 1149, 105, 106, 107, 108, 1128, 725, 109, + 725, 693, 726, 727, 726, 727, 352, 353, 725, 649, + 725, 403, 726, 727, 726, 727, 658, 230, 656, 231, + 186, 1221, 957, 657, 958, 725, 232, 174, 233, 726, + 727, 189, 114, 115, 116, 117, 234, 190, 235, 313, + 670, 191, 649, 674, 192, 725, 675, 676, 678, 726, + 727, 193, 121, 122, 295, 296, 297, 298, 299, 194, + 167, 168, 313, 300, 1205, 676, 696, 900, 902, 200, + 169, 1246, 702, 1248, 725, 352, 353, 179, 726, 727, + 201, 1250, 757, 1252, 712, 713, 314, 352, 353, 202, + 493, 528, 499, 716, 677, 679, 203, 1230, 1270, 1233, + 206, 1236, 236, 959, 237, 960, 238, 1239, 239, 314, + 204, 734, 677, 266, 331, 736, 352, 353, 1271, 205, + 338, 209, 210, 240, 745, 241, 747, 748, 352, 353, + 267, 1259, 538, 1261, 852, 1263, 268, 242, 777, 243, + 269, 756, 531, 532, 551, 778, 369, 1272, 352, 353, + 375, 376, 349, 105, 106, 107, 108, 352, 353, 109, + 1036, 244, 270, 245, 836, 948, 949, 802, 798, 352, + 353, 352, 353, 853, 304, 852, 767, 768, 852, 282, + 318, 852, 352, 353, 246, 1055, 247, 1103, 284, 819, + 769, 770, 771, 772, 773, 774, 775, 301, 1105, 313, + 248, 302, 249, 779, 323, 352, 353, 352, 353, 333, + 787, 352, 353, 352, 353, 844, 845, 846, 847, 335, + 796, 1107, 250, 1168, 251, 336, 337, 1171, 313, 1174, + 161, 954, 252, 162, 253, 339, 163, 852, 164, 30, + 31, 32, 33, 254, 35, 255, 314, 256, 340, 257, + 313, 491, 40, 41, 121, 122, 297, 298, 299, 454, + 341, 218, 852, 300, 346, 852, 219, 258, 852, 259, + 260, 852, 261, 342, 343, 314, 313, 313, 313, 313, + 344, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 506, 852, 345, 852, 300, 852, 357, 314, 121, 122, + 262, 367, 263, 487, 358, 218, 1137, 264, 379, 265, + 219, 493, 641, 503, 642, 359, 881, 882, 711, 493, + 886, 652, 360, 314, 314, 314, 314, 493, 810, 694, + 811, 1060, 493, 909, 818, 910, 493, 377, 916, 756, + 493, 730, 933, 903, 493, 383, 961, 908, 493, 493, + 962, 963, 493, 378, 964, 914, 989, 386, 990, 917, + 385, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 510, 298, 299, 393, 1022, 935, 1023, 300, + 1074, 1150, 1075, 1151, 989, 1074, 1161, 1207, 1051, 396, + 389, 950, 951, 952, 989, 1253, 1227, 1254, 989, 1273, + 1268, 1274, 390, 391, 965, 967, 392, 394, 968, 398, + 399, 401, 402, 1004, 826, 405, 453, 300, 463, 650, + 651, 464, 975, 976, 977, 465, 488, 511, 980, 981, + 517, 527, 557, 560, 561, 986, 983, 562, 568, 571, + 992, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 645, 646, 997, 647, 300, + 648, 801, 659, 660, 996, 664, 706, 671, 1061, 827, + 680, 681, 682, 1007, 684, 685, 686, 687, 689, 690, + 1011, 1012, 691, 692, 707, 1014, 698, 708, 709, 710, + 714, 208, 741, 742, 1020, 1021, 715, 743, 744, 761, + 762, 765, 763, 1153, 1030, 766, 776, 781, 841, 842, + 843, 782, 1031, 783, 788, 789, 792, 791, 533, 7, + 8, 795, 536, 797, 737, 738, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 805, 808, 1070, 1071, 300, 814, 815, 821, 822, 823, + 544, 13, 14, 545, 16, 17, 546, 19, 547, 21, + 1085, 22, 824, 24, 25, 825, 27, 28, 828, 829, + 830, 1093, 1206, 831, 832, 833, 834, 835, 840, 849, + 848, 850, 39, 855, 857, 859, 860, 861, 862, 1100, + 866, 871, 872, 43, 44, 45, 873, 874, 875, 876, + 877, 878, 885, 880, 904, 905, 896, 52, 53, 54, + 1113, 55, 898, 1116, 548, 1117, 911, 918, 924, 927, + 925, 928, 926, 931, 1120, 930, 932, 934, 953, 1124, + 971, 972, 973, 974, 979, 982, 999, 984, 994, 998, + 1001, 1010, 1013, 969, 806, 807, 869, 809, 1015, 812, + 813, 1006, 554, 816, 817, 1017, 1018, 1019, 1141, 1024, + 1144, 1025, 1147, 1026, 533, 1027, 1028, 1029, 536, 1039, + 1155, 1042, 1045, 1047, 1048, 1049, 1159, 1160, 1050, 1052, + 1063, 1064, 1077, 1073, 1081, 1163, 1078, 1079, 1082, 1083, + 1084, 1092, 1101, 1166, 1096, 1098, 1099, 1104, 1106, 1109, + 1108, 1111, 1114, 1112, 863, 864, 865, 1115, 1118, 1125, + 1008, 1126, 1009, 992, 1127, 1131, 1129, 1132, 1133, 1134, + 1135, 1162, 1164, 1193, 1177, 1241, 1197, 1158, 1191, 1201, + 1194, 285, 1165, 1204, 1178, 1195, 1181, 1189, 1198, 1199, + 1209, 1202, 1203, 1211, 1212, 1038, 1213, 1041, 1215, 1044, + 1217, 1219, 1224, 1264, 1229, 1267, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 1231, 923, 1225, 1279, 300, 1234, 870, 929, 1237, 1244, + 1245, 1243, 1258, 1247, 1249, 1251, 936, 937, 938, 1255, + 1260, 941, 942, 943, 944, 945, 946, 947, 1262, 1257, + 1265, 1269, 77, 307, 1275, 913, 1276, 1277, 81, 82, + 83, 1278, 966, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 978, 1280, 1183, 65, 73, 759, + 0, 0, 308, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 1000, 0, 0, + 0, 300, 0, 995, 30, 31, 32, 33, 34, 35, + 0, 0, 0, 0, 0, 0, 466, 40, 41, 0, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 1142, 0, 1145, 300, 1148, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 110, + 111, 112, 113, 300, 482, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 118, 309, 0, 0, + 0, 120, 0, 0, 1056, 0, 123, 1057, 0, 0, + 0, 126, 0, 0, 508, 1067, 0, 77, 307, 0, + 0, 0, 1072, 81, 82, 83, 1076, 0, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 491, + 0, 0, 0, 0, 0, 0, 0, 308, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 30, + 31, 32, 33, 34, 35, 1110, 0, 0, 0, 0, + 0, 0, 40, 41, 0, 0, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 327, 300, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 110, 111, 112, 113, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 790, 0, + 0, 118, 328, 0, 1152, 0, 120, 0, 0, 0, + 0, 123, 0, 0, 0, 0, 126, 0, 329, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 492, 298, 299, 77, 307, 0, 0, 300, 0, 81, + 82, 83, 0, 1176, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 0, 0, 0, 0, 0, + 0, 0, 0, 308, 0, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 30, 31, 32, 33, 34, + 35, 491, 699, 0, 0, 0, 0, 0, 40, 41, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 374, + 0, 0, 0, 0, 820, 0, 0, 0, 0, 0, + 110, 111, 112, 113, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 118, 328, 0, + 0, 0, 120, 0, 0, 0, 0, 123, 0, 77, + 307, 0, 126, 0, 329, 81, 82, 83, 0, 0, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 0, 0, 0, 0, 0, 0, 0, 0, 308, + 0, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 510, 298, 299, 0, 0, 0, 0, 300, + 0, 30, 31, 32, 33, 34, 35, 572, 0, 0, + 0, 0, 0, 0, 40, 41, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 856, 0, 0, 0, 0, 0, 110, 111, 112, 113, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 118, 328, 0, 0, 0, 120, 0, + 0, 0, 0, 123, 0, 77, 307, 0, 126, 0, + 329, 81, 82, 83, 0, 0, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + 98, 99, 100, 101, 102, 103, 104, 0, 0, 0, + 0, 0, 0, 0, 0, 308, 0, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 30, 31, 32, + 33, 34, 35, 665, 0, 0, 0, 0, 0, 0, + 40, 41, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 110, 111, 112, 113, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 118, + 309, 0, 0, 0, 120, 0, 0, 0, 0, 123, + 0, 77, 307, 0, 126, 0, 507, 81, 82, 83, + 0, 0, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 0, 0, 0, 0, 0, 0, 0, + 0, 308, 0, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 30, 31, 32, 33, 34, 35, 0, + 0, 0, 77, 271, 0, 0, 40, 41, 81, 82, + 83, 0, 0, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 906, 0, 0, 0, 110, 111, + 112, 113, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 118, 309, 0, 0, 0, + 120, 0, 0, 0, 0, 123, 0, 77, 271, 0, + 126, 0, 695, 81, 82, 83, 0, 0, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, + 111, 112, 113, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 118, 119, 0, 0, + 0, 120, 0, 0, 0, 0, 123, 0, 0, 276, + 0, 126, 0, 277, 0, 0, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 0, 1065, 0, 110, 111, 112, 113, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 118, 119, 0, 0, 0, 120, 0, 0, 0, + 0, 123, 0, 0, 672, 0, 126, 0, 673, 77, + 271, 0, 0, 0, 0, 81, 82, 83, 0, 0, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 0, 0, 0, 77, 78, 79, 0, 80, 0, + 81, 82, 83, 0, 0, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 0, 105, 106, 107, + 108, 0, 0, 109, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1066, 0, 0, 110, 111, 112, 113, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 361, 362, 0, 0, 0, 120, 0, + 0, 0, 0, 363, 0, 0, 0, 0, 126, 0, + 170, 110, 111, 112, 113, 114, 115, 116, 117, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 118, 119, + 0, 0, 0, 120, 0, 121, 122, 0, 123, 0, + 124, 0, 125, 126, 77, 307, 0, 0, 0, 0, + 81, 82, 83, 0, 0, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 0, 0, 0, 0, + 0, 0, 0, 0, 308, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 0, 30, 31, 32, 33, + 34, 35, 0, 0, 0, 77, 271, 0, 0, 40, + 41, 81, 82, 83, 0, 0, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + 98, 99, 100, 101, 102, 103, 104, 0, 0, 0, + 0, 110, 111, 112, 113, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 118, 309, + 0, 0, 0, 120, 77, 271, 210, 0, 123, 0, + 81, 82, 83, 126, 0, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 0, 105, 106, 107, + 108, 0, 0, 109, 0, 0, 0, 0, 0, 0, + 0, 0, 110, 111, 112, 113, 7, 8, 1080, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 118, + 119, 0, 0, 0, 120, 0, 0, 0, 0, 123, + 0, 0, 0, 0, 126, 0, 0, 544, 13, 14, + 545, 16, 17, 546, 19, 547, 21, 0, 22, 0, + 24, 25, 0, 27, 28, 0, 0, 0, 0, 0, + 0, 110, 111, 112, 113, 0, 0, 0, 0, 39, + 0, 7, 8, 1094, 0, 0, 0, 0, 118, 119, + 43, 44, 45, 120, 0, 0, 0, 0, 123, 0, + 0, 0, 0, 126, 52, 53, 54, 0, 55, 0, + 0, 548, 544, 13, 14, 545, 16, 17, 546, 19, + 547, 21, 0, 22, 0, 24, 25, 0, 27, 28, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 39, 0, 7, 8, 300, 559, + 0, 0, 0, 0, 0, 43, 44, 45, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, + 53, 54, 0, 55, 0, 0, 548, 544, 13, 14, + 545, 16, 17, 546, 19, 547, 21, 0, 22, 0, + 24, 25, 0, 27, 28, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 39, + 0, 7, 8, 300, 579, 0, 0, 0, 0, 0, + 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 52, 53, 54, 0, 55, 0, + 0, 548, 544, 13, 14, 545, 16, 17, 546, 19, + 547, 21, 0, 22, 0, 24, 25, 0, 27, 28, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 39, 0, 7, 8, 1095, 580, + 0, 0, 0, 0, 0, 43, 44, 45, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, + 53, 54, 0, 55, 0, 0, 548, 544, 13, 14, + 545, 16, 17, 546, 19, 547, 21, 0, 22, 0, + 24, 25, 0, 27, 28, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, + 0, 7, 8, 1097, 731, 0, 0, 0, 0, 0, + 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 52, 53, 54, 0, 55, 0, + 0, 548, 544, 13, 14, 545, 16, 17, 546, 19, + 547, 21, 0, 22, 0, 24, 25, 0, 27, 28, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 39, 1182, 7, 8, 300, 746, + 0, 0, 0, 0, 0, 43, 44, 45, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1220, 52, + 53, 54, 0, 55, 0, 0, 548, 544, 13, 14, + 545, 16, 17, 546, 19, 547, 21, 0, 22, 804, + 24, 25, 0, 27, 28, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 39, + 868, 0, 0, 300, 1179, 0, 0, 0, 0, 0, + 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 52, 53, 54, 0, 55, 0, + 0, 548, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 0, 0, 1222, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 0, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, -4, 1, 0, 300, -4, + 0, 0, 0, 0, 0, 0, 0, -4, -4, 0, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + -4, 0, 0, 0, 0, -4, -4, 703, -4, -4, + -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, 0, 0, -4, -4, 0, 6, 0, 0, 0, + -4, -4, -4, -4, 7, 8, -4, 0, -4, 0, + -4, -4, -4, -4, 0, -4, -4, -4, 0, -4, + -4, -4, -4, -4, -4, 0, 0, 9, 0, 0, + 0, 0, 10, 11, 0, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 0, 22, 23, 24, 25, + 26, 27, 28, 0, 0, 0, 29, 30, 31, 32, + 33, 34, 35, 0, 36, 37, 38, 39, 0, 0, + 40, 41, 7, 8, 0, 0, 0, 42, 43, 44, + 45, 0, 0, 46, 0, 47, 0, 48, 49, 50, + 51, 0, 52, 53, 54, 0, 55, 56, 57, 58, + 59, 60, 0, 544, 13, 14, 545, 16, 17, 546, + 19, 547, 21, 0, 22, 0, 24, 25, 0, 27, + 28, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 39, 0, 0, 0, 300, + 0, 0, 0, 459, 0, 0, 43, 44, 45, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 52, 53, 54, 0, 55, 0, 0, 548, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 1034, 0, 1035, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 1058, 0, 1059, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 1138, + 0, 1139, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 704, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 0, 0, 758, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 0, 0, 803, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 0, 0, 839, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, + 0, 1032, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 1054, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 0, 0, 1086, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 0, 0, 1089, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 0, 0, 1090, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, + 0, 1091, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 1154, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 0, 0, 1156, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 0, 0, 1157, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 0, 0, 1167, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, + 0, 1170, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 1173, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 0, 0, 1190, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 0, 0, 1214, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 0, 0, 1216, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 0, + 0, 1218, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 0, 0, 1228, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 455, 0, 0, 0, 0, 529, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 485, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 529, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 530, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 569, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 621, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 622, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 635, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 636, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 637, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 638, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 639, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 640, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 718, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 719, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 720, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 800, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 837, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 838, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 867, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 987, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 988, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 1005, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 1016, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 1121, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 0, 0, 0, 1122, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 0, 0, + 0, 1130, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 0, 0, 0, 1136, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 0, 0, 0, 1185, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 0, 0, 0, 1188, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 582, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 0, 0, 600, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 602, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 0, + 0, 604, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 606, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 0, 0, 608, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 610, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 0, 0, 612, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 614, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 0, 0, 616, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 618, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 0, 0, 620, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 624, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 0, + 0, 626, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 628, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 0, 0, 630, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 632, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 0, 0, 634, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 717, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 0, 0, 733, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 735, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 0, 0, 739, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 0, 0, 740, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 0, + 0, 754, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 0, 0, 780, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 0, 0, 888, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 0, 0, + 890, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 0, 0, 892, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 0, 0, 894, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 0, 0, 895, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 0, 0, 1002, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 455, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 486, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 495, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 496, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 498, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 500, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 501, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 504, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 505, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 513, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 565, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 566, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 567, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 573, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 599, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 601, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 603, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 605, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 607, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 609, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 611, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 613, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 615, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 617, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 619, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 623, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 625, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 627, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 629, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 631, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 633, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 683, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 688, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 697, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 700, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 701, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 705, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 749, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 750, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 751, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 752, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 753, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 858, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 887, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300, 0, 889, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 0, 0, 0, 0, 300, 0, 891, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 0, 0, 300, 0, 893, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 0, 0, 0, 0, 300, 0, + 899, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 0, 0, 0, 0, 300, + 0, 993, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 0, 0, 0, 0, + 300, 0, 1033, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 0, 0, 0, + 0, 300, 0, 1053, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 0, 0, 300, 0, 1062, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 0, + 0, 0, 0, 300, 0, 1184, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 0, 0, 0, 0, 300, 0, 1226, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 0, 0, 0, 0, 300 }; -/* -*-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[] = +{ + 60, 6, 355, 279, 6, 6, 1073, 6, 3, 6, + 179, 4, 3, 182, 6, 4, 185, 4, 662, 4, + 4, 5, 4, 4, 4, 13, 4, 4, 5, 4, + 6, 4, 71, 49, 72, 4, 7, 6, 76, 77, + 5, 138, 211, 6, 72, 214, 143, 0, 76, 77, + 6, 71, 36, 37, 38, 39, 732, 6, 42, 36, + 37, 38, 39, 6, 71, 42, 6, 7, 4, 5, + 49, 36, 37, 38, 39, 127, 128, 42, 144, 6, + 6, 138, 148, 80, 137, 137, 143, 80, 81, 82, + 83, 84, 144, 80, 81, 82, 83, 84, 137, 53, + 36, 37, 38, 39, 72, 144, 42, 145, 76, 77, + 343, 344, 345, 118, 119, 120, 4, 145, 123, 124, + 1187, 137, 127, 71, 144, 124, 99, 4, 133, 56, + 137, 136, 124, 138, 139, 140, 141, 144, 143, 144, + 145, 146, 144, 148, 149, 150, 117, 791, 153, 134, + 135, 6, 145, 49, 139, 144, 141, 137, 145, 7, + 144, 146, 144, 144, 169, 170, 144, 144, 144, 144, + 139, 127, 128, 137, 179, 137, 1243, 145, 127, 128, + 144, 139, 144, 459, 127, 128, 144, 192, 193, 194, + 148, 196, 137, 7, 199, 200, 144, 366, 134, 135, + 728, 56, 137, 91, 92, 141, 266, 267, 268, 269, + 49, 277, 217, 72, 91, 92, 385, 76, 77, 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, 258, 259, 260, 261, 262, 263, 264, + 265, 31, 32, 329, 34, 909, 114, 115, 116, 117, + 72, 138, 277, 137, 76, 77, 143, 137, 279, 139, + 144, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 43, 137, 7, 46, + 114, 115, 116, 117, 309, 72, 137, 72, 139, 76, + 77, 76, 77, 318, 134, 135, 127, 128, 323, 277, + 134, 135, 137, 328, 329, 137, 854, 141, 333, 137, + 335, 336, 337, 144, 339, 340, 341, 342, 343, 344, + 345, 49, 137, 145, 139, 342, 343, 344, 345, 127, + 128, 309, 357, 358, 359, 360, 361, 362, 363, 354, + 355, 1037, 367, 354, 355, 7, 144, 372, 62, 63, + 328, 329, 377, 378, 127, 128, 46, 4, 145, 49, + 145, 51, 127, 128, 389, 390, 391, 392, 72, 394, + 138, 144, 76, 77, 399, 143, 166, 402, 168, 144, + 401, 4, 5, 51, 174, 114, 115, 116, 117, 179, + 138, 127, 128, 134, 135, 143, 43, 137, 484, 46, + 141, 143, 49, 145, 49, 134, 135, 143, 1104, 145, + 1106, 144, 1108, 36, 37, 38, 39, 1081, 72, 42, + 72, 507, 76, 77, 76, 77, 127, 128, 72, 454, + 72, 221, 76, 77, 76, 77, 461, 137, 459, 139, + 6, 145, 143, 460, 145, 72, 137, 144, 139, 76, + 77, 4, 114, 115, 116, 117, 137, 4, 139, 484, + 485, 4, 487, 488, 137, 72, 491, 492, 493, 76, + 77, 137, 134, 135, 127, 128, 129, 130, 131, 137, + 127, 128, 507, 136, 1180, 510, 511, 783, 784, 137, + 137, 145, 517, 145, 72, 127, 128, 144, 76, 77, + 6, 145, 582, 145, 529, 530, 484, 127, 128, 99, + 143, 143, 145, 538, 492, 493, 99, 1213, 145, 1215, + 4, 1217, 137, 143, 139, 145, 137, 1223, 139, 507, + 99, 556, 510, 137, 151, 560, 127, 128, 145, 99, + 157, 4, 5, 137, 569, 139, 571, 572, 127, 128, + 137, 1247, 143, 1249, 1102, 1251, 137, 137, 644, 139, + 137, 582, 352, 353, 143, 645, 183, 145, 127, 128, + 187, 188, 362, 36, 37, 38, 39, 127, 128, 42, + 953, 137, 137, 139, 143, 6, 7, 673, 668, 127, + 128, 127, 128, 143, 5, 1143, 621, 622, 1146, 4, + 137, 1149, 127, 128, 137, 143, 139, 143, 6, 695, + 635, 636, 637, 638, 639, 640, 641, 6, 143, 644, + 137, 6, 139, 648, 137, 127, 128, 127, 128, 137, + 655, 127, 128, 127, 128, 721, 722, 723, 724, 144, + 665, 143, 137, 143, 139, 137, 137, 143, 673, 143, + 43, 840, 137, 46, 139, 144, 49, 1205, 51, 65, + 66, 67, 68, 137, 70, 139, 644, 137, 144, 139, + 695, 8, 78, 79, 134, 135, 129, 130, 131, 139, + 137, 141, 1230, 136, 4, 1233, 146, 137, 1236, 139, + 137, 1239, 139, 137, 137, 673, 721, 722, 723, 724, + 137, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 327, 1259, 137, 1261, 136, 1263, 139, 695, 134, 135, + 137, 139, 139, 139, 144, 141, 1099, 137, 6, 139, + 146, 143, 139, 145, 141, 144, 761, 762, 528, 143, + 765, 145, 144, 721, 722, 723, 724, 143, 49, 145, + 51, 8, 143, 143, 145, 145, 143, 139, 145, 780, + 143, 551, 145, 784, 143, 141, 145, 792, 143, 143, + 145, 145, 143, 139, 145, 800, 143, 94, 145, 804, + 144, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 6, 4, 822, 6, 136, + 143, 143, 145, 145, 143, 143, 145, 145, 145, 6, + 137, 836, 837, 838, 143, 143, 145, 145, 143, 143, + 145, 145, 137, 137, 849, 850, 137, 137, 853, 6, + 139, 4, 144, 913, 6, 6, 5, 136, 141, 456, + 457, 7, 867, 868, 869, 139, 144, 7, 873, 874, + 7, 138, 6, 137, 7, 880, 877, 7, 91, 144, + 885, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 143, 138, 902, 138, 136, + 143, 671, 6, 4, 901, 140, 138, 7, 145, 61, + 94, 7, 7, 918, 7, 94, 7, 7, 94, 7, + 925, 926, 7, 6, 138, 930, 7, 138, 138, 141, + 145, 99, 7, 7, 939, 940, 145, 7, 141, 137, + 137, 137, 144, 1112, 949, 6, 4, 6, 718, 719, + 720, 6, 949, 140, 6, 6, 139, 7, 953, 12, + 13, 6, 953, 124, 561, 562, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 49, 7, 987, 988, 136, 7, 51, 7, 144, 7, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 1005, 54, 7, 56, 57, 7, 59, 60, 7, 7, + 7, 1016, 1181, 7, 7, 7, 7, 4, 144, 144, + 6, 137, 75, 6, 6, 6, 6, 6, 6, 1034, + 4, 7, 7, 86, 87, 88, 7, 7, 7, 6, + 4, 6, 144, 137, 141, 7, 138, 100, 101, 102, + 1055, 104, 138, 1058, 107, 1060, 6, 144, 6, 6, + 144, 6, 144, 6, 1069, 144, 6, 5, 144, 1074, + 7, 6, 6, 90, 5, 5, 4, 6, 141, 6, + 6, 6, 6, 853, 681, 682, 8, 684, 5, 686, + 687, 140, 145, 690, 691, 6, 6, 6, 1103, 6, + 1105, 6, 1107, 6, 1099, 6, 6, 6, 1099, 6, + 1115, 6, 6, 6, 6, 6, 1121, 1122, 6, 143, + 6, 6, 4, 144, 7, 1130, 6, 6, 6, 141, + 6, 5, 145, 1138, 6, 6, 144, 144, 144, 6, + 144, 7, 6, 144, 741, 742, 743, 89, 6, 6, + 920, 6, 922, 1158, 138, 6, 92, 6, 6, 6, + 6, 6, 5, 1168, 6, 1225, 1171, 144, 6, 1174, + 6, 6, 145, 1178, 61, 6, 144, 143, 6, 6, + 1185, 6, 145, 1188, 5, 955, 144, 957, 144, 959, + 144, 6, 6, 1253, 143, 1255, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 6, 808, 144, 1273, 136, 6, 138, 814, 6, 6, + 5, 144, 6, 144, 144, 144, 823, 824, 825, 144, + 6, 828, 829, 830, 831, 832, 833, 834, 6, 145, + 6, 6, 3, 4, 6, 799, 6, 6, 9, 10, + 11, 6, 849, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 871, 6, 1158, 3, 3, 585, + -1, -1, 43, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 905, -1, -1, + -1, 136, -1, 900, 65, 66, 67, 68, 69, 70, + -1, -1, -1, -1, -1, -1, 6, 78, 79, -1, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, 1103, -1, 1105, 136, 1107, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 110, + 111, 112, 113, 136, 6, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, + -1, 132, -1, -1, 971, -1, 137, 974, -1, -1, + -1, 142, -1, -1, 145, 982, -1, 3, 4, -1, + -1, -1, 989, 9, 10, 11, 993, -1, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 8, + -1, -1, -1, -1, -1, -1, -1, 43, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, 65, + 66, 67, 68, 69, 70, 1052, -1, -1, -1, -1, + -1, -1, 78, 79, -1, -1, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, 99, 136, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 110, 111, 112, 113, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 6, -1, + -1, 127, 128, -1, 1111, -1, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, 142, -1, 144, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 3, 4, -1, -1, 136, -1, 9, + 10, 11, -1, 1150, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, + -1, -1, -1, 43, -1, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 65, 66, 67, 68, 69, + 70, 8, 145, -1, -1, -1, -1, -1, 78, 79, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, 99, + -1, -1, -1, -1, 6, -1, -1, -1, -1, -1, + 110, 111, 112, 113, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, + -1, -1, 132, -1, -1, -1, -1, 137, -1, 3, + 4, -1, 142, -1, 144, 9, 10, 11, -1, -1, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + 34, -1, -1, -1, -1, -1, -1, -1, -1, 43, + -1, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 65, 66, 67, 68, 69, 70, 8, -1, -1, + -1, -1, -1, -1, 78, 79, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + 6, -1, -1, -1, -1, -1, 110, 111, 112, 113, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 127, 128, -1, -1, -1, 132, -1, + -1, -1, -1, 137, -1, 3, 4, -1, 142, -1, + 144, 9, 10, 11, -1, -1, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, + -1, -1, -1, -1, -1, 43, -1, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 65, 66, 67, + 68, 69, 70, 8, -1, -1, -1, -1, -1, -1, + 78, 79, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 110, 111, 112, 113, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, + 128, -1, -1, -1, 132, -1, -1, -1, -1, 137, + -1, 3, 4, -1, 142, -1, 144, 9, 10, 11, + -1, -1, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, + -1, 43, -1, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 65, 66, 67, 68, 69, 70, -1, + -1, -1, 3, 4, -1, -1, 78, 79, 9, 10, + 11, -1, -1, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 6, -1, -1, -1, 110, 111, + 112, 113, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, + 132, -1, -1, -1, -1, 137, -1, 3, 4, -1, + 142, -1, 144, 9, 10, 11, -1, -1, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 110, + 111, 112, 113, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, + -1, 132, -1, -1, -1, -1, 137, -1, -1, 140, + -1, 142, -1, 144, -1, -1, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, -1, 6, -1, 110, 111, 112, 113, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 127, 128, -1, -1, -1, 132, -1, -1, -1, + -1, 137, -1, -1, 140, -1, 142, -1, 144, 3, + 4, -1, -1, -1, -1, 9, 10, 11, -1, -1, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + 34, -1, -1, -1, 3, 4, 5, -1, 7, -1, + 9, 10, 11, -1, -1, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, -1, 36, 37, 38, + 39, -1, -1, 42, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 6, -1, -1, 110, 111, 112, 113, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 127, 128, -1, -1, -1, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, 142, -1, + 144, 110, 111, 112, 113, 114, 115, 116, 117, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, + -1, -1, -1, 132, -1, 134, 135, -1, 137, -1, + 139, -1, 141, 142, 3, 4, -1, -1, -1, -1, + 9, 10, 11, -1, -1, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, + -1, -1, -1, -1, 43, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, -1, 65, 66, 67, 68, + 69, 70, -1, -1, -1, 3, 4, -1, -1, 78, + 79, 9, 10, 11, -1, -1, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, + -1, 110, 111, 112, 113, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, + -1, -1, -1, 132, 3, 4, 5, -1, 137, -1, + 9, 10, 11, 142, -1, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, -1, 36, 37, 38, + 39, -1, -1, 42, -1, -1, -1, -1, -1, -1, + -1, -1, 110, 111, 112, 113, 12, 13, 6, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, + 128, -1, -1, -1, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, 142, -1, -1, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, + 56, 57, -1, 59, 60, -1, -1, -1, -1, -1, + -1, 110, 111, 112, 113, -1, -1, -1, -1, 75, + -1, 12, 13, 6, -1, -1, -1, -1, 127, 128, + 86, 87, 88, 132, -1, -1, -1, -1, 137, -1, + -1, -1, -1, 142, 100, 101, 102, -1, 104, -1, + -1, 107, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, -1, 54, -1, 56, 57, -1, 59, 60, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 75, -1, 12, 13, 136, 145, + -1, -1, -1, -1, -1, 86, 87, 88, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, + 101, 102, -1, 104, -1, -1, 107, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, + 56, 57, -1, 59, 60, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 75, + -1, 12, 13, 136, 145, -1, -1, -1, -1, -1, + 86, 87, 88, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 100, 101, 102, -1, 104, -1, + -1, 107, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, -1, 54, -1, 56, 57, -1, 59, 60, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 75, -1, 12, 13, 6, 145, + -1, -1, -1, -1, -1, 86, 87, 88, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, + 101, 102, -1, 104, -1, -1, 107, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, + 56, 57, -1, 59, 60, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, + -1, 12, 13, 6, 145, -1, -1, -1, -1, -1, + 86, 87, 88, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 100, 101, 102, -1, 104, -1, + -1, 107, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, -1, 54, -1, 56, 57, -1, 59, 60, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 75, 6, 12, 13, 136, 145, + -1, -1, -1, -1, -1, 86, 87, 88, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 6, 100, + 101, 102, -1, 104, -1, -1, 107, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, -1, 54, 8, + 56, 57, -1, 59, 60, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 75, + 8, -1, -1, 136, 145, -1, -1, -1, -1, -1, + 86, 87, 88, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 100, 101, 102, -1, 104, -1, + -1, 107, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, 0, 1, -1, 136, 4, + -1, -1, -1, -1, -1, -1, -1, 12, 13, -1, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 35, -1, -1, -1, -1, 40, 41, 145, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, -1, 54, + 55, 56, 57, 58, 59, 60, -1, -1, -1, 64, + 65, 66, 67, 68, 69, 70, -1, 72, 73, 74, + 75, -1, -1, 78, 79, -1, 4, -1, -1, -1, + 85, 86, 87, 88, 12, 13, 91, -1, 93, -1, + 95, 96, 97, 98, -1, 100, 101, 102, -1, 104, + 105, 106, 107, 108, 109, -1, -1, 35, -1, -1, + -1, -1, 40, 41, -1, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, -1, 54, 55, 56, 57, + 58, 59, 60, -1, -1, -1, 64, 65, 66, 67, + 68, 69, 70, -1, 72, 73, 74, 75, -1, -1, + 78, 79, 12, 13, -1, -1, -1, 85, 86, 87, + 88, -1, -1, 91, -1, 93, -1, 95, 96, 97, + 98, -1, 100, 101, 102, -1, 104, 105, 106, 107, + 108, 109, -1, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, -1, 54, -1, 56, 57, -1, 59, + 60, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 75, -1, -1, -1, 136, + -1, -1, -1, 140, -1, -1, 86, 87, 88, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 100, 101, 102, -1, 104, -1, -1, 107, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, -1, 145, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, -1, 145, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + -1, 145, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, -1, -1, 145, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, -1, -1, 145, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, -1, -1, 145, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, -1, + -1, 145, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, -1, -1, 145, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, -1, -1, 145, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, -1, -1, 145, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, -1, + -1, 145, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, -1, -1, 145, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, -1, -1, 145, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, -1, -1, 145, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, -1, + -1, 145, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, -1, -1, 145, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, -1, -1, 145, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, -1, -1, 145, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, -1, + -1, 145, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, -1, -1, 145, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, -1, -1, -1, 143, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, -1, -1, + -1, 143, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, -1, -1, -1, 143, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + -1, -1, -1, 143, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, -1, -1, -1, 143, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, + -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, + -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, -1, -1, 140, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, -1, -1, 140, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, -1, + -1, 140, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, -1, -1, 140, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, -1, -1, 140, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, -1, -1, + 140, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, -1, -1, 140, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, -1, -1, 140, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, -1, -1, 140, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + -1, -1, 140, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136, -1, 138, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, -1, -1, -1, -1, 136, -1, 138, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, -1, -1, -1, -1, 136, -1, 138, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, -1, -1, -1, -1, 136, -1, + 138, 118, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, -1, -1, -1, -1, 136, + -1, 138, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, -1, -1, -1, -1, + 136, -1, 138, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, -1, -1, -1, + -1, 136, -1, 138, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, -1, -1, + -1, -1, 136, -1, 138, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, -1, + -1, -1, -1, 136, -1, 138, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + -1, -1, -1, -1, 136, -1, 138, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, -1, -1, -1, -1, 136 +}; -/* 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, 148, 149, 6, 0, 4, 12, 13, 35, + 40, 41, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 54, 55, 56, 57, 58, 59, 60, 64, + 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, + 78, 79, 85, 86, 87, 88, 91, 93, 95, 96, + 97, 98, 100, 101, 102, 104, 105, 106, 107, 108, + 109, 150, 152, 153, 172, 174, 175, 178, 179, 180, + 181, 182, 183, 184, 201, 202, 203, 3, 4, 5, + 7, 9, 10, 11, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 36, 37, 38, 39, 42, + 110, 111, 112, 113, 114, 115, 116, 117, 127, 128, + 132, 134, 135, 137, 139, 141, 142, 170, 171, 204, + 205, 216, 13, 49, 137, 6, 144, 6, 137, 144, + 137, 137, 71, 137, 144, 137, 137, 71, 144, 137, + 137, 53, 49, 137, 49, 49, 49, 46, 49, 51, + 51, 43, 46, 49, 51, 137, 144, 127, 128, 137, + 144, 206, 207, 206, 144, 4, 43, 46, 49, 144, + 206, 4, 144, 49, 4, 144, 6, 43, 46, 4, + 4, 4, 137, 137, 137, 4, 144, 212, 4, 137, + 137, 6, 99, 99, 99, 99, 4, 4, 99, 4, + 5, 144, 215, 216, 144, 215, 4, 139, 141, 146, + 171, 4, 144, 216, 137, 139, 137, 139, 137, 139, + 137, 139, 137, 139, 137, 139, 137, 139, 137, 139, + 137, 139, 137, 139, 137, 139, 137, 139, 137, 139, + 137, 139, 137, 139, 137, 139, 137, 139, 137, 139, + 137, 139, 137, 139, 137, 139, 137, 137, 137, 137, + 137, 4, 204, 204, 204, 204, 140, 144, 204, 4, + 91, 92, 4, 204, 6, 6, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 136, 6, 6, 204, 5, 204, 204, 4, 43, 128, + 175, 178, 184, 204, 210, 211, 204, 204, 137, 204, + 211, 204, 204, 137, 211, 204, 204, 99, 128, 144, + 204, 209, 210, 137, 204, 144, 137, 137, 209, 144, + 144, 137, 137, 137, 137, 137, 4, 206, 206, 206, + 204, 204, 127, 128, 144, 144, 206, 139, 144, 144, + 144, 127, 128, 137, 177, 206, 144, 139, 177, 209, + 4, 6, 139, 177, 99, 209, 209, 139, 139, 6, + 204, 204, 204, 141, 204, 144, 94, 204, 204, 137, + 137, 137, 137, 6, 137, 177, 6, 177, 6, 139, + 204, 4, 144, 206, 154, 6, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 4, 215, + 215, 215, 215, 5, 139, 138, 7, 117, 211, 140, + 7, 170, 171, 141, 7, 139, 6, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 204, 204, 204, 204, + 204, 204, 6, 138, 143, 143, 138, 139, 144, 204, + 210, 8, 129, 143, 145, 138, 138, 204, 138, 145, + 138, 138, 204, 145, 138, 138, 209, 144, 145, 211, + 129, 7, 204, 138, 204, 204, 204, 7, 204, 204, + 204, 173, 204, 216, 173, 173, 173, 138, 143, 143, + 143, 206, 206, 175, 176, 177, 178, 176, 143, 204, + 204, 204, 204, 204, 43, 46, 49, 51, 107, 174, + 188, 143, 177, 204, 145, 6, 7, 6, 204, 145, + 137, 7, 7, 204, 204, 138, 138, 138, 91, 143, + 177, 144, 8, 138, 204, 204, 204, 204, 204, 145, + 145, 204, 140, 171, 204, 144, 4, 80, 81, 82, + 83, 84, 145, 157, 161, 164, 166, 167, 169, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 140, 138, + 140, 143, 143, 138, 140, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 143, 143, 143, 143, 143, + 143, 139, 141, 138, 143, 143, 138, 138, 143, 204, + 209, 209, 145, 7, 141, 170, 171, 216, 204, 6, + 4, 4, 144, 213, 140, 8, 6, 124, 151, 211, + 204, 7, 140, 144, 204, 204, 204, 210, 204, 210, + 94, 7, 7, 138, 7, 94, 7, 7, 138, 94, + 7, 7, 6, 211, 145, 144, 204, 138, 7, 145, + 138, 138, 204, 145, 145, 138, 138, 138, 138, 138, + 141, 206, 204, 204, 145, 145, 204, 140, 143, 143, + 143, 144, 144, 144, 144, 72, 76, 77, 199, 200, + 206, 145, 185, 140, 204, 140, 204, 209, 209, 140, + 140, 7, 7, 7, 141, 204, 145, 204, 204, 138, + 138, 138, 138, 138, 140, 141, 171, 215, 145, 154, + 158, 137, 137, 144, 168, 137, 6, 204, 204, 204, + 204, 204, 204, 204, 204, 204, 4, 211, 215, 204, + 140, 6, 6, 140, 4, 91, 92, 204, 6, 6, + 6, 7, 139, 212, 214, 6, 204, 124, 215, 138, + 143, 206, 211, 145, 8, 49, 209, 209, 7, 209, + 49, 51, 209, 209, 7, 51, 209, 209, 145, 211, + 6, 7, 144, 7, 7, 7, 6, 61, 7, 7, + 7, 7, 7, 7, 7, 4, 143, 143, 143, 145, + 144, 206, 206, 206, 211, 211, 211, 211, 6, 144, + 137, 145, 200, 143, 199, 6, 6, 6, 138, 6, + 6, 6, 6, 209, 209, 209, 4, 143, 8, 8, + 138, 7, 7, 7, 7, 7, 6, 4, 6, 145, + 137, 204, 204, 208, 209, 144, 204, 138, 140, 138, + 140, 138, 140, 138, 140, 140, 138, 138, 138, 138, + 170, 7, 170, 171, 141, 7, 6, 212, 204, 143, + 145, 6, 6, 151, 204, 6, 145, 204, 144, 6, + 56, 6, 56, 209, 6, 144, 144, 6, 6, 209, + 144, 6, 6, 145, 5, 204, 209, 209, 209, 62, + 63, 209, 209, 209, 209, 209, 209, 209, 6, 7, + 204, 204, 204, 144, 177, 143, 145, 143, 145, 143, + 145, 145, 145, 145, 145, 204, 209, 204, 204, 206, + 145, 7, 6, 6, 90, 204, 204, 204, 209, 5, + 204, 204, 5, 171, 6, 155, 204, 143, 143, 143, + 145, 156, 204, 138, 141, 209, 216, 204, 6, 4, + 213, 6, 140, 212, 215, 143, 140, 204, 206, 206, + 6, 204, 204, 6, 204, 5, 143, 6, 6, 6, + 204, 204, 4, 6, 6, 6, 6, 6, 6, 6, + 204, 216, 145, 138, 143, 145, 176, 189, 206, 6, + 190, 206, 6, 191, 206, 6, 192, 6, 6, 6, + 6, 145, 143, 138, 145, 143, 209, 209, 143, 145, + 8, 145, 138, 6, 6, 6, 6, 209, 138, 143, + 204, 204, 209, 144, 143, 145, 209, 4, 6, 6, + 6, 7, 6, 141, 6, 204, 145, 6, 6, 145, + 145, 145, 5, 204, 6, 6, 6, 6, 6, 144, + 204, 145, 199, 143, 144, 143, 144, 143, 144, 6, + 209, 7, 144, 204, 6, 89, 204, 204, 6, 159, + 204, 143, 143, 208, 204, 6, 6, 138, 212, 92, + 143, 6, 6, 6, 6, 6, 143, 176, 143, 145, + 145, 204, 206, 199, 204, 206, 199, 204, 206, 199, + 143, 145, 209, 177, 145, 204, 145, 145, 144, 204, + 204, 145, 6, 204, 5, 145, 204, 145, 143, 145, + 145, 143, 145, 145, 143, 145, 209, 6, 61, 145, + 186, 144, 6, 156, 138, 143, 6, 144, 143, 143, + 145, 6, 193, 204, 6, 6, 194, 204, 6, 6, + 195, 204, 6, 145, 204, 199, 177, 145, 162, 204, + 208, 204, 5, 144, 145, 144, 145, 144, 145, 6, + 6, 145, 145, 187, 6, 144, 138, 145, 145, 143, + 199, 6, 196, 199, 6, 197, 199, 6, 198, 199, + 160, 215, 165, 144, 6, 5, 145, 144, 145, 144, + 145, 144, 145, 143, 145, 144, 208, 145, 6, 199, + 6, 199, 6, 199, 215, 6, 163, 215, 145, 6, + 145, 145, 145, 143, 145, 6, 6, 6, 6, 215, + 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 (i-- > 0) - *t++ = *f++; + while (*yys++ != '\0') + continue; + + 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 -#else /* __cplusplus */ +#endif /* !YYERROR_VERBOSE */ -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ + + +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#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; + + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); - while (i-- > 0) - *t++ = *f++; + +# 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; @@ -2628,372 +3277,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 147 "Gmsh.y" -{ yyerrok; return 1; ; - break;} -case 5: + { yyerrok; return 1; ;} + break; + + case 6: #line 158 "Gmsh.y" -{ return 1; ; - break;} -case 6: + { return 1; ;} + break; + + case 7: #line 159 "Gmsh.y" -{ return 1; ; - break;} -case 7: + { return 1; ;} + break; + + case 8: #line 160 "Gmsh.y" -{ return 1; ; - break;} -case 8: + { return 1; ;} + break; + + case 9: #line 161 "Gmsh.y" -{ return 1; ; - break;} -case 9: + { return 1; ;} + break; + + case 10: #line 162 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 10: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 11: #line 163 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 11: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 12: #line 164 "Gmsh.y" -{ return 1; ; - break;} -case 12: + { return 1; ;} + break; + + case 13: #line 165 "Gmsh.y" -{ return 1; ; - break;} -case 13: + { return 1; ;} + break; + + case 14: #line 166 "Gmsh.y" -{ return 1; ; - break;} -case 14: + { return 1; ;} + break; + + case 15: #line 167 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 15: + { List_Delete((yyvsp[0].l)); return 1; ;} + break; + + case 16: #line 168 "Gmsh.y" -{ return 1; ; - break;} -case 16: + { return 1; ;} + break; + + case 17: #line 169 "Gmsh.y" -{ return 1; ; - break;} -case 17: + { return 1; ;} + break; + + case 18: #line 170 "Gmsh.y" -{ return 1; ; - break;} -case 18: + { return 1; ;} + break; + + case 19: #line 171 "Gmsh.y" -{ return 1; ; - break;} -case 19: + { return 1; ;} + break; + + case 20: #line 172 "Gmsh.y" -{ return 1; ; - break;} -case 20: + { return 1; ;} + break; + + case 21: #line 177 "Gmsh.y" -{ - yyval.c = "w"; - ; - break;} -case 21: + { + (yyval.c) = "w"; + ;} + break; + + case 22: #line 181 "Gmsh.y" -{ - yyval.c = "a"; - ; - break;} -case 22: + { + (yyval.c) = "a"; + ;} + break; + + case 23: #line 188 "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 193 "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 208 "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 221 "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); } @@ -3002,843 +3625,897 @@ 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 250 "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 257 "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 267 "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 283 "Gmsh.y" -{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ; - break;} -case 36: + { ViewCoord[ViewCoordIdx] = (yyvsp[0].d); ViewCoordIdx++; ;} + break; + + case 37: #line 285 "Gmsh.y" -{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ; - break;} -case 37: + { ViewCoord[ViewCoordIdx] = (yyvsp[0].d); ViewCoordIdx++; ;} + break; + + case 38: #line 290 "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 292 "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 297 "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 487 "Gmsh.y" -{ + { if(ViewValueList){ if(ViewCoordIdx != 3 * ViewNumNodes){ - yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", - ViewCoordIdx, 3 * ViewNumNodes); - double d = 0; - for(int i = 0; i < 3 * ViewNumNodes; i++) - List_Add(ViewValueList, &d); - } - else{ - for(int i = 0; i < 3; i++) - for(int j = 0; j < ViewNumNodes; j++) - List_Add(ViewValueList, &ViewCoord[3*j+i]); +/* yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", */ +/* ViewCoordIdx, 3 * ViewNumNodes); */ +/* double d = 0; */ +/* for(int i = 0; i < 3 * ViewNumNodes; i++) */ +/* List_Add(ViewValueList, &d); */ + ViewNumNodes = ViewCoordIdx/3; } + // else{ + for(int i = 0; i < 3; i++) + for(int j = 0; j < ViewNumNodes; j++) + List_Add(ViewValueList, &ViewCoord[3*j+i]); + // } ViewNumListTmp = List_Nbr(ViewValueList); } - ; - break;} -case 41: -#line 505 "Gmsh.y" -{ + ;} + break; + + case 42: +#line 506 "Gmsh.y" + { if(ViewValueList){ - if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewNumNodes)) + if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewCoordIdx/3)) ViewErrorFlags[ViewElementIdx]++; (*ViewNumList)++; } - ; - break;} -case 42: -#line 516 "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: -#line 521 "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: -#line 529 "Gmsh.y" -{ - List_Add(View->T2D, &yyvsp[-5].d); List_Add(View->T2D, &yyvsp[-3].d); - List_Add(View->T2D, &yyvsp[-1].d); + ;} + break; + + case 43: +#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: +#line 522 "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 45: +#line 530 "Gmsh.y" + { + 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: -#line 536 "Gmsh.y" -{ + ;} + break; + + case 46: +#line 537 "Gmsh.y" + { View->NbT2++; - ; - break;} -case 46: -#line 543 "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: -#line 548 "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: -#line 556 "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); + ;} + break; + + case 47: +#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: +#line 549 "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 49: +#line 557 "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)); double d = List_Nbr(View->T3C); List_Add(View->T3D, &d); - ; - break;} -case 49: -#line 563 "Gmsh.y" -{ + ;} + break; + + case 50: +#line 564 "Gmsh.y" + { View->NbT3++; - ; - break;} -case 50: -#line 571 "Gmsh.y" -{ - View->adaptive = new Adaptive_Post_View(View, yyvsp[-5].l, yyvsp[-2].l); - ; - break;} -case 51: -#line 579 "Gmsh.y" -{ - View->adaptive = new Adaptive_Post_View(View, yyvsp[-11].l, yyvsp[-8].l, yyvsp[-5].l, yyvsp[-2].l); - ; - break;} -case 52: -#line 586 "Gmsh.y" -{ + ;} + break; + + case 51: +#line 572 "Gmsh.y" + { + View->adaptive = new Adaptive_Post_View(View, (yyvsp[-5].l), (yyvsp[-2].l)); + ;} + break; + + case 52: +#line 580 "Gmsh.y" + { + View->adaptive = new Adaptive_Post_View(View, (yyvsp[-11].l), (yyvsp[-8].l), (yyvsp[-5].l), (yyvsp[-2].l)); + ;} + break; + + case 53: +#line 587 "Gmsh.y" + { ViewValueList = View->Time; - ; - break;} -case 53: -#line 590 "Gmsh.y" -{ - ; - break;} -case 54: -#line 595 "Gmsh.y" -{ - (*View->Grains) [(int)yyvsp[-3].d] = yyvsp[-1].l; - ; - break;} -case 55: -#line 603 "Gmsh.y" -{ yyval.i = 0; ; - break;} -case 56: + ;} + break; + + case 54: +#line 591 "Gmsh.y" + { + ;} + break; + + case 55: +#line 596 "Gmsh.y" + { + (*View->Grains) [(int)(yyvsp[-3].d)] = (yyvsp[-1].l); + ;} + break; + + case 56: #line 604 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 57: + { (yyval.i) = 0; ;} + break; + + case 57: #line 605 "Gmsh.y" -{ yyval.i = 2; ; - break;} -case 58: + { (yyval.i) = 1; ;} + break; + + case 58: #line 606 "Gmsh.y" -{ yyval.i = 3; ; - break;} -case 59: + { (yyval.i) = 2; ;} + break; + + case 59: #line 607 "Gmsh.y" -{ yyval.i = 4; ; - break;} -case 60: -#line 611 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 61: + { (yyval.i) = 3; ;} + break; + + case 60: +#line 608 "Gmsh.y" + { (yyval.i) = 4; ;} + break; + + case 61: #line 612 "Gmsh.y" -{ yyval.i = -1; ; - break;} -case 62: -#line 620 "Gmsh.y" -{ + { (yyval.i) = 1; ;} + break; + + case 62: +#line 613 "Gmsh.y" + { (yyval.i) = -1; ;} + break; + + case 63: +#line 621 "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 63: -#line 651 "Gmsh.y" -{ + ;} + break; + + case 64: +#line 652 "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 64: -#line 690 "Gmsh.y" -{ - if(List_Nbr(yyvsp[-5].l) != List_Nbr(yyvsp[-1].l)){ + ;} + break; + + case 65: +#line 691 "Gmsh.y" + { + 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 65: -#line 744 "Gmsh.y" -{ + List_Delete((yyvsp[-5].l)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 66: +#line 745 "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_Delete(yyvsp[-1].l); - ; - break;} -case 66: -#line 761 "Gmsh.y" -{ + List_Copy((yyvsp[-1].l), pSymbol->val); + Free((yyvsp[-5].c)); + } + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 67: +#line 762 "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 67: -#line 779 "Gmsh.y" -{ + 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 68: +#line 780 "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 68: -#line 790 "Gmsh.y" -{ + *(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[-1].i); + Free((yyvsp[-2].c)); + ;} + break; + + case 69: +#line 791 "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); - } - Free(yyvsp[-5].c); - ; - break;} -case 69: -#line 807 "Gmsh.y" -{ + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[-5].c), (int)(yyvsp[-3].d)); + } + Free((yyvsp[-5].c)); + ;} + break; + + case 70: +#line 808 "Gmsh.y" + { Msg(WARNING, "Named string expressions not implemented yet"); - ; - break;} -case 70: -#line 814 "Gmsh.y" -{ + ;} + break; + + case 71: +#line 815 "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); - } - Free(yyvsp[-5].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $5 - ; - break;} -case 71: -#line 828 "Gmsh.y" -{ + pStrOpt(0, GMSH_SET|GMSH_GUI, (yyvsp[-1].c)); + } + Free((yyvsp[-5].c)); Free((yyvsp[-3].c)); //FIXME: somtimes leak $5 + ;} + break; + + case 72: +#line 829 "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 72: -#line 845 "Gmsh.y" -{ + Free((yyvsp[-8].c)); Free((yyvsp[-3].c)); //FIXME: somtimes leak $8 + ;} + break; + + case 73: +#line 846 "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 73: -#line 871 "Gmsh.y" -{ + Free((yyvsp[-5].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 74: +#line 872 "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 74: -#line 898 "Gmsh.y" -{ + Free((yyvsp[-8].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 75: +#line 899 "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 75: -#line 912 "Gmsh.y" -{ + Free((yyvsp[-4].c)); Free((yyvsp[-2].c)); + ;} + break; + + case 76: +#line 913 "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 76: -#line 929 "Gmsh.y" -{ + Free((yyvsp[-7].c)); Free((yyvsp[-2].c)); + ;} + break; + + case 77: +#line 930 "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 77: -#line 943 "Gmsh.y" -{ + Free((yyvsp[-7].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 78: +#line 944 "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 78: -#line 960 "Gmsh.y" -{ + Free((yyvsp[-10].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 79: +#line 961 "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 79: -#line 980 "Gmsh.y" -{ - GmshColorTable *ct = Get_ColorTable((int)yyvsp[-6].d); + Free((yyvsp[-5].c)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 80: +#line 981 "Gmsh.y" + { + 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 80: -#line 1003 "Gmsh.y" -{ + Free((yyvsp[-8].c)); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 81: +#line 1004 "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 81: -#line 1013 "Gmsh.y" -{ + Free((yyvsp[-6].c)); Free((yyvsp[-3].c)); + ;} + break; + + case 82: +#line 1014 "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); - } - Free(yyvsp[-6].c); Free(yyvsp[-3].c); // FIXME: sometimes leak $8 - ; - break;} -case 82: -#line 1028 "Gmsh.y" -{ - yyval.i = (int)yyvsp[0].d; - ; - break;} -case 83: -#line 1032 "Gmsh.y" -{ - yyval.i = GMODEL->setPhysicalName(std::string(yyvsp[0].c), ++THEM->MaxPhysicalNum); - Free(yyvsp[0].c); - ; - break;} -case 84: -#line 1044 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + 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 83: +#line 1029 "Gmsh.y" + { + (yyval.i) = (int)(yyvsp[0].d); + ;} + break; + + case 84: +#line 1033 "Gmsh.y" + { + (yyval.i) = GMODEL->setPhysicalName(std::string((yyvsp[0].c)), ++THEM->MaxPhysicalNum); + Free((yyvsp[0].c)); + ;} + break; + + case 85: +#line 1045 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d); if(FindPoint(num)){ yymsg(GERROR, "Point %d already exists", num); } else{ - double x = CTX.geom.scaling_factor * yyvsp[-1].v[0]; - double y = CTX.geom.scaling_factor * yyvsp[-1].v[1]; - double z = CTX.geom.scaling_factor * yyvsp[-1].v[2]; - double lc = CTX.geom.scaling_factor * yyvsp[-1].v[3]; + double x = CTX.geom.scaling_factor * (yyvsp[-1].v)[0]; + double y = CTX.geom.scaling_factor * (yyvsp[-1].v)[1]; + double z = CTX.geom.scaling_factor * (yyvsp[-1].v)[2]; + double lc = CTX.geom.scaling_factor * (yyvsp[-1].v)[3]; Vertex *v; if(!myGmshSurface) v = Create_Vertex(num, x, y, z, lc, 1.0); @@ -3847,35 +4524,37 @@ case 84: Tree_Add(THEM->Points, &v); AddToTemporaryBoundingBox(v->Pos.X, v->Pos.Y, v->Pos.Z); } - yyval.s.Type = MSH_POINT; - yyval.s.Num = num; - ; - break;} -case 85: -#line 1066 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + (yyval.s).Type = MSH_POINT; + (yyval.s).Num = num; + ;} + break; + + case 86: +#line 1067 "Gmsh.y" + { + 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 86: -#line 1082 "Gmsh.y" -{ + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_POINT; + (yyval.s).Num = num; + ;} + break; + + case 87: +#line 1083 "Gmsh.y" + { AttractorField *att = new AttractorField(); - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + 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); Vertex *v = FindPoint((int)d); if(v) att->addPoint(v->Pos.X, v->Pos.Y, v->Pos.Z); @@ -3886,99 +4565,106 @@ case 86: } } att->buildFastSearchStructures(); - fields.insert(att, (int)yyvsp[-4].d); + fields.insert(att, (int)(yyvsp[-4].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 87: -#line 1103 "Gmsh.y" -{ - fields.insert(new LatLonField(fields.get((int)yyvsp[-1].d)), (int)yyvsp[-4].d); + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 88: +#line 1104 "Gmsh.y" + { + fields.insert(new LatLonField(fields.get((int)(yyvsp[-1].d))), (int)(yyvsp[-4].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 88: -#line 1110 "Gmsh.y" -{ - Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)yyvsp[-1].d); + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 89: +#line 1111 "Gmsh.y" + { + Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)(yyvsp[-1].d)); if(vv) - fields.insert(new PostViewField(*vv), (int)yyvsp[-4].d); + fields.insert(new PostViewField(*vv), (int)(yyvsp[-4].d)); else - yymsg(GERROR, "Field %i error, view %i does not exist",(int)yyvsp[-4].d,(int)yyvsp[-1].d); + yymsg(GERROR, "Field %i error, view %i does not exist",(int)(yyvsp[-4].d),(int)(yyvsp[-1].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 89: -#line 1121 "Gmsh.y" -{ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 90: +#line 1122 "Gmsh.y" + { double pars[] = {0, CTX.lc/10, CTX.lc, CTX.lc/100, CTX.lc/20}; - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ if(i > 4) yymsg(GERROR, "Too many parameters for Thresold Field (max=5)"); else - List_Read(yyvsp[-1].l, i, &pars[i]); + List_Read((yyvsp[-1].l), i, &pars[i]); } fields.insert(new ThresholdField(fields.get((int)pars[0]), pars[1], - pars[2], pars[3], pars[4]), (int)yyvsp[-4].d); + pars[2], pars[3], pars[4]), (int)(yyvsp[-4].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 90: -#line 1136 "Gmsh.y" -{ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 91: +#line 1137 "Gmsh.y" + { std::list<Field*> *flist = new std::list<Field*>; flist->resize(0); - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ double id; - List_Read(yyvsp[-1].l, i, &id); + List_Read((yyvsp[-1].l), i, &id); Field *pfield = fields.get((int)id); if(pfield)flist->push_front(pfield); } - fields.insert(new FunctionField(flist,yyvsp[-2].c),(int)yyvsp[-5].d); + fields.insert(new FunctionField(flist,(yyvsp[-2].c)),(int)(yyvsp[-5].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 91: -#line 1151 "Gmsh.y" -{ - fields.insert(new StructuredField(yyvsp[-1].c), (int)yyvsp[-4].d); + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 92: +#line 1152 "Gmsh.y" + { + fields.insert(new StructuredField((yyvsp[-1].c)), (int)(yyvsp[-4].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 92: -#line 1158 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 93: +#line 1159 "Gmsh.y" + { + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ double id; - List_Read(yyvsp[-1].l, i, &id); + List_Read((yyvsp[-1].l), i, &id); BGMAddField(fields.get((int)id)); } // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 93: -#line 1170 "Gmsh.y" -{ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 94: +#line 1171 "Gmsh.y" + { double pars[] = { CTX.lc/10, CTX.lc/100., CTX.lc/20, 1, 3 }; - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ if(i > 4) yymsg(GERROR, "Too many paramaters for attractor line (max = 5)"); else - List_Read(yyvsp[-1].l, i, &pars[i]); + List_Read((yyvsp[-1].l), i, &pars[i]); } // treshold attractor: first parameter is the treshold, next two // are the in and out size fields, last is transition factor @@ -3988,9 +4674,9 @@ case 93: pars[1], pars[2]); fields.insert(threshold); BGMAddField(threshold); - 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); + List_Read((yyvsp[-3].l), i, &d); Vertex *v = FindPoint((int)d); if(v) attractor->addPoint(v->Pos.X, v->Pos.Y, v->Pos.Z); @@ -4002,19 +4688,20 @@ case 93: } attractor->buildFastSearchStructures(); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 94: -#line 1204 "Gmsh.y" -{ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 95: +#line 1205 "Gmsh.y" + { double pars[] = { CTX.lc/10, CTX.lc/100., CTX.lc/20, 10, 3 }; - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + for(int i = 0; i < List_Nbr((yyvsp[-1].l)); i++){ if(i > 4) yymsg(GERROR, "Too many paramaters for attractor line (max = 5)"); else - List_Read(yyvsp[-1].l, i, &pars[i]); + List_Read((yyvsp[-1].l), i, &pars[i]); } // treshold attractor: first parameter is the treshold, next two // are the in and out size fields, last is transition factor @@ -4024,9 +4711,9 @@ case 94: pars[1], pars[2]); fields.insert(threshold); BGMAddField(threshold); - 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); + List_Read((yyvsp[-3].l), i, &d); Curve *c = FindCurve((int)d); if(c){ att->addCurve(c, (int)pars[3]); @@ -4040,202 +4727,211 @@ case 94: } att->buildFastSearchStructures(); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 95: -#line 1240 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 96: +#line 1241 "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); Vertex *v = FindPoint((int)d); if(v) - v->lc = yyvsp[-1].d; + v->lc = (yyvsp[-1].d); else{ GVertex *gv = GMODEL->vertexByTag((int)d); if(gv) - gv->setPrescribedMeshSizeAtVertex(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 96: -#line 1262 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 97: +#line 1263 "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 97: -#line 1280 "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 98: +#line 1281 "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 98: -#line 1298 "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 99: +#line 1299 "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 99: -#line 1316 "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 100: +#line 1317 "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 100: -#line 1342 "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 101: +#line 1343 "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 101: -#line 1360 "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 102: +#line 1361 "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 102: -#line 1387 "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 103: +#line 1388 "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 103: -#line 1406 "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 104: +#line 1407 "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); @@ -4243,25 +4939,26 @@ case 103: List_Delete(temp); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BSPLN; - yyval.s.Num = num; - ; - break;} -case 104: -#line 1430 "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 105: +#line 1431 "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); @@ -4269,106 +4966,111 @@ case 104: List_Delete(temp); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BEZIER; - yyval.s.Num = num; - ; - break;} -case 105: -#line 1454 "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 106: +#line 1455 "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 106: -#line 1480 "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 107: +#line 1481 "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 107: -#line 1497 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_SEGM_LOOP; + (yyval.s).Num = num; + ;} + break; + + case 108: +#line 1498 "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 108: -#line 1516 "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 109: +#line 1517 "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); 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 109: -#line 1534 "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 110: +#line 1535 "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); @@ -4387,49 +5089,53 @@ case 109: 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); End_Surface(s); Tree_Add(THEM->Surfaces, &s); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = type; - yyval.s.Num = num; - ; - break;} -case 110: -#line 1572 "Gmsh.y" -{ + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = type; + (yyval.s).Num = num; + ;} + break; + + case 111: +#line 1573 "Gmsh.y" + { myGmshSurface = 0; - ; - break;} -case 111: -#line 1576 "Gmsh.y" -{ - myGmshSurface = gmshSurface :: surfaceByTag ( (int) yyvsp[-1].d); - ; - break;} -case 112: -#line 1580 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d, type = 0; - myGmshSurface = gmshParametricSurface::NewParametricSurface ((int)yyvsp[-6].d,yyvsp[-3].c,yyvsp[-2].c,yyvsp[-1].c); - ; - break;} -case 113: -#line 1585 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; - if (List_Nbr(yyvsp[-1].l) != 2){ + ;} + break; + + case 112: +#line 1577 "Gmsh.y" + { + myGmshSurface = gmshSurface :: surfaceByTag ( (int) (yyvsp[-1].d)); + ;} + break; + + case 113: +#line 1581 "Gmsh.y" + { + int num = (int)(yyvsp[-6].d), type = 0; + myGmshSurface = gmshParametricSurface::NewParametricSurface ((int)(yyvsp[-6].d),(yyvsp[-3].c),(yyvsp[-2].c),(yyvsp[-1].c)); + ;} + break; + + case 114: +#line 1586 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d), type = 0; + if (List_Nbr((yyvsp[-1].l)) != 2){ yymsg(GERROR, "Sphere %d has to be defined using 2 points (center + " - "any point) and not %d", num, List_Nbr(yyvsp[-1].l)); + "any point) and not %d", num, List_Nbr((yyvsp[-1].l))); } else{ double p1,p2; - List_Read(yyvsp[-1].l, 0, &p1); - List_Read(yyvsp[-1].l, 1, &p2); + List_Read((yyvsp[-1].l), 0, &p1); + List_Read((yyvsp[-1].l), 1, &p2); Vertex *v1 = FindPoint((int)p1); Vertex *v2 = FindPoint((int)p2); if(!v1) yymsg(GERROR, "Sphere %d : unknown point %d", num, (int)p1); @@ -4440,20 +5146,21 @@ case 113: (v2->Pos.Y - v1->Pos.Y) * (v2->Pos.Y - v1->Pos.Y) + (v2->Pos.Z - v1->Pos.Z) * (v2->Pos.Z - v1->Pos.Z))); } - ; - break;} -case 114: -#line 1607 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; - if (List_Nbr(yyvsp[-1].l) != 2){ + ;} + break; + + case 115: +#line 1608 "Gmsh.y" + { + int num = (int)(yyvsp[-4].d), type = 0; + if (List_Nbr((yyvsp[-1].l)) != 2){ yymsg(GERROR, "PolarSphere %d has to be defined using 2 points (center + " - "any point) and not %d", num, List_Nbr(yyvsp[-1].l)); + "any point) and not %d", num, List_Nbr((yyvsp[-1].l))); } else{ double p1,p2; - List_Read(yyvsp[-1].l, 0, &p1); - List_Read(yyvsp[-1].l, 1, &p2); + List_Read((yyvsp[-1].l), 0, &p1); + List_Read((yyvsp[-1].l), 1, &p2); Vertex *v1 = FindPoint((int)p1); Vertex *v2 = FindPoint((int)p2); if(!v1) yymsg(GERROR, "PolarSphere %d : unknown point %d", num, (int)p1); @@ -4464,334 +5171,360 @@ case 114: (v2->Pos.Y - v1->Pos.Y) * (v2->Pos.Y - v1->Pos.Y) + (v2->Pos.Z - v1->Pos.Z) * (v2->Pos.Z - v1->Pos.Z))); } - ; - break;} -case 115: -#line 1629 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + ;} + break; + + case 116: +#line 1630 "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 116: -#line 1645 "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 117: +#line 1646 "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 117: -#line 1665 "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 118: +#line 1666 "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 118: -#line 1682 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 119: +#line 1683 "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 119: -#line 1699 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 120: +#line 1700 "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 120: -#line 1720 "Gmsh.y" -{ - TranslateShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-1].l); - yyval.l = yyvsp[-1].l; - ; - break;} -case 121: -#line 1725 "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); - yyval.l = yyvsp[-1].l; - ; - break;} -case 122: -#line 1730 "Gmsh.y" -{ - SymmetryShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-3].v[3], yyvsp[-1].l); - yyval.l = yyvsp[-1].l; - ; - break;} -case 123: -#line 1735 "Gmsh.y" -{ - DilatShapes(yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, yyvsp[-1].l); - yyval.l = yyvsp[-1].l; - ; - break;} -case 124: -#line 1742 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 125: + List_Delete((yyvsp[-1].l)); + (yyval.s).Type = MSH_PHYSICAL_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 121: +#line 1721 "Gmsh.y" + { + TranslateShapes((yyvsp[-3].v)[0], (yyvsp[-3].v)[1], (yyvsp[-3].v)[2], (yyvsp[-1].l)); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 122: +#line 1726 "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)); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 123: +#line 1731 "Gmsh.y" + { + SymmetryShapes((yyvsp[-3].v)[0], (yyvsp[-3].v)[1], (yyvsp[-3].v)[2], (yyvsp[-3].v)[3], (yyvsp[-1].l)); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 124: +#line 1736 "Gmsh.y" + { + DilatShapes((yyvsp[-6].v)[0], (yyvsp[-6].v)[1], (yyvsp[-6].v)[2], (yyvsp[-4].d), (yyvsp[-1].l)); + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 125: #line 1743 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 126: + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 126: #line 1744 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 127: -#line 1749 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - ; - break;} -case 128: -#line 1753 "Gmsh.y" -{ - List_Add(yyval.l, &yyvsp[0].s); - ; - break;} -case 129: -#line 1757 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 127: +#line 1745 "Gmsh.y" + { (yyval.l) = (yyvsp[0].l); ;} + break; + + case 128: +#line 1750 "Gmsh.y" + { + (yyval.l) = List_Create(3, 3, sizeof(Shape)); + ;} + break; + + case 129: +#line 1754 "Gmsh.y" + { + List_Add((yyval.l), &(yyvsp[0].s)); + ;} + break; + + case 130: +#line 1758 "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); if(v){ TheShape.Type = MSH_POINT; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else{ GVertex *gv = GMODEL->vertexByTag(TheShape.Num); if(gv){ TheShape.Type = MSH_POINT_FROM_GMODEL; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else yymsg(WARNING, "Unknown point %d", TheShape.Num); } } - ; - break;} -case 130: -#line 1780 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 131: +#line 1781 "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); if(c){ TheShape.Type = c->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else{ GEdge *ge = GMODEL->edgeByTag(TheShape.Num); if(ge){ TheShape.Type = MSH_SEGM_FROM_GMODEL; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else yymsg(WARNING, "Unknown curve %d", TheShape.Num); } } - ; - break;} -case 131: -#line 1803 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 132: +#line 1804 "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); if(s){ TheShape.Type = s->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else{ GFace *gf = GMODEL->faceByTag(TheShape.Num); if(gf){ TheShape.Type = MSH_SURF_FROM_GMODEL; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else yymsg(WARNING, "Unknown surface %d", TheShape.Num); } } - ; - break;} -case 132: -#line 1826 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + ;} + break; + + case 133: +#line 1827 "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); if(v){ TheShape.Type = v->Typ; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else{ GRegion *gr = GMODEL->regionByTag(TheShape.Num); if(gr){ TheShape.Type = MSH_VOLUME_FROM_GMODEL; - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } else yymsg(WARNING, "Unknown volume %d", TheShape.Num); } } - ; - break;} -case 133: -#line 1854 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + ;} + break; + + case 134: +#line 1855 "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); CopyShape(TheShape.Type, TheShape.Num, &TheShape.Num); - List_Add(yyval.l, &TheShape); + List_Add((yyval.l), &TheShape); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 134: -#line 1866 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 135: -#line 1872 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 136: -#line 1878 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 1); - Free(yyvsp[-4].c); - yyval.l = NULL; - ; - break;} -case 137: -#line 1890 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 135: +#line 1867 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 0); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 136: +#line 1873 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 0); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 137: +#line 1879 "Gmsh.y" + { + if(!strcmp((yyvsp[-4].c), "View")) AliasView((int)(yyvsp[-2].d), 1); + Free((yyvsp[-4].c)); + (yyval.l) = NULL; + ;} + break; + + case 138: +#line 1891 "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 138: -#line 1899 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")){ - RemoveViewByIndex((int)yyvsp[-2].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 139: +#line 1900 "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 139: -#line 1909 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "Meshes") || !strcmp(yyvsp[-1].c, "All")){ + Free((yyvsp[-4].c)); + ;} + break; + + case 140: +#line 1910 "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); GMODEL->deletePhysicalGroups(); } 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 140: -#line 1925 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Empty") && !strcmp(yyvsp[-1].c, "Views")){ + Free((yyvsp[-1].c)); + ;} + break; + + case 141: +#line 1926 "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()) @@ -4799,66 +5532,72 @@ case 140: } } 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 141: -#line 1944 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + Free((yyvsp[-2].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 142: +#line 1945 "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 142: -#line 1958 "Gmsh.y" -{ + List_Read((yyvsp[-1].l), i, &TheShape); + ColorShape(TheShape.Type, TheShape.Num, (yyvsp[-3].u)); + } + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 143: +#line 1959 "Gmsh.y" + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 1); - Free(yyvsp[-1].c); - ; - break;} -case 143: -#line 1964 "Gmsh.y" -{ + VisibilityShape((yyvsp[-1].c), i, 1); + Free((yyvsp[-1].c)); + ;} + break; + + case 144: +#line 1965 "Gmsh.y" + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 0); - Free(yyvsp[-1].c); - ; - break;} -case 144: -#line 1970 "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 145: +#line 1971 "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 145: -#line 1979 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 146: +#line 1980 "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 146: -#line 1993 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Include")){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 147: +#line 1994 "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" @@ -4871,62 +5610,64 @@ case 146: SetBoundingBox(); Msg(STATUS2, "Read '%s'", tmpstring); } - else if(!strcmp(yyvsp[-2].c, "Print")){ + else if(!strcmp((yyvsp[-2].c), "Print")){ #if defined(HAVE_FLTK) // make sure we have the latest data from THEM in GModel // (fixes bug where we would have no geometry in the picture if // the print command is in the same file as the geometry) GMODEL->importTHEM(); 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) GMODEL->importTHEM(); 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); MergeFile(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 147: -#line 2043 "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 148: +#line 2044 "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 148: -#line 2058 "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 149: +#line 2059 "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) { Field *field=new PostViewField(*vv); fields.insert(field); @@ -4934,102 +5675,110 @@ case 148: } } 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 149: -#line 2073 "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 150: +#line 2074 "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 150: -#line 2093 "Gmsh.y" -{ + Free((yyvsp[-2].c)); + ;} + break; + + case 151: +#line 2094 "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 151: -#line 2103 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "ElementsFromAllViews")) + Free((yyvsp[-4].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 152: +#line 2104 "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 152: -#line 2125 "Gmsh.y" -{ + Free((yyvsp[-1].c)); + ;} + break; + + case 153: +#line 2126 "Gmsh.y" + { exit(0); - ; - break;} -case 153: -#line 2129 "Gmsh.y" -{ + ;} + break; + + case 154: +#line 2130 "Gmsh.y" + { CTX.forced_bbox = 0; SetBoundingBox(); - ; - break;} -case 154: -#line 2134 "Gmsh.y" -{ + ;} + break; + + case 155: +#line 2135 "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 155: -#line 2139 "Gmsh.y" -{ + SetBoundingBox((yyvsp[-12].d), (yyvsp[-10].d), (yyvsp[-8].d), (yyvsp[-6].d), (yyvsp[-4].d), (yyvsp[-2].d)); + ;} + break; + + case 156: +#line 2140 "Gmsh.y" + { #if defined(HAVE_FLTK) Draw(); #endif - ; - break;} -case 156: -#line 2151 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + ;} + break; + + case 157: +#line 2152 "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]); @@ -5039,15 +5788,16 @@ case 156: 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 157: -#line 2166 "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 158: +#line 2167 "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; @@ -5056,27 +5806,28 @@ case 157: 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 158: -#line 2182 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + ;} + break; + + case 159: +#line 2183 "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; @@ -5085,26 +5836,27 @@ case 158: 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 159: -#line 2208 "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 160: +#line 2209 "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; @@ -5113,13 +5865,14 @@ case 159: 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 160: -#line 2235 "Gmsh.y" -{ + ;} + break; + + case 161: +#line 2236 "Gmsh.y" + { if(ImbricatedLoop <= 0){ yymsg(GERROR, "Invalid For/EndFor loop"); ImbricatedLoop = 0; @@ -5149,547 +5902,603 @@ case 160: ImbricatedLoop--; } } - ; - break;} -case 161: -#line 2267 "Gmsh.y" -{ - if(!FunctionManager::Instance()->createFunction(yyvsp[0].c, yyin, yyname, yylineno)) - yymsg(GERROR, "Redefinition of function %s", yyvsp[0].c); + ;} + break; + + case 162: +#line 2268 "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 162: -#line 2274 "Gmsh.y" -{ + ;} + break; + + case 163: +#line 2275 "Gmsh.y" + { if(!FunctionManager::Instance()->leaveFunction(&yyin, yyname, yylineno)) yymsg(GERROR, "Error while exiting function"); - ; - break;} -case 163: -#line 2279 "Gmsh.y" -{ - if(!FunctionManager::Instance()->enterFunction(yyvsp[-1].c, &yyin, yyname, yylineno)) - yymsg(GERROR, "Unknown function %s", yyvsp[-1].c); + ;} + break; + + case 164: +#line 2280 "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 164: -#line 2285 "Gmsh.y" -{ - if(!yyvsp[-1].d) skip_until("If", "EndIf"); - ; - break;} -case 165: -#line 2289 "Gmsh.y" -{ - ; - break;} -case 166: -#line 2298 "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 167: -#line 2306 "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 168: -#line 2314 "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 169: -#line 2322 "Gmsh.y" -{ + ;} + break; + + case 165: +#line 2286 "Gmsh.y" + { + if(!(yyvsp[-1].d)) skip_until("If", "EndIf"); + ;} + break; + + case 166: +#line 2290 "Gmsh.y" + { + ;} + break; + + case 167: +#line 2299 "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 168: +#line 2307 "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 169: +#line 2315 "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 170: +#line 2323 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 170: -#line 2326 "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 171: -#line 2334 "Gmsh.y" -{ + ;} + break; + + case 171: +#line 2327 "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 172: +#line 2335 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 172: -#line 2338 "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 173: -#line 2346 "Gmsh.y" -{ + ;} + break; + + case 173: +#line 2339 "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 174: +#line 2347 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 174: -#line 2350 "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 175: -#line 2358 "Gmsh.y" -{ + ;} + break; + + case 175: +#line 2351 "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 176: +#line 2359 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 176: -#line 2362 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - ExtrudeShapes(BOUNDARY_LAYER, yyvsp[-3].l, 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); - List_Delete(yyvsp[-3].l); - ; - break;} -case 177: -#line 2369 "Gmsh.y" -{ + ;} + break; + + case 177: +#line 2363 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(BOUNDARY_LAYER, (yyvsp[-3].l), 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 178: +#line 2370 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 178: -#line 2373 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - extr.mesh.ViewIndex = (int)yyvsp[-6].d; - ExtrudeShapes(BOUNDARY_LAYER, yyvsp[-3].l, 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., - &extr, yyval.l); + ;} + break; + + case 179: +#line 2374 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + extr.mesh.ViewIndex = (int)(yyvsp[-6].d); + ExtrudeShapes(BOUNDARY_LAYER, (yyvsp[-3].l), 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); extr.mesh.ViewIndex = -1; - Free(yyvsp[-8].c); - List_Delete(yyvsp[-3].l); - ; - break;} -case 179: -#line 2385 "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 180: -#line 2392 "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 181: -#line 2399 "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 182: -#line 2406 "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 183: -#line 2413 "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 184: -#line 2420 "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 185: -#line 2427 "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 186: -#line 2434 "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 187: -#line 2441 "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 188: -#line 2448 "Gmsh.y" -{ + Free((yyvsp[-8].c)); + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 180: +#line 2386 "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 181: +#line 2393 "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 182: +#line 2400 "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 183: +#line 2407 "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 184: +#line 2414 "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 185: +#line 2421 "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 186: +#line 2428 "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 187: +#line 2435 "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 188: +#line 2442 "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 189: +#line 2449 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 189: -#line 2452 "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 190: -#line 2459 "Gmsh.y" -{ + ;} + break; + + case 190: +#line 2453 "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 191: +#line 2460 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 191: -#line 2463 "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 192: -#line 2470 "Gmsh.y" -{ + ;} + break; + + case 192: +#line 2464 "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 193: +#line 2471 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 193: -#line 2474 "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 194: -#line 2481 "Gmsh.y" -{ + ;} + break; + + case 194: +#line 2475 "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 195: +#line 2482 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 195: -#line 2485 "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 196: -#line 2492 "Gmsh.y" -{ + ;} + break; + + case 196: +#line 2486 "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 197: +#line 2493 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 197: -#line 2496 "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 198: -#line 2503 "Gmsh.y" -{ + ;} + break; + + case 198: +#line 2497 "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 199: +#line 2504 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 199: -#line 2507 "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 200: -#line 2514 "Gmsh.y" -{ + ;} + break; + + case 200: +#line 2508 "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 201: +#line 2515 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 201: -#line 2518 "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 202: -#line 2525 "Gmsh.y" -{ + ;} + break; + + case 202: +#line 2519 "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 203: +#line 2526 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 203: -#line 2529 "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 204: -#line 2536 "Gmsh.y" -{ + ;} + break; + + case 204: +#line 2530 "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 205: +#line 2537 "Gmsh.y" + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 205: -#line 2540 "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 206: -#line 2551 "Gmsh.y" -{ - ; - break;} -case 207: -#line 2554 "Gmsh.y" -{ - ; - break;} -case 208: -#line 2560 "Gmsh.y" -{ + ;} + break; + + case 206: +#line 2541 "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 207: +#line 2552 "Gmsh.y" + { + ;} + break; + + case 208: +#line 2555 "Gmsh.y" + { + ;} + break; + + case 209: +#line 2561 "Gmsh.y" + { extr.mesh.ExtrudeMesh = true; extr.mesh.NbLayer = 1; extr.mesh.NbElmLayer.clear(); extr.mesh.hLayer.clear(); - extr.mesh.NbElmLayer.push_back((int)fabs(yyvsp[-2].d)); + extr.mesh.NbElmLayer.push_back((int)fabs((yyvsp[-2].d))); extr.mesh.hLayer.push_back(1.); - ; - break;} -case 209: -#line 2569 "Gmsh.y" -{ + ;} + break; + + case 210: +#line 2570 "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 210: -#line 2591 "Gmsh.y" -{ + List_Nbr((yyvsp[-4].l)), List_Nbr((yyvsp[-2].l))); + } + List_Delete((yyvsp[-4].l)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 211: +#line 2592 "Gmsh.y" + { yymsg(GERROR, "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 211: -#line 2615 "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 212: +#line 2616 "Gmsh.y" + { extr.mesh.Recombine = true; - ; - break;} -case 212: -#line 2619 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + ;} + break; + + case 213: +#line 2620 "Gmsh.y" + { + int num = (int)(yyvsp[-6].d); if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ Surface *s = Create_Surface(num, MSH_SURF_DISCRETE); Tree_Add(THEM->Surfaces, &s); - extr.mesh.Holes[num].first = yyvsp[-1].d; + extr.mesh.Holes[num].first = (yyvsp[-1].d); extr.mesh.Holes[num].second.clear(); - 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); + List_Read((yyvsp[-3].l), i, &d); extr.mesh.Holes[num].second.push_back((int)d); } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 213: -#line 2643 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 214: +#line 2644 "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 214: -#line 2661 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 215: +#line 2662 "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 215: -#line 2679 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + List_Delete((yyvsp[-6].l)); + ;} + break; + + case 216: +#line 2680 "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 216: -#line 2697 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-4].d); + List_Delete((yyvsp[-6].l)); + ;} + break; + + case 217: +#line 2698 "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) @@ -5699,33 +6508,34 @@ case 216: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 217: -#line 2726 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-5].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 218: +#line 2727 "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) @@ -5735,34 +6545,36 @@ case 217: } } } - List_Delete(yyvsp[-2].l); - Free(yyvsp[-1].c); - ; - break;} -case 218: -#line 2761 "Gmsh.y" -{ + List_Delete((yyvsp[-2].l)); + Free((yyvsp[-1].c)); + ;} + break; + + case 219: +#line 2762 "Gmsh.y" + { yymsg(WARNING, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); - List_Delete(yyvsp[-1].l); - ; - break;} -case 219: -#line 2766 "Gmsh.y" -{ - Volume *v = FindVolume((int)yyvsp[-4].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 220: +#line 2767 "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) @@ -5772,1277 +6584,1425 @@ case 219: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 220: -#line 2793 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 221: +#line 2794 "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 221: -#line 2807 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + List_Delete((yyvsp[-3].l)); + ;} + break; + + case 222: +#line 2808 "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 222: -#line 2826 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-2].d); + List_Delete((yyvsp[-1].l)); + ;} + break; + + case 223: +#line 2827 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-2].d)); if(s) - setSurfaceEmbeddedPoints(s, yyvsp[-7].l); - ; - break;} -case 223: -#line 2832 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-2].d); + setSurfaceEmbeddedPoints(s, (yyvsp[-7].l)); + ;} + break; + + case 224: +#line 2833 "Gmsh.y" + { + Surface *s = FindSurface((int)(yyvsp[-2].d)); if(s) - setSurfaceEmbeddedCurves(s, yyvsp[-7].l); - ; - break;} -case 224: -#line 2838 "Gmsh.y" -{ - ; - break;} -case 225: -#line 2841 "Gmsh.y" -{ - ; - break;} -case 226: -#line 2850 "Gmsh.y" -{ + setSurfaceEmbeddedCurves(s, (yyvsp[-7].l)); + ;} + break; + + case 225: +#line 2839 "Gmsh.y" + { + ;} + break; + + case 226: +#line 2842 "Gmsh.y" + { + ;} + break; + + case 227: +#line 2851 "Gmsh.y" + { ReplaceAllDuplicates(); - ; - break;} -case 227: -#line 2859 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 228: + ;} + break; + + case 228: #line 2860 "Gmsh.y" -{ yyval.d = yyvsp[-1].d; ; - break;} -case 229: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 229: #line 2861 "Gmsh.y" -{ yyval.d = -yyvsp[0].d; ; - break;} -case 230: + { (yyval.d) = (yyvsp[-1].d); ;} + break; + + case 230: #line 2862 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 231: + { (yyval.d) = -(yyvsp[0].d); ;} + break; + + case 231: #line 2863 "Gmsh.y" -{ yyval.d = !yyvsp[0].d; ; - break;} -case 232: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 232: #line 2864 "Gmsh.y" -{ yyval.d = yyvsp[-2].d - yyvsp[0].d; ; - break;} -case 233: + { (yyval.d) = !(yyvsp[0].d); ;} + break; + + case 233: #line 2865 "Gmsh.y" -{ yyval.d = yyvsp[-2].d + yyvsp[0].d; ; - break;} -case 234: + { (yyval.d) = (yyvsp[-2].d) - (yyvsp[0].d); ;} + break; + + case 234: #line 2866 "Gmsh.y" -{ yyval.d = yyvsp[-2].d * yyvsp[0].d; ; - break;} -case 235: -#line 2868 "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 235: +#line 2867 "Gmsh.y" + { (yyval.d) = (yyvsp[-2].d) * (yyvsp[0].d); ;} + break; + + case 236: +#line 2869 "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 236: -#line 2874 "Gmsh.y" -{ yyval.d = (int)yyvsp[-2].d % (int)yyvsp[0].d; ; - break;} -case 237: + (yyval.d) = (yyvsp[-2].d) / (yyvsp[0].d); + ;} + break; + + case 237: #line 2875 "Gmsh.y" -{ yyval.d = pow(yyvsp[-2].d, yyvsp[0].d); ; - break;} -case 238: + { (yyval.d) = (int)(yyvsp[-2].d) % (int)(yyvsp[0].d); ;} + break; + + case 238: #line 2876 "Gmsh.y" -{ yyval.d = yyvsp[-2].d < yyvsp[0].d; ; - break;} -case 239: + { (yyval.d) = pow((yyvsp[-2].d), (yyvsp[0].d)); ;} + break; + + case 239: #line 2877 "Gmsh.y" -{ yyval.d = yyvsp[-2].d > yyvsp[0].d; ; - break;} -case 240: + { (yyval.d) = (yyvsp[-2].d) < (yyvsp[0].d); ;} + break; + + case 240: #line 2878 "Gmsh.y" -{ yyval.d = yyvsp[-2].d <= yyvsp[0].d; ; - break;} -case 241: + { (yyval.d) = (yyvsp[-2].d) > (yyvsp[0].d); ;} + break; + + case 241: #line 2879 "Gmsh.y" -{ yyval.d = yyvsp[-2].d >= yyvsp[0].d; ; - break;} -case 242: + { (yyval.d) = (yyvsp[-2].d) <= (yyvsp[0].d); ;} + break; + + case 242: #line 2880 "Gmsh.y" -{ yyval.d = yyvsp[-2].d == yyvsp[0].d; ; - break;} -case 243: + { (yyval.d) = (yyvsp[-2].d) >= (yyvsp[0].d); ;} + break; + + case 243: #line 2881 "Gmsh.y" -{ yyval.d = yyvsp[-2].d != yyvsp[0].d; ; - break;} -case 244: + { (yyval.d) = (yyvsp[-2].d) == (yyvsp[0].d); ;} + break; + + case 244: #line 2882 "Gmsh.y" -{ yyval.d = yyvsp[-2].d && yyvsp[0].d; ; - break;} -case 245: + { (yyval.d) = (yyvsp[-2].d) != (yyvsp[0].d); ;} + break; + + case 245: #line 2883 "Gmsh.y" -{ yyval.d = yyvsp[-2].d || yyvsp[0].d; ; - break;} -case 246: + { (yyval.d) = (yyvsp[-2].d) && (yyvsp[0].d); ;} + break; + + case 246: #line 2884 "Gmsh.y" -{ yyval.d = yyvsp[-4].d? yyvsp[-2].d : yyvsp[0].d; ; - break;} -case 247: + { (yyval.d) = (yyvsp[-2].d) || (yyvsp[0].d); ;} + break; + + case 247: #line 2885 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 248: + { (yyval.d) = (yyvsp[-4].d)? (yyvsp[-2].d) : (yyvsp[0].d); ;} + break; + + case 248: #line 2886 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 249: + { (yyval.d) = exp((yyvsp[-1].d)); ;} + break; + + case 249: #line 2887 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 250: + { (yyval.d) = log((yyvsp[-1].d)); ;} + break; + + case 250: #line 2888 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 251: + { (yyval.d) = log10((yyvsp[-1].d)); ;} + break; + + case 251: #line 2889 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 252: + { (yyval.d) = sqrt((yyvsp[-1].d)); ;} + break; + + case 252: #line 2890 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 253: + { (yyval.d) = sin((yyvsp[-1].d)); ;} + break; + + case 253: #line 2891 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 254: + { (yyval.d) = asin((yyvsp[-1].d)); ;} + break; + + case 254: #line 2892 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 255: + { (yyval.d) = cos((yyvsp[-1].d)); ;} + break; + + case 255: #line 2893 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 256: + { (yyval.d) = acos((yyvsp[-1].d)); ;} + break; + + case 256: #line 2894 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 257: + { (yyval.d) = tan((yyvsp[-1].d)); ;} + break; + + case 257: #line 2895 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 258: + { (yyval.d) = atan((yyvsp[-1].d)); ;} + break; + + case 258: #line 2896 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 259: + { (yyval.d) = atan2((yyvsp[-3].d), (yyvsp[-1].d));;} + break; + + case 259: #line 2897 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 260: + { (yyval.d) = sinh((yyvsp[-1].d)); ;} + break; + + case 260: #line 2898 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 261: + { (yyval.d) = cosh((yyvsp[-1].d)); ;} + break; + + case 261: #line 2899 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 262: + { (yyval.d) = tanh((yyvsp[-1].d)); ;} + break; + + case 262: #line 2900 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 263: + { (yyval.d) = fabs((yyvsp[-1].d)); ;} + break; + + case 263: #line 2901 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 264: + { (yyval.d) = floor((yyvsp[-1].d)); ;} + break; + + case 264: #line 2902 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 265: + { (yyval.d) = ceil((yyvsp[-1].d)); ;} + break; + + case 265: #line 2903 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 266: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 266: #line 2904 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 267: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 267: #line 2905 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 268: -#line 2907 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 269: + { (yyval.d) = sqrt((yyvsp[-3].d)*(yyvsp[-3].d)+(yyvsp[-1].d)*(yyvsp[-1].d)); ;} + break; + + case 268: +#line 2906 "Gmsh.y" + { (yyval.d) = (yyvsp[-1].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 269: #line 2908 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 270: + { (yyval.d) = exp((yyvsp[-1].d)); ;} + break; + + case 270: #line 2909 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 271: + { (yyval.d) = log((yyvsp[-1].d)); ;} + break; + + case 271: #line 2910 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 272: + { (yyval.d) = log10((yyvsp[-1].d)); ;} + break; + + case 272: #line 2911 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 273: + { (yyval.d) = sqrt((yyvsp[-1].d)); ;} + break; + + case 273: #line 2912 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 274: + { (yyval.d) = sin((yyvsp[-1].d)); ;} + break; + + case 274: #line 2913 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 275: + { (yyval.d) = asin((yyvsp[-1].d)); ;} + break; + + case 275: #line 2914 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 276: + { (yyval.d) = cos((yyvsp[-1].d)); ;} + break; + + case 276: #line 2915 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 277: + { (yyval.d) = acos((yyvsp[-1].d)); ;} + break; + + case 277: #line 2916 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 278: + { (yyval.d) = tan((yyvsp[-1].d)); ;} + break; + + case 278: #line 2917 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 279: + { (yyval.d) = atan((yyvsp[-1].d)); ;} + break; + + case 279: #line 2918 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 280: + { (yyval.d) = atan2((yyvsp[-3].d), (yyvsp[-1].d));;} + break; + + case 280: #line 2919 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 281: + { (yyval.d) = sinh((yyvsp[-1].d)); ;} + break; + + case 281: #line 2920 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 282: + { (yyval.d) = cosh((yyvsp[-1].d)); ;} + break; + + case 282: #line 2921 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 283: + { (yyval.d) = tanh((yyvsp[-1].d)); ;} + break; + + case 283: #line 2922 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 284: + { (yyval.d) = fabs((yyvsp[-1].d)); ;} + break; + + case 284: #line 2923 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 285: + { (yyval.d) = floor((yyvsp[-1].d)); ;} + break; + + case 285: #line 2924 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 286: + { (yyval.d) = ceil((yyvsp[-1].d)); ;} + break; + + case 286: #line 2925 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 287: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 287: #line 2926 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 288: + { (yyval.d) = fmod((yyvsp[-3].d), (yyvsp[-1].d)); ;} + break; + + case 288: #line 2927 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 289: -#line 2936 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 290: + { (yyval.d) = sqrt((yyvsp[-3].d)*(yyvsp[-3].d)+(yyvsp[-1].d)*(yyvsp[-1].d)); ;} + break; + + case 289: +#line 2928 "Gmsh.y" + { (yyval.d) = (yyvsp[-1].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 290: #line 2937 "Gmsh.y" -{ yyval.d = 3.141592653589793; ; - break;} -case 291: + { (yyval.d) = (yyvsp[0].d); ;} + break; + + case 291: #line 2938 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->rank(); ; - break;} -case 292: + { (yyval.d) = 3.141592653589793; ;} + break; + + case 292: #line 2939 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->size(); ; - break;} -case 293: + { (yyval.d) = ParUtil::Instance()->rank(); ;} + break; + + case 293: #line 2940 "Gmsh.y" -{ yyval.d = Get_GmshMajorVersion(); ; - break;} -case 294: + { (yyval.d) = ParUtil::Instance()->size(); ;} + break; + + case 294: #line 2941 "Gmsh.y" -{ yyval.d = Get_GmshMinorVersion(); ; - break;} -case 295: + { (yyval.d) = Get_GmshMajorVersion(); ;} + break; + + case 295: #line 2942 "Gmsh.y" -{ yyval.d = Get_GmshPatchVersion(); ; - break;} -case 296: -#line 2947 "Gmsh.y" -{ + { (yyval.d) = Get_GmshMinorVersion(); ;} + break; + + case 296: +#line 2943 "Gmsh.y" + { (yyval.d) = Get_GmshPatchVersion(); ;} + break; + + case 297: +#line 2948 "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 297: -#line 2963 "Gmsh.y" -{ + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[0].c)); + ;} + break; + + case 298: +#line 2964 "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 298: -#line 2978 "Gmsh.y" -{ + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[-4].c)); + ;} + break; + + case 299: +#line 2979 "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 299: -#line 2998 "Gmsh.y" -{ + Free((yyvsp[-3].c)); + ;} + break; + + case 300: +#line 2999 "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 300: -#line 3012 "Gmsh.y" -{ + Free((yyvsp[-2].c)); + ;} + break; + + case 301: +#line 3013 "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 301: -#line 3025 "Gmsh.y" -{ + (yyval.d) = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[0].i)); + Free((yyvsp[-1].c)); + ;} + break; + + case 302: +#line 3026 "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 302: -#line 3048 "Gmsh.y" -{ + Free((yyvsp[-4].c)); + ;} + break; + + case 303: +#line 3049 "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 303: -#line 3066 "Gmsh.y" -{ + Free((yyvsp[-2].c)); Free((yyvsp[0].c)); + ;} + break; + + case 304: +#line 3067 "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 304: -#line 3084 "Gmsh.y" -{ + Free((yyvsp[-5].c)); Free((yyvsp[0].c)); + ;} + break; + + case 305: +#line 3085 "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 305: -#line 3102 "Gmsh.y" -{ + Free((yyvsp[-3].c)); Free((yyvsp[-1].c)); + ;} + break; + + case 306: +#line 3103 "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 306: -#line 3120 "Gmsh.y" -{ - yyval.d = GetValue(yyvsp[-3].c, yyvsp[-1].d); - Free(yyvsp[-3].c); - ; - break;} -case 307: -#line 3128 "Gmsh.y" -{ - memcpy(yyval.v, yyvsp[0].v, 5*sizeof(double)); - ; - break;} -case 308: -#line 3132 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = -yyvsp[0].v[i]; - ; - break;} -case 309: -#line 3136 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[0].v[i]; - ; - break;} -case 310: -#line 3140 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] - yyvsp[0].v[i]; - ; - break;} -case 311: -#line 3144 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] + yyvsp[0].v[i]; - ; - break;} -case 312: -#line 3151 "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 313: -#line 3155 "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 314: -#line 3159 "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 315: -#line 3163 "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 316: -#line 3170 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(List_T*)); - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 317: -#line 3175 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 318: -#line 3183 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 319: -#line 3188 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 320: -#line 3192 "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 307: +#line 3121 "Gmsh.y" + { + (yyval.d) = GetValue((yyvsp[-3].c), (yyvsp[-1].d)); + Free((yyvsp[-3].c)); + ;} + break; + + case 308: +#line 3129 "Gmsh.y" + { + memcpy((yyval.v), (yyvsp[0].v), 5*sizeof(double)); + ;} + break; + + case 309: +#line 3133 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[0].v)[i]; + ;} + break; + + case 310: +#line 3137 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[0].v)[i]; + ;} + break; + + case 311: +#line 3141 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[-2].v)[i] - (yyvsp[0].v)[i]; + ;} + break; + + case 312: +#line 3145 "Gmsh.y" + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[-2].v)[i] + (yyvsp[0].v)[i]; + ;} + break; + + case 313: +#line 3152 "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 314: +#line 3156 "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 315: +#line 3160 "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 316: +#line 3164 "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 317: +#line 3171 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(List_T*)); + List_Add((yyval.l), &((yyvsp[0].l))); + ;} + break; + + case 318: +#line 3176 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].l))); + ;} + break; + + case 319: +#line 3184 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 320: +#line 3189 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + ;} + break; + + case 321: +#line 3193 "Gmsh.y" + { // creates an empty list - yyval.l = List_Create(2, 1, sizeof(double)); - ; - break;} -case 321: -#line 3197 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 322: -#line 3201 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - for(int i = 0; i < List_Nbr(yyval.l); i++){ - double *pd = (double*)List_Pointer(yyval.l, i); + (yyval.l) = List_Create(2, 1, sizeof(double)); + ;} + break; + + case 322: +#line 3198 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 323: +#line 3202 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); (*pd) = - (*pd); } - ; - break;} -case 323: -#line 3209 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - for(int i = 0; i < List_Nbr(yyval.l); i++){ - double *pd = (double*)List_Pointer(yyval.l, i); - (*pd) *= yyvsp[-4].d; - } - ; - break;} -case 324: -#line 3220 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - for(int i = 0; i < List_Nbr(yyval.l); i++){ - double *pd = (double*)List_Pointer(yyval.l, i); + ;} + break; + + case 324: +#line 3210 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); + (*pd) *= (yyvsp[-4].d); + } + ;} + break; + + case 325: +#line 3221 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); (*pd) = - (*pd); } - ; - break;} -case 325: -#line 3228 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - for(int i = 0; i < List_Nbr(yyval.l); i++){ - double *pd = (double*)List_Pointer(yyval.l, i); - (*pd) *= yyvsp[-2].d; - } - ; - break;} -case 326: -#line 3236 "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 327: -#line 3242 "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 326: +#line 3229 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); + (*pd) *= (yyvsp[-2].d); + } + ;} + break; + + case 327: +#line 3237 "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 328: +#line 3243 "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 328: -#line 3253 "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 329: +#line 3254 "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 329: -#line 3273 "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 330: +#line 3274 "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 330: -#line 3283 "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 331: +#line 3284 "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 331: -#line 3293 "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 332: +#line 3294 "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 332: -#line 3303 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + List_Delete((yyvsp[0].l)); + ;} + break; + + case 333: +#line 3304 "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 333: -#line 3320 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + Free((yyvsp[-2].c)); + ;} + break; + + case 334: +#line 3321 "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 334: -#line 3347 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 335: -#line 3352 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 336: -#line 3356 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 337: -#line 3360 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ + Free((yyvsp[-5].c)); + List_Delete((yyvsp[-2].l)); + ;} + break; + + case 335: +#line 3348 "Gmsh.y" + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 336: +#line 3353 "Gmsh.y" + { + (yyval.l) = (yyvsp[0].l); + ;} + break; + + case 337: +#line 3357 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].d))); + ;} + break; + + case 338: +#line 3361 "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 338: -#line 3373 "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 339: -#line 3377 "Gmsh.y" -{ - yyval.u = CTX.PACK_COLOR((int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d, 255); - ; - break;} -case 340: -#line 3389 "Gmsh.y" -{ + List_Read((yyvsp[0].l), i, &d); + List_Add((yyval.l), &d); + } + List_Delete((yyvsp[0].l)); + ;} + break; + + case 339: +#line 3374 "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 340: +#line 3378 "Gmsh.y" + { + (yyval.u) = CTX.PACK_COLOR((int)(yyvsp[-5].d), (int)(yyvsp[-3].d), (int)(yyvsp[-1].d), 255); + ;} + break; + + case 341: +#line 3390 "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 341: -#line 3396 "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 342: +#line 3397 "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 342: -#line 3418 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 343: -#line 3422 "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 343: +#line 3419 "Gmsh.y" + { + (yyval.l) = (yyvsp[-1].l); + ;} + break; + + case 344: +#line 3423 "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 344: -#line 3437 "Gmsh.y" -{ - yyval.l = List_Create(256, 10, sizeof(unsigned int)); - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 345: -#line 3442 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 346: -#line 3449 "Gmsh.y" -{ - yyval.c = yyvsp[0].c; - ; - break;} -case 347: -#line 3453 "Gmsh.y" -{ + Free((yyvsp[-5].c)); + ;} + break; + + case 345: +#line 3438 "Gmsh.y" + { + (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); + List_Add((yyval.l), &((yyvsp[0].u))); + ;} + break; + + case 346: +#line 3443 "Gmsh.y" + { + List_Add((yyval.l), &((yyvsp[0].u))); + ;} + break; + + case 347: +#line 3450 "Gmsh.y" + { + (yyval.c) = (yyvsp[0].c); + ;} + break; + + case 348: +#line 3454 "Gmsh.y" + { Msg(WARNING, "Named string expressions not implemented yet"); - ; - break;} -case 348: -#line 3460 "Gmsh.y" -{ - yyval.c = yyvsp[0].c; - ; - break;} -case 349: -#line 3464 "Gmsh.y" -{ - yyval.c = (char *)Malloc(32*sizeof(char)); + ;} + break; + + case 349: +#line 3461 "Gmsh.y" + { + (yyval.c) = (yyvsp[0].c); + ;} + break; + + case 350: +#line 3465 "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 350: -#line 3472 "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 351: -#line 3480 "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 351: +#line 3473 "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 352: +#line 3481 "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 352: -#line 3494 "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 353: +#line 3495 "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 353: -#line 3508 "Gmsh.y" -{ - yyval.c = yyvsp[-1].c; - ; - break;} -case 354: -#line 3512 "Gmsh.y" -{ + strcpy((yyval.c), &(yyvsp[-1].c)[i+1]); + Free((yyvsp[-1].c)); + ;} + break; + + case 354: +#line 3509 "Gmsh.y" + { + (yyval.c) = (yyvsp[-1].c); + ;} + break; + + case 355: +#line 3513 "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 355: -#line 3531 "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 356: +#line 3532 "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 356: -#line 3553 "Gmsh.y" -{ + ;} + break; + + case 357: +#line 3554 "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 7778 "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 3576 "Gmsh.y" + + +#line 3577 "Gmsh.y" void DeleteSymbol(void *a, void *b){ @@ -7136,3 +8096,4 @@ void yymsg(int type, char *fmt, ...){ if(type == GERROR) yyerrorstate++; } + diff --git a/Parser/Gmsh.tab.hpp b/Parser/Gmsh.tab.hpp index 933d4bc0df11257a92f50de5f7784e6105335c04..5a239570bd4fce6923819b6e8deb7c9e12b47318 100644 --- a/Parser/Gmsh.tab.hpp +++ b/Parser/Gmsh.tab.hpp @@ -1,4 +1,291 @@ -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, + tEuclidian = 267, + tCoordinates = 268, + tExp = 269, + tLog = 270, + tLog10 = 271, + tSqrt = 272, + tSin = 273, + tAsin = 274, + tCos = 275, + tAcos = 276, + tTan = 277, + tRand = 278, + tAtan = 279, + tAtan2 = 280, + tSinh = 281, + tCosh = 282, + tTanh = 283, + tFabs = 284, + tFloor = 285, + tCeil = 286, + tFmod = 287, + tModulo = 288, + tHypot = 289, + tPrintf = 290, + tSprintf = 291, + tStrCat = 292, + tStrPrefix = 293, + tStrRelative = 294, + tBoundingBox = 295, + tDraw = 296, + tToday = 297, + tPoint = 298, + tCircle = 299, + tEllipse = 300, + tLine = 301, + tSphere = 302, + tPolarSphere = 303, + tSurface = 304, + tSpline = 305, + tVolume = 306, + tCharacteristic = 307, + tLength = 308, + tParametric = 309, + tElliptic = 310, + tPlane = 311, + tRuled = 312, + tTransfinite = 313, + tComplex = 314, + tPhysical = 315, + tUsing = 316, + tBump = 317, + tProgression = 318, + tPlugin = 319, + tRotate = 320, + tTranslate = 321, + tSymmetry = 322, + tDilate = 323, + tExtrude = 324, + tDuplicata = 325, + tLoop = 326, + tRecombine = 327, + tDelete = 328, + tCoherence = 329, + tAttractor = 330, + tLayers = 331, + tHole = 332, + tAlias = 333, + tAliasWithOptions = 334, + tText2D = 335, + tText3D = 336, + tInterpolationScheme = 337, + tTime = 338, + tGrain = 339, + tCombine = 340, + tBSpline = 341, + tBezier = 342, + tNurbs = 343, + tOrder = 344, + tKnots = 345, + tColor = 346, + tColorTable = 347, + tFor = 348, + tIn = 349, + tEndFor = 350, + tIf = 351, + tEndIf = 352, + tExit = 353, + tField = 354, + tThreshold = 355, + tStructured = 356, + tLatLon = 357, + tGrad = 358, + tPostView = 359, + tReturn = 360, + tCall = 361, + tFunction = 362, + tShow = 363, + tHide = 364, + tGetValue = 365, + tGMSH_MAJOR_VERSION = 366, + tGMSH_MINOR_VERSION = 367, + tGMSH_PATCH_VERSION = 368, + tAFFECTDIVIDE = 369, + tAFFECTTIMES = 370, + tAFFECTMINUS = 371, + tAFFECTPLUS = 372, + tOR = 373, + tAND = 374, + tNOTEQUAL = 375, + tEQUAL = 376, + tGREATEROREQUAL = 377, + tLESSOREQUAL = 378, + UNARYPREC = 379, + tMINUSMINUS = 380, + tPLUSPLUS = 381 + }; +#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 tEuclidian 267 +#define tCoordinates 268 +#define tExp 269 +#define tLog 270 +#define tLog10 271 +#define tSqrt 272 +#define tSin 273 +#define tAsin 274 +#define tCos 275 +#define tAcos 276 +#define tTan 277 +#define tRand 278 +#define tAtan 279 +#define tAtan2 280 +#define tSinh 281 +#define tCosh 282 +#define tTanh 283 +#define tFabs 284 +#define tFloor 285 +#define tCeil 286 +#define tFmod 287 +#define tModulo 288 +#define tHypot 289 +#define tPrintf 290 +#define tSprintf 291 +#define tStrCat 292 +#define tStrPrefix 293 +#define tStrRelative 294 +#define tBoundingBox 295 +#define tDraw 296 +#define tToday 297 +#define tPoint 298 +#define tCircle 299 +#define tEllipse 300 +#define tLine 301 +#define tSphere 302 +#define tPolarSphere 303 +#define tSurface 304 +#define tSpline 305 +#define tVolume 306 +#define tCharacteristic 307 +#define tLength 308 +#define tParametric 309 +#define tElliptic 310 +#define tPlane 311 +#define tRuled 312 +#define tTransfinite 313 +#define tComplex 314 +#define tPhysical 315 +#define tUsing 316 +#define tBump 317 +#define tProgression 318 +#define tPlugin 319 +#define tRotate 320 +#define tTranslate 321 +#define tSymmetry 322 +#define tDilate 323 +#define tExtrude 324 +#define tDuplicata 325 +#define tLoop 326 +#define tRecombine 327 +#define tDelete 328 +#define tCoherence 329 +#define tAttractor 330 +#define tLayers 331 +#define tHole 332 +#define tAlias 333 +#define tAliasWithOptions 334 +#define tText2D 335 +#define tText3D 336 +#define tInterpolationScheme 337 +#define tTime 338 +#define tGrain 339 +#define tCombine 340 +#define tBSpline 341 +#define tBezier 342 +#define tNurbs 343 +#define tOrder 344 +#define tKnots 345 +#define tColor 346 +#define tColorTable 347 +#define tFor 348 +#define tIn 349 +#define tEndFor 350 +#define tIf 351 +#define tEndIf 352 +#define tExit 353 +#define tField 354 +#define tThreshold 355 +#define tStructured 356 +#define tLatLon 357 +#define tGrad 358 +#define tPostView 359 +#define tReturn 360 +#define tCall 361 +#define tFunction 362 +#define tShow 363 +#define tHide 364 +#define tGetValue 365 +#define tGMSH_MAJOR_VERSION 366 +#define tGMSH_MINOR_VERSION 367 +#define tGMSH_PATCH_VERSION 368 +#define tAFFECTDIVIDE 369 +#define tAFFECTTIMES 370 +#define tAFFECTMINUS 371 +#define tAFFECTPLUS 372 +#define tOR 373 +#define tAND 374 +#define tNOTEQUAL 375 +#define tEQUAL 376 +#define tGREATEROREQUAL 377 +#define tLESSOREQUAL 378 +#define UNARYPREC 379 +#define tMINUSMINUS 380 +#define tPLUSPLUS 381 + + + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +#line 79 "Gmsh.y" +typedef union YYSTYPE { char *c; int i; unsigned int u; @@ -7,130 +294,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 tEuclidian 266 -#define tCoordinates 267 -#define tExp 268 -#define tLog 269 -#define tLog10 270 -#define tSqrt 271 -#define tSin 272 -#define tAsin 273 -#define tCos 274 -#define tAcos 275 -#define tTan 276 -#define tRand 277 -#define tAtan 278 -#define tAtan2 279 -#define tSinh 280 -#define tCosh 281 -#define tTanh 282 -#define tFabs 283 -#define tFloor 284 -#define tCeil 285 -#define tFmod 286 -#define tModulo 287 -#define tHypot 288 -#define tPrintf 289 -#define tSprintf 290 -#define tStrCat 291 -#define tStrPrefix 292 -#define tStrRelative 293 -#define tBoundingBox 294 -#define tDraw 295 -#define tToday 296 -#define tPoint 297 -#define tCircle 298 -#define tEllipse 299 -#define tLine 300 -#define tSphere 301 -#define tPolarSphere 302 -#define tSurface 303 -#define tSpline 304 -#define tVolume 305 -#define tCharacteristic 306 -#define tLength 307 -#define tParametric 308 -#define tElliptic 309 -#define tPlane 310 -#define tRuled 311 -#define tTransfinite 312 -#define tComplex 313 -#define tPhysical 314 -#define tUsing 315 -#define tBump 316 -#define tProgression 317 -#define tPlugin 318 -#define tRotate 319 -#define tTranslate 320 -#define tSymmetry 321 -#define tDilate 322 -#define tExtrude 323 -#define tDuplicata 324 -#define tLoop 325 -#define tRecombine 326 -#define tDelete 327 -#define tCoherence 328 -#define tAttractor 329 -#define tLayers 330 -#define tHole 331 -#define tAlias 332 -#define tAliasWithOptions 333 -#define tText2D 334 -#define tText3D 335 -#define tInterpolationScheme 336 -#define tTime 337 -#define tGrain 338 -#define tCombine 339 -#define tBSpline 340 -#define tBezier 341 -#define tNurbs 342 -#define tOrder 343 -#define tKnots 344 -#define tColor 345 -#define tColorTable 346 -#define tFor 347 -#define tIn 348 -#define tEndFor 349 -#define tIf 350 -#define tEndIf 351 -#define tExit 352 -#define tField 353 -#define tThreshold 354 -#define tStructured 355 -#define tLatLon 356 -#define tGrad 357 -#define tPostView 358 -#define tReturn 359 -#define tCall 360 -#define tFunction 361 -#define tShow 362 -#define tHide 363 -#define tGetValue 364 -#define tGMSH_MAJOR_VERSION 365 -#define tGMSH_MINOR_VERSION 366 -#define tGMSH_PATCH_VERSION 367 -#define tAFFECTPLUS 368 -#define tAFFECTMINUS 369 -#define tAFFECTTIMES 370 -#define tAFFECTDIVIDE 371 -#define tOR 372 -#define tAND 373 -#define tEQUAL 374 -#define tNOTEQUAL 375 -#define tLESSOREQUAL 376 -#define tGREATEROREQUAL 377 -#define tPLUSPLUS 378 -#define tMINUSMINUS 379 -#define UNARYPREC 380 - +/* Line 1318 of yacc.c. */ +#line 299 "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 75533ec91cca4b33e0aba82e5f125a1f3c0e0573..6e7e1c4f8d9471c39313cbd9eab5d1927029cf99 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.277 2007-05-24 17:37:34 geuzaine Exp $ +// $Id: Gmsh.y,v 1.278 2007-06-22 12:08:17 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -487,24 +487,25 @@ Element : { if(ViewValueList){ if(ViewCoordIdx != 3 * ViewNumNodes){ - yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", - ViewCoordIdx, 3 * ViewNumNodes); - double d = 0; - for(int i = 0; i < 3 * ViewNumNodes; i++) - List_Add(ViewValueList, &d); - } - else{ - for(int i = 0; i < 3; i++) - for(int j = 0; j < ViewNumNodes; j++) - List_Add(ViewValueList, &ViewCoord[3*j+i]); - } +/* yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", */ +/* ViewCoordIdx, 3 * ViewNumNodes); */ +/* double d = 0; */ +/* for(int i = 0; i < 3 * ViewNumNodes; i++) */ +/* List_Add(ViewValueList, &d); */ + ViewNumNodes = ViewCoordIdx/3; + } + // else{ + for(int i = 0; i < 3; i++) + for(int j = 0; j < ViewNumNodes; j++) + List_Add(ViewValueList, &ViewCoord[3*j+i]); + // } ViewNumListTmp = List_Nbr(ViewValueList); } } '{' ElementValues '}' tEND { if(ViewValueList){ - if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewNumNodes)) + if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewCoordIdx/3)) ViewErrorFlags[ViewElementIdx]++; (*ViewNumList)++; } diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp index 9ec5908507ea228d43a8e6bc487b939559c2d239..0353fc38d14fb20528c00d2db13ae10cb8713d2f 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.321 2007-05-24 17:37:34 geuzaine Exp $ + * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.322 2007-06-22 12:08:17 remacle Exp $ */ #define FLEX_SCANNER @@ -755,7 +755,7 @@ char *yytext; #line 1 "Gmsh.l" #define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.321 2007-05-24 17:37:34 geuzaine Exp $ +// $Id: Gmsh.yy.cpp,v 1.322 2007-06-22 12:08:17 remacle Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle //