diff --git a/Parser/Gmsh.l b/Parser/Gmsh.l index fb899f5ed2a8dae29bf51ef8355793cfc5f20eda..27ca76c5cee80c054e734f15123f00c1a348851d 100644 --- a/Parser/Gmsh.l +++ b/Parser/Gmsh.l @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.l,v 1.92 2007-09-10 04:47:04 geuzaine Exp $ +// $Id: Gmsh.l,v 1.93 2008-01-09 08:17:12 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -31,7 +31,6 @@ #include "Gmsh.tab.hpp" char yyname[256] = ""; -int yylineno = 1; int yyerrorstate = 0; int yyviewindex = 0; @@ -40,10 +39,7 @@ char *strsave(char *ptr); void skipcomments(void); void skipline(void); -#define YY_ALWAYS_INTERACTIVE 1 - #define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < max_size && \ @@ -57,9 +53,6 @@ void skipline(void); Msg(FATAL, "Input in flex scanner failed"); \ result = n; \ } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - Msg(FATAL, "Input in flex scanner failed"); %} @@ -70,13 +63,6 @@ digit [0-9] exp [Ee][-+]?{digit}+ string {alpha}({alpha}|{digit})* -%e 2000 -%p 7000 -%n 2000 -%k 1500 -%a 7000 -%o 7000 - %% [\ \t\n\r\f] /* none */; @@ -258,7 +244,8 @@ TIME return tTime; int yywrap() {return 1;} -void skipcomments(void){ +void skipcomments(void) +{ int c; while (1) { @@ -274,7 +261,8 @@ void skipcomments(void){ } } -void parsestring(char endchar){ +void parsestring(char endchar) +{ int c; char tmp[1024]; @@ -298,18 +286,21 @@ void parsestring(char endchar){ yylval.c = strsave(tmp); } -char *strsave(char *ptr){ +char *strsave(char *ptr) +{ return((char*)strcpy((char*)malloc(strlen(ptr)+1),ptr)); } -void skipline(void){ +void skipline(void) +{ int c; while ((c = yyinput()) != '\n'){ if(c == EOF) return; } } -void skip_until(char *skip, char *until){ +void skip_until(char *skip, char *until) +{ int i, nb_skip; int l, l_skip, l_until; char chars[256]; diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp index 6900a3cb7103f2002f478e8d5e3ffd6e02c6bffc..74dd624e3747d8096a39f66549fa4e6705067167 100644 --- a/Parser/Gmsh.tab.cpp +++ b/Parser/Gmsh.tab.cpp @@ -1,138 +1,332 @@ +/* A Bison parser, made by GNU Bison 2.3. */ -/* 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 tIntersect 329 -#define tBoundary 330 -#define tAttractor 331 -#define tLayers 332 -#define tHole 333 -#define tAlias 334 -#define tAliasWithOptions 335 -#define tText2D 336 -#define tText3D 337 -#define tInterpolationScheme 338 -#define tTime 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 tAFFECTPLUS 369 -#define tAFFECTMINUS 370 -#define tAFFECTTIMES 371 -#define tAFFECTDIVIDE 372 -#define tOR 373 -#define tAND 374 -#define tEQUAL 375 -#define tNOTEQUAL 376 -#define tLESSOREQUAL 377 -#define tGREATEROREQUAL 378 -#define tPLUSPLUS 379 -#define tMINUSMINUS 380 -#define UNARYPREC 381 +/* Skeleton implementation for Bison's Yacc-like parsers in C + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + 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., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton 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 + +/* Bison version. */ +#define YYBISON_VERSION "2.3" + +/* 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, + tIntersect = 330, + tBoundary = 331, + tAttractor = 332, + tLayers = 333, + tHole = 334, + tAlias = 335, + tAliasWithOptions = 336, + tText2D = 337, + tText3D = 338, + tInterpolationScheme = 339, + tTime = 340, + tCombine = 341, + tBSpline = 342, + tBezier = 343, + tNurbs = 344, + tOrder = 345, + tKnots = 346, + tColor = 347, + tColorTable = 348, + tFor = 349, + tIn = 350, + tEndFor = 351, + tIf = 352, + tEndIf = 353, + tExit = 354, + tField = 355, + tThreshold = 356, + tStructured = 357, + tLatLon = 358, + tGrad = 359, + tPostView = 360, + tReturn = 361, + tCall = 362, + tFunction = 363, + tShow = 364, + tHide = 365, + tGetValue = 366, + tGMSH_MAJOR_VERSION = 367, + tGMSH_MINOR_VERSION = 368, + tGMSH_PATCH_VERSION = 369, + tAFFECTDIVIDE = 370, + tAFFECTTIMES = 371, + tAFFECTMINUS = 372, + tAFFECTPLUS = 373, + tOR = 374, + tAND = 375, + tNOTEQUAL = 376, + tEQUAL = 377, + tGREATEROREQUAL = 378, + tLESSOREQUAL = 379, + UNARYPREC = 380, + tMINUSMINUS = 381, + tPLUSPLUS = 382 + }; +#endif +/* Tokens. */ +#define tDOUBLE 258 +#define tSTRING 259 +#define tBIGSTR 260 +#define tEND 261 +#define tAFFECT 262 +#define tDOTS 263 +#define tPi 264 +#define tMPI_Rank 265 +#define tMPI_Size 266 +#define tEuclidian 267 +#define tCoordinates 268 +#define 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 tIntersect 330 +#define tBoundary 331 +#define tAttractor 332 +#define tLayers 333 +#define tHole 334 +#define tAlias 335 +#define tAliasWithOptions 336 +#define tText2D 337 +#define tText3D 338 +#define tInterpolationScheme 339 +#define tTime 340 +#define tCombine 341 +#define tBSpline 342 +#define tBezier 343 +#define tNurbs 344 +#define tOrder 345 +#define tKnots 346 +#define tColor 347 +#define tColorTable 348 +#define tFor 349 +#define tIn 350 +#define tEndFor 351 +#define tIf 352 +#define tEndIf 353 +#define tExit 354 +#define tField 355 +#define tThreshold 356 +#define tStructured 357 +#define tLatLon 358 +#define tGrad 359 +#define tPostView 360 +#define tReturn 361 +#define tCall 362 +#define tFunction 363 +#define tShow 364 +#define tHide 365 +#define tGetValue 366 +#define tGMSH_MAJOR_VERSION 367 +#define tGMSH_MINOR_VERSION 368 +#define tGMSH_PATCH_VERSION 369 +#define tAFFECTDIVIDE 370 +#define tAFFECTTIMES 371 +#define tAFFECTMINUS 372 +#define tAFFECTPLUS 373 +#define tOR 374 +#define tAND 375 +#define tNOTEQUAL 376 +#define tEQUAL 377 +#define tGREATEROREQUAL 378 +#define tLESSOREQUAL 379 +#define UNARYPREC 380 +#define tMINUSMINUS 381 +#define tPLUSPLUS 382 + + + + +/* Copy the first part of user declarations. */ #line 1 "Gmsh.y" -// $Id: Gmsh.tab.cpp,v 1.336 2007-11-08 19:30:30 geuzaine Exp $ +// $Id: Gmsh.tab.cpp,v 1.337 2008-01-09 08:17:12 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -205,8 +399,29 @@ void yymsg(int type, char *fmt, ...); void skip_until(char *skip, char *until); int PrintListOfDouble(char *format, List_T *list, char *buffer); + +/* 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 + +/* Enabling the token table. */ +#ifndef YYTOKEN_TABLE +# define YYTOKEN_TABLE 0 +#endif + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE #line 76 "Gmsh.y" -typedef union { +{ char *c; int i; unsigned int u; @@ -214,2373 +429,3123 @@ typedef union { double v[5]; Shape s; List_T *l; -} YYSTYPE; -#include <stdio.h> +} +/* Line 193 of yacc.c. */ +#line 435 "Gmsh.tab.cpp" + YYSTYPE; +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + -#ifndef __cplusplus -#ifndef __STDC__ -#define const + +/* Copy the second part of user declarations. */ + + +/* Line 216 of yacc.c. */ +#line 448 "Gmsh.tab.cpp" + +#ifdef short +# undef short #endif + +#ifdef YYTYPE_UINT8 +typedef YYTYPE_UINT8 yytype_uint8; +#else +typedef unsigned char yytype_uint8; #endif +#ifdef YYTYPE_INT8 +typedef YYTYPE_INT8 yytype_int8; +#elif (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +typedef signed char yytype_int8; +#else +typedef short int yytype_int8; +#endif +#ifdef YYTYPE_UINT16 +typedef YYTYPE_UINT16 yytype_uint16; +#else +typedef unsigned short int yytype_uint16; +#endif -#define YYFINAL 1274 -#define YYFLAG -32768 -#define YYNTBASE 148 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 381 ? yytranslate[x] : 215) - -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, 133, 2, 143, 2, 132, 2, 2, 138, - 139, 130, 128, 144, 129, 142, 131, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 124, - 2, 126, 119, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 140, 2, 141, 137, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 145, 2, 146, 147, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 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, 118, 120, 121, 122, 123, 125, 127, 134, 135, - 136 -}; +#ifdef YYTYPE_INT16 +typedef YYTYPE_INT16 yytype_int16; +#else +typedef short int yytype_int16; +#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, - 42, 48, 56, 64, 74, 81, 88, 95, 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, 214, 216, 218, 220, 222, 224, 226, - 231, 239, 249, 256, 263, 267, 274, 279, 286, 296, - 303, 313, 319, 328, 337, 349, 356, 366, 376, 386, - 388, 390, 398, 407, 417, 426, 435, 444, 453, 463, - 472, 478, 485, 492, 499, 507, 515, 523, 533, 541, - 551, 569, 577, 585, 597, 606, 615, 624, 633, 637, - 642, 653, 661, 669, 678, 687, 696, 704, 713, 719, - 731, 737, 747, 752, 762, 767, 769, 771, 772, 775, - 782, 789, 796, 803, 808, 815, 819, 824, 830, 834, - 838, 843, 848, 852, 860, 868, 872, 880, 884, 887, - 890, 906, 909, 916, 925, 934, 945, 947, 950, 952, - 956, 961, 963, 969, 981, 995, 996, 1004, 1005, 1019, - 1020, 1036, 1037, 1044, 1045, 1056, 1065, 1074, 1083, 1096, - 1109, 1122, 1137, 1152, 1167, 1168, 1181, 1182, 1195, 1196, - 1209, 1210, 1227, 1228, 1245, 1246, 1263, 1264, 1283, 1284, - 1303, 1304, 1323, 1325, 1328, 1334, 1342, 1352, 1355, 1365, - 1372, 1382, 1392, 1401, 1411, 1420, 1429, 1436, 1441, 1452, - 1463, 1474, 1485, 1488, 1490, 1494, 1497, 1500, 1503, 1507, - 1511, 1515, 1519, 1523, 1527, 1531, 1535, 1539, 1543, 1547, - 1551, 1555, 1559, 1565, 1570, 1575, 1580, 1585, 1590, 1595, - 1600, 1605, 1610, 1615, 1622, 1627, 1632, 1637, 1642, 1647, - 1652, 1659, 1666, 1673, 1678, 1683, 1688, 1693, 1698, 1703, - 1708, 1713, 1718, 1723, 1728, 1735, 1740, 1745, 1750, 1755, - 1760, 1765, 1772, 1779, 1786, 1791, 1793, 1795, 1797, 1799, - 1801, 1803, 1805, 1807, 1813, 1818, 1823, 1826, 1832, 1836, - 1843, 1848, 1856, 1863, 1865, 1868, 1871, 1875, 1879, 1891, - 1901, 1909, 1917, 1919, 1923, 1925, 1927, 1930, 1934, 1939, - 1945, 1948, 1952, 1956, 1962, 1967, 1969, 1971, 1975, 1982, - 1984, 1986, 1990, 1994, 2004, 2012, 2014, 2020, 2024, 2031, - 2033, 2037, 2039, 2041, 2043, 2045, 2052, 2057, 2062, 2067, - 2074, 2081 -}; +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned int +# endif +#endif -static const short yyrhs[] = { 149, - 0, 1, 6, 0, 0, 149, 150, 0, 153, 0, - 152, 0, 171, 0, 173, 0, 174, 0, 177, 0, - 178, 0, 179, 0, 182, 0, 199, 0, 200, 0, - 201, 0, 181, 0, 180, 0, 126, 0, 126, 126, - 0, 35, 138, 5, 139, 6, 0, 35, 138, 5, - 139, 151, 213, 6, 0, 35, 138, 5, 144, 209, - 139, 6, 0, 35, 138, 5, 144, 209, 139, 151, - 213, 6, 0, 4, 5, 145, 154, 146, 6, 0, - 80, 4, 140, 202, 141, 6, 0, 81, 4, 140, - 202, 141, 6, 0, 0, 154, 157, 0, 154, 161, - 0, 154, 164, 0, 154, 166, 0, 154, 167, 0, - 202, 0, 155, 144, 202, 0, 202, 0, 156, 144, - 202, 0, 0, 0, 4, 158, 138, 155, 139, 159, - 145, 156, 146, 6, 0, 213, 0, 160, 144, 213, - 0, 0, 82, 138, 202, 144, 202, 144, 202, 139, - 162, 145, 160, 146, 6, 0, 213, 0, 163, 144, - 213, 0, 0, 83, 138, 202, 144, 202, 144, 202, - 144, 202, 139, 165, 145, 163, 146, 6, 0, 84, - 145, 206, 146, 145, 206, 146, 6, 0, 84, 145, - 206, 146, 145, 206, 146, 145, 206, 146, 145, 206, - 146, 6, 0, 0, 85, 168, 145, 156, 146, 6, - 0, 7, 0, 115, 0, 116, 0, 117, 0, 118, - 0, 134, 0, 135, 0, 4, 169, 202, 6, 0, - 4, 140, 202, 141, 169, 202, 6, 0, 4, 140, - 145, 209, 146, 141, 169, 207, 6, 0, 4, 140, - 141, 7, 207, 6, 0, 4, 140, 141, 115, 207, - 6, 0, 4, 170, 6, 0, 4, 140, 202, 141, - 170, 6, 0, 4, 7, 214, 6, 0, 4, 142, - 4, 7, 214, 6, 0, 4, 140, 202, 141, 142, - 4, 7, 214, 6, 0, 4, 142, 4, 169, 202, - 6, 0, 4, 140, 202, 141, 142, 4, 169, 202, - 6, 0, 4, 142, 4, 170, 6, 0, 4, 140, - 202, 141, 142, 4, 170, 6, 0, 4, 142, 92, - 142, 4, 7, 210, 6, 0, 4, 140, 202, 141, - 142, 92, 142, 4, 7, 210, 6, 0, 4, 142, - 93, 7, 211, 6, 0, 4, 140, 202, 141, 142, - 93, 7, 211, 6, 0, 64, 138, 4, 139, 142, - 4, 7, 202, 6, 0, 64, 138, 4, 139, 142, - 4, 7, 214, 6, 0, 202, 0, 214, 0, 43, - 138, 202, 139, 7, 204, 6, 0, 60, 43, 138, - 172, 139, 7, 207, 6, 0, 77, 43, 100, 138, - 202, 139, 7, 207, 6, 0, 103, 100, 138, 202, - 139, 7, 202, 6, 0, 105, 100, 138, 202, 139, - 7, 202, 6, 0, 101, 100, 138, 202, 139, 7, - 207, 6, 0, 108, 100, 138, 202, 139, 7, 5, - 6, 0, 108, 100, 138, 202, 139, 7, 5, 207, - 6, 0, 102, 100, 138, 202, 139, 7, 5, 6, - 0, 52, 53, 100, 207, 6, 0, 77, 43, 207, - 7, 207, 6, 0, 77, 46, 207, 7, 207, 6, - 0, 52, 53, 207, 7, 202, 6, 0, 46, 138, - 202, 139, 7, 207, 6, 0, 50, 138, 202, 139, - 7, 207, 6, 0, 44, 138, 202, 139, 7, 207, - 6, 0, 44, 138, 202, 139, 7, 207, 56, 204, - 6, 0, 45, 138, 202, 139, 7, 207, 6, 0, - 45, 138, 202, 139, 7, 207, 56, 204, 6, 0, - 54, 138, 202, 139, 7, 145, 202, 144, 202, 144, - 5, 144, 5, 144, 5, 146, 6, 0, 87, 138, - 202, 139, 7, 207, 6, 0, 88, 138, 202, 139, - 7, 207, 6, 0, 89, 138, 202, 139, 7, 207, - 91, 207, 90, 202, 6, 0, 46, 71, 138, 202, - 139, 7, 207, 6, 0, 60, 46, 138, 172, 139, - 7, 207, 6, 0, 56, 49, 138, 202, 139, 7, - 207, 6, 0, 57, 49, 138, 202, 139, 7, 207, - 6, 0, 12, 13, 6, 0, 13, 49, 202, 6, - 0, 54, 49, 138, 202, 139, 7, 5, 5, 5, - 6, 0, 47, 138, 202, 139, 7, 207, 6, 0, - 48, 138, 202, 139, 7, 207, 6, 0, 49, 71, - 138, 202, 139, 7, 207, 6, 0, 60, 49, 138, - 172, 139, 7, 207, 6, 0, 59, 51, 138, 202, - 139, 7, 207, 6, 0, 51, 138, 202, 139, 7, - 207, 6, 0, 60, 51, 138, 172, 139, 7, 207, - 6, 0, 66, 204, 145, 175, 146, 0, 65, 145, - 204, 144, 204, 144, 202, 146, 145, 175, 146, 0, - 67, 204, 145, 175, 146, 0, 68, 145, 204, 144, - 202, 146, 145, 175, 146, 0, 70, 145, 175, 146, - 0, 75, 46, 145, 209, 146, 49, 145, 202, 146, - 0, 76, 145, 175, 146, 0, 176, 0, 174, 0, - 0, 176, 173, 0, 176, 43, 145, 209, 146, 6, - 0, 176, 46, 145, 209, 146, 6, 0, 176, 49, - 145, 209, 146, 6, 0, 176, 51, 145, 209, 146, - 6, 0, 73, 145, 176, 146, 0, 73, 4, 140, - 202, 141, 6, 0, 73, 4, 6, 0, 73, 4, - 4, 6, 0, 92, 210, 145, 176, 146, 0, 109, - 213, 6, 0, 110, 213, 6, 0, 109, 145, 176, - 146, 0, 110, 145, 176, 146, 0, 4, 214, 6, - 0, 4, 4, 140, 202, 141, 213, 6, 0, 4, - 4, 4, 140, 202, 141, 6, 0, 4, 202, 6, - 0, 64, 138, 4, 139, 142, 4, 6, 0, 86, - 4, 6, 0, 99, 6, 0, 40, 6, 0, 40, - 145, 202, 144, 202, 144, 202, 144, 202, 144, 202, - 144, 202, 146, 6, 0, 41, 6, 0, 94, 138, - 202, 8, 202, 139, 0, 94, 138, 202, 8, 202, - 8, 202, 139, 0, 94, 4, 95, 145, 202, 8, - 202, 146, 0, 94, 4, 95, 145, 202, 8, 202, - 8, 202, 146, 0, 96, 0, 108, 4, 0, 106, - 0, 107, 4, 6, 0, 97, 138, 202, 139, 0, - 98, 0, 69, 204, 145, 176, 146, 0, 69, 145, - 204, 144, 204, 144, 202, 146, 145, 176, 146, 0, - 69, 145, 204, 144, 204, 144, 204, 144, 202, 146, - 145, 176, 146, 0, 0, 69, 204, 145, 176, 183, - 197, 146, 0, 0, 69, 145, 204, 144, 204, 144, - 202, 146, 145, 176, 184, 197, 146, 0, 0, 69, - 145, 204, 144, 204, 144, 204, 144, 202, 146, 145, - 176, 185, 197, 146, 0, 0, 69, 145, 176, 186, - 197, 146, 0, 0, 69, 4, 140, 202, 141, 145, - 176, 187, 197, 146, 0, 69, 43, 145, 202, 144, - 204, 146, 6, 0, 69, 46, 145, 202, 144, 204, - 146, 6, 0, 69, 49, 145, 202, 144, 204, 146, - 6, 0, 69, 43, 145, 202, 144, 204, 144, 204, - 144, 202, 146, 6, 0, 69, 46, 145, 202, 144, - 204, 144, 204, 144, 202, 146, 6, 0, 69, 49, - 145, 202, 144, 204, 144, 204, 144, 202, 146, 6, - 0, 69, 43, 145, 202, 144, 204, 144, 204, 144, - 204, 144, 202, 146, 6, 0, 69, 46, 145, 202, - 144, 204, 144, 204, 144, 204, 144, 202, 146, 6, - 0, 69, 49, 145, 202, 144, 204, 144, 204, 144, - 204, 144, 202, 146, 6, 0, 0, 69, 43, 145, - 202, 144, 204, 146, 188, 145, 197, 146, 6, 0, - 0, 69, 46, 145, 202, 144, 204, 146, 189, 145, - 197, 146, 6, 0, 0, 69, 49, 145, 202, 144, - 204, 146, 190, 145, 197, 146, 6, 0, 0, 69, - 43, 145, 202, 144, 204, 144, 204, 144, 202, 146, - 191, 145, 197, 146, 6, 0, 0, 69, 46, 145, - 202, 144, 204, 144, 204, 144, 202, 146, 192, 145, - 197, 146, 6, 0, 0, 69, 49, 145, 202, 144, - 204, 144, 204, 144, 202, 146, 193, 145, 197, 146, - 6, 0, 0, 69, 43, 145, 202, 144, 204, 144, - 204, 144, 204, 144, 202, 146, 194, 145, 197, 146, - 6, 0, 0, 69, 46, 145, 202, 144, 204, 144, - 204, 144, 204, 144, 202, 146, 195, 145, 197, 146, - 6, 0, 0, 69, 49, 145, 202, 144, 204, 144, - 204, 144, 204, 144, 202, 146, 196, 145, 197, 146, - 6, 0, 198, 0, 197, 198, 0, 78, 145, 202, - 146, 6, 0, 78, 145, 207, 144, 207, 146, 6, - 0, 78, 145, 207, 144, 207, 144, 207, 146, 6, - 0, 72, 6, 0, 79, 138, 202, 139, 7, 207, - 61, 202, 6, 0, 58, 46, 207, 7, 202, 6, - 0, 58, 46, 207, 7, 202, 61, 63, 202, 6, - 0, 58, 46, 207, 7, 202, 61, 62, 202, 6, - 0, 58, 49, 145, 202, 146, 7, 207, 6, 0, - 58, 49, 145, 202, 146, 7, 207, 4, 6, 0, - 55, 49, 145, 202, 146, 7, 207, 6, 0, 58, - 51, 145, 202, 146, 7, 207, 6, 0, 72, 49, - 207, 7, 202, 6, 0, 72, 49, 207, 6, 0, - 43, 145, 209, 146, 95, 49, 145, 202, 146, 6, - 0, 46, 145, 209, 146, 95, 49, 145, 202, 146, - 6, 0, 46, 145, 209, 146, 95, 51, 145, 202, - 146, 6, 0, 49, 145, 209, 146, 95, 51, 145, - 202, 146, 6, 0, 74, 6, 0, 203, 0, 138, - 202, 139, 0, 129, 202, 0, 128, 202, 0, 133, - 202, 0, 202, 129, 202, 0, 202, 128, 202, 0, - 202, 130, 202, 0, 202, 131, 202, 0, 202, 132, - 202, 0, 202, 137, 202, 0, 202, 124, 202, 0, - 202, 126, 202, 0, 202, 125, 202, 0, 202, 127, - 202, 0, 202, 122, 202, 0, 202, 123, 202, 0, - 202, 121, 202, 0, 202, 120, 202, 0, 202, 119, - 202, 8, 202, 0, 14, 138, 202, 139, 0, 15, - 138, 202, 139, 0, 16, 138, 202, 139, 0, 17, - 138, 202, 139, 0, 18, 138, 202, 139, 0, 19, - 138, 202, 139, 0, 20, 138, 202, 139, 0, 21, - 138, 202, 139, 0, 22, 138, 202, 139, 0, 24, - 138, 202, 139, 0, 25, 138, 202, 144, 202, 139, - 0, 26, 138, 202, 139, 0, 27, 138, 202, 139, - 0, 28, 138, 202, 139, 0, 29, 138, 202, 139, - 0, 30, 138, 202, 139, 0, 31, 138, 202, 139, - 0, 32, 138, 202, 144, 202, 139, 0, 33, 138, - 202, 144, 202, 139, 0, 34, 138, 202, 144, 202, - 139, 0, 23, 138, 202, 139, 0, 14, 140, 202, - 141, 0, 15, 140, 202, 141, 0, 16, 140, 202, - 141, 0, 17, 140, 202, 141, 0, 18, 140, 202, - 141, 0, 19, 140, 202, 141, 0, 20, 140, 202, - 141, 0, 21, 140, 202, 141, 0, 22, 140, 202, - 141, 0, 24, 140, 202, 141, 0, 25, 140, 202, - 144, 202, 141, 0, 26, 140, 202, 141, 0, 27, - 140, 202, 141, 0, 28, 140, 202, 141, 0, 29, - 140, 202, 141, 0, 30, 140, 202, 141, 0, 31, - 140, 202, 141, 0, 32, 140, 202, 144, 202, 141, - 0, 33, 140, 202, 144, 202, 141, 0, 34, 140, - 202, 144, 202, 141, 0, 23, 140, 202, 141, 0, - 3, 0, 9, 0, 10, 0, 11, 0, 112, 0, - 113, 0, 114, 0, 4, 0, 4, 147, 145, 202, - 146, 0, 4, 140, 202, 141, 0, 143, 4, 140, - 141, 0, 4, 170, 0, 4, 140, 202, 141, 170, - 0, 4, 142, 4, 0, 4, 140, 202, 141, 142, - 4, 0, 4, 142, 4, 170, 0, 4, 140, 202, - 141, 142, 4, 170, 0, 111, 138, 5, 144, 202, - 139, 0, 205, 0, 129, 204, 0, 128, 204, 0, - 204, 129, 204, 0, 204, 128, 204, 0, 145, 202, - 144, 202, 144, 202, 144, 202, 144, 202, 146, 0, - 145, 202, 144, 202, 144, 202, 144, 202, 146, 0, - 145, 202, 144, 202, 144, 202, 146, 0, 138, 202, - 144, 202, 144, 202, 139, 0, 207, 0, 206, 144, - 207, 0, 202, 0, 208, 0, 145, 146, 0, 145, - 209, 146, 0, 129, 145, 209, 146, 0, 202, 130, - 145, 209, 146, 0, 129, 208, 0, 202, 130, 208, - 0, 202, 8, 202, 0, 202, 8, 202, 8, 202, - 0, 43, 145, 202, 146, 0, 174, 0, 182, 0, - 4, 140, 141, 0, 4, 140, 145, 209, 146, 141, - 0, 202, 0, 208, 0, 209, 144, 202, 0, 209, - 144, 208, 0, 145, 202, 144, 202, 144, 202, 144, - 202, 146, 0, 145, 202, 144, 202, 144, 202, 146, - 0, 4, 0, 4, 142, 92, 142, 4, 0, 145, - 212, 146, 0, 4, 140, 202, 141, 142, 93, 0, - 210, 0, 212, 144, 210, 0, 214, 0, 4, 0, - 5, 0, 42, 0, 37, 138, 213, 144, 213, 139, - 0, 38, 138, 213, 139, 0, 39, 138, 213, 139, - 0, 36, 138, 213, 139, 0, 36, 138, 213, 144, - 209, 139, 0, 36, 138, 4, 142, 4, 139, 0, - 36, 138, 4, 140, 202, 141, 142, 4, 139, 0 -}; +#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ +# define YY_(msgid) dgettext ("bison-runtime", msgid) +# endif +# endif +# ifndef YY_ +# define YY_(msgid) msgid +# endif +#endif +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YYUSE(e) ((void) (e)) +#else +# define YYUSE(e) /* empty */ #endif -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 142, 144, 149, 151, 154, 156, 157, 158, 159, 160, - 161, 162, 163, 164, 165, 166, 167, 168, 171, 176, - 182, 188, 203, 216, 244, 262, 271, 282, 287, 288, - 289, 290, 291, 294, 297, 301, 304, 308, 453, 461, - 467, 473, 480, 489, 495, 501, 508, 516, 522, 528, - 537, 542, 549, 551, 552, 553, 554, 557, 559, 562, - 597, 636, 690, 707, 725, 736, 753, 760, 774, 791, - 817, 844, 858, 875, 889, 906, 926, 949, 959, 973, - 978, 987, 1013, 1029, 1050, 1057, 1068, 1083, 1091, 1106, - 1113, 1125, 1159, 1195, 1217, 1235, 1253, 1271, 1297, 1315, - 1341, 1361, 1379, 1397, 1423, 1440, 1459, 1477, 1515, 1519, - 1523, 1528, 1550, 1572, 1588, 1608, 1625, 1642, 1662, 1668, - 1673, 1678, 1683, 1694, 1700, 1708, 1710, 1713, 1718, 1722, - 1745, 1768, 1791, 1818, 1828, 1841, 1857, 1871, 1885, 1892, - 1898, 1907, 1920, 1969, 1985, 2001, 2020, 2030, 2052, 2056, - 2061, 2066, 2076, 2093, 2109, 2134, 2160, 2191, 2198, 2203, - 2209, 2213, 2221, 2230, 2238, 2246, 2250, 2258, 2262, 2270, - 2274, 2282, 2286, 2293, 2297, 2309, 2316, 2323, 2330, 2337, - 2344, 2351, 2358, 2365, 2372, 2376, 2383, 2387, 2394, 2398, - 2405, 2409, 2416, 2420, 2427, 2431, 2438, 2442, 2449, 2453, - 2460, 2464, 2474, 2478, 2483, 2493, 2513, 2536, 2540, 2563, - 2582, 2600, 2618, 2647, 2682, 2687, 2714, 2728, 2746, 2753, - 2759, 2762, 2770, 2780, 2782, 2783, 2784, 2785, 2786, 2787, - 2788, 2789, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, - 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, - 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, 2822, 2823, - 2824, 2825, 2826, 2827, 2829, 2830, 2831, 2832, 2833, 2834, - 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, - 2845, 2846, 2847, 2848, 2849, 2854, 2859, 2860, 2861, 2862, - 2863, 2864, 2868, 2884, 2899, 2919, 2932, 2945, 2968, 2986, - 3004, 3022, 3040, 3047, 3052, 3056, 3060, 3064, 3070, 3075, - 3079, 3083, 3089, 3095, 3102, 3108, 3112, 3117, 3121, 3129, - 3139, 3148, 3156, 3162, 3173, 3193, 3203, 3213, 3230, 3256, - 3262, 3266, 3270, 3282, 3287, 3299, 3306, 3326, 3331, 3345, - 3351, 3357, 3362, 3368, 3373, 3381, 3389, 3403, 3417, 3421, - 3440, 3462 -}; +/* Identity function, used to suppress warnings about constant conditions. */ +#ifndef lint +# define YYID(n) (n) +#else +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static int +YYID (int i) +#else +static int +YYID (i) + int i; +#endif +{ + return i; +} #endif +#if ! defined yyoverflow || YYERROR_VERBOSE + +/* 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 +# elif defined __BUILTIN_VA_ARG_INCR +# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# ifndef _STDLIB_H +# define _STDLIB_H 1 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined _STDLIB_H \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# ifndef _STDLIB_H +# define _STDLIB_H 1 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# 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 +{ + yytype_int16 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 (yytype_int16) + 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 \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (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 (YYID (0)) -#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","tIntersect", -"tBoundary","tAttractor","tLayers","tHole","tAlias","tAliasWithOptions","tText2D", -"tText3D","tInterpolationScheme","tTime","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","NumericAffectation","NumericIncrement","Affectation", -"PhysicalId","Shape","Transform","MultipleShape","ListOfShapes","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 -}; #endif -static const short yyr1[] = { 0, - 148, 148, 149, 149, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 150, 150, 150, 150, 150, 151, 151, - 152, 152, 152, 152, 153, 153, 153, 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, 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, 173, 174, 174, - 174, 174, 174, 174, 174, 175, 175, 176, 176, 176, - 176, 176, 176, 177, 177, 177, 177, 178, 179, 179, - 179, 179, 180, 180, 180, 180, 180, 180, 180, 180, - 180, 180, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 182, 182, 182, 183, 182, 184, 182, 185, - 182, 186, 182, 187, 182, 182, 182, 182, 182, 182, - 182, 182, 182, 182, 188, 182, 189, 182, 190, 182, - 191, 182, 192, 182, 193, 182, 194, 182, 195, 182, - 196, 182, 197, 197, 198, 198, 198, 198, 198, 199, - 199, 199, 199, 199, 199, 199, 199, 199, 200, 200, - 200, 200, 201, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 202, 202, 202, 202, 202, - 202, 202, 202, 202, 202, 203, 203, 203, 203, 203, - 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, - 203, 203, 203, 204, 204, 204, 204, 204, 205, 205, - 205, 205, 206, 206, 207, 207, 207, 207, 207, 207, - 208, 208, 208, 208, 208, 208, 208, 208, 208, 209, - 209, 209, 209, 210, 210, 210, 210, 211, 211, 212, - 212, 213, 213, 214, 214, 214, 214, 214, 214, 214, - 214, 214 +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 5 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 6585 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 148 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 68 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 353 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 1274 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 382 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const yytype_uint8 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, 133, 2, 143, 2, 132, 2, 2, + 138, 139, 130, 128, 144, 129, 142, 131, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 124, 2, 125, 119, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 140, 2, 141, 137, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 145, 2, 146, 147, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 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, 118, 120, 121, 122, 123, 126, 127, + 134, 135, 136 }; -static const short yyr2[] = { 0, - 1, 2, 0, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 5, 7, 7, 9, 6, 6, 6, 0, 2, 2, - 2, 2, 2, 1, 3, 1, 3, 0, 0, 10, - 1, 3, 0, 13, 1, 3, 0, 15, 8, 14, - 0, 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, 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, 4, 9, 4, 1, 1, 0, 2, 6, - 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, 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 +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const yytype_uint16 yyprhs[] = +{ + 0, 0, 3, 5, 8, 9, 12, 14, 16, 18, + 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, + 40, 42, 45, 51, 59, 67, 77, 84, 91, 98, + 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, 217, 219, 221, 223, 225, + 227, 229, 234, 242, 252, 259, 266, 270, 277, 282, + 289, 299, 306, 316, 322, 331, 340, 352, 359, 369, + 379, 389, 391, 393, 401, 410, 420, 429, 438, 447, + 456, 466, 475, 481, 488, 495, 502, 510, 518, 526, + 536, 544, 554, 572, 580, 588, 600, 609, 618, 627, + 636, 640, 645, 656, 664, 672, 681, 690, 699, 707, + 716, 722, 734, 740, 750, 755, 765, 770, 772, 774, + 775, 778, 785, 792, 799, 806, 811, 818, 822, 827, + 833, 837, 841, 846, 851, 855, 863, 871, 875, 883, + 887, 890, 893, 909, 912, 919, 928, 937, 948, 950, + 953, 955, 959, 964, 966, 972, 984, 998, 999, 1007, + 1008, 1022, 1023, 1039, 1040, 1047, 1048, 1059, 1068, 1077, + 1086, 1099, 1112, 1125, 1140, 1155, 1170, 1171, 1184, 1185, + 1198, 1199, 1212, 1213, 1230, 1231, 1248, 1249, 1266, 1267, + 1286, 1287, 1306, 1307, 1326, 1328, 1331, 1337, 1345, 1355, + 1358, 1368, 1375, 1385, 1395, 1404, 1414, 1423, 1432, 1439, + 1444, 1455, 1466, 1477, 1488, 1491, 1493, 1497, 1500, 1503, + 1506, 1510, 1514, 1518, 1522, 1526, 1530, 1534, 1538, 1542, + 1546, 1550, 1554, 1558, 1562, 1568, 1573, 1578, 1583, 1588, + 1593, 1598, 1603, 1608, 1613, 1618, 1625, 1630, 1635, 1640, + 1645, 1650, 1655, 1662, 1669, 1676, 1681, 1686, 1691, 1696, + 1701, 1706, 1711, 1716, 1721, 1726, 1731, 1738, 1743, 1748, + 1753, 1758, 1763, 1768, 1775, 1782, 1789, 1794, 1796, 1798, + 1800, 1802, 1804, 1806, 1808, 1810, 1816, 1821, 1826, 1829, + 1835, 1839, 1846, 1851, 1859, 1866, 1868, 1871, 1874, 1878, + 1882, 1894, 1904, 1912, 1920, 1922, 1926, 1928, 1930, 1933, + 1937, 1942, 1948, 1951, 1955, 1959, 1965, 1970, 1972, 1974, + 1978, 1985, 1987, 1989, 1993, 1997, 2007, 2015, 2017, 2023, + 2027, 2034, 2036, 2040, 2042, 2044, 2046, 2048, 2055, 2060, + 2065, 2070, 2077, 2084 }; -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, 0, 0, 157, 0, 162, - 0, 0, 0, 0, 0, 159, 0, 0, 0, 0, - 4, 6, 5, 7, 8, 9, 10, 11, 12, 18, - 17, 13, 14, 15, 16, 286, 293, 344, 53, 287, - 288, 289, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 345, 0, 290, - 291, 292, 54, 55, 56, 57, 0, 0, 0, 58, - 59, 0, 0, 0, 0, 0, 0, 0, 224, 0, - 0, 0, 0, 150, 0, 152, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 304, 0, 0, 0, 0, 0, 0, 128, 0, 128, - 0, 0, 128, 223, 0, 128, 0, 0, 0, 0, - 0, 0, 0, 0, 336, 0, 0, 0, 0, 0, - 149, 0, 0, 0, 0, 0, 158, 0, 343, 344, - 128, 0, 342, 128, 0, 0, 0, 0, 0, 297, - 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, 293, - 227, 226, 228, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 65, 146, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 143, - 109, 0, 0, 0, 0, 293, 0, 0, 326, 327, - 330, 331, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 315, 0, 316, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 306, 305, 0, 0, 0, - 0, 128, 128, 0, 0, 0, 0, 0, 0, 0, - 0, 172, 0, 128, 127, 0, 126, 0, 0, 136, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 148, - 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, - 0, 0, 0, 160, 0, 0, 139, 0, 140, 0, - 0, 299, 0, 0, 67, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 343, 0, 0, - 0, 0, 0, 0, 225, 0, 0, 0, 0, 53, - 0, 0, 0, 0, 0, 60, 0, 242, 241, 239, - 240, 235, 237, 236, 238, 230, 229, 231, 232, 233, - 234, 110, 0, 0, 0, 0, 0, 0, 226, 321, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 317, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 80, 81, 0, 0, 0, 0, 0, 0, 0, - 308, 307, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 129, 0, 0, 166, 123, - 218, 0, 137, 0, 134, 0, 125, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 161, 0, 0, 0, 0, 0, 141, 142, 0, 295, - 301, 0, 38, 0, 0, 0, 51, 0, 29, 30, - 31, 32, 33, 244, 265, 245, 266, 246, 267, 247, - 268, 248, 269, 249, 270, 250, 271, 251, 272, 252, - 273, 264, 285, 253, 274, 0, 0, 255, 276, 256, - 277, 257, 278, 258, 279, 259, 280, 260, 281, 0, - 0, 0, 0, 0, 0, 0, 0, 349, 0, 0, - 347, 348, 0, 0, 0, 0, 0, 53, 0, 0, - 0, 0, 0, 72, 0, 0, 0, 0, 296, 0, - 21, 19, 0, 0, 0, 0, 328, 0, 0, 323, - 231, 322, 332, 333, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 91, 0, 318, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 119, 121, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 203, 0, 163, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 138, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 298, 0, 294, 0, 0, 0, 0, 0, 25, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 295, 63, 64, 0, 0, 0, 0, 0, - 66, 68, 70, 0, 0, 340, 0, 76, 243, 20, - 0, 0, 0, 0, 0, 325, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 319, 0, 94, 0, 0, 0, 0, 0, 210, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, - 208, 0, 0, 173, 204, 0, 0, 217, 135, 0, - 0, 92, 93, 26, 27, 0, 0, 0, 337, 0, - 0, 0, 153, 0, 0, 0, 0, 0, 145, 300, - 144, 0, 0, 0, 0, 313, 0, 254, 275, 261, - 282, 262, 283, 263, 284, 0, 351, 350, 346, 303, - 0, 53, 0, 0, 0, 0, 61, 0, 0, 0, - 338, 22, 23, 0, 0, 82, 0, 324, 0, 97, - 0, 99, 0, 0, 95, 0, 0, 112, 113, 0, - 0, 96, 117, 320, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 147, 0, - 0, 0, 0, 128, 174, 0, 185, 0, 187, 0, - 189, 0, 0, 0, 0, 315, 0, 0, 0, 0, - 167, 0, 0, 102, 103, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 302, 0, 34, 0, 0, 0, - 0, 0, 36, 0, 0, 0, 0, 73, 0, 0, - 74, 0, 341, 0, 0, 329, 0, 0, 0, 105, - 0, 0, 114, 0, 0, 0, 215, 107, 108, 0, - 0, 0, 213, 216, 116, 83, 106, 115, 118, 0, - 0, 0, 312, 0, 311, 0, 0, 0, 176, 0, - 0, 177, 0, 0, 178, 0, 130, 131, 132, 133, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 335, - 0, 155, 154, 87, 90, 85, 86, 88, 0, 39, - 0, 0, 0, 314, 0, 0, 0, 0, 62, 69, - 71, 0, 77, 0, 24, 0, 0, 98, 100, 0, - 0, 0, 0, 0, 212, 211, 214, 78, 79, 128, - 0, 122, 0, 0, 0, 0, 0, 0, 0, 205, - 0, 0, 128, 0, 124, 84, 0, 0, 0, 89, - 0, 35, 0, 0, 0, 37, 52, 352, 0, 339, - 0, 219, 220, 221, 222, 111, 0, 0, 0, 310, - 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 168, 0, 0, 334, 156, 0, 0, - 0, 0, 75, 0, 0, 120, 0, 191, 0, 0, - 193, 0, 0, 195, 0, 0, 0, 206, 0, 164, - 0, 128, 104, 0, 43, 0, 49, 0, 0, 0, - 309, 179, 0, 0, 186, 180, 0, 0, 188, 181, - 0, 0, 190, 0, 0, 0, 170, 0, 0, 0, - 0, 0, 0, 0, 197, 0, 199, 0, 201, 207, - 209, 169, 165, 0, 40, 0, 47, 0, 0, 0, - 0, 182, 0, 0, 183, 0, 0, 184, 0, 0, - 0, 41, 0, 0, 151, 0, 0, 0, 0, 0, - 0, 0, 171, 0, 0, 0, 0, 0, 192, 0, - 194, 0, 196, 0, 42, 44, 0, 45, 0, 101, - 0, 0, 0, 0, 0, 50, 198, 200, 202, 46, - 48, 0, 0, 0 +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int16 yyrhs[] = +{ + 149, 0, -1, 150, -1, 1, 6, -1, -1, 150, + 151, -1, 154, -1, 153, -1, 172, -1, 174, -1, + 175, -1, 178, -1, 179, -1, 180, -1, 183, -1, + 200, -1, 201, -1, 202, -1, 182, -1, 181, -1, + 125, -1, 125, 125, -1, 35, 138, 5, 139, 6, + -1, 35, 138, 5, 139, 152, 214, 6, -1, 35, + 138, 5, 144, 210, 139, 6, -1, 35, 138, 5, + 144, 210, 139, 152, 214, 6, -1, 4, 5, 145, + 155, 146, 6, -1, 80, 4, 140, 203, 141, 6, + -1, 81, 4, 140, 203, 141, 6, -1, -1, 155, + 158, -1, 155, 162, -1, 155, 165, -1, 155, 167, + -1, 155, 168, -1, 203, -1, 156, 144, 203, -1, + 203, -1, 157, 144, 203, -1, -1, -1, 4, 159, + 138, 156, 139, 160, 145, 157, 146, 6, -1, 214, + -1, 161, 144, 214, -1, -1, 82, 138, 203, 144, + 203, 144, 203, 139, 163, 145, 161, 146, 6, -1, + 214, -1, 164, 144, 214, -1, -1, 83, 138, 203, + 144, 203, 144, 203, 144, 203, 139, 166, 145, 164, + 146, 6, -1, 84, 145, 207, 146, 145, 207, 146, + 6, -1, 84, 145, 207, 146, 145, 207, 146, 145, + 207, 146, 145, 207, 146, 6, -1, -1, 85, 169, + 145, 157, 146, 6, -1, 7, -1, 118, -1, 117, + -1, 116, -1, 115, -1, 136, -1, 135, -1, 4, + 170, 203, 6, -1, 4, 140, 203, 141, 170, 203, + 6, -1, 4, 140, 145, 210, 146, 141, 170, 208, + 6, -1, 4, 140, 141, 7, 208, 6, -1, 4, + 140, 141, 118, 208, 6, -1, 4, 171, 6, -1, + 4, 140, 203, 141, 171, 6, -1, 4, 7, 215, + 6, -1, 4, 142, 4, 7, 215, 6, -1, 4, + 140, 203, 141, 142, 4, 7, 215, 6, -1, 4, + 142, 4, 170, 203, 6, -1, 4, 140, 203, 141, + 142, 4, 170, 203, 6, -1, 4, 142, 4, 171, + 6, -1, 4, 140, 203, 141, 142, 4, 171, 6, + -1, 4, 142, 92, 142, 4, 7, 211, 6, -1, + 4, 140, 203, 141, 142, 92, 142, 4, 7, 211, + 6, -1, 4, 142, 93, 7, 212, 6, -1, 4, + 140, 203, 141, 142, 93, 7, 212, 6, -1, 64, + 138, 4, 139, 142, 4, 7, 203, 6, -1, 64, + 138, 4, 139, 142, 4, 7, 215, 6, -1, 203, + -1, 215, -1, 43, 138, 203, 139, 7, 205, 6, + -1, 60, 43, 138, 173, 139, 7, 208, 6, -1, + 77, 43, 100, 138, 203, 139, 7, 208, 6, -1, + 103, 100, 138, 203, 139, 7, 203, 6, -1, 105, + 100, 138, 203, 139, 7, 203, 6, -1, 101, 100, + 138, 203, 139, 7, 208, 6, -1, 108, 100, 138, + 203, 139, 7, 5, 6, -1, 108, 100, 138, 203, + 139, 7, 5, 208, 6, -1, 102, 100, 138, 203, + 139, 7, 5, 6, -1, 52, 53, 100, 208, 6, + -1, 77, 43, 208, 7, 208, 6, -1, 77, 46, + 208, 7, 208, 6, -1, 52, 53, 208, 7, 203, + 6, -1, 46, 138, 203, 139, 7, 208, 6, -1, + 50, 138, 203, 139, 7, 208, 6, -1, 44, 138, + 203, 139, 7, 208, 6, -1, 44, 138, 203, 139, + 7, 208, 56, 205, 6, -1, 45, 138, 203, 139, + 7, 208, 6, -1, 45, 138, 203, 139, 7, 208, + 56, 205, 6, -1, 54, 138, 203, 139, 7, 145, + 203, 144, 203, 144, 5, 144, 5, 144, 5, 146, + 6, -1, 87, 138, 203, 139, 7, 208, 6, -1, + 88, 138, 203, 139, 7, 208, 6, -1, 89, 138, + 203, 139, 7, 208, 91, 208, 90, 203, 6, -1, + 46, 71, 138, 203, 139, 7, 208, 6, -1, 60, + 46, 138, 173, 139, 7, 208, 6, -1, 56, 49, + 138, 203, 139, 7, 208, 6, -1, 57, 49, 138, + 203, 139, 7, 208, 6, -1, 12, 13, 6, -1, + 13, 49, 203, 6, -1, 54, 49, 138, 203, 139, + 7, 5, 5, 5, 6, -1, 47, 138, 203, 139, + 7, 208, 6, -1, 48, 138, 203, 139, 7, 208, + 6, -1, 49, 71, 138, 203, 139, 7, 208, 6, + -1, 60, 49, 138, 173, 139, 7, 208, 6, -1, + 59, 51, 138, 203, 139, 7, 208, 6, -1, 51, + 138, 203, 139, 7, 208, 6, -1, 60, 51, 138, + 173, 139, 7, 208, 6, -1, 66, 205, 145, 176, + 146, -1, 65, 145, 205, 144, 205, 144, 203, 146, + 145, 176, 146, -1, 67, 205, 145, 176, 146, -1, + 68, 145, 205, 144, 203, 146, 145, 176, 146, -1, + 70, 145, 176, 146, -1, 75, 46, 145, 210, 146, + 49, 145, 203, 146, -1, 76, 145, 176, 146, -1, + 177, -1, 175, -1, -1, 177, 174, -1, 177, 43, + 145, 210, 146, 6, -1, 177, 46, 145, 210, 146, + 6, -1, 177, 49, 145, 210, 146, 6, -1, 177, + 51, 145, 210, 146, 6, -1, 73, 145, 177, 146, + -1, 73, 4, 140, 203, 141, 6, -1, 73, 4, + 6, -1, 73, 4, 4, 6, -1, 92, 211, 145, + 177, 146, -1, 109, 214, 6, -1, 110, 214, 6, + -1, 109, 145, 177, 146, -1, 110, 145, 177, 146, + -1, 4, 215, 6, -1, 4, 4, 140, 203, 141, + 214, 6, -1, 4, 4, 4, 140, 203, 141, 6, + -1, 4, 203, 6, -1, 64, 138, 4, 139, 142, + 4, 6, -1, 86, 4, 6, -1, 99, 6, -1, + 40, 6, -1, 40, 145, 203, 144, 203, 144, 203, + 144, 203, 144, 203, 144, 203, 146, 6, -1, 41, + 6, -1, 94, 138, 203, 8, 203, 139, -1, 94, + 138, 203, 8, 203, 8, 203, 139, -1, 94, 4, + 95, 145, 203, 8, 203, 146, -1, 94, 4, 95, + 145, 203, 8, 203, 8, 203, 146, -1, 96, -1, + 108, 4, -1, 106, -1, 107, 4, 6, -1, 97, + 138, 203, 139, -1, 98, -1, 69, 205, 145, 177, + 146, -1, 69, 145, 205, 144, 205, 144, 203, 146, + 145, 177, 146, -1, 69, 145, 205, 144, 205, 144, + 205, 144, 203, 146, 145, 177, 146, -1, -1, 69, + 205, 145, 177, 184, 198, 146, -1, -1, 69, 145, + 205, 144, 205, 144, 203, 146, 145, 177, 185, 198, + 146, -1, -1, 69, 145, 205, 144, 205, 144, 205, + 144, 203, 146, 145, 177, 186, 198, 146, -1, -1, + 69, 145, 177, 187, 198, 146, -1, -1, 69, 4, + 140, 203, 141, 145, 177, 188, 198, 146, -1, 69, + 43, 145, 203, 144, 205, 146, 6, -1, 69, 46, + 145, 203, 144, 205, 146, 6, -1, 69, 49, 145, + 203, 144, 205, 146, 6, -1, 69, 43, 145, 203, + 144, 205, 144, 205, 144, 203, 146, 6, -1, 69, + 46, 145, 203, 144, 205, 144, 205, 144, 203, 146, + 6, -1, 69, 49, 145, 203, 144, 205, 144, 205, + 144, 203, 146, 6, -1, 69, 43, 145, 203, 144, + 205, 144, 205, 144, 205, 144, 203, 146, 6, -1, + 69, 46, 145, 203, 144, 205, 144, 205, 144, 205, + 144, 203, 146, 6, -1, 69, 49, 145, 203, 144, + 205, 144, 205, 144, 205, 144, 203, 146, 6, -1, + -1, 69, 43, 145, 203, 144, 205, 146, 189, 145, + 198, 146, 6, -1, -1, 69, 46, 145, 203, 144, + 205, 146, 190, 145, 198, 146, 6, -1, -1, 69, + 49, 145, 203, 144, 205, 146, 191, 145, 198, 146, + 6, -1, -1, 69, 43, 145, 203, 144, 205, 144, + 205, 144, 203, 146, 192, 145, 198, 146, 6, -1, + -1, 69, 46, 145, 203, 144, 205, 144, 205, 144, + 203, 146, 193, 145, 198, 146, 6, -1, -1, 69, + 49, 145, 203, 144, 205, 144, 205, 144, 203, 146, + 194, 145, 198, 146, 6, -1, -1, 69, 43, 145, + 203, 144, 205, 144, 205, 144, 205, 144, 203, 146, + 195, 145, 198, 146, 6, -1, -1, 69, 46, 145, + 203, 144, 205, 144, 205, 144, 205, 144, 203, 146, + 196, 145, 198, 146, 6, -1, -1, 69, 49, 145, + 203, 144, 205, 144, 205, 144, 205, 144, 203, 146, + 197, 145, 198, 146, 6, -1, 199, -1, 198, 199, + -1, 78, 145, 203, 146, 6, -1, 78, 145, 208, + 144, 208, 146, 6, -1, 78, 145, 208, 144, 208, + 144, 208, 146, 6, -1, 72, 6, -1, 79, 138, + 203, 139, 7, 208, 61, 203, 6, -1, 58, 46, + 208, 7, 203, 6, -1, 58, 46, 208, 7, 203, + 61, 63, 203, 6, -1, 58, 46, 208, 7, 203, + 61, 62, 203, 6, -1, 58, 49, 145, 203, 146, + 7, 208, 6, -1, 58, 49, 145, 203, 146, 7, + 208, 4, 6, -1, 55, 49, 145, 203, 146, 7, + 208, 6, -1, 58, 51, 145, 203, 146, 7, 208, + 6, -1, 72, 49, 208, 7, 203, 6, -1, 72, + 49, 208, 6, -1, 43, 145, 210, 146, 95, 49, + 145, 203, 146, 6, -1, 46, 145, 210, 146, 95, + 49, 145, 203, 146, 6, -1, 46, 145, 210, 146, + 95, 51, 145, 203, 146, 6, -1, 49, 145, 210, + 146, 95, 51, 145, 203, 146, 6, -1, 74, 6, + -1, 204, -1, 138, 203, 139, -1, 129, 203, -1, + 128, 203, -1, 133, 203, -1, 203, 129, 203, -1, + 203, 128, 203, -1, 203, 130, 203, -1, 203, 131, + 203, -1, 203, 132, 203, -1, 203, 137, 203, -1, + 203, 124, 203, -1, 203, 125, 203, -1, 203, 127, + 203, -1, 203, 126, 203, -1, 203, 123, 203, -1, + 203, 122, 203, -1, 203, 121, 203, -1, 203, 120, + 203, -1, 203, 119, 203, 8, 203, -1, 14, 138, + 203, 139, -1, 15, 138, 203, 139, -1, 16, 138, + 203, 139, -1, 17, 138, 203, 139, -1, 18, 138, + 203, 139, -1, 19, 138, 203, 139, -1, 20, 138, + 203, 139, -1, 21, 138, 203, 139, -1, 22, 138, + 203, 139, -1, 24, 138, 203, 139, -1, 25, 138, + 203, 144, 203, 139, -1, 26, 138, 203, 139, -1, + 27, 138, 203, 139, -1, 28, 138, 203, 139, -1, + 29, 138, 203, 139, -1, 30, 138, 203, 139, -1, + 31, 138, 203, 139, -1, 32, 138, 203, 144, 203, + 139, -1, 33, 138, 203, 144, 203, 139, -1, 34, + 138, 203, 144, 203, 139, -1, 23, 138, 203, 139, + -1, 14, 140, 203, 141, -1, 15, 140, 203, 141, + -1, 16, 140, 203, 141, -1, 17, 140, 203, 141, + -1, 18, 140, 203, 141, -1, 19, 140, 203, 141, + -1, 20, 140, 203, 141, -1, 21, 140, 203, 141, + -1, 22, 140, 203, 141, -1, 24, 140, 203, 141, + -1, 25, 140, 203, 144, 203, 141, -1, 26, 140, + 203, 141, -1, 27, 140, 203, 141, -1, 28, 140, + 203, 141, -1, 29, 140, 203, 141, -1, 30, 140, + 203, 141, -1, 31, 140, 203, 141, -1, 32, 140, + 203, 144, 203, 141, -1, 33, 140, 203, 144, 203, + 141, -1, 34, 140, 203, 144, 203, 141, -1, 23, + 140, 203, 141, -1, 3, -1, 9, -1, 10, -1, + 11, -1, 112, -1, 113, -1, 114, -1, 4, -1, + 4, 147, 145, 203, 146, -1, 4, 140, 203, 141, + -1, 143, 4, 140, 141, -1, 4, 171, -1, 4, + 140, 203, 141, 171, -1, 4, 142, 4, -1, 4, + 140, 203, 141, 142, 4, -1, 4, 142, 4, 171, + -1, 4, 140, 203, 141, 142, 4, 171, -1, 111, + 138, 5, 144, 203, 139, -1, 206, -1, 129, 205, + -1, 128, 205, -1, 205, 129, 205, -1, 205, 128, + 205, -1, 145, 203, 144, 203, 144, 203, 144, 203, + 144, 203, 146, -1, 145, 203, 144, 203, 144, 203, + 144, 203, 146, -1, 145, 203, 144, 203, 144, 203, + 146, -1, 138, 203, 144, 203, 144, 203, 139, -1, + 208, -1, 207, 144, 208, -1, 203, -1, 209, -1, + 145, 146, -1, 145, 210, 146, -1, 129, 145, 210, + 146, -1, 203, 130, 145, 210, 146, -1, 129, 209, + -1, 203, 130, 209, -1, 203, 8, 203, -1, 203, + 8, 203, 8, 203, -1, 43, 145, 203, 146, -1, + 175, -1, 183, -1, 4, 140, 141, -1, 4, 140, + 145, 210, 146, 141, -1, 203, -1, 209, -1, 210, + 144, 203, -1, 210, 144, 209, -1, 145, 203, 144, + 203, 144, 203, 144, 203, 146, -1, 145, 203, 144, + 203, 144, 203, 146, -1, 4, -1, 4, 142, 92, + 142, 4, -1, 145, 213, 146, -1, 4, 140, 203, + 141, 142, 93, -1, 211, -1, 213, 144, 211, -1, + 215, -1, 4, -1, 5, -1, 42, -1, 37, 138, + 214, 144, 214, 139, -1, 38, 138, 214, 139, -1, + 39, 138, 214, 139, -1, 36, 138, 214, 139, -1, + 36, 138, 214, 144, 210, 139, -1, 36, 138, 4, + 142, 4, 139, -1, 36, 138, 4, 140, 203, 141, + 142, 4, 139, -1 }; -static const short yydefgoto[] = { 1272, - 2, 61, 663, 62, 63, 404, 976, 982, 589, 754, - 1111, 1231, 590, 1199, 1257, 591, 1233, 592, 593, 758, - 126, 220, 64, 521, 546, 309, 366, 367, 67, 68, - 69, 70, 71, 310, 727, 1171, 1214, 547, 1027, 1030, - 1033, 1036, 1183, 1187, 1191, 1223, 1226, 1229, 723, 724, - 73, 74, 75, 328, 129, 346, 171, 875, 876, 330, - 313, 197, 658, 787, 212, 213 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const yytype_uint16 yyrline[] = +{ + 0, 143, 143, 144, 149, 151, 155, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, + 172, 176, 183, 188, 203, 216, 245, 262, 271, 284, + 287, 288, 289, 290, 291, 295, 297, 302, 304, 310, + 454, 309, 468, 473, 482, 481, 496, 501, 510, 509, + 523, 528, 539, 538, 550, 551, 552, 553, 554, 558, + 559, 566, 597, 636, 690, 707, 725, 736, 753, 760, + 774, 791, 817, 844, 858, 875, 889, 906, 926, 949, + 959, 974, 978, 991, 1013, 1029, 1050, 1057, 1068, 1083, + 1091, 1106, 1113, 1125, 1159, 1195, 1217, 1235, 1253, 1271, + 1297, 1315, 1341, 1361, 1379, 1397, 1423, 1440, 1459, 1477, + 1515, 1519, 1523, 1528, 1550, 1572, 1588, 1608, 1625, 1642, + 1663, 1668, 1673, 1678, 1683, 1694, 1700, 1709, 1710, 1715, + 1718, 1722, 1745, 1768, 1791, 1819, 1828, 1841, 1857, 1872, + 1886, 1892, 1898, 1907, 1921, 1969, 1985, 2001, 2020, 2030, + 2052, 2056, 2061, 2066, 2078, 2093, 2109, 2134, 2160, 2191, + 2198, 2203, 2209, 2213, 2222, 2230, 2238, 2247, 2246, 2259, + 2258, 2271, 2270, 2283, 2282, 2294, 2293, 2309, 2316, 2323, + 2330, 2337, 2344, 2351, 2358, 2365, 2373, 2372, 2384, 2383, + 2395, 2394, 2406, 2405, 2417, 2416, 2428, 2427, 2439, 2438, + 2450, 2449, 2461, 2460, 2475, 2478, 2484, 2493, 2513, 2536, + 2540, 2564, 2582, 2600, 2618, 2647, 2682, 2687, 2714, 2728, + 2747, 2753, 2759, 2762, 2771, 2781, 2782, 2783, 2784, 2785, + 2786, 2787, 2788, 2789, 2796, 2797, 2798, 2799, 2800, 2801, + 2802, 2803, 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, + 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, + 2822, 2823, 2824, 2825, 2826, 2827, 2829, 2830, 2831, 2832, + 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, + 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2858, 2859, 2860, + 2861, 2862, 2863, 2864, 2868, 2884, 2899, 2919, 2932, 2945, + 2968, 2986, 3004, 3022, 3040, 3048, 3052, 3056, 3060, 3064, + 3071, 3075, 3079, 3083, 3090, 3095, 3103, 3108, 3112, 3117, + 3121, 3129, 3140, 3148, 3156, 3162, 3173, 3193, 3203, 3213, + 3230, 3257, 3262, 3266, 3270, 3283, 3287, 3299, 3306, 3327, + 3331, 3346, 3351, 3358, 3362, 3369, 3373, 3381, 3389, 3403, + 3417, 3421, 3440, 3462 }; +#endif -static const short yypact[] = { 3190, - 75, 3268,-32768, 2425, 79, -21, -37, 24, 101, -74, - 26, 43, -62, 81, 128, -51, 136, 140, 105, -15, - 145, 250, 257, 273, 258, 697, 174, 178, 416, 416, - 190, 59, 216, 268, 7, 365, 342, 234, 133, 389, - 399, 443, 259, 272, 316, 15, 35,-32768, 331,-32768, - 467, 351, 385, 388, 402,-32768, 503, 9, 12, 20, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768, 19, 372, 510,-32768, --32768,-32768, 129, 141, 211, 269, 279, 280, 324, 340, - 427, 462, 468, 472, 479, 501, 520, 642, 651, 657, - 675, 678, 687, 392, 395, 398, 405,-32768, 424,-32768, --32768,-32768,-32768,-32768,-32768,-32768, 2648, 2648, 2648,-32768, --32768, 2648, 2145, 22, 523, 2648, 549, 887,-32768, 565, - 572, 2648, 578,-32768, 2648,-32768, 2648, 2480, 2648, 2648, - 452, 2648, 2480, 2648, 2648, 458, 2480, 2648, 2648, 1378, - 469, 2648, 473, 487, 509, 1803, 507, 512, 526, 530, - 545, 548, 557, 644, 416, 416, 416, 2648, 2648, -92, --32768, -54, 416, 521, 575, 576, 579, 2288, -50, 856, - 1803, 23,-32768,-32768, 602, 856, 1528, 1803, 561, 616, - 751, 2648, 2648, 2648, 625, 2648, 632, 690, 2648, 2648, --32768, 656, 702, 705, 717, 820,-32768, 720,-32768,-32768, --32768, 857,-32768,-32768, 868, 741, 2648, 890, 761,-32768, --32768, 901, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, - 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, - 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, - 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, - 2648, 2648, 2648, 2648, 555, 722, 722, 722, 905, 308, - 777, 777, 777, 5325, 11, 2480, 4612, 406, 776, 926, - 788, 906,-32768,-32768, 2648, 2648, 2648, 2648, 2648, 2648, - 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648,-32768, --32768, 1068, -97, 3858, 5346, 636, 792, 2480,-32768,-32768, - 1729,-32768, 688, 5367, 5388, 2648, 5409, 689, 5430, 5451, - 2648, 692, 5472, 5493, 1803, 1940, 1229, 1866, 934,-32768, - 2648, 5514, 2648, 2648, 2648, 935, 2648, 2648, 2648, 2611, - 2611, 2611, 2611, 823, 219,-32768,-32768, 3884, 3910, 416, - 416, 856, 856, 353, 2648, 2648, 2648, 2648, 2288, 2288, - 2648, 3338, 409,-32768,-32768, 799, 3338, 66, 952,-32768, - 2648, 685, 2480, 833, 842, 980, 981, 2648, 2648,-32768, - 5535, 5556, 5577, 897, 3936,-32768, 845, 2003, 5598, 2648, - 2648, 2648, 2648,-32768, 2648, 2751,-32768, 2817,-32768, 2648, - 4635, 230, 2648, 4,-32768, 5619, 4658, 5640, 4681, 5661, - 4704, 5682, 4727, 5703, 4750, 5724, 4773, 5745, 4796, 5766, - 4819, 5787, 4842, 5808, 4865, 5829, 4888, 3962, 3988, 5850, - 4911, 5871, 4934, 5892, 4957, 5913, 4980, 5934, 5003, 5955, - 5026, 4014, 4040, 4066, 4092, 4118, 4144, 711, -84, 847, - 853, 854, 851, 2648,-32768, 1803, 1803, 708, 359, 510, - 2648, 990, 993, 17, 858,-32768, 2350, 582, 1223, 759, - 759, 562, 562, 562, 562, 80, 80, 777, 777, 777, - 777,-32768, -2, 2480, 2648, 991, 2214, 2648, 777,-32768, - 2648, 2480, 2480, 907, 994, 996, 5976, 1013, 927, 1014, - 1032, 5997, 945, 1034, 1035, 1039, 2480,-32768, 718, 2077, - 2648, 6018, 1040, 1454, 6039, 6060, 2648, 2695, 2761, 6081, - 861, 6438,-32768, 910, 912, 913, 904, 416, 2648, 2648, --32768,-32768, 908, 909, 2648, 5049, 4170, 4196, 4222, 3832, - -45, -39, -10, -42, 953,-32768, 41, 416, 2883,-32768, --32768, 2648,-32768, 5072,-32768, 723,-32768, 2648, 1803, 1803, - 5095, 5118, 1049, 1050, 1051, 917, 2648, 2949, 2648, 2648, --32768, 6102, 6123, 6144, 6165, 6186,-32768,-32768, 5141, 266, --32768, 2827,-32768, 923, 924, 918,-32768, 1058,-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, 2648, 2648,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 2648, - 2648, 2648, 2648, 2648, 2648, 2648, 1062,-32768, 2480, 722, --32768,-32768, 2648, 5164, 1061, 1063, 929,-32768, 37, 2648, - 1065, 1066, 1156,-32768, 1071, 928, 15, 1067,-32768, 2648, --32768, 949, 722, -11, 4248, 416,-32768, 2480, 2893, 2452, - 777,-32768, 1729,-32768, 1031, 1803, 1803, 1076, 1803, 819, - 1803, 1803, 1077, 1036, 1803, 1803,-32768, 729,-32768, 2480, - 1196, 1081, 944, 1084, 1085, 1087, 844, 1089, 1091, 1092, - 1093, 1094, 1095, 1096, 1100, 445, 4274, 4300,-32768,-32768, - 2959, 960, 416, 416, 416, 2480, 2480, 2480, 2480, 1101, - 963, 971, -34,-32768, 492,-32768, 41, 1303, 1104, 1069, - 6207, 1105, 1108, 1109, 1110, 1803, 1803, 1803, 1113, 4326, --32768, 2577, 680, 1112, 1114, 1115, 1116, 1117, 1119, 1122, --32768, 1121,-32768, 995, 2648, 2648, 1803, 984,-32768, 6228, - 5187, 6249, 5210, 6270, 5233, 6291, 5256, 5279, 992, 1, - 1000, 6312, -65,-32768,-32768, 265, 528, 998, 1128, 1338, --32768,-32768,-32768, 15, 2648,-32768, 733,-32768, 6438,-32768, - 1135, 6, 2648, 27, 734,-32768, 2648, 997, 29, 34, - 1803, 1137, 999, 1001, 1139, 1141, 1803, 1004, 1144, 1145, --32768, 753,-32768, 1147, 2648, 1803, 1803, 1803,-32768, 313, - 1803, 1803, 1803, 1803, 1803, 1803, 1803, 378, 2648, 2648, - 2648, 1008,-32768, 56, 172, 185, 754, 757, 758, 767, --32768, 1803, 2648,-32768,-32768, 2288, 32,-32768,-32768, 1009, - 1148,-32768,-32768,-32768,-32768, 1151, 1153, 1072,-32768, 2648, - 2648, 2648,-32768, 1803, 1155, 2648, 2648, 1160,-32768, 230, --32768, 2648, 4352, 4378, 773,-32768, 2648,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 1024,-32768,-32768,-32768,-32768, - 1803, 510, 2648, 1161, 1165, 17,-32768, 1164, 5302, 15, --32768,-32768,-32768, 722, 4404,-32768, 1030, 6438, 2648,-32768, - 416,-32768, 416, 1166,-32768, 2648, 2648,-32768,-32768, 1167, - 2648,-32768,-32768,-32768, 1169, 4430, 1170, 1171, 1173, 2648, - 2648, 921, 1174, 1175, 1176, 1177, 1179, 1197,-32768, 2611, - 3025, 6333, 3328, 856, 3338, 416, 1200, 416, 1202, 416, - 1203, 1204, 1205, 1206, 1207, 303, 1070, 6354, 3086, 522, --32768, 2648, 1803,-32768,-32768, 1803, 3356, 550, 6375, 1209, - 1213, 1487, 1593, 1666,-32768, 76, 6438, 2648, 2648, 1803, - 1075, 790, 6438, 1224, 1225, 1228, 1624,-32768, 1222, 1230, --32768, 1088,-32768, 1231, 2648,-32768, 3282, 46, 61,-32768, - 3412, 3440,-32768, 3468, 1236, 2648,-32768,-32768,-32768, 1644, - 1776, 1259,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 1903, - 1260, 1090,-32768, 2648,-32768, 1123, 41, 556,-32768, 1125, - 594,-32768, 1126, 624,-32768, 1129,-32768,-32768,-32768,-32768, - 1261, 1803, 1266, 1157, 2648, 3496, 1262, 1199, 2648,-32768, - 2648,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 1284,-32768, - 2648, 4456, 4482,-32768, 1803, 2648, 1286, 1162,-32768,-32768, --32768, 15,-32768, 1210,-32768, 4508, 1294,-32768,-32768, 1300, - 1301, 1302, 1304, 4534,-32768,-32768,-32768,-32768,-32768, 856, - 3384,-32768, 204, 2288, 41, 2288, 41, 2288, 41,-32768, - 794, 1803,-32768, 3524,-32768,-32768, 2648, 3552, 3580,-32768, - 1168, 6438, 2648, 2648, 802, 6438,-32768,-32768, 1305,-32768, - 2648,-32768,-32768,-32768,-32768,-32768, 1307, 1183, 2648,-32768, --32768, 3608, 637, 249, 3636, 693, 290, 3664, 695, 295, - 1803, 1308, 1269, 3015, 1186, 2243,-32768,-32768, 2648, 6396, - 4560, 25,-32768, 4586, 1188,-32768, 3692, 1328, 2648, 1329, - 1330, 2648, 1331, 1332, 2648, 1333, 1215,-32768, 2648,-32768, - 41,-32768,-32768, 806,-32768, 2648,-32768, 1803, 2648, 1351, --32768,-32768, 1214, 3720,-32768,-32768, 1219, 3748,-32768,-32768, - 1220, 3776,-32768, 1362, 2266, 333, 3081, 1363, 1226, 6417, - 807, 3804, 1232, 41, 1364, 41, 1367, 41, 1371,-32768, --32768,-32768,-32768, 41,-32768, 722,-32768, 1233, 1373, 1379, - 367,-32768, 1238, 380,-32768, 1240, 393,-32768, 1241, 417, - 810,-32768, 1245, 1803,-32768, 1267, 1385, 41, 1408, 41, - 1409, 41,-32768, 722, 1410, 722, 811, 1411,-32768, 426, --32768, 440,-32768, 453,-32768,-32768, 839,-32768, 1412,-32768, - 1413, 1414, 1430, 722, 1431,-32768,-32768,-32768,-32768,-32768, --32768, 1438, 1439,-32768 +#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +/* YYTNAME[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", "tIntersect", "tBoundary", "tAttractor", "tLayers", + "tHole", "tAlias", "tAliasWithOptions", "tText2D", "tText3D", + "tInterpolationScheme", "tTime", "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", + "NumericAffectation", "NumericIncrement", "Affectation", "PhysicalId", + "Shape", "Transform", "MultipleShape", "ListOfShapes", "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 yypgoto[] = {-32768, --32768,-32768, 649,-32768,-32768,-32768,-32768, 300,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -277, 2,-32768, 73, 1448, 0, -181, -168,-32768,-32768, --32768,-32768,-32768, 1449,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -629, -626, --32768,-32768,-32768, -1,-32768, 36,-32768, -1051, 400, 130, - -63, -635, 559,-32768, -60, 3 +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const yytype_uint16 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, 373, 63, + 374, 375, 376, 377, 60, 62, 378, 379, 43, 45, + 42, 47, 37, 33, 380, 381, 382, 94, 40, 41, + 91, 93, 46, 35, 44, 123, 125, 126 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const yytype_uint8 yyr1[] = +{ + 0, 148, 149, 149, 150, 150, 151, 151, 151, 151, + 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, + 152, 152, 153, 153, 153, 153, 154, 154, 154, 155, + 155, 155, 155, 155, 155, 156, 156, 157, 157, 159, + 160, 158, 161, 161, 163, 162, 164, 164, 166, 165, + 167, 167, 169, 168, 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, 174, + 175, 175, 175, 175, 175, 175, 175, 176, 176, 177, + 177, 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, 210, 210, 210, 210, 211, 211, 211, 211, 212, + 212, 213, 213, 214, 214, 215, 215, 215, 215, 215, + 215, 215, 215, 215 }; +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const yytype_uint8 yyr2[] = +{ + 0, 2, 1, 2, 0, 2, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 5, 7, 7, 9, 6, 6, 6, 0, + 2, 2, 2, 2, 2, 1, 3, 1, 3, 0, + 0, 10, 1, 3, 0, 13, 1, 3, 0, 15, + 8, 14, 0, 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, 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, 4, 9, 4, 1, 1, 0, + 2, 6, 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, 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 +}; -#define YYLAST 6575 - - -static const short yytable[] = { 215, - 461, 66, 128, 661, 374, 127, 130, 583, 141, 362, - 182, 903, 207, 1115, 372, 209, 210, 456, 195, 146, - 656, 786, 216, 209, 210, 278, 369, 132, 370, 134, - 1177, 141, 906, 151, 910, 350, 351, 720, 198, 912, - 777, 483, 396, 721, 722, 398, 484, 104, 105, 106, - 107, 1078, 352, 108, 638, 104, 105, 106, 107, 639, - 146, 108, 174, 137, 170, 172, 1079, 179, 120, 121, - 138, 551, 552, 350, 351, 142, 750, 350, 351, 318, - 3, 222, 143, 322, 911, 584, 585, 586, 587, 913, - 353, 131, 137, 147, 364, 149, 845, 847, 142, 716, - 133, 175, 719, 720, 176, 717, 136, 177, 208, 721, - 722, 844, 720, 279, 280, 271, 272, 273, 721, 722, - 274, 277, 152, 662, 282, 457, 1201, 792, 778, 779, - 302, 662, 493, 304, 718, 305, 311, 314, 315, 888, - 317, 311, 319, 320, 493, 311, 323, 324, 898, 588, - 332, 183, 120, 121, 350, 351, 211, 150, 217, 196, - 218, 657, 371, 139, 214, 219, 348, 349, 135, 1178, - 533, 534, 199, 350, 351, 187, 349, 961, 188, 365, - 140, 650, 1247, 350, 351, 365, 166, 167, 350, 351, - 381, 382, 383, 153, 385, 549, 168, 388, 389, 946, - 345, 947, 347, 178, 449, 450, 451, 452, 354, 296, - 297, 298, 458, 363, 1060, 401, 299, 568, 144, 1061, - 845, 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, 509, 993, 145, 223, 312, 224, 209, - 210, 648, 312, 148, 311, 720, 312, 149, 225, 462, - 226, 721, 722, 467, 468, 469, 470, 471, 472, 473, - 474, 475, 476, 477, 478, 479, 480, 481, 154, 350, - 351, 104, 105, 106, 107, 155, 489, 108, 159, 556, - 491, 164, 350, 351, 497, 948, 181, 949, 156, 502, - 720, 157, 165, 158, 489, 311, 721, 722, 950, 512, - 951, 514, 515, 516, 173, 518, 519, 520, 522, 522, - 522, 522, 523, 523, 523, 523, 350, 351, 227, 1131, - 228, 365, 365, 536, 537, 538, 539, 271, 272, 540, - 180, 720, 528, 120, 121, 648, 720, 721, 722, 554, - 184, 311, 721, 722, 930, 931, 561, 562, 186, 113, - 114, 115, 116, 939, 940, 531, 532, 185, 572, 573, - 574, 575, 189, 576, 1160, 347, 192, 1093, 579, 120, - 121, 582, 190, 581, 720, 312, 229, 750, 230, 193, - 721, 722, 460, 524, 525, 526, 231, 233, 232, 234, - 664, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 510, 297, 298, 1163, 1119, 490, 720, 299, - 1166, 120, 121, 688, 721, 722, 191, 454, 1041, 218, - 202, 720, 644, 194, 219, 490, 312, 721, 722, 653, - 651, 235, 652, 236, 720, 1134, 845, 1137, 200, 1140, - 721, 722, 201, 113, 114, 115, 116, 237, 1212, 238, - 350, 351, 311, 665, 203, 644, 669, 204, 720, 670, - 671, 673, 120, 121, 721, 722, 535, 720, 891, 893, - 649, 205, 312, 721, 722, 311, 206, 845, 671, 691, - 845, 720, 1237, 845, 210, 697, 221, 721, 722, 752, - 113, 114, 115, 116, 720, 1239, 281, 707, 708, 265, - 721, 722, 266, 711, 892, 267, 350, 351, 1241, 120, - 121, 1196, 268, 166, 167, 104, 105, 106, 107, 329, - 728, 108, 548, 168, 283, 336, 731, 1051, 448, 210, - 169, 269, 1243, 706, 239, 740, 240, 742, 743, 845, - 300, 1261, 350, 351, 1221, 770, 1224, 301, 1227, 771, - 368, 751, 303, 725, 1230, 1262, 376, 377, 829, 316, - 104, 105, 106, 107, 845, 321, 108, 845, 1263, 241, - 845, 242, 791, 845, 795, 243, 331, 244, 1250, 245, - 1252, 246, 1254, 312, 760, 761, 247, 333, 248, 350, - 351, 672, 674, 845, 334, 845, 812, 845, 762, 763, - 764, 765, 766, 767, 768, 846, 312, 311, 249, 672, - 250, 772, 113, 114, 115, 116, 335, 344, 780, 350, - 351, 337, 837, 838, 839, 840, 338, 251, 789, 252, - 355, 120, 121, 339, 945, 1045, 311, 340, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 341, 350, 351, 342, 299, 862, 311, 294, - 295, 296, 297, 298, 343, 1052, 5, 6, 299, 1094, - 378, 794, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 311, 311, 311, 311, 299, 356, - 357, 350, 351, 358, 506, 209, 210, 541, 11, 12, - 542, 14, 15, 543, 17, 544, 19, 1096, 20, 160, - 22, 23, 161, 25, 26, 162, 373, 163, 834, 835, - 836, 350, 351, 873, 874, 379, 380, 104, 105, 106, - 107, 39, 1026, 108, 350, 351, 384, 1098, 312, 120, - 121, 43, 44, 45, 751, 487, 386, 218, 894, 253, - 1159, 254, 219, 899, 387, 52, 53, 54, 255, 55, - 256, 905, 545, 390, 257, 908, 258, 312, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 259, 926, 260, 261, 299, 262, 863, 312, - 350, 351, 350, 351, 263, 394, 264, 941, 942, 943, - 555, 493, 493, 494, 499, 493, 1162, 503, 1165, 391, - 956, 958, 392, 994, 959, 312, 312, 312, 312, 819, - 636, 493, 637, 647, 393, 645, 646, 395, 967, 968, - 969, 493, 397, 689, 972, 973, 493, 803, 730, 804, - 977, 975, 493, 399, 811, 983, 900, 493, 901, 907, - 400, 960, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 987, 284, 402, 986, 299, 493, 493, 924, 952, - 493, 493, 953, 954, 820, 403, 405, 997, 1128, 453, - 493, 466, 955, 299, 1001, 1002, 980, 463, 981, 1004, - 28, 29, 30, 31, 1012, 33, 1013, 465, 1010, 1011, - 37, 38, 464, 1066, 1144, 1067, 488, 1141, 1020, 1142, - 511, 517, 1021, 365, 550, 980, 998, 1152, 999, 1066, - 980, 1198, 1218, 1244, 980, 1245, 1259, 553, 732, 733, - 1046, 527, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 1062, 1063, 557, 558, - 299, 1028, 1264, 1031, 1265, 1034, 559, 560, 566, 569, - 640, 641, 642, 1076, 643, 654, 655, 666, 659, 701, - 676, 675, 677, 1197, 1084, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 679, - 681, 680, 1091, 299, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 682, 684, - 685, 686, 299, 1104, 687, 705, 693, 1108, 702, 1109, - 703, 704, 208, 709, 710, 736, 737, 738, 739, 1112, - 755, 756, 757, 759, 1116, 769, 774, 785, 775, 776, - 781, 782, 788, 482, 790, 799, 800, 784, 802, 798, - 805, 806, 801, 807, 809, 810, 808, 814, 815, 365, - 816, 817, 1132, 818, 1135, 821, 1138, 822, 823, 824, - 825, 826, 827, 828, 833, 1146, 841, 842, 843, 849, - 852, 1150, 1151, 853, 854, 855, 859, 850, 864, 1154, - 865, 866, 867, 868, 869, 870, 871, 1157, 877, 1133, - 887, 1136, 872, 1139, 896, 856, 857, 858, 889, 895, - 902, 909, 915, 916, 918, 917, 919, 983, 921, 922, - 923, 925, 944, 962, 963, 1232, 964, 1184, 965, 971, - 1188, 783, 966, 1192, 974, 984, 988, 1195, 989, 991, - 996, 1000, 1003, 1005, 1200, 1007, 1008, 1202, 1009, 1014, - 1015, 1016, 1017, 1255, 1018, 1258, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 914, 813, 1019, 1270, 299, 1029, 920, 1032, 1035, 1037, - 1038, 1039, 1040, 1042, 1054, 927, 928, 929, 1055, 1065, - 932, 933, 934, 935, 936, 937, 938, 1068, 1072, 1074, - 1069, 76, 306, 1070, 1090, 1073, 1075, 80, 81, 82, - 1083, 957, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 103, 970, 1087, 1089, 1100, 1106, 1092, 1095, - 1097, 307, 1102, 1099, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 1107, 1110, - 985, 1117, 299, 28, 29, 30, 31, 32, 33, 1122, - 1118, 1103, 1120, 37, 38, 1123, 1124, 1125, 848, 1126, - 1153, 1155, 1149, 1168, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 1156, 1169, - 1172, 1180, 299, 1182, 1185, 1186, 1189, 1190, 1193, 109, - 110, 111, 112, 897, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 1203, 117, 308, 1204, 299, - 1194, 119, 1047, 1206, 1208, 1048, 122, 1210, 1215, 1222, - 1216, 125, 1225, 1059, 508, 1220, 1228, 1234, 1235, 1064, - 76, 306, 1238, 1236, 1240, 1242, 80, 81, 82, 1246, - 1249, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 1248, 1251, 1253, 1256, 1260, 1266, 1267, 1268, - 307, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 1269, 1271, 1273, 1274, 299, - 904, 1101, 28, 29, 30, 31, 32, 33, 1174, 65, - 72, 0, 37, 38, 990, 0, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 325, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 109, 110, - 111, 112, 1056, 0, 0, 0, 0, 0, 0, 0, - 0, 1143, 0, 0, 0, 117, 326, 0, 0, 0, - 119, 0, 0, 0, 0, 122, 0, 0, 0, 0, - 125, 0, 327, 0, 0, 0, 0, 0, 0, 0, - 76, 306, 0, 0, 0, 0, 80, 81, 82, 0, - 1167, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 0, 0, 0, 0, 0, 0, 0, 0, - 307, 0, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 28, 29, 30, 31, 32, 33, 1057, 694, - 0, 0, 37, 38, 0, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 0, 0, 375, 0, 1071, - 0, 0, 0, 0, 0, 0, 0, 0, 109, 110, - 111, 112, 0, 0, 0, 0, 0, 0, 0, 1085, - 0, 0, 0, 0, 0, 117, 326, 0, 0, 0, - 119, 0, 0, 0, 0, 122, 0, 0, 76, 306, - 125, 1058, 327, 0, 80, 81, 82, 0, 0, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 0, 0, 0, 0, 0, 0, 0, 0, 307, 0, - 0, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 28, 29, 30, 31, 32, 33, 491, 0, 0, 0, - 37, 38, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 109, 110, 111, 112, - 299, 1086, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 117, 326, 0, 0, 0, 119, 0, - 0, 0, 0, 122, 0, 76, 306, 0, 125, 0, - 327, 80, 81, 82, 0, 0, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 0, 0, 0, - 0, 0, 0, 0, 0, 307, 0, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 492, 297, - 298, 0, 0, 0, 0, 299, 0, 28, 29, 30, - 31, 32, 33, 491, 0, 0, 0, 37, 38, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 1088, 0, - 0, 0, 299, 109, 110, 111, 112, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 117, 326, 0, 0, 0, 119, 0, 0, 0, 0, - 122, 0, 76, 306, 0, 125, 0, 327, 80, 81, - 82, 0, 0, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 0, 0, 0, 0, 0, 0, - 0, 0, 307, 0, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 510, 297, 298, 0, 0, - 0, 0, 299, 0, 28, 29, 30, 31, 32, 33, - 570, 0, 0, 0, 37, 38, 0, 0, 0, 0, - 0, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 109, 110, 111, 112, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 117, 308, 0, - 0, 0, 119, 0, 0, 0, 0, 122, 0, 76, - 306, 0, 125, 0, 507, 80, 81, 82, 0, 0, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 103, 0, 0, 0, 0, 0, 0, 0, 0, 307, - 0, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 28, 29, 30, 31, 32, 33, 76, 270, 0, - 0, 37, 38, 80, 81, 82, 0, 0, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 0, - 0, 0, 0, 0, 0, 0, 0, 109, 110, 111, - 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 117, 308, 0, 0, 0, 119, - 0, 0, 0, 0, 122, 0, 76, 270, 0, 125, - 0, 690, 80, 81, 82, 0, 0, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, - 96, 97, 98, 99, 100, 101, 102, 103, 1173, 0, - 0, 0, 0, 0, 0, 109, 110, 111, 112, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1211, 117, 118, 0, 0, 0, 119, 0, 0, - 0, 0, 122, 0, 0, 275, 0, 125, 0, 276, - 76, 270, 0, 0, 0, 0, 80, 81, 82, 0, - 0, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 0, 0, 109, 110, 111, 112, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 117, 118, 0, 0, 0, 119, 0, 0, 0, - 0, 122, 0, 0, 667, 0, 125, 660, 668, 0, - 0, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 0, 0, 0, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 109, 110, - 111, 112, 299, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 359, 360, 0, 0, 0, - 119, 0, 0, 0, 0, 361, 0, 76, 77, 78, - 125, 79, 169, 80, 81, 82, 0, 0, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 797, - 104, 105, 106, 107, 0, 0, 108, 0, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 76, 306, 0, 0, 299, 0, 80, 81, - 82, 0, 0, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 0, 0, 0, 0, 0, 0, - 0, 0, 307, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 109, 110, 111, 112, 113, - 114, 115, 116, 0, 28, 29, 30, 31, 32, 33, - 0, 0, 117, 118, 37, 38, 0, 119, 120, 121, - 0, 0, 122, 0, 123, 0, 124, 125, 0, 0, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 861, 0, 0, 0, 299, 0, - 109, 110, 111, 112, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 117, 308, 0, - 0, 0, 119, 76, 270, 210, 0, 122, 0, 80, - 81, 82, 125, 0, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 103, 0, 104, 105, 106, 107, - 76, 270, 108, 0, 0, 0, 80, 81, 82, 0, - 0, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 0, 0, 0, 0, 0, - 0, 109, 110, 111, 112, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 117, 118, - 0, 0, 0, 119, 0, 0, 0, 0, 122, 0, - 0, 0, 0, 125, 0, 0, 0, 0, 109, 110, - 111, 112, 5, 6, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 117, 118, 0, 0, 0, - 119, 0, 0, 0, 0, 122, 0, 0, 0, 0, - 125, 0, 0, 541, 11, 12, 542, 14, 15, 543, - 17, 544, 19, 0, 20, 0, 22, 23, 0, 25, - 26, 0, 0, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 39, 5, 6, - 0, 299, 0, 0, 0, 0, 0, 43, 44, 45, - 698, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 52, 53, 54, 0, 55, 0, 0, 545, 541, - 11, 12, 542, 14, 15, 543, 17, 544, 19, 0, - 20, 0, 22, 23, 0, 25, 26, 0, 0, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 39, 5, 6, 577, 299, 0, 0, - 0, 0, 0, 43, 44, 45, 699, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 52, 53, 54, - 0, 55, 0, 0, 545, 541, 11, 12, 542, 14, - 15, 543, 17, 544, 19, 0, 20, 0, 22, 23, - 0, 25, 26, 0, 0, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 39, - 5, 6, 578, 299, 0, 0, 0, 0, 0, 43, - 44, 45, 753, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 52, 53, 54, 0, 55, 0, 0, - 545, 541, 11, 12, 542, 14, 15, 543, 17, 544, - 19, 0, 20, 0, 22, 23, 0, 25, 26, 0, - 0, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 39, 5, 6, 726, 299, - 0, 0, 0, 0, 0, 43, 44, 45, 796, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, - 53, 54, 0, 55, 0, 0, 545, 541, 11, 12, - 542, 14, 15, 543, 17, 544, 19, 0, 20, 0, - 22, 23, 0, 25, 26, 0, 0, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 39, 5, 6, 741, 299, 0, 0, 0, 0, - 0, 43, 44, 45, 832, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 52, 53, 54, 0, 55, - 0, 0, 545, 541, 11, 12, 542, 14, 15, 543, - 17, 544, 19, 0, 20, 0, 22, 23, 0, 25, - 26, 0, 0, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 39, 0, 0, - 1170, 299, 0, 0, 0, 0, 0, 43, 44, 45, - 1022, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 52, 53, 54, 0, 55, 0, 0, 545, -3, - 1, 0, 0, -3, 0, 0, 0, 0, 0, 0, - 0, -3, -3, 0, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, -3, 0, 1213, 0, 0, -3, - -3, 1044, -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, -3, -3, 0, 0, -3, - -3, 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, 38, 39, 0, 0, 40, 41, 5, - 6, 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, 0, - 541, 11, 12, 542, 14, 15, 543, 17, 544, 19, - 0, 20, 0, 22, 23, 0, 25, 26, 0, 0, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 39, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 43, 44, 45, 1077, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 52, 53, - 54, 0, 55, 0, 0, 545, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 1024, 0, 1025, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 1049, - 0, 1050, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 1129, 0, 1130, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 0, 0, 1080, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 0, 0, 1081, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 0, 0, 1082, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 0, - 0, 1105, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 0, 0, 1145, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 0, 0, 1147, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 0, 0, 1148, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 0, 0, 1158, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 0, - 0, 1161, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 0, 0, 1164, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 0, 0, 1181, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 0, 0, 1205, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 0, 0, 1207, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 0, - 0, 1209, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 0, 0, 1219, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 455, 0, 0, 0, 0, 529, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 485, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 529, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 530, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 567, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 616, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 617, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 630, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 631, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 632, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 633, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 634, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 635, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 713, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 714, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 715, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 793, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 830, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 831, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 860, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 978, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 979, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 995, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 1006, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 1113, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 0, 0, 0, 1114, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 0, 0, - 0, 1121, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 0, 0, 0, 1127, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 0, 0, 0, 1176, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 0, 0, 0, 1179, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 459, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 0, 0, 580, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 595, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 0, - 0, 597, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 599, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 0, 0, 601, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 603, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 0, 0, 605, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 607, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 0, 0, 609, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 611, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 0, 0, 613, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 615, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 0, - 0, 619, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 621, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 0, 0, 623, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 625, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 0, 0, 627, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 629, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 0, 0, 712, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 729, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 0, 0, 734, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 0, 0, 735, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 0, - 0, 749, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 0, 0, 773, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 0, 0, 879, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 0, 0, - 881, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 0, 0, 883, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 0, 0, 885, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 0, 0, 886, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 0, 0, 992, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 455, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 486, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 495, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 496, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 498, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 500, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 501, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 504, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 505, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 513, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 563, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 564, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 565, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 571, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 594, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 596, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 598, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 600, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 602, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 604, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 606, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 608, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 610, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 612, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 614, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 618, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 620, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 622, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 624, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 626, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 628, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 678, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 683, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 692, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 695, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 696, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 700, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 744, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 745, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 746, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 747, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 748, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 851, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299, 0, 878, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 0, 0, 0, 0, 299, 0, 880, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 0, 0, 0, 0, 299, 0, 882, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 0, 0, 0, 0, 299, 0, 884, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 0, 0, 0, 0, 299, 0, - 890, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 0, 0, 0, 0, 299, - 0, 1023, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 0, 0, 0, 0, - 299, 0, 1043, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 0, 0, 0, - 0, 299, 0, 1053, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 0, 0, - 0, 0, 299, 0, 1175, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 0, - 0, 0, 0, 299, 0, 1217, 285, 286, 287, 288, - 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, - 0, 0, 0, 0, 299 +/* 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 yytype_uint16 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, 0, 0, + 158, 0, 163, 0, 0, 0, 0, 0, 160, 0, + 0, 0, 0, 5, 7, 6, 8, 9, 10, 11, + 12, 13, 19, 18, 14, 15, 16, 17, 287, 294, + 345, 54, 288, 289, 290, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 346, 0, 291, 292, 293, 58, 57, 56, 55, 0, + 0, 0, 60, 59, 0, 0, 0, 0, 0, 0, + 0, 225, 0, 0, 0, 0, 151, 0, 153, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 305, 0, 0, 0, 0, 0, 0, + 129, 0, 129, 0, 0, 129, 224, 0, 129, 0, + 0, 0, 0, 0, 0, 0, 0, 337, 0, 0, + 0, 0, 0, 150, 0, 0, 0, 0, 0, 159, + 0, 344, 345, 129, 0, 343, 129, 0, 0, 0, + 0, 0, 298, 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, 294, 228, 227, 229, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 66, 147, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 144, 110, 0, 0, 0, 0, 294, 0, + 0, 327, 328, 331, 332, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 316, 0, 317, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 307, 306, + 0, 0, 0, 0, 129, 129, 0, 0, 0, 0, + 0, 0, 0, 0, 173, 0, 129, 128, 0, 127, + 0, 0, 137, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 149, 0, 0, 0, 0, 0, 129, 0, + 0, 0, 0, 0, 0, 0, 161, 0, 0, 140, + 0, 141, 0, 0, 300, 0, 0, 68, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 344, 0, 0, 0, 0, 0, 0, 226, 0, 0, + 0, 0, 54, 0, 0, 0, 0, 0, 61, 0, + 243, 242, 241, 240, 236, 237, 239, 238, 231, 230, + 232, 233, 234, 235, 111, 0, 0, 0, 0, 0, + 0, 227, 322, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 81, 82, 0, 0, 0, 0, + 0, 0, 0, 309, 308, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 130, 0, + 0, 167, 124, 219, 0, 138, 0, 135, 0, 126, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 162, 0, 0, 0, 0, 0, 142, + 143, 0, 296, 302, 0, 39, 0, 0, 0, 52, + 0, 30, 31, 32, 33, 34, 245, 266, 246, 267, + 247, 268, 248, 269, 249, 270, 250, 271, 251, 272, + 252, 273, 253, 274, 265, 286, 254, 275, 0, 0, + 256, 277, 257, 278, 258, 279, 259, 280, 260, 281, + 261, 282, 0, 0, 0, 0, 0, 0, 0, 0, + 350, 0, 0, 348, 349, 0, 0, 0, 0, 0, + 54, 0, 0, 0, 0, 0, 73, 0, 0, 0, + 0, 297, 0, 22, 20, 0, 0, 0, 0, 329, + 0, 0, 324, 232, 323, 333, 334, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, + 0, 319, 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, 204, 0, 164, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 299, 0, 295, 0, 0, 0, 0, + 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 296, 64, 65, 0, 0, + 0, 0, 0, 67, 69, 71, 0, 0, 341, 0, + 77, 244, 21, 0, 0, 0, 0, 0, 326, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 320, 0, 95, 0, 0, 0, 0, + 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, + 0, 0, 0, 209, 0, 0, 174, 205, 0, 0, + 218, 136, 0, 0, 93, 94, 27, 28, 0, 0, + 0, 338, 0, 0, 0, 154, 0, 0, 0, 0, + 0, 146, 301, 145, 0, 0, 0, 0, 314, 0, + 255, 276, 262, 283, 263, 284, 264, 285, 0, 352, + 351, 347, 304, 0, 54, 0, 0, 0, 0, 62, + 0, 0, 0, 339, 23, 24, 0, 0, 83, 0, + 325, 0, 98, 0, 100, 0, 0, 96, 0, 0, + 113, 114, 0, 0, 97, 118, 321, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 148, 0, 0, 0, 0, 129, 175, 0, 186, + 0, 188, 0, 190, 0, 0, 0, 0, 316, 0, + 0, 0, 0, 168, 0, 0, 103, 104, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 303, 0, 35, + 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, + 74, 0, 0, 75, 0, 342, 0, 0, 330, 0, + 0, 0, 106, 0, 0, 115, 0, 0, 0, 216, + 108, 109, 0, 0, 0, 214, 217, 117, 84, 107, + 116, 119, 0, 0, 0, 313, 0, 312, 0, 0, + 0, 177, 0, 0, 178, 0, 0, 179, 0, 131, + 132, 133, 134, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 336, 0, 156, 155, 88, 91, 86, 87, + 89, 0, 40, 0, 0, 0, 315, 0, 0, 0, + 0, 63, 70, 72, 0, 78, 0, 25, 0, 0, + 99, 101, 0, 0, 0, 0, 0, 213, 212, 215, + 79, 80, 129, 0, 123, 0, 0, 0, 0, 0, + 0, 0, 206, 0, 0, 129, 0, 125, 85, 0, + 0, 0, 90, 0, 36, 0, 0, 0, 38, 53, + 353, 0, 340, 0, 220, 221, 222, 223, 112, 0, + 0, 0, 311, 176, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 169, 0, 0, 335, + 157, 0, 0, 0, 0, 76, 0, 0, 121, 0, + 192, 0, 0, 194, 0, 0, 196, 0, 0, 0, + 207, 0, 165, 0, 129, 105, 0, 44, 0, 50, + 0, 0, 0, 310, 180, 0, 0, 187, 181, 0, + 0, 189, 182, 0, 0, 191, 0, 0, 0, 171, + 0, 0, 0, 0, 0, 0, 0, 198, 0, 200, + 0, 202, 208, 210, 170, 166, 0, 41, 0, 48, + 0, 0, 0, 0, 183, 0, 0, 184, 0, 0, + 185, 0, 0, 0, 42, 0, 0, 152, 0, 0, + 0, 0, 0, 0, 0, 172, 0, 0, 0, 0, + 0, 193, 0, 195, 0, 197, 0, 43, 45, 0, + 46, 0, 102, 0, 0, 0, 0, 0, 51, 199, + 201, 203, 47, 49 }; -static const short yycheck[] = { 60, - 278, 2, 4, 6, 186, 4, 4, 4, 71, 178, - 4, 6, 4, 1065, 183, 4, 5, 7, 4, 71, - 4, 657, 4, 4, 5, 4, 4, 49, 6, 6, - 6, 71, 6, 49, 6, 128, 129, 72, 4, 6, - 4, 139, 211, 78, 79, 214, 144, 36, 37, 38, - 39, 6, 145, 42, 139, 36, 37, 38, 39, 144, - 71, 42, 4, 138, 29, 30, 6, 32, 134, 135, - 145, 6, 7, 128, 129, 138, 142, 128, 129, 143, - 6, 79, 145, 147, 56, 82, 83, 84, 85, 56, - 145, 13, 138, 145, 145, 138, 723, 727, 138, 145, - 138, 43, 145, 72, 46, 145, 6, 49, 100, 78, - 79, 146, 72, 92, 93, 117, 118, 119, 78, 79, - 122, 123, 138, 126, 126, 115, 1178, 139, 92, 93, - 132, 126, 144, 135, 145, 137, 138, 139, 140, 139, - 142, 143, 144, 145, 144, 147, 148, 149, 784, 146, - 152, 145, 134, 135, 128, 129, 145, 53, 140, 145, - 142, 145, 140, 138, 145, 147, 168, 169, 145, 145, - 352, 353, 138, 128, 129, 43, 178, 146, 46, 180, - 138, 459, 1234, 128, 129, 186, 128, 129, 128, 129, - 192, 193, 194, 49, 196, 364, 138, 199, 200, 144, - 165, 146, 167, 145, 265, 266, 267, 268, 173, 130, - 131, 132, 276, 178, 139, 217, 137, 386, 138, 144, - 847, 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, 264, 327, 900, 138, 138, 138, 140, 4, - 5, 7, 143, 138, 276, 72, 147, 138, 138, 278, - 140, 78, 79, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 299, 49, 128, - 129, 36, 37, 38, 39, 49, 308, 42, 51, 373, - 8, 138, 128, 129, 316, 144, 49, 146, 46, 321, - 72, 49, 145, 51, 326, 327, 78, 79, 144, 331, - 146, 333, 334, 335, 145, 337, 338, 339, 340, 341, - 342, 343, 340, 341, 342, 343, 128, 129, 138, 146, - 140, 352, 353, 355, 356, 357, 358, 359, 360, 361, - 145, 72, 144, 134, 135, 7, 72, 78, 79, 371, - 6, 373, 78, 79, 62, 63, 378, 379, 145, 115, - 116, 117, 118, 6, 7, 350, 351, 46, 390, 391, - 392, 393, 4, 395, 146, 360, 138, 1027, 400, 134, - 135, 403, 4, 402, 72, 276, 138, 142, 140, 138, - 78, 79, 7, 341, 342, 343, 138, 138, 140, 140, - 484, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 146, 1072, 308, 72, 137, - 146, 134, 135, 507, 78, 79, 4, 140, 146, 142, - 100, 72, 454, 138, 147, 326, 327, 78, 79, 461, - 459, 138, 460, 140, 72, 1095, 1093, 1097, 138, 1099, - 78, 79, 6, 115, 116, 117, 118, 138, 146, 140, - 128, 129, 484, 485, 100, 487, 488, 100, 72, 491, - 492, 493, 134, 135, 78, 79, 144, 72, 776, 777, - 142, 100, 373, 78, 79, 507, 4, 1134, 510, 511, - 1137, 72, 146, 1140, 5, 517, 145, 78, 79, 580, - 115, 116, 117, 118, 72, 146, 4, 529, 530, 138, - 78, 79, 138, 535, 7, 138, 128, 129, 146, 134, - 135, 1171, 138, 128, 129, 36, 37, 38, 39, 150, - 552, 42, 144, 138, 6, 156, 558, 8, 4, 5, - 145, 138, 146, 528, 138, 567, 140, 569, 570, 1196, - 6, 146, 128, 129, 1204, 639, 1206, 6, 1208, 640, - 181, 580, 5, 548, 1214, 146, 187, 188, 144, 138, - 36, 37, 38, 39, 1221, 138, 42, 1224, 146, 138, - 1227, 140, 663, 1230, 668, 138, 138, 140, 1238, 138, - 1240, 140, 1242, 484, 616, 617, 138, 145, 140, 128, - 129, 492, 493, 1250, 138, 1252, 690, 1254, 630, 631, - 632, 633, 634, 635, 636, 144, 507, 639, 138, 510, - 140, 643, 115, 116, 117, 118, 138, 4, 650, 128, - 129, 145, 716, 717, 718, 719, 145, 138, 660, 140, - 140, 134, 135, 138, 833, 144, 668, 138, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, 138, 128, 129, 138, 137, 8, 690, 128, - 129, 130, 131, 132, 138, 146, 12, 13, 137, 144, - 140, 666, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, 716, 717, 718, 719, 137, 145, - 145, 128, 129, 145, 325, 4, 5, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 144, 54, 43, - 56, 57, 46, 59, 60, 49, 145, 51, 713, 714, - 715, 128, 129, 755, 756, 140, 6, 36, 37, 38, - 39, 77, 944, 42, 128, 129, 142, 144, 639, 134, - 135, 87, 88, 89, 773, 140, 145, 142, 777, 138, - 144, 140, 147, 785, 95, 101, 102, 103, 138, 105, - 140, 793, 108, 138, 138, 797, 140, 668, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, 138, 815, 140, 138, 137, 140, 139, 690, - 128, 129, 128, 129, 138, 6, 140, 829, 830, 831, - 146, 144, 144, 146, 146, 144, 144, 146, 144, 138, - 842, 843, 138, 904, 846, 716, 717, 718, 719, 6, - 140, 144, 142, 146, 138, 456, 457, 138, 860, 861, - 862, 144, 6, 146, 866, 867, 144, 49, 146, 51, - 872, 870, 144, 6, 146, 877, 144, 144, 146, 146, - 140, 846, 124, 125, 126, 127, 128, 129, 130, 131, - 132, 893, 6, 4, 892, 137, 144, 144, 146, 146, - 144, 144, 146, 146, 61, 145, 6, 909, 1090, 5, - 144, 6, 146, 137, 916, 917, 144, 142, 146, 921, - 65, 66, 67, 68, 4, 70, 6, 140, 930, 931, - 75, 76, 7, 144, 1103, 146, 145, 144, 940, 146, - 7, 7, 940, 944, 146, 144, 911, 146, 913, 144, - 144, 146, 146, 144, 144, 146, 146, 6, 559, 560, - 962, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, 978, 979, 146, 138, - 137, 946, 144, 948, 146, 950, 7, 7, 92, 145, - 144, 139, 139, 995, 144, 6, 4, 7, 141, 139, - 7, 95, 7, 1172, 1006, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 7, - 7, 95, 1024, 137, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, 7, 95, - 7, 7, 137, 1045, 6, 142, 7, 1049, 139, 1051, - 139, 139, 100, 146, 146, 7, 7, 7, 142, 1061, - 138, 138, 145, 6, 1066, 4, 6, 140, 6, 141, - 6, 6, 6, 6, 126, 676, 677, 7, 679, 49, - 681, 682, 7, 7, 685, 686, 51, 7, 145, 1090, - 7, 7, 1094, 7, 1096, 7, 1098, 7, 7, 7, - 7, 7, 7, 4, 145, 1107, 6, 145, 138, 6, - 6, 1113, 1114, 6, 6, 6, 4, 49, 7, 1121, - 7, 7, 7, 7, 6, 4, 6, 1129, 145, 1094, - 139, 1096, 138, 1098, 7, 736, 737, 738, 139, 142, - 6, 145, 6, 145, 6, 145, 6, 1149, 145, 6, - 6, 5, 145, 145, 7, 1216, 6, 1159, 6, 5, - 1162, 6, 91, 1165, 5, 142, 6, 1169, 4, 6, - 141, 6, 6, 5, 1176, 6, 6, 1179, 6, 6, - 6, 6, 6, 1244, 6, 1246, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - 801, 6, 6, 1264, 137, 6, 807, 6, 6, 6, - 6, 6, 6, 144, 6, 816, 817, 818, 6, 145, - 821, 822, 823, 824, 825, 826, 827, 4, 7, 142, - 6, 3, 4, 6, 145, 6, 6, 9, 10, 11, - 5, 842, 14, 15, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 864, 6, 6, 6, 6, 146, 145, - 145, 43, 7, 145, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, 90, 6, - 891, 6, 137, 65, 66, 67, 68, 69, 70, 6, - 139, 145, 93, 75, 76, 6, 6, 6, 6, 6, - 6, 5, 145, 6, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, 146, 61, - 145, 144, 137, 6, 6, 6, 6, 6, 6, 111, - 112, 113, 114, 6, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 5, 128, 129, 145, 137, - 146, 133, 963, 145, 145, 966, 138, 6, 6, 6, - 145, 143, 6, 974, 146, 144, 6, 145, 6, 980, - 3, 4, 145, 5, 145, 145, 9, 10, 11, 145, - 6, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 146, 6, 6, 6, 6, 6, 6, 6, - 43, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 6, 6, 0, 0, 137, - 792, 1042, 65, 66, 67, 68, 69, 70, 1149, 2, - 2, -1, 75, 76, 896, -1, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, 100, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 111, 112, - 113, 114, 6, -1, -1, -1, -1, -1, -1, -1, - -1, 1102, -1, -1, -1, 128, 129, -1, -1, -1, - 133, -1, -1, -1, -1, 138, -1, -1, -1, -1, - 143, -1, 145, -1, -1, -1, -1, -1, -1, -1, - 3, 4, -1, -1, -1, -1, 9, 10, 11, -1, - 1141, 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, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 65, 66, 67, 68, 69, 70, 6, 146, - -1, -1, 75, 76, -1, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, -1, -1, 100, -1, 6, - -1, -1, -1, -1, -1, -1, -1, -1, 111, 112, - 113, 114, -1, -1, -1, -1, -1, -1, -1, 6, - -1, -1, -1, -1, -1, 128, 129, -1, -1, -1, - 133, -1, -1, -1, -1, 138, -1, -1, 3, 4, - 143, 6, 145, -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, -1, - -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - 65, 66, 67, 68, 69, 70, 8, -1, -1, -1, - 75, 76, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, 111, 112, 113, 114, - 137, 6, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 128, 129, -1, -1, -1, 133, -1, - -1, -1, -1, 138, -1, 3, 4, -1, 143, -1, - 145, 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, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 65, 66, 67, - 68, 69, 70, 8, -1, -1, -1, 75, 76, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, 6, -1, - -1, -1, 137, 111, 112, 113, 114, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 128, 129, -1, -1, -1, 133, -1, -1, -1, -1, - 138, -1, 3, 4, -1, 143, -1, 145, 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, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 65, 66, 67, 68, 69, 70, - 8, -1, -1, -1, 75, 76, -1, -1, -1, -1, - -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 111, 112, 113, 114, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 128, 129, -1, - -1, -1, 133, -1, -1, -1, -1, 138, -1, 3, - 4, -1, 143, -1, 145, 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, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 65, 66, 67, 68, 69, 70, 3, 4, -1, - -1, 75, 76, 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, 111, 112, 113, - 114, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 128, 129, -1, -1, -1, 133, - -1, -1, -1, -1, 138, -1, 3, 4, -1, 143, - -1, 145, 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, -1, -1, -1, 111, 112, 113, 114, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 6, 128, 129, -1, -1, -1, 133, -1, -1, - -1, -1, 138, -1, -1, 141, -1, 143, -1, 145, - 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, 111, 112, 113, 114, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 128, 129, -1, -1, -1, 133, -1, -1, -1, - -1, 138, -1, -1, 141, -1, 143, 8, 145, -1, - -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, -1, -1, -1, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, 111, 112, - 113, 114, 137, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 128, 129, -1, -1, -1, - 133, -1, -1, -1, -1, 138, -1, 3, 4, 5, - 143, 7, 145, 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, 8, - 36, 37, 38, 39, -1, -1, 42, -1, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, 3, 4, -1, -1, 137, -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, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 111, 112, 113, 114, 115, - 116, 117, 118, -1, 65, 66, 67, 68, 69, 70, - -1, -1, 128, 129, 75, 76, -1, 133, 134, 135, - -1, -1, 138, -1, 140, -1, 142, 143, -1, -1, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, 8, -1, -1, -1, 137, -1, - 111, 112, 113, 114, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 128, 129, -1, - -1, -1, 133, 3, 4, 5, -1, 138, -1, 9, - 10, 11, 143, -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, - 3, 4, 42, -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, - -1, -1, -1, -1, -1, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, - -1, 111, 112, 113, 114, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 128, 129, - -1, -1, -1, 133, -1, -1, -1, -1, 138, -1, - -1, -1, -1, 143, -1, -1, -1, -1, 111, 112, - 113, 114, 12, 13, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 128, 129, -1, -1, -1, - 133, -1, -1, -1, -1, 138, -1, -1, -1, -1, - 143, -1, -1, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, -1, 54, -1, 56, 57, -1, 59, - 60, -1, -1, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, 77, 12, 13, - -1, 137, -1, -1, -1, -1, -1, 87, 88, 89, - 146, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 101, 102, 103, -1, 105, -1, -1, 108, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, -1, - 54, -1, 56, 57, -1, 59, 60, -1, -1, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, 77, 12, 13, 146, 137, -1, -1, - -1, -1, -1, 87, 88, 89, 146, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, - -1, 105, -1, -1, 108, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, -1, 54, -1, 56, 57, - -1, 59, 60, -1, -1, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 77, - 12, 13, 146, 137, -1, -1, -1, -1, -1, 87, - 88, 89, 146, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 101, 102, 103, -1, 105, -1, -1, - 108, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, -1, 54, -1, 56, 57, -1, 59, 60, -1, - -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 77, 12, 13, 146, 137, - -1, -1, -1, -1, -1, 87, 88, 89, 146, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 101, - 102, 103, -1, 105, -1, -1, 108, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, - 56, 57, -1, 59, 60, -1, -1, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, 77, 12, 13, 146, 137, -1, -1, -1, -1, - -1, 87, 88, 89, 146, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 101, 102, 103, -1, 105, - -1, -1, 108, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, -1, 54, -1, 56, 57, -1, 59, - 60, -1, -1, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, 77, -1, -1, - 146, 137, -1, -1, -1, -1, -1, 87, 88, 89, - 146, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 101, 102, 103, -1, 105, -1, -1, 108, 0, - 1, -1, -1, 4, -1, -1, -1, -1, -1, -1, - -1, 12, 13, -1, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 35, -1, 146, -1, -1, 40, - 41, 146, 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, 76, 77, -1, -1, 80, - 81, 4, -1, -1, -1, 86, 87, 88, 89, 12, - 13, 92, -1, 94, -1, 96, 97, 98, 99, -1, - 101, 102, 103, -1, 105, 106, 107, 108, 109, 110, - -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, 76, 77, -1, -1, 80, 81, 12, - 13, -1, -1, 86, 87, 88, 89, -1, -1, 92, - -1, 94, -1, 96, 97, 98, 99, -1, 101, 102, - 103, -1, 105, 106, 107, 108, 109, 110, -1, -1, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - -1, 54, -1, 56, 57, -1, 59, 60, -1, -1, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, 77, -1, -1, -1, 137, -1, - -1, -1, -1, -1, 87, 88, 89, 146, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, - 103, -1, 105, -1, -1, 108, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, -1, 146, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - -1, 146, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, -1, 146, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, -1, -1, 146, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, -1, -1, 146, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, -1, -1, 146, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, - -1, 146, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, -1, -1, 146, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, -1, -1, 146, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, -1, -1, 146, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, -1, -1, 146, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, - -1, 146, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, -1, -1, 146, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, -1, -1, 146, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, -1, -1, 146, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, -1, -1, 146, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, - -1, 146, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, -1, -1, 146, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, -1, -1, -1, 144, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, - -1, 144, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, -1, -1, -1, 144, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - -1, -1, -1, 144, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, -1, -1, -1, 144, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, - -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, - -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, - -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, - 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, - 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, - 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, - 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, - -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, - 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, - -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, - -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, - -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, - -1, -1, -1, -1, 137 +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = +{ + -1, 2, 3, 63, 665, 64, 65, 406, 978, 984, + 591, 756, 1113, 1233, 592, 1201, 1259, 593, 1235, 594, + 595, 760, 128, 222, 66, 523, 548, 311, 368, 369, + 69, 70, 71, 72, 73, 312, 729, 1173, 1216, 549, + 1029, 1032, 1035, 1038, 1185, 1189, 1193, 1225, 1228, 1231, + 725, 726, 75, 76, 77, 330, 131, 348, 173, 877, + 878, 332, 315, 199, 660, 789, 214, 215 }; -/* -*-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. +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -1058 +static const yytype_int16 yypact[] = +{ + 3256, 28, 52, 3334, -1058, -1058, 2425, 48, 25, -47, + 10, 89, -96, -33, -24, 126, 35, 73, -41, 79, + 132, 110, -8, 133, 229, 257, 368, 267, 725, 193, + 198, -65, -65, 206, 172, 220, 344, 13, 391, 357, + 271, 81, 435, 438, 450, 282, 331, 342, 15, 7, + -1058, 347, -1058, 483, 401, 404, 407, 417, -1058, 518, + 8, 9, 20, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, 17, + 382, 516, -1058, -1058, -1058, -68, -55, 64, 141, 233, + 385, 392, 408, 425, 468, 472, 520, 567, 593, 626, + 648, 649, 655, 675, 678, 683, 399, 402, 422, 436, + -1058, 445, -1058, -1058, -1058, -1058, -1058, -1058, -1058, 2648, + 2648, 2648, -1058, -1058, 2648, 2145, 19, 532, 2648, 539, + 470, -1058, 572, 611, 2648, 615, -1058, 2648, -1058, 2648, + 2480, 2648, 2648, 498, 2648, 2480, 2648, 2648, 501, 2480, + 2648, 2648, 1378, 524, 2648, 521, 547, 548, 1803, 533, + 564, 576, 583, 586, 594, 632, 716, -65, -65, -65, + 2648, 2648, -36, -1058, 476, -65, 612, 628, 633, 652, + 2288, 499, 715, 1803, 22, -1058, -1058, 694, 715, 1528, + 1803, 637, 654, 820, 2648, 2648, 2648, 698, 2648, 710, + 748, 2648, 2648, -1058, 720, 736, 743, 756, 857, -1058, + 757, -1058, -1058, -1058, 897, -1058, -1058, 900, 770, 2648, + 903, 769, -1058, -1058, 912, 2648, 2648, 2648, 2648, 2648, + 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, + 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, + 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, + 2648, 2648, 2648, 2648, 2648, 2648, 2648, 534, 614, 614, + 614, 920, 587, 799, 799, 799, 5335, 11, 2480, 4622, + 265, 796, 933, 801, 887, -1058, -1058, 2648, 2648, 2648, + 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 2648, + 2648, 2648, -1058, -1058, 906, -84, 3868, 5356, 625, 797, + 2480, -1058, -1058, 1729, -1058, 537, 5377, 5398, 2648, 5419, + 681, 5440, 5461, 2648, 687, 5482, 5503, 1803, 1940, 1229, + 1866, 936, -1058, 2648, 5524, 2648, 2648, 2648, 939, 2648, + 2648, 2648, 2611, 2611, 2611, 2611, 809, -29, -1058, -1058, + 3894, 3920, -65, -65, 715, 715, 180, 2648, 2648, 2648, + 2648, 2288, 2288, 2648, 3404, 235, -1058, -1058, 804, 3404, + 260, 945, -1058, 2648, 2751, 2480, 806, 815, 947, 948, + 2648, 2648, -1058, 5545, 5566, 5587, 864, 3946, -1058, 812, + 2003, 5608, 2648, 2648, 2648, 2648, -1058, 2648, 2817, -1058, + 2883, -1058, 2648, 4645, 240, 2648, 4, -1058, 5629, 4668, + 5650, 4691, 5671, 4714, 5692, 4737, 5713, 4760, 5734, 4783, + 5755, 4806, 5776, 4829, 5797, 4852, 5818, 4875, 5839, 4898, + 3972, 3998, 5860, 4921, 5881, 4944, 5902, 4967, 5923, 4990, + 5944, 5013, 5965, 5036, 4024, 4050, 4076, 4102, 4128, 4154, + 682, -4, 814, 823, 840, 836, 2648, -1058, 1803, 1803, + 688, 187, 516, 2648, 977, 981, 16, 846, -1058, 2350, + 569, 1223, 759, 759, 545, 545, 545, 545, 182, 182, + 799, 799, 799, 799, -1058, 31, 2480, 2648, 982, 2214, + 2648, 799, -1058, 2648, 2480, 2480, 893, 983, 984, 5986, + 985, 902, 986, 988, 6007, 904, 991, 993, 995, 2480, + -1058, 691, 2077, 2648, 6028, 996, 1454, 6049, 6070, 2648, + 2695, 2761, 6091, 863, 6448, -1058, 865, 881, 882, 880, + -65, 2648, 2648, -1058, -1058, 894, 895, 2648, 5059, 4180, + 4206, 4232, 3842, -44, 317, -35, -32, 942, -1058, 106, + -65, 2949, -1058, -1058, 2648, -1058, 5082, -1058, 692, -1058, + 2648, 1803, 1803, 5105, 5128, 1032, 1038, 1039, 905, 2648, + 3015, 2648, 2648, -1058, 6112, 6133, 6154, 6175, 6196, -1058, + -1058, 5151, 39, -1058, 2827, -1058, 911, 913, 907, -1058, + 1047, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, 2648, 2648, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, 2648, 2648, 2648, 2648, 2648, 2648, 2648, 1050, + -1058, 2480, 614, -1058, -1058, 2648, 5174, 1049, 1051, 915, + -1058, 27, 2648, 1052, 1053, 1068, -1058, 1054, 922, 15, + 1057, -1058, 2648, -1058, 941, 614, 130, 4258, -65, -1058, + 2480, 2893, 2452, 799, -1058, 1729, -1058, 1015, 1803, 1803, + 1060, 1803, 802, 1803, 1803, 1061, 1018, 1803, 1803, -1058, + 708, -1058, 2480, 1156, 1063, 926, 1065, 1066, 1071, 844, + 1073, 1076, 1077, 1080, 1081, 1082, 1084, 1088, 517, 4284, + 4310, -1058, -1058, 2959, 930, -65, -65, -65, 2480, 2480, + 2480, 2480, 1090, 949, 960, -39, -1058, 519, -1058, 106, + 1196, 1093, 1055, 6217, 1094, 1095, 1096, 1097, 1803, 1803, + 1803, 1101, 4336, -1058, 2577, 680, 1100, 1102, 1103, 1104, + 1107, 1109, 1112, -1058, 1111, -1058, 970, 2648, 2648, 1803, + 973, -1058, 6238, 5197, 6259, 5220, 6280, 5243, 6301, 5266, + 5289, 980, 205, 987, 6322, 336, -1058, -1058, 292, 328, + 979, 1115, 1303, -1058, -1058, -1058, 15, 2648, -1058, 718, + -1058, 6448, -1058, 1117, 44, 2648, 61, 723, -1058, 2648, + 990, 23, 26, 1803, 1118, 994, 997, 1119, 1121, 1803, + 998, 1123, 1125, -1058, 724, -1058, 1128, 2648, 1803, 1803, + 1803, -1058, 322, 1803, 1803, 1803, 1803, 1803, 1803, 1803, + 444, 2648, 2648, 2648, 999, -1058, -75, 415, 497, 729, + 733, 734, 754, -1058, 1803, 2648, -1058, -1058, 2288, 24, + -1058, -1058, 1000, 1133, -1058, -1058, -1058, -1058, 1135, 1140, + 1056, -1058, 2648, 2648, 2648, -1058, 1803, 1144, 2648, 2648, + 1145, -1058, 240, -1058, 2648, 4362, 4388, 755, -1058, 2648, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, 1009, -1058, + -1058, -1058, -1058, 1803, 516, 2648, 1146, 1149, 16, -1058, + 1148, 5312, 15, -1058, -1058, -1058, 614, 4414, -1058, 1014, + 6448, 2648, -1058, -65, -1058, -65, 1151, -1058, 2648, 2648, + -1058, -1058, 1153, 2648, -1058, -1058, -1058, 1155, 4440, 1157, + 1159, 1160, 2648, 2648, 898, 1161, 1163, 1164, 1165, 1166, + 1167, -1058, 2611, 3025, 6343, 2266, 715, 3404, -65, 1168, + -65, 1170, -65, 1171, 1173, 1174, 1175, 1176, 303, 1041, + 6364, 3091, 526, -1058, 2648, 1803, -1058, -1058, 1803, 3394, + 616, 6385, 1177, 1197, 1338, 1487, 1666, -1058, 222, 6448, + 2648, 2648, 1803, 1064, 767, 6448, 1202, 1204, 1205, 1593, + -1058, 1201, 1206, -1058, 1072, -1058, 1207, 2648, -1058, 3152, + 84, 91, -1058, 3348, 3450, -1058, 3478, 1210, 2648, -1058, + -1058, -1058, 1624, 1644, 1213, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, 1776, 1214, 1083, -1058, 2648, -1058, 1085, 106, + 536, -1058, 1089, 540, -1058, 1091, 543, -1058, 1092, -1058, + -1058, -1058, -1058, 1224, 1803, 1222, 1120, 2648, 3506, 1235, + 1178, 2648, -1058, 2648, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, 1260, -1058, 2648, 4466, 4492, -1058, 1803, 2648, 1261, + 1130, -1058, -1058, -1058, 15, -1058, 1142, -1058, 4518, 1264, + -1058, -1058, 1265, 1267, 1268, 1283, 4544, -1058, -1058, -1058, + -1058, -1058, 715, 3422, -1058, 54, 2288, 106, 2288, 106, + 2288, 106, -1058, 773, 1803, -1058, 3534, -1058, -1058, 2648, + 3562, 3590, -1058, 1147, 6448, 2648, 2648, 777, 6448, -1058, + -1058, 1284, -1058, 2648, -1058, -1058, -1058, -1058, -1058, 1295, + 1162, 2648, -1058, -1058, 3618, 575, 204, 3646, 582, 249, + 3674, 584, 290, 1803, 1296, 1240, 3081, 1158, 1903, -1058, + -1058, 2648, 6406, 4570, 21, -1058, 4596, 1169, -1058, 3702, + 1300, 2648, 1301, 1304, 2648, 1305, 1306, 2648, 1308, 1183, + -1058, 2648, -1058, 106, -1058, -1058, 778, -1058, 2648, -1058, + 1803, 2648, 1325, -1058, -1058, 1186, 3730, -1058, -1058, 1187, + 3758, -1058, -1058, 1189, 3786, -1058, 1329, 2243, 333, 3147, + 1330, 1192, 6427, 782, 3814, 1194, 106, 1333, 106, 1350, + 106, 1353, -1058, -1058, -1058, -1058, 106, -1058, 614, -1058, + 1216, 1358, 1360, 369, -1058, 1225, 380, -1058, 1226, 395, + -1058, 1228, 403, 787, -1058, 1231, 1803, -1058, 1232, 1362, + 106, 1363, 106, 1371, 106, -1058, 614, 1373, 614, 788, + 1377, -1058, 416, -1058, 421, -1058, 440, -1058, -1058, 791, + -1058, 1379, -1058, 1380, 1384, 1385, 614, 1407, -1058, -1058, + -1058, -1058, -1058, -1058 +}; - 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. +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -1058, -1058, -1058, -1058, 590, -1058, -1058, -1058, -1058, 263, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -1058, -1058, -265, 0, -1058, 153, 1412, -2, -183, -178, + -1058, -1058, -1058, -1058, -1058, 1413, -1058, -1058, -1058, -1058, + -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, -1058, + -631, -721, -1058, -1058, -1058, -3, -1058, 34, -1058, -1057, + 398, 128, 38, -637, 522, -1058, -62, 3 +}; - 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. +/* 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 yytype_int16 yytable[] = +{ + 217, 68, 364, 130, 847, 376, 129, 374, 585, 132, + 1117, 200, 209, 211, 212, 463, 136, 184, 458, 197, + 658, 218, 788, 280, 211, 212, 371, 1179, 372, 912, + 148, 779, 914, 722, 4, 398, 148, 663, 400, 723, + 724, 153, 139, 211, 212, 106, 107, 108, 109, 140, + 905, 110, 5, 352, 353, 485, 106, 107, 108, 109, + 486, 133, 110, 168, 169, 172, 174, 908, 181, 948, + 225, 949, 226, 170, 134, 106, 107, 108, 109, 913, + 171, 110, 915, 227, 224, 228, 586, 587, 588, 589, + 1080, 135, 352, 353, 139, 138, 722, 1081, 849, 352, + 353, 718, 723, 724, 149, 141, 151, 846, 210, 354, + 720, 281, 282, 721, 142, 530, 273, 274, 275, 780, + 781, 276, 279, 1203, 189, 284, 722, 190, 847, 459, + 154, 304, 723, 724, 306, 640, 307, 313, 316, 317, + 641, 319, 313, 321, 322, 201, 313, 325, 326, 900, + 590, 334, 122, 123, 213, 137, 664, 219, 185, 220, + 198, 659, 373, 152, 221, 216, 1180, 350, 351, 664, + 963, 535, 536, 146, 122, 123, 176, 351, 722, 1249, + 367, 752, 155, 320, 723, 724, 367, 324, 551, 352, + 353, 383, 384, 385, 650, 387, 652, 143, 390, 391, + 1133, 347, 229, 349, 230, 451, 452, 453, 454, 356, + 570, 147, 352, 353, 365, 177, 403, 150, 178, 352, + 353, 179, 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, 448, 449, 144, 995, 553, 554, 314, 794, + 151, 145, 462, 314, 495, 313, 722, 314, 156, 231, + 464, 232, 723, 724, 469, 470, 471, 472, 473, 474, + 475, 476, 477, 478, 479, 480, 481, 482, 483, 650, + 168, 169, 115, 116, 117, 118, 157, 491, 352, 353, + 170, 493, 298, 299, 300, 499, 460, 180, 161, 301, + 504, 722, 122, 123, 537, 491, 313, 723, 724, 651, + 514, 166, 516, 517, 518, 894, 520, 521, 522, 524, + 524, 524, 524, 167, 890, 525, 525, 525, 525, 495, + 1162, 175, 367, 367, 538, 539, 540, 541, 273, 274, + 542, 1062, 722, 352, 353, 182, 1063, 511, 723, 724, + 556, 233, 313, 234, 847, 122, 123, 563, 564, 550, + 115, 116, 117, 118, 932, 933, 533, 534, 143, 574, + 575, 576, 577, 183, 578, 1165, 349, 186, 1095, 581, + 122, 123, 584, 187, 583, 722, 314, 115, 116, 117, + 118, 723, 724, 558, 158, 847, 188, 159, 847, 160, + 194, 847, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 512, 299, 300, 1168, 1121, 492, 191, + 301, 722, 192, 115, 116, 117, 118, 723, 724, 1043, + 941, 942, 722, 646, 193, 144, 492, 314, 723, 724, + 655, 653, 719, 122, 123, 654, 1136, 722, 1139, 195, + 1142, 122, 123, 723, 724, 722, 286, 847, 752, 1214, + 196, 723, 724, 313, 667, 202, 646, 671, 722, 203, + 672, 673, 675, 722, 723, 724, 526, 527, 528, 723, + 724, 204, 847, 314, 205, 847, 313, 206, 847, 673, + 693, 847, 722, 893, 895, 1239, 699, 207, 723, 724, + 754, 212, 208, 235, 666, 236, 1241, 223, 709, 710, + 237, 847, 238, 847, 713, 847, 283, 267, 450, 212, + 268, 1243, 1198, 352, 353, 285, 239, 690, 240, 1245, + 331, 730, 106, 107, 108, 109, 338, 733, 110, 950, + 269, 951, 1263, 241, 708, 242, 742, 1264, 744, 745, + 106, 107, 108, 109, 270, 1223, 110, 1226, 302, 1229, + 773, 370, 753, 271, 727, 1232, 1265, 378, 379, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 793, 352, 353, 243, 301, 244, 1252, + 245, 1254, 246, 1256, 314, 762, 763, 303, 211, 212, + 305, 355, 674, 676, 1053, 352, 353, 352, 353, 764, + 765, 766, 767, 768, 769, 770, 318, 314, 313, 323, + 674, 952, 774, 953, 366, 352, 353, 352, 353, 782, + 106, 107, 108, 109, 352, 353, 110, 947, 247, 791, + 248, 831, 333, 848, 352, 353, 335, 313, 352, 353, + 1047, 352, 353, 296, 297, 298, 299, 300, 339, 772, + 1096, 495, 301, 496, 1098, 336, 337, 1100, 864, 313, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 796, 352, 353, 249, 301, 250, 797, 340, + 352, 353, 352, 353, 341, 313, 313, 313, 313, 1161, + 346, 342, 122, 123, 343, 508, 1164, 456, 1167, 220, + 814, 251, 344, 252, 221, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 836, + 837, 838, 357, 301, 875, 876, 839, 840, 841, 842, + 122, 123, 1054, 1028, 253, 489, 254, 220, 162, 314, + 345, 163, 221, 358, 164, 753, 165, 380, 359, 896, + 30, 31, 32, 33, 901, 35, 255, 257, 256, 258, + 39, 40, 907, 259, 381, 260, 910, 360, 314, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 261, 928, 262, 263, 301, 264, 865, + 314, 265, 638, 266, 639, 495, 382, 501, 943, 944, + 945, 495, 495, 505, 649, 495, 495, 691, 732, 375, + 386, 958, 960, 389, 996, 961, 314, 314, 314, 314, + 821, 805, 495, 806, 813, 388, 647, 648, 392, 969, + 970, 971, 902, 396, 903, 974, 975, 495, 495, 909, + 926, 979, 977, 495, 393, 954, 985, 495, 495, 955, + 956, 394, 962, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 989, 468, 395, 397, 301, 988, 495, 982, + 957, 983, 1014, 399, 1015, 822, 401, 404, 999, 1130, + 402, 1068, 484, 1069, 405, 1003, 1004, 1143, 407, 1144, + 1006, 982, 1068, 1154, 1200, 455, 982, 1146, 1220, 1012, + 1013, 1246, 982, 1247, 1261, 1266, 301, 1267, 465, 1022, + 466, 467, 490, 513, 367, 1023, 519, 1000, 529, 1001, + 552, 555, 559, 560, 561, 562, 568, 571, 642, 734, + 735, 1048, 643, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 1064, 1065, 644, + 645, 301, 1030, 656, 1033, 657, 1036, 661, 677, 668, + 678, 679, 681, 683, 1078, 684, 1199, 682, 687, 686, + 688, 689, 703, 695, 704, 1086, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 705, 706, 707, 1093, 301, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 738, + 711, 712, 210, 301, 1106, 739, 740, 741, 1110, 757, + 1111, 758, 759, 761, 771, 776, 778, 777, 783, 784, + 1114, 786, 787, 790, 800, 1118, 792, 803, 809, 810, + 816, 817, 818, 819, 785, 835, 801, 802, 820, 804, + 823, 807, 808, 824, 825, 811, 812, 826, 827, 828, + 367, 829, 830, 1134, 844, 1137, 843, 1140, 845, 851, + 854, 855, 856, 857, 852, 861, 1148, 866, 874, 867, + 868, 869, 1152, 1153, 870, 871, 872, 873, 879, 889, + 1156, 897, 898, 904, 917, 920, 891, 921, 1159, 924, + 1135, 925, 1138, 927, 1141, 911, 858, 859, 860, 918, + 965, 966, 919, 923, 946, 964, 967, 968, 985, 973, + 976, 986, 990, 991, 993, 998, 1234, 1002, 1186, 1005, + 1007, 1190, 815, 1009, 1194, 1010, 1011, 1016, 1197, 1017, + 1018, 1019, 1020, 1021, 1031, 1202, 1034, 1037, 1204, 1039, + 1040, 1041, 1042, 1056, 1257, 1044, 1260, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 916, 850, 1057, 1272, 301, 1070, 922, 1074, 1067, + 1071, 1072, 1075, 1077, 1076, 1085, 929, 930, 931, 1089, + 1091, 934, 935, 936, 937, 938, 939, 940, 1092, 1104, + 1102, 1094, 78, 308, 1097, 1122, 1099, 1101, 82, 83, + 84, 1108, 959, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 105, 972, 1105, 1112, 1119, 1109, 1120, + 1124, 1125, 309, 1126, 1127, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 1128, + 1155, 987, 1151, 301, 30, 31, 32, 33, 34, 35, + 1157, 1171, 1170, 1174, 39, 40, 1184, 1187, 1158, 899, + 1188, 1191, 1192, 1182, 1195, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 1196, + 1205, 1206, 1208, 301, 1210, 1212, 1217, 1218, 1222, 1224, + 111, 112, 113, 114, 1058, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 1227, 119, 310, 1230, + 301, 1236, 121, 1049, 1237, 1238, 1050, 124, 1251, 1253, + 1240, 1242, 127, 1244, 1061, 510, 1248, 1255, 1250, 1258, + 1066, 78, 308, 1262, 906, 1268, 1269, 82, 83, 84, + 1270, 1271, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 1273, 1176, 67, 74, 0, 0, 0, + 992, 309, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 1103, 30, 31, 32, 33, 34, 35, 0, + 0, 0, 0, 39, 40, 0, 0, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 327, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 111, + 112, 113, 114, 1059, 0, 0, 0, 0, 0, 0, + 0, 0, 1145, 0, 0, 0, 119, 328, 0, 0, + 0, 121, 0, 0, 0, 0, 124, 0, 0, 0, + 0, 127, 0, 329, 0, 0, 0, 0, 0, 0, + 0, 78, 308, 0, 0, 0, 0, 82, 83, 84, + 0, 1169, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 0, 0, 0, 0, 0, 0, 0, + 0, 309, 0, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 30, 31, 32, 33, 34, 35, 1073, + 696, 0, 0, 39, 40, 0, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 0, 0, 377, 0, + 1087, 0, 0, 0, 0, 0, 0, 0, 0, 111, + 112, 113, 114, 0, 0, 0, 0, 0, 0, 0, + 1088, 0, 0, 0, 0, 0, 119, 328, 0, 0, + 0, 121, 0, 0, 0, 0, 124, 0, 0, 78, + 308, 127, 1060, 329, 0, 82, 83, 84, 0, 0, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 0, 0, 0, 0, 0, 0, 0, 0, 309, + 0, 0, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 30, 31, 32, 33, 34, 35, 493, 0, 0, + 0, 39, 40, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 111, 112, 113, + 114, 301, 1090, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 119, 328, 0, 0, 0, 121, + 0, 0, 0, 0, 124, 0, 78, 308, 0, 127, + 0, 329, 82, 83, 84, 0, 0, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + 98, 99, 100, 101, 102, 103, 104, 105, 0, 0, + 0, 0, 0, 0, 0, 0, 309, 0, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 494, + 299, 300, 0, 0, 0, 0, 301, 0, 30, 31, + 32, 33, 34, 35, 493, 0, 0, 0, 39, 40, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 1175, + 0, 0, 0, 301, 111, 112, 113, 114, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 119, 328, 0, 0, 0, 121, 0, 0, 0, + 0, 124, 0, 78, 308, 0, 127, 0, 329, 82, + 83, 84, 0, 0, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 0, 0, 0, 0, 0, + 0, 0, 0, 309, 0, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 512, 299, 300, 0, + 0, 0, 0, 301, 0, 30, 31, 32, 33, 34, + 35, 572, 0, 0, 0, 39, 40, 0, 0, 0, + 0, 0, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 111, 112, 113, 114, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 119, 310, + 0, 0, 0, 121, 0, 0, 0, 0, 124, 0, + 78, 308, 0, 127, 0, 509, 82, 83, 84, 0, + 0, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 105, 0, 0, 0, 0, 0, 0, 0, 0, + 309, 0, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 30, 31, 32, 33, 34, 35, 78, 272, + 0, 0, 39, 40, 82, 83, 84, 0, 0, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 0, 0, 0, 0, 0, 0, 0, 0, 111, 112, + 113, 114, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 119, 310, 0, 0, 0, + 121, 0, 0, 0, 0, 124, 0, 78, 272, 0, + 127, 0, 692, 82, 83, 84, 0, 0, 85, 86, + 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 1213, + 0, 0, 0, 0, 0, 0, 111, 112, 113, 114, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 119, 120, 0, 0, 0, 121, 0, + 0, 0, 0, 124, 0, 0, 277, 0, 127, 0, + 278, 78, 272, 0, 0, 0, 0, 82, 83, 84, + 0, 0, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 0, 0, 111, 112, 113, 114, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 119, 120, 0, 0, 0, 121, 0, 0, + 0, 0, 124, 0, 0, 669, 0, 127, 662, 670, + 0, 0, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 0, 0, 0, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 111, + 112, 113, 114, 301, 0, 0, 0, 0, 0, 0, + 1026, 0, 1027, 0, 0, 0, 361, 362, 0, 0, + 0, 121, 0, 0, 0, 0, 363, 0, 78, 79, + 80, 127, 81, 171, 82, 83, 84, 0, 0, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 799, 106, 107, 108, 109, 0, 0, 110, 0, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 78, 308, 0, 0, 301, 0, 82, + 83, 84, 0, 0, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 0, 0, 0, 0, 0, + 0, 0, 0, 309, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 111, 112, 113, 114, + 115, 116, 117, 118, 0, 30, 31, 32, 33, 34, + 35, 0, 0, 119, 120, 39, 40, 0, 121, 0, + 122, 123, 0, 124, 0, 125, 0, 126, 127, 0, + 0, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 863, 0, 0, 0, 301, + 0, 111, 112, 113, 114, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 119, 310, + 0, 0, 0, 121, 78, 272, 212, 0, 124, 0, + 82, 83, 84, 127, 0, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 0, 106, 107, 108, + 109, 78, 272, 110, 0, 0, 0, 82, 83, 84, + 0, 0, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 0, 0, 0, 0, + 0, 0, 111, 112, 113, 114, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 119, + 120, 0, 0, 0, 121, 0, 0, 0, 0, 124, + 0, 0, 0, 0, 127, 0, 0, 0, 0, 111, + 112, 113, 114, 7, 8, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 119, 120, 0, 0, + 0, 121, 0, 0, 0, 0, 124, 0, 0, 0, + 0, 127, 0, 0, 543, 13, 14, 544, 16, 17, + 545, 19, 546, 21, 0, 22, 0, 24, 25, 0, + 27, 28, 0, 0, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 41, 7, + 8, 0, 301, 0, 0, 0, 0, 0, 45, 46, + 47, 700, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 54, 55, 56, 0, 57, 0, 0, 547, + 543, 13, 14, 544, 16, 17, 545, 19, 546, 21, + 0, 22, 0, 24, 25, 0, 27, 28, 0, 0, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 41, 7, 8, 557, 301, 0, + 0, 0, 0, 0, 45, 46, 47, 701, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, + 56, 0, 57, 0, 0, 547, 543, 13, 14, 544, + 16, 17, 545, 19, 546, 21, 0, 22, 0, 24, + 25, 0, 27, 28, 0, 0, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 41, 7, 8, 579, 301, 0, 0, 0, 0, 0, + 45, 46, 47, 755, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 54, 55, 56, 0, 57, 0, + 0, 547, 543, 13, 14, 544, 16, 17, 545, 19, + 546, 21, 0, 22, 0, 24, 25, 0, 27, 28, + 0, 0, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 41, 7, 8, 580, + 301, 0, 0, 0, 0, 0, 45, 46, 47, 798, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 54, 55, 56, 0, 57, 0, 0, 547, 543, 13, + 14, 544, 16, 17, 545, 19, 546, 21, 0, 22, + 0, 24, 25, 0, 27, 28, 0, 0, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 41, 7, 8, 728, 301, 0, 0, 0, + 0, 0, 45, 46, 47, 834, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 54, 55, 56, 0, + 57, 0, 0, 547, 543, 13, 14, 544, 16, 17, + 545, 19, 546, 21, 0, 22, 0, 24, 25, 0, + 27, 28, 0, 0, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 41, 7, + 8, 743, 301, 0, 0, 0, 0, 0, 45, 46, + 47, 1024, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 54, 55, 56, 0, 57, 0, 0, 547, + 543, 13, 14, 544, 16, 17, 545, 19, 546, 21, + 0, 22, 0, 24, 25, 0, 27, 28, 0, 0, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 41, 0, 0, 1172, 301, 0, + 0, 0, 0, 0, 45, 46, 47, 1046, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, + 56, 0, 57, 0, 0, 547, -4, 1, 0, 0, + -4, 0, 0, 0, 0, 0, 0, 0, -4, -4, + 0, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, -4, 0, 1215, 0, 0, -4, -4, 1079, -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, -4, -4, 0, 0, -4, -4, 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, + 40, 41, 0, 0, 42, 43, 7, 8, 0, 0, + 44, 45, 46, 47, 0, 0, 48, 0, 49, 0, + 50, 51, 52, 53, 0, 54, 55, 56, 0, 57, + 58, 59, 60, 61, 62, 0, 0, 543, 13, 14, + 544, 16, 17, 545, 19, 546, 21, 0, 22, 0, + 24, 25, 0, 27, 28, 0, 0, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 41, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 45, 46, 47, 1082, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 54, 55, 56, 0, 57, + 0, 0, 547, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 1051, 0, + 1052, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 1131, 0, 1132, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 0, 0, 1083, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 0, 0, 1084, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 0, 0, 1107, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 0, 0, + 1147, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 0, 0, 1149, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 0, 0, 1150, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 0, 0, 1160, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 0, 0, 1163, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 0, 0, + 1166, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 0, 0, 1183, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 0, 0, 1207, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 0, 0, 1209, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 0, 0, 1211, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 0, 0, + 1221, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 457, 0, 0, 0, 0, 531, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 487, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 531, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 532, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 569, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 618, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 619, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 632, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 633, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 634, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 635, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 636, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 637, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 715, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 716, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 717, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 795, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 832, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 833, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 862, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 980, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 981, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 997, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 1008, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 1115, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 0, 0, 0, 1116, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 0, + 0, 0, 1123, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 0, 0, 0, 1129, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 0, 0, 0, 1178, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 0, 0, 0, + 1181, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 461, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 0, 0, 582, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 597, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 0, 0, 599, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 601, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 0, 0, 603, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 605, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 0, 0, 607, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 609, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 0, 0, + 611, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 613, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 0, 0, 615, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 617, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 0, 0, 621, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 623, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 0, 0, 625, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 627, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 0, 0, 629, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 631, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 0, 0, + 714, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 731, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 0, 0, 736, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 0, 0, 737, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 0, 0, 751, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 0, 0, 775, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 0, 0, 881, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 0, + 0, 883, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 0, 0, 885, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 0, 0, 887, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 0, 0, + 888, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 0, 0, 994, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 457, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 488, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 497, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 498, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 500, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 502, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 503, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 506, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 507, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 515, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 565, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 566, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 567, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 573, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 596, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 598, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 600, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 602, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 604, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 606, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 608, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 610, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 612, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 614, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 616, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 620, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 622, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 624, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 626, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 628, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 630, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 680, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 685, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 694, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 697, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 698, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 702, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 746, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 747, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 748, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 749, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 750, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 853, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301, 0, 880, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 0, 0, 0, 0, 301, 0, 882, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 0, 0, 0, 0, 301, 0, 884, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 0, 0, 0, 0, 301, 0, + 886, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 300, 0, 0, 0, 0, 301, + 0, 892, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 0, 0, 0, 0, + 301, 0, 1025, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 0, 0, 0, + 0, 301, 0, 1045, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 0, 0, + 0, 0, 301, 0, 1055, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 0, + 0, 0, 0, 301, 0, 1177, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 0, 0, 0, 0, 301, 0, 1219, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 0, 0, 0, 0, 301 +}; - 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. */ - -/* 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. */ - -#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> -#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 */ -#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 -#endif +static const yytype_int16 yycheck[] = +{ + 62, 3, 180, 6, 725, 188, 6, 185, 4, 6, + 1067, 4, 4, 4, 5, 280, 6, 4, 7, 4, + 4, 4, 659, 4, 4, 5, 4, 6, 6, 6, + 71, 4, 6, 72, 6, 213, 71, 6, 216, 78, + 79, 49, 138, 4, 5, 36, 37, 38, 39, 145, + 6, 42, 0, 128, 129, 139, 36, 37, 38, 39, + 144, 13, 42, 128, 129, 31, 32, 6, 34, 144, + 138, 146, 140, 138, 49, 36, 37, 38, 39, 56, + 145, 42, 56, 138, 81, 140, 82, 83, 84, 85, + 6, 138, 128, 129, 138, 6, 72, 6, 729, 128, + 129, 145, 78, 79, 145, 138, 138, 146, 100, 145, + 145, 92, 93, 145, 138, 144, 119, 120, 121, 92, + 93, 124, 125, 1180, 43, 128, 72, 46, 849, 118, + 138, 134, 78, 79, 137, 139, 139, 140, 141, 142, + 144, 144, 145, 146, 147, 138, 149, 150, 151, 786, + 146, 154, 135, 136, 145, 145, 125, 140, 145, 142, + 145, 145, 140, 53, 147, 145, 145, 170, 171, 125, + 146, 354, 355, 138, 135, 136, 4, 180, 72, 1236, + 182, 142, 49, 145, 78, 79, 188, 149, 366, 128, + 129, 194, 195, 196, 7, 198, 461, 71, 201, 202, + 146, 167, 138, 169, 140, 267, 268, 269, 270, 175, + 388, 138, 128, 129, 180, 43, 219, 138, 46, 128, + 129, 49, 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, 266, 138, 902, 6, 7, 140, 139, + 138, 145, 7, 145, 144, 278, 72, 149, 49, 138, + 280, 140, 78, 79, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 301, 7, + 128, 129, 115, 116, 117, 118, 49, 310, 128, 129, + 138, 8, 130, 131, 132, 318, 278, 145, 51, 137, + 323, 72, 135, 136, 144, 328, 329, 78, 79, 142, + 333, 138, 335, 336, 337, 7, 339, 340, 341, 342, + 343, 344, 345, 145, 139, 342, 343, 344, 345, 144, + 146, 145, 354, 355, 357, 358, 359, 360, 361, 362, + 363, 139, 72, 128, 129, 145, 144, 329, 78, 79, + 373, 138, 375, 140, 1095, 135, 136, 380, 381, 144, + 115, 116, 117, 118, 62, 63, 352, 353, 71, 392, + 393, 394, 395, 49, 397, 146, 362, 6, 1029, 402, + 135, 136, 405, 46, 404, 72, 278, 115, 116, 117, + 118, 78, 79, 375, 46, 1136, 145, 49, 1139, 51, + 138, 1142, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, 146, 1074, 310, 4, + 137, 72, 4, 115, 116, 117, 118, 78, 79, 146, + 6, 7, 72, 456, 4, 138, 328, 329, 78, 79, + 463, 461, 145, 135, 136, 462, 1097, 72, 1099, 138, + 1101, 135, 136, 78, 79, 72, 6, 1198, 142, 146, + 138, 78, 79, 486, 487, 138, 489, 490, 72, 6, + 493, 494, 495, 72, 78, 79, 343, 344, 345, 78, + 79, 100, 1223, 375, 100, 1226, 509, 100, 1229, 512, + 513, 1232, 72, 778, 779, 146, 519, 100, 78, 79, + 582, 5, 4, 138, 486, 140, 146, 145, 531, 532, + 138, 1252, 140, 1254, 537, 1256, 4, 138, 4, 5, + 138, 146, 1173, 128, 129, 6, 138, 509, 140, 146, + 152, 554, 36, 37, 38, 39, 158, 560, 42, 144, + 138, 146, 146, 138, 530, 140, 569, 146, 571, 572, + 36, 37, 38, 39, 138, 1206, 42, 1208, 6, 1210, + 642, 183, 582, 138, 550, 1216, 146, 189, 190, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 665, 128, 129, 138, 137, 140, 1240, + 138, 1242, 140, 1244, 486, 618, 619, 6, 4, 5, + 5, 145, 494, 495, 8, 128, 129, 128, 129, 632, + 633, 634, 635, 636, 637, 638, 138, 509, 641, 138, + 512, 144, 645, 146, 145, 128, 129, 128, 129, 652, + 36, 37, 38, 39, 128, 129, 42, 835, 138, 662, + 140, 144, 138, 144, 128, 129, 145, 670, 128, 129, + 144, 128, 129, 128, 129, 130, 131, 132, 145, 641, + 144, 144, 137, 146, 144, 138, 138, 144, 8, 692, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, 668, 128, 129, 138, 137, 140, 670, 145, + 128, 129, 128, 129, 138, 718, 719, 720, 721, 144, + 4, 138, 135, 136, 138, 327, 144, 140, 144, 142, + 692, 138, 138, 140, 147, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 715, + 716, 717, 140, 137, 757, 758, 718, 719, 720, 721, + 135, 136, 146, 946, 138, 140, 140, 142, 43, 641, + 138, 46, 147, 145, 49, 775, 51, 140, 145, 779, + 65, 66, 67, 68, 787, 70, 138, 138, 140, 140, + 75, 76, 795, 138, 140, 140, 799, 145, 670, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 138, 817, 140, 138, 137, 140, 139, + 692, 138, 140, 140, 142, 144, 6, 146, 831, 832, + 833, 144, 144, 146, 146, 144, 144, 146, 146, 145, + 142, 844, 845, 95, 906, 848, 718, 719, 720, 721, + 6, 49, 144, 51, 146, 145, 458, 459, 138, 862, + 863, 864, 144, 6, 146, 868, 869, 144, 144, 146, + 146, 874, 872, 144, 138, 146, 879, 144, 144, 146, + 146, 138, 848, 124, 125, 126, 127, 128, 129, 130, + 131, 132, 895, 6, 138, 138, 137, 894, 144, 144, + 146, 146, 4, 6, 6, 61, 6, 4, 911, 1092, + 140, 144, 6, 146, 145, 918, 919, 144, 6, 146, + 923, 144, 144, 146, 146, 5, 144, 1105, 146, 932, + 933, 144, 144, 146, 146, 144, 137, 146, 142, 942, + 7, 140, 145, 7, 946, 942, 7, 913, 139, 915, + 146, 6, 146, 138, 7, 7, 92, 145, 144, 561, + 562, 964, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 980, 981, 139, + 144, 137, 948, 6, 950, 4, 952, 141, 95, 7, + 7, 7, 7, 7, 997, 7, 1174, 95, 7, 95, + 7, 6, 139, 7, 139, 1008, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + 139, 139, 142, 1026, 137, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 7, + 146, 146, 100, 137, 1047, 7, 7, 142, 1051, 138, + 1053, 138, 145, 6, 4, 6, 141, 6, 6, 6, + 1063, 7, 140, 6, 49, 1068, 125, 7, 7, 51, + 7, 145, 7, 7, 6, 145, 678, 679, 7, 681, + 7, 683, 684, 7, 7, 687, 688, 7, 7, 7, + 1092, 7, 4, 1096, 145, 1098, 6, 1100, 138, 6, + 6, 6, 6, 6, 49, 4, 1109, 7, 138, 7, + 7, 7, 1115, 1116, 7, 6, 4, 6, 145, 139, + 1123, 142, 7, 6, 6, 6, 139, 6, 1131, 6, + 1096, 6, 1098, 5, 1100, 145, 738, 739, 740, 145, + 7, 6, 145, 145, 145, 145, 6, 91, 1151, 5, + 5, 142, 6, 4, 6, 141, 1218, 6, 1161, 6, + 5, 1164, 6, 6, 1167, 6, 6, 6, 1171, 6, + 6, 6, 6, 6, 6, 1178, 6, 6, 1181, 6, + 6, 6, 6, 6, 1246, 144, 1248, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, 803, 6, 6, 1266, 137, 4, 809, 7, 145, + 6, 6, 6, 6, 142, 5, 818, 819, 820, 6, + 6, 823, 824, 825, 826, 827, 828, 829, 145, 7, + 6, 146, 3, 4, 145, 93, 145, 145, 9, 10, + 11, 6, 844, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 866, 145, 6, 6, 90, 139, + 6, 6, 43, 6, 6, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 6, + 6, 893, 145, 137, 65, 66, 67, 68, 69, 70, + 5, 61, 6, 145, 75, 76, 6, 6, 146, 6, + 6, 6, 6, 144, 6, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 146, + 5, 145, 145, 137, 145, 6, 6, 145, 144, 6, + 111, 112, 113, 114, 6, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, 6, 128, 129, 6, + 137, 145, 133, 965, 6, 5, 968, 138, 6, 6, + 145, 145, 143, 145, 976, 146, 145, 6, 146, 6, + 982, 3, 4, 6, 794, 6, 6, 9, 10, 11, + 6, 6, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 6, 1151, 3, 3, -1, -1, -1, + 898, 43, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 1044, 65, 66, 67, 68, 69, 70, -1, + -1, -1, -1, 75, 76, -1, -1, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, 100, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 111, + 112, 113, 114, 6, -1, -1, -1, -1, -1, -1, + -1, -1, 1104, -1, -1, -1, 128, 129, -1, -1, + -1, 133, -1, -1, -1, -1, 138, -1, -1, -1, + -1, 143, -1, 145, -1, -1, -1, -1, -1, -1, + -1, 3, 4, -1, -1, -1, -1, 9, 10, 11, + -1, 1143, 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, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 65, 66, 67, 68, 69, 70, 6, + 146, -1, -1, 75, 76, -1, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, -1, -1, 100, -1, + 6, -1, -1, -1, -1, -1, -1, -1, -1, 111, + 112, 113, 114, -1, -1, -1, -1, -1, -1, -1, + 6, -1, -1, -1, -1, -1, 128, 129, -1, -1, + -1, 133, -1, -1, -1, -1, 138, -1, -1, 3, + 4, 143, 6, 145, -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, + -1, -1, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, 65, 66, 67, 68, 69, 70, 8, -1, -1, + -1, 75, 76, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 111, 112, 113, + 114, 137, 6, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 128, 129, -1, -1, -1, 133, + -1, -1, -1, -1, 138, -1, 3, 4, -1, 143, + -1, 145, 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, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 65, 66, + 67, 68, 69, 70, 8, -1, -1, -1, 75, 76, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 6, + -1, -1, -1, 137, 111, 112, 113, 114, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 128, 129, -1, -1, -1, 133, -1, -1, -1, + -1, 138, -1, 3, 4, -1, 143, -1, 145, 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, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 65, 66, 67, 68, 69, + 70, 8, -1, -1, -1, 75, 76, -1, -1, -1, + -1, -1, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 111, 112, 113, 114, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 128, 129, + -1, -1, -1, 133, -1, -1, -1, -1, 138, -1, + 3, 4, -1, 143, -1, 145, 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, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 65, 66, 67, 68, 69, 70, 3, 4, + -1, -1, 75, 76, 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, 111, 112, + 113, 114, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 128, 129, -1, -1, -1, + 133, -1, -1, -1, -1, 138, -1, 3, 4, -1, + 143, -1, 145, 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, -1, -1, -1, 111, 112, 113, 114, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 128, 129, -1, -1, -1, 133, -1, + -1, -1, -1, 138, -1, -1, 141, -1, 143, -1, + 145, 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, 111, 112, 113, 114, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 128, 129, -1, -1, -1, 133, -1, -1, + -1, -1, 138, -1, -1, 141, -1, 143, 8, 145, + -1, -1, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, -1, -1, -1, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 111, + 112, 113, 114, 137, -1, -1, -1, -1, -1, -1, + 144, -1, 146, -1, -1, -1, 128, 129, -1, -1, + -1, 133, -1, -1, -1, -1, 138, -1, 3, 4, + 5, 143, 7, 145, 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, + 8, 36, 37, 38, 39, -1, -1, 42, -1, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 3, 4, -1, -1, 137, -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, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 111, 112, 113, 114, + 115, 116, 117, 118, -1, 65, 66, 67, 68, 69, + 70, -1, -1, 128, 129, 75, 76, -1, 133, -1, + 135, 136, -1, 138, -1, 140, -1, 142, 143, -1, + -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, 8, -1, -1, -1, 137, + -1, 111, 112, 113, 114, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 128, 129, + -1, -1, -1, 133, 3, 4, 5, -1, 138, -1, + 9, 10, 11, 143, -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, 3, 4, 42, -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, -1, -1, -1, -1, -1, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, + -1, -1, 111, 112, 113, 114, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 128, + 129, -1, -1, -1, 133, -1, -1, -1, -1, 138, + -1, -1, -1, -1, 143, -1, -1, -1, -1, 111, + 112, 113, 114, 12, 13, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 128, 129, -1, -1, + -1, 133, -1, -1, -1, -1, 138, -1, -1, -1, + -1, 143, -1, -1, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, -1, 54, -1, 56, 57, -1, + 59, 60, -1, -1, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, 77, 12, + 13, -1, 137, -1, -1, -1, -1, -1, 87, 88, + 89, 146, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 101, 102, 103, -1, 105, -1, -1, 108, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + -1, 54, -1, 56, 57, -1, 59, 60, -1, -1, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 77, 12, 13, 146, 137, -1, + -1, -1, -1, -1, 87, 88, 89, 146, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, + 103, -1, 105, -1, -1, 108, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, -1, 54, -1, 56, + 57, -1, 59, 60, -1, -1, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + 77, 12, 13, 146, 137, -1, -1, -1, -1, -1, + 87, 88, 89, 146, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 101, 102, 103, -1, 105, -1, + -1, 108, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, -1, 54, -1, 56, 57, -1, 59, 60, + -1, -1, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, 77, 12, 13, 146, + 137, -1, -1, -1, -1, -1, 87, 88, 89, 146, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 101, 102, 103, -1, 105, -1, -1, 108, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, -1, 54, + -1, 56, 57, -1, 59, 60, -1, -1, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, 77, 12, 13, 146, 137, -1, -1, -1, + -1, -1, 87, 88, 89, 146, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 101, 102, 103, -1, + 105, -1, -1, 108, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, -1, 54, -1, 56, 57, -1, + 59, 60, -1, -1, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, 77, 12, + 13, 146, 137, -1, -1, -1, -1, -1, 87, 88, + 89, 146, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 101, 102, 103, -1, 105, -1, -1, 108, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + -1, 54, -1, 56, 57, -1, 59, 60, -1, -1, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 77, -1, -1, 146, 137, -1, + -1, -1, -1, -1, 87, 88, 89, 146, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, + 103, -1, 105, -1, -1, 108, 0, 1, -1, -1, + 4, -1, -1, -1, -1, -1, -1, -1, 12, 13, + -1, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 35, -1, 146, -1, -1, 40, 41, 146, 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, 76, 77, -1, -1, 80, 81, 4, -1, + -1, -1, 86, 87, 88, 89, 12, 13, 92, -1, + 94, -1, 96, 97, 98, 99, -1, 101, 102, 103, + -1, 105, 106, 107, 108, 109, 110, -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, + 76, 77, -1, -1, 80, 81, 12, 13, -1, -1, + 86, 87, 88, 89, -1, -1, 92, -1, 94, -1, + 96, 97, 98, 99, -1, 101, 102, 103, -1, 105, + 106, 107, 108, 109, 110, -1, -1, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, -1, 54, -1, + 56, 57, -1, 59, 60, -1, -1, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, 77, -1, -1, -1, 137, -1, -1, -1, -1, + -1, 87, 88, 89, 146, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 101, 102, 103, -1, 105, + -1, -1, 108, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, -1, + 146, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, -1, 146, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, -1, -1, 146, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, -1, -1, 146, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + -1, -1, 146, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, + 146, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, -1, -1, 146, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, -1, -1, 146, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, -1, -1, 146, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + -1, -1, 146, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, + 146, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, -1, -1, 146, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, -1, -1, 146, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, -1, -1, 146, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + -1, -1, 146, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, + 146, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, -1, -1, -1, 144, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, -1, + -1, -1, 144, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, -1, -1, -1, 144, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, -1, -1, -1, 144, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, + 144, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, + 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, + 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, -1, -1, 141, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, -1, -1, 141, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + -1, -1, 141, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, -1, -1, 141, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, -1, -1, 141, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, -1, + -1, 141, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, -1, -1, 141, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, -1, -1, 141, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, -1, -1, + 141, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, -1, -1, 141, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137, -1, 139, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, -1, -1, -1, -1, 137, -1, 139, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, -1, -1, -1, -1, 137, -1, 139, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, -1, -1, -1, -1, 137, -1, + 139, 119, 120, 121, 122, 123, 124, 125, 126, 127, + 128, 129, 130, 131, 132, -1, -1, -1, -1, 137, + -1, 139, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 131, 132, -1, -1, -1, -1, + 137, -1, 139, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, -1, -1, -1, + -1, 137, -1, 139, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, -1, -1, + -1, -1, 137, -1, 139, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, -1, + -1, -1, -1, 137, -1, 139, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + -1, -1, -1, -1, 137, -1, 139, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, -1, -1, -1, -1, 137 +}; -/* 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. */ +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const yytype_uint8 yystos[] = +{ + 0, 1, 149, 150, 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, + 76, 77, 80, 81, 86, 87, 88, 89, 92, 94, + 96, 97, 98, 99, 101, 102, 103, 105, 106, 107, + 108, 109, 110, 151, 153, 154, 172, 174, 175, 178, + 179, 180, 181, 182, 183, 200, 201, 202, 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, 111, 112, 113, 114, 115, 116, 117, 118, 128, + 129, 133, 135, 136, 138, 140, 142, 143, 170, 171, + 203, 204, 215, 13, 49, 138, 6, 145, 6, 138, + 145, 138, 138, 71, 138, 145, 138, 138, 71, 145, + 138, 138, 53, 49, 138, 49, 49, 49, 46, 49, + 51, 51, 43, 46, 49, 51, 138, 145, 128, 129, + 138, 145, 205, 206, 205, 145, 4, 43, 46, 49, + 145, 205, 145, 49, 4, 145, 6, 46, 145, 43, + 46, 4, 4, 4, 138, 138, 138, 4, 145, 211, + 4, 138, 138, 6, 100, 100, 100, 100, 4, 4, + 100, 4, 5, 145, 214, 215, 145, 214, 4, 140, + 142, 147, 171, 145, 215, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 140, 138, + 140, 138, 140, 138, 140, 138, 140, 138, 138, 138, + 138, 138, 4, 203, 203, 203, 203, 141, 145, 203, + 4, 92, 93, 4, 203, 6, 6, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, 137, 6, 6, 203, 5, 203, 203, 4, 43, + 129, 175, 183, 203, 209, 210, 203, 203, 138, 203, + 210, 203, 203, 138, 210, 203, 203, 100, 129, 145, + 203, 208, 209, 138, 203, 145, 138, 138, 208, 145, + 145, 138, 138, 138, 138, 138, 4, 205, 205, 205, + 203, 203, 128, 129, 145, 145, 205, 140, 145, 145, + 145, 128, 129, 138, 177, 205, 145, 175, 176, 177, + 208, 4, 6, 140, 177, 145, 176, 100, 208, 208, + 140, 140, 6, 203, 203, 203, 142, 203, 145, 95, + 203, 203, 138, 138, 138, 138, 6, 138, 177, 6, + 177, 6, 140, 203, 4, 145, 155, 6, 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, + 4, 214, 214, 214, 214, 5, 140, 139, 7, 118, + 210, 141, 7, 170, 171, 142, 7, 140, 6, 203, + 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, + 203, 203, 203, 203, 6, 139, 144, 144, 139, 140, + 145, 203, 209, 8, 130, 144, 146, 139, 139, 203, + 139, 146, 139, 139, 203, 146, 139, 139, 208, 145, + 146, 210, 130, 7, 203, 139, 203, 203, 203, 7, + 203, 203, 203, 173, 203, 215, 173, 173, 173, 139, + 144, 144, 144, 205, 205, 176, 176, 144, 203, 203, + 203, 203, 203, 43, 46, 49, 51, 108, 174, 187, + 144, 177, 146, 6, 7, 6, 203, 146, 210, 146, + 138, 7, 7, 203, 203, 139, 139, 139, 92, 144, + 177, 145, 8, 139, 203, 203, 203, 203, 203, 146, + 146, 203, 141, 171, 203, 4, 82, 83, 84, 85, + 146, 158, 162, 165, 167, 168, 139, 141, 139, 141, + 139, 141, 139, 141, 139, 141, 139, 141, 139, 141, + 139, 141, 139, 141, 139, 141, 139, 141, 144, 144, + 139, 141, 139, 141, 139, 141, 139, 141, 139, 141, + 139, 141, 144, 144, 144, 144, 144, 144, 140, 142, + 139, 144, 144, 139, 139, 144, 203, 208, 208, 146, + 7, 142, 170, 171, 215, 203, 6, 4, 4, 145, + 212, 141, 8, 6, 125, 152, 210, 203, 7, 141, + 145, 203, 203, 203, 209, 203, 209, 95, 7, 7, + 139, 7, 95, 7, 7, 139, 95, 7, 7, 6, + 210, 146, 145, 203, 139, 7, 146, 139, 139, 203, + 146, 146, 139, 139, 139, 139, 139, 142, 205, 203, + 203, 146, 146, 203, 141, 144, 144, 144, 145, 145, + 145, 145, 72, 78, 79, 198, 199, 205, 146, 184, + 203, 141, 146, 203, 208, 208, 141, 141, 7, 7, + 7, 142, 203, 146, 203, 203, 139, 139, 139, 139, + 139, 141, 142, 171, 214, 146, 159, 138, 138, 145, + 169, 6, 203, 203, 203, 203, 203, 203, 203, 203, + 203, 4, 210, 214, 203, 141, 6, 6, 141, 4, + 92, 93, 203, 6, 6, 6, 7, 140, 211, 213, + 6, 203, 125, 214, 139, 144, 205, 210, 146, 8, + 49, 208, 208, 7, 208, 49, 51, 208, 208, 7, + 51, 208, 208, 146, 210, 6, 7, 145, 7, 7, + 7, 6, 61, 7, 7, 7, 7, 7, 7, 7, + 4, 144, 144, 144, 146, 145, 205, 205, 205, 210, + 210, 210, 210, 6, 145, 138, 146, 199, 144, 198, + 6, 6, 49, 139, 6, 6, 6, 6, 208, 208, + 208, 4, 144, 8, 8, 139, 7, 7, 7, 7, + 7, 6, 4, 6, 138, 203, 203, 207, 208, 145, + 139, 141, 139, 141, 139, 141, 139, 141, 141, 139, + 139, 139, 139, 170, 7, 170, 171, 142, 7, 6, + 211, 203, 144, 146, 6, 6, 152, 203, 6, 146, + 203, 145, 6, 56, 6, 56, 208, 6, 145, 145, + 6, 6, 208, 145, 6, 6, 146, 5, 203, 208, + 208, 208, 62, 63, 208, 208, 208, 208, 208, 208, + 208, 6, 7, 203, 203, 203, 145, 177, 144, 146, + 144, 146, 144, 146, 146, 146, 146, 146, 203, 208, + 203, 203, 205, 146, 145, 7, 6, 6, 91, 203, + 203, 203, 208, 5, 203, 203, 5, 171, 156, 203, + 144, 144, 144, 146, 157, 203, 142, 208, 215, 203, + 6, 4, 212, 6, 141, 211, 214, 144, 141, 203, + 205, 205, 6, 203, 203, 6, 203, 5, 144, 6, + 6, 6, 203, 203, 4, 6, 6, 6, 6, 6, + 6, 6, 203, 215, 146, 139, 144, 146, 176, 188, + 205, 6, 189, 205, 6, 190, 205, 6, 191, 6, + 6, 6, 6, 146, 144, 139, 146, 144, 203, 208, + 208, 144, 146, 8, 146, 139, 6, 6, 6, 6, + 6, 208, 139, 144, 203, 203, 208, 145, 144, 146, + 4, 6, 6, 6, 7, 6, 142, 6, 203, 146, + 6, 6, 146, 146, 146, 5, 203, 6, 6, 6, + 6, 6, 145, 203, 146, 198, 144, 145, 144, 145, + 144, 145, 6, 208, 7, 145, 203, 146, 6, 90, + 203, 203, 6, 160, 203, 144, 144, 207, 203, 6, + 139, 211, 93, 144, 6, 6, 6, 6, 6, 144, + 176, 144, 146, 146, 203, 205, 198, 203, 205, 198, + 203, 205, 198, 144, 146, 208, 177, 146, 203, 146, + 146, 145, 203, 203, 146, 6, 203, 5, 146, 203, + 146, 144, 146, 146, 144, 146, 146, 144, 146, 208, + 6, 61, 146, 185, 145, 6, 157, 139, 144, 6, + 145, 144, 144, 146, 6, 192, 203, 6, 6, 193, + 203, 6, 6, 194, 203, 6, 146, 203, 198, 177, + 146, 163, 203, 207, 203, 5, 145, 146, 145, 146, + 145, 146, 6, 6, 146, 146, 186, 6, 145, 139, + 146, 146, 144, 198, 6, 195, 198, 6, 196, 198, + 6, 197, 198, 161, 214, 166, 145, 6, 5, 146, + 145, 146, 145, 146, 145, 146, 144, 146, 145, 207, + 146, 6, 198, 6, 198, 6, 198, 214, 6, 164, + 214, 146, 6, 146, 146, 146, 144, 146, 6, 6, + 6, 6, 214, 6 +}; #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); \ - YYPOPSTACK; \ + { \ + yychar = (Token); \ + yylval = (Value); \ + yytoken = YYTRANSLATE (yychar); \ + YYPOPSTACK (1); \ goto yybackup; \ } \ else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ +while (YYID (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 (YYID (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 (YYID (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 defined YYLTYPE_IS_TRIVIAL && 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 (YYID (0)) + +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; #endif +{ + if (!yyvaluep) + return; +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); +# endif + switch (yytype) + { + default: + break; + } +} + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ -/* If nonreentrant, generate the variables here */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); -#ifndef YYPURE + yy_symbol_value_print (yyoutput, yytype, yyvaluep); + YYFPRINTF (yyoutput, ")"); +} -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) +#else +static void +yy_stack_print (bottom, top) + yytype_int16 *bottom; + yytype_int16 *top; #endif +{ + YYFPRINTF (stderr, "Stack now"); + for (; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (YYID (0)) -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +#else +static void +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; + int yyrule; #endif +{ + int yynrhs = yyr2[yyrule]; + int yyi; + unsigned long int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + fprintf (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); + fprintf (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) -/* YYINITDEPTH indicates the initial size of the parser's stacks */ +/* 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 -- 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 + YYSTACK_ALLOC_MAXIMUM < 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. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static YYSIZE_T +yystrlen (const char *yystr) +#else +static YYSIZE_T +yystrlen (yystr) + const char *yystr; +#endif +{ + YYSIZE_T yylen; + for (yylen = 0; yystr[yylen]; yylen++) + continue; + return yylen; +} +# 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. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static char * +yystpcpy (char *yydest, const char *yysrc) +#else +static char * +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +#endif { - register char *f = from; - register char *t = to; - register int i = count; + char *yyd = yydest; + const char *yys = yysrc; - while (i-- > 0) - *t++ = *f++; + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; } +# endif +# endif + +# ifndef yytnamerr +/* Copy to YYRES the contents of YYSTR after stripping away unnecessary + quotes and backslashes, so that it's suitable for yyerror. The + heuristic is that double-quoting is unnecessary unless the string + contains an apostrophe, a comma, or backslash (other than + backslash-backslash). YYSTR is taken from yytname. If YYRES is + null, do not copy; instead, return the length of what the result + would have been. */ +static YYSIZE_T +yytnamerr (char *yyres, const char *yystr) +{ + if (*yystr == '"') + { + YYSIZE_T yyn = 0; + char const *yyp = yystr; + + for (;;) + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; -#else /* __cplusplus */ + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } + do_not_strip_quotes: ; + } -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (char *to, char *from, unsigned int count) -{ - register char *t = to; - register char *f = from; - register int i = count; + if (! yyres) + return yystrlen (yystr); - while (i-- > 0) - *t++ = *f++; + return yystpcpy (yyres, yystr) - yyres; } +# endif + +/* Copy into YYRESULT an error message about the unexpected token + YYCHAR while in state YYSTATE. Return the number of bytes copied, + including the terminating null byte. If YYRESULT is null, do not + copy anything; just return the number of bytes that would be + copied. As a special case, return 0 if an ordinary "syntax error" + message will do. Return YYSIZE_MAXIMUM if overflow occurs during + size calculation. */ +static YYSIZE_T +yysyntax_error (char *yyresult, int yystate, int yychar) +{ + int yyn = yypact[yystate]; + + if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) + return 0; + else + { + int yytype = YYTRANSLATE (yychar); + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + int yysize_overflow = 0; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + int yyx; + +# if 0 + /* This is so xgettext sees the translatable formats that are + constructed on the fly. */ + YY_("syntax error, unexpected %s"); + YY_("syntax error, unexpected %s, expecting %s"); + YY_("syntax error, unexpected %s, expecting %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); +# endif + char *yyfmt; + char const *yyf; + static char const yyunexpected[] = "syntax error, unexpected %s"; + static char const yyexpecting[] = ", expecting %s"; + static char const yyor[] = " or %s"; + char yyformat[sizeof yyunexpected + + sizeof yyexpecting - 1 + + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) + * (sizeof yyor - 1))]; + char const *yyprefix = yyexpecting; + + /* 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 + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 1; + + yyarg[0] = yytname[yytype]; + yyfmt = yystpcpy (yyformat, yyunexpected); + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + yyformat[sizeof yyunexpected - 1] = '\0'; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + yyfmt = yystpcpy (yyfmt, yyprefix); + yyprefix = yyor; + } + yyf = YY_(yyformat); + yysize1 = yysize + yystrlen (yyf); + yysize_overflow |= (yysize1 < yysize); + yysize = yysize1; + + if (yysize_overflow) + return YYSIZE_MAXIMUM; + + if (yyresult) + { + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + char *yyp = yyresult; + int yyi = 0; + while ((*yyp = *yyf) != '\0') + { + if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyf += 2; + } + else + { + yyp++; + yyf++; + } + } + } + return yysize; + } +} +#endif /* YYERROR_VERBOSE */ + + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +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 +{ + YYUSE (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 *); +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); #else -int yyparse (void); +int yyparse (); #endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); #endif +#endif /* ! YYPARSE_PARAM */ -int -yyparse(YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL -{ - register int yystate; - register int yyn; - register short *yyssp; - 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 */ +/* The look-ahead symbol. */ +int yychar; -#ifdef YYLSP_NEEDED - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; +/* The semantic value of the look-ahead symbol. */ +YYSTYPE yylval; -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) +/* Number of syntax errors so far. */ +int yynerrs; + + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void *YYPARSE_PARAM) #else -#define YYPOPSTACK (yyvsp--, yyssp--) +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; #endif +#else /* ! YYPARSE_PARAM */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void) +#else +int +yyparse () - int yystacksize = YYINITDEPTH; - int yyfree_stacks = 0; - -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; #endif +#endif +{ + + int yystate; + int yyn; + 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; +#if YYERROR_VERBOSE + /* Buffer for error messages, and its allocated size. */ + char yymsgbuf[128]; + char *yymsg = yymsgbuf; + YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. - int yylen; + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + yytype_int16 yyssa[YYINITDEPTH]; + yytype_int16 *yyss = yyssa; + yytype_int16 *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + YYSTYPE *yyvsp; -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif + + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + YYSIZE_T yystacksize = YYINITDEPTH; + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; @@ -2592,368 +3557,334 @@ 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: + goto yysetstate; - *++yyssp = yystate; +/*------------------------------------------------------------. +| 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++; - 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 + 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; + yytype_int16 *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 (YY_("memory exhausted"), + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } #else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyexhaustedlab; +# 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 yyexhaustedlab; 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 + + { + yytype_int16 *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyexhaustedlab; + 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: -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ +/*-----------. +| yybackup. | +`-----------*/ +yybackup: - /* First try to decide what to do without reference to lookahead token. */ + /* Do appropriate processing given the current state. Read a + look-ahead token if we need one and don't already have one. */ + /* 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. */ + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; -#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. */ + /* Discard the shifted token unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; + yystate = yyn; *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* 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; + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); + 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]; - /* 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 - - switch (yyn) { - -case 2: + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 3: #line 144 "Gmsh.y" -{ yyerrok; return 1; ; - break;} -case 5: + { yyerrok; return 1; ;} + break; + + case 6: #line 155 "Gmsh.y" -{ return 1; ; - break;} -case 6: + { return 1; ;} + break; + + case 7: #line 156 "Gmsh.y" -{ return 1; ; - break;} -case 7: + { return 1; ;} + break; + + case 8: #line 157 "Gmsh.y" -{ return 1; ; - break;} -case 8: + { return 1; ;} + break; + + case 9: #line 158 "Gmsh.y" -{ return 1; ; - break;} -case 9: + { return 1; ;} + break; + + case 10: #line 159 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 10: + { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} + break; + + case 11: #line 160 "Gmsh.y" -{ return 1; ; - break;} -case 11: + { return 1; ;} + break; + + case 12: #line 161 "Gmsh.y" -{ return 1; ; - break;} -case 12: + { return 1; ;} + break; + + case 13: #line 162 "Gmsh.y" -{ return 1; ; - break;} -case 13: + { return 1; ;} + break; + + case 14: #line 163 "Gmsh.y" -{ List_Delete(yyvsp[0].l); return 1; ; - break;} -case 14: + { List_Delete((yyvsp[(1) - (1)].l)); return 1; ;} + break; + + case 15: #line 164 "Gmsh.y" -{ return 1; ; - break;} -case 15: + { return 1; ;} + break; + + case 16: #line 165 "Gmsh.y" -{ return 1; ; - break;} -case 16: + { return 1; ;} + break; + + case 17: #line 166 "Gmsh.y" -{ return 1; ; - break;} -case 17: + { return 1; ;} + break; + + case 18: #line 167 "Gmsh.y" -{ return 1; ; - break;} -case 18: + { return 1; ;} + break; + + case 19: #line 168 "Gmsh.y" -{ return 1; ; - break;} -case 19: + { return 1; ;} + break; + + case 20: #line 173 "Gmsh.y" -{ - yyval.c = "w"; - ; - break;} -case 20: + { + (yyval.c) = "w"; + ;} + break; + + case 21: #line 177 "Gmsh.y" -{ - yyval.c = "a"; - ; - break;} -case 21: + { + (yyval.c) = "a"; + ;} + break; + + case 22: #line 184 "Gmsh.y" -{ - Msg(DIRECT, yyvsp[-2].c); - Free(yyvsp[-2].c); - ; - break;} -case 22: + { + Msg(DIRECT, (yyvsp[(3) - (5)].c)); + Free((yyvsp[(3) - (5)].c)); + ;} + break; + + case 23: #line 189 "Gmsh.y" -{ + { char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); - FILE *fp = fopen(tmpstring, yyvsp[-2].c); + FixRelativePath((yyvsp[(6) - (7)].c), tmpstring); + FILE *fp = fopen(tmpstring, (yyvsp[(5) - (7)].c)); if(!fp){ yymsg(GERROR, "Unable to open file '%s'", tmpstring); } else{ - fprintf(fp, "%s\n", yyvsp[-4].c); + fprintf(fp, "%s\n", (yyvsp[(3) - (7)].c)); fclose(fp); } - Free(yyvsp[-4].c); - Free(yyvsp[-1].c); - ; - break;} -case 23: + Free((yyvsp[(3) - (7)].c)); + Free((yyvsp[(6) - (7)].c)); + ;} + break; + + case 24: #line 204 "Gmsh.y" -{ + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-4].c, yyvsp[-2].l, tmpstring); + int i = PrintListOfDouble((yyvsp[(3) - (7)].c), (yyvsp[(5) - (7)].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 24: + Free((yyvsp[(3) - (7)].c)); + List_Delete((yyvsp[(5) - (7)].l)); + ;} + break; + + case 25: #line 217 "Gmsh.y" -{ + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-6].c, yyvsp[-4].l, tmpstring); + int i = PrintListOfDouble((yyvsp[(3) - (9)].c), (yyvsp[(5) - (9)].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[(8) - (9)].c), tmpstring2); + FILE *fp = fopen(tmpstring2, (yyvsp[(7) - (9)].c)); if(!fp){ yymsg(GERROR, "Unable to open file '%s'", tmpstring2); } @@ -2962,16 +3893,17 @@ case 24: fclose(fp); } } - Free(yyvsp[-6].c); - Free(yyvsp[-1].c); - List_Delete(yyvsp[-4].l); - ; - break;} -case 25: + Free((yyvsp[(3) - (9)].c)); + Free((yyvsp[(8) - (9)].c)); + List_Delete((yyvsp[(5) - (9)].l)); + ;} + break; + + case 26: #line 246 "Gmsh.y" -{ - if(!strcmp(yyvsp[-5].c, "View") && ViewData->finalize()){ - ViewData->setName(yyvsp[-4].c); + { + if(!strcmp((yyvsp[(1) - (6)].c), "View") && ViewData->finalize()){ + ViewData->setName((yyvsp[(2) - (6)].c)); ViewData->setFileName(yyname); ViewData->setFileIndex(yyviewindex++); if(ViewData->adaptive){ @@ -2983,778 +3915,830 @@ case 25: } else delete ViewData; - Free(yyvsp[-5].c); Free(yyvsp[-4].c); - ; - break;} -case 26: + Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(2) - (6)].c)); + ;} + break; + + case 27: #line 263 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")){ - int index = (int)yyvsp[-2].d; + { + if(!strcmp((yyvsp[(2) - (6)].c), "View")){ + int index = (int)(yyvsp[(4) - (6)].d); if(index >= 0 && index < PView::list.size()) new PView(PView::list[index], false); } - Free(yyvsp[-4].c); - ; - break;} -case 27: + Free((yyvsp[(2) - (6)].c)); + ;} + break; + + case 28: #line 272 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")){ - int index = (int)yyvsp[-2].d; + { + if(!strcmp((yyvsp[(2) - (6)].c), "View")){ + int index = (int)(yyvsp[(4) - (6)].d); if(index >= 0 && index < PView::list.size()) new PView(PView::list[index], true); } - Free(yyvsp[-4].c); - ; - break;} -case 28: + Free((yyvsp[(2) - (6)].c)); + ;} + break; + + case 29: #line 284 "Gmsh.y" -{ + { ViewData = new PViewDataList(true); - ; - break;} -case 34: + ;} + break; + + case 35: #line 296 "Gmsh.y" -{ ViewCoord[ViewCoordIdx++] = yyvsp[0].d; ; - break;} -case 35: + { ViewCoord[ViewCoordIdx++] = (yyvsp[(1) - (1)].d); ;} + break; + + case 36: #line 298 "Gmsh.y" -{ ViewCoord[ViewCoordIdx++] = yyvsp[0].d; ; - break;} -case 36: + { ViewCoord[ViewCoordIdx++] = (yyvsp[(3) - (3)].d); ;} + break; + + case 37: #line 303 "Gmsh.y" -{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ; - break;} -case 37: + { if(ViewValueList) List_Add(ViewValueList, &(yyvsp[(1) - (1)].d)); ;} + break; + + case 38: #line 305 "Gmsh.y" -{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ; - break;} -case 38: + { if(ViewValueList) List_Add(ViewValueList, &(yyvsp[(3) - (3)].d)); ;} + break; + + case 39: #line 310 "Gmsh.y" -{ - if(!strcmp(yyvsp[0].c, "SP")){ + { + if(!strcmp((yyvsp[(1) - (1)].c), "SP")){ ViewValueList = ViewData->SP; ViewNumList = &ViewData->NbSP; } - else if(!strcmp(yyvsp[0].c, "VP")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VP")){ ViewValueList = ViewData->VP; ViewNumList = &ViewData->NbVP; } - else if(!strcmp(yyvsp[0].c, "TP")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TP")){ ViewValueList = ViewData->TP; ViewNumList = &ViewData->NbTP; } - else if(!strcmp(yyvsp[0].c, "SL")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SL")){ ViewValueList = ViewData->SL; ViewNumList = &ViewData->NbSL; } - else if(!strcmp(yyvsp[0].c, "VL")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VL")){ ViewValueList = ViewData->VL; ViewNumList = &ViewData->NbVL; } - else if(!strcmp(yyvsp[0].c, "TL")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TL")){ ViewValueList = ViewData->TL; ViewNumList = &ViewData->NbTL; } - else if(!strcmp(yyvsp[0].c, "ST")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "ST")){ ViewValueList = ViewData->ST; ViewNumList = &ViewData->NbST; } - else if(!strcmp(yyvsp[0].c, "VT")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VT")){ ViewValueList = ViewData->VT; ViewNumList = &ViewData->NbVT; } - else if(!strcmp(yyvsp[0].c, "TT")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TT")){ ViewValueList = ViewData->TT; ViewNumList = &ViewData->NbTT; } - else if(!strcmp(yyvsp[0].c, "SQ")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SQ")){ ViewValueList = ViewData->SQ; ViewNumList = &ViewData->NbSQ; } - else if(!strcmp(yyvsp[0].c, "VQ")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VQ")){ ViewValueList = ViewData->VQ; ViewNumList = &ViewData->NbVQ; } - else if(!strcmp(yyvsp[0].c, "TQ")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TQ")){ ViewValueList = ViewData->TQ; ViewNumList = &ViewData->NbTQ; } - else if(!strcmp(yyvsp[0].c, "SS")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SS")){ ViewValueList = ViewData->SS; ViewNumList = &ViewData->NbSS; } - else if(!strcmp(yyvsp[0].c, "VS")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VS")){ ViewValueList = ViewData->VS; ViewNumList = &ViewData->NbVS; } - else if(!strcmp(yyvsp[0].c, "TS")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TS")){ ViewValueList = ViewData->TS; ViewNumList = &ViewData->NbTS; } - else if(!strcmp(yyvsp[0].c, "SH")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SH")){ ViewValueList = ViewData->SH; ViewNumList = &ViewData->NbSH; } - else if(!strcmp(yyvsp[0].c, "VH")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VH")){ ViewValueList = ViewData->VH; ViewNumList = &ViewData->NbVH; } - else if(!strcmp(yyvsp[0].c, "TH")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TH")){ ViewValueList = ViewData->TH; ViewNumList = &ViewData->NbTH; } - else if(!strcmp(yyvsp[0].c, "SI")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SI")){ ViewValueList = ViewData->SI; ViewNumList = &ViewData->NbSI; } - else if(!strcmp(yyvsp[0].c, "VI")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VI")){ ViewValueList = ViewData->VI; ViewNumList = &ViewData->NbVI; } - else if(!strcmp(yyvsp[0].c, "TI")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TI")){ ViewValueList = ViewData->TI; ViewNumList = &ViewData->NbTI; } - else if(!strcmp(yyvsp[0].c, "SY")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SY")){ ViewValueList = ViewData->SY; ViewNumList = &ViewData->NbSY; } - else if(!strcmp(yyvsp[0].c, "VY")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VY")){ ViewValueList = ViewData->VY; ViewNumList = &ViewData->NbVY; } - else if(!strcmp(yyvsp[0].c, "TY")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TY")){ ViewValueList = ViewData->TY; ViewNumList = &ViewData->NbTY; } - else if(!strcmp(yyvsp[0].c, "SL2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SL2")){ ViewValueList = ViewData->SL2; ViewNumList = &ViewData->NbSL2; } - else if(!strcmp(yyvsp[0].c, "VL2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VL2")){ ViewValueList = ViewData->VL2; ViewNumList = &ViewData->NbVL2; } - else if(!strcmp(yyvsp[0].c, "TL2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TL2")){ ViewValueList = ViewData->TL2; ViewNumList = &ViewData->NbTL2; } - else if(!strcmp(yyvsp[0].c, "ST2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "ST2")){ ViewValueList = ViewData->ST2; ViewNumList = &ViewData->NbST2; } - else if(!strcmp(yyvsp[0].c, "VT2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VT2")){ ViewValueList = ViewData->VT2; ViewNumList = &ViewData->NbVT2; } - else if(!strcmp(yyvsp[0].c, "TT2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TT2")){ ViewValueList = ViewData->TT2; ViewNumList = &ViewData->NbTT2; } - else if(!strcmp(yyvsp[0].c, "SQ2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SQ2")){ ViewValueList = ViewData->SQ2; ViewNumList = &ViewData->NbSQ2; } - else if(!strcmp(yyvsp[0].c, "VQ2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VQ2")){ ViewValueList = ViewData->VQ2; ViewNumList = &ViewData->NbVQ2; } - else if(!strcmp(yyvsp[0].c, "TQ2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TQ2")){ ViewValueList = ViewData->TQ2; ViewNumList = &ViewData->NbTQ2; } - else if(!strcmp(yyvsp[0].c, "SS2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SS2")){ ViewValueList = ViewData->SS2; ViewNumList = &ViewData->NbSS2; } - else if(!strcmp(yyvsp[0].c, "VS2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VS2")){ ViewValueList = ViewData->VS2; ViewNumList = &ViewData->NbVS2; } - else if(!strcmp(yyvsp[0].c, "TS2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TS2")){ ViewValueList = ViewData->TS2; ViewNumList = &ViewData->NbTS2; } - else if(!strcmp(yyvsp[0].c, "SH2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SH2")){ ViewValueList = ViewData->SH2; ViewNumList = &ViewData->NbSH2; } - else if(!strcmp(yyvsp[0].c, "VH2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VH2")){ ViewValueList = ViewData->VH2; ViewNumList = &ViewData->NbVH2; } - else if(!strcmp(yyvsp[0].c, "TH2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TH2")){ ViewValueList = ViewData->TH2; ViewNumList = &ViewData->NbTH2; } - else if(!strcmp(yyvsp[0].c, "SI2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SI2")){ ViewValueList = ViewData->SI2; ViewNumList = &ViewData->NbSI2; } - else if(!strcmp(yyvsp[0].c, "VI2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VI2")){ ViewValueList = ViewData->VI2; ViewNumList = &ViewData->NbVI2; } - else if(!strcmp(yyvsp[0].c, "TI2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TI2")){ ViewValueList = ViewData->TI2; ViewNumList = &ViewData->NbTI2; } - else if(!strcmp(yyvsp[0].c, "SY2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "SY2")){ ViewValueList = ViewData->SY2; ViewNumList = &ViewData->NbSY2; } - else if(!strcmp(yyvsp[0].c, "VY2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "VY2")){ ViewValueList = ViewData->VY2; ViewNumList = &ViewData->NbVY2; } - else if(!strcmp(yyvsp[0].c, "TY2")){ + else if(!strcmp((yyvsp[(1) - (1)].c), "TY2")){ ViewValueList = ViewData->TY2; ViewNumList = &ViewData->NbTY2; } else{ - yymsg(GERROR, "Unknown element type '%s'", yyvsp[0].c); + yymsg(GERROR, "Unknown element type '%s'", (yyvsp[(1) - (1)].c)); ViewValueList = 0; ViewNumList = 0; } - Free(yyvsp[0].c); + Free((yyvsp[(1) - (1)].c)); ViewCoordIdx = 0; - ; - break;} -case 39: + ;} + break; + + case 40: #line 454 "Gmsh.y" -{ + { if(ViewValueList){ for(int i = 0; i < 3; i++) for(int j = 0; j < ViewCoordIdx / 3; j++) List_Add(ViewValueList, &ViewCoord[3 * j + i]); } - ; - break;} -case 40: + ;} + break; + + case 41: #line 462 "Gmsh.y" -{ + { if(ViewValueList) (*ViewNumList)++; - ; - break;} -case 41: + ;} + break; + + case 42: #line 469 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(ViewData->T2C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 42: + { + for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c))+1; i++) List_Add(ViewData->T2C, &(yyvsp[(1) - (1)].c)[i]); + Free((yyvsp[(1) - (1)].c)); + ;} + break; + + case 43: #line 474 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(ViewData->T2C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 43: + { + for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c))+1; i++) List_Add(ViewData->T2C, &(yyvsp[(3) - (3)].c)[i]); + Free((yyvsp[(3) - (3)].c)); + ;} + break; + + case 44: #line 482 "Gmsh.y" -{ - List_Add(ViewData->T2D, &yyvsp[-5].d); - List_Add(ViewData->T2D, &yyvsp[-3].d); - List_Add(ViewData->T2D, &yyvsp[-1].d); + { + List_Add(ViewData->T2D, &(yyvsp[(3) - (8)].d)); + List_Add(ViewData->T2D, &(yyvsp[(5) - (8)].d)); + List_Add(ViewData->T2D, &(yyvsp[(7) - (8)].d)); double d = List_Nbr(ViewData->T2C); List_Add(ViewData->T2D, &d); - ; - break;} -case 44: + ;} + break; + + case 45: #line 490 "Gmsh.y" -{ + { ViewData->NbT2++; - ; - break;} -case 45: + ;} + break; + + case 46: #line 497 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(ViewData->T3C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 46: + { + for(int i = 0; i < (int)strlen((yyvsp[(1) - (1)].c))+1; i++) List_Add(ViewData->T3C, &(yyvsp[(1) - (1)].c)[i]); + Free((yyvsp[(1) - (1)].c)); + ;} + break; + + case 47: #line 502 "Gmsh.y" -{ - for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(ViewData->T3C, &yyvsp[0].c[i]); - Free(yyvsp[0].c); - ; - break;} -case 47: + { + for(int i = 0; i < (int)strlen((yyvsp[(3) - (3)].c))+1; i++) List_Add(ViewData->T3C, &(yyvsp[(3) - (3)].c)[i]); + Free((yyvsp[(3) - (3)].c)); + ;} + break; + + case 48: #line 510 "Gmsh.y" -{ - List_Add(ViewData->T3D, &yyvsp[-7].d); List_Add(ViewData->T3D, &yyvsp[-5].d); - List_Add(ViewData->T3D, &yyvsp[-3].d); List_Add(ViewData->T3D, &yyvsp[-1].d); + { + List_Add(ViewData->T3D, &(yyvsp[(3) - (10)].d)); List_Add(ViewData->T3D, &(yyvsp[(5) - (10)].d)); + List_Add(ViewData->T3D, &(yyvsp[(7) - (10)].d)); List_Add(ViewData->T3D, &(yyvsp[(9) - (10)].d)); double d = List_Nbr(ViewData->T3C); List_Add(ViewData->T3D, &d); - ; - break;} -case 48: + ;} + break; + + case 49: #line 517 "Gmsh.y" -{ + { ViewData->NbT3++; - ; - break;} -case 49: + ;} + break; + + case 50: #line 525 "Gmsh.y" -{ - ViewData->adaptive = new Adaptive_Post_View(ViewData, yyvsp[-5].l, yyvsp[-2].l); - ; - break;} -case 50: + { + ViewData->adaptive = new Adaptive_Post_View(ViewData, (yyvsp[(3) - (8)].l), (yyvsp[(6) - (8)].l)); + ;} + break; + + case 51: #line 532 "Gmsh.y" -{ - ViewData->adaptive = new Adaptive_Post_View(ViewData, yyvsp[-11].l, yyvsp[-8].l, yyvsp[-5].l, yyvsp[-2].l); - ; - break;} -case 51: + { + ViewData->adaptive = new Adaptive_Post_View(ViewData, (yyvsp[(3) - (14)].l), (yyvsp[(6) - (14)].l), (yyvsp[(9) - (14)].l), (yyvsp[(12) - (14)].l)); + ;} + break; + + case 52: #line 539 "Gmsh.y" -{ + { ViewValueList = ViewData->Time; - ; - break;} -case 52: + ;} + break; + + case 53: #line 543 "Gmsh.y" -{ - ; - break;} -case 53: + { + ;} + break; + + case 54: #line 550 "Gmsh.y" -{ yyval.i = 0; ; - break;} -case 54: + { (yyval.i) = 0; ;} + break; + + case 55: #line 551 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 55: + { (yyval.i) = 1; ;} + break; + + case 56: #line 552 "Gmsh.y" -{ yyval.i = 2; ; - break;} -case 56: + { (yyval.i) = 2; ;} + break; + + case 57: #line 553 "Gmsh.y" -{ yyval.i = 3; ; - break;} -case 57: + { (yyval.i) = 3; ;} + break; + + case 58: #line 554 "Gmsh.y" -{ yyval.i = 4; ; - break;} -case 58: + { (yyval.i) = 4; ;} + break; + + case 59: #line 558 "Gmsh.y" -{ yyval.i = 1; ; - break;} -case 59: + { (yyval.i) = 1; ;} + break; + + case 60: #line 559 "Gmsh.y" -{ yyval.i = -1; ; - break;} -case 60: + { (yyval.i) = -1; ;} + break; + + case 61: #line 567 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-3].c; + TheSymbol.Name = (yyvsp[(1) - (4)].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[(2) - (4)].i)){ TheSymbol.val = List_Create(1, 1, sizeof(double)); - List_Put(TheSymbol.val, 0, &yyvsp[-1].d); + List_Put(TheSymbol.val, 0, &(yyvsp[(3) - (4)].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[(1) - (4)].c)); + Free((yyvsp[(1) - (4)].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) - (4)].i)){ + case 0 : *pd = (yyvsp[(3) - (4)].d); break; + case 1 : *pd += (yyvsp[(3) - (4)].d); break; + case 2 : *pd -= (yyvsp[(3) - (4)].d); break; + case 3 : *pd *= (yyvsp[(3) - (4)].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[(3) - (4)].d)) *pd /= (yyvsp[(3) - (4)].d); + else yymsg(GERROR, "Division by zero in '%s /= %g'", (yyvsp[(1) - (4)].c), (yyvsp[(3) - (4)].d)); break; } - Free(yyvsp[-3].c); + Free((yyvsp[(1) - (4)].c)); } - ; - break;} -case 61: + ;} + break; + + case 62: #line 598 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-6].c; + TheSymbol.Name = (yyvsp[(1) - (7)].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[(5) - (7)].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[(3) - (7)].d), &(yyvsp[(6) - (7)].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[(1) - (7)].c)); + Free((yyvsp[(1) - (7)].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[(3) - (7)].d)))){ + switch((yyvsp[(5) - (7)].i)){ + case 0 : *pd = (yyvsp[(6) - (7)].d); break; + case 1 : *pd += (yyvsp[(6) - (7)].d); break; + case 2 : *pd -= (yyvsp[(6) - (7)].d); break; + case 3 : *pd *= (yyvsp[(6) - (7)].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[(6) - (7)].d)) *pd /= (yyvsp[(6) - (7)].d); + else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (7)].c), (int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].d)); break; } } else{ - if(!yyvsp[-2].i) - List_Put(pSymbol->val, (int)yyvsp[-4].d, &yyvsp[-1].d); + if(!(yyvsp[(5) - (7)].i)) + List_Put(pSymbol->val, (int)(yyvsp[(3) - (7)].d), &(yyvsp[(6) - (7)].d)); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-6].c, (int)yyvsp[-4].d); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (7)].c), (int)(yyvsp[(3) - (7)].d)); } - Free(yyvsp[-6].c); + Free((yyvsp[(1) - (7)].c)); } - ; - break;} -case 62: + ;} + break; + + case 63: #line 637 "Gmsh.y" -{ - if(List_Nbr(yyvsp[-5].l) != List_Nbr(yyvsp[-1].l)){ + { + if(List_Nbr((yyvsp[(4) - (9)].l)) != List_Nbr((yyvsp[(8) - (9)].l))){ yymsg(GERROR, "Incompatible array dimensions in affectation"); - Free(yyvsp[-8].c); + Free((yyvsp[(1) - (9)].c)); } else{ Symbol TheSymbol; - TheSymbol.Name = yyvsp[-8].c; + TheSymbol.Name = (yyvsp[(1) - (9)].c); Symbol *pSymbol; if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){ - if(!yyvsp[-2].i){ + if(!(yyvsp[(7) - (9)].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[(4) - (9)].l)); i++){ + List_Put(TheSymbol.val, (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i)), + (double*)List_Pointer((yyvsp[(8) - (9)].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[(1) - (9)].c)); + Free((yyvsp[(1) - (9)].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[(4) - (9)].l)); i++){ + int j = (int)(*(double*)List_Pointer((yyvsp[(4) - (9)].l), i)); + double d = *(double*)List_Pointer((yyvsp[(8) - (9)].l), i); double *pd; if((pd = (double*)List_Pointer_Test(pSymbol->val, j))){ - switch(yyvsp[-2].i){ + switch((yyvsp[(7) - (9)].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[(8) - (9)].l)) *pd /= d; + else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", (yyvsp[(1) - (9)].c), j, d); break; } } else{ - if(!yyvsp[-2].i) + if(!(yyvsp[(7) - (9)].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[(1) - (9)].c), j); } } - Free(yyvsp[-8].c); + Free((yyvsp[(1) - (9)].c)); } } - List_Delete(yyvsp[-5].l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 63: + List_Delete((yyvsp[(4) - (9)].l)); + List_Delete((yyvsp[(8) - (9)].l)); + ;} + break; + + case 64: #line 691 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[(1) - (6)].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[(5) - (6)].l), TheSymbol.val); Tree_Add(Symbol_T, &TheSymbol); } else{ List_Reset(pSymbol->val); - List_Copy(yyvsp[-1].l, pSymbol->val); - Free(yyvsp[-5].c); + List_Copy((yyvsp[(5) - (6)].l), pSymbol->val); + Free((yyvsp[(1) - (6)].c)); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 64: + List_Delete((yyvsp[(5) - (6)].l)); + ;} + break; + + case 65: #line 708 "Gmsh.y" -{ + { // appends to the list Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[(1) - (6)].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[(5) - (6)].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 65: + for(int i = 0; i < List_Nbr((yyvsp[(5) - (6)].l)); i++) + List_Add(pSymbol->val, List_Pointer((yyvsp[(5) - (6)].l), i)); + Free((yyvsp[(1) - (6)].c)); + } + List_Delete((yyvsp[(5) - (6)].l)); + ;} + break; + + case 66: #line 726 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[(1) - (3)].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[(1) - (3)].c)); else - *(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[-1].i; - Free(yyvsp[-2].c); - ; - break;} -case 66: + *(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[(2) - (3)].i); + Free((yyvsp[(1) - (3)].c)); + ;} + break; + + case 67: #line 737 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[(1) - (6)].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[(1) - (6)].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) - (6)].d)))) + *pd += (yyvsp[(5) - (6)].i); else - yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, (int)yyvsp[-3].d); + yymsg(GERROR, "Uninitialized variable '%s[%d]'", (yyvsp[(1) - (6)].c), (int)(yyvsp[(3) - (6)].d)); } - Free(yyvsp[-5].c); - ; - break;} -case 67: + Free((yyvsp[(1) - (6)].c)); + ;} + break; + + case 68: #line 754 "Gmsh.y" -{ + { Msg(WARNING, "Named string expressions not implemented yet"); - ; - break;} -case 68: + ;} + break; + + case 69: #line 761 "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[(1) - (6)].c)))) + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[(1) - (6)].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) - (6)].c), pStrCat))) + yymsg(GERROR, "Unknown string option '%s.%s'", (yyvsp[(1) - (6)].c), (yyvsp[(3) - (6)].c)); else - pStrOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].c); + pStrOpt(0, GMSH_SET|GMSH_GUI, (yyvsp[(5) - (6)].c)); } - Free(yyvsp[-5].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $5 - ; - break;} -case 69: + Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(3) - (6)].c)); //FIXME: somtimes leak $5 + ;} + break; + + case 70: #line 775 "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[(1) - (9)].c)))) + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[(1) - (9)].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[(6) - (9)].c), pStrCat))) + yymsg(GERROR, "Unknown string option '%s[%d].%s'", (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c)); else - pStrOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, yyvsp[-1].c); + pStrOpt((int)(yyvsp[(3) - (9)].d), GMSH_SET|GMSH_GUI, (yyvsp[(8) - (9)].c)); } - Free(yyvsp[-8].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $8 - ; - break;} -case 70: + Free((yyvsp[(1) - (9)].c)); Free((yyvsp[(6) - (9)].c)); //FIXME: somtimes leak $8 + ;} + break; + + case 71: #line 792 "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[(1) - (6)].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (6)].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) - (6)].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[(1) - (6)].c), (yyvsp[(3) - (6)].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[(4) - (6)].i)){ + case 0 : d = (yyvsp[(5) - (6)].d); break; + case 1 : d = pNumOpt(0, GMSH_GET, 0) + (yyvsp[(5) - (6)].d); break; + case 2 : d = pNumOpt(0, GMSH_GET, 0) - (yyvsp[(5) - (6)].d); break; + case 3 : d = pNumOpt(0, GMSH_GET, 0) * (yyvsp[(5) - (6)].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[(5) - (6)].d)) d = pNumOpt(0, GMSH_GET, 0) / (yyvsp[(5) - (6)].d); + else yymsg(GERROR, "Division by zero in '%s.%s /= %g'", (yyvsp[(1) - (6)].c), (yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d)); break; } pNumOpt(0, GMSH_SET|GMSH_GUI, d); } } - Free(yyvsp[-5].c); Free(yyvsp[-3].c); - ; - break;} -case 71: + Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(3) - (6)].c)); + ;} + break; + + case 72: #line 818 "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[(1) - (9)].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (9)].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[(6) - (9)].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].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[(7) - (9)].i)){ + case 0 : d = (yyvsp[(8) - (9)].d); break; + case 1 : d = pNumOpt((int)(yyvsp[(3) - (9)].d), GMSH_GET, 0) + (yyvsp[(8) - (9)].d); break; + case 2 : d = pNumOpt((int)(yyvsp[(3) - (9)].d), GMSH_GET, 0) - (yyvsp[(8) - (9)].d); break; + case 3 : d = pNumOpt((int)(yyvsp[(3) - (9)].d), GMSH_GET, 0) * (yyvsp[(8) - (9)].d); break; case 4 : - if(yyvsp[-1].d) d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) / yyvsp[-1].d; + if((yyvsp[(8) - (9)].d)) d = pNumOpt((int)(yyvsp[(3) - (9)].d), GMSH_GET, 0) / (yyvsp[(8) - (9)].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[(1) - (9)].c), (int)(yyvsp[(3) - (9)].d), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].d)); break; } - pNumOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, d); + pNumOpt((int)(yyvsp[(3) - (9)].d), GMSH_SET|GMSH_GUI, d); } } - Free(yyvsp[-8].c); Free(yyvsp[-3].c); - ; - break;} -case 72: + Free((yyvsp[(1) - (9)].c)); Free((yyvsp[(6) - (9)].c)); + ;} + break; + + case 73: #line 845 "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[(1) - (5)].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (5)].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[(3) - (5)].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[(1) - (5)].c), (yyvsp[(3) - (5)].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[(4) - (5)].i)); } - Free(yyvsp[-4].c); Free(yyvsp[-2].c); - ; - break;} -case 73: + Free((yyvsp[(1) - (5)].c)); Free((yyvsp[(3) - (5)].c)); + ;} + break; + + case 74: #line 859 "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[(1) - (8)].c)))) + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (8)].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[(6) - (8)].c), pNumCat))) + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[(1) - (8)].c), (int)(yyvsp[(3) - (8)].d), (yyvsp[(6) - (8)].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[(3) - (8)].d), GMSH_SET|GMSH_GUI, pNumOpt((int)(yyvsp[(3) - (8)].d), GMSH_GET, 0)+(yyvsp[(7) - (8)].i)); } - Free(yyvsp[-7].c); Free(yyvsp[-2].c); - ; - break;} -case 74: + Free((yyvsp[(1) - (8)].c)); Free((yyvsp[(6) - (8)].c)); + ;} + break; + + case 75: #line 876 "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[(1) - (8)].c)))) + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[(1) - (8)].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[(5) - (8)].c), pColCat))) + yymsg(GERROR, "Unknown color option '%s.Color.%s'", (yyvsp[(1) - (8)].c), (yyvsp[(5) - (8)].c)); else - pColOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].u); + pColOpt(0, GMSH_SET|GMSH_GUI, (yyvsp[(7) - (8)].u)); } - Free(yyvsp[-7].c); Free(yyvsp[-3].c); - ; - break;} -case 75: + Free((yyvsp[(1) - (8)].c)); Free((yyvsp[(5) - (8)].c)); + ;} + break; + + case 76: #line 890 "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[(1) - (11)].c)))) + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[(1) - (11)].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[(8) - (11)].c), pColCat))) + yymsg(GERROR, "Unknown color option '%s[%d].Color.%s'", (yyvsp[(1) - (11)].c), (int)(yyvsp[(3) - (11)].d), (yyvsp[(8) - (11)].c)); else - pColOpt((int)yyvsp[-8].d, GMSH_SET|GMSH_GUI, yyvsp[-1].u); + pColOpt((int)(yyvsp[(3) - (11)].d), GMSH_SET|GMSH_GUI, (yyvsp[(10) - (11)].u)); } - Free(yyvsp[-10].c); Free(yyvsp[-3].c); - ; - break;} -case 76: + Free((yyvsp[(1) - (11)].c)); Free((yyvsp[(8) - (11)].c)); + ;} + break; + + case 77: #line 907 "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[(5) - (6)].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[(5) - (6)].l), i, &ct->table[i]); if(ct->size == 1){ ct->size = 2; ct->table[1] = ct->table[0]; } } - Free(yyvsp[-5].c); - List_Delete(yyvsp[-1].l); - ; - break;} -case 77: + Free((yyvsp[(1) - (6)].c)); + List_Delete((yyvsp[(5) - (6)].l)); + ;} + break; + + case 78: #line 927 "Gmsh.y" -{ - GmshColorTable *ct = Get_ColorTable((int)yyvsp[-6].d); + { + GmshColorTable *ct = Get_ColorTable((int)(yyvsp[(3) - (9)].d)); if(!ct) - yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-6].d); + yymsg(GERROR, "View[%d] does not exist", (int)(yyvsp[(3) - (9)].d)); else{ - ct->size = List_Nbr(yyvsp[-1].l); + ct->size = List_Nbr((yyvsp[(8) - (9)].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[(3) - (9)].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[(8) - (9)].l), i, &ct->table[i]); if(ct->size == 1){ ct->size = 2; ct->table[1] = ct->table[0]; } } - Free(yyvsp[-8].c); - List_Delete(yyvsp[-1].l); - ; - break;} -case 78: + Free((yyvsp[(1) - (9)].c)); + List_Delete((yyvsp[(8) - (9)].l)); + ;} + break; + + case 79: #line 950 "Gmsh.y" -{ + { try { - GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].d); + GMSH_PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].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[(6) - (9)].c), (yyvsp[(3) - (9)].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-3].c); - ; - break;} -case 79: + Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); + ;} + break; + + case 80: #line 960 "Gmsh.y" -{ + { try { - GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].c); + GMSH_PluginManager::instance()->setPluginOption((yyvsp[(3) - (9)].c), (yyvsp[(6) - (9)].c), (yyvsp[(8) - (9)].c)); } catch (...) { - yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c); + yymsg(GERROR, "Unknown option '%s' or plugin '%s'", (yyvsp[(6) - (9)].c), (yyvsp[(3) - (9)].c)); } - Free(yyvsp[-6].c); Free(yyvsp[-3].c); // FIXME: sometimes leak $8 - ; - break;} -case 80: + Free((yyvsp[(3) - (9)].c)); Free((yyvsp[(6) - (9)].c)); // FIXME: sometimes leak $8 + ;} + break; + + case 81: #line 975 "Gmsh.y" -{ - yyval.i = (int)yyvsp[0].d; - ; - break;} -case 81: + { + (yyval.i) = (int)(yyvsp[(1) - (1)].d); + ;} + break; + + case 82: #line 979 "Gmsh.y" -{ - yyval.i = GModel::current()->setPhysicalName - (std::string(yyvsp[0].c), ++GModel::current()->getGEOInternals()->MaxPhysicalNum); - Free(yyvsp[0].c); - ; - break;} -case 82: + { + (yyval.i) = GModel::current()->setPhysicalName + (std::string((yyvsp[(1) - (1)].c)), ++GModel::current()->getGEOInternals()->MaxPhysicalNum); + Free((yyvsp[(1) - (1)].c)); + ;} + break; + + case 83: #line 992 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].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[(6) - (7)].v)[0]; + double y = CTX.geom.scaling_factor * (yyvsp[(6) - (7)].v)[1]; + double z = CTX.geom.scaling_factor * (yyvsp[(6) - (7)].v)[2]; + double lc = CTX.geom.scaling_factor * (yyvsp[(6) - (7)].v)[3]; Vertex *v; if(!myGmshSurface) v = Create_Vertex(num, x, y, z, lc, 1.0); @@ -3763,35 +4747,37 @@ case 82: Tree_Add(GModel::current()->getGEOInternals()->Points, &v); AddToTemporaryBoundingBox(v->Pos.X, v->Pos.Y, v->Pos.Z); } - yyval.s.Type = MSH_POINT; - yyval.s.Num = num; - ; - break;} -case 83: + (yyval.s).Type = MSH_POINT; + (yyval.s).Num = num; + ;} + break; + + case 84: #line 1014 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_POINT, temp); List_Delete(temp); List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_POINT; - yyval.s.Num = num; - ; - break;} -case 84: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_PHYSICAL_POINT; + (yyval.s).Num = num; + ;} + break; + + case 85: #line 1030 "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[(8) - (9)].l)); i++){ double d; - List_Read(yyvsp[-1].l, i, &d); + List_Read((yyvsp[(8) - (9)].l), i, &d); Vertex *v = FindPoint((int)d); if(v) att->addPoint(v->Pos.X, v->Pos.Y, v->Pos.Z); @@ -3802,109 +4788,117 @@ case 84: } } att->buildFastSearchStructures(); - fields.insert(att, (int)yyvsp[-4].d); + fields.insert(att, (int)(yyvsp[(5) - (9)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 85: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 86: #line 1051 "Gmsh.y" -{ - fields.insert(new LatLonField(fields.get((int)yyvsp[-1].d)), (int)yyvsp[-4].d); + { + fields.insert(new LatLonField(fields.get((int)(yyvsp[(7) - (8)].d))), (int)(yyvsp[(4) - (8)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 86: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 87: #line 1058 "Gmsh.y" -{ - int index = (int)yyvsp[-1].d; + { + int index = (int)(yyvsp[(7) - (8)].d); if(index >= 0 && index < PView::list.size()) - fields.insert(new PostViewField(PView::list[index]), (int)yyvsp[-4].d); + fields.insert(new PostViewField(PView::list[index]), (int)(yyvsp[(4) - (8)].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) - (8)].d), (int)(yyvsp[(7) - (8)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 87: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 88: #line 1069 "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[(7) - (8)].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[(7) - (8)].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) - (8)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 88: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 89: #line 1084 "Gmsh.y" -{ + { std::list<Field*> *flist = new std::list<Field*>; - fields.insert(new FunctionField(flist,yyvsp[-1].c), (int)yyvsp[-4].d); + fields.insert(new FunctionField(flist,(yyvsp[(7) - (8)].c)), (int)(yyvsp[(4) - (8)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 89: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 90: #line 1092 "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[(8) - (9)].l)); i++){ double id; - List_Read(yyvsp[-1].l, i, &id); + List_Read((yyvsp[(8) - (9)].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[(7) - (9)].c)), (int)(yyvsp[(4) - (9)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 90: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 91: #line 1107 "Gmsh.y" -{ - fields.insert(new StructuredField(yyvsp[-1].c), (int)yyvsp[-4].d); + { + fields.insert(new StructuredField((yyvsp[(7) - (8)].c)), (int)(yyvsp[(4) - (8)].d)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 91: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 92: #line 1114 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ double id; - List_Read(yyvsp[-1].l, i, &id); + List_Read((yyvsp[(4) - (5)].l), i, &id); BGMAddField(fields.get((int)id)); } // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 92: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 93: #line 1126 "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[(5) - (6)].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[(5) - (6)].l), i, &pars[i]); } // treshold attractor: first parameter is the treshold, next two // are the in and out size fields, last is transition factor @@ -3914,9 +4908,9 @@ case 92: 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) - (6)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(3) - (6)].l), i, &d); Vertex *v = FindPoint((int)d); if(v) attractor->addPoint(v->Pos.X, v->Pos.Y, v->Pos.Z); @@ -3928,19 +4922,20 @@ case 92: } attractor->buildFastSearchStructures(); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 93: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 94: #line 1160 "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[(5) - (6)].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[(5) - (6)].l), i, &pars[i]); } // treshold attractor: first parameter is the treshold, next two // are the in and out size fields, last is transition factor @@ -3950,9 +4945,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) - (6)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(3) - (6)].l), i, &d); Curve *c = FindCurve((int)d); if(c){ att->addCurve(c, (int)pars[3]); @@ -3966,323 +4961,338 @@ case 93: } att->buildFastSearchStructures(); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 94: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 95: #line 1196 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(3) - (6)].l), i, &d); Vertex *v = FindPoint((int)d); if(v) - v->lc = yyvsp[-1].d; + v->lc = (yyvsp[(5) - (6)].d); else{ GVertex *gv = GModel::current()->vertexByTag((int)d); if(gv) - gv->setPrescribedMeshSizeAtVertex(yyvsp[-1].d); + gv->setPrescribedMeshSizeAtVertex((yyvsp[(5) - (6)].d)); } } - List_Delete(yyvsp[-3].l); + List_Delete((yyvsp[(3) - (6)].l)); // dummy values - yyval.s.Type = 0; - yyval.s.Num = 0; - ; - break;} -case 95: + (yyval.s).Type = 0; + (yyval.s).Num = 0; + ;} + break; + + case 96: #line 1218 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_LINE, 1, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_LINE; - yyval.s.Num = num; - ; - break;} -case 96: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_LINE; + (yyval.s).Num = num; + ;} + break; + + case 97: #line 1236 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_SPLN, 3, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_SPLN; - yyval.s.Num = num; - ; - break;} -case 97: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_SPLN; + (yyval.s).Num = num; + ;} + break; + + case 98: #line 1254 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_CIRC; - yyval.s.Num = num; - ; - break;} -case 98: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_CIRC; + (yyval.s).Num = num; + ;} + break; + + case 99: #line 1272 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + { + int num = (int)(yyvsp[(3) - (9)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (9)].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[(8) - (9)].v)[0]; + c->Circle.n[1] = (yyvsp[(8) - (9)].v)[1]; + c->Circle.n[2] = (yyvsp[(8) - (9)].v)[2]; End_Curve(c); Tree_Add(GModel::current()->getGEOInternals()->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[(8) - (9)].v)[0]; + rc->Circle.n[1] = (yyvsp[(8) - (9)].v)[1]; + rc->Circle.n[2] = (yyvsp[(8) - (9)].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 99: + List_Delete((yyvsp[(6) - (9)].l)); + (yyval.s).Type = MSH_SEGM_CIRC; + (yyval.s).Num = num; + ;} + break; + + case 100: #line 1298 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_ELLI; - yyval.s.Num = num; - ; - break;} -case 100: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_ELLI; + (yyval.s).Num = num; + ;} + break; + + case 101: #line 1316 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + { + int num = (int)(yyvsp[(3) - (9)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (9)].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[(8) - (9)].v)[0]; + c->Circle.n[1] = (yyvsp[(8) - (9)].v)[1]; + c->Circle.n[2] = (yyvsp[(8) - (9)].v)[2]; End_Curve(c); Tree_Add(GModel::current()->getGEOInternals()->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[(8) - (9)].v)[0]; + rc->Circle.n[1] = (yyvsp[(8) - (9)].v)[1]; + rc->Circle.n[2] = (yyvsp[(8) - (9)].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 101: + List_Delete((yyvsp[(6) - (9)].l)); + (yyval.s).Type = MSH_SEGM_ELLI; + (yyval.s).Num = num; + ;} + break; + + case 102: #line 1343 "Gmsh.y" -{ - int num = (int)yyvsp[-14].d; + { + int num = (int)(yyvsp[(3) - (17)].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[(7) - (17)].d), (yyvsp[(9) - (17)].d)); + strcpy(c->functu, (yyvsp[(11) - (17)].c)); + strcpy(c->functv, (yyvsp[(13) - (17)].c)); + strcpy(c->functw, (yyvsp[(15) - (17)].c)); Tree_Add(GModel::current()->getGEOInternals()->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 102: + Free((yyvsp[(11) - (17)].c)); Free((yyvsp[(13) - (17)].c)); Free((yyvsp[(15) - (17)].c)); + (yyval.s).Type = MSH_SEGM_PARAMETRIC; + (yyval.s).Num = num; + ;} + break; + + case 103: #line 1362 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_BSPLN, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BSPLN; - yyval.s.Num = num; - ; - break;} -case 103: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_BSPLN; + (yyval.s).Num = num; + ;} + break; + + case 104: #line 1380 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].d); if(FindCurve(num)){ yymsg(GERROR, "Curve %d already exists", num); } else{ - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(6) - (7)].l)); Curve *c = Create_Curve(num, MSH_SEGM_BEZIER, 2, temp, NULL, -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->Curves, &c); CreateReversedCurve(c); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_BEZIER; - yyval.s.Num = num; - ; - break;} -case 104: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_SEGM_BEZIER; + (yyval.s).Num = num; + ;} + break; + + case 105: #line 1398 "Gmsh.y" -{ - int num = (int)yyvsp[-8].d; - if(List_Nbr(yyvsp[-5].l) + (int)yyvsp[-1].d + 1 != List_Nbr(yyvsp[-3].l)){ + { + int num = (int)(yyvsp[(3) - (11)].d); + if(List_Nbr((yyvsp[(6) - (11)].l)) + (int)(yyvsp[(10) - (11)].d) + 1 != List_Nbr((yyvsp[(8) - (11)].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[(3) - (11)].d), List_Nbr((yyvsp[(8) - (11)].l)), List_Nbr((yyvsp[(6) - (11)].l)), (int)(yyvsp[(10) - (11)].d), List_Nbr((yyvsp[(6) - (11)].l)) + (int)(yyvsp[(10) - (11)].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[(6) - (11)].l)); + Curve *c = Create_Curve(num, MSH_SEGM_NURBS, (int)(yyvsp[(10) - (11)].d), temp, (yyvsp[(8) - (11)].l), -1, -1, 0., 1.); Tree_Add(GModel::current()->getGEOInternals()->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 105: + List_Delete((yyvsp[(6) - (11)].l)); + List_Delete((yyvsp[(8) - (11)].l)); + (yyval.s).Type = MSH_SEGM_NURBS; + (yyval.s).Num = num; + ;} + break; + + case 106: #line 1424 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); sortEdgesInLoop(num, temp); EdgeLoop *l = Create_EdgeLoop(num, temp); Tree_Add(GModel::current()->getGEOInternals()->EdgeLoops, &l); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SEGM_LOOP; - yyval.s.Num = num; - ; - break;} -case 106: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_SEGM_LOOP; + (yyval.s).Num = num; + ;} + break; + + case 107: #line 1441 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_LINE, temp); List_Delete(temp); List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_LINE; - yyval.s.Num = num; - ; - break;} -case 107: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_PHYSICAL_LINE; + (yyval.s).Num = num; + ;} + break; + + case 108: #line 1460 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); setSurfaceGeneratrices(s, temp); List_Delete(temp); End_Surface(s); Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SURF_PLAN; - yyval.s.Num = num; - ; - break;} -case 108: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_SURF_PLAN; + (yyval.s).Num = num; + ;} + break; + + case 109: #line 1478 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l), 0, &d); EdgeLoop *el = FindEdgeLoop((int)fabs(d)); if(!el){ yymsg(GERROR, "Unknown line loop %d", (int)d); @@ -4301,49 +5311,53 @@ case 108: type = MSH_SURF_PLAN; } Surface *s = Create_Surface(num, type); - List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l); + List_T *temp = ListOfDouble2ListOfInt((yyvsp[(7) - (8)].l)); setSurfaceGeneratrices(s, temp); List_Delete(temp); End_Surface(s); Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s); } } - List_Delete(yyvsp[-1].l); - yyval.s.Type = type; - yyval.s.Num = num; - ; - break;} -case 109: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = type; + (yyval.s).Num = num; + ;} + break; + + case 110: #line 1516 "Gmsh.y" -{ + { myGmshSurface = 0; - ; - break;} -case 110: + ;} + break; + + case 111: #line 1520 "Gmsh.y" -{ - myGmshSurface = gmshSurface :: surfaceByTag ( (int) yyvsp[-1].d); - ; - break;} -case 111: + { + myGmshSurface = gmshSurface :: surfaceByTag ( (int) (yyvsp[(3) - (4)].d)); + ;} + break; + + case 112: #line 1524 "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 112: + { + int num = (int)(yyvsp[(4) - (10)].d), type = 0; + myGmshSurface = gmshParametricSurface::NewParametricSurface ((int)(yyvsp[(4) - (10)].d),(yyvsp[(7) - (10)].c),(yyvsp[(8) - (10)].c),(yyvsp[(9) - (10)].c)); + ;} + break; + + case 113: #line 1529 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; - if (List_Nbr(yyvsp[-1].l) != 2){ + { + int num = (int)(yyvsp[(3) - (7)].d), type = 0; + if (List_Nbr((yyvsp[(6) - (7)].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[(6) - (7)].l))); } else{ double p1,p2; - List_Read(yyvsp[-1].l, 0, &p1); - List_Read(yyvsp[-1].l, 1, &p2); + List_Read((yyvsp[(6) - (7)].l), 0, &p1); + List_Read((yyvsp[(6) - (7)].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); @@ -4354,20 +5368,21 @@ case 112: (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 113: + ;} + break; + + case 114: #line 1551 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d, type = 0; - if (List_Nbr(yyvsp[-1].l) != 2){ + { + int num = (int)(yyvsp[(3) - (7)].d), type = 0; + if (List_Nbr((yyvsp[(6) - (7)].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[(6) - (7)].l))); } else{ double p1,p2; - List_Read(yyvsp[-1].l, 0, &p1); - List_Read(yyvsp[-1].l, 1, &p2); + List_Read((yyvsp[(6) - (7)].l), 0, &p1); + List_Read((yyvsp[(6) - (7)].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); @@ -4378,388 +5393,418 @@ 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: + ;} + break; + + case 115: #line 1573 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); SurfaceLoop *l = Create_SurfaceLoop(num, temp); Tree_Add(GModel::current()->getGEOInternals()->SurfaceLoops, &l); List_Delete(temp); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_SURF_LOOP; - yyval.s.Num = num; - ; - break;} -case 115: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_SURF_LOOP; + (yyval.s).Num = num; + ;} + break; + + case 116: #line 1589 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_SURFACE, temp); List_Delete(temp); List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_SURFACE; - yyval.s.Num = num; - ; - break;} -case 116: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_PHYSICAL_SURFACE; + (yyval.s).Num = num; + ;} + break; + + case 117: #line 1609 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); setVolumeSurfaces(v, temp); List_Delete(temp); Tree_Add(GModel::current()->getGEOInternals()->Volumes, &v); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_VOLUME; - yyval.s.Num = num; - ; - break;} -case 117: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 118: #line 1626 "Gmsh.y" -{ - int num = (int)yyvsp[-4].d; + { + int num = (int)(yyvsp[(3) - (7)].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[(6) - (7)].l)); setVolumeSurfaces(v, temp); List_Delete(temp); Tree_Add(GModel::current()->getGEOInternals()->Volumes, &v); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_VOLUME; - yyval.s.Num = num; - ; - break;} -case 118: + List_Delete((yyvsp[(6) - (7)].l)); + (yyval.s).Type = MSH_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 119: #line 1643 "Gmsh.y" -{ - int num = (int)yyvsp[-4].i; + { + int num = (int)(yyvsp[(4) - (8)].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[(7) - (8)].l)); PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_VOLUME, temp); List_Delete(temp); List_Add(GModel::current()->getGEOInternals()->PhysicalGroups, &p); } - List_Delete(yyvsp[-1].l); - yyval.s.Type = MSH_PHYSICAL_VOLUME; - yyval.s.Num = num; - ; - break;} -case 119: + List_Delete((yyvsp[(7) - (8)].l)); + (yyval.s).Type = MSH_PHYSICAL_VOLUME; + (yyval.s).Num = num; + ;} + break; + + case 120: #line 1664 "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 120: + { + TranslateShapes((yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], (yyvsp[(4) - (5)].l)); + (yyval.l) = (yyvsp[(4) - (5)].l); + ;} + break; + + case 121: #line 1669 "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 121: + { + RotateShapes((yyvsp[(3) - (11)].v)[0], (yyvsp[(3) - (11)].v)[1], (yyvsp[(3) - (11)].v)[2], (yyvsp[(5) - (11)].v)[0], (yyvsp[(5) - (11)].v)[1], (yyvsp[(5) - (11)].v)[2], (yyvsp[(7) - (11)].d), (yyvsp[(10) - (11)].l)); + (yyval.l) = (yyvsp[(10) - (11)].l); + ;} + break; + + case 122: #line 1674 "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 122: + { + SymmetryShapes((yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], (yyvsp[(2) - (5)].v)[3], (yyvsp[(4) - (5)].l)); + (yyval.l) = (yyvsp[(4) - (5)].l); + ;} + break; + + case 123: #line 1679 "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 123: + { + DilatShapes((yyvsp[(3) - (9)].v)[0], (yyvsp[(3) - (9)].v)[1], (yyvsp[(3) - (9)].v)[2], (yyvsp[(5) - (9)].d), (yyvsp[(8) - (9)].l)); + (yyval.l) = (yyvsp[(8) - (9)].l); + ;} + break; + + case 124: #line 1684 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + (yyval.l) = List_Create(3, 3, sizeof(Shape)); + for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[(3) - (4)].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 124: + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 125: #line 1695 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - IntersectCurvesWithSurface(yyvsp[-5].l, (int)yyvsp[-1].d, yyval.l); - List_Delete(yyvsp[-5].l); - ; - break;} -case 125: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + IntersectCurvesWithSurface((yyvsp[(4) - (9)].l), (int)(yyvsp[(8) - (9)].d), (yyval.l)); + List_Delete((yyvsp[(4) - (9)].l)); + ;} + break; + + case 126: #line 1701 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(Shape)); - BoundaryShapes(yyvsp[-1].l, yyval.l); - List_Delete(yyvsp[-1].l); - ; - break;} -case 126: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + BoundaryShapes((yyvsp[(3) - (4)].l), (yyval.l)); + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 127: #line 1709 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 127: + { (yyval.l) = (yyvsp[(1) - (1)].l); ;} + break; + + case 128: #line 1710 "Gmsh.y" -{ yyval.l = yyvsp[0].l; ; - break;} -case 128: + { (yyval.l) = (yyvsp[(1) - (1)].l); ;} + break; + + case 129: #line 1715 "Gmsh.y" -{ - yyval.l = List_Create(3, 3, sizeof(Shape)); - ; - break;} -case 129: + { + (yyval.l) = List_Create(3, 3, sizeof(Shape)); + ;} + break; + + case 130: #line 1719 "Gmsh.y" -{ - List_Add(yyval.l, &yyvsp[0].s); - ; - break;} -case 130: + { + List_Add((yyval.l), &(yyvsp[(2) - (2)].s)); + ;} + break; + + case 131: #line 1723 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(4) - (6)].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::current()->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 131: + ;} + break; + + case 132: #line 1746 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(4) - (6)].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::current()->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 132: + ;} + break; + + case 133: #line 1769 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(4) - (6)].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::current()->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 133: + ;} + break; + + case 134: #line 1792 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (6)].l)); i++){ double d; - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(4) - (6)].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::current()->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 134: + ;} + break; + + case 135: #line 1820 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[(3) - (4)].l), i, &TheShape); DeleteShape(TheShape.Type, TheShape.Num); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 135: + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 136: #line 1829 "Gmsh.y" -{ - if(!strcmp(yyvsp[-4].c, "View")){ - int index = (int)yyvsp[-2].d; + { + if(!strcmp((yyvsp[(2) - (6)].c), "View")){ + int index = (int)(yyvsp[(4) - (6)].d); if(index >= 0 && index < PView::list.size()) delete PView::list[index]; else yymsg(GERROR, "Unknown view %d", index); } else - yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-4].c); - Free(yyvsp[-4].c); - ; - break;} -case 136: + yymsg(GERROR, "Unknown command 'Delete %s'", (yyvsp[(2) - (6)].c)); + Free((yyvsp[(2) - (6)].c)); + ;} + break; + + case 137: #line 1842 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "Meshes") || !strcmp(yyvsp[-1].c, "All")){ + { + if(!strcmp((yyvsp[(2) - (3)].c), "Meshes") || !strcmp((yyvsp[(2) - (3)].c), "All")){ GModel::current()->destroy(); GModel::current()->getGEOInternals()->destroy(); } - else if(!strcmp(yyvsp[-1].c, "Physicals")){ + else if(!strcmp((yyvsp[(2) - (3)].c), "Physicals")){ List_Action(GModel::current()->getGEOInternals()->PhysicalGroups, Free_PhysicalGroup); List_Reset(GModel::current()->getGEOInternals()->PhysicalGroups); GModel::current()->deletePhysicalGroups(); } else - yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-1].c); - Free(yyvsp[-1].c); - ; - break;} -case 137: + yymsg(GERROR, "Unknown command 'Delete %s'", (yyvsp[(2) - (3)].c)); + Free((yyvsp[(2) - (3)].c)); + ;} + break; + + case 138: #line 1858 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Empty") && !strcmp(yyvsp[-1].c, "Views")){ + { + if(!strcmp((yyvsp[(2) - (4)].c), "Empty") && !strcmp((yyvsp[(3) - (4)].c), "Views")){ for(int i = PView::list.size() - 1; i >= 0; i--) if(PView::list[i]->getData()->empty()) delete PView::list[i]; } else - yymsg(GERROR, "Unknown command 'Delete %s %s'", yyvsp[-2].c, yyvsp[-1].c); - Free(yyvsp[-2].c); Free(yyvsp[-1].c); - ; - break;} -case 138: + yymsg(GERROR, "Unknown command 'Delete %s %s'", (yyvsp[(2) - (4)].c), (yyvsp[(3) - (4)].c)); + Free((yyvsp[(2) - (4)].c)); Free((yyvsp[(3) - (4)].c)); + ;} + break; + + case 139: #line 1873 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(4) - (5)].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); - ColorShape(TheShape.Type, TheShape.Num, yyvsp[-3].u); + List_Read((yyvsp[(4) - (5)].l), i, &TheShape); + ColorShape(TheShape.Type, TheShape.Num, (yyvsp[(2) - (5)].u)); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 139: + List_Delete((yyvsp[(4) - (5)].l)); + ;} + break; + + case 140: #line 1887 "Gmsh.y" -{ + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 1); - Free(yyvsp[-1].c); - ; - break;} -case 140: + VisibilityShape((yyvsp[(2) - (3)].c), i, 1); + Free((yyvsp[(2) - (3)].c)); + ;} + break; + + case 141: #line 1893 "Gmsh.y" -{ + { for(int i = 0; i < 4; i++) - VisibilityShape(yyvsp[-1].c, i, 0); - Free(yyvsp[-1].c); - ; - break;} -case 141: + VisibilityShape((yyvsp[(2) - (3)].c), i, 0); + Free((yyvsp[(2) - (3)].c)); + ;} + break; + + case 142: #line 1899 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[(3) - (4)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 1); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 142: + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 143: #line 1908 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ Shape TheShape; - List_Read(yyvsp[-1].l, i, &TheShape); + List_Read((yyvsp[(3) - (4)].l), i, &TheShape); VisibilityShape(TheShape.Type, TheShape.Num, 0); } - List_Delete(yyvsp[-1].l); - ; - break;} -case 143: + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 144: #line 1922 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Include")){ + { + if(!strcmp((yyvsp[(1) - (3)].c), "Include")){ char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[(2) - (3)].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" @@ -4772,61 +5817,63 @@ case 143: SetBoundingBox(); Msg(STATUS2, "Read '%s'", tmpstring); } - else if(!strcmp(yyvsp[-2].c, "Print")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Print")){ #if defined(HAVE_FLTK) // make sure we have the latest data from GEO_Internals 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::current()->importGEOInternals(); char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[(2) - (3)].c), tmpstring); CreateOutputFile(tmpstring, CTX.print.format); #endif } - else if(!strcmp(yyvsp[-2].c, "Save")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Save")){ #if defined(HAVE_FLTK) GModel::current()->importGEOInternals(); char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[(2) - (3)].c), tmpstring); CreateOutputFile(tmpstring, CTX.mesh.format); #endif } - else if(!strcmp(yyvsp[-2].c, "Merge") || !strcmp(yyvsp[-2].c, "MergeWithBoundingBox")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Merge") || !strcmp((yyvsp[(1) - (3)].c), "MergeWithBoundingBox")){ // MergeWithBoundingBox is deprecated char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[(2) - (3)].c), tmpstring); MergeFile(tmpstring, 1); } - else if(!strcmp(yyvsp[-2].c, "System")) - SystemCall(yyvsp[-1].c); + else if(!strcmp((yyvsp[(1) - (3)].c), "System")) + SystemCall((yyvsp[(2) - (3)].c)); else - yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c); - Free(yyvsp[-2].c); Free(yyvsp[-1].c); - ; - break;} -case 144: + yymsg(GERROR, "Unknown command '%s'", (yyvsp[(1) - (3)].c)); + Free((yyvsp[(1) - (3)].c)); Free((yyvsp[(2) - (3)].c)); + ;} + break; + + case 145: #line 1970 "Gmsh.y" -{ - if(!strcmp(yyvsp[-6].c, "Save") && !strcmp(yyvsp[-5].c, "View")){ - int index = (int)yyvsp[-3].d; + { + if(!strcmp((yyvsp[(1) - (7)].c), "Save") && !strcmp((yyvsp[(2) - (7)].c), "View")){ + int index = (int)(yyvsp[(4) - (7)].d); if(index >= 0 && index < PView::list.size()){ char tmpstring[1024]; - FixRelativePath(yyvsp[-1].c, tmpstring); + FixRelativePath((yyvsp[(6) - (7)].c), tmpstring); PView::list[index]->write(tmpstring, CTX.post.file_format); } else yymsg(GERROR, "Unknown view %d", index); } else - yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c); - Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-1].c); - ; - break;} -case 145: + yymsg(GERROR, "Unknown command '%s'", (yyvsp[(1) - (7)].c)); + Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(6) - (7)].c)); + ;} + break; + + case 146: #line 1986 "Gmsh.y" -{ - if(!strcmp(yyvsp[-6].c, "Background") && !strcmp(yyvsp[-5].c, "Mesh") && !strcmp(yyvsp[-4].c, "View")){ - int index = (int)yyvsp[-2].d; + { + if(!strcmp((yyvsp[(1) - (7)].c), "Background") && !strcmp((yyvsp[(2) - (7)].c), "Mesh") && !strcmp((yyvsp[(3) - (7)].c), "View")){ + int index = (int)(yyvsp[(5) - (7)].d); if(index >= 0 && index < PView::list.size()){ Field *field = new PostViewField(PView::list[index]); fields.insert(field); @@ -4836,100 +5883,108 @@ case 145: yymsg(GERROR, "Unknown view %d", index); } else - yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c); - Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-4].c); - ; - break;} -case 146: + yymsg(GERROR, "Unknown command '%s'", (yyvsp[(1) - (7)].c)); + Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(2) - (7)].c)); Free((yyvsp[(3) - (7)].c)); + ;} + break; + + case 147: #line 2002 "Gmsh.y" -{ - if(!strcmp(yyvsp[-2].c, "Sleep")){ - SleepInSeconds(yyvsp[-1].d); + { + if(!strcmp((yyvsp[(1) - (3)].c), "Sleep")){ + SleepInSeconds((yyvsp[(2) - (3)].d)); } - else if(!strcmp(yyvsp[-2].c, "Remesh")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Remesh")){ Msg(GERROR, "Surface ReMeshing must be reinterfaced"); // ReMesh(); } - else if(!strcmp(yyvsp[-2].c, "Mesh")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Mesh")){ yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts"); } - else if(!strcmp(yyvsp[-2].c, "Status")){ + else if(!strcmp((yyvsp[(1) - (3)].c), "Status")){ yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts"); } else - yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c); - Free(yyvsp[-2].c); - ; - break;} -case 147: + yymsg(GERROR, "Unknown command '%s'", (yyvsp[(1) - (3)].c)); + Free((yyvsp[(1) - (3)].c)); + ;} + break; + + case 148: #line 2021 "Gmsh.y" -{ + { try { - GMSH_PluginManager::instance()->action(yyvsp[-4].c, yyvsp[-1].c, 0); + GMSH_PluginManager::instance()->action((yyvsp[(3) - (7)].c), (yyvsp[(6) - (7)].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[(6) - (7)].c), (yyvsp[(3) - (7)].c)); } - Free(yyvsp[-4].c); Free(yyvsp[-1].c); - ; - break;} -case 148: + Free((yyvsp[(3) - (7)].c)); Free((yyvsp[(6) - (7)].c)); + ;} + break; + + case 149: #line 2031 "Gmsh.y" -{ - if(!strcmp(yyvsp[-1].c, "ElementsFromAllViews")) + { + if(!strcmp((yyvsp[(2) - (3)].c), "ElementsFromAllViews")) PView::combine(false, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "ElementsFromVisibleViews")) + else if(!strcmp((yyvsp[(2) - (3)].c), "ElementsFromVisibleViews")) PView::combine(false, 0, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "ElementsByViewName")) + else if(!strcmp((yyvsp[(2) - (3)].c), "ElementsByViewName")) PView::combine(false, 2, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsFromAllViews")) + else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsFromAllViews")) PView::combine(true, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsFromVisibleViews")) + else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsFromVisibleViews")) PView::combine(true, 0, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeStepsByViewName")) + else if(!strcmp((yyvsp[(2) - (3)].c), "TimeStepsByViewName")) PView::combine(true, 2, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "Views")) + else if(!strcmp((yyvsp[(2) - (3)].c), "Views")) PView::combine(false, 1, CTX.post.combine_remove_orig); - else if(!strcmp(yyvsp[-1].c, "TimeSteps")) + else if(!strcmp((yyvsp[(2) - (3)].c), "TimeSteps")) PView::combine(true, 2, CTX.post.combine_remove_orig); else yymsg(GERROR, "Unknown 'Combine' command"); - Free(yyvsp[-1].c); - ; - break;} -case 149: + Free((yyvsp[(2) - (3)].c)); + ;} + break; + + case 150: #line 2053 "Gmsh.y" -{ + { exit(0); - ; - break;} -case 150: + ;} + break; + + case 151: #line 2057 "Gmsh.y" -{ + { CTX.forced_bbox = 0; SetBoundingBox(); - ; - break;} -case 151: + ;} + break; + + case 152: #line 2062 "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 152: + SetBoundingBox((yyvsp[(3) - (15)].d), (yyvsp[(5) - (15)].d), (yyvsp[(7) - (15)].d), (yyvsp[(9) - (15)].d), (yyvsp[(11) - (15)].d), (yyvsp[(13) - (15)].d)); + ;} + break; + + case 153: #line 2067 "Gmsh.y" -{ + { #if defined(HAVE_FLTK) Draw(); #endif - ; - break;} -case 153: + ;} + break; + + case 154: #line 2079 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (6)].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (6)].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; LoopControlVariablesNameTab[ImbricatedLoop] = NULL; fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); @@ -4939,15 +5994,16 @@ case 153: 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 154: + if((yyvsp[(3) - (6)].d) > (yyvsp[(5) - (6)].d)) skip_until("For", "EndFor"); + ;} + break; + + case 155: #line 2094 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-5].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][2] = yyvsp[-1].d; + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(3) - (8)].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(5) - (8)].d); + LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[(7) - (8)].d); LoopControlVariablesNameTab[ImbricatedLoop] = NULL; fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; @@ -4956,27 +6012,28 @@ case 154: 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[(7) - (8)].d) > 0. && (yyvsp[(3) - (8)].d) > (yyvsp[(5) - (8)].d)) || ((yyvsp[(7) - (8)].d) < 0. && (yyvsp[(3) - (8)].d) < (yyvsp[(5) - (8)].d))) skip_until("For", "EndFor"); - ; - break;} -case 155: + ;} + break; + + case 156: #line 2110 "Gmsh.y" -{ - LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d; - LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d; + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(5) - (8)].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(7) - (8)].d); LoopControlVariablesTab[ImbricatedLoop][2] = 1.0; - LoopControlVariablesNameTab[ImbricatedLoop] = yyvsp[-6].c; + LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[(2) - (8)].c); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-6].c; + TheSymbol.Name = (yyvsp[(2) - (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[-3].d); + List_Put(TheSymbol.val, 0, &(yyvsp[(5) - (8)].d)); Tree_Add(Symbol_T, &TheSymbol); } else - List_Write(pSymbol->val, 0, &yyvsp[-3].d); + List_Write(pSymbol->val, 0, &(yyvsp[(5) - (8)].d)); fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; ImbricatedLoop++; @@ -4984,26 +6041,27 @@ case 155: 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 156: + if((yyvsp[(5) - (8)].d) > (yyvsp[(7) - (8)].d)) skip_until("For", "EndFor"); + ;} + break; + + case 157: #line 2135 "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; + { + LoopControlVariablesTab[ImbricatedLoop][0] = (yyvsp[(5) - (10)].d); + LoopControlVariablesTab[ImbricatedLoop][1] = (yyvsp[(7) - (10)].d); + LoopControlVariablesTab[ImbricatedLoop][2] = (yyvsp[(9) - (10)].d); + LoopControlVariablesNameTab[ImbricatedLoop] = (yyvsp[(2) - (10)].c); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-8].c; + TheSymbol.Name = (yyvsp[(2) - (10)].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) - (10)].d)); Tree_Add(Symbol_T, &TheSymbol); } else - List_Write(pSymbol->val, 0, &yyvsp[-5].d); + List_Write(pSymbol->val, 0, &(yyvsp[(5) - (10)].d)); fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]); yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno; ImbricatedLoop++; @@ -5011,13 +6069,14 @@ case 156: 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[(9) - (10)].d) > 0. && (yyvsp[(5) - (10)].d) > (yyvsp[(7) - (10)].d)) || ((yyvsp[(9) - (10)].d) < 0. && (yyvsp[(5) - (10)].d) < (yyvsp[(7) - (10)].d))) skip_until("For", "EndFor"); - ; - break;} -case 157: + ;} + break; + + case 158: #line 2161 "Gmsh.y" -{ + { if(ImbricatedLoop <= 0){ yymsg(GERROR, "Invalid For/EndFor loop"); ImbricatedLoop = 0; @@ -5046,544 +6105,600 @@ case 157: else ImbricatedLoop--; } - ; - break;} -case 158: + ;} + break; + + case 159: #line 2192 "Gmsh.y" -{ - if(!FunctionManager::Instance()->createFunction(yyvsp[0].c, yyin, yyname, yylineno)) - yymsg(GERROR, "Redefinition of function %s", yyvsp[0].c); + { + if(!FunctionManager::Instance()->createFunction((yyvsp[(2) - (2)].c), yyin, yyname, yylineno)) + yymsg(GERROR, "Redefinition of function %s", (yyvsp[(2) - (2)].c)); skip_until(NULL, "Return"); //FIXME: wee leak $2 - ; - break;} -case 159: + ;} + break; + + case 160: #line 2199 "Gmsh.y" -{ + { if(!FunctionManager::Instance()->leaveFunction(&yyin, yyname, yylineno)) yymsg(GERROR, "Error while exiting function"); - ; - break;} -case 160: + ;} + break; + + case 161: #line 2204 "Gmsh.y" -{ - if(!FunctionManager::Instance()->enterFunction(yyvsp[-1].c, &yyin, yyname, yylineno)) - yymsg(GERROR, "Unknown function %s", yyvsp[-1].c); + { + if(!FunctionManager::Instance()->enterFunction((yyvsp[(2) - (3)].c), &yyin, yyname, yylineno)) + yymsg(GERROR, "Unknown function %s", (yyvsp[(2) - (3)].c)); //FIXME: wee leak $2 - ; - break;} -case 161: + ;} + break; + + case 162: #line 2210 "Gmsh.y" -{ - if(!yyvsp[-1].d) skip_until("If", "EndIf"); - ; - break;} -case 162: + { + if(!(yyvsp[(3) - (4)].d)) skip_until("If", "EndIf"); + ;} + break; + + case 163: #line 2214 "Gmsh.y" -{ - ; - break;} -case 163: + { + ;} + break; + + case 164: #line 2223 "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 164: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE, (yyvsp[(4) - (5)].l), + (yyvsp[(2) - (5)].v)[0], (yyvsp[(2) - (5)].v)[1], (yyvsp[(2) - (5)].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + List_Delete((yyvsp[(4) - (5)].l)); + ;} + break; + + case 165: #line 2231 "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 165: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(ROTATE, (yyvsp[(10) - (11)].l), + 0., 0., 0., (yyvsp[(3) - (11)].v)[0], (yyvsp[(3) - (11)].v)[1], (yyvsp[(3) - (11)].v)[2], (yyvsp[(5) - (11)].v)[0], (yyvsp[(5) - (11)].v)[1], (yyvsp[(5) - (11)].v)[2], (yyvsp[(7) - (11)].d), + NULL, (yyval.l)); + List_Delete((yyvsp[(10) - (11)].l)); + ;} + break; + + case 166: #line 2239 "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 166: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[(12) - (13)].l), + (yyvsp[(3) - (13)].v)[0], (yyvsp[(3) - (13)].v)[1], (yyvsp[(3) - (13)].v)[2], (yyvsp[(5) - (13)].v)[0], (yyvsp[(5) - (13)].v)[1], (yyvsp[(5) - (13)].v)[2], (yyvsp[(7) - (13)].v)[0], (yyvsp[(7) - (13)].v)[1], (yyvsp[(7) - (13)].v)[2], (yyvsp[(9) - (13)].d), + NULL, (yyval.l)); + List_Delete((yyvsp[(12) - (13)].l)); + ;} + break; + + case 167: #line 2247 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 167: + ;} + break; + + case 168: #line 2251 "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 168: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE, (yyvsp[(4) - (7)].l), + (yyvsp[(2) - (7)].v)[0], (yyvsp[(2) - (7)].v)[1], (yyvsp[(2) - (7)].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + List_Delete((yyvsp[(4) - (7)].l)); + ;} + break; + + case 169: #line 2259 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 169: + ;} + break; + + case 170: #line 2263 "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 170: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(ROTATE, (yyvsp[(10) - (13)].l), + 0., 0., 0., (yyvsp[(3) - (13)].v)[0], (yyvsp[(3) - (13)].v)[1], (yyvsp[(3) - (13)].v)[2], (yyvsp[(5) - (13)].v)[0], (yyvsp[(5) - (13)].v)[1], (yyvsp[(5) - (13)].v)[2], (yyvsp[(7) - (13)].d), + &extr, (yyval.l)); + List_Delete((yyvsp[(10) - (13)].l)); + ;} + break; + + case 171: #line 2271 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 171: + ;} + break; + + case 172: #line 2275 "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 172: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(TRANSLATE_ROTATE, (yyvsp[(12) - (15)].l), + (yyvsp[(3) - (15)].v)[0], (yyvsp[(3) - (15)].v)[1], (yyvsp[(3) - (15)].v)[2], (yyvsp[(5) - (15)].v)[0], (yyvsp[(5) - (15)].v)[1], (yyvsp[(5) - (15)].v)[2], (yyvsp[(7) - (15)].v)[0], (yyvsp[(7) - (15)].v)[1], (yyvsp[(7) - (15)].v)[2], (yyvsp[(9) - (15)].d), + &extr, (yyval.l)); + List_Delete((yyvsp[(12) - (15)].l)); + ;} + break; + + case 173: #line 2283 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 173: + ;} + break; + + case 174: #line 2287 "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 174: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShapes(BOUNDARY_LAYER, (yyvsp[(3) - (6)].l), 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + List_Delete((yyvsp[(3) - (6)].l)); + ;} + break; + + case 175: #line 2294 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 175: + ;} + break; + + case 176: #line 2298 "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); + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + extr.mesh.ViewIndex = (int)(yyvsp[(4) - (10)].d); + ExtrudeShapes(BOUNDARY_LAYER, (yyvsp[(7) - (10)].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 176: + Free((yyvsp[(2) - (10)].c)); + List_Delete((yyvsp[(7) - (10)].l)); + ;} + break; + + case 177: #line 2310 "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 177: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[(4) - (8)].d), + (yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 178: #line 2317 "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 178: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (8)].d), + (yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 179: #line 2324 "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 179: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (8)].d), + (yyvsp[(6) - (8)].v)[0], (yyvsp[(6) - (8)].v)[1], (yyvsp[(6) - (8)].v)[2], 0., 0., 0., 0., 0., 0., 0., + NULL, (yyval.l)); + ;} + break; + + case 180: #line 2331 "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 180: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[(4) - (12)].d), + 0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d), + NULL, (yyval.l)); + ;} + break; + + case 181: #line 2338 "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 181: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (12)].d), + 0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d), + NULL, (yyval.l)); + ;} + break; + + case 182: #line 2345 "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 182: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (12)].d), + 0., 0., 0., (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], (yyvsp[(8) - (12)].v)[0], (yyvsp[(8) - (12)].v)[1], (yyvsp[(8) - (12)].v)[2], (yyvsp[(10) - (12)].d), + NULL, (yyval.l)); + ;} + break; + + case 183: #line 2352 "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 183: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[(4) - (14)].d), + (yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d), + NULL, (yyval.l)); + ;} + break; + + case 184: #line 2359 "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 184: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (14)].d), + (yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d), + NULL, (yyval.l)); + ;} + break; + + case 185: #line 2366 "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 185: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (14)].d), + (yyvsp[(6) - (14)].v)[0], (yyvsp[(6) - (14)].v)[1], (yyvsp[(6) - (14)].v)[2], (yyvsp[(8) - (14)].v)[0], (yyvsp[(8) - (14)].v)[1], (yyvsp[(8) - (14)].v)[2], (yyvsp[(10) - (14)].v)[0], (yyvsp[(10) - (14)].v)[1], (yyvsp[(10) - (14)].v)[2], (yyvsp[(12) - (14)].d), + NULL, (yyval.l)); + ;} + break; + + case 186: #line 2373 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 186: + ;} + break; + + case 187: #line 2377 "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 187: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_POINT, (int)(yyvsp[(4) - (12)].d), + (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 188: #line 2384 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 188: + ;} + break; + + case 189: #line 2388 "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 189: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (12)].d), + (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 190: #line 2395 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 190: + ;} + break; + + case 191: #line 2399 "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 191: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (12)].d), + (yyvsp[(6) - (12)].v)[0], (yyvsp[(6) - (12)].v)[1], (yyvsp[(6) - (12)].v)[2], 0., 0., 0., 0., 0., 0., 0., + &extr, (yyval.l)); + ;} + break; + + case 192: #line 2406 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 192: + ;} + break; + + case 193: #line 2410 "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 193: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_POINT, (int)(yyvsp[(4) - (16)].d), + 0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d), + &extr, (yyval.l)); + ;} + break; + + case 194: #line 2417 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 194: + ;} + break; + + case 195: #line 2421 "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 195: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (16)].d), + 0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d), + &extr, (yyval.l)); + ;} + break; + + case 196: #line 2428 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 196: + ;} + break; + + case 197: #line 2432 "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 197: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (16)].d), + 0., 0., 0., (yyvsp[(6) - (16)].v)[0], (yyvsp[(6) - (16)].v)[1], (yyvsp[(6) - (16)].v)[2], (yyvsp[(8) - (16)].v)[0], (yyvsp[(8) - (16)].v)[1], (yyvsp[(8) - (16)].v)[2], (yyvsp[(10) - (16)].d), + &extr, (yyval.l)); + ;} + break; + + case 198: #line 2439 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 198: + ;} + break; + + case 199: #line 2443 "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 199: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)(yyvsp[(4) - (18)].d), + (yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d), + &extr, (yyval.l)); + ;} + break; + + case 200: #line 2450 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 200: + ;} + break; + + case 201: #line 2454 "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 201: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)(yyvsp[(4) - (18)].d), + (yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d), + &extr, (yyval.l)); + ;} + break; + + case 202: #line 2461 "Gmsh.y" -{ + { extr.mesh.ExtrudeMesh = extr.mesh.Recombine = false; - ; - break;} -case 202: + ;} + break; + + case 203: #line 2465 "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 203: + { + (yyval.l) = List_Create(2, 1, sizeof(Shape)); + ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)(yyvsp[(4) - (18)].d), + (yyvsp[(6) - (18)].v)[0], (yyvsp[(6) - (18)].v)[1], (yyvsp[(6) - (18)].v)[2], (yyvsp[(8) - (18)].v)[0], (yyvsp[(8) - (18)].v)[1], (yyvsp[(8) - (18)].v)[2], (yyvsp[(10) - (18)].v)[0], (yyvsp[(10) - (18)].v)[1], (yyvsp[(10) - (18)].v)[2], (yyvsp[(12) - (18)].d), + &extr, (yyval.l)); + ;} + break; + + case 204: #line 2476 "Gmsh.y" -{ - ; - break;} -case 204: + { + ;} + break; + + case 205: #line 2479 "Gmsh.y" -{ - ; - break;} -case 205: + { + ;} + break; + + case 206: #line 2485 "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[(3) - (5)].d))); extr.mesh.hLayer.push_back(1.); - ; - break;} -case 206: + ;} + break; + + case 207: #line 2494 "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[(3) - (7)].l)); + if(List_Nbr((yyvsp[(3) - (7)].l)) == List_Nbr((yyvsp[(5) - (7)].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[(3) - (7)].l)); i++){ + List_Read((yyvsp[(3) - (7)].l), i, &d); extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1); - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(5) - (7)].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 207: + yymsg(GERROR, "Wrong layer definition {%d, %d}", List_Nbr((yyvsp[(3) - (7)].l)), List_Nbr((yyvsp[(5) - (7)].l))); + List_Delete((yyvsp[(3) - (7)].l)); + List_Delete((yyvsp[(5) - (7)].l)); + ;} + break; + + case 208: #line 2514 "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[(3) - (9)].l)); + if(List_Nbr((yyvsp[(3) - (9)].l)) == List_Nbr((yyvsp[(5) - (9)].l)) && List_Nbr((yyvsp[(3) - (9)].l)) == List_Nbr((yyvsp[(7) - (9)].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[(3) - (9)].l)); i++){ + List_Read((yyvsp[(3) - (9)].l), i, &d); extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1); - List_Read(yyvsp[-2].l, i, &d); + List_Read((yyvsp[(7) - (9)].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 208: + yymsg(GERROR, "Wrong layer definition {%d, %d, %d}", List_Nbr((yyvsp[(3) - (9)].l)), + List_Nbr((yyvsp[(5) - (9)].l)), List_Nbr((yyvsp[(7) - (9)].l))); + List_Delete((yyvsp[(3) - (9)].l)); + List_Delete((yyvsp[(5) - (9)].l)); + List_Delete((yyvsp[(7) - (9)].l)); + ;} + break; + + case 209: #line 2537 "Gmsh.y" -{ + { extr.mesh.Recombine = true; - ; - break;} -case 209: + ;} + break; + + case 210: #line 2541 "Gmsh.y" -{ - int num = (int)yyvsp[-6].d; + { + int num = (int)(yyvsp[(3) - (9)].d); if(FindSurface(num)){ yymsg(GERROR, "Surface %d already exists", num); } else{ Surface *s = Create_Surface(num, MSH_SURF_DISCRETE); Tree_Add(GModel::current()->getGEOInternals()->Surfaces, &s); - extr.mesh.Holes[num].first = yyvsp[-1].d; + extr.mesh.Holes[num].first = (yyvsp[(8) - (9)].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[(6) - (9)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(6) - (9)].l), i, &d); extr.mesh.Holes[num].second.push_back((int)d); } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 210: + List_Delete((yyvsp[(6) - (9)].l)); + ;} + break; + + case 211: #line 2565 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(3) - (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[-1].d>2)?(int)yyvsp[-1].d:2; + c->ipar[0] = ((yyvsp[(5) - (6)].d)>2)?(int)(yyvsp[(5) - (6)].d):2; c->ipar[1] = sign(d); c->dpar[0] = 1.0; } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 211: + List_Delete((yyvsp[(3) - (6)].l)); + ;} + break; + + case 212: #line 2583 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (9)].l)); i++){ double d; - List_Read(yyvsp[-6].l, i, &d); + List_Read((yyvsp[(3) - (9)].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[(5) - (9)].d)>2)?(int)(yyvsp[(5) - (9)].d):2; c->ipar[1] = sign(d); /* Progresion : code 1 ou -1 */ - c->dpar[0] = fabs(yyvsp[-1].d); + c->dpar[0] = fabs((yyvsp[(8) - (9)].d)); } } - List_Delete(yyvsp[-6].l); - ; - break;} -case 212: + List_Delete((yyvsp[(3) - (9)].l)); + ;} + break; + + case 213: #line 2601 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (9)].l)); i++){ double d; - List_Read(yyvsp[-6].l, i, &d); + List_Read((yyvsp[(3) - (9)].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[(5) - (9)].d)>2)?(int)(yyvsp[(5) - (9)].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[(8) - (9)].d)); } } - List_Delete(yyvsp[-6].l); - ; - break;} -case 213: + List_Delete((yyvsp[(3) - (9)].l)); + ;} + break; + + case 214: #line 2619 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-4].d); + { + Surface *s = FindSurface((int)(yyvsp[(4) - (8)].d)); if(!s) - yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-4].d); + yymsg(WARNING, "Unknown surface %d", (int)(yyvsp[(4) - (8)].d)); else{ s->Method = TRANSFINI; s->Recombine_Dir = -1; - int k = List_Nbr(yyvsp[-1].l); + int k = List_Nbr((yyvsp[(7) - (8)].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) - (8)].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[(7) - (8)].l), i, &d); int j = (int)fabs(d); Vertex *v = FindPoint(j); if(!v) @@ -5593,33 +6708,34 @@ case 213: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 214: + List_Delete((yyvsp[(7) - (8)].l)); + ;} + break; + + case 215: #line 2648 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-5].d); + { + Surface *s = FindSurface((int)(yyvsp[(4) - (9)].d)); if(!s) - yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-5].d); + yymsg(WARNING, "Unknown surface %d", (int)(yyvsp[(4) - (9)].d)); else{ s->Method = TRANSFINI; - int k = List_Nbr(yyvsp[-2].l); + int k = List_Nbr((yyvsp[(7) - (9)].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[(4) - (9)].d), k); } else{ List_Reset(s->TrsfPoints); - if (!strcmp(yyvsp[-1].c, "Right")) + if (!strcmp((yyvsp[(8) - (9)].c), "Right")) s->Recombine_Dir = 1; - else if (!strcmp(yyvsp[-1].c, "Left")) + else if (!strcmp((yyvsp[(8) - (9)].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[(7) - (9)].l), i, &d); int j = (int)fabs(d); Vertex *v = FindPoint(j); if(!v) @@ -5629,34 +6745,36 @@ case 214: } } } - List_Delete(yyvsp[-2].l); - Free(yyvsp[-1].c); - ; - break;} -case 215: + List_Delete((yyvsp[(7) - (9)].l)); + Free((yyvsp[(8) - (9)].c)); + ;} + break; + + case 216: #line 2683 "Gmsh.y" -{ + { yymsg(WARNING, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)"); - List_Delete(yyvsp[-1].l); - ; - break;} -case 216: + List_Delete((yyvsp[(7) - (8)].l)); + ;} + break; + + case 217: #line 2688 "Gmsh.y" -{ - Volume *v = FindVolume((int)yyvsp[-4].d); + { + Volume *v = FindVolume((int)(yyvsp[(4) - (8)].d)); if(!v) - yymsg(WARNING, "Unknown volume %d", (int)yyvsp[-4].d); + yymsg(WARNING, "Unknown volume %d", (int)(yyvsp[(4) - (8)].d)); else{ v->Method = TRANSFINI; - int k = List_Nbr(yyvsp[-1].l); + int k = List_Nbr((yyvsp[(7) - (8)].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) - (8)].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[(7) - (8)].l), i, &d); int j = (int)fabs(d); Vertex *vert = FindPoint(j); if(!vert) @@ -5666,1262 +6784,1393 @@ case 216: } } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 217: + List_Delete((yyvsp[(7) - (8)].l)); + ;} + break; + + case 218: #line 2715 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (6)].l)); i++){ double d; - List_Read(yyvsp[-3].l, i, &d); + List_Read((yyvsp[(3) - (6)].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[(5) - (6)].d) > 0 && (yyvsp[(5) - (6)].d) < 90) ? (yyvsp[(5) - (6)].d) : 90; } } - List_Delete(yyvsp[-3].l); - ; - break;} -case 218: + List_Delete((yyvsp[(3) - (6)].l)); + ;} + break; + + case 219: #line 2729 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (4)].l)); i++){ double d; - List_Read(yyvsp[-1].l, i, &d); + List_Read((yyvsp[(3) - (4)].l), i, &d); int j = (int)d; Surface *s = FindSurface(j); if(s){ s->Recombine = 1; } } - List_Delete(yyvsp[-1].l); - ; - break;} -case 219: + List_Delete((yyvsp[(3) - (4)].l)); + ;} + break; + + case 220: #line 2748 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-2].d); + { + Surface *s = FindSurface((int)(yyvsp[(8) - (10)].d)); if(s) - setSurfaceEmbeddedPoints(s, yyvsp[-7].l); - ; - break;} -case 220: + setSurfaceEmbeddedPoints(s, (yyvsp[(3) - (10)].l)); + ;} + break; + + case 221: #line 2754 "Gmsh.y" -{ - Surface *s = FindSurface((int)yyvsp[-2].d); + { + Surface *s = FindSurface((int)(yyvsp[(8) - (10)].d)); if(s) - setSurfaceEmbeddedCurves(s, yyvsp[-7].l); - ; - break;} -case 221: + setSurfaceEmbeddedCurves(s, (yyvsp[(3) - (10)].l)); + ;} + break; + + case 222: #line 2760 "Gmsh.y" -{ - ; - break;} -case 222: + { + ;} + break; + + case 223: #line 2763 "Gmsh.y" -{ - ; - break;} -case 223: + { + ;} + break; + + case 224: #line 2772 "Gmsh.y" -{ + { ReplaceAllDuplicates(); - ; - break;} -case 224: + ;} + break; + + case 225: #line 2781 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 225: + { (yyval.d) = (yyvsp[(1) - (1)].d); ;} + break; + + case 226: #line 2782 "Gmsh.y" -{ yyval.d = yyvsp[-1].d; ; - break;} -case 226: + { (yyval.d) = (yyvsp[(2) - (3)].d); ;} + break; + + case 227: #line 2783 "Gmsh.y" -{ yyval.d = -yyvsp[0].d; ; - break;} -case 227: + { (yyval.d) = -(yyvsp[(2) - (2)].d); ;} + break; + + case 228: #line 2784 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 228: + { (yyval.d) = (yyvsp[(2) - (2)].d); ;} + break; + + case 229: #line 2785 "Gmsh.y" -{ yyval.d = !yyvsp[0].d; ; - break;} -case 229: + { (yyval.d) = !(yyvsp[(2) - (2)].d); ;} + break; + + case 230: #line 2786 "Gmsh.y" -{ yyval.d = yyvsp[-2].d - yyvsp[0].d; ; - break;} -case 230: + { (yyval.d) = (yyvsp[(1) - (3)].d) - (yyvsp[(3) - (3)].d); ;} + break; + + case 231: #line 2787 "Gmsh.y" -{ yyval.d = yyvsp[-2].d + yyvsp[0].d; ; - break;} -case 231: + { (yyval.d) = (yyvsp[(1) - (3)].d) + (yyvsp[(3) - (3)].d); ;} + break; + + case 232: #line 2788 "Gmsh.y" -{ yyval.d = yyvsp[-2].d * yyvsp[0].d; ; - break;} -case 232: + { (yyval.d) = (yyvsp[(1) - (3)].d) * (yyvsp[(3) - (3)].d); ;} + break; + + case 233: #line 2790 "Gmsh.y" -{ - if(!yyvsp[0].d) - yymsg(GERROR, "Division by zero in '%g / %g'", yyvsp[-2].d, yyvsp[0].d); + { + if(!(yyvsp[(3) - (3)].d)) + yymsg(GERROR, "Division by zero in '%g / %g'", (yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); else - yyval.d = yyvsp[-2].d / yyvsp[0].d; - ; - break;} -case 233: + (yyval.d) = (yyvsp[(1) - (3)].d) / (yyvsp[(3) - (3)].d); + ;} + break; + + case 234: #line 2796 "Gmsh.y" -{ yyval.d = (int)yyvsp[-2].d % (int)yyvsp[0].d; ; - break;} -case 234: + { (yyval.d) = (int)(yyvsp[(1) - (3)].d) % (int)(yyvsp[(3) - (3)].d); ;} + break; + + case 235: #line 2797 "Gmsh.y" -{ yyval.d = pow(yyvsp[-2].d, yyvsp[0].d); ; - break;} -case 235: + { (yyval.d) = pow((yyvsp[(1) - (3)].d), (yyvsp[(3) - (3)].d)); ;} + break; + + case 236: #line 2798 "Gmsh.y" -{ yyval.d = yyvsp[-2].d < yyvsp[0].d; ; - break;} -case 236: + { (yyval.d) = (yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d); ;} + break; + + case 237: #line 2799 "Gmsh.y" -{ yyval.d = yyvsp[-2].d > yyvsp[0].d; ; - break;} -case 237: + { (yyval.d) = (yyvsp[(1) - (3)].d) > (yyvsp[(3) - (3)].d); ;} + break; + + case 238: #line 2800 "Gmsh.y" -{ yyval.d = yyvsp[-2].d <= yyvsp[0].d; ; - break;} -case 238: + { (yyval.d) = (yyvsp[(1) - (3)].d) <= (yyvsp[(3) - (3)].d); ;} + break; + + case 239: #line 2801 "Gmsh.y" -{ yyval.d = yyvsp[-2].d >= yyvsp[0].d; ; - break;} -case 239: + { (yyval.d) = (yyvsp[(1) - (3)].d) >= (yyvsp[(3) - (3)].d); ;} + break; + + case 240: #line 2802 "Gmsh.y" -{ yyval.d = yyvsp[-2].d == yyvsp[0].d; ; - break;} -case 240: + { (yyval.d) = (yyvsp[(1) - (3)].d) == (yyvsp[(3) - (3)].d); ;} + break; + + case 241: #line 2803 "Gmsh.y" -{ yyval.d = yyvsp[-2].d != yyvsp[0].d; ; - break;} -case 241: + { (yyval.d) = (yyvsp[(1) - (3)].d) != (yyvsp[(3) - (3)].d); ;} + break; + + case 242: #line 2804 "Gmsh.y" -{ yyval.d = yyvsp[-2].d && yyvsp[0].d; ; - break;} -case 242: + { (yyval.d) = (yyvsp[(1) - (3)].d) && (yyvsp[(3) - (3)].d); ;} + break; + + case 243: #line 2805 "Gmsh.y" -{ yyval.d = yyvsp[-2].d || yyvsp[0].d; ; - break;} -case 243: + { (yyval.d) = (yyvsp[(1) - (3)].d) || (yyvsp[(3) - (3)].d); ;} + break; + + case 244: #line 2806 "Gmsh.y" -{ yyval.d = yyvsp[-4].d? yyvsp[-2].d : yyvsp[0].d; ; - break;} -case 244: + { (yyval.d) = (yyvsp[(1) - (5)].d)? (yyvsp[(3) - (5)].d) : (yyvsp[(5) - (5)].d); ;} + break; + + case 245: #line 2807 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 245: + { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} + break; + + case 246: #line 2808 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 246: + { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} + break; + + case 247: #line 2809 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 247: + { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} + break; + + case 248: #line 2810 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 248: + { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} + break; + + case 249: #line 2811 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 249: + { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} + break; + + case 250: #line 2812 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 250: + { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} + break; + + case 251: #line 2813 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 251: + { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} + break; + + case 252: #line 2814 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 252: + { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} + break; + + case 253: #line 2815 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 253: + { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} + break; + + case 254: #line 2816 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 254: + { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} + break; + + case 255: #line 2817 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 255: + { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} + break; + + case 256: #line 2818 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 256: + { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} + break; + + case 257: #line 2819 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 257: + { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} + break; + + case 258: #line 2820 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 258: + { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} + break; + + case 259: #line 2821 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 259: + { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} + break; + + case 260: #line 2822 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 260: + { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} + break; + + case 261: #line 2823 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 261: + { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} + break; + + case 262: #line 2824 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 262: + { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} + break; + + case 263: #line 2825 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 263: + { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} + break; + + case 264: #line 2826 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 264: + { (yyval.d) = sqrt((yyvsp[(3) - (6)].d)*(yyvsp[(3) - (6)].d)+(yyvsp[(5) - (6)].d)*(yyvsp[(5) - (6)].d)); ;} + break; + + case 265: #line 2827 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 265: + { (yyval.d) = (yyvsp[(3) - (4)].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 266: #line 2829 "Gmsh.y" -{ yyval.d = exp(yyvsp[-1].d); ; - break;} -case 266: + { (yyval.d) = exp((yyvsp[(3) - (4)].d)); ;} + break; + + case 267: #line 2830 "Gmsh.y" -{ yyval.d = log(yyvsp[-1].d); ; - break;} -case 267: + { (yyval.d) = log((yyvsp[(3) - (4)].d)); ;} + break; + + case 268: #line 2831 "Gmsh.y" -{ yyval.d = log10(yyvsp[-1].d); ; - break;} -case 268: + { (yyval.d) = log10((yyvsp[(3) - (4)].d)); ;} + break; + + case 269: #line 2832 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-1].d); ; - break;} -case 269: + { (yyval.d) = sqrt((yyvsp[(3) - (4)].d)); ;} + break; + + case 270: #line 2833 "Gmsh.y" -{ yyval.d = sin(yyvsp[-1].d); ; - break;} -case 270: + { (yyval.d) = sin((yyvsp[(3) - (4)].d)); ;} + break; + + case 271: #line 2834 "Gmsh.y" -{ yyval.d = asin(yyvsp[-1].d); ; - break;} -case 271: + { (yyval.d) = asin((yyvsp[(3) - (4)].d)); ;} + break; + + case 272: #line 2835 "Gmsh.y" -{ yyval.d = cos(yyvsp[-1].d); ; - break;} -case 272: + { (yyval.d) = cos((yyvsp[(3) - (4)].d)); ;} + break; + + case 273: #line 2836 "Gmsh.y" -{ yyval.d = acos(yyvsp[-1].d); ; - break;} -case 273: + { (yyval.d) = acos((yyvsp[(3) - (4)].d)); ;} + break; + + case 274: #line 2837 "Gmsh.y" -{ yyval.d = tan(yyvsp[-1].d); ; - break;} -case 274: + { (yyval.d) = tan((yyvsp[(3) - (4)].d)); ;} + break; + + case 275: #line 2838 "Gmsh.y" -{ yyval.d = atan(yyvsp[-1].d); ; - break;} -case 275: + { (yyval.d) = atan((yyvsp[(3) - (4)].d)); ;} + break; + + case 276: #line 2839 "Gmsh.y" -{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);; - break;} -case 276: + { (yyval.d) = atan2((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d));;} + break; + + case 277: #line 2840 "Gmsh.y" -{ yyval.d = sinh(yyvsp[-1].d); ; - break;} -case 277: + { (yyval.d) = sinh((yyvsp[(3) - (4)].d)); ;} + break; + + case 278: #line 2841 "Gmsh.y" -{ yyval.d = cosh(yyvsp[-1].d); ; - break;} -case 278: + { (yyval.d) = cosh((yyvsp[(3) - (4)].d)); ;} + break; + + case 279: #line 2842 "Gmsh.y" -{ yyval.d = tanh(yyvsp[-1].d); ; - break;} -case 279: + { (yyval.d) = tanh((yyvsp[(3) - (4)].d)); ;} + break; + + case 280: #line 2843 "Gmsh.y" -{ yyval.d = fabs(yyvsp[-1].d); ; - break;} -case 280: + { (yyval.d) = fabs((yyvsp[(3) - (4)].d)); ;} + break; + + case 281: #line 2844 "Gmsh.y" -{ yyval.d = floor(yyvsp[-1].d); ; - break;} -case 281: + { (yyval.d) = floor((yyvsp[(3) - (4)].d)); ;} + break; + + case 282: #line 2845 "Gmsh.y" -{ yyval.d = ceil(yyvsp[-1].d); ; - break;} -case 282: + { (yyval.d) = ceil((yyvsp[(3) - (4)].d)); ;} + break; + + case 283: #line 2846 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 283: + { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} + break; + + case 284: #line 2847 "Gmsh.y" -{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ; - break;} -case 284: + { (yyval.d) = fmod((yyvsp[(3) - (6)].d), (yyvsp[(5) - (6)].d)); ;} + break; + + case 285: #line 2848 "Gmsh.y" -{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; - break;} -case 285: + { (yyval.d) = sqrt((yyvsp[(3) - (6)].d)*(yyvsp[(3) - (6)].d)+(yyvsp[(5) - (6)].d)*(yyvsp[(5) - (6)].d)); ;} + break; + + case 286: #line 2849 "Gmsh.y" -{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ; - break;} -case 286: + { (yyval.d) = (yyvsp[(3) - (4)].d)*(double)rand()/(double)RAND_MAX; ;} + break; + + case 287: #line 2858 "Gmsh.y" -{ yyval.d = yyvsp[0].d; ; - break;} -case 287: + { (yyval.d) = (yyvsp[(1) - (1)].d); ;} + break; + + case 288: #line 2859 "Gmsh.y" -{ yyval.d = 3.141592653589793; ; - break;} -case 288: + { (yyval.d) = 3.141592653589793; ;} + break; + + case 289: #line 2860 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->rank(); ; - break;} -case 289: + { (yyval.d) = ParUtil::Instance()->rank(); ;} + break; + + case 290: #line 2861 "Gmsh.y" -{ yyval.d = ParUtil::Instance()->size(); ; - break;} -case 290: + { (yyval.d) = ParUtil::Instance()->size(); ;} + break; + + case 291: #line 2862 "Gmsh.y" -{ yyval.d = Get_GmshMajorVersion(); ; - break;} -case 291: + { (yyval.d) = Get_GmshMajorVersion(); ;} + break; + + case 292: #line 2863 "Gmsh.y" -{ yyval.d = Get_GmshMinorVersion(); ; - break;} -case 292: + { (yyval.d) = Get_GmshMinorVersion(); ;} + break; + + case 293: #line 2864 "Gmsh.y" -{ yyval.d = Get_GmshPatchVersion(); ; - break;} -case 293: + { (yyval.d) = Get_GmshPatchVersion(); ;} + break; + + case 294: #line 2869 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[0].c; + TheSymbol.Name = (yyvsp[(1) - (1)].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[(1) - (1)].c)); + (yyval.d) = 0.; } else - yyval.d = *(double*)List_Pointer_Fast(pSymbol->val, 0); - Free(yyvsp[0].c); - ; - break;} -case 294: + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[(1) - (1)].c)); + ;} + break; + + case 295: #line 2885 "Gmsh.y" -{ + { char tmpstring[1024]; - sprintf(tmpstring, "%s_%d", yyvsp[-4].c, (int)yyvsp[-1].d) ; + sprintf(tmpstring, "%s_%d", (yyvsp[(1) - (5)].c), (int)(yyvsp[(4) - (5)].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 295: + (yyval.d) = *(double*)List_Pointer_Fast(pSymbol->val, 0); + Free((yyvsp[(1) - (5)].c)); + ;} + break; + + case 296: #line 2900 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-3].c; + TheSymbol.Name = (yyvsp[(1) - (4)].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[(1) - (4)].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[(3) - (4)].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[(1) - (4)].c), (int)(yyvsp[(3) - (4)].d)); + (yyval.d) = 0.; } } - Free(yyvsp[-3].c); - ; - break;} -case 296: + Free((yyvsp[(1) - (4)].c)); + ;} + break; + + case 297: #line 2920 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[(2) - (4)].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) - (4)].c)); + (yyval.d) = 0.; } else - yyval.d = List_Nbr(pSymbol->val); - Free(yyvsp[-2].c); - ; - break;} -case 297: + (yyval.d) = List_Nbr(pSymbol->val); + Free((yyvsp[(2) - (4)].c)); + ;} + break; + + case 298: #line 2933 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-1].c; + TheSymbol.Name = (yyvsp[(1) - (2)].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) - (2)].c)); + (yyval.d) = 0.; } else - yyval.d = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[0].i); - Free(yyvsp[-1].c); - ; - break;} -case 298: + (yyval.d) = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += (yyvsp[(2) - (2)].i)); + Free((yyvsp[(1) - (2)].c)); + ;} + break; + + case 299: #line 2946 "Gmsh.y" -{ + { Symbol TheSymbol; - TheSymbol.Name = yyvsp[-4].c; + TheSymbol.Name = (yyvsp[(1) - (5)].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[(1) - (5)].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[(3) - (5)].d)))) + (yyval.d) = (*pd += (yyvsp[(5) - (5)].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[(1) - (5)].c), (int)(yyvsp[(3) - (5)].d)); + (yyval.d) = 0.; } } - Free(yyvsp[-4].c); - ; - break;} -case 299: + Free((yyvsp[(1) - (5)].c)); + ;} + break; + + case 300: #line 2969 "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[(1) - (3)].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (3)].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[(3) - (3)].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[(1) - (3)].c), (yyvsp[(3) - (3)].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 300: + Free((yyvsp[(1) - (3)].c)); Free((yyvsp[(3) - (3)].c)); + ;} + break; + + case 301: #line 2987 "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[(1) - (6)].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (6)].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[(6) - (6)].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[(1) - (6)].c), (int)(yyvsp[(3) - (6)].d), (yyvsp[(6) - (6)].c)); + (yyval.d) = 0.; } else - yyval.d = pNumOpt((int)yyvsp[-3].d, GMSH_GET, 0); + (yyval.d) = pNumOpt((int)(yyvsp[(3) - (6)].d), GMSH_GET, 0); } - Free(yyvsp[-5].c); Free(yyvsp[0].c); - ; - break;} -case 301: + Free((yyvsp[(1) - (6)].c)); Free((yyvsp[(6) - (6)].c)); + ;} + break; + + case 302: #line 3005 "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[(1) - (4)].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (4)].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[(3) - (4)].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s.%s'", (yyvsp[(1) - (4)].c), (yyvsp[(3) - (4)].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[(4) - (4)].i)); } - Free(yyvsp[-3].c); Free(yyvsp[-1].c); - ; - break;} -case 302: + Free((yyvsp[(1) - (4)].c)); Free((yyvsp[(3) - (4)].c)); + ;} + break; + + case 303: #line 3023 "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[(1) - (7)].c)))){ + yymsg(GERROR, "Unknown numeric option class '%s'", (yyvsp[(1) - (7)].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[(6) - (7)].c), pNumCat))){ + yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", (yyvsp[(1) - (7)].c), (int)(yyvsp[(3) - (7)].d), (yyvsp[(6) - (7)].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); + (yyval.d) = pNumOpt((int)(yyvsp[(3) - (7)].d), GMSH_SET|GMSH_GUI, pNumOpt((int)(yyvsp[(3) - (7)].d), GMSH_GET, 0)+(yyvsp[(7) - (7)].i)); } - Free(yyvsp[-6].c); Free(yyvsp[-1].c); - ; - break;} -case 303: + Free((yyvsp[(1) - (7)].c)); Free((yyvsp[(6) - (7)].c)); + ;} + break; + + case 304: #line 3041 "Gmsh.y" -{ - yyval.d = GetValue(yyvsp[-3].c, yyvsp[-1].d); - Free(yyvsp[-3].c); - ; - break;} -case 304: + { + (yyval.d) = GetValue((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].d)); + Free((yyvsp[(3) - (6)].c)); + ;} + break; + + case 305: #line 3049 "Gmsh.y" -{ - memcpy(yyval.v, yyvsp[0].v, 5*sizeof(double)); - ; - break;} -case 305: + { + memcpy((yyval.v), (yyvsp[(1) - (1)].v), 5*sizeof(double)); + ;} + break; + + case 306: #line 3053 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = -yyvsp[0].v[i]; - ; - break;} -case 306: + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = -(yyvsp[(2) - (2)].v)[i]; + ;} + break; + + case 307: #line 3057 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[0].v[i]; - ; - break;} -case 307: + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(2) - (2)].v)[i]; + ;} + break; + + case 308: #line 3061 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] - yyvsp[0].v[i]; - ; - break;} -case 308: + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] - (yyvsp[(3) - (3)].v)[i]; + ;} + break; + + case 309: #line 3065 "Gmsh.y" -{ - for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] + yyvsp[0].v[i]; - ; - break;} -case 309: + { + for(int i = 0; i < 5; i++) (yyval.v)[i] = (yyvsp[(1) - (3)].v)[i] + (yyvsp[(3) - (3)].v)[i]; + ;} + break; + + case 310: #line 3072 "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 310: + { + (yyval.v)[0] = (yyvsp[(2) - (11)].d); (yyval.v)[1] = (yyvsp[(4) - (11)].d); (yyval.v)[2] = (yyvsp[(6) - (11)].d); (yyval.v)[3] = (yyvsp[(8) - (11)].d); (yyval.v)[4] = (yyvsp[(10) - (11)].d); + ;} + break; + + case 311: #line 3076 "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 311: + { + (yyval.v)[0] = (yyvsp[(2) - (9)].d); (yyval.v)[1] = (yyvsp[(4) - (9)].d); (yyval.v)[2] = (yyvsp[(6) - (9)].d); (yyval.v)[3] = (yyvsp[(8) - (9)].d); (yyval.v)[4] = 1.0; + ;} + break; + + case 312: #line 3080 "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 312: + { + (yyval.v)[0] = (yyvsp[(2) - (7)].d); (yyval.v)[1] = (yyvsp[(4) - (7)].d); (yyval.v)[2] = (yyvsp[(6) - (7)].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0; + ;} + break; + + case 313: #line 3084 "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 313: + { + (yyval.v)[0] = (yyvsp[(2) - (7)].d); (yyval.v)[1] = (yyvsp[(4) - (7)].d); (yyval.v)[2] = (yyvsp[(6) - (7)].d); (yyval.v)[3] = 0.0; (yyval.v)[4] = 1.0; + ;} + break; + + case 314: #line 3091 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(List_T*)); - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 314: + { + (yyval.l) = List_Create(2, 1, sizeof(List_T*)); + List_Add((yyval.l), &((yyvsp[(1) - (1)].l))); + ;} + break; + + case 315: #line 3096 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].l)); - ; - break;} -case 315: + { + List_Add((yyval.l), &((yyvsp[(3) - (3)].l))); + ;} + break; + + case 316: #line 3104 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 316: + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); + ;} + break; + + case 317: #line 3109 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 317: + { + (yyval.l) = (yyvsp[(1) - (1)].l); + ;} + break; + + case 318: #line 3113 "Gmsh.y" -{ + { // creates an empty list - yyval.l = List_Create(2, 1, sizeof(double)); - ; - break;} -case 318: + (yyval.l) = List_Create(2, 1, sizeof(double)); + ;} + break; + + case 319: #line 3118 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 319: + { + (yyval.l) = (yyvsp[(2) - (3)].l); + ;} + break; + + case 320: #line 3122 "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) = (yyvsp[(3) - (4)].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); (*pd) = - (*pd); } - ; - break;} -case 320: + ;} + break; + + case 321: #line 3130 "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 321: + { + (yyval.l) = (yyvsp[(4) - (5)].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); + (*pd) *= (yyvsp[(1) - (5)].d); + } + ;} + break; + + case 322: #line 3141 "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); + { + (yyval.l) = (yyvsp[(2) - (2)].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); (*pd) = - (*pd); } - ; - break;} -case 322: + ;} + break; + + case 323: #line 3149 "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 323: + { + (yyval.l) = (yyvsp[(3) - (3)].l); + for(int i = 0; i < List_Nbr((yyval.l)); i++){ + double *pd = (double*)List_Pointer((yyval.l), i); + (*pd) *= (yyvsp[(1) - (3)].d); + } + ;} + break; + + case 324: #line 3157 "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 324: + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + for(double d = (yyvsp[(1) - (3)].d); ((yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d)) ? (d <= (yyvsp[(3) - (3)].d)) : (d >= (yyvsp[(3) - (3)].d)); ((yyvsp[(1) - (3)].d) < (yyvsp[(3) - (3)].d)) ? (d += 1.) : (d -= 1.)) + List_Add((yyval.l), &d); + ;} + break; + + case 325: #line 3163 "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)); + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + if(!(yyvsp[(5) - (5)].d) || ((yyvsp[(1) - (5)].d) < (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) < 0) || ((yyvsp[(1) - (5)].d) > (yyvsp[(3) - (5)].d) && (yyvsp[(5) - (5)].d) > 0)){ + yymsg(GERROR, "Wrong increment in '%g:%g:%g'", (yyvsp[(1) - (5)].d), (yyvsp[(3) - (5)].d), (yyvsp[(5) - (5)].d)); + List_Add((yyval.l), &((yyvsp[(1) - (5)].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 325: + for(double d = (yyvsp[(1) - (5)].d); ((yyvsp[(5) - (5)].d) > 0) ? (d <= (yyvsp[(3) - (5)].d)) : (d >= (yyvsp[(3) - (5)].d)); d += (yyvsp[(5) - (5)].d)) + List_Add((yyval.l), &d); + ;} + break; + + case 326: #line 3174 "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[(3) - (4)].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[(3) - (4)].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); + List_Add((yyval.l), &v->Pos.X); + List_Add((yyval.l), &v->Pos.Y); + List_Add((yyval.l), &v->Pos.Z); } - ; - break;} -case 326: + ;} + break; + + case 327: #line 3194 "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); + { + (yyval.l) = List_Create(List_Nbr((yyvsp[(1) - (1)].l)), 1, sizeof(double)); + for(int i = 0; i < List_Nbr((yyvsp[(1) - (1)].l)); i++){ + Shape *s = (Shape*) List_Pointer((yyvsp[(1) - (1)].l), i); double d = s->Num; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 327: + List_Delete((yyvsp[(1) - (1)].l)); + ;} + break; + + case 328: #line 3204 "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); + { + (yyval.l) = List_Create(List_Nbr((yyvsp[(1) - (1)].l)), 1, sizeof(double)); + for(int i = 0; i < List_Nbr((yyvsp[(1) - (1)].l)); i++){ + Shape *s = (Shape*) List_Pointer((yyvsp[(1) - (1)].l), i); double d = s->Num; - List_Add(yyval.l, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 328: + List_Delete((yyvsp[(1) - (1)].l)); + ;} + break; + + case 329: #line 3214 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-2].c; + TheSymbol.Name = (yyvsp[(1) - (3)].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[(1) - (3)].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 329: + Free((yyvsp[(1) - (3)].c)); + ;} + break; + + case 330: #line 3231 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); + { + (yyval.l) = List_Create(2, 1, sizeof(double)); Symbol TheSymbol; - TheSymbol.Name = yyvsp[-5].c; + TheSymbol.Name = (yyvsp[(1) - (6)].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[(1) - (6)].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[(4) - (6)].l)); i++){ + int j = (int)(*(double*)List_Pointer_Fast((yyvsp[(4) - (6)].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[(1) - (6)].c), j); } } - Free(yyvsp[-5].c); - List_Delete(yyvsp[-2].l); - ; - break;} -case 330: + Free((yyvsp[(1) - (6)].c)); + List_Delete((yyvsp[(4) - (6)].l)); + ;} + break; + + case 331: #line 3258 "Gmsh.y" -{ - yyval.l = List_Create(2, 1, sizeof(double)); - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 331: + { + (yyval.l) = List_Create(2, 1, sizeof(double)); + List_Add((yyval.l), &((yyvsp[(1) - (1)].d))); + ;} + break; + + case 332: #line 3263 "Gmsh.y" -{ - yyval.l = yyvsp[0].l; - ; - break;} -case 332: + { + (yyval.l) = (yyvsp[(1) - (1)].l); + ;} + break; + + case 333: #line 3267 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].d)); - ; - break;} -case 333: + { + List_Add((yyval.l), &((yyvsp[(3) - (3)].d))); + ;} + break; + + case 334: #line 3271 "Gmsh.y" -{ - for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){ + { + for(int i = 0; i < List_Nbr((yyvsp[(3) - (3)].l)); i++){ double d; - List_Read(yyvsp[0].l, i, &d); - List_Add(yyval.l, &d); + List_Read((yyvsp[(3) - (3)].l), i, &d); + List_Add((yyval.l), &d); } - List_Delete(yyvsp[0].l); - ; - break;} -case 334: + List_Delete((yyvsp[(3) - (3)].l)); + ;} + break; + + case 335: #line 3284 "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 335: + { + (yyval.u) = CTX.PACK_COLOR((int)(yyvsp[(2) - (9)].d), (int)(yyvsp[(4) - (9)].d), (int)(yyvsp[(6) - (9)].d), (int)(yyvsp[(8) - (9)].d)); + ;} + break; + + case 336: #line 3288 "Gmsh.y" -{ - yyval.u = CTX.PACK_COLOR((int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d, 255); - ; - break;} -case 336: + { + (yyval.u) = CTX.PACK_COLOR((int)(yyvsp[(2) - (7)].d), (int)(yyvsp[(4) - (7)].d), (int)(yyvsp[(6) - (7)].d), 255); + ;} + break; + + case 337: #line 3300 "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 337: + (yyval.u) = Get_ColorForString(ColorString, -1, (yyvsp[(1) - (1)].c), &flag); + if(flag) yymsg(GERROR, "Unknown color '%s'", (yyvsp[(1) - (1)].c)); + Free((yyvsp[(1) - (1)].c)); + ;} + break; + + case 338: #line 3307 "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[(1) - (5)].c)))){ + yymsg(GERROR, "Unknown color option class '%s'", (yyvsp[(1) - (5)].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[(5) - (5)].c), pColCat))){ + yymsg(GERROR, "Unknown color option '%s.Color.%s'", (yyvsp[(1) - (5)].c), (yyvsp[(5) - (5)].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 338: + Free((yyvsp[(1) - (5)].c)); Free((yyvsp[(5) - (5)].c)); + ;} + break; + + case 339: #line 3328 "Gmsh.y" -{ - yyval.l = yyvsp[-1].l; - ; - break;} -case 339: + { + (yyval.l) = (yyvsp[(2) - (3)].l); + ;} + break; + + case 340: #line 3332 "Gmsh.y" -{ - yyval.l = List_Create(256, 10, sizeof(unsigned int)); - GmshColorTable *ct = Get_ColorTable((int)yyvsp[-3].d); + { + (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); + GmshColorTable *ct = Get_ColorTable((int)(yyvsp[(3) - (6)].d)); if(!ct) - yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-3].d); + yymsg(GERROR, "View[%d] does not exist", (int)(yyvsp[(3) - (6)].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 340: + Free((yyvsp[(1) - (6)].c)); + ;} + break; + + case 341: #line 3347 "Gmsh.y" -{ - yyval.l = List_Create(256, 10, sizeof(unsigned int)); - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 341: + { + (yyval.l) = List_Create(256, 10, sizeof(unsigned int)); + List_Add((yyval.l), &((yyvsp[(1) - (1)].u))); + ;} + break; + + case 342: #line 3352 "Gmsh.y" -{ - List_Add(yyval.l, &(yyvsp[0].u)); - ; - break;} -case 342: + { + List_Add((yyval.l), &((yyvsp[(3) - (3)].u))); + ;} + break; + + case 343: #line 3359 "Gmsh.y" -{ - yyval.c = yyvsp[0].c; - ; - break;} -case 343: + { + (yyval.c) = (yyvsp[(1) - (1)].c); + ;} + break; + + case 344: #line 3363 "Gmsh.y" -{ + { Msg(WARNING, "Named string expressions not implemented yet"); - ; - break;} -case 344: + ;} + break; + + case 345: #line 3370 "Gmsh.y" -{ - yyval.c = yyvsp[0].c; - ; - break;} -case 345: + { + (yyval.c) = (yyvsp[(1) - (1)].c); + ;} + break; + + case 346: #line 3374 "Gmsh.y" -{ - yyval.c = (char *)Malloc(32*sizeof(char)); + { + (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 346: + strcpy((yyval.c), ctime(&now)); + (yyval.c)[strlen((yyval.c)) - 1] = '\0'; + ;} + break; + + case 347: #line 3382 "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 347: + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (6)].c))+strlen((yyvsp[(5) - (6)].c))+1)*sizeof(char)); + strcpy((yyval.c), (yyvsp[(3) - (6)].c)); + strcat((yyval.c), (yyvsp[(5) - (6)].c)); + Free((yyvsp[(3) - (6)].c)); + Free((yyvsp[(5) - (6)].c)); + ;} + break; + + case 348: #line 3390 "Gmsh.y" -{ - yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char)); + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].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[(3) - (4)].c))-1; i >= 0; i--){ + if((yyvsp[(3) - (4)].c)[i] == '.'){ + strncpy((yyval.c), (yyvsp[(3) - (4)].c), i); + (yyval.c)[i]='\0'; break; } } - if(i <= 0) strcpy(yyval.c, yyvsp[-1].c); - Free(yyvsp[-1].c); - ; - break;} -case 348: + if(i <= 0) strcpy((yyval.c), (yyvsp[(3) - (4)].c)); + Free((yyvsp[(3) - (4)].c)); + ;} + break; + + case 349: #line 3404 "Gmsh.y" -{ - yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char)); + { + (yyval.c) = (char *)Malloc((strlen((yyvsp[(3) - (4)].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[(3) - (4)].c))-1; i >= 0; i--){ + if((yyvsp[(3) - (4)].c)[i] == '/' || (yyvsp[(3) - (4)].c)[i] == '\\') break; } if(i <= 0) - strcpy(yyval.c, yyvsp[-1].c); + strcpy((yyval.c), (yyvsp[(3) - (4)].c)); else - strcpy(yyval.c, &yyvsp[-1].c[i+1]); - Free(yyvsp[-1].c); - ; - break;} -case 349: + strcpy((yyval.c), &(yyvsp[(3) - (4)].c)[i+1]); + Free((yyvsp[(3) - (4)].c)); + ;} + break; + + case 350: #line 3418 "Gmsh.y" -{ - yyval.c = yyvsp[-1].c; - ; - break;} -case 350: + { + (yyval.c) = (yyvsp[(3) - (4)].c); + ;} + break; + + case 351: #line 3422 "Gmsh.y" -{ + { char tmpstring[1024]; - int i = PrintListOfDouble(yyvsp[-3].c, yyvsp[-1].l, tmpstring); + int i = PrintListOfDouble((yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].l), tmpstring); if(i < 0){ yymsg(GERROR, "Too few arguments in Sprintf"); - yyval.c = yyvsp[-3].c; + (yyval.c) = (yyvsp[(3) - (6)].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) - (6)].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 351: + (yyval.c) = (char*)Malloc((strlen(tmpstring)+1)*sizeof(char)); + strcpy((yyval.c), tmpstring); + Free((yyvsp[(3) - (6)].c)); + } + List_Delete((yyvsp[(5) - (6)].l)); + ;} + break; + + case 352: #line 3441 "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) - (6)].c)))){ + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[(3) - (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.%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[(5) - (6)].c), pStrCat))){ + yymsg(GERROR, "Unknown string option '%s.%s'", (yyvsp[(3) - (6)].c), (yyvsp[(5) - (6)].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 352: + ;} + break; + + case 353: #line 3463 "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[(3) - (9)].c)))){ + yymsg(GERROR, "Unknown string option class '%s'", (yyvsp[(3) - (9)].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[(8) - (9)].c), pStrCat))){ + yymsg(GERROR, "Unknown string option '%s[%d].%s'", (yyvsp[(3) - (9)].c), (int)(yyvsp[(5) - (9)].d), (yyvsp[(8) - (9)].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[(5) - (9)].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" - - yyvsp -= yylen; - yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif + ;} + break; -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); + +/* Line 1267 of yacc.c. */ +#line 7961 "Gmsh.tab.cpp" + default: break; } -#endif + YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + 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; +#if ! YYERROR_VERBOSE + yyerror (YY_("syntax error")); +#else + { + YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); + if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) + { + YYSIZE_T yyalloc = 2 * yysize; + if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) + yyalloc = YYSTACK_ALLOC_MAXIMUM; + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yyalloc); + if (yymsg) + yymsg_alloc = yyalloc; + else + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + } + } -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && 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) - { - strcpy(msg, "parse error"); - - if (count < 5) - { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; - } - } - yyerror(msg); - free(msg); - } - else - yyerror ("parse error; also virtual memory exceeded"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror("parse error"); + if (0 < yysize && yysize <= yymsg_alloc) + { + (void) yysyntax_error (yymsg, yystate, yychar); + yyerror (yymsg); + } + else + { + yyerror (YY_("syntax error")); + if (yysize != 0) + goto yyexhaustedlab; + } + } +#endif } - 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 + /* If just tried and failed to reuse look-ahead token after an + error, discard it. */ - yychar = YYEMPTY; + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } } - /* Else will try to reuse lookahead token - after shifting the error token. */ + /* Else will try to reuse look-ahead token after shifting the error + token. */ + goto yyerrlab1; - yyerrstatus = 3; /* Each real token shifted decrements this */ - goto yyerrhandle; +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: -yyerrdefault: /* current state does not do anything special for the error token. */ + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ + if (/*CONSTCOND*/ 0) + goto 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; -#endif + /* Do not reclaim the symbols of the rule which action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; -yyerrpop: /* pop the current state because it cannot handle the error token */ - 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 (1); + 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: + yyresult = 1; + goto yyreturn; + +#ifndef yyoverflow +/*-------------------------------------------------. +| yyexhaustedlab -- memory exhaustion comes here. | +`-------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + /* Fall through. */ #endif - } - return 0; - yyabortlab: - /* YYABORT comes here. */ - if (yyfree_stacks) +yyreturn: + if (yychar != YYEOF && yychar != YYEMPTY) + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + /* Do not reclaim the symbols of the rule which action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) { - free (yyss); - free (yyvs); -#ifdef YYLSP_NEEDED - free (yyls); -#endif + yydestruct ("Cleanup: popping", + yystos[*yyssp], yyvsp); + YYPOPSTACK (1); } - return 1; +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif +#if YYERROR_VERBOSE + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); +#endif + /* Make sure YYID is used. */ + return YYID (yyresult); } + + #line 3486 "Gmsh.y" @@ -6994,3 +8243,4 @@ void yymsg(int type, char *fmt, ...){ if(type == GERROR) yyerrorstate++; } + diff --git a/Parser/Gmsh.tab.hpp b/Parser/Gmsh.tab.hpp index fc5011a275c570857c2f573f6857bef9448abc51..af17196a588965641ec55eff83b545e06d6710bf 100644 --- a/Parser/Gmsh.tab.hpp +++ b/Parser/Gmsh.tab.hpp @@ -1,4 +1,305 @@ -typedef union { +/* A Bison parser, made by GNU Bison 2.3. */ + +/* Skeleton interface for Bison's Yacc-like parsers in C + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 + 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., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 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, + tIntersect = 330, + tBoundary = 331, + tAttractor = 332, + tLayers = 333, + tHole = 334, + tAlias = 335, + tAliasWithOptions = 336, + tText2D = 337, + tText3D = 338, + tInterpolationScheme = 339, + tTime = 340, + tCombine = 341, + tBSpline = 342, + tBezier = 343, + tNurbs = 344, + tOrder = 345, + tKnots = 346, + tColor = 347, + tColorTable = 348, + tFor = 349, + tIn = 350, + tEndFor = 351, + tIf = 352, + tEndIf = 353, + tExit = 354, + tField = 355, + tThreshold = 356, + tStructured = 357, + tLatLon = 358, + tGrad = 359, + tPostView = 360, + tReturn = 361, + tCall = 362, + tFunction = 363, + tShow = 364, + tHide = 365, + tGetValue = 366, + tGMSH_MAJOR_VERSION = 367, + tGMSH_MINOR_VERSION = 368, + tGMSH_PATCH_VERSION = 369, + tAFFECTDIVIDE = 370, + tAFFECTTIMES = 371, + tAFFECTMINUS = 372, + tAFFECTPLUS = 373, + tOR = 374, + tAND = 375, + tNOTEQUAL = 376, + tEQUAL = 377, + tGREATEROREQUAL = 378, + tLESSOREQUAL = 379, + UNARYPREC = 380, + tMINUSMINUS = 381, + tPLUSPLUS = 382 + }; +#endif +/* Tokens. */ +#define tDOUBLE 258 +#define tSTRING 259 +#define tBIGSTR 260 +#define tEND 261 +#define tAFFECT 262 +#define tDOTS 263 +#define tPi 264 +#define tMPI_Rank 265 +#define tMPI_Size 266 +#define tEuclidian 267 +#define tCoordinates 268 +#define 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 tIntersect 330 +#define tBoundary 331 +#define tAttractor 332 +#define tLayers 333 +#define tHole 334 +#define tAlias 335 +#define tAliasWithOptions 336 +#define tText2D 337 +#define tText3D 338 +#define tInterpolationScheme 339 +#define tTime 340 +#define tCombine 341 +#define tBSpline 342 +#define tBezier 343 +#define tNurbs 344 +#define tOrder 345 +#define tKnots 346 +#define tColor 347 +#define tColorTable 348 +#define tFor 349 +#define tIn 350 +#define tEndFor 351 +#define tIf 352 +#define tEndIf 353 +#define tExit 354 +#define tField 355 +#define tThreshold 356 +#define tStructured 357 +#define tLatLon 358 +#define tGrad 359 +#define tPostView 360 +#define tReturn 361 +#define tCall 362 +#define tFunction 363 +#define tShow 364 +#define tHide 365 +#define tGetValue 366 +#define tGMSH_MAJOR_VERSION 367 +#define tGMSH_MINOR_VERSION 368 +#define tGMSH_PATCH_VERSION 369 +#define tAFFECTDIVIDE 370 +#define tAFFECTTIMES 371 +#define tAFFECTMINUS 372 +#define tAFFECTPLUS 373 +#define tOR 374 +#define tAND 375 +#define tNOTEQUAL 376 +#define tEQUAL 377 +#define tGREATEROREQUAL 378 +#define tLESSOREQUAL 379 +#define UNARYPREC 380 +#define tMINUSMINUS 381 +#define tPLUSPLUS 382 + + + + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE +#line 76 "Gmsh.y" +{ char *c; int i; unsigned int u; @@ -6,132 +307,14 @@ typedef union { double v[5]; 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 tIntersect 329 -#define tBoundary 330 -#define tAttractor 331 -#define tLayers 332 -#define tHole 333 -#define tAlias 334 -#define tAliasWithOptions 335 -#define tText2D 336 -#define tText3D 337 -#define tInterpolationScheme 338 -#define tTime 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 tAFFECTPLUS 369 -#define tAFFECTMINUS 370 -#define tAFFECTTIMES 371 -#define tAFFECTDIVIDE 372 -#define tOR 373 -#define tAND 374 -#define tEQUAL 375 -#define tNOTEQUAL 376 -#define tLESSOREQUAL 377 -#define tGREATEROREQUAL 378 -#define tPLUSPLUS 379 -#define tMINUSMINUS 380 -#define UNARYPREC 381 - +} +/* Line 1529 of yacc.c. */ +#line 313 "Gmsh.tab.hpp" + YYSTYPE; +# 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.yy.cpp b/Parser/Gmsh.yy.cpp index 0b2ca495c61468fc5eefd20bb6bc63e7c150a02d..0a93dabea0b54632abf46a91ff1e00f80b416b7b 100644 --- a/Parser/Gmsh.yy.cpp +++ b/Parser/Gmsh.yy.cpp @@ -1,32 +1,93 @@ #line 2 "Gmsh.yy.cpp" -/* A lexical scanner generated by flex */ -/* Scanner skeleton version: - * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.335 2007-11-08 19:30:32 geuzaine Exp $ - */ +#line 4 "Gmsh.yy.cpp" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 +#define YY_FLEX_SUBMINOR_VERSION 33 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ #include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> +/* end standard C headers. */ -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ + +#if __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 #endif +#include <inttypes.h> +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; +#endif /* ! C99 */ -#ifdef __cplusplus +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif -#include <stdlib.h> -#include <unistd.h> +#endif /* ! FLEXINT_H */ -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS +#ifdef __cplusplus /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST @@ -35,34 +96,17 @@ #if __STDC__ -#define YY_USE_PROTOS #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - /* Returned upon end-of-file. */ #define YY_NULL 0 @@ -77,71 +121,75 @@ * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ -#define BEGIN yy_start = 1 + 2 * +#define BEGIN (yy_start) = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ -#define YY_START ((yy_start - 1) / 2) +#define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) +#define YY_NEW_FILE yyrestart(yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ +#ifndef YY_BUF_SIZE #define YY_BUF_SIZE 16384 +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif extern int yyleng; + extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - + #define YY_LESS_LINENO(n) + +/* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) -#define unput(c) yyunput( c, yytext_ptr ) +#define unput(c) yyunput( c, (yytext_ptr) ) /* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */ -typedef unsigned int yy_size_t; +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef unsigned int yy_size_t; +#endif +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE struct yy_buffer_state { FILE *yy_input_file; @@ -178,12 +226,16 @@ struct yy_buffer_state */ int yy_at_bol; + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; + #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process @@ -197,28 +249,38 @@ struct yy_buffer_state * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ -static YY_BUFFER_STATE yy_current_buffer = 0; +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". + * + * Returns the top of the stack, or NULL. */ -#define YY_CURRENT_BUFFER yy_current_buffer +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; - static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ +static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches @@ -226,66 +288,92 @@ static int yy_start = 0; /* start state number */ */ static int yy_did_buffer_switch_on_eof; -void yyrestart YY_PROTO(( FILE *input_file )); +void yyrestart (FILE *input_file ); +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +void yy_delete_buffer (YY_BUFFER_STATE b ); +void yy_flush_buffer (YY_BUFFER_STATE b ); +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state (void ); -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) +static void yyensure_buffer_stack (void ); +static void yy_load_buffer_state (void ); +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); + +void *yyalloc (yy_size_t ); +void *yyrealloc (void *,yy_size_t ); +void yyfree (void * ); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ + if ( ! YY_CURRENT_BUFFER ){ \ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ + if ( ! YY_CURRENT_BUFFER ){\ + yyensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + yy_create_buffer(yyin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ typedef unsigned char YY_CHAR; + FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; + typedef int yy_state_type; + +extern int yylineno; + +int yylineno = 1; + extern char *yytext; #define yytext_ptr yytext -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ + (yytext_ptr) = yy_bp; \ + yyleng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; + (yy_c_buf_p) = yy_cp; #define YY_NUM_RULES 149 #define YY_END_OF_BUFFER 150 -static yyconst short int yy_accept[640] = +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[640] = { 0, 0, 0, 150, 148, 1, 1, 148, 5, 148, 6, 148, 148, 148, 148, 148, 143, 20, 2, 148, 15, @@ -359,7 +447,7 @@ static yyconst short int yy_accept[640] = 147, 147, 80, 81, 82, 147, 147, 141, 0 } ; -static yyconst int yy_ec[256] = +static yyconst flex_int32_t yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, @@ -391,7 +479,7 @@ static yyconst int yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst int yy_meta[73] = +static yyconst flex_int32_t yy_meta[73] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, @@ -403,7 +491,7 @@ static yyconst int yy_meta[73] = 2, 1 } ; -static yyconst short int yy_base[641] = +static yyconst flex_int16_t yy_base[641] = { 0, 0, 0, 761, 762, 762, 762, 739, 762, 753, 762, 737, 64, 65, 63, 75, 77, 762, 762, 736, 735, @@ -477,7 +565,7 @@ static yyconst short int yy_base[641] = 97, 96, 0, 0, 0, 78, 80, 0, 762, 96 } ; -static yyconst short int yy_def[641] = +static yyconst flex_int16_t yy_def[641] = { 0, 639, 1, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, 639, @@ -551,7 +639,7 @@ static yyconst short int yy_def[641] = 640, 640, 640, 640, 640, 640, 640, 640, 0, 639 } ; -static yyconst short int yy_nxt[835] = +static yyconst flex_int16_t yy_nxt[835] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16, 16, 16, 16, 17, 18, 19, @@ -647,7 +735,7 @@ static yyconst short int yy_nxt[835] = 639, 639, 639, 639 } ; -static yyconst short int yy_chk[835] = +static yyconst flex_int16_t yy_chk[835] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -746,6 +834,9 @@ static yyconst short int yy_chk[835] = static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; +extern int yy_flex_debug; +int yy_flex_debug = 0; + /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ @@ -755,9 +846,8 @@ static char *yy_last_accepting_cpos; #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "Gmsh.l" -#define INITIAL 0 #line 2 "Gmsh.l" -// $Id: Gmsh.yy.cpp,v 1.335 2007-11-08 19:30:32 geuzaine Exp $ +// $Id: Gmsh.yy.cpp,v 1.336 2008-01-09 08:17:13 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -789,7 +879,6 @@ char *yytext; #include "Gmsh.tab.hpp" char yyname[256] = ""; -int yylineno = 1; int yyerrorstate = 0; int yyviewindex = 0; @@ -798,10 +887,7 @@ char *strsave(char *ptr); void skipcomments(void); void skipline(void); -#define YY_ALWAYS_INTERACTIVE 1 - #define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < max_size && \ @@ -815,11 +901,24 @@ void skipline(void); Msg(FATAL, "Input in flex scanner failed"); \ result = n; \ } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - Msg(FATAL, "Input in flex scanner failed"); -#line 823 "Gmsh.yy.cpp" +#line 906 "Gmsh.yy.cpp" + +#define INITIAL 0 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include <unistd.h> +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals (void ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -827,65 +926,30 @@ void skipline(void); #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); +extern "C" int yywrap (void ); #else -extern int yywrap YY_PROTO(( void )); -#endif +extern int yywrap (void ); #endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif + static void yyunput (int c,char *buf_ptr ); + #ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); +static void yy_flex_strncpy (char *,yyconst char *,int ); #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen YY_PROTO(( yyconst char * )); +static int yy_flex_strlen (yyconst char * ); #endif #ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif +#ifdef __cplusplus +static int yyinput (void ); #else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 +static int input (void ); #endif -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif #endif /* Amount of stuff to slurp up with each read. */ @@ -894,7 +958,6 @@ YY_MALLOC_DECL #endif /* Copy whatever the last rule matched to the standard output. */ - #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). @@ -907,9 +970,10 @@ YY_MALLOC_DECL */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ - int c = '*', n; \ + int c = '*'; \ + size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -919,9 +983,22 @@ YY_MALLOC_DECL YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); + else \ + { \ + errno=0; \ + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(yyin); \ + } \ + }\ +\ + #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - @@ -942,12 +1019,18 @@ YY_MALLOC_DECL #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif +/* end tables serialization structures and prototypes */ + /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif +#define YY_DECL_IS_OURS 1 + +extern int yylex (void); + +#define YY_DECL int yylex (void) +#endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. @@ -964,27 +1047,29 @@ YY_MALLOC_DECL #define YY_RULE_SETUP \ YY_USER_ACTION +/** The main scanner function which does all the work. + */ YY_DECL - { +{ register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; - -#line 80 "Gmsh.l" + +#line 66 "Gmsh.l" -#line 977 "Gmsh.yy.cpp" +#line 1062 "Gmsh.yy.cpp" - if ( yy_init ) + if ( !(yy_init) ) { - yy_init = 0; + (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; #endif - if ( ! yy_start ) - yy_start = 1; /* first start state */ + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ if ( ! yyin ) yyin = stdin; @@ -992,34 +1077,36 @@ YY_DECL if ( ! yyout ) yyout = stdout; - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); + if ( ! YY_CURRENT_BUFFER ) { + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); + } - yy_load_buffer_state(); + yy_load_buffer_state( ); } while ( 1 ) /* loops until end-of-file is reached */ { - yy_cp = yy_c_buf_p; + yy_cp = (yy_c_buf_p); /* Support of yytext. */ - *yy_cp = yy_hold_char; + *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; - yy_current_state = yy_start; + yy_current_state = (yy_start); yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { @@ -1036,789 +1123,788 @@ yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); yy_act = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; - do_action: /* This label is used only to access EOF actions. */ - switch ( yy_act ) { /* beginning of action switch */ case 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; + *yy_cp = (yy_hold_char); + yy_cp = (yy_last_accepting_cpos); + yy_current_state = (yy_last_accepting_state); goto yy_find_action; case 1: +/* rule 1 can match eol */ YY_RULE_SETUP -#line 82 "Gmsh.l" +#line 68 "Gmsh.l" /* none */; YY_BREAK case 2: YY_RULE_SETUP -#line 83 "Gmsh.l" +#line 69 "Gmsh.l" return tEND; YY_BREAK case 3: YY_RULE_SETUP -#line 84 "Gmsh.l" +#line 70 "Gmsh.l" skipcomments(); YY_BREAK case 4: YY_RULE_SETUP -#line 85 "Gmsh.l" +#line 71 "Gmsh.l" skipline(); YY_BREAK case 5: YY_RULE_SETUP -#line 86 "Gmsh.l" +#line 72 "Gmsh.l" {parsestring('\"'); return tBIGSTR;} YY_BREAK case 6: YY_RULE_SETUP -#line 87 "Gmsh.l" +#line 73 "Gmsh.l" {parsestring('\''); return tBIGSTR;} YY_BREAK case 7: YY_RULE_SETUP -#line 88 "Gmsh.l" +#line 74 "Gmsh.l" {yylval.d = NEWREG(); return tDOUBLE;} YY_BREAK case 8: YY_RULE_SETUP -#line 89 "Gmsh.l" +#line 75 "Gmsh.l" {yylval.d = NEWPOINT(); return tDOUBLE;} YY_BREAK case 9: YY_RULE_SETUP -#line 90 "Gmsh.l" +#line 76 "Gmsh.l" {yylval.d = NEWLINE(); return tDOUBLE;} YY_BREAK case 10: YY_RULE_SETUP -#line 91 "Gmsh.l" +#line 77 "Gmsh.l" {yylval.d = NEWLINE(); return tDOUBLE;} YY_BREAK case 11: YY_RULE_SETUP -#line 92 "Gmsh.l" +#line 78 "Gmsh.l" {yylval.d = NEWLINELOOP(); return tDOUBLE;} YY_BREAK case 12: YY_RULE_SETUP -#line 93 "Gmsh.l" +#line 79 "Gmsh.l" {yylval.d = NEWSURFACE(); return tDOUBLE;} YY_BREAK case 13: YY_RULE_SETUP -#line 94 "Gmsh.l" +#line 80 "Gmsh.l" {yylval.d = NEWSURFACELOOP(); return tDOUBLE;} YY_BREAK case 14: YY_RULE_SETUP -#line 95 "Gmsh.l" +#line 81 "Gmsh.l" {yylval.d = NEWVOLUME(); return tDOUBLE;} YY_BREAK case 15: YY_RULE_SETUP -#line 96 "Gmsh.l" +#line 82 "Gmsh.l" return tAFFECT; YY_BREAK case 16: YY_RULE_SETUP -#line 97 "Gmsh.l" +#line 83 "Gmsh.l" return tAFFECTPLUS; YY_BREAK case 17: YY_RULE_SETUP -#line 98 "Gmsh.l" +#line 84 "Gmsh.l" return tAFFECTMINUS; YY_BREAK case 18: YY_RULE_SETUP -#line 99 "Gmsh.l" +#line 85 "Gmsh.l" return tAFFECTTIMES; YY_BREAK case 19: YY_RULE_SETUP -#line 100 "Gmsh.l" +#line 86 "Gmsh.l" return tAFFECTDIVIDE; YY_BREAK case 20: YY_RULE_SETUP -#line 101 "Gmsh.l" +#line 87 "Gmsh.l" return tDOTS; YY_BREAK case 21: YY_RULE_SETUP -#line 102 "Gmsh.l" +#line 88 "Gmsh.l" return tDOTS; YY_BREAK case 22: YY_RULE_SETUP -#line 103 "Gmsh.l" +#line 89 "Gmsh.l" return tOR; YY_BREAK case 23: YY_RULE_SETUP -#line 104 "Gmsh.l" +#line 90 "Gmsh.l" return tAND; YY_BREAK case 24: YY_RULE_SETUP -#line 105 "Gmsh.l" +#line 91 "Gmsh.l" return tPLUSPLUS; YY_BREAK case 25: YY_RULE_SETUP -#line 106 "Gmsh.l" +#line 92 "Gmsh.l" return tMINUSMINUS; YY_BREAK case 26: YY_RULE_SETUP -#line 107 "Gmsh.l" +#line 93 "Gmsh.l" return tEQUAL; YY_BREAK case 27: YY_RULE_SETUP -#line 108 "Gmsh.l" +#line 94 "Gmsh.l" return tNOTEQUAL; YY_BREAK case 28: YY_RULE_SETUP -#line 109 "Gmsh.l" +#line 95 "Gmsh.l" return tLESSOREQUAL; YY_BREAK case 29: YY_RULE_SETUP -#line 110 "Gmsh.l" +#line 96 "Gmsh.l" return tGREATEROREQUAL; YY_BREAK case 30: YY_RULE_SETUP -#line 112 "Gmsh.l" +#line 98 "Gmsh.l" return tAcos; YY_BREAK case 31: YY_RULE_SETUP -#line 113 "Gmsh.l" +#line 99 "Gmsh.l" return tAcos; YY_BREAK case 32: YY_RULE_SETUP -#line 114 "Gmsh.l" +#line 100 "Gmsh.l" return tAlias; YY_BREAK case 33: YY_RULE_SETUP -#line 115 "Gmsh.l" +#line 101 "Gmsh.l" return tAliasWithOptions; YY_BREAK case 34: YY_RULE_SETUP -#line 116 "Gmsh.l" +#line 102 "Gmsh.l" return tAsin; YY_BREAK case 35: YY_RULE_SETUP -#line 117 "Gmsh.l" +#line 103 "Gmsh.l" return tAsin; YY_BREAK case 36: YY_RULE_SETUP -#line 118 "Gmsh.l" +#line 104 "Gmsh.l" return tAtan; YY_BREAK case 37: YY_RULE_SETUP -#line 119 "Gmsh.l" +#line 105 "Gmsh.l" return tAtan; YY_BREAK case 38: YY_RULE_SETUP -#line 120 "Gmsh.l" +#line 106 "Gmsh.l" return tAtan2; YY_BREAK case 39: YY_RULE_SETUP -#line 121 "Gmsh.l" +#line 107 "Gmsh.l" return tAtan2; YY_BREAK case 40: YY_RULE_SETUP -#line 122 "Gmsh.l" +#line 108 "Gmsh.l" return tAttractor; YY_BREAK case 41: YY_RULE_SETUP -#line 124 "Gmsh.l" +#line 110 "Gmsh.l" return tBezier; YY_BREAK case 42: YY_RULE_SETUP -#line 125 "Gmsh.l" +#line 111 "Gmsh.l" return tBoundary; YY_BREAK case 43: YY_RULE_SETUP -#line 126 "Gmsh.l" +#line 112 "Gmsh.l" return tBump; YY_BREAK case 44: YY_RULE_SETUP -#line 127 "Gmsh.l" +#line 113 "Gmsh.l" return tBSpline; YY_BREAK case 45: YY_RULE_SETUP -#line 128 "Gmsh.l" +#line 114 "Gmsh.l" return tBoundingBox; YY_BREAK case 46: YY_RULE_SETUP -#line 130 "Gmsh.l" +#line 116 "Gmsh.l" return tCeil; YY_BREAK case 47: YY_RULE_SETUP -#line 131 "Gmsh.l" +#line 117 "Gmsh.l" return tCircle; YY_BREAK case 48: YY_RULE_SETUP -#line 132 "Gmsh.l" +#line 118 "Gmsh.l" return tCoherence; YY_BREAK case 49: YY_RULE_SETUP -#line 133 "Gmsh.l" +#line 119 "Gmsh.l" return tCombine; YY_BREAK case 50: YY_RULE_SETUP -#line 134 "Gmsh.l" +#line 120 "Gmsh.l" return tCosh; YY_BREAK case 51: YY_RULE_SETUP -#line 135 "Gmsh.l" +#line 121 "Gmsh.l" return tCos; YY_BREAK case 52: YY_RULE_SETUP -#line 136 "Gmsh.l" +#line 122 "Gmsh.l" return tCharacteristic; YY_BREAK case 53: YY_RULE_SETUP -#line 137 "Gmsh.l" +#line 123 "Gmsh.l" return tComplex; YY_BREAK case 54: YY_RULE_SETUP -#line 138 "Gmsh.l" +#line 124 "Gmsh.l" return tColor; YY_BREAK case 55: YY_RULE_SETUP -#line 139 "Gmsh.l" +#line 125 "Gmsh.l" return tColorTable; YY_BREAK case 56: YY_RULE_SETUP -#line 140 "Gmsh.l" +#line 126 "Gmsh.l" return tCoordinates; YY_BREAK case 57: YY_RULE_SETUP -#line 141 "Gmsh.l" +#line 127 "Gmsh.l" return tSpline; YY_BREAK case 58: YY_RULE_SETUP -#line 142 "Gmsh.l" +#line 128 "Gmsh.l" return tCall; YY_BREAK case 59: YY_RULE_SETUP -#line 144 "Gmsh.l" +#line 130 "Gmsh.l" return tDelete; YY_BREAK case 60: YY_RULE_SETUP -#line 145 "Gmsh.l" +#line 131 "Gmsh.l" return tDilate; YY_BREAK case 61: YY_RULE_SETUP -#line 146 "Gmsh.l" +#line 132 "Gmsh.l" return tDuplicata; YY_BREAK case 62: YY_RULE_SETUP -#line 147 "Gmsh.l" +#line 133 "Gmsh.l" return tDraw; YY_BREAK case 63: YY_RULE_SETUP -#line 149 "Gmsh.l" +#line 135 "Gmsh.l" return tExp; YY_BREAK case 64: YY_RULE_SETUP -#line 150 "Gmsh.l" +#line 136 "Gmsh.l" return tEllipse; YY_BREAK case 65: YY_RULE_SETUP -#line 151 "Gmsh.l" +#line 137 "Gmsh.l" return tEllipse; YY_BREAK case 66: YY_RULE_SETUP -#line 152 "Gmsh.l" +#line 138 "Gmsh.l" return tExtrude; YY_BREAK case 67: YY_RULE_SETUP -#line 153 "Gmsh.l" +#line 139 "Gmsh.l" return tElliptic; YY_BREAK case 68: YY_RULE_SETUP -#line 154 "Gmsh.l" +#line 140 "Gmsh.l" return tEndFor; YY_BREAK case 69: YY_RULE_SETUP -#line 155 "Gmsh.l" +#line 141 "Gmsh.l" return tEndIf; YY_BREAK case 70: YY_RULE_SETUP -#line 156 "Gmsh.l" +#line 142 "Gmsh.l" return tEuclidian; YY_BREAK case 71: YY_RULE_SETUP -#line 157 "Gmsh.l" +#line 143 "Gmsh.l" return tExit; YY_BREAK case 72: YY_RULE_SETUP -#line 159 "Gmsh.l" +#line 145 "Gmsh.l" return tFabs; YY_BREAK case 73: YY_RULE_SETUP -#line 160 "Gmsh.l" +#line 146 "Gmsh.l" return tField; YY_BREAK case 74: YY_RULE_SETUP -#line 161 "Gmsh.l" +#line 147 "Gmsh.l" return tFloor; YY_BREAK case 75: YY_RULE_SETUP -#line 162 "Gmsh.l" +#line 148 "Gmsh.l" return tFmod; YY_BREAK case 76: YY_RULE_SETUP -#line 163 "Gmsh.l" +#line 149 "Gmsh.l" return tFor; YY_BREAK case 77: YY_RULE_SETUP -#line 164 "Gmsh.l" +#line 150 "Gmsh.l" return tFunction; YY_BREAK case 78: YY_RULE_SETUP -#line 166 "Gmsh.l" +#line 152 "Gmsh.l" return tGetValue; YY_BREAK case 79: YY_RULE_SETUP -#line 167 "Gmsh.l" +#line 153 "Gmsh.l" return tGrad; YY_BREAK case 80: YY_RULE_SETUP -#line 168 "Gmsh.l" +#line 154 "Gmsh.l" return tGMSH_MAJOR_VERSION; YY_BREAK case 81: YY_RULE_SETUP -#line 169 "Gmsh.l" +#line 155 "Gmsh.l" return tGMSH_MINOR_VERSION; YY_BREAK case 82: YY_RULE_SETUP -#line 170 "Gmsh.l" +#line 156 "Gmsh.l" return tGMSH_PATCH_VERSION; YY_BREAK case 83: YY_RULE_SETUP -#line 172 "Gmsh.l" +#line 158 "Gmsh.l" return tHide; YY_BREAK case 84: YY_RULE_SETUP -#line 173 "Gmsh.l" +#line 159 "Gmsh.l" return tHole; YY_BREAK case 85: YY_RULE_SETUP -#line 174 "Gmsh.l" +#line 160 "Gmsh.l" return tHypot; YY_BREAK case 86: YY_RULE_SETUP -#line 176 "Gmsh.l" +#line 162 "Gmsh.l" return tIn; YY_BREAK case 87: YY_RULE_SETUP -#line 177 "Gmsh.l" +#line 163 "Gmsh.l" return tIf; YY_BREAK case 88: YY_RULE_SETUP -#line 178 "Gmsh.l" +#line 164 "Gmsh.l" return tIntersect; YY_BREAK case 89: YY_RULE_SETUP -#line 180 "Gmsh.l" +#line 166 "Gmsh.l" return tKnots; YY_BREAK case 90: YY_RULE_SETUP -#line 182 "Gmsh.l" +#line 168 "Gmsh.l" return tLatLon; YY_BREAK case 91: YY_RULE_SETUP -#line 183 "Gmsh.l" +#line 169 "Gmsh.l" return tLength; YY_BREAK case 92: YY_RULE_SETUP -#line 184 "Gmsh.l" +#line 170 "Gmsh.l" return tLine; YY_BREAK case 93: YY_RULE_SETUP -#line 185 "Gmsh.l" +#line 171 "Gmsh.l" return tLoop; YY_BREAK case 94: YY_RULE_SETUP -#line 186 "Gmsh.l" +#line 172 "Gmsh.l" return tLog; YY_BREAK case 95: YY_RULE_SETUP -#line 187 "Gmsh.l" +#line 173 "Gmsh.l" return tLog10; YY_BREAK case 96: YY_RULE_SETUP -#line 188 "Gmsh.l" +#line 174 "Gmsh.l" return tLayers; YY_BREAK case 97: YY_RULE_SETUP -#line 190 "Gmsh.l" +#line 176 "Gmsh.l" return tModulo; YY_BREAK case 98: YY_RULE_SETUP -#line 191 "Gmsh.l" +#line 177 "Gmsh.l" return tMPI_Rank; YY_BREAK case 99: YY_RULE_SETUP -#line 192 "Gmsh.l" +#line 178 "Gmsh.l" return tMPI_Size; YY_BREAK case 100: YY_RULE_SETUP -#line 194 "Gmsh.l" +#line 180 "Gmsh.l" return tNurbs; YY_BREAK case 101: YY_RULE_SETUP -#line 196 "Gmsh.l" +#line 182 "Gmsh.l" return tOrder; YY_BREAK case 102: YY_RULE_SETUP -#line 198 "Gmsh.l" +#line 184 "Gmsh.l" return tPhysical; YY_BREAK case 103: YY_RULE_SETUP -#line 199 "Gmsh.l" +#line 185 "Gmsh.l" return tPi; YY_BREAK case 104: YY_RULE_SETUP -#line 200 "Gmsh.l" +#line 186 "Gmsh.l" return tPlane; YY_BREAK case 105: YY_RULE_SETUP -#line 201 "Gmsh.l" +#line 187 "Gmsh.l" return tPoint; YY_BREAK case 106: YY_RULE_SETUP -#line 202 "Gmsh.l" +#line 188 "Gmsh.l" return tProgression; YY_BREAK case 107: YY_RULE_SETUP -#line 203 "Gmsh.l" +#line 189 "Gmsh.l" return tProgression; YY_BREAK case 108: YY_RULE_SETUP -#line 204 "Gmsh.l" +#line 190 "Gmsh.l" return tParametric; YY_BREAK case 109: YY_RULE_SETUP -#line 205 "Gmsh.l" +#line 191 "Gmsh.l" return tPolarSphere; YY_BREAK case 110: YY_RULE_SETUP -#line 206 "Gmsh.l" +#line 192 "Gmsh.l" return tPrintf; YY_BREAK case 111: YY_RULE_SETUP -#line 207 "Gmsh.l" +#line 193 "Gmsh.l" return tPlugin; YY_BREAK case 112: YY_RULE_SETUP -#line 209 "Gmsh.l" +#line 195 "Gmsh.l" return tRecombine; YY_BREAK case 113: YY_RULE_SETUP -#line 210 "Gmsh.l" +#line 196 "Gmsh.l" return tRotate; YY_BREAK case 114: YY_RULE_SETUP -#line 211 "Gmsh.l" +#line 197 "Gmsh.l" return tRuled; YY_BREAK case 115: YY_RULE_SETUP -#line 212 "Gmsh.l" +#line 198 "Gmsh.l" return tRand; YY_BREAK case 116: YY_RULE_SETUP -#line 213 "Gmsh.l" +#line 199 "Gmsh.l" return tReturn; YY_BREAK case 117: YY_RULE_SETUP -#line 215 "Gmsh.l" +#line 201 "Gmsh.l" return tSqrt; YY_BREAK case 118: YY_RULE_SETUP -#line 216 "Gmsh.l" +#line 202 "Gmsh.l" return tSin; YY_BREAK case 119: YY_RULE_SETUP -#line 217 "Gmsh.l" +#line 203 "Gmsh.l" return tSinh; YY_BREAK case 120: YY_RULE_SETUP -#line 218 "Gmsh.l" +#line 204 "Gmsh.l" return tSphere; YY_BREAK case 121: YY_RULE_SETUP -#line 219 "Gmsh.l" +#line 205 "Gmsh.l" return tSpline; YY_BREAK case 122: YY_RULE_SETUP -#line 220 "Gmsh.l" +#line 206 "Gmsh.l" return tSurface; YY_BREAK case 123: YY_RULE_SETUP -#line 221 "Gmsh.l" +#line 207 "Gmsh.l" return tSymmetry; YY_BREAK case 124: YY_RULE_SETUP -#line 222 "Gmsh.l" +#line 208 "Gmsh.l" return tSprintf; YY_BREAK case 125: YY_RULE_SETUP -#line 223 "Gmsh.l" +#line 209 "Gmsh.l" return tStrCat; YY_BREAK case 126: YY_RULE_SETUP -#line 224 "Gmsh.l" +#line 210 "Gmsh.l" return tStrPrefix; YY_BREAK case 127: YY_RULE_SETUP -#line 225 "Gmsh.l" +#line 211 "Gmsh.l" return tStrRelative; YY_BREAK case 128: YY_RULE_SETUP -#line 226 "Gmsh.l" +#line 212 "Gmsh.l" return tStructured; YY_BREAK case 129: YY_RULE_SETUP -#line 227 "Gmsh.l" +#line 213 "Gmsh.l" return tShow; YY_BREAK case 130: YY_RULE_SETUP -#line 229 "Gmsh.l" +#line 215 "Gmsh.l" return tTransfinite; YY_BREAK case 131: YY_RULE_SETUP -#line 230 "Gmsh.l" +#line 216 "Gmsh.l" return tTranslate; YY_BREAK case 132: YY_RULE_SETUP -#line 231 "Gmsh.l" +#line 217 "Gmsh.l" return tTanh; YY_BREAK case 133: YY_RULE_SETUP -#line 232 "Gmsh.l" +#line 218 "Gmsh.l" return tTan; YY_BREAK case 134: YY_RULE_SETUP -#line 233 "Gmsh.l" +#line 219 "Gmsh.l" return tThreshold; YY_BREAK case 135: YY_RULE_SETUP -#line 234 "Gmsh.l" +#line 220 "Gmsh.l" return tToday; YY_BREAK case 136: YY_RULE_SETUP -#line 236 "Gmsh.l" +#line 222 "Gmsh.l" return tUsing; YY_BREAK case 137: YY_RULE_SETUP -#line 238 "Gmsh.l" +#line 224 "Gmsh.l" return tVolume; YY_BREAK case 138: YY_RULE_SETUP -#line 239 "Gmsh.l" +#line 225 "Gmsh.l" return tPostView; YY_BREAK case 139: YY_RULE_SETUP -#line 241 "Gmsh.l" +#line 227 "Gmsh.l" return tText2D; YY_BREAK case 140: YY_RULE_SETUP -#line 242 "Gmsh.l" +#line 228 "Gmsh.l" return tText3D; YY_BREAK case 141: YY_RULE_SETUP -#line 243 "Gmsh.l" +#line 229 "Gmsh.l" return tInterpolationScheme; YY_BREAK case 142: YY_RULE_SETUP -#line 244 "Gmsh.l" +#line 230 "Gmsh.l" return tTime; YY_BREAK case 143: -#line 247 "Gmsh.l" +#line 233 "Gmsh.l" case 144: -#line 248 "Gmsh.l" +#line 234 "Gmsh.l" case 145: -#line 249 "Gmsh.l" +#line 235 "Gmsh.l" case 146: YY_RULE_SETUP -#line 249 "Gmsh.l" +#line 235 "Gmsh.l" {yylval.d = atof((char *)yytext); return tDOUBLE;} YY_BREAK case 147: YY_RULE_SETUP -#line 251 "Gmsh.l" +#line 237 "Gmsh.l" {yylval.c = strsave((char*)yytext); return tSTRING;} YY_BREAK case 148: YY_RULE_SETUP -#line 253 "Gmsh.l" +#line 239 "Gmsh.l" return yytext[0]; YY_BREAK case 149: YY_RULE_SETUP -#line 255 "Gmsh.l" +#line 241 "Gmsh.l" ECHO; YY_BREAK -#line 1796 "Gmsh.yy.cpp" +#line 1882 "Gmsh.yy.cpp" case YY_STATE_EOF(INITIAL): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; + *yy_cp = (yy_hold_char); YY_RESTORE_YY_MORE_OFFSET - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our + * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position @@ -1828,13 +1914,13 @@ case YY_STATE_EOF(INITIAL): * end-of-buffer state). Contrast this with the test * in input(). */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) { /* This was really a NUL. */ yy_state_type yy_next_state; - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); /* Okay, we're now positioned to make the NUL * transition. We couldn't have @@ -1847,30 +1933,30 @@ case YY_STATE_EOF(INITIAL): yy_next_state = yy_try_NUL_trans( yy_current_state ); - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_bp = (yytext_ptr) + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; + yy_cp = ++(yy_c_buf_p); yy_current_state = yy_next_state; goto yy_match; } else { - yy_cp = yy_c_buf_p; + yy_cp = (yy_c_buf_p); goto yy_find_action; } } - else switch ( yy_get_next_buffer() ) + else switch ( yy_get_next_buffer( ) ) { case EOB_ACT_END_OF_FILE: { - yy_did_buffer_switch_on_eof = 0; + (yy_did_buffer_switch_on_eof) = 0; - if ( yywrap() ) + if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up @@ -1881,7 +1967,7 @@ case YY_STATE_EOF(INITIAL): * YY_NULL, it'll still work - another * YY_NULL will get returned. */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; @@ -1889,30 +1975,30 @@ case YY_STATE_EOF(INITIAL): else { - if ( ! yy_did_buffer_switch_on_eof ) + if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; - yy_current_state = yy_get_previous_state(); + yy_current_state = yy_get_previous_state( ); - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; goto yy_find_action; } break; @@ -1923,8 +2009,7 @@ case YY_STATE_EOF(INITIAL): "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ - } /* end of yylex */ - +} /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * @@ -1933,21 +2018,20 @@ case YY_STATE_EOF(INITIAL): * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; +static int yy_get_next_buffer (void) +{ + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); register int number_to_move, i; int ret_val; - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); - if ( yy_current_buffer->yy_fill_buffer == 0 ) + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. @@ -1967,34 +2051,30 @@ static int yy_get_next_buffer() /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ - yy_current_buffer->yy_n_chars = yy_n_chars = 0; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; else { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; + int num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; + YY_BUFFER_STATE b = YY_CURRENT_BUFFER; int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); + (int) ((yy_c_buf_p) - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { @@ -2007,8 +2087,7 @@ static int yy_get_next_buffer() b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ @@ -2018,35 +2097,35 @@ static int yy_get_next_buffer() YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; - num_to_read = yy_current_buffer->yy_buf_size - + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; -#endif + } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), num_to_read ); - yy_current_buffer->yy_n_chars = yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } - if ( yy_n_chars == 0 ) + if ( (yy_n_chars) == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); + yyrestart(yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } @@ -2054,32 +2133,31 @@ static int yy_get_next_buffer() else ret_val = EOB_ACT_CONTINUE_SCAN; - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; return ret_val; - } - +} /* yy_get_previous_state - get the state just before the EOB char was reached */ -static yy_state_type yy_get_previous_state() - { + static yy_state_type yy_get_previous_state (void) +{ register yy_state_type yy_current_state; register char *yy_cp; + + yy_current_state = (yy_start); - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { @@ -2091,30 +2169,23 @@ static yy_state_type yy_get_previous_state() } return yy_current_state; - } - +} /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; + register char *yy_cp = (yy_c_buf_p); register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; + (yy_last_accepting_state) = yy_current_state; + (yy_last_accepting_cpos) = yy_cp; } while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { @@ -2126,80 +2197,73 @@ yy_state_type yy_current_state; yy_is_jam = (yy_current_state == 639); return yy_is_jam ? 0 : yy_current_state; - } - +} -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; + static void yyunput (int c, register char * yy_bp ) +{ + register char *yy_cp; + + yy_cp = (yy_c_buf_p); /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; + *yy_cp = (yy_hold_char); - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; + register int number_to_move = (yy_n_chars) + 2; + register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - while ( source > yy_current_buffer->yy_ch_buf ) + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); - yy_current_buffer->yy_n_chars = - yy_n_chars = yy_current_buffer->yy_buf_size; + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; + (yytext_ptr) = yy_bp; + (yy_hold_char) = *yy_cp; + (yy_c_buf_p) = yy_cp; +} - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - +#ifndef YY_NO_INPUT #ifdef __cplusplus -static int yyinput() + static int yyinput (void) #else -static int input() + static int input (void) #endif - { - int c; - *yy_c_buf_p = yy_hold_char; +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) /* This was really a NUL. */ - *yy_c_buf_p = '\0'; + *(yy_c_buf_p) = '\0'; else { /* need more input */ - int offset = yy_c_buf_p - yytext_ptr; - ++yy_c_buf_p; + int offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); - switch ( yy_get_next_buffer() ) + switch ( yy_get_next_buffer( ) ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() @@ -2213,16 +2277,16 @@ static int input() */ /* Reset buffer status. */ - yyrestart( yyin ); + yyrestart(yyin ); - /* fall through */ + /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { - if ( yywrap() ) - return EOF; + if ( yywrap( ) ) + return 0; - if ( ! yy_did_buffer_switch_on_eof ) + if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); @@ -2232,90 +2296,92 @@ static int input() } case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + offset; + (yy_c_buf_p) = (yytext_ptr) + offset; break; } } } - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ + (yy_hold_char) = *++(yy_c_buf_p); return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); +} +#endif /* ifndef YY_NO_INPUT */ - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void yyrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + yyensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + yy_create_buffer(yyin,YY_BUF_SIZE ); } + yy_init_buffer(YY_CURRENT_BUFFER,input_file ); + yy_load_buffer_state( ); +} -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); + */ + yyensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) return; - if ( yy_current_buffer ) + if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } - yy_current_buffer = new_buffer; - yy_load_buffer_state(); + YY_CURRENT_BUFFER_LVALUE = new_buffer; + yy_load_buffer_state( ); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } + (yy_did_buffer_switch_on_eof) = 1; +} +static void yy_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +{ YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); @@ -2324,80 +2390,75 @@ int size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); + b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; - yy_init_buffer( b, file ); + yy_init_buffer(b,file ); return b; - } - +} -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { +/** Destroy the buffer. + * @param b a buffer created with yy_create_buffer() + * + */ + void yy_delete_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) return; - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif + yyfree((void *) b->yy_ch_buf ); -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif + yyfree((void *) b ); +} +#ifndef __cplusplus +extern int isatty (int ); +#endif /* __cplusplus */ + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a yyrestart() or at EOF. + */ + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) - { - yy_flush_buffer( b ); +{ + int oerrno = errno; + + yy_flush_buffer(b ); b->yy_input_file = file; b->yy_fill_buffer = 1; -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; + + errno = oerrno; +} - { - if ( ! b ) +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void yy_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) return; b->yy_n_chars = 0; @@ -2414,29 +2475,121 @@ YY_BUFFER_STATE b; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; - if ( b == yy_current_buffer ) - yy_load_buffer_state(); + if ( b == YY_CURRENT_BUFFER ) + yy_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + yyensure_buffer_stack(); + + /* This block is copied from yy_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void yypop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + yy_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; } +} +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void yyensure_buffer_stack (void) +{ + int num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); @@ -2450,56 +2603,51 @@ yy_size_t size; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; - yy_switch_to_buffer( b ); + yy_switch_to_buffer(b ); return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) -#else -YY_BUFFER_STATE yy_scan_string( yy_str ) -yyconst char *yy_str; -#endif - { - int len; - for ( len = 0; yy_str[len]; ++len ) - ; - - return yy_scan_bytes( yy_str, len ); - } -#endif +} +/** Setup the input buffer state to scan a string. The next call to yylex() will + * scan from a @e copy of @a str. + * @param str a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * yy_scan_bytes() instead. + */ +YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) +{ + + return yy_scan_bytes(yystr,strlen(yystr) ); +} -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will + * scan from a @e copy of @a bytes. + * @param bytes the byte buffer to scan + * @param len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +{ YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; - + /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); + n = _yybytes_len + 2; + buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = yy_scan_buffer( buf, n ); + b = yy_scan_buffer(buf,n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); @@ -2509,148 +2657,196 @@ int len; b->yy_is_our_buffer = 1; return b; - } +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 #endif +static void yy_fatal_error (yyconst char* msg ) +{ + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up yytext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + yyleng = yyless_macro_arg; \ + } \ + while ( 0 ) - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); +/* Accessor methods (get/set functions) to struct members. */ - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); +/** Get the current line number. + * + */ +int yyget_lineno (void) +{ + + return yylineno; +} - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); +/** Get the input stream. + * + */ +FILE *yyget_in (void) +{ + return yyin; +} - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } +/** Get the output stream. + * + */ +FILE *yyget_out (void) +{ + return yyout; +} - yy_start_stack[yy_start_stack_ptr++] = YY_START; +/** Get the length of the current token. + * + */ +int yyget_leng (void) +{ + return yyleng; +} - BEGIN(new_state); - } -#endif +/** Get the current token. + * + */ +char *yyget_text (void) +{ + return yytext; +} -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); +/** Set the current line number. + * @param line_number + * + */ +void yyset_lineno (int line_number ) +{ + + yylineno = line_number; +} - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see yy_switch_to_buffer + */ +void yyset_in (FILE * in_str ) +{ + yyin = in_str ; +} +void yyset_out (FILE * out_str ) +{ + yyout = out_str ; +} -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif +int yyget_debug (void) +{ + return yy_flex_debug; +} -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif +void yyset_debug (int bdebug ) +{ + yy_flex_debug = bdebug ; +} -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; #else -static void yy_fatal_error( msg ) -char msg[]; + yyin = (FILE *) 0; + yyout = (FILE *) 0; #endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + yy_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + yypop_buffer_state(); + } -/* Redefine yyless() so it works in section 3 code. */ + /* Destroy the stack itself. */ + yyfree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + return 0; +} -/* Internal utility routines. */ +/* + * Internal utility routines. + */ #ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; - } +} #endif #ifdef YY_NEED_STRLEN -#ifdef YY_USE_PROTOS -static int yy_flex_strlen( yyconst char *s ) -#else -static int yy_flex_strlen( s ) -yyconst char *s; -#endif - { +static int yy_flex_strlen (yyconst char * s ) +{ register int n; for ( n = 0; s[n]; ++n ) ; return n; - } +} #endif - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { +void *yyalloc (yy_size_t size ) +{ return (void *) malloc( size ); - } +} -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { +void *yyrealloc (void * ptr, yy_size_t size ) +{ /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter @@ -2659,33 +2855,25 @@ yy_size_t size; * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); - } +} -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } +void yyfree (void * ptr ) +{ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +#line 241 "Gmsh.l" -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 255 "Gmsh.l" #undef yywrap int yywrap() {return 1;} -void skipcomments(void){ +void skipcomments(void) +{ int c; while (1) { @@ -2701,7 +2889,8 @@ void skipcomments(void){ } } -void parsestring(char endchar){ +void parsestring(char endchar) +{ int c; char tmp[1024]; @@ -2725,18 +2914,21 @@ void parsestring(char endchar){ yylval.c = strsave(tmp); } -char *strsave(char *ptr){ +char *strsave(char *ptr) +{ return((char*)strcpy((char*)malloc(strlen(ptr)+1),ptr)); } -void skipline(void){ +void skipline(void) +{ int c; while ((c = yyinput()) != '\n'){ if(c == EOF) return; } } -void skip_until(char *skip, char *until){ +void skip_until(char *skip, char *until) +{ int i, nb_skip; int l, l_skip, l_until; char chars[256]; @@ -2795,3 +2987,4 @@ void skip_until(char *skip, char *until){ } void force_yyflush() { YY_FLUSH_BUFFER; } +