/* 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 tExp 264 #define tLog 265 #define tLog10 266 #define tSqrt 267 #define tSin 268 #define tAsin 269 #define tCos 270 #define tAcos 271 #define tTan 272 #define tAtan 273 #define tAtan2 274 #define tSinh 275 #define tCosh 276 #define tTanh 277 #define tFabs 278 #define tFloor 279 #define tCeil 280 #define tFmod 281 #define tModulo 282 #define tHypot 283 #define tPoint 284 #define tCircle 285 #define tEllipsis 286 #define tLine 287 #define tSurface 288 #define tSpline 289 #define tVolume 290 #define tCharacteristic 291 #define tLength 292 #define tParametric 293 #define tElliptic 294 #define tPlane 295 #define tRuled 296 #define tTransfinite 297 #define tComplex 298 #define tPhysical 299 #define tUsing 300 #define tPower 301 #define tBump 302 #define tProgression 303 #define tAssociation 304 #define tRotate 305 #define tTranslate 306 #define tSymmetry 307 #define tDilate 308 #define tExtrude 309 #define tDuplicata 310 #define tLoop 311 #define tInclude 312 #define tRecombine 313 #define tDelete 314 #define tCoherence 315 #define tView 316 #define tOffset 317 #define tAttractor 318 #define tLayers 319 #define tScalarTetrahedron 320 #define tVectorTetrahedron 321 #define tTensorTetrahedron 322 #define tScalarTriangle 323 #define tVectorTriangle 324 #define tTensorTriangle 325 #define tScalarLine 326 #define tVectorLine 327 #define tTensorLine 328 #define tScalarPoint 329 #define tVectorPoint 330 #define tTensorPoint 331 #define tBSpline 332 #define tNurbs 333 #define tOrder 334 #define tWith 335 #define tBounds 336 #define tKnots 337 #define tColor 338 #define tGeneral 339 #define tGeometry 340 #define tMesh 341 #define tClip 342 #define tB_SPLINE_SURFACE_WITH_KNOTS 343 #define tB_SPLINE_CURVE_WITH_KNOTS 344 #define tCARTESIAN_POINT 345 #define tTRUE 346 #define tFALSE 347 #define tUNSPECIFIED 348 #define tU 349 #define tV 350 #define tEDGE_CURVE 351 #define tVERTEX_POINT 352 #define tORIENTED_EDGE 353 #define tPLANE 354 #define tFACE_OUTER_BOUND 355 #define tEDGE_LOOP 356 #define tADVANCED_FACE 357 #define tVECTOR 358 #define tDIRECTION 359 #define tAXIS2_PLACEMENT_3D 360 #define tISO 361 #define tENDISO 362 #define tENDSEC 363 #define tDATA 364 #define tHEADER 365 #define tFILE_DESCRIPTION 366 #define tFILE_SCHEMA 367 #define tFILE_NAME 368 #define tMANIFOLD_SOLID_BREP 369 #define tCLOSED_SHELL 370 #define tADVANCED_BREP_SHAPE_REPRESENTATION 371 #define tFACE_BOUND 372 #define tCYLINDRICAL_SURFACE 373 #define tCONICAL_SURFACE 374 #define tCIRCLE 375 #define tTRIMMED_CURVE 376 #define tGEOMETRIC_SET 377 #define tCOMPOSITE_CURVE_SEGMENT 378 #define tCONTINUOUS 379 #define tCOMPOSITE_CURVE 380 #define tTOROIDAL_SURFACE 381 #define tPRODUCT_DEFINITION 382 #define tPRODUCT_DEFINITION_SHAPE 383 #define tSHAPE_DEFINITION_REPRESENTATION 384 #define tELLIPSE 385 #define tTrimmed 386 #define tSolid 387 #define tEndSolid 388 #define tVertex 389 #define tFacet 390 #define tNormal 391 #define tOuter 392 #define tLoopSTL 393 #define tEndLoop 394 #define tEndFacet 395 #define UMINUS 396 #line 1 "Gmsh.y" /* $Id: Gmsh.tab.cpp,v 1.13 2000-12-04 09:51:51 geuzaine Exp $ */ #include <stdarg.h> #include "Gmsh.h" #include "Const.h" #include "Context.h" #include "Geo.h" #include "CAD.h" #include "DataBase.h" #include "Mesh.h" #include "Create.h" #include "Views.h" #include "StepGeomDatabase.h" #include "Colors.h" #include "Parser.h" #ifdef __DECCXX // bug in bison #include <alloca.h> #endif int Force_ViewNumber = 0 ; List_T *Symbol_L; extern Mesh *THEM; extern Post_View *ActualView; extern char ThePathForIncludes[NAME_STR_L]; static FILE *yyinTab[MAX_OPEN_FILES]; static int yylinenoTab[MAX_OPEN_FILES]; static char yynameTab[MAX_OPEN_FILES][NAME_STR_L]; static char tmpstring[NAME_STR_L]; static Symbol TheSymbol; static Surface *STL_Surf; static Shape TheShape; static unsigned int *ptr ; static int i,j,k,flag,RecursionLevel=0; static double d; static ExtrudeParams extr; static StringXPointer *ColorField ; static List_T *ListOfDouble_L,*ListOfDouble2_L; static List_T *ListOfListOfDouble_L; void yyerror (char *s); void vyyerror (char *fmt, ...); int Get_ColorForString(StringX4Int SX4I[], int alpha, char * string, int * FlagError); void Get_ColorPointerForString(StringXPointer SXP[], char * string, int * FlagError, unsigned int **Pointer); #line 53 "Gmsh.y" typedef union { char *c; int i; double d; double v[5]; Shape s; List_T *l; } YYSTYPE; #include <stdio.h> #ifndef __cplusplus #ifndef __STDC__ #define const #endif #endif #define YYFINAL 1342 #define YYFLAG -32768 #define YYNTBASE 158 #define YYTRANSLATE(x) ((unsigned)(x) <= 396 ? yytranslate[x] : 238) 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, 2, 2, 2, 2, 148, 2, 2, 151, 153, 146, 144, 152, 145, 2, 147, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 142, 2, 143, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 156, 2, 157, 150, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 154, 2, 155, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 149 }; #if YYDEBUG != 0 static const short yyprhs[] = { 0, 0, 2, 4, 6, 8, 30, 32, 33, 36, 38, 40, 42, 45, 48, 51, 54, 57, 60, 68, 74, 92, 102, 126, 158, 174, 186, 198, 214, 224, 238, 248, 260, 274, 284, 294, 306, 316, 328, 338, 350, 364, 378, 390, 404, 422, 432, 444, 456, 470, 482, 492, 493, 496, 498, 500, 502, 504, 506, 508, 510, 512, 514, 516, 518, 521, 528, 537, 538, 541, 544, 547, 550, 553, 556, 559, 562, 565, 568, 571, 574, 576, 580, 581, 595, 597, 601, 602, 616, 618, 622, 623, 637, 639, 643, 644, 664, 666, 670, 671, 691, 693, 697, 698, 718, 720, 724, 725, 751, 753, 757, 758, 784, 786, 790, 791, 817, 819, 823, 824, 856, 858, 862, 863, 895, 897, 901, 902, 934, 939, 947, 956, 969, 976, 982, 990, 998, 1011, 1019, 1029, 1047, 1055, 1064, 1073, 1081, 1093, 1099, 1108, 1118, 1127, 1150, 1171, 1180, 1189, 1195, 1204, 1212, 1221, 1227, 1239, 1245, 1255, 1257, 1259, 1261, 1262, 1265, 1270, 1275, 1279, 1288, 1301, 1310, 1323, 1332, 1345, 1357, 1373, 1375, 1378, 1388, 1391, 1398, 1408, 1418, 1427, 1436, 1445, 1452, 1457, 1460, 1465, 1482, 1483, 1486, 1487, 1493, 1494, 1500, 1501, 1507, 1508, 1511, 1516, 1525, 1530, 1540, 1548, 1550, 1552, 1554, 1556, 1558, 1560, 1564, 1568, 1572, 1576, 1580, 1584, 1587, 1590, 1595, 1600, 1605, 1610, 1615, 1620, 1625, 1630, 1635, 1640, 1647, 1652, 1657, 1662, 1667, 1672, 1677, 1684, 1691, 1698, 1700, 1702, 1704, 1708, 1715, 1727, 1737, 1745, 1753, 1754, 1758, 1760, 1764, 1765, 1769, 1773, 1775, 1779, 1780, 1782, 1786, 1788, 1790, 1794 }; static const short yyrhs[] = { 160, 0, 159, 0, 165, 0, 133, 0, 136, 137, 228, 228, 228, 138, 139, 135, 228, 228, 228, 135, 228, 228, 228, 135, 228, 228, 228, 140, 141, 0, 134, 0, 0, 160, 161, 0, 162, 0, 164, 0, 163, 0, 1, 6, 0, 107, 6, 0, 108, 6, 0, 110, 6, 0, 109, 6, 0, 111, 6, 0, 112, 151, 232, 152, 5, 153, 6, 0, 113, 151, 232, 153, 6, 0, 114, 151, 5, 152, 5, 152, 232, 152, 232, 152, 5, 152, 5, 152, 5, 153, 6, 0, 3, 7, 91, 151, 5, 152, 231, 153, 6, 0, 3, 7, 90, 151, 5, 152, 228, 152, 236, 152, 227, 152, 227, 152, 227, 152, 236, 152, 236, 152, 227, 153, 6, 0, 3, 7, 89, 151, 5, 152, 228, 152, 228, 152, 234, 152, 227, 152, 227, 152, 227, 152, 227, 152, 236, 152, 236, 152, 236, 152, 236, 152, 227, 153, 6, 0, 3, 7, 97, 151, 5, 152, 3, 152, 3, 152, 3, 152, 227, 153, 6, 0, 3, 7, 101, 151, 5, 152, 3, 152, 227, 153, 6, 0, 3, 7, 118, 151, 5, 152, 3, 152, 227, 153, 6, 0, 3, 7, 99, 151, 5, 152, 146, 152, 146, 152, 228, 152, 227, 153, 6, 0, 3, 7, 102, 151, 5, 152, 236, 153, 6, 0, 3, 7, 103, 151, 5, 152, 236, 152, 3, 152, 227, 153, 6, 0, 3, 7, 98, 151, 5, 152, 3, 153, 6, 0, 3, 7, 104, 151, 5, 152, 3, 152, 228, 153, 6, 0, 3, 7, 106, 151, 5, 152, 3, 152, 3, 152, 3, 153, 6, 0, 3, 7, 105, 151, 5, 152, 231, 153, 6, 0, 3, 7, 100, 151, 5, 152, 3, 153, 6, 0, 3, 7, 33, 151, 5, 152, 3, 152, 3, 153, 6, 0, 3, 7, 116, 151, 5, 152, 236, 153, 6, 0, 3, 7, 117, 151, 5, 152, 236, 152, 3, 153, 6, 0, 3, 7, 115, 151, 5, 152, 3, 153, 6, 0, 3, 7, 119, 151, 5, 152, 3, 152, 228, 153, 6, 0, 3, 7, 120, 151, 5, 152, 3, 152, 228, 152, 228, 153, 6, 0, 3, 7, 127, 151, 5, 152, 3, 152, 228, 152, 228, 153, 6, 0, 3, 7, 121, 151, 5, 152, 3, 152, 228, 153, 6, 0, 3, 7, 131, 151, 5, 152, 3, 152, 228, 152, 228, 153, 6, 0, 3, 7, 122, 151, 5, 152, 3, 152, 236, 152, 236, 152, 227, 152, 227, 153, 6, 0, 3, 7, 123, 151, 5, 152, 236, 153, 6, 0, 3, 7, 124, 151, 125, 152, 227, 152, 3, 153, 6, 0, 3, 7, 126, 151, 5, 152, 236, 152, 227, 153, 6, 0, 3, 7, 128, 151, 5, 152, 5, 152, 3, 152, 3, 153, 6, 0, 3, 7, 129, 151, 5, 152, 5, 152, 3, 153, 6, 0, 3, 7, 130, 151, 3, 152, 3, 153, 6, 0, 0, 165, 166, 0, 167, 0, 205, 0, 206, 0, 207, 0, 210, 0, 211, 0, 213, 0, 216, 0, 217, 0, 212, 0, 218, 0, 1, 6, 0, 62, 5, 154, 168, 155, 6, 0, 62, 5, 63, 231, 154, 168, 155, 6, 0, 0, 168, 170, 0, 168, 173, 0, 168, 176, 0, 168, 179, 0, 168, 182, 0, 168, 185, 0, 168, 188, 0, 168, 191, 0, 168, 194, 0, 168, 197, 0, 168, 200, 0, 168, 203, 0, 228, 0, 169, 152, 228, 0, 0, 75, 151, 228, 152, 228, 152, 228, 153, 171, 154, 169, 155, 6, 0, 228, 0, 172, 152, 228, 0, 0, 76, 151, 228, 152, 228, 152, 228, 153, 174, 154, 172, 155, 6, 0, 228, 0, 175, 152, 228, 0, 0, 77, 151, 228, 152, 228, 152, 228, 153, 177, 154, 175, 155, 6, 0, 228, 0, 178, 152, 228, 0, 0, 72, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 180, 154, 178, 155, 6, 0, 228, 0, 181, 152, 228, 0, 0, 73, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 183, 154, 181, 155, 6, 0, 228, 0, 184, 152, 228, 0, 0, 74, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 186, 154, 184, 155, 6, 0, 228, 0, 187, 152, 228, 0, 0, 69, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 189, 154, 187, 155, 6, 0, 228, 0, 190, 152, 228, 0, 0, 70, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 192, 154, 190, 155, 6, 0, 228, 0, 193, 152, 228, 0, 0, 71, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 195, 154, 193, 155, 6, 0, 228, 0, 196, 152, 228, 0, 0, 66, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 198, 154, 196, 155, 6, 0, 228, 0, 199, 152, 228, 0, 0, 67, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 201, 154, 199, 155, 6, 0, 228, 0, 202, 152, 228, 0, 0, 68, 151, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 152, 228, 153, 204, 154, 202, 155, 6, 0, 4, 7, 228, 6, 0, 30, 151, 228, 153, 7, 231, 6, 0, 45, 30, 151, 228, 153, 7, 236, 6, 0, 64, 30, 236, 7, 151, 228, 152, 228, 152, 228, 153, 6, 0, 37, 38, 236, 7, 228, 6, 0, 30, 154, 228, 155, 6, 0, 33, 151, 228, 153, 7, 236, 6, 0, 35, 151, 228, 153, 7, 236, 6, 0, 64, 33, 236, 7, 154, 228, 152, 228, 152, 228, 155, 6, 0, 31, 151, 228, 153, 7, 236, 6, 0, 31, 151, 228, 153, 7, 236, 41, 231, 6, 0, 39, 151, 228, 153, 7, 154, 228, 152, 228, 152, 5, 152, 5, 152, 5, 155, 6, 0, 32, 151, 228, 153, 7, 236, 6, 0, 45, 33, 151, 228, 153, 7, 236, 6, 0, 33, 57, 151, 228, 153, 7, 236, 6, 0, 78, 151, 228, 153, 7, 236, 6, 0, 79, 151, 228, 153, 7, 236, 83, 236, 80, 228, 6, 0, 33, 154, 228, 155, 6, 0, 41, 34, 151, 228, 153, 7, 236, 6, 0, 132, 34, 151, 228, 153, 7, 228, 236, 6, 0, 42, 34, 151, 228, 153, 7, 236, 6, 0, 79, 34, 81, 82, 151, 228, 153, 7, 234, 83, 154, 236, 152, 236, 155, 80, 154, 228, 152, 228, 155, 6, 0, 79, 34, 151, 228, 153, 7, 234, 83, 154, 236, 152, 236, 155, 80, 154, 228, 152, 228, 155, 6, 0, 45, 34, 151, 228, 153, 7, 236, 6, 0, 34, 57, 151, 228, 153, 7, 236, 6, 0, 34, 154, 228, 155, 6, 0, 44, 36, 151, 228, 153, 7, 236, 6, 0, 36, 151, 228, 153, 7, 236, 6, 0, 45, 36, 151, 228, 153, 7, 236, 6, 0, 52, 231, 154, 208, 155, 0, 51, 154, 231, 152, 231, 152, 228, 155, 154, 208, 155, 0, 53, 231, 154, 208, 155, 0, 54, 154, 231, 152, 228, 155, 154, 208, 155, 0, 210, 0, 209, 0, 207, 0, 0, 209, 206, 0, 56, 154, 209, 155, 0, 60, 154, 209, 155, 0, 58, 5, 6, 0, 55, 30, 154, 228, 152, 231, 155, 6, 0, 55, 30, 154, 228, 152, 231, 152, 231, 152, 228, 155, 6, 0, 55, 33, 154, 228, 152, 231, 155, 6, 0, 55, 33, 154, 228, 152, 231, 152, 231, 152, 228, 155, 6, 0, 55, 34, 154, 228, 152, 231, 155, 6, 0, 55, 34, 154, 228, 152, 231, 152, 231, 152, 228, 155, 6, 0, 55, 34, 154, 228, 152, 231, 155, 154, 214, 155, 6, 0, 55, 34, 154, 228, 152, 231, 152, 231, 152, 228, 155, 154, 214, 155, 6, 0, 215, 0, 214, 215, 0, 65, 154, 236, 152, 236, 152, 236, 155, 6, 0, 59, 6, 0, 43, 33, 236, 7, 228, 6, 0, 43, 33, 236, 7, 228, 46, 49, 228, 6, 0, 43, 33, 236, 7, 228, 46, 48, 228, 6, 0, 43, 34, 154, 228, 155, 7, 236, 6, 0, 40, 34, 154, 228, 155, 7, 236, 6, 0, 43, 36, 154, 228, 155, 7, 236, 6, 0, 59, 34, 236, 7, 228, 6, 0, 59, 34, 236, 6, 0, 61, 6, 0, 84, 154, 219, 155, 0, 88, 41, 151, 228, 153, 7, 154, 228, 152, 228, 152, 228, 152, 228, 155, 6, 0, 0, 219, 220, 0, 0, 85, 221, 154, 224, 155, 0, 0, 86, 222, 154, 224, 155, 0, 0, 87, 223, 154, 224, 155, 0, 0, 225, 224, 0, 4, 7, 4, 6, 0, 4, 7, 154, 4, 152, 228, 155, 6, 0, 4, 7, 226, 6, 0, 154, 228, 152, 228, 152, 228, 152, 228, 155, 0, 154, 228, 152, 228, 152, 228, 155, 0, 92, 0, 93, 0, 94, 0, 95, 0, 96, 0, 229, 0, 151, 228, 153, 0, 228, 145, 228, 0, 228, 144, 228, 0, 228, 146, 228, 0, 228, 147, 228, 0, 228, 150, 228, 0, 145, 228, 0, 144, 228, 0, 10, 151, 228, 153, 0, 11, 151, 228, 153, 0, 12, 151, 228, 153, 0, 13, 151, 228, 153, 0, 14, 151, 228, 153, 0, 15, 151, 228, 153, 0, 16, 151, 228, 153, 0, 17, 151, 228, 153, 0, 18, 151, 228, 153, 0, 19, 151, 228, 153, 0, 20, 151, 228, 152, 228, 153, 0, 21, 151, 228, 153, 0, 22, 151, 228, 153, 0, 23, 151, 228, 153, 0, 24, 151, 228, 153, 0, 25, 151, 228, 153, 0, 26, 151, 228, 153, 0, 27, 151, 228, 152, 228, 153, 0, 28, 151, 228, 152, 228, 153, 0, 29, 151, 228, 152, 228, 153, 0, 3, 0, 9, 0, 4, 0, 228, 8, 228, 0, 228, 8, 156, 228, 157, 228, 0, 154, 228, 152, 228, 152, 228, 152, 228, 152, 228, 155, 0, 154, 228, 152, 228, 152, 228, 152, 228, 155, 0, 154, 228, 152, 228, 152, 228, 155, 0, 151, 228, 152, 228, 152, 228, 153, 0, 0, 151, 233, 153, 0, 5, 0, 233, 152, 5, 0, 0, 154, 235, 155, 0, 151, 235, 153, 0, 236, 0, 235, 152, 236, 0, 0, 228, 0, 154, 237, 155, 0, 228, 0, 230, 0, 237, 152, 228, 0, 237, 152, 230, 0 }; #endif #if YYDEBUG != 0 static const short yyrline[] = { 0, 114, 116, 117, 124, 132, 146, 158, 160, 163, 165, 166, 167, 170, 176, 181, 182, 183, 186, 190, 193, 199, 204, 210, 218, 223, 227, 233, 238, 242, 247, 251, 254, 259, 263, 267, 271, 276, 280, 283, 287, 291, 295, 299, 303, 307, 310, 314, 317, 321, 324, 333, 335, 341, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 360, 365, 371, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 390, 393, 397, 403, 409, 412, 416, 422, 428, 431, 435, 441, 447, 450, 454, 462, 468, 471, 475, 483, 489, 492, 496, 504, 510, 513, 517, 529, 535, 538, 542, 554, 560, 563, 567, 579, 585, 588, 592, 605, 611, 614, 618, 631, 637, 640, 644, 657, 669, 683, 694, 700, 719, 730, 738, 744, 750, 769, 775, 791, 798, 804, 810, 816, 822, 841, 853, 859, 878, 899, 907, 913, 919, 925, 937, 943, 949, 961, 967, 972, 977, 984, 986, 987, 990, 995, 1006, 1024, 1039, 1070, 1076, 1082, 1086, 1090, 1094, 1098, 1103, 1110, 1114, 1119, 1137, 1147, 1165, 1182, 1199, 1220, 1240, 1260, 1277, 1301, 1312, 1314, 1329, 1331, 1334, 1337, 1338, 1340, 1341, 1343, 1346, 1348, 1351, 1362, 1372, 1382, 1390, 1466, 1468, 1469, 1470, 1471, 1474, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1506, 1508, 1509, 1520, 1527, 1540, 1549, 1557, 1565, 1575, 1579, 1584, 1588, 1593, 1597, 1601, 1607, 1613, 1619, 1623, 1629, 1642, 1648, 1657, 1661 }; #endif #if YYDEBUG != 0 || defined (YYERROR_VERBOSE) static const char * const yytname[] = { "$","error","$undefined.","tDOUBLE", "tSTRING","tBIGSTR","tEND","tAFFECT","tDOTS","tPi","tExp","tLog","tLog10","tSqrt", "tSin","tAsin","tCos","tAcos","tTan","tAtan","tAtan2","tSinh","tCosh","tTanh", "tFabs","tFloor","tCeil","tFmod","tModulo","tHypot","tPoint","tCircle","tEllipsis", "tLine","tSurface","tSpline","tVolume","tCharacteristic","tLength","tParametric", "tElliptic","tPlane","tRuled","tTransfinite","tComplex","tPhysical","tUsing", "tPower","tBump","tProgression","tAssociation","tRotate","tTranslate","tSymmetry", "tDilate","tExtrude","tDuplicata","tLoop","tInclude","tRecombine","tDelete", "tCoherence","tView","tOffset","tAttractor","tLayers","tScalarTetrahedron","tVectorTetrahedron", "tTensorTetrahedron","tScalarTriangle","tVectorTriangle","tTensorTriangle","tScalarLine", "tVectorLine","tTensorLine","tScalarPoint","tVectorPoint","tTensorPoint","tBSpline", "tNurbs","tOrder","tWith","tBounds","tKnots","tColor","tGeneral","tGeometry", "tMesh","tClip","tB_SPLINE_SURFACE_WITH_KNOTS","tB_SPLINE_CURVE_WITH_KNOTS", "tCARTESIAN_POINT","tTRUE","tFALSE","tUNSPECIFIED","tU","tV","tEDGE_CURVE","tVERTEX_POINT", "tORIENTED_EDGE","tPLANE","tFACE_OUTER_BOUND","tEDGE_LOOP","tADVANCED_FACE", "tVECTOR","tDIRECTION","tAXIS2_PLACEMENT_3D","tISO","tENDISO","tENDSEC","tDATA", "tHEADER","tFILE_DESCRIPTION","tFILE_SCHEMA","tFILE_NAME","tMANIFOLD_SOLID_BREP", "tCLOSED_SHELL","tADVANCED_BREP_SHAPE_REPRESENTATION","tFACE_BOUND","tCYLINDRICAL_SURFACE", "tCONICAL_SURFACE","tCIRCLE","tTRIMMED_CURVE","tGEOMETRIC_SET","tCOMPOSITE_CURVE_SEGMENT", "tCONTINUOUS","tCOMPOSITE_CURVE","tTOROIDAL_SURFACE","tPRODUCT_DEFINITION","tPRODUCT_DEFINITION_SHAPE", "tSHAPE_DEFINITION_REPRESENTATION","tELLIPSE","tTrimmed","tSolid","tEndSolid", "tVertex","tFacet","tNormal","tOuter","tLoopSTL","tEndLoop","tEndFacet","'<'", "'>'","'+'","'-'","'*'","'/'","'%'","UMINUS","'^'","'('","','","')'","'{'","'}'", "'['","']'","All","STLFormatItem","StepFormatItems","StepFormatItem","StepSpecial", "StepHeaderItem","StepDataItem","GeomFormatList","GeomFormat","View","Views", "ScalarPointValues","ScalarPoint","@1","VectorPointValues","VectorPoint","@2", "TensorPointValues","TensorPoint","@3","ScalarLineValues","ScalarLine","@4", "VectorLineValues","VectorLine","@5","TensorLineValues","TensorLine","@6","ScalarTriangleValues", "ScalarTriangle","@7","VectorTriangleValues","VectorTriangle","@8","TensorTriangleValues", "TensorTriangle","@9","ScalarTetrahedronValues","ScalarTetrahedron","@10","VectorTetrahedronValues", "VectorTetrahedron","@11","TensorTetrahedronValues","TensorTetrahedron","@12", "Affectation","Shape","Transform","MultipleShape","ListOfShapes","Duplicata", "Delete","Macro","Extrude","ExtrudeParameters","ExtrudeParameter","Transfini", "Coherence","Options","ColorSections","ColorSection","@13","@14","@15","ColorAffects", "ColorAffect","RGBAExpr","BoolExpr","FExpr","FExpr_Single","FExpr_Range","VExpr", "ListOfStrings","RecursiveListOfStrings","ListOfListOfDouble","RecursiveListOfListOfDouble", "ListOfDouble","RecursiveListOfDouble", NULL }; #endif static const short yyr1[] = { 0, 158, 158, 158, 159, 159, 159, 160, 160, 161, 161, 161, 161, 162, 162, 162, 162, 162, 163, 163, 163, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 165, 165, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 167, 167, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 169, 169, 171, 170, 172, 172, 174, 173, 175, 175, 177, 176, 178, 178, 180, 179, 181, 181, 183, 182, 184, 184, 186, 185, 187, 187, 189, 188, 190, 190, 192, 191, 193, 193, 195, 194, 196, 196, 198, 197, 199, 199, 201, 200, 202, 202, 204, 203, 205, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, 207, 207, 207, 207, 208, 208, 208, 209, 209, 210, 211, 212, 213, 213, 213, 213, 213, 213, 213, 213, 214, 214, 215, 215, 216, 216, 216, 216, 216, 216, 216, 216, 217, 218, 218, 219, 219, 221, 220, 222, 220, 223, 220, 224, 224, 225, 225, 225, 226, 226, 227, 227, 227, 227, 227, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 229, 229, 229, 230, 230, 231, 231, 231, 231, 232, 232, 233, 233, 234, 234, 234, 235, 235, 236, 236, 236, 237, 237, 237, 237 }; static const short yyr2[] = { 0, 1, 1, 1, 1, 21, 1, 0, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 7, 5, 17, 9, 23, 31, 15, 11, 11, 15, 9, 13, 9, 11, 13, 9, 9, 11, 9, 11, 9, 11, 13, 13, 11, 13, 17, 9, 11, 11, 13, 11, 9, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 6, 8, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, 0, 13, 1, 3, 0, 13, 1, 3, 0, 13, 1, 3, 0, 19, 1, 3, 0, 19, 1, 3, 0, 19, 1, 3, 0, 25, 1, 3, 0, 25, 1, 3, 0, 25, 1, 3, 0, 31, 1, 3, 0, 31, 1, 3, 0, 31, 4, 7, 8, 12, 6, 5, 7, 7, 12, 7, 9, 17, 7, 8, 8, 7, 11, 5, 8, 9, 8, 22, 20, 8, 8, 5, 8, 7, 8, 5, 11, 5, 9, 1, 1, 1, 0, 2, 4, 4, 3, 8, 12, 8, 12, 8, 12, 11, 15, 1, 2, 9, 2, 6, 9, 9, 8, 8, 8, 6, 4, 2, 4, 16, 0, 2, 0, 5, 0, 5, 0, 5, 0, 2, 4, 8, 4, 9, 7, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 6, 4, 4, 4, 4, 4, 4, 6, 6, 6, 1, 1, 1, 3, 6, 11, 9, 7, 7, 0, 3, 1, 3, 0, 3, 3, 1, 3, 0, 1, 3, 1, 1, 3, 3 }; static const short yydefact[] = { 51, 4, 6, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 9, 11, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 53, 54, 55, 56, 57, 58, 62, 59, 60, 61, 63, 241, 243, 242, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 12, 0, 13, 14, 16, 15, 17, 250, 250, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 0, 259, 164, 189, 0, 259, 259, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 220, 219, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 164, 0, 0, 0, 0, 0, 168, 0, 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, 213, 215, 214, 216, 217, 218, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 252, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 162, 161, 0, 0, 0, 0, 0, 166, 165, 188, 0, 167, 0, 0, 0, 0, 0, 0, 0, 0, 194, 196, 198, 190, 193, 0, 0, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 0, 232, 233, 234, 235, 236, 237, 0, 0, 0, 215, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 19, 0, 0, 133, 259, 259, 0, 259, 145, 0, 153, 259, 259, 0, 0, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 157, 159, 0, 0, 0, 0, 0, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 0, 0, 259, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 259, 0, 0, 0, 0, 259, 259, 0, 0, 0, 0, 0, 259, 0, 259, 0, 0, 0, 0, 0, 253, 0, 250, 0, 0, 0, 259, 0, 259, 0, 0, 0, 244, 264, 265, 132, 0, 259, 259, 259, 181, 0, 259, 259, 259, 259, 259, 259, 259, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 254, 0, 200, 200, 200, 0, 0, 231, 238, 239, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 208, 209, 210, 211, 0, 0, 0, 0, 0, 0, 0, 18, 0, 129, 137, 0, 140, 0, 134, 0, 135, 155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 143, 0, 259, 259, 0, 259, 0, 0, 200, 0, 0, 0, 259, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 250, 0, 142, 152, 0, 0, 185, 146, 148, 0, 0, 184, 186, 154, 130, 141, 151, 156, 0, 249, 0, 248, 0, 0, 169, 0, 171, 0, 173, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0, 257, 0, 0, 0, 0, 195, 201, 197, 199, 0, 0, 0, 0, 0, 0, 21, 0, 30, 0, 34, 0, 28, 0, 0, 33, 0, 38, 36, 0, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 50, 0, 0, 138, 245, 0, 183, 182, 164, 0, 160, 0, 0, 0, 0, 0, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 256, 255, 259, 0, 0, 0, 0, 0, 147, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 247, 0, 0, 0, 180, 259, 0, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 258, 0, 0, 202, 243, 0, 204, 0, 0, 35, 0, 0, 0, 0, 25, 0, 31, 0, 37, 26, 39, 0, 42, 0, 46, 47, 0, 0, 49, 0, 0, 0, 158, 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 259, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 246, 170, 172, 174, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 86, 90, 131, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 32, 40, 0, 41, 48, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 24, 27, 0, 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 84, 0, 88, 0, 0, 0, 206, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 44, 20, 139, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 83, 85, 87, 89, 91, 0, 0, 205, 0, 0, 259, 0, 0, 0, 0, 0, 0, 94, 98, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 0, 96, 0, 100, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 149, 0, 22, 0, 0, 0, 0, 0, 0, 93, 95, 97, 99, 101, 103, 259, 0, 0, 0, 106, 110, 114, 0, 0, 0, 0, 0, 0, 0, 259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 108, 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 107, 109, 111, 113, 115, 0, 118, 122, 126, 23, 0, 0, 0, 0, 0, 0, 0, 116, 0, 120, 0, 124, 0, 0, 0, 0, 0, 0, 117, 119, 121, 123, 125, 127, 0, 0, 0 }; static const short yydefgoto[] = { 1340, 4, 5, 18, 19, 20, 21, 6, 56, 57, 379, 1112, 502, 1058, 1114, 503, 1059, 1116, 504, 1060, 1224, 505, 1197, 1226, 506, 1198, 1228, 507, 1199, 1285, 508, 1271, 1287, 509, 1272, 1289, 510, 1273, 1322, 511, 1316, 1324, 512, 1317, 1326, 513, 1318, 58, 374, 364, 365, 366, 367, 62, 63, 64, 859, 860, 65, 66, 67, 266, 390, 520, 521, 522, 719, 720, 883, 655, 231, 95, 346, 135, 215, 329, 716, 802, 803, 347 }; static const short yypact[] = { 7, -32768,-32768, -120,-32768, 465, 1499, 1350, 30, 38, 37, 47, 52, 61, 67, -80, -68, -61,-32768,-32768,-32768, -32768, 92, 132, -126, -23, 45, -46, -31, 46, 53, 107, 62, 172, 192, 208, 63, 188, 58, 76, -16, -16, 93, 26, 94, 244, 220, 104, 253, 261, 39, 116, -29, 126, 240, 272,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 156, 176, 178, 189, 199, 206, 224, 225, 233, 251, 260, 264, 265, 267, 276, 281, 284, 285, 298, 300, 1350, 1350, 1350, 1323,-32768,-32768, 1322,-32768,-32768,-32768, -32768,-32768, 301, 301, 308,-32768, 1350, 1350, 1350, 1350, 1350, 302, 1350, 1350, 303, 1350, 1350, 1350, 937, 1350, 205, 309, 310, 937, 241, 292, 311, 316, 318, 320, 322, -16, 1350, 1350, 324, 325, -16, 333, 334, 336, -32768, 332, 937,-32768,-32768, -59, 937, 937, 1350, -62, 1350,-32768, 340, 341, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 215, 215, 749, 1350, 1350, 1350, 1350, 1350, 1323, 342, 343, 347, 348, 358, 364, 365, 368, 369, 370, 372, 380, 385, 387, 411, 412, 419, 429, 430, 434, 435, 436, 437, 438, 439, 452, 483, 485, 486, 487, 424, 381, 463, 489, 40, 830, 330, 891, 901, 1350, 915, 367, 1350, 382, 951, 961, 1350, 668, 632, 993, 1350, 1350, 1350, 636, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 492, 1073, 1159, 187, 187, 493, 1350, 1350, 1350, 289,-32768, 9, 576, -16,-32768, 640, 641, 1006, 567, 1350, 1016, -73, 1350, 1350, 1035, 1063, 1093, 1113, 1130, 1149, 1310, 1331, 1343, 1360, 1172, 1370, 1420, 1435, 1445, 1455, 1465, 1848, 1857, 1866, 1350, 1350, -32768, 197, 214, 215, 215, 215, -70, 645, 646, 647, 655, 659, 661, 663, 664, 665, 669, 674, 675, 678, 679, 681, 682, 684, 686, 688, 693, 694, 696, 697, 536, 701, 702, 704, 705, 670, 708,-32768, -6, 709, 706, 710,-32768, 712, 711, 718, 719, 1475, 721, 723, 1488, 727, 728, 729, 55,-32768, -74, 1350, 738, 512, 1498, 1508, 1350, 550, 577, 1518, 1528, 1538, 1548, 1558, -16, 1350, 1350,-32768, 579, 731,-32768, 592, 1350, 1875, 1884, 1893,-32768,-32768,-32768, 1350,-32768, 595, 556, 599, 598, 748, 605, 1568, 750,-32768,-32768,-32768,-32768,-32768, 1578, 1588,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768, 1350,-32768,-32768,-32768,-32768,-32768,-32768, 1350, 1350, 1350, -14, -14, 619, 607, 608, 622, 625, 626, 627, 644, 652, 653, 680, 685, 691, 692, 703, 713, 716, 720, 722, 724, 726, 734, 736, 737, 739, 746, 751, 753, 756, 758, 759, 766,-32768, 639,-32768, 760, -16,-32768, 937, 937, 786, 937,-32768, 791,-32768, 937, 937, 275, 1350,-32768, 48, 654, 792, 809, 810, 33, 826, 827, 829, 831, 839, 849, 863, 773, 1902, 1911, -32768,-32768, 596, -16, -16, -16, 64,-32768, 732, 779, 783, 784, 787, 788, 793, 794, 820, 821, 841, 852, 865,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768, 1350, 1350, 937, 1350, 880, 937, 747, 789, 828, 926, 935, 1598, 1608, 1618, 1628, 846, 997, 1350, 1350, -16, 999, 1001, 859, 1017, 1018, 937, 937, 1020, -16, 1021, 1022, 937, 937, 1029, 1030, 1037, 1039, 1046, 937, 305, 937, 1047, 1048, 1050, 1049, 1053,-32768, 1057, 301, 1058, 3, 1060, 937, 1061, 937, 1077, 1078, 1350, 668, 55,-32768,-32768, 1350, 937, 937, 937,-32768, 133, 937, 937, 937, 937, 937, 937, 937, 1350, 1350, 1350, 931, 60, 65, 66,-32768, 754, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,-32768, 1920, 1929, 1081, 1638, 71, 1007, 1085, 1085, 1085, 938, 1350,-32768,-32768,-32768,-32768, 1350, 941, 1938, 1947, 946, 948, 949, 957, 950, 958, 962, 965, 966, 967, 970, 980, 982, 989, 992, 995, 996, 1002, 1003, 1004,-32768, -32768,-32768,-32768,-32768, 1015, 1024, 1025, 1031, 1032, 1005, 1034,-32768, 1038,-32768,-32768, -16,-32768, 1139,-32768, 1162, -32768,-32768, -95, 1956, 1181, 1183, 1185, 1350, 1350, 1188, 1189, 1190, 1191, 1205, 1206, 1208, 656, 1648, 262, 187, -16, 1209, -16, 1215, -16, 15, 1216, 1965, 1974, 1983, 1992, 2001, 2010, 2019, 2028, 2037, 2046, 2055, 2064, 1350, 1350,-32768, 1112, 937, 937, 1141, 937, 1226, 1080, 1085, 1086, 1087, 1350, 531, 1323, 1241, 1350, 937, 1239, 1244, 1242, 1103, 1245, 305, 1246, 1247, 1350, 1255, 1250, 1256, 1258, 1262, 305, 1350, 1350, 1350, 937, 1261, 1275, 305, 1350, 1276, 1278, 1283, 1350, 301, 1285,-32768,-32768, 1350, 1350,-32768,-32768,-32768, 106, 118,-32768,-32768,-32768,-32768, -32768,-32768,-32768, 1128,-32768, 1350,-32768, 1129, 1145,-32768, 1146,-32768, 1148,-32768, -32,-32768, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 2073, 2082, 71, 36,-32768, 121, 1147, 1227, 14,-32768,-32768,-32768, -32768, 2091, 1302, 1323, 1157, 2100, 1163,-32768, 1168,-32768, 1176,-32768, 1177,-32768, 1179, 1658,-32768, 1204,-32768,-32768, 1229, 1230, 1668, 2109, 1678, 1232,-32768, 1254, 1257, 2118, 1233, 1263,-32768, 2127, 1265,-32768, 668, 2136,-32768,-32768, 187, 278,-32768, 1350, 1350, 1350, 1351, 1175, -25,-32768, 2145, 2154, 2163, 2172, 2181, 2190, 2199, 2208, 2217, 2226, 2235, 2244, 1350, 1350, 1325, 937,-32768,-32768, 937, 1350, 1352, 1377, 1403, 1350,-32768, -115, 1408, 71, 305, 1412, 1350, 1423, 305, 1424, 1415, 1425, 1426, 1427, 1350, 1428, 937, 1429, 1430, 1350, 1444, 1452, 1350, 1454, 1456, 1307, 1350,-32768, 695, 707, 714,-32768, 937, 1458,-32768, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1688, 735, 1311,-32768, 1314, 125,-32768, 1319, 2253, -32768, 2262, 1350,-32768, 1320, 1327, 1328, 2271,-32768, 1329, -32768, 1330,-32768,-32768,-32768, 1698,-32768, 1333,-32768,-32768, 1708, 1338,-32768, 1718, 1334, 1340,-32768, 782, 1491, 1492, 16, 1356,-32768, 2280, 2289, 2298, 2307, 2316, 2325, 2334, 2343, 2352, 1728, 1738, 1748, 1496, 1503, 937, 937,-32768, 1350, 1350, 1350, 1323, 305, 305, 305, 305, 1505, 1506, 1512, 305, 1513, 1519, 1520, 1522, 1532,-32768,-32768,-32768, -32768, -32, 937, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,-32768,-32768,-32768,-32768,-32768, 1372, 1390, 823, 2361, 2370, 1323, 1394, 1395, 1396, 1409,-32768,-32768,-32768, 1404,-32768,-32768,-32768, 1416, 1417, -18, 1419, 2379, 2388, 2397, 2406, 2415, 2424, 2433, 2442, 2451, 1418, 1421, 1422, 937, 1468, 1580, 1350, 1350, 242, 305, 305, 1587, 1590, 305, 1569, 1579, 1591, 937, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1439, 1449,-32768, 295, 844, 1350, 1461, 1462,-32768,-32768, 1451, 1453, 1469, -32768, 1471, 2460, 2469, 2478, 2487, 2496, 2505, 2514, 2523, 2532, 122, 668, 153, 668, 162, 668, 1527, 1350, 1350, -32768, 1610, 1323, 305, 937, 1611, 1617, 1621, 1623, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1624, 1350, 1630, 1350, 1631, 1485, 2541, 851,-32768, 1323, 1494, 1495,-32768,-32768,-32768,-32768, 2550, 2559, 2568, 2577, 2586, 2595, 1758, 1768, 1778, 668,-32768, 668,-32768, 668,-32768, 1350, 1350,-32768, 421, 305, 937, 1350, 1350, 1350, 1350, 1350, 1350,-32768,-32768,-32768, 2604, 872, 1509, 1497, 1504, 2613, 2622, 2631, 2640, 2649, 2658, 1486, 1515, 1516, 1350, 1651,-32768, 937, 305, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 884,-32768, 1507, 1514, 2667, 2676, 2685, 2694, 2703, 2712, 163, 668, 184, 668, 190, 668, 1654, 937, 1660, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1670, 1350, 1671, 1350, 1673,-32768, 1534,-32768, 2721, 2730, 2739, 1788, 1798, 1808, 668,-32768, 668,-32768, 668,-32768, 937, 1350, 1350, 1350,-32768,-32768,-32768, 1535, 2748, 2757, 2766, 1526, 1536, 1542, 937, 1350, 1350, 1350, 1350, 1350, 1350, 1537, 2775, 2784, 2793, 196, 668, 211, 668, 218, 668, 305, 1350, 1350, 1350, 1350, 1691, 1350, 1693, 1350, 1694, 1553, 1818, 1828, 1838, 668,-32768, 668,-32768, 668,-32768, 1701,-32768,-32768,-32768,-32768, 1555, 1556, 1562, 1350, 1350, 1350, 228, 668, 238, 668, 239, 668, 1350, 1711, 1350, 1713, 1350, 1714, 668,-32768, 668,-32768, 668,-32768, 1726, 1727,-32768 }; static const short yypgoto[] = {-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 1248, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768, 1723, 1724, -247, 269, 1731,-32768,-32768,-32768, 744, -856,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768, -595,-32768,-32768, -686, -7, -32768, 1277, -3, -103,-32768, -795, 1042, -82,-32768 }; #define YYLAST 2945 static const short yytable[] = { 94, 216, 368, 919, 258, 150, 875, -7, -7, 665, -7, 112, 386, 387, 388, 375, 376, 7, 881, 263, 943, 784, 1011, 721, 722, 108, 115, 857, 109, 289, 290, 180, 181, 858, 857, 182, 96, 232, 136, 580, 858, 857, 237, 98, 666, 97, 333, 858, 823, 289, 290, 180, 181, 99, 575, 182, 138, 832, 100, 139, 140, 256, 760, 462, 839, 260, 261, 101, 415, 147, 596, 103, 148, 102, 289, 290, 180, 181, 463, 581, 182, 464, 389, 104, 175, 176, 177, 183, 128, 264, 105, 129, 130, 945, 131, 259, 124, 125, 106, 126, 218, 219, 220, 221, 222, 113, 224, 225, 114, 227, 228, 229, 849, 233, -7, -7, -7, -7, -7, -7, -7, -7, 151, 116, 850, 809, 246, 247, 110, 245, 918, 990, 180, 181, 250, 133, 182, 1074, 134, 107, 1, 2, 262, 3, 265, 119, 446, 447, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 882, 785, 1012, 292, 293, 294, 295, 296, 297, 289, 290, 180, 181, 678, 679, 182, 289, 290, 180, 181, 876, 877, 182, 919, 289, 290, 180, 181, 111, 117, 182, 289, 290, 180, 181, 946, 118, 182, 121, 950, 289, 290, 180, 181, 691, 120, 182, 692, 338, 693, 695, 341, 694, 696, 714, 345, 127, 715, 122, 350, 351, 352, 132, 354, 355, 356, 357, 358, 359, 360, 39, 40, 41, 42, 123, 44, 370, 371, 372, 137, 141, 142, 289, 290, 180, 181, 143, 378, 182, 384, 144, 145, 391, 392, 289, 290, 180, 181, 146, 149, 182, 289, 290, 180, 181, 876, 1139, 182, 878, 1140, 68, 69, 152, 153, 413, 414, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 1141, 154, 155, 1142, 1034, 1035, 1036, 1037, 217, 1143, 1239, 1041, 1144, 1240, 24, 25, 26, 27, 28, 29, 30, 31, 156, 32, 157, 34, 35, -220, 37, 38, -220, 1241, -220, 255, 1242, 158, 465, 1243, -220, -220, 1244, 470, 182, 1295, -219, 159, 1296, -219, 50, -219, 479, 480, 160, 478, 234, -219, -219, 483, 1297, 182, 182, 1298, 51, 52, 487, 1299, 564, 565, 1300, 567, 161, 162, 1093, 569, 570, 1328, 1094, 1095, 1329, 163, 1098, 289, 290, 180, 181, 1330, 1332, 182, 1331, 1333, 238, 525, 650, 651, 652, 653, 654, 164, 526, 527, 528, 289, 290, 180, 181, 254, 165, 182, 257, 776, 166, 167, 777, 168, 91, 92, 55, 289, 290, 180, 181, 93, 169, 182, 328, 911, 571, 170, 912, 613, 171, 172, 616, 1150, 289, 290, 180, 181, 778, 373, 182, 239, 1120, 563, 173, 1121, 174, 214, 223, 226, 572, 573, 636, 637, 663, 235, 236, 240, 642, 643, -1, 8, 241, 9, 242, 649, 243, 656, 244, 289, 290, 180, 181, 248, 249, 182, 593, 594, 595, 668, 335, 670, 251, 252, 1189, 253, 267, 268, 298, 299, 675, 676, 677, 300, 301, 680, 681, 682, 683, 684, 685, 686, 611, 612, 302, 614, 289, 290, 180, 181, 303, 304, 182, 1217, 305, 306, 307, 340, 308, 628, 629, 289, 290, 180, 181, 630, 309, 182, 330, 68, 69, 310, 342, 311, 639, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 1188, 312, 313, 673, 289, 290, 180, 181, 674, 314, 182, 10, 11, 12, 13, 14, 15, 16, 17, 315, 316, 687, 688, 689, 317, 318, 319, 320, 321, 322, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 323, 910, 1301, 24, 25, 26, 27, 28, 29, 30, 31, 724, 32, 331, 34, 35, 725, 37, 38, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 324, 806, 325, 326, 327, 348, 50, 332, 813, 353, 361, 369, 817, 380, 381, 383, 416, 417, 418, 845, 51, 52, 289, 290, 180, 181, 419, 439, 182, 757, 420, 836, 421, 467, 422, 423, 424, 765, 766, 444, 425, 178, 179, 180, 181, 426, 427, 182, 93, 428, 429, 230, 430, 431, 779, 432, 781, 433, 783, 434, 289, 290, 180, 181, 435, 436, 182, 437, 438, 799, 800, 471, 440, 441, 55, 442, 443, 501, 449, 445, 448, 450, 812, 452, 814, 451, 816, 289, 290, 180, 181, 453, 454, 182, 456, 457, 826, 377, 472, 459, 481, 460, 461, 833, 834, 835, 289, 290, 180, 181, 840, 466, 182, 482, 844, 488, 514, 592, 515, 847, 848, 516, 517, 519, 529, 530, 531, 24, 25, 26, 27, 28, 29, 30, 31, 852, 32, 560, 34, 35, 532, 37, 38, 533, 534, 535, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 561, 566, 935, 50, 536, 936, 568, 577, 289, 290, 180, 181, 537, 538, 182, 886, 576, 51, 52, 774, 289, 290, 180, 181, 578, 579, 182, 958, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 539, 582, 583, 972, 584, 540, 585, 289, 290, 180, 181, 541, 542, 182, 586, 913, 914, 915, 969, 289, 290, 180, 181, 543, 587, 182, 289, 290, 180, 181, 970, 55, 182, 544, 932, 933, 545, 971, 588, 610, 546, 937, 547, 940, 548, 942, 549, 289, 290, 180, 181, 598, 948, 182, 550, 615, 551, 552, 987, 553, 956, 289, 290, 180, 181, 961, 554, 182, 964, 617, 291, 555, 968, 556, 1028, 1029, 557, 697, 558, 559, 562, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 589, 289, 290, 180, 181, 599, 1048, 182, 620, 600, 601, 994, 1008, 602, 603, 68, 69, 621, 618, 604, 605, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 289, 290, 180, 181, 606, 607, 182, 289, 290, 180, 181, 1063, 1088, 182, 626, 619, 334, 1030, 1031, 1032, 1033, 289, 290, 180, 181, 608, 1102, 182, 289, 290, 180, 181, 1122, 627, 182, 631, 609, 632, 633, 1173, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 289, 290, 180, 181, 634, 635, 182, 638, 640, 641, 1066, 1201, 289, 290, 180, 181, 644, 645, 182, 289, 290, 180, 181, 1230, 646, 182, 647, 1151, 336, 289, 290, 180, 181, 648, 657, 182, 660, 658, 337, 659, 661, 1091, 1092, 289, 290, 180, 181, 662, 664, 182, 667, 669, 339, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1113, 1115, 1117, 91, 92, 671, 672, 690, 1123, 712, 93, 718, 717, 230, 723, 726, 1190, 289, 290, 180, 181, 729, 730, 182, 731, 733, 343, 289, 290, 180, 181, 732, 734, 182, 1146, 1147, 344, 735, 1149, 736, 737, 801, 738, 1216, 739, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 740, 1167, 741, 1169, 289, 290, 180, 181, 742, 1174, 182, 743, 758, 349, 744, 745, 1246, 289, 290, 180, 181, 746, 747, 182, 748, 754, 382, 289, 290, 180, 181, 1186, 1187, 182, 749, 759, 385, 1191, 1192, 1193, 1194, 1195, 1196, 750, 751, 1267, 289, 290, 180, 181, 752, 753, 182, 755, 762, 393, 763, 756, 764, 1281, 1214, 767, 768, 769, 770, 1218, 1219, 1220, 1221, 1222, 1223, 1225, 1227, 1229, 289, 290, 180, 181, 771, 772, 182, 773, 780, 394, 289, 290, 180, 181, 782, 786, 182, 805, 362, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 807, 1256, 808, 1258, 289, 290, 180, 181, 810, 811, 182, 815, 818, 395, 819, 820, 821, 825, 822, 824, 828, 1268, 1269, 1270, 289, 290, 180, 181, 827, 829, 182, 830, 831, 396, 837, 1282, 1283, 1284, 1286, 1288, 1290, 289, 290, 180, 181, 838, 841, 182, 842, 851, 397, 853, 1302, 1303, 1304, 1305, 843, 1307, 846, 1309, 289, 290, 180, 181, 854, 855, 182, 856, 879, 398, 289, 290, 180, 181, 880, 885, 182, 887, 363, 1323, 1325, 1327, 889, 289, 290, 180, 181, 890, 1334, 182, 1336, 403, 1338, 68, 69, 891, 917, 892, 893, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 68, 69, 184, 895, 916, 938, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 68, 939, 896, 897, 901, 905, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 902, 934, 941, 903, 185, 186, 187, 944, 947, 906, 908, 952, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 949, 951, 953, 954, 955, 957, 959, 960, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 962, 208, 209, 210, 211, 212, 213, 289, 290, 180, 181, 963, 965, 182, 966, 967, 399, 973, 988, 989, 178, 179, 180, 181, 991, 995, 182, 93, 289, 290, 180, 181, 996, 997, 182, 999, 1000, 400, 1002, 1006, 289, 290, 180, 181, 1004, 1007, 182, 91, 92, 401, 1009, 1010, -3, 22, 93, 1026, 23, 289, 290, 180, 181, 1013, 1027, 182, 1038, 1039, 402, 289, 290, 180, 181, 1040, 1042, 182, 91, 92, 404, 1061, 1043, 1044, 1045, 93, 24, 25, 26, 27, 28, 29, 30, 31, 1046, 32, 33, 34, 35, 36, 37, 38, 1062, 1067, 1068, 1089, 1069, 39, 40, 41, 42, 43, 44, 1071, 45, 46, 47, 48, 49, 1070, 50, 289, 290, 180, 181, 1072, 1073, 182, 1075, 1085, 405, 1099, 1086, 1087, 51, 52, 289, 290, 180, 181, 53, 1100, 182, 1090, 54, 406, 289, 290, 180, 181, 1096, 1118, 182, 1097, 1101, 407, 289, 290, 180, 181, 1119, 1126, 182, 1127, 1145, 408, 289, 290, 180, 181, 1124, 1125, 182, 1148, 1152, 409, 289, 290, 180, 181, 1153, 1128, 182, 1129, 1154, 455, 1155, 1166, 55, 289, 290, 180, 181, 1168, 1170, 182, 1171, 1211, 458, 289, 290, 180, 181, 1175, 1176, 182, 1203, 1202, 468, 289, 290, 180, 181, 1204, 1215, 182, 1231, 1245, 469, 289, 290, 180, 181, 1247, 1232, 182, 1212, 1213, 473, 289, 290, 180, 181, 1255, 1257, 182, 1259, 1278, 474, 289, 290, 180, 181, 1260, 1274, 182, 1291, 1279, 475, 289, 290, 180, 181, 1280, 1306, 182, 1308, 1310, 476, 289, 290, 180, 181, 1311, 1315, 182, 1319, 1320, 477, 289, 290, 180, 181, 1321, 1335, 182, 1337, 1339, 518, 289, 290, 180, 181, 1341, 1342, 182, 59, 60, 523, 289, 290, 180, 181, 597, 61, 182, 0, 574, 524, 289, 290, 180, 181, 0, 0, 182, 0, 0, 622, 289, 290, 180, 181, 1047, 804, 182, 0, 0, 623, 289, 290, 180, 181, 0, 0, 182, 0, 0, 624, 289, 290, 180, 181, 0, 0, 182, 0, 0, 625, 289, 290, 180, 181, 0, 0, 182, 0, 0, 713, 289, 290, 180, 181, 0, 0, 182, 0, 0, 775, 289, 290, 180, 181, 0, 0, 182, 0, 0, 894, 289, 290, 180, 181, 0, 0, 182, 0, 0, 898, 289, 290, 180, 181, 0, 0, 182, 0, 0, 900, 289, 290, 180, 181, 0, 0, 182, 0, 0, 986, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1001, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1003, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1005, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1023, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1024, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1025, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1183, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1184, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1185, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1264, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1265, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1266, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1312, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1313, 289, 290, 180, 181, 0, 0, 182, 0, 0, 1314, 289, 290, 180, 181, 0, 0, 182, 0, 410, 289, 290, 180, 181, 0, 0, 182, 0, 411, 289, 290, 180, 181, 0, 0, 182, 0, 412, 289, 290, 180, 181, 0, 0, 182, 0, 484, 289, 290, 180, 181, 0, 0, 182, 0, 485, 289, 290, 180, 181, 0, 0, 182, 0, 486, 289, 290, 180, 181, 0, 0, 182, 0, 590, 289, 290, 180, 181, 0, 0, 182, 0, 591, 289, 290, 180, 181, 0, 0, 182, 0, 710, 289, 290, 180, 181, 0, 0, 182, 0, 711, 289, 290, 180, 181, 0, 0, 182, 0, 727, 289, 290, 180, 181, 0, 0, 182, 0, 728, 289, 290, 180, 181, 0, 0, 182, 0, 761, 289, 290, 180, 181, 0, 0, 182, 0, 787, 289, 290, 180, 181, 0, 0, 182, 0, 788, 289, 290, 180, 181, 0, 0, 182, 0, 789, 289, 290, 180, 181, 0, 0, 182, 0, 790, 289, 290, 180, 181, 0, 0, 182, 0, 791, 289, 290, 180, 181, 0, 0, 182, 0, 792, 289, 290, 180, 181, 0, 0, 182, 0, 793, 289, 290, 180, 181, 0, 0, 182, 0, 794, 289, 290, 180, 181, 0, 0, 182, 0, 795, 289, 290, 180, 181, 0, 0, 182, 0, 796, 289, 290, 180, 181, 0, 0, 182, 0, 797, 289, 290, 180, 181, 0, 0, 182, 0, 798, 289, 290, 180, 181, 0, 0, 182, 0, 873, 289, 290, 180, 181, 0, 0, 182, 0, 874, 289, 290, 180, 181, 0, 0, 182, 0, 884, 289, 290, 180, 181, 0, 0, 182, 0, 888, 289, 290, 180, 181, 0, 0, 182, 0, 899, 289, 290, 180, 181, 0, 0, 182, 0, 904, 289, 290, 180, 181, 0, 0, 182, 0, 907, 289, 290, 180, 181, 0, 0, 182, 0, 909, 289, 290, 180, 181, 0, 0, 182, 0, 920, 289, 290, 180, 181, 0, 0, 182, 0, 921, 289, 290, 180, 181, 0, 0, 182, 0, 922, 289, 290, 180, 181, 0, 0, 182, 0, 923, 289, 290, 180, 181, 0, 0, 182, 0, 924, 289, 290, 180, 181, 0, 0, 182, 0, 925, 289, 290, 180, 181, 0, 0, 182, 0, 926, 289, 290, 180, 181, 0, 0, 182, 0, 927, 289, 290, 180, 181, 0, 0, 182, 0, 928, 289, 290, 180, 181, 0, 0, 182, 0, 929, 289, 290, 180, 181, 0, 0, 182, 0, 930, 289, 290, 180, 181, 0, 0, 182, 0, 931, 289, 290, 180, 181, 0, 0, 182, 0, 992, 289, 290, 180, 181, 0, 0, 182, 0, 993, 289, 290, 180, 181, 0, 0, 182, 0, 998, 289, 290, 180, 181, 0, 0, 182, 0, 1014, 289, 290, 180, 181, 0, 0, 182, 0, 1015, 289, 290, 180, 181, 0, 0, 182, 0, 1016, 289, 290, 180, 181, 0, 0, 182, 0, 1017, 289, 290, 180, 181, 0, 0, 182, 0, 1018, 289, 290, 180, 181, 0, 0, 182, 0, 1019, 289, 290, 180, 181, 0, 0, 182, 0, 1020, 289, 290, 180, 181, 0, 0, 182, 0, 1021, 289, 290, 180, 181, 0, 0, 182, 0, 1022, 289, 290, 180, 181, 0, 0, 182, 0, 1064, 289, 290, 180, 181, 0, 0, 182, 0, 1065, 289, 290, 180, 181, 0, 0, 182, 0, 1076, 289, 290, 180, 181, 0, 0, 182, 0, 1077, 289, 290, 180, 181, 0, 0, 182, 0, 1078, 289, 290, 180, 181, 0, 0, 182, 0, 1079, 289, 290, 180, 181, 0, 0, 182, 0, 1080, 289, 290, 180, 181, 0, 0, 182, 0, 1081, 289, 290, 180, 181, 0, 0, 182, 0, 1082, 289, 290, 180, 181, 0, 0, 182, 0, 1083, 289, 290, 180, 181, 0, 0, 182, 0, 1084, 289, 290, 180, 181, 0, 0, 182, 0, 1130, 289, 290, 180, 181, 0, 0, 182, 0, 1131, 289, 290, 180, 181, 0, 0, 182, 0, 1132, 289, 290, 180, 181, 0, 0, 182, 0, 1133, 289, 290, 180, 181, 0, 0, 182, 0, 1134, 289, 290, 180, 181, 0, 0, 182, 0, 1135, 289, 290, 180, 181, 0, 0, 182, 0, 1136, 289, 290, 180, 181, 0, 0, 182, 0, 1137, 289, 290, 180, 181, 0, 0, 182, 0, 1138, 289, 290, 180, 181, 0, 0, 182, 0, 1172, 289, 290, 180, 181, 0, 0, 182, 0, 1177, 289, 290, 180, 181, 0, 0, 182, 0, 1178, 289, 290, 180, 181, 0, 0, 182, 0, 1179, 289, 290, 180, 181, 0, 0, 182, 0, 1180, 289, 290, 180, 181, 0, 0, 182, 0, 1181, 289, 290, 180, 181, 0, 0, 182, 0, 1182, 289, 290, 180, 181, 0, 0, 182, 0, 1200, 289, 290, 180, 181, 0, 0, 182, 0, 1205, 289, 290, 180, 181, 0, 0, 182, 0, 1206, 289, 290, 180, 181, 0, 0, 182, 0, 1207, 289, 290, 180, 181, 0, 0, 182, 0, 1208, 289, 290, 180, 181, 0, 0, 182, 0, 1209, 289, 290, 180, 181, 0, 0, 182, 0, 1210, 289, 290, 180, 181, 0, 0, 182, 0, 1233, 289, 290, 180, 181, 0, 0, 182, 0, 1234, 289, 290, 180, 181, 0, 0, 182, 0, 1235, 289, 290, 180, 181, 0, 0, 182, 0, 1236, 289, 290, 180, 181, 0, 0, 182, 0, 1237, 289, 290, 180, 181, 0, 0, 182, 0, 1238, 289, 290, 180, 181, 0, 0, 182, 0, 1261, 289, 290, 180, 181, 0, 0, 182, 0, 1262, 289, 290, 180, 181, 0, 0, 182, 0, 1263, 289, 290, 180, 181, 0, 0, 182, 0, 1275, 289, 290, 180, 181, 0, 0, 182, 0, 1276, 289, 290, 180, 181, 0, 0, 182, 0, 1277, 289, 290, 180, 181, 0, 0, 182, 0, 1292, 289, 290, 180, 181, 0, 0, 182, 0, 1293, 289, 290, 180, 181, 0, 0, 182, 0, 1294 }; static const short yycheck[] = { 7, 104, 249, 859, 63, 34, 801, 0, 1, 6, 3, 57, 85, 86, 87, 6, 7, 137, 4, 81, 135, 6, 6, 618, 619, 151, 57, 59, 154, 144, 145, 146, 147, 65, 59, 150, 6, 119, 41, 6, 65, 59, 124, 6, 41, 7, 6, 65, 734, 144, 145, 146, 147, 6, 6, 150, 30, 743, 6, 33, 34, 143, 157, 8, 750, 147, 148, 6, 138, 30, 6, 151, 33, 6, 144, 145, 146, 147, 152, 46, 150, 155, 155, 151, 91, 92, 93, 94, 30, 151, 151, 33, 34, 888, 36, 154, 33, 34, 6, 36, 107, 108, 109, 110, 111, 151, 113, 114, 154, 116, 117, 118, 6, 120, 107, 108, 109, 110, 111, 112, 113, 114, 151, 154, 6, 720, 133, 134, 151, 132, 155, 6, 146, 147, 137, 151, 150, 155, 154, 7, 133, 134, 149, 136, 151, 38, 152, 153, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 154, 154, 154, 178, 179, 180, 181, 182, 183, 144, 145, 146, 147, 48, 49, 150, 144, 145, 146, 147, 152, 153, 150, 1047, 144, 145, 146, 147, 151, 151, 150, 144, 145, 146, 147, 889, 151, 150, 34, 893, 144, 145, 146, 147, 152, 151, 150, 155, 223, 152, 152, 226, 155, 155, 151, 230, 36, 154, 34, 234, 235, 236, 154, 238, 239, 240, 241, 242, 243, 244, 51, 52, 53, 54, 34, 56, 251, 252, 253, 154, 154, 5, 144, 145, 146, 147, 34, 258, 150, 264, 154, 6, 267, 268, 144, 145, 146, 147, 5, 151, 150, 144, 145, 146, 147, 152, 152, 150, 155, 155, 3, 4, 154, 41, 289, 290, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 152, 34, 151, 155, 995, 996, 997, 998, 5, 152, 152, 1002, 155, 155, 30, 31, 32, 33, 34, 35, 36, 37, 151, 39, 151, 41, 42, 135, 44, 45, 138, 152, 140, 6, 155, 151, 348, 152, 146, 147, 155, 353, 150, 152, 135, 151, 155, 138, 64, 140, 362, 363, 151, 361, 154, 146, 147, 369, 152, 150, 150, 155, 78, 79, 376, 152, 453, 454, 155, 456, 151, 151, 135, 460, 461, 152, 1067, 1068, 155, 151, 1071, 144, 145, 146, 147, 152, 152, 150, 155, 155, 154, 403, 92, 93, 94, 95, 96, 151, 410, 411, 412, 144, 145, 146, 147, 141, 151, 150, 144, 152, 151, 151, 155, 151, 144, 145, 132, 144, 145, 146, 147, 151, 151, 150, 5, 152, 156, 151, 155, 516, 151, 151, 519, 1124, 144, 145, 146, 147, 690, 155, 150, 154, 152, 451, 151, 155, 151, 151, 151, 151, 462, 463, 539, 540, 562, 151, 151, 151, 545, 546, 0, 1, 151, 3, 151, 552, 151, 554, 151, 144, 145, 146, 147, 154, 154, 150, 484, 485, 486, 566, 155, 568, 154, 154, 1175, 154, 151, 151, 151, 151, 577, 578, 579, 151, 151, 582, 583, 584, 585, 586, 587, 588, 514, 515, 151, 517, 144, 145, 146, 147, 151, 151, 150, 1204, 151, 151, 151, 155, 151, 531, 532, 144, 145, 146, 147, 533, 151, 150, 152, 3, 4, 151, 155, 151, 542, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 140, 151, 151, 571, 144, 145, 146, 147, 576, 151, 150, 107, 108, 109, 110, 111, 112, 113, 114, 151, 151, 589, 590, 591, 151, 151, 151, 151, 151, 151, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 151, 851, 1291, 30, 31, 32, 33, 34, 35, 36, 37, 621, 39, 153, 41, 42, 626, 44, 45, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 151, 717, 151, 151, 151, 7, 64, 152, 724, 7, 152, 152, 728, 7, 7, 82, 5, 5, 5, 756, 78, 79, 144, 145, 146, 147, 5, 125, 150, 666, 5, 747, 5, 155, 5, 5, 5, 678, 679, 3, 5, 144, 145, 146, 147, 5, 5, 150, 151, 5, 5, 154, 5, 5, 691, 5, 693, 5, 695, 5, 144, 145, 146, 147, 5, 5, 150, 5, 5, 710, 711, 155, 5, 5, 132, 5, 5, 155, 6, 5, 5, 5, 723, 6, 725, 7, 727, 144, 145, 146, 147, 7, 7, 150, 7, 6, 737, 155, 155, 6, 155, 7, 7, 744, 745, 746, 144, 145, 146, 147, 751, 7, 150, 155, 755, 154, 151, 155, 154, 760, 761, 7, 151, 7, 139, 152, 152, 30, 31, 32, 33, 34, 35, 36, 37, 776, 39, 5, 41, 42, 152, 44, 45, 152, 152, 152, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 153, 7, 876, 64, 152, 879, 7, 7, 144, 145, 146, 147, 152, 152, 150, 814, 154, 78, 79, 155, 144, 145, 146, 147, 7, 7, 150, 901, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 152, 7, 7, 917, 7, 152, 7, 144, 145, 146, 147, 152, 152, 150, 7, 854, 855, 856, 155, 144, 145, 146, 147, 152, 7, 150, 144, 145, 146, 147, 155, 132, 150, 152, 873, 874, 152, 155, 7, 6, 152, 880, 152, 882, 152, 884, 152, 144, 145, 146, 147, 151, 891, 150, 152, 7, 152, 152, 155, 152, 899, 144, 145, 146, 147, 904, 152, 150, 907, 154, 153, 152, 911, 152, 988, 989, 152, 155, 152, 152, 152, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 152, 144, 145, 146, 147, 151, 1013, 150, 7, 151, 151, 943, 155, 151, 151, 3, 4, 7, 154, 151, 151, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 144, 145, 146, 147, 151, 151, 150, 144, 145, 146, 147, 155, 1061, 150, 135, 154, 153, 991, 992, 993, 994, 144, 145, 146, 147, 151, 1075, 150, 144, 145, 146, 147, 155, 3, 150, 3, 151, 3, 146, 155, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 144, 145, 146, 147, 3, 3, 150, 3, 3, 3, 1033, 155, 144, 145, 146, 147, 3, 3, 150, 144, 145, 146, 147, 155, 3, 150, 3, 1125, 153, 144, 145, 146, 147, 3, 3, 150, 3, 5, 153, 5, 3, 1064, 1065, 144, 145, 146, 147, 6, 6, 150, 6, 6, 153, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 144, 145, 6, 6, 154, 1093, 6, 151, 4, 83, 154, 154, 152, 1176, 144, 145, 146, 147, 153, 152, 150, 153, 153, 153, 144, 145, 146, 147, 152, 152, 150, 1119, 1120, 153, 153, 1123, 152, 152, 7, 153, 1203, 152, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 153, 1141, 153, 1143, 144, 145, 146, 147, 152, 1149, 150, 152, 6, 153, 152, 152, 1231, 144, 145, 146, 147, 152, 152, 150, 153, 153, 153, 144, 145, 146, 147, 1171, 1172, 150, 152, 6, 153, 1177, 1178, 1179, 1180, 1181, 1182, 152, 152, 1260, 144, 145, 146, 147, 152, 152, 150, 152, 6, 153, 6, 152, 6, 1274, 1200, 6, 6, 6, 6, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 144, 145, 146, 147, 6, 6, 150, 6, 6, 153, 144, 145, 146, 147, 6, 6, 150, 83, 152, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 7, 1241, 155, 1243, 144, 145, 146, 147, 155, 155, 150, 3, 6, 153, 3, 6, 146, 3, 6, 6, 3, 1261, 1262, 1263, 144, 145, 146, 147, 6, 6, 150, 6, 3, 153, 6, 1275, 1276, 1277, 1278, 1279, 1280, 144, 145, 146, 147, 3, 3, 150, 3, 154, 153, 155, 1292, 1293, 1294, 1295, 6, 1297, 6, 1299, 144, 145, 146, 147, 152, 152, 150, 152, 154, 153, 144, 145, 146, 147, 80, 6, 150, 153, 152, 1319, 1320, 1321, 152, 144, 145, 146, 147, 152, 1328, 150, 1330, 152, 1332, 3, 4, 152, 154, 153, 152, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 4, 33, 152, 6, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 4, 153, 153, 152, 152, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 153, 83, 6, 153, 89, 90, 91, 6, 3, 153, 152, 3, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 6, 6, 6, 6, 6, 6, 6, 6, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 3, 126, 127, 128, 129, 130, 131, 144, 145, 146, 147, 6, 5, 150, 5, 155, 153, 6, 154, 152, 144, 145, 146, 147, 152, 152, 150, 151, 144, 145, 146, 147, 152, 152, 150, 153, 153, 153, 152, 152, 144, 145, 146, 147, 153, 152, 150, 144, 145, 153, 6, 6, 0, 1, 151, 6, 4, 144, 145, 146, 147, 152, 6, 150, 6, 6, 153, 144, 145, 146, 147, 6, 6, 150, 144, 145, 153, 152, 6, 6, 5, 151, 30, 31, 32, 33, 34, 35, 36, 37, 5, 39, 40, 41, 42, 43, 44, 45, 155, 152, 152, 80, 153, 51, 52, 53, 54, 55, 56, 152, 58, 59, 60, 61, 62, 153, 64, 144, 145, 146, 147, 152, 152, 150, 152, 154, 153, 5, 154, 154, 78, 79, 144, 145, 146, 147, 84, 5, 150, 6, 88, 153, 144, 145, 146, 147, 6, 155, 150, 6, 6, 153, 144, 145, 146, 147, 154, 153, 150, 153, 80, 153, 144, 145, 146, 147, 152, 152, 150, 6, 6, 153, 144, 145, 146, 147, 6, 155, 150, 155, 6, 153, 6, 6, 132, 144, 145, 146, 147, 6, 6, 150, 154, 154, 153, 144, 145, 146, 147, 152, 152, 150, 152, 141, 153, 144, 145, 146, 147, 152, 6, 150, 152, 6, 153, 144, 145, 146, 147, 6, 153, 150, 154, 154, 153, 144, 145, 146, 147, 6, 6, 150, 6, 154, 153, 144, 145, 146, 147, 152, 152, 150, 152, 154, 153, 144, 145, 146, 147, 154, 6, 150, 6, 6, 153, 144, 145, 146, 147, 153, 6, 150, 154, 154, 153, 144, 145, 146, 147, 154, 6, 150, 6, 6, 153, 144, 145, 146, 147, 0, 0, 150, 6, 6, 153, 144, 145, 146, 147, 488, 6, 150, -1, 463, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, 1012, 715, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, -1, 153, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152, 144, 145, 146, 147, -1, -1, 150, -1, 152 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/lib/bison.simple" /* This file comes from bison-1.28. */ /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* 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 /* Note: there must be only one dollar sign in this file. It is replaced by the list of actions, each action as one case of the switch. */ #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY -2 #define 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. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(token, value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { yychar = (token), yylval = (value); \ yychar1 = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { yyerror ("syntax error: cannot back up"); YYERROR; } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 #ifndef YYPURE #define YYLEX yylex() #endif #ifdef YYPURE #ifdef YYLSP_NEEDED #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) #else #define YYLEX yylex(&yylval, &yylloc) #endif #else /* not YYLSP_NEEDED */ #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, YYLEX_PARAM) #else #define YYLEX yylex(&yylval) #endif #endif /* not YYLSP_NEEDED */ #endif /* If nonreentrant, generate the variables here */ #ifndef YYPURE int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ /* lookahead symbol */ #ifdef YYLSP_NEEDED YYLTYPE yylloc; /* location data for the lookahead */ /* symbol */ #endif 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. */ #endif /* YYINITDEPTH indicates the initial size of the parser's stacks */ #ifndef YYINITDEPTH #define YYINITDEPTH 200 #endif /* YYMAXDEPTH is the maximum size the stacks can grow to (effective only if the built-in stack extension method is used). */ #if YYMAXDEPTH == 0 #undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH #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; { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #else /* __cplusplus */ /* This is the most reliable way to avoid incompatibilities in available built-in functions on various systems. */ static void __yy_memcpy (char *to, char *from, unsigned int count) { register char *t = to; register char *f = from; register int i = count; while (i-- > 0) *t++ = *f++; } #endif #endif #line 217 "/usr/lib/bison.simple" /* The user can define YYPARSE_PARAM as the name of an argument to be passed into yyparse. The argument should have type void *. It should actually point to an object. Grammar actions can access the variable by casting it to the proper pointer type. */ #ifdef YYPARSE_PARAM #ifdef __cplusplus #define YYPARSE_PARAM_ARG void *YYPARSE_PARAM #define YYPARSE_PARAM_DECL #else /* not __cplusplus */ #define YYPARSE_PARAM_ARG YYPARSE_PARAM #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; #endif /* not __cplusplus */ #else /* not YYPARSE_PARAM */ #define YYPARSE_PARAM_ARG #define YYPARSE_PARAM_DECL #endif /* not YYPARSE_PARAM */ /* Prevent warning if -Wstrict-prototypes. */ #ifdef __GNUC__ #ifdef YYPARSE_PARAM int yyparse (void *); #else int yyparse (void); #endif #endif 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 */ #ifdef YYLSP_NEEDED YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ YYLTYPE *yyls = yylsa; YYLTYPE *yylsp; #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) #else #define YYPOPSTACK (yyvsp--, yyssp--) #endif int yystacksize = YYINITDEPTH; int yyfree_stacks = 0; #ifdef YYPURE int yychar; YYSTYPE yylval; int yynerrs; #ifdef YYLSP_NEEDED YYLTYPE yylloc; #endif #endif YYSTYPE yyval; /* the variable used to return */ /* semantic values from the action */ /* routines */ int yylen; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Starting parse\n"); #endif yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. The wasted elements are never initialized. */ yyssp = yyss - 1; yyvsp = yyvs; #ifdef YYLSP_NEEDED yylsp = yyls; #endif /* Push a new state, which is found in yystate . */ /* In all cases, when you get here, the value and location stacks have just been pushed. so pushing a state here evens the stacks. */ yynewstate: *++yyssp = yystate; 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 /* Get the current used size of the three stacks, in elements. */ int size = 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 yyss = yyss1; yyvs = yyvs1; #ifdef YYLSP_NEEDED yyls = yyls1; #endif #else /* no yyoverflow */ /* 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; } yystacksize *= 2; if (yystacksize > YYMAXDEPTH) 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 #endif /* no yyoverflow */ yyssp = yyss + size - 1; yyvsp = yyvs + size - 1; #ifdef YYLSP_NEEDED yylsp = yyls + size - 1; #endif #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Stack size increased to %d\n", yystacksize); #endif if (yyssp >= yyss + yystacksize - 1) YYABORT; } #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Entering state %d\n", yystate); #endif 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: */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYFLAG) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* yychar is either YYEMPTY or YYEOF or a valid token in external form. */ if (yychar == YYEMPTY) { #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Reading a token: "); #endif yychar = YYLEX; } /* Convert token to internal form (in yychar1) for indexing tables with */ if (yychar <= 0) /* This means end of input. */ { yychar1 = 0; yychar = YYEOF; /* Don't call YYLEX any more */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Now at end of input.\n"); #endif } 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 } yyn += yychar1; if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) goto yydefault; yyn = yytable[yyn]; /* yyn is what to do for this token type in this state. Negative => reduce, -yyn is rule number. Positive => shift, yyn is new state. New state is final state => don't bother to shift, just return success. 0, or most negative number => error. */ if (yyn < 0) { if (yyn == YYFLAG) goto yyerrlab; yyn = -yyn; goto yyreduce; } else if (yyn == 0) goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); #endif /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; #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: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; /* Do a reduction. yyn is the number of a rule to reduce with. */ yyreduce: yylen = yyr2[yyn]; if (yylen > 0) yyval = yyvsp[1-yylen]; /* implement default value of the action */ #if YYDEBUG != 0 if (yydebug) { int i; fprintf (stderr, "Reducing via rule %d (line %d), ", yyn, yyrline[yyn]); /* Print the symbols being reduced, and their result. */ for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) fprintf (stderr, "%s ", yytname[yyrhs[i]]); fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); } #endif switch (yyn) { case 4: #line 126 "Gmsh.y" { Msg(PARSER_INFO,"STL File Format"); STL_Surf = Create_Surface(1,MSH_SURF_STL,1); STL_Surf->STL = new STL_Data; return 1; ; break;} case 5: #line 140 "Gmsh.y" { STL_Surf->STL->Add_Facet( yyvsp[-12].d, yyvsp[-11].d, yyvsp[-10].d, yyvsp[-8].d, yyvsp[-7].d, yyvsp[-6].d, yyvsp[-4].d, yyvsp[-3].d, yyvsp[-2].d); return 1; ; break;} case 6: #line 147 "Gmsh.y" { Msg(PARSER_INFO,"STL File Format Read"); Tree_Add(THEM->Surfaces, &STL_Surf); return 1; ; break;} case 9: #line 164 "Gmsh.y" { return 1; ; break;} case 10: #line 165 "Gmsh.y" { return 1; ; break;} case 11: #line 166 "Gmsh.y" { return 1; ; break;} case 12: #line 167 "Gmsh.y" { yyerrok ; return 1; ; break;} case 13: #line 172 "Gmsh.y" { Msg(PARSER_INFO,"Step Iso-10303-21 File Format"); Create_Step_Solid_BRep(); ; break;} case 14: #line 177 "Gmsh.y" { Msg(PARSER_INFO,"Step Iso-10303-21 File Format Read"); Resolve_BREP (); ; break;} case 18: #line 188 "Gmsh.y" { ; break;} case 19: #line 191 "Gmsh.y" { ; break;} case 20: #line 195 "Gmsh.y" { ; break;} case 21: #line 201 "Gmsh.y" { Add_Cartesian_Point((int)yyvsp[-8].d,yyvsp[-4].c,yyvsp[-2].v[0],yyvsp[-2].v[1],yyvsp[-2].v[2]); ; break;} case 22: #line 207 "Gmsh.y" { Add_BSpline_Curve_With_Knots ((int)yyvsp[-22].d, yyvsp[-18].c, (int) yyvsp[-16].d, yyvsp[-14].l, yyvsp[-6].l, yyvsp[-4].l, 0., 1.); ; break;} case 23: #line 214 "Gmsh.y" { Add_BSpline_Surface_With_Knots ((int)yyvsp[-30].d, yyvsp[-26].c, (int) yyvsp[-24].d, (int) yyvsp[-22].d, yyvsp[-20].l, yyvsp[-10].l, yyvsp[-8].l, yyvsp[-6].l, yyvsp[-4].l, 0., 1., 0., 1. ); ; break;} case 24: #line 220 "Gmsh.y" { Add_Edge_Curve ((int)yyvsp[-14].d, yyvsp[-10].c , (int)yyvsp[-8].d , (int)yyvsp[-6].d, (int)yyvsp[-4].d); ; break;} case 25: #line 224 "Gmsh.y" { Add_Face_Outer_Bound((int)yyvsp[-10].d,yyvsp[-6].c,(int)yyvsp[-4].d,yyvsp[-2].i,1); ; break;} case 26: #line 228 "Gmsh.y" { /* La je dois voir la norme ! Face_Bound : trou externe a la surface ! */ Msg(PARSER_INFO,"Found a Face Bound"); Add_Face_Outer_Bound((int)yyvsp[-10].d,yyvsp[-6].c,(int)yyvsp[-4].d,yyvsp[-2].i,0); ; break;} case 27: #line 235 "Gmsh.y" { Add_Oriented_Edge((int)yyvsp[-14].d,yyvsp[-10].c,(int)yyvsp[-4].d,yyvsp[-2].i); ; break;} case 28: #line 239 "Gmsh.y" { Add_Edge_Loop((int)yyvsp[-8].d,yyvsp[-4].c,yyvsp[-2].l); ; break;} case 29: #line 244 "Gmsh.y" { Add_Advanced_Face((int)yyvsp[-12].d,yyvsp[-8].c,yyvsp[-6].l,(int)yyvsp[-4].d,yyvsp[-2].i); ; break;} case 30: #line 248 "Gmsh.y" { Add_Vertex_Point((int)yyvsp[-8].d,yyvsp[-4].c,(int)yyvsp[-2].d); ; break;} case 31: #line 252 "Gmsh.y" { ; break;} case 32: #line 256 "Gmsh.y" { Add_Axis2_Placement3D ( (int)yyvsp[-12].d, (int)yyvsp[-4].d, (int)yyvsp[-2].d, (int)yyvsp[-6].d); ; break;} case 33: #line 260 "Gmsh.y" { Add_Direction((int)yyvsp[-8].d , yyvsp[-4].c, yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2]); ; break;} case 34: #line 264 "Gmsh.y" { Add_Plane((int)yyvsp[-8].d,yyvsp[-4].c,(int)yyvsp[-2].d); ; break;} case 35: #line 268 "Gmsh.y" { Add_Line ((int)yyvsp[-10].d, yyvsp[-6].c , (int) yyvsp[-4].d, (int)yyvsp[-2].d); ; break;} case 36: #line 272 "Gmsh.y" { Msg(PARSER_INFO,"Found a Closed shell"); Add_Closed_Shell((int)yyvsp[-8].d, yyvsp[-4].c , yyvsp[-2].l); ; break;} case 37: #line 278 "Gmsh.y" { ; break;} case 38: #line 281 "Gmsh.y" { ; break;} case 39: #line 284 "Gmsh.y" { Add_Cylinder ((int)yyvsp[-10].d, yyvsp[-6].c , (int)yyvsp[-4].d, yyvsp[-2].d); ; break;} case 40: #line 288 "Gmsh.y" { Add_Cone ((int)yyvsp[-12].d, yyvsp[-8].c , (int)yyvsp[-6].d, yyvsp[-4].d,yyvsp[-2].d); ; break;} case 41: #line 292 "Gmsh.y" { Add_Torus ((int)yyvsp[-12].d, yyvsp[-8].c , (int)yyvsp[-6].d, yyvsp[-4].d,yyvsp[-2].d); ; break;} case 42: #line 296 "Gmsh.y" { Add_Circle((int) yyvsp[-10].d, yyvsp[-6].c, (int) yyvsp[-4].d, yyvsp[-2].d); ; break;} case 43: #line 300 "Gmsh.y" { Add_Ellipsis((int) yyvsp[-12].d, yyvsp[-8].c, (int) yyvsp[-6].d, yyvsp[-4].d, yyvsp[-2].d); ; break;} case 44: #line 305 "Gmsh.y" { ; break;} case 45: #line 308 "Gmsh.y" { ; break;} case 46: #line 312 "Gmsh.y" { ; break;} case 47: #line 315 "Gmsh.y" { ; break;} case 48: #line 319 "Gmsh.y" { ; break;} case 49: #line 322 "Gmsh.y" { ; break;} case 50: #line 325 "Gmsh.y" { ; break;} case 52: #line 336 "Gmsh.y" { Msg(PARSER_INFO,"Gmsh File Format Read"); ; break;} case 53: #line 342 "Gmsh.y" { return 1; ; break;} case 54: #line 343 "Gmsh.y" { return 1; ; break;} case 55: #line 344 "Gmsh.y" { return 1; ; break;} case 56: #line 345 "Gmsh.y" { return 1; ; break;} case 57: #line 346 "Gmsh.y" { return 1; ; break;} case 58: #line 347 "Gmsh.y" { return 1; ; break;} case 59: #line 348 "Gmsh.y" { return 1; ; break;} case 60: #line 349 "Gmsh.y" { return 1; ; break;} case 61: #line 350 "Gmsh.y" { return 1; ; break;} case 62: #line 351 "Gmsh.y" { return 1; ; break;} case 63: #line 352 "Gmsh.y" { return 1; ; break;} case 64: #line 353 "Gmsh.y" { yyerrok; return 1;; break;} case 65: #line 362 "Gmsh.y" { EndView(1, Force_ViewNumber,yyname,yyvsp[-4].c,0.,0.,0.); ; break;} case 66: #line 366 "Gmsh.y" { EndView(1, Force_ViewNumber,yyname,yyvsp[-6].c,yyvsp[-4].v[0],yyvsp[-4].v[1],yyvsp[-4].v[2]); ; break;} case 67: #line 373 "Gmsh.y" { BeginView(1); ; break;} case 80: #line 392 "Gmsh.y" { List_Add(ActualView->SP, &yyvsp[0].d) ; ; break;} case 81: #line 394 "Gmsh.y" { List_Add(ActualView->SP, &yyvsp[0].d) ; ; break;} case 82: #line 399 "Gmsh.y" { List_Add(ActualView->SP, &yyvsp[-5].d); List_Add(ActualView->SP, &yyvsp[-3].d); List_Add(ActualView->SP, &yyvsp[-1].d); ; break;} case 83: #line 404 "Gmsh.y" { ActualView->NbSP++ ; ; break;} case 84: #line 411 "Gmsh.y" { List_Add(ActualView->VP, &yyvsp[0].d) ; ; break;} case 85: #line 413 "Gmsh.y" { List_Add(ActualView->VP, &yyvsp[0].d) ; ; break;} case 86: #line 418 "Gmsh.y" { List_Add(ActualView->VP, &yyvsp[-5].d); List_Add(ActualView->VP, &yyvsp[-3].d); List_Add(ActualView->VP, &yyvsp[-1].d); ; break;} case 87: #line 423 "Gmsh.y" { ActualView->NbVP++ ; ; break;} case 88: #line 430 "Gmsh.y" { List_Add(ActualView->TP, &yyvsp[0].d) ; ; break;} case 89: #line 432 "Gmsh.y" { List_Add(ActualView->TP, &yyvsp[0].d) ; ; break;} case 90: #line 437 "Gmsh.y" { List_Add(ActualView->TP, &yyvsp[-5].d); List_Add(ActualView->TP, &yyvsp[-3].d); List_Add(ActualView->TP, &yyvsp[-1].d); ; break;} case 91: #line 442 "Gmsh.y" { ActualView->NbTP++ ; ; break;} case 92: #line 449 "Gmsh.y" { List_Add(ActualView->SL, &yyvsp[0].d) ; ; break;} case 93: #line 451 "Gmsh.y" { List_Add(ActualView->SL, &yyvsp[0].d) ; ; break;} case 94: #line 457 "Gmsh.y" { List_Add(ActualView->SL, &yyvsp[-11].d); List_Add(ActualView->SL, &yyvsp[-5].d); List_Add(ActualView->SL, &yyvsp[-9].d); List_Add(ActualView->SL, &yyvsp[-3].d); List_Add(ActualView->SL, &yyvsp[-7].d); List_Add(ActualView->SL, &yyvsp[-1].d); ; break;} case 95: #line 463 "Gmsh.y" { ActualView->NbSL++ ; ; break;} case 96: #line 470 "Gmsh.y" { List_Add(ActualView->VL, &yyvsp[0].d) ; ; break;} case 97: #line 472 "Gmsh.y" { List_Add(ActualView->VL, &yyvsp[0].d) ; ; break;} case 98: #line 478 "Gmsh.y" { List_Add(ActualView->SL, &yyvsp[-11].d); List_Add(ActualView->SL, &yyvsp[-5].d); List_Add(ActualView->SL, &yyvsp[-9].d); List_Add(ActualView->SL, &yyvsp[-3].d); List_Add(ActualView->SL, &yyvsp[-7].d); List_Add(ActualView->SL, &yyvsp[-1].d); ; break;} case 99: #line 484 "Gmsh.y" { ActualView->NbVL++ ; ; break;} case 100: #line 491 "Gmsh.y" { List_Add(ActualView->TL, &yyvsp[0].d) ; ; break;} case 101: #line 493 "Gmsh.y" { List_Add(ActualView->TL, &yyvsp[0].d) ; ; break;} case 102: #line 499 "Gmsh.y" { List_Add(ActualView->SL, &yyvsp[-11].d); List_Add(ActualView->SL, &yyvsp[-5].d); List_Add(ActualView->SL, &yyvsp[-9].d); List_Add(ActualView->SL, &yyvsp[-3].d); List_Add(ActualView->SL, &yyvsp[-7].d); List_Add(ActualView->SL, &yyvsp[-1].d); ; break;} case 103: #line 505 "Gmsh.y" { ActualView->NbTL++ ; ; break;} case 104: #line 512 "Gmsh.y" { List_Add(ActualView->ST, &yyvsp[0].d) ; ; break;} case 105: #line 514 "Gmsh.y" { List_Add(ActualView->ST, &yyvsp[0].d) ; ; break;} case 106: #line 521 "Gmsh.y" { List_Add(ActualView->ST, &yyvsp[-17].d); List_Add(ActualView->ST, &yyvsp[-11].d); List_Add(ActualView->ST, &yyvsp[-5].d); List_Add(ActualView->ST, &yyvsp[-15].d); List_Add(ActualView->ST, &yyvsp[-9].d); List_Add(ActualView->ST, &yyvsp[-3].d); List_Add(ActualView->ST, &yyvsp[-13].d); List_Add(ActualView->ST, &yyvsp[-7].d); List_Add(ActualView->ST, &yyvsp[-1].d); ; break;} case 107: #line 530 "Gmsh.y" { ActualView->NbST++ ; ; break;} case 108: #line 537 "Gmsh.y" { List_Add(ActualView->VT, &yyvsp[0].d) ; ; break;} case 109: #line 539 "Gmsh.y" { List_Add(ActualView->VT, &yyvsp[0].d) ; ; break;} case 110: #line 546 "Gmsh.y" { List_Add(ActualView->VT, &yyvsp[-17].d); List_Add(ActualView->VT, &yyvsp[-11].d); List_Add(ActualView->VT, &yyvsp[-5].d); List_Add(ActualView->VT, &yyvsp[-15].d); List_Add(ActualView->VT, &yyvsp[-9].d); List_Add(ActualView->VT, &yyvsp[-3].d); List_Add(ActualView->VT, &yyvsp[-13].d); List_Add(ActualView->VT, &yyvsp[-7].d); List_Add(ActualView->VT, &yyvsp[-1].d); ; break;} case 111: #line 555 "Gmsh.y" { ActualView->NbVT++ ; ; break;} case 112: #line 562 "Gmsh.y" { List_Add(ActualView->TT, &yyvsp[0].d) ; ; break;} case 113: #line 564 "Gmsh.y" { List_Add(ActualView->TT, &yyvsp[0].d) ; ; break;} case 114: #line 571 "Gmsh.y" { List_Add(ActualView->TT, &yyvsp[-17].d); List_Add(ActualView->TT, &yyvsp[-11].d); List_Add(ActualView->TT, &yyvsp[-5].d); List_Add(ActualView->TT, &yyvsp[-15].d); List_Add(ActualView->TT, &yyvsp[-9].d); List_Add(ActualView->TT, &yyvsp[-3].d); List_Add(ActualView->TT, &yyvsp[-13].d); List_Add(ActualView->TT, &yyvsp[-7].d); List_Add(ActualView->TT, &yyvsp[-1].d); ; break;} case 115: #line 580 "Gmsh.y" { ActualView->NbTT++ ; ; break;} case 116: #line 587 "Gmsh.y" { List_Add(ActualView->SS, &yyvsp[0].d) ; ; break;} case 117: #line 589 "Gmsh.y" { List_Add(ActualView->SS, &yyvsp[0].d) ; ; break;} case 118: #line 597 "Gmsh.y" { List_Add(ActualView->SS, &yyvsp[-23].d); List_Add(ActualView->SS, &yyvsp[-17].d); List_Add(ActualView->SS, &yyvsp[-11].d); List_Add(ActualView->SS, &yyvsp[-5].d); List_Add(ActualView->SS, &yyvsp[-21].d); List_Add(ActualView->SS, &yyvsp[-15].d); List_Add(ActualView->SS, &yyvsp[-9].d); List_Add(ActualView->SS, &yyvsp[-3].d); List_Add(ActualView->SS, &yyvsp[-19].d); List_Add(ActualView->SS, &yyvsp[-13].d); List_Add(ActualView->SS, &yyvsp[-7].d); List_Add(ActualView->SS, &yyvsp[-1].d); ; break;} case 119: #line 606 "Gmsh.y" { ActualView->NbSS++ ; ; break;} case 120: #line 613 "Gmsh.y" { List_Add(ActualView->VS, &yyvsp[0].d) ; ; break;} case 121: #line 615 "Gmsh.y" { List_Add(ActualView->VS, &yyvsp[0].d) ; ; break;} case 122: #line 623 "Gmsh.y" { List_Add(ActualView->VS, &yyvsp[-23].d); List_Add(ActualView->VS, &yyvsp[-17].d); List_Add(ActualView->VS, &yyvsp[-11].d); List_Add(ActualView->VS, &yyvsp[-5].d); List_Add(ActualView->VS, &yyvsp[-21].d); List_Add(ActualView->VS, &yyvsp[-15].d); List_Add(ActualView->VS, &yyvsp[-9].d); List_Add(ActualView->VS, &yyvsp[-3].d); List_Add(ActualView->VS, &yyvsp[-19].d); List_Add(ActualView->VS, &yyvsp[-13].d); List_Add(ActualView->VS, &yyvsp[-7].d); List_Add(ActualView->VS, &yyvsp[-1].d); ; break;} case 123: #line 632 "Gmsh.y" { ActualView->NbVS++ ; ; break;} case 124: #line 639 "Gmsh.y" { List_Add(ActualView->TS, &yyvsp[0].d) ; ; break;} case 125: #line 641 "Gmsh.y" { List_Add(ActualView->TS, &yyvsp[0].d) ; ; break;} case 126: #line 649 "Gmsh.y" { List_Add(ActualView->TS, &yyvsp[-23].d); List_Add(ActualView->TS, &yyvsp[-17].d); List_Add(ActualView->TS, &yyvsp[-11].d); List_Add(ActualView->TS, &yyvsp[-5].d); List_Add(ActualView->TS, &yyvsp[-21].d); List_Add(ActualView->TS, &yyvsp[-15].d); List_Add(ActualView->TS, &yyvsp[-9].d); List_Add(ActualView->TS, &yyvsp[-3].d); List_Add(ActualView->TS, &yyvsp[-19].d); List_Add(ActualView->TS, &yyvsp[-13].d); List_Add(ActualView->TS, &yyvsp[-7].d); List_Add(ActualView->TS, &yyvsp[-1].d); ; break;} case 127: #line 658 "Gmsh.y" { ActualView->NbTS++ ; ; break;} case 128: #line 671 "Gmsh.y" { TheSymbol.Name = yyvsp[-3].c; TheSymbol.val = yyvsp[-1].d; List_Replace(Symbol_L,&TheSymbol,CompareSymbols); ; break;} case 129: #line 688 "Gmsh.y" { Cdbpts101((int)yyvsp[-4].d,yyvsp[-1].v[0],yyvsp[-1].v[1],yyvsp[-1].v[2],yyvsp[-1].v[3],yyvsp[-1].v[4]); yyval.s.Type = MSH_POINT; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 130: #line 695 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_PHYSICAL_POINT,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_PHYSICAL_POINT; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 131: #line 701 "Gmsh.y" { Vertex *v; Attractor *a; double p; int ip; for(int i=0;i<List_Nbr(yyvsp[-9].l);i++){ List_Read(yyvsp[-9].l,i,&p); ip = (int)p; v = FindVertex(ip,THEM); if(!v) vyyerror("Unkown Point %d", ip); else{ a = Create_Attractor(List_Nbr(THEM->Metric->Attractors)+1, yyvsp[-6].d,yyvsp[-4].d,yyvsp[-2].d,v,NULL,NULL); List_Add(THEM->Metric->Attractors,&a); } } ; break;} case 132: #line 720 "Gmsh.y" { for(i=0;i<List_Nbr(yyvsp[-3].l);i++){ List_Read(yyvsp[-3].l,i,&d); Vertex *v = FindVertex((int)d,THEM); if(!v) vyyerror("Unkown Point %d", (int)d); else v->lc = yyvsp[-1].d; } ; break;} case 133: #line 731 "Gmsh.y" { yyval.s.Type = MSH_POINT; yyval.s.Num = (int)yyvsp[-2].d; ; break;} case 134: #line 739 "Gmsh.y" { Cdbseg101((int)yyvsp[-4].d,MSH_SEGM_LINE,1,yyvsp[-1].l,NULL,-1,-1,0.,1.,NULL,NULL,NULL); yyval.s.Type = MSH_SEGM_LINE; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 135: #line 745 "Gmsh.y" { Cdbseg101((int)yyvsp[-4].d,MSH_SEGM_SPLN,3,yyvsp[-1].l,NULL,-1,-1,0.,1.,NULL,NULL,NULL); yyval.s.Type = MSH_SEGM_SPLN; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 136: #line 751 "Gmsh.y" { Curve *c; Attractor *a; double p; int ip; for(int i=0;i<List_Nbr(yyvsp[-9].l);i++){ List_Read(yyvsp[-9].l,i,&p); ip = (int)p; c = FindCurve(ip,THEM); if(!c) vyyerror("Unkown Curve %d", ip); else{ a = Create_Attractor(List_Nbr(THEM->Metric->Attractors)+1, yyvsp[-6].d,yyvsp[-4].d,yyvsp[-2].d,NULL,c,NULL); List_Add(THEM->Metric->Attractors,&a); } } ; break;} case 137: #line 770 "Gmsh.y" { Cdbseg101((int)yyvsp[-4].d,MSH_SEGM_CIRC,2,yyvsp[-1].l,NULL,-1,-1,0.,1.,NULL,NULL,NULL); yyval.s.Type = MSH_SEGM_CIRC ; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 138: #line 776 "Gmsh.y" { List_T *temp; int i,j; double d; temp = List_Create(List_Nbr(yyvsp[-3].l),1,sizeof(int)); for(i=0;i<List_Nbr(yyvsp[-3].l);i++){ List_Read(yyvsp[-3].l,i,&d); j = (int)d; List_Add(temp,&j); } AddCircleInDataBase ((int) yyvsp[-6].d, MSH_SEGM_CIRC, temp, yyvsp[-1].v); List_Delete(temp); yyval.s.Type = MSH_SEGM_CIRC ; yyval.s.Num = (int)yyvsp[-6].d; ; break;} case 139: #line 793 "Gmsh.y" { Cdbseg101((int)yyvsp[-14].d,MSH_SEGM_PARAMETRIC,2,NULL,NULL,-1,-1,yyvsp[-10].d,yyvsp[-8].d,yyvsp[-6].c,yyvsp[-4].c,yyvsp[-2].c); yyval.s.Type = MSH_SEGM_PARAMETRIC ; yyval.s.Num = (int)yyvsp[-14].d; ; break;} case 140: #line 799 "Gmsh.y" { Cdbseg101((int)yyvsp[-4].d,MSH_SEGM_ELLI,2,yyvsp[-1].l,NULL,-1,-1,0.,1.,NULL,NULL,NULL); yyval.s.Type = MSH_SEGM_ELLI ; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 141: #line 805 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_PHYSICAL_LINE,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_PHYSICAL_LINE; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 142: #line 811 "Gmsh.y" { yyval.s.Type = MSH_SEGM_LOOP; Cdbz101((int)yyvsp[-4].d,yyval.s.Type,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 143: #line 817 "Gmsh.y" { Cdbseg101((int)yyvsp[-4].d,MSH_SEGM_BSPLN,2,yyvsp[-1].l,NULL,-1,-1,0.,1.,NULL,NULL,NULL); yyval.s.Type = MSH_SEGM_BSPLN; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 144: #line 823 "Gmsh.y" { List_T *Temp; int i; double d; if((int)yyvsp[-1].d + 1 + List_Nbr(yyvsp[-5].l) != List_Nbr(yyvsp[-3].l)){ vyyerror("Wrong Definition of Nurbs Curve %d: " "[Degree]%d + 1 + [NbPts]%d != [NbKnots]%d", (int)yyvsp[-8].d, (int)yyvsp[-1].d, List_Nbr(yyvsp[-5].l), List_Nbr(yyvsp[-3].l)); } Temp = List_Create(List_Nbr(yyvsp[-5].l),1,sizeof(int)); for(i=0;i<List_Nbr(yyvsp[-5].l);i++) { List_Read(yyvsp[-5].l,i,&d); j = (int)d; List_Add(Temp,&j); } AddCurveInDataBase ((int)yyvsp[-8].d,MSH_SEGM_NURBS,(int)yyvsp[-1].d,Temp,yyvsp[-3].l,-1,-1,0.,1.); List_Delete(Temp); ; break;} case 145: #line 842 "Gmsh.y" { yyval.s.Num = (int)yyvsp[-2].d; Curve *c = FindCurve(yyval.s.Num,THEM); if(!c) vyyerror("Unkown Curve %d", yyval.s.Num); else yyval.s.Type = c->Typ; ; break;} case 146: #line 854 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_SURF_PLAN,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_SURF_PLAN; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 147: #line 860 "Gmsh.y" { Surface *s,*support; support = FindSurface((int)yyvsp[-2].d,THEM); if(!support) vyyerror("Unkown Surface %d", (int)yyvsp[-2].d); else{ Cdbz101((int)yyvsp[-5].d,MSH_SURF_PLAN,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); s = FindSurface((int)yyvsp[-5].d,THEM); if(!s) vyyerror("Unkown Surface %d", (int)yyvsp[-5].d); else{ s->Typ = MSH_SURF_TRIMMED; s->Support = support; yyval.s.Type = MSH_SURF_TRIMMED; yyval.s.Num = (int)yyvsp[-5].d; } } ; break;} case 148: #line 879 "Gmsh.y" { List_Read(yyvsp[-1].l,0,&d); i = (int)d; EdgeLoop *el = FindEdgeLoop(i,THEM); if(!el) vyyerror("Unkown Loop %d", i); else{ j = List_Nbr(el->Curves); if(j==4) yyval.s.Type = MSH_SURF_REGL; else if(j==3) yyval.s.Type = MSH_SURF_TRIC; else vyyerror("Wrong Definition of Ruled Surface %d: " "%d Borders Instead of 3 or 4", (int)yyvsp[-4].d, j); Cdbz101((int)yyvsp[-4].d,yyval.s.Type,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Num = (int)yyvsp[-4].d; } ; break;} case 149: #line 902 "Gmsh.y" { CreateNurbsSurface ( (int) yyvsp[-16].d , (int)yyvsp[-4].d , (int)yyvsp[-2].d , yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l); yyval.s.Type = MSH_SURF_NURBS; yyval.s.Num = (int)yyvsp[-16].d; ; break;} case 150: #line 910 "Gmsh.y" { CreateNurbsSurfaceSupport ((int)yyvsp[-16].d, (int) yyvsp[-4].d , (int) yyvsp[-2].d , yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l); ; break;} case 151: #line 914 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_PHYSICAL_SURFACE,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_PHYSICAL_SURFACE; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 152: #line 920 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_SURF_LOOP,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_SURF_LOOP; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 153: #line 926 "Gmsh.y" { yyval.s.Num = (int)yyvsp[-2].d; Surface *s = FindSurface(yyval.s.Num,THEM); if(!s) vyyerror("Unknown Surface %d", yyval.s.Num); else yyval.s.Type = s->Typ; ; break;} case 154: #line 938 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_VOLUME,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_VOLUME; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 155: #line 944 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_VOLUME,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_VOLUME; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 156: #line 950 "Gmsh.y" { Cdbz101((int)yyvsp[-4].d,MSH_PHYSICAL_VOLUME,0,0,0,0,0,NULL,yyvsp[-1].l,NULL); yyval.s.Type = MSH_PHYSICAL_VOLUME; yyval.s.Num = (int)yyvsp[-4].d; ; break;} case 157: #line 963 "Gmsh.y" { TranslateShapes (yyvsp[-3].v[0],yyvsp[-3].v[1],yyvsp[-3].v[2],yyvsp[-1].l,1); yyval.l = yyvsp[-1].l; ; break;} case 158: #line 968 "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 159: #line 973 "Gmsh.y" { SymmetryShapes(yyvsp[-3].v[0],yyvsp[-3].v[1],yyvsp[-3].v[2],yyvsp[-3].v[3],yyvsp[-1].l,1); yyval.l = yyvsp[-1].l; ; break;} case 160: #line 978 "Gmsh.y" { DilatShapes(yyvsp[-6].v[0],yyvsp[-6].v[1],yyvsp[-6].v[2],yyvsp[-4].d,yyvsp[-1].l,1); yyval.l = yyvsp[-1].l; ; break;} case 161: #line 985 "Gmsh.y" { yyval.l = yyvsp[0].l; ; break;} case 162: #line 986 "Gmsh.y" { yyval.l = yyvsp[0].l; ; break;} case 163: #line 987 "Gmsh.y" { yyval.l = yyvsp[0].l; ; break;} case 164: #line 992 "Gmsh.y" { yyval.l = List_Create(3,3,sizeof(Shape)); ; break;} case 165: #line 996 "Gmsh.y" { List_Add(yyval.l,&yyvsp[0].s); yyval.l = yyvsp[-1].l; ; break;} case 166: #line 1008 "Gmsh.y" { yyval.l = List_Create(3,3,sizeof(Shape)); for(i=0;i<List_Nbr(yyvsp[-1].l);i++){ List_Read (yyvsp[-1].l,i,&TheShape); CopyShape(TheShape.Type,TheShape.Num,&j); TheShape.Num = j; List_Add(yyval.l,&TheShape); } ; break;} case 167: #line 1026 "Gmsh.y" { for(i=0;i<List_Nbr(yyvsp[-1].l);i++){ List_Read (yyvsp[-1].l,i,&TheShape); DeleteShape(TheShape.Type,TheShape.Num); } ; break;} case 168: #line 1041 "Gmsh.y" { yyinTab[RecursionLevel++] = yyin; strcpy(tmpstring, ThePathForIncludes); if((yyin = fopen(strcat(tmpstring,yyvsp[-1].c),"r"))){ strcpy(yynameTab[RecursionLevel-1],yyname); yylinenoTab[RecursionLevel-1]=yylineno; yylineno=1; strcpy(yyname,yyvsp[-1].c); while(!feof(yyin)){ yyparse(); } fclose(yyin); yyin = yyinTab[--RecursionLevel]; strcpy(yyname,yynameTab[RecursionLevel]); yylineno = yylinenoTab[RecursionLevel]; } else{ vyyerror("Unknown File '%s'", yyvsp[-1].c) ; yyin = yyinTab[--RecursionLevel]; } ; break;} case 169: #line 1072 "Gmsh.y" { Curve *pc, *prc; Extrude_ProtudePoint(1,(int)yyvsp[-4].d,yyvsp[-2].v[0],yyvsp[-2].v[1],yyvsp[-2].v[2],0.,0.,0.,0.,&pc,&prc,NULL); ; break;} case 170: #line 1077 "Gmsh.y" { Curve *pc, *prc; Extrude_ProtudePoint(0,(int)yyvsp[-8].d,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, &pc,&prc,NULL); ; break;} case 171: #line 1083 "Gmsh.y" { Extrude_ProtudeCurve(1,(int)yyvsp[-4].d,yyvsp[-2].v[0],yyvsp[-2].v[1],yyvsp[-2].v[2],0.,0.,0.,0.,NULL); ; break;} case 172: #line 1087 "Gmsh.y" { Extrude_ProtudeCurve(0,(int)yyvsp[-8].d,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); ; break;} case 173: #line 1091 "Gmsh.y" { Extrude_ProtudeSurface(1,(int)yyvsp[-4].d,yyvsp[-2].v[0],yyvsp[-2].v[1],yyvsp[-2].v[2],0.,0.,0.,0.,0,NULL); ; break;} case 174: #line 1095 "Gmsh.y" { Extrude_ProtudeSurface(0,(int)yyvsp[-8].d,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,0,NULL); ; break;} case 175: #line 1099 "Gmsh.y" { int vol = NEWREG(); Extrude_ProtudeSurface(1,(int)yyvsp[-7].d,yyvsp[-5].v[0],yyvsp[-5].v[1],yyvsp[-5].v[2],0.,0.,0.,0.,vol,&extr); ; break;} case 176: #line 1104 "Gmsh.y" { int vol = NEWREG(); Extrude_ProtudeSurface(0,(int)yyvsp[-11].d,yyvsp[-9].v[0],yyvsp[-9].v[1],yyvsp[-9].v[2],yyvsp[-7].v[0],yyvsp[-7].v[1],yyvsp[-7].v[2],yyvsp[-5].d,vol,&extr); ; break;} case 177: #line 1112 "Gmsh.y" { ; break;} case 178: #line 1115 "Gmsh.y" { ; break;} case 179: #line 1121 "Gmsh.y" { double d; int j; extr.mesh.NbLayer = List_Nbr(yyvsp[-6].l); extr.mesh.ExtrudeMesh = true; for(int i=0;i<List_Nbr(yyvsp[-6].l);i++){ List_Read(yyvsp[-6].l,i,&d); j = (int)d; extr.mesh.NbElmLayer[i] = j; List_Read(yyvsp[-4].l,i,&d); j = (int)d; extr.mesh.ZonLayer[i] = j; List_Read(yyvsp[-2].l,i,&d); extr.mesh.hLayer[i] = d; } ; break;} case 180: #line 1138 "Gmsh.y" { extr.mesh.Recombine = true; ; break;} case 181: #line 1149 "Gmsh.y" { Curve *c; for(i=0;i<List_Nbr(yyvsp[-3].l);i++){ List_Read(yyvsp[-3].l,i,&d); j = (int)fabs(d); c = FindCurve(j,THEM); if(!c) vyyerror("Unkown Curve %d", j); else{ c->Method = TRANSFINI; c->ipar[0] = (int)yyvsp[-1].d; c->ipar[1] = sign(d); c->dpar[0] = 1.0; } } ; break;} case 182: #line 1166 "Gmsh.y" { Curve *c; for(i=0;i<List_Nbr(yyvsp[-6].l);i++){ List_Read(yyvsp[-6].l,i,&d); j = (int)fabs(d); c = FindCurve(j,THEM); if(!c) vyyerror("Unkown Curve %d", j); else{ c->Method = TRANSFINI; c->ipar[0] = (int)yyvsp[-4].d; c->ipar[1] = sign(d); /* Progresion : code 1 ou -1 */ c->dpar[0] = fabs(yyvsp[-1].d); } } ; break;} case 183: #line 1183 "Gmsh.y" { Curve *c; for(i=0;i<List_Nbr(yyvsp[-6].l);i++){ List_Read(yyvsp[-6].l,i,&d); j = (int)fabs(d); c = FindCurve(j,THEM); if(!c) vyyerror("Unkown Curve %d", j); else{ c->Method = TRANSFINI; c->ipar[0] = (int)yyvsp[-4].d; c->ipar[1] = 2*sign(d); /* Bump : code 2 ou -2 */ c->dpar[0] = fabs(yyvsp[-1].d); } } ; break;} case 184: #line 1200 "Gmsh.y" { Surface *s = FindSurface((int)yyvsp[-4].d,THEM); if(!s) vyyerror("Unkown Surface %d", (int)yyvsp[-4].d); else{ s->Method = TRANSFINI; k = List_Nbr(yyvsp[-1].l); if(k!=3 && k!=4){ vyyerror("Wrong Definition of Transfinite Surface %d: " "%d Points Instead of 3 or 4" , yyvsp[-4].d, k) ; } else{ for(i=0;i<k;i++){ List_Read(yyvsp[-1].l,i,&d); j = (int)fabs(d); s->ipar[i] = j; } } } ; break;} case 185: #line 1221 "Gmsh.y" { Surface *s = FindSurface((int)yyvsp[-4].d,THEM); if(!s) vyyerror("Unkown Surface %d", (int)yyvsp[-4].d); else{ s->Method = ELLIPTIC; k = List_Nbr(yyvsp[-1].l); if(k != 4) vyyerror("Wrong Definition of Elliptic Surface %d: " "%d Points Instead of 4" , yyvsp[-4].d, k) ; else{ for(i=0;i<k;i++){ List_Read(yyvsp[-1].l,i,&d); j = (int)fabs(d); s->ipar[i] = j; } } } ; break;} case 186: #line 1241 "Gmsh.y" { Volume *v = FindVolume((int)yyvsp[-4].d,THEM); if(!v) vyyerror("Unkown Volume %d", (int)yyvsp[-4].d); else{ v->Method = TRANSFINI; k = List_Nbr(yyvsp[-1].l); if(k!=6 && k!=8) vyyerror("Wrong Definition of Transfinite Volume %d: " "%d Points Instead of 6 or 8" , yyvsp[-4].d, k) ; else{ for(i=0;i<k;i++){ List_Read(yyvsp[-1].l,i,&d); j = (int)fabs(d); v->ipar[i] = j; } } } ; break;} case 187: #line 1261 "Gmsh.y" { Surface *s; for(i=0;i<List_Nbr(yyvsp[-3].l);i++){ List_Read(yyvsp[-3].l,i,&d); j = (int)d; s = FindSurface(j,THEM); if(!s){ /* Allow generic lists, even if the surfaces don't exist vyyerror("Unkown Surface %d", j); */ } else{ s->Recombine = 1; s->RecombineAngle = yyvsp[-1].d; } } ; break;} case 188: #line 1278 "Gmsh.y" { Surface *s; for(i=0;i<List_Nbr(yyvsp[-1].l);i++){ List_Read(yyvsp[-1].l,i,&d); j = (int)d; s = FindSurface(j,THEM); if(!s){ /* Allow generic lists, even if the surfaces don't exist vyyerror("Unkown Surface %d", j); */ } else{ s->Recombine = 1; s->RecombineAngle = 30.; } } ; break;} case 189: #line 1303 "Gmsh.y" { Coherence_PS(); ; break;} case 191: #line 1315 "Gmsh.y" { i = (int)yyvsp[-12].d ; if(i < 0 || i > 5) vyyerror("Wrong Clip Plane Number %d", i); else{ CTX.clip[i] = 1; CTX.clip_plane[i][0] = yyvsp[-8].d; CTX.clip_plane[i][1] = yyvsp[-6].d; CTX.clip_plane[i][2] = yyvsp[-4].d; CTX.clip_plane[i][3] = yyvsp[-2].d; } ; break;} case 194: #line 1336 "Gmsh.y" { ColorField = ColorGeneral; ; break;} case 196: #line 1339 "Gmsh.y" { ColorField = ColorGeometry; ; break;} case 198: #line 1342 "Gmsh.y" { ColorField = ColorMesh; ; break;} case 202: #line 1353 "Gmsh.y" { i = Get_ColorForString(ColorString, -1, yyvsp[-1].c, &flag); if(flag) vyyerror("Unknown Color '%s'", yyvsp[-1].c); Get_ColorPointerForString(ColorField, yyvsp[-3].c, &flag, &ptr); if(flag) vyyerror("Unknown Color Field '%s'", yyvsp[-3].c); else *ptr = i ; ; break;} case 203: #line 1363 "Gmsh.y" { i = Get_ColorForString(ColorString, (int)yyvsp[-2].d, yyvsp[-4].c, &flag); if(flag) vyyerror("Unknown Color '%s'", yyvsp[-4].c); Get_ColorPointerForString(ColorField, yyvsp[-7].c, &flag, &ptr); if(flag) vyyerror("Unknown Color Field '%s'", yyvsp[-7].c); else *ptr = i ; ; break;} case 204: #line 1373 "Gmsh.y" { Get_ColorPointerForString(ColorField, yyvsp[-3].c, &flag, &ptr); if(flag) vyyerror("Unknown Color Field '%s'", yyvsp[-1].v); else *ptr = PACK_COLOR((int)yyvsp[-1].v[0], (int)yyvsp[-1].v[1], (int)yyvsp[-1].v[2], (int)yyvsp[-1].v[3]); ; break;} case 205: #line 1384 "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; ; break;} case 206: #line 1391 "Gmsh.y" { yyval.v[0]=yyvsp[-5].d; yyval.v[1]=yyvsp[-3].d; yyval.v[2]=yyvsp[-1].d; yyval.v[3]=255.; ; break;} case 207: #line 1467 "Gmsh.y" {yyval.i = 1;; break;} case 208: #line 1468 "Gmsh.y" {yyval.i = 0;; break;} case 209: #line 1469 "Gmsh.y" {yyval.i = -1;; break;} case 210: #line 1470 "Gmsh.y" {yyval.i = -1;; break;} case 211: #line 1471 "Gmsh.y" {yyval.i = -1;; break;} case 212: #line 1475 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 213: #line 1476 "Gmsh.y" { yyval.d = yyvsp[-1].d; ; break;} case 214: #line 1477 "Gmsh.y" { yyval.d = yyvsp[-2].d - yyvsp[0].d; ; break;} case 215: #line 1478 "Gmsh.y" { yyval.d = yyvsp[-2].d + yyvsp[0].d; ; break;} case 216: #line 1479 "Gmsh.y" { yyval.d = yyvsp[-2].d * yyvsp[0].d; ; break;} case 217: #line 1480 "Gmsh.y" { yyval.d = yyvsp[-2].d / yyvsp[0].d; ; break;} case 218: #line 1481 "Gmsh.y" { yyval.d = pow(yyvsp[-2].d, yyvsp[0].d); ; break;} case 219: #line 1482 "Gmsh.y" { yyval.d = - yyvsp[0].d; ; break;} case 220: #line 1483 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 221: #line 1484 "Gmsh.y" { yyval.d = exp(yyvsp[-1].d); ; break;} case 222: #line 1485 "Gmsh.y" { yyval.d = log(yyvsp[-1].d); ; break;} case 223: #line 1486 "Gmsh.y" { yyval.d = log10(yyvsp[-1].d); ; break;} case 224: #line 1487 "Gmsh.y" { yyval.d = sqrt(yyvsp[-1].d); ; break;} case 225: #line 1488 "Gmsh.y" { yyval.d = sin(yyvsp[-1].d); ; break;} case 226: #line 1489 "Gmsh.y" { yyval.d = asin(yyvsp[-1].d); ; break;} case 227: #line 1490 "Gmsh.y" { yyval.d = cos(yyvsp[-1].d); ; break;} case 228: #line 1491 "Gmsh.y" { yyval.d = acos(yyvsp[-1].d); ; break;} case 229: #line 1492 "Gmsh.y" { yyval.d = tan(yyvsp[-1].d); ; break;} case 230: #line 1493 "Gmsh.y" { yyval.d = atan(yyvsp[-1].d); ; break;} case 231: #line 1494 "Gmsh.y" { yyval.d = atan2(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 232: #line 1495 "Gmsh.y" { yyval.d = sinh(yyvsp[-1].d); ; break;} case 233: #line 1496 "Gmsh.y" { yyval.d = cosh(yyvsp[-1].d); ; break;} case 234: #line 1497 "Gmsh.y" { yyval.d = tanh(yyvsp[-1].d); ; break;} case 235: #line 1498 "Gmsh.y" { yyval.d = fabs(yyvsp[-1].d); ; break;} case 236: #line 1499 "Gmsh.y" { yyval.d = floor(yyvsp[-1].d); ; break;} case 237: #line 1500 "Gmsh.y" { yyval.d = ceil(yyvsp[-1].d); ; break;} case 238: #line 1501 "Gmsh.y" { yyval.d = fmod(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 239: #line 1502 "Gmsh.y" { yyval.d = fmod(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 240: #line 1503 "Gmsh.y" { yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; break;} case 241: #line 1507 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 242: #line 1508 "Gmsh.y" { yyval.d = 3.141592653589793; ; break;} case 243: #line 1510 "Gmsh.y" { TheSymbol.Name = yyvsp[0].c ; if (!List_Query(Symbol_L, &TheSymbol, CompareSymbols)) { vyyerror("Unknown variable '%s'", yyvsp[0].c) ; yyval.d = 0. ; } else yyval.d = TheSymbol.val ; Free(yyvsp[0].c); ; break;} case 244: #line 1522 "Gmsh.y" { ListOfDouble2_L = List_Create(2,1,sizeof(double)) ; for(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(ListOfDouble2_L, &d) ; ; break;} case 245: #line 1528 "Gmsh.y" { ListOfDouble2_L = List_Create(2,1,sizeof(double)) ; if(!yyvsp[-2].d || (yyvsp[-5].d<yyvsp[0].d && yyvsp[-2].d<0) || (yyvsp[-5].d>yyvsp[0].d && yyvsp[-2].d>0)){ vyyerror("Wrong Increment in '%g :[%g] %g'", yyvsp[-5].d, yyvsp[-2].d, yyvsp[0].d) ; List_Add(ListOfDouble2_L, &(yyvsp[-5].d)) ; } else for(d=yyvsp[-5].d ; (yyvsp[-2].d>0)?(d<=yyvsp[0].d):(d>=yyvsp[0].d) ; d+=yyvsp[-2].d) List_Add(ListOfDouble2_L, &d) ; ; break;} case 246: #line 1542 "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 247: #line 1550 "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 248: #line 1558 "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 249: #line 1566 "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 250: #line 1577 "Gmsh.y" { ; break;} case 251: #line 1580 "Gmsh.y" { ; break;} case 252: #line 1586 "Gmsh.y" { ; break;} case 253: #line 1589 "Gmsh.y" { ; break;} case 254: #line 1595 "Gmsh.y" { ; break;} case 255: #line 1598 "Gmsh.y" { yyval.l=ListOfListOfDouble_L; ; break;} case 256: #line 1602 "Gmsh.y" { yyval.l=ListOfListOfDouble_L; ; break;} case 257: #line 1609 "Gmsh.y" { ListOfListOfDouble_L = List_Create(2,1,sizeof(List_T*)) ; List_Add(ListOfListOfDouble_L, &(yyvsp[0].l)) ; ; break;} case 258: #line 1614 "Gmsh.y" { List_Add(ListOfListOfDouble_L, &(yyvsp[0].l)) ; ; break;} case 259: #line 1621 "Gmsh.y" { ; break;} case 260: #line 1624 "Gmsh.y" { ListOfDouble_L = List_Create(2,1,sizeof(double)) ; List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; yyval.l=ListOfDouble_L; ; break;} case 261: #line 1630 "Gmsh.y" { yyval.l=ListOfDouble_L; ; break;} case 262: #line 1644 "Gmsh.y" { ListOfDouble_L = List_Create(2,1,sizeof(double)) ; List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; ; break;} case 263: #line 1649 "Gmsh.y" { ListOfDouble_L = List_Create(2,1,sizeof(double)) ; for(i=0 ; i<List_Nbr(ListOfDouble2_L) ; i++){ List_Read(ListOfDouble2_L, i, &d) ; List_Add(ListOfDouble_L, &d) ; } List_Delete(ListOfDouble2_L); ; break;} case 264: #line 1658 "Gmsh.y" { List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; ; break;} case 265: #line 1662 "Gmsh.y" { for(i=0 ; i<List_Nbr(ListOfDouble2_L) ; i++){ List_Read(ListOfDouble2_L, i, &d) ; List_Add(ListOfDouble_L, &d) ; } List_Delete(ListOfDouble2_L); ; break;} } /* the action file gets copied in in place of this dollarsign */ #line 543 "/usr/lib/bison.simple" yyvsp -= yylen; yyssp -= yylen; #ifdef YYLSP_NEEDED yylsp -= yylen; #endif #if YYDEBUG != 0 if (yydebug) { short *ssp1 = yyss - 1; fprintf (stderr, "state stack now"); while (ssp1 != yyssp) fprintf (stderr, " %d", *++ssp1); fprintf (stderr, "\n"); } #endif *++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. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTBASE] + *yyssp; if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTBASE]; goto yynewstate; yyerrlab: /* here on detecting error */ if (! yyerrstatus) /* If not already recovering from an error, report this error. */ { ++yynerrs; #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"); } goto yyerrlab1; yyerrlab1: /* here on error raised explicitly by an action */ if (yyerrstatus == 3) { /* if just tried and failed to reuse lookahead token after an error, discard it. */ /* return failure if at end of input */ if (yychar == YYEOF) YYABORT; #if YYDEBUG != 0 if (yydebug) fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); #endif yychar = YYEMPTY; } /* Else will try to reuse lookahead token after shifting the error token. */ yyerrstatus = 3; /* Each real token shifted decrements this */ goto yyerrhandle; yyerrdefault: /* current state does not do anything special for the error token. */ #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 yyerrpop: /* pop the current state because it cannot handle the error token */ if (yyssp == yyss) YYABORT; yyvsp--; yystate = *--yyssp; #ifdef YYLSP_NEEDED yylsp--; #endif #if YYDEBUG != 0 if (yydebug) { 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 == YYFLAG) goto yyerrdefault; 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; } 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 yystate = yyn; goto yynewstate; yyacceptlab: /* YYACCEPT comes here. */ if (yyfree_stacks) { free (yyss); free (yyvs); #ifdef YYLSP_NEEDED free (yyls); #endif } return 0; yyabortlab: /* YYABORT comes here. */ if (yyfree_stacks) { free (yyss); free (yyvs); #ifdef YYLSP_NEEDED free (yyls); #endif } return 1; } #line 1672 "Gmsh.y" void InitSymbols(void){ Symbol_L = List_Create(10,1,sizeof(Symbol)); } void DeleteSymbols(void){ List_Delete(Symbol_L); } int CompareSymbols (const void *a, const void *b){ return(strcmp(((Symbol*)a)->Name,((Symbol*)b)->Name)); } void yyerror(char *s){ Msg(PARSER_ERROR, "'%s', line %d : %s (%s)",yyname,yylineno-1,s,yytext); yyerrorstate=1; } void vyyerror (char *fmt, ...){ va_list args; char tmp[TEXT_BUFFER_SIZE]; va_start (args, fmt); vsprintf (tmp, fmt, args); va_end (args); Msg(PARSER_ERROR, "'%s', line %d : %s", yyname, yylineno-1, tmp); yyerrorstate=1; } int Get_ColorForString(StringX4Int SX4I[], int alpha, char * string, int * FlagError) { int i = 0 ; while ((SX4I[i].string != NULL) && (strcmp(SX4I[i].string, string))) i++ ; *FlagError = (SX4I[i].string == NULL)? 1 : 0 ; if(alpha > 0) return PACK_COLOR(SX4I[i].int1,SX4I[i].int2,SX4I[i].int3,alpha) ; else return PACK_COLOR(SX4I[i].int1,SX4I[i].int2,SX4I[i].int3,SX4I[i].int4) ; } void Get_ColorPointerForString(StringXPointer SXP[], char * string, int * FlagError, unsigned int **Pointer) { int i = 0 ; while ((SXP[i].string != NULL) && (strcmp(SXP[i].string, string))) i++ ; *FlagError = (SXP[i].string == NULL)? 1 : 0 ; *Pointer = (unsigned int *)SXP[i].Pointer ; }