/* A Bison parser, made from Gmsh.y by GNU Bison version 1.25 */ #define YYBISON 1 /* Identify Bison output. */ #define tDOUBLE 258 #define tSTRING 259 #define tBIGSTR 260 #define tEND 261 #define tAFFECT 262 #define tDOTS 263 #define tPi 264 #define tExp 265 #define tLog 266 #define tLog10 267 #define tSqrt 268 #define tSin 269 #define tAsin 270 #define tCos 271 #define tAcos 272 #define tTan 273 #define tAtan 274 #define tAtan2 275 #define tSinh 276 #define tCosh 277 #define tTanh 278 #define tFabs 279 #define tFloor 280 #define tCeil 281 #define tFmod 282 #define tModulo 283 #define tHypot 284 #define tPoint 285 #define tCircle 286 #define tEllipsis 287 #define tLine 288 #define tSurface 289 #define tSpline 290 #define tVolume 291 #define tCharacteristic 292 #define tLength 293 #define tParametric 294 #define tElliptic 295 #define tPlane 296 #define tRuled 297 #define tTransfinite 298 #define tComplex 299 #define tPhysical 300 #define tUsing 301 #define tPower 302 #define tBump 303 #define tProgression 304 #define tAssociation 305 #define tRotate 306 #define tTranslate 307 #define tSymmetry 308 #define tDilate 309 #define tExtrude 310 #define tDuplicata 311 #define tLoop 312 #define tInclude 313 #define tRecombine 314 #define tDelete 315 #define tCoherence 316 #define tView 317 #define tOffset 318 #define tAttractor 319 #define tLayers 320 #define tScalarTetrahedron 321 #define tVectorTetrahedron 322 #define tTensorTetrahedron 323 #define tScalarTriangle 324 #define tVectorTriangle 325 #define tTensorTriangle 326 #define tScalarLine 327 #define tVectorLine 328 #define tTensorLine 329 #define tScalarPoint 330 #define tVectorPoint 331 #define tTensorPoint 332 #define tBSpline 333 #define tNurbs 334 #define tOrder 335 #define tWith 336 #define tBounds 337 #define tKnots 338 #define tColor 339 #define tGeneral 340 #define tGeometry 341 #define tMesh 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.10 2000-11-28 11:28:35 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 1336 #define YYFLAG -32768 #define YYNTBASE 157 #define YYTRANSLATE(x) ((unsigned)(x) <= 396 ? yytranslate[x] : 237) 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, 147, 2, 2, 150, 152, 145, 143, 151, 144, 2, 146, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 141, 2, 142, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 155, 2, 156, 149, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 153, 2, 154, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 148 }; #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, 1079, 1087, 1099, 1108, 1118, 1127, 1150, 1171, 1180, 1189, 1195, 1204, 1212, 1221, 1229, 1241, 1249, 1259, 1261, 1263, 1265, 1266, 1269, 1274, 1279, 1283, 1291, 1300, 1312, 1325, 1338, 1347, 1360, 1369, 1381, 1397, 1399, 1402, 1412, 1415, 1422, 1432, 1442, 1451, 1460, 1469, 1476, 1481, 1484, 1489, 1490, 1493, 1494, 1500, 1501, 1507, 1508, 1514, 1515, 1518, 1523, 1532, 1537, 1547, 1555, 1557, 1559, 1561, 1563, 1565, 1567, 1571, 1575, 1579, 1583, 1587, 1591, 1594, 1597, 1602, 1607, 1612, 1617, 1622, 1627, 1632, 1637, 1642, 1647, 1654, 1659, 1664, 1669, 1674, 1679, 1684, 1691, 1698, 1705, 1707, 1709, 1711, 1715, 1722, 1734, 1744, 1752, 1760, 1761, 1765, 1767, 1771, 1772, 1776, 1780, 1782, 1786, 1787, 1789, 1793, 1795, 1797, 1801 }; static const short yyrhs[] = { 159, 0, 158, 0, 164, 0, 132, 0, 135, 136, 227, 227, 227, 137, 138, 134, 227, 227, 227, 134, 227, 227, 227, 134, 227, 227, 227, 139, 140, 0, 133, 0, 0, 159, 160, 0, 161, 0, 163, 0, 162, 0, 1, 6, 0, 106, 6, 0, 107, 6, 0, 109, 6, 0, 108, 6, 0, 110, 6, 0, 111, 150, 231, 151, 5, 152, 6, 0, 112, 150, 231, 152, 6, 0, 113, 150, 5, 151, 5, 151, 231, 151, 231, 151, 5, 151, 5, 151, 5, 152, 6, 0, 3, 7, 90, 150, 5, 151, 230, 152, 6, 0, 3, 7, 89, 150, 5, 151, 227, 151, 235, 151, 226, 151, 226, 151, 226, 151, 235, 151, 235, 151, 226, 152, 6, 0, 3, 7, 88, 150, 5, 151, 227, 151, 227, 151, 233, 151, 226, 151, 226, 151, 226, 151, 226, 151, 235, 151, 235, 151, 235, 151, 235, 151, 226, 152, 6, 0, 3, 7, 96, 150, 5, 151, 3, 151, 3, 151, 3, 151, 226, 152, 6, 0, 3, 7, 100, 150, 5, 151, 3, 151, 226, 152, 6, 0, 3, 7, 117, 150, 5, 151, 3, 151, 226, 152, 6, 0, 3, 7, 98, 150, 5, 151, 145, 151, 145, 151, 227, 151, 226, 152, 6, 0, 3, 7, 101, 150, 5, 151, 235, 152, 6, 0, 3, 7, 102, 150, 5, 151, 235, 151, 3, 151, 226, 152, 6, 0, 3, 7, 97, 150, 5, 151, 3, 152, 6, 0, 3, 7, 103, 150, 5, 151, 3, 151, 227, 152, 6, 0, 3, 7, 105, 150, 5, 151, 3, 151, 3, 151, 3, 152, 6, 0, 3, 7, 104, 150, 5, 151, 230, 152, 6, 0, 3, 7, 99, 150, 5, 151, 3, 152, 6, 0, 3, 7, 33, 150, 5, 151, 3, 151, 3, 152, 6, 0, 3, 7, 115, 150, 5, 151, 235, 152, 6, 0, 3, 7, 116, 150, 5, 151, 235, 151, 3, 152, 6, 0, 3, 7, 114, 150, 5, 151, 3, 152, 6, 0, 3, 7, 118, 150, 5, 151, 3, 151, 227, 152, 6, 0, 3, 7, 119, 150, 5, 151, 3, 151, 227, 151, 227, 152, 6, 0, 3, 7, 126, 150, 5, 151, 3, 151, 227, 151, 227, 152, 6, 0, 3, 7, 120, 150, 5, 151, 3, 151, 227, 152, 6, 0, 3, 7, 130, 150, 5, 151, 3, 151, 227, 151, 227, 152, 6, 0, 3, 7, 121, 150, 5, 151, 3, 151, 235, 151, 235, 151, 226, 151, 226, 152, 6, 0, 3, 7, 122, 150, 5, 151, 235, 152, 6, 0, 3, 7, 123, 150, 124, 151, 226, 151, 3, 152, 6, 0, 3, 7, 125, 150, 5, 151, 235, 151, 226, 152, 6, 0, 3, 7, 127, 150, 5, 151, 5, 151, 3, 151, 3, 152, 6, 0, 3, 7, 128, 150, 5, 151, 5, 151, 3, 152, 6, 0, 3, 7, 129, 150, 3, 151, 3, 152, 6, 0, 0, 164, 165, 0, 166, 0, 204, 0, 205, 0, 206, 0, 209, 0, 210, 0, 212, 0, 215, 0, 216, 0, 211, 0, 217, 0, 1, 6, 0, 62, 5, 153, 167, 154, 6, 0, 62, 5, 63, 230, 153, 167, 154, 6, 0, 0, 167, 169, 0, 167, 172, 0, 167, 175, 0, 167, 178, 0, 167, 181, 0, 167, 184, 0, 167, 187, 0, 167, 190, 0, 167, 193, 0, 167, 196, 0, 167, 199, 0, 167, 202, 0, 227, 0, 168, 151, 227, 0, 0, 75, 150, 227, 151, 227, 151, 227, 152, 170, 153, 168, 154, 6, 0, 227, 0, 171, 151, 227, 0, 0, 76, 150, 227, 151, 227, 151, 227, 152, 173, 153, 171, 154, 6, 0, 227, 0, 174, 151, 227, 0, 0, 77, 150, 227, 151, 227, 151, 227, 152, 176, 153, 174, 154, 6, 0, 227, 0, 177, 151, 227, 0, 0, 72, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 179, 153, 177, 154, 6, 0, 227, 0, 180, 151, 227, 0, 0, 73, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 182, 153, 180, 154, 6, 0, 227, 0, 183, 151, 227, 0, 0, 74, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 185, 153, 183, 154, 6, 0, 227, 0, 186, 151, 227, 0, 0, 69, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 188, 153, 186, 154, 6, 0, 227, 0, 189, 151, 227, 0, 0, 70, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 191, 153, 189, 154, 6, 0, 227, 0, 192, 151, 227, 0, 0, 71, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 194, 153, 192, 154, 6, 0, 227, 0, 195, 151, 227, 0, 0, 66, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 197, 153, 195, 154, 6, 0, 227, 0, 198, 151, 227, 0, 0, 67, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 200, 153, 198, 154, 6, 0, 227, 0, 201, 151, 227, 0, 0, 68, 150, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 151, 227, 152, 203, 153, 201, 154, 6, 0, 4, 7, 227, 6, 0, 30, 150, 227, 152, 7, 230, 6, 0, 45, 30, 150, 227, 152, 7, 235, 6, 0, 64, 30, 150, 227, 151, 227, 151, 227, 152, 7, 235, 6, 0, 37, 38, 235, 7, 227, 6, 0, 30, 150, 227, 152, 6, 0, 33, 150, 227, 152, 7, 235, 6, 0, 35, 150, 227, 152, 7, 235, 6, 0, 64, 33, 150, 227, 151, 227, 151, 227, 152, 7, 235, 6, 0, 31, 150, 227, 152, 7, 235, 6, 0, 31, 150, 227, 152, 7, 235, 41, 230, 6, 0, 39, 150, 227, 152, 7, 150, 227, 151, 227, 151, 5, 151, 5, 151, 5, 152, 6, 0, 32, 150, 227, 152, 7, 235, 6, 0, 45, 33, 150, 227, 152, 7, 235, 6, 0, 33, 57, 150, 227, 152, 7, 235, 6, 0, 33, 150, 227, 152, 6, 0, 78, 150, 227, 152, 7, 235, 6, 0, 79, 150, 227, 152, 7, 235, 83, 235, 80, 227, 6, 0, 41, 34, 150, 227, 152, 7, 235, 6, 0, 131, 34, 150, 227, 152, 7, 227, 235, 6, 0, 42, 34, 150, 227, 152, 7, 235, 6, 0, 79, 34, 81, 82, 150, 227, 152, 7, 233, 83, 153, 235, 151, 235, 154, 80, 153, 227, 151, 227, 154, 6, 0, 79, 34, 150, 227, 152, 7, 233, 83, 153, 235, 151, 235, 154, 80, 153, 227, 151, 227, 154, 6, 0, 45, 34, 150, 227, 152, 7, 235, 6, 0, 34, 57, 150, 227, 152, 7, 235, 6, 0, 34, 150, 227, 152, 6, 0, 44, 36, 150, 227, 152, 7, 235, 6, 0, 36, 150, 227, 152, 7, 235, 6, 0, 45, 36, 150, 227, 152, 7, 235, 6, 0, 52, 150, 230, 152, 153, 207, 154, 0, 51, 150, 230, 151, 230, 151, 227, 152, 153, 207, 154, 0, 53, 150, 230, 152, 153, 207, 154, 0, 54, 150, 230, 151, 227, 152, 153, 207, 154, 0, 209, 0, 208, 0, 206, 0, 0, 208, 205, 0, 56, 153, 208, 154, 0, 60, 153, 208, 154, 0, 58, 5, 6, 0, 55, 150, 227, 151, 230, 152, 6, 0, 55, 34, 150, 227, 151, 230, 152, 6, 0, 55, 150, 227, 151, 230, 151, 230, 151, 227, 152, 6, 0, 55, 34, 150, 227, 151, 230, 151, 230, 151, 227, 152, 6, 0, 55, 30, 150, 227, 151, 230, 151, 230, 151, 227, 152, 6, 0, 55, 30, 150, 227, 151, 230, 152, 6, 0, 55, 33, 150, 227, 151, 230, 151, 230, 151, 227, 152, 6, 0, 55, 33, 150, 227, 151, 230, 152, 6, 0, 55, 34, 150, 227, 151, 230, 152, 153, 213, 154, 6, 0, 55, 34, 150, 227, 151, 230, 151, 230, 151, 227, 152, 153, 213, 154, 6, 0, 214, 0, 213, 214, 0, 65, 153, 235, 151, 235, 151, 235, 154, 6, 0, 59, 6, 0, 43, 33, 235, 7, 227, 6, 0, 43, 33, 235, 7, 227, 46, 49, 227, 6, 0, 43, 33, 235, 7, 227, 46, 48, 227, 6, 0, 43, 34, 153, 227, 154, 7, 235, 6, 0, 40, 34, 153, 227, 154, 7, 235, 6, 0, 43, 36, 153, 227, 154, 7, 235, 6, 0, 59, 34, 235, 7, 227, 6, 0, 59, 34, 235, 6, 0, 61, 6, 0, 84, 153, 218, 154, 0, 0, 218, 219, 0, 0, 85, 220, 153, 223, 154, 0, 0, 86, 221, 153, 223, 154, 0, 0, 87, 222, 153, 223, 154, 0, 0, 224, 223, 0, 4, 7, 4, 6, 0, 4, 7, 153, 4, 151, 227, 154, 6, 0, 4, 7, 225, 6, 0, 153, 227, 151, 227, 151, 227, 151, 227, 154, 0, 153, 227, 151, 227, 151, 227, 154, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 228, 0, 150, 227, 152, 0, 227, 144, 227, 0, 227, 143, 227, 0, 227, 145, 227, 0, 227, 146, 227, 0, 227, 149, 227, 0, 144, 227, 0, 143, 227, 0, 10, 150, 227, 152, 0, 11, 150, 227, 152, 0, 12, 150, 227, 152, 0, 13, 150, 227, 152, 0, 14, 150, 227, 152, 0, 15, 150, 227, 152, 0, 16, 150, 227, 152, 0, 17, 150, 227, 152, 0, 18, 150, 227, 152, 0, 19, 150, 227, 152, 0, 20, 150, 227, 151, 227, 152, 0, 21, 150, 227, 152, 0, 22, 150, 227, 152, 0, 23, 150, 227, 152, 0, 24, 150, 227, 152, 0, 25, 150, 227, 152, 0, 26, 150, 227, 152, 0, 27, 150, 227, 151, 227, 152, 0, 28, 150, 227, 151, 227, 152, 0, 29, 150, 227, 151, 227, 152, 0, 3, 0, 9, 0, 4, 0, 227, 8, 227, 0, 227, 8, 155, 227, 156, 227, 0, 153, 227, 151, 227, 151, 227, 151, 227, 151, 227, 154, 0, 153, 227, 151, 227, 151, 227, 151, 227, 154, 0, 153, 227, 151, 227, 151, 227, 154, 0, 150, 227, 151, 227, 151, 227, 152, 0, 0, 150, 232, 152, 0, 5, 0, 232, 151, 5, 0, 0, 153, 234, 154, 0, 150, 234, 152, 0, 235, 0, 234, 151, 235, 0, 0, 227, 0, 153, 236, 154, 0, 227, 0, 229, 0, 236, 151, 227, 0, 236, 151, 229, 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, 825, 831, 853, 859, 878, 899, 907, 913, 919, 925, 937, 943, 949, 961, 967, 972, 977, 984, 986, 987, 990, 995, 1006, 1024, 1039, 1070, 1075, 1079, 1083, 1087, 1093, 1098, 1102, 1106, 1111, 1119, 1123, 1128, 1146, 1156, 1174, 1191, 1208, 1229, 1249, 1269, 1286, 1310, 1321, 1325, 1327, 1330, 1333, 1334, 1336, 1337, 1339, 1342, 1344, 1347, 1358, 1368, 1378, 1386, 1462, 1464, 1465, 1466, 1467, 1470, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1502, 1504, 1505, 1516, 1523, 1536, 1545, 1553, 1561, 1571, 1575, 1580, 1584, 1589, 1593, 1597, 1603, 1609, 1615, 1619, 1625, 1638, 1644, 1653, 1657 }; #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","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","Colors","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, 157, 157, 157, 158, 158, 158, 159, 159, 160, 160, 160, 160, 161, 161, 161, 161, 161, 162, 162, 162, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 164, 164, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 166, 166, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 168, 168, 170, 169, 171, 171, 173, 172, 174, 174, 176, 175, 177, 177, 179, 178, 180, 180, 182, 181, 183, 183, 185, 184, 186, 186, 188, 187, 189, 189, 191, 190, 192, 192, 194, 193, 195, 195, 197, 196, 198, 198, 200, 199, 201, 201, 203, 202, 204, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, 206, 206, 206, 206, 207, 207, 207, 208, 208, 209, 210, 211, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 213, 213, 214, 214, 215, 215, 215, 215, 215, 215, 215, 215, 216, 217, 218, 218, 220, 219, 221, 219, 222, 219, 223, 223, 224, 224, 224, 225, 225, 226, 226, 226, 226, 226, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 227, 228, 228, 228, 229, 229, 230, 230, 230, 230, 231, 231, 232, 232, 233, 233, 233, 234, 234, 235, 235, 235, 236, 236, 236, 236 }; 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, 5, 7, 11, 8, 9, 8, 22, 20, 8, 8, 5, 8, 7, 8, 7, 11, 7, 9, 1, 1, 1, 0, 2, 4, 4, 3, 7, 8, 11, 12, 12, 8, 12, 8, 11, 15, 1, 2, 9, 2, 6, 9, 9, 8, 8, 8, 6, 4, 2, 4, 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, 52, 53, 54, 55, 56, 57, 58, 62, 59, 60, 61, 63, 242, 244, 243, 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, 12, 0, 13, 14, 16, 15, 17, 251, 251, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 0, 0, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 0, 260, 164, 191, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 221, 220, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 214, 216, 215, 217, 218, 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, 253, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 165, 190, 0, 167, 0, 0, 0, 0, 0, 0, 0, 0, 195, 197, 199, 192, 194, 0, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 0, 233, 234, 235, 236, 237, 238, 0, 0, 0, 216, 215, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19, 0, 133, 0, 260, 260, 0, 143, 260, 0, 153, 260, 260, 0, 0, 262, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 164, 0, 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, 260, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 0, 0, 0, 0, 260, 260, 0, 0, 0, 0, 0, 260, 0, 260, 0, 0, 0, 0, 0, 254, 0, 251, 0, 0, 0, 260, 0, 260, 0, 0, 0, 245, 265, 266, 132, 0, 260, 260, 260, 183, 0, 260, 260, 260, 260, 260, 260, 260, 0, 0, 0, 163, 0, 162, 161, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 255, 0, 201, 201, 201, 0, 232, 239, 240, 241, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 208, 209, 210, 211, 212, 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, 157, 159, 164, 0, 0, 0, 0, 0, 0, 0, 169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 260, 260, 0, 260, 0, 0, 201, 0, 0, 260, 0, 0, 0, 260, 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, 251, 0, 142, 152, 0, 0, 187, 146, 148, 0, 0, 186, 188, 154, 130, 141, 151, 156, 0, 0, 0, 0, 0, 174, 0, 176, 0, 170, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 0, 258, 0, 0, 0, 0, 196, 202, 198, 200, 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, 246, 0, 185, 184, 250, 0, 249, 164, 160, 0, 0, 0, 0, 0, 0, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 257, 256, 260, 0, 0, 0, 0, 147, 0, 0, 255, 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, 182, 260, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 0, 259, 0, 0, 203, 244, 0, 205, 0, 35, 0, 0, 0, 0, 25, 0, 31, 0, 37, 26, 39, 0, 42, 0, 46, 47, 0, 0, 49, 0, 0, 0, 0, 248, 158, 0, 0, 0, 0, 177, 171, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 260, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 175, 172, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 86, 90, 131, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 32, 40, 0, 41, 48, 43, 0, 0, 247, 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, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 204, 0, 0, 0, 0, 24, 27, 0, 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 84, 0, 88, 0, 0, 0, 207, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 20, 139, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, 83, 85, 87, 89, 91, 0, 0, 206, 0, 0, 260, 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, 260, 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, 260, 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, 260, 0, 0, 0, 106, 110, 114, 0, 0, 0, 0, 0, 0, 0, 260, 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[] = { 1334, 4, 5, 18, 19, 20, 21, 6, 55, 56, 368, 1108, 491, 1056, 1110, 492, 1057, 1112, 493, 1058, 1218, 494, 1191, 1220, 495, 1192, 1222, 496, 1193, 1279, 497, 1265, 1281, 498, 1266, 1283, 499, 1267, 1316, 500, 1310, 1318, 501, 1311, 1320, 502, 1312, 57, 363, 580, 581, 582, 583, 61, 62, 63, 857, 858, 64, 65, 66, 260, 379, 509, 510, 511, 717, 718, 882, 649, 224, 94, 337, 240, 210, 322, 714, 799, 800, 338 }; static const short yypact[] = { 266, -32768,-32768, -112,-32768, 344, 1309, 667, 9, 68, 59, 61, 76, 110, 114, -45, -22, -8,-32768,-32768,-32768, -32768, 172, 165, 35, 47, 49, -37, -31, 63, 65, 181, 67, 189, 236, 282, 44, 216, 103, 143, 168, 188, 198, -26, 196, 349, 325, 228, 383, 391, 3, 247, -29, 253, 373,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 283, 284, 287, 288, 290, 291, 292, 295, 296, 297, 299, 308, 312, 317, 332, 337, 338, 342, 343, 345, 667, 667, 667, 611,-32768,-32768, 1361,-32768,-32768,-32768,-32768, -32768, 348, 348, 500,-32768, 667, 667, 667, 667, 356, 667, 361, 667, 667, 667, 505, 667, 387, 394, 395, 505, 389, 400, 397, 410, 415, 421, 423, -58, -58, -58, -58, 424, 425, 428, 667,-32768, 549, 505,-32768, -32768, -57, 429, 430, 667, -53, 667,-32768, 432, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 434, 434, 358, 667, 667, 667, 667, 667, 611, 435, 448, 454, 455, 459, 462, 466, 467, 468, 469, 495, 496, 503, 504, 506, 507, 509, 510, 519, 523, 555, 556, 557, 559, 564, 568, 569, 570, 576, 580, 602, 433, 458, 499, 112, 732, 742, 780, 667, 791, 667, 802, 817, 828, 667, 320, 661, 846, 667, 667, 667, 697, 667, 667, 667, 667, 667, 667, 667, 667, 667, 578, 590, 592, 581, 667, 667, 667, 259, 825,-32768, 187, 1017, -58,-32768, 667, 667, 894, 649, 667, 940, -56, 667, 954, 1034, 1062, 1088, 1108, 1125, 1144, 1177, 1232, 1252, 418, 1262, 1272, 1282, 1292, 1349, 1359, 1154, 1806, 1815, 667, 667,-32768, -73, 43, 434, 434, 434, 218, 741, 744, 747, 748, 753, 754, 761, 762, 764, 765, 766, 767, 769, 771, 785, 786, 787, 792, 793, 795, 796, 797, 799, 623, 800, 801, 803, 804, 811, 810, -32768, -114, 834, 836, 835,-32768, 202, 837, 841, 1369, 235, 1379, 843, 844, 845, 197,-32768, -39, 667, 847, 457, 1390, 1400, 667, 498, 518, 1410, 1420, 1430, 1440, 1450, 1824, 1833, -58, 654, 663, 667, 1842, 1851, 1860, -58,-32768,-32768,-32768, 667,-32768, 690, 346, 1869, 1878, 856, 700, 1460, 858,-32768,-32768,-32768,-32768,-32768, 1470, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 667,-32768,-32768,-32768,-32768,-32768,-32768, 667, 667, 667, -23, -23, 715, 717, 720, 722, 728, 729, 745, 746, 749, 755, 756, 759, 776, 777, 779, 788, 790, 798, 807, 813, 816, 819, 824, 827, 830, 831, 848, 850, 852, 853, 864, 878,-32768, 740,-32768, 866,-32768, -58, 505, 505, 886,-32768, 505, 892,-32768, 505, 505, 31, 667,-32768, 119, 781, 931, 935, 937, 57, 943, 948, 969, 979, 989, 990, 1011, 667, 667, 868, 334, 334, 1480, -58, -58, -58, 84, 128,-32768, 870, 871, 872, 874, 879, 891, 895, 907, 910, 913, 914, 915, 1022, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768, 667, 667, 505, 667, 1035, 505, 925, 926, 927, 1037, 1490, 1500, 1510, 1520, 953, 1085, 667, 667, -58, 1087, 1090, 946, 1091, 1098, 505, 505, 1099, -58, 1101, 1102, 505, 505, 1104, 1107, 1109, 1111, 1112, 505, 333, 505, 1113, 1123, 1127, 1114, 1130,-32768, 1124, 348, 1128, 21, 1129, 505, 1131, 505, 1132, 1133, 667, 320, 197,-32768,-32768, 667, 505, 505, 505,-32768, 211, 505, 505, 505, 505, 505, 505, 505, 1887, 1896, 667,-32768, 959, 1110,-32768, 996, 1000, 131, 179, 219, -58, 1150, -32768, 404, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667,-32768, 1905, 1914, 1151, 1530, -18, 1077, 1157, 1157, 1157, 667,-32768,-32768,-32768,-32768, 667, 1012, 1923, 1932, 1010, 1019, 1020, 1025, 1021, 1031, 1032, 1039, 1040, 1049, 1051, 1057, 1058, 1052, 1061, 1064, 1065, 1066, 1067, 1075,-32768,-32768,-32768,-32768,-32768, 1068, 1078, 1084, 1092, 1093, 1086, 1094,-32768, 1095,-32768,-32768, -58, -32768, 1207,-32768, 1230,-32768,-32768, -75, 1941, 1233, 1236, 1241, 667, 667, 1249, 1250, 1253, 1255, 1266, 1267, 1269, 667, 667, 1543,-32768,-32768, 334, -58, 1270, -58, 1277, -58, 11, 1134,-32768, 1285, 1950, 1959, 1968, 1977, 1986, 1995, 2004, 2013, 2022, 2031, 2040, 2049, 667, 667,-32768, 1251, 505, 505, 1195, 505, 1287, 1138, 1157, 1141, 1147, 286, 611, 1299, 667, 505, 1298, 1308, 1306, 1169, 1310, 333, 1312, 1321, 667, 1319, 1324, 1322, 1325, 1327, 333, 667, 667, 667, 505, 1326, 1330, 333, 667, 1331, 1333, 1341, 667, 348, 1350,-32768,-32768, 667, 667,-32768,-32768, -32768, 135, 178,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 1553, 340, 1184, 1201, 1206,-32768, 1215,-32768, 1221,-32768, 28, 667,-32768, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 1563, 1573, -18, 243,-32768, -24, 1205, 1300, 10,-32768,-32768,-32768,-32768, 1373, 611, 1231, 2058, 1234,-32768, 1235,-32768, 1238,-32768, 1240,-32768, 1248, 1586,-32768, 1258,-32768,-32768, 1260, 1261, 1596, 2067, 1606, 1259,-32768, 1268, 1271, 2076, 1278, 1280,-32768, 2085, 1279,-32768, 320, 2094,-32768,-32768,-32768, 667,-32768, 334, -32768, 667, 667, 667, 1376, 1247, -43,-32768, 1616, 2103, 2112, 2121, 2130, 2139, 2148, 2157, 2166, 2175, 2184, 2193, 2202, 1395, 1396, 1336, 505,-32768,-32768, 505, 667, 1416, 809, 1427,-32768, -55, 1433, -18, 333, 1439, 667, 1437, 333, 1446, 1442, 1447, 1448, 1449, 667, 1461, 505, 1462, 1463, 667, 1443, 1464, 667, 1451, 1467, 392, 1320, 1626, 1636, 1646,-32768, 505, 1479,-32768, 1491, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 505, 505, 1343,-32768, 1348, 190,-32768, 1355, 2211,-32768, 667, -32768, 1356, 1358, 1365, 2220,-32768, 1368,-32768, 1374,-32768, -32768,-32768, 1656,-32768, 1366,-32768,-32768, 1666, 1375,-32768, 1676, 1378, 1386, 667,-32768,-32768, 1494, 1504, 12, 1387, -32768,-32768, 2229, 2238, 2247, 2256, 2265, 2274, 2283, 2292, 2301, 1686, 1696, 1706, 1524, 1534, 505, 505,-32768, 667, 667, 611, 333, 333, 333, 333, 1535, 1541, 1542, 333, 1544, 1545, 1551, 1468, 1555, 554,-32768,-32768,-32768, 28, 505, 667, 667, 667, 667, 667, 667, 667, 667, 667, -32768,-32768,-32768,-32768,-32768, 1407, 1413, 567, 2310, 611, 1417, 1419, 1409, 1425,-32768,-32768,-32768, 1436,-32768,-32768, -32768, 1456, 1457,-32768, -40, 1459, 2319, 2328, 2337, 2346, 2355, 2364, 2373, 2382, 2391, 1418, 1428, 1435, 505, 1498, 1584, 667, 100, 333, 333, 1585, 1591, 333, 1593, 1595, 1605, 505, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 1466, 1465,-32768, 405, 667, 1476, 1477,-32768,-32768, 1469, 1485, 1486,-32768, 1487, 2400, 2409, 2418, 2427, 2436, 2445, 2454, 2463, 2472, 22, 320, 36, 320, 53, 320, 1521, 667, 667,-32768, 611, 333, 505, 1611, 1625, 1634, 1641, 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, 1642, 667, 1644, 667, 1645, 1505, 2481, 579, 611, 1509, 1516,-32768,-32768,-32768,-32768, 2490, 2499, 2508, 2517, 2526, 2535, 1716, 1726, 1736, 320,-32768, 320,-32768, 320,-32768, 667, 667,-32768, 650, 333, 505, 667, 667, 667, 667, 667, 667,-32768,-32768,-32768, 2544, 594, 1528, 1519, 1526, 2553, 2562, 2571, 2580, 2589, 2598, 1508, 1518, 1525, 667, 1674,-32768, 505, 333, 667, 667, 667, 667, 667, 667, 667, 667, 667, 619,-32768, 1532, 1529, 2607, 2616, 2625, 2634, 2643, 2652, 60, 320, 99, 320, 140, 320, 1678, 505, 1684, 667, 667, 667, 667, 667, 667, 667, 1685, 667, 1687, 667, 1688,-32768, 1549, -32768, 2661, 2670, 2679, 1746, 1756, 1766, 320,-32768, 320, -32768, 320,-32768, 505, 667, 667, 667,-32768,-32768,-32768, 1550, 2688, 2697, 2706, 1557, 1558, 1560, 505, 667, 667, 667, 667, 667, 667, 1552, 2715, 2724, 2733, 166, 320, 174, 320, 175, 320, 333, 667, 667, 667, 667, 1698, 667, 1714, 667, 1715, 1571, 1776, 1786, 1796, 320,-32768, 320,-32768, 320,-32768, 1718,-32768,-32768,-32768,-32768, 1574, 1580, 1581, 667, 667, 667, 214, 320, 215, 320, 229, 320, 667, 1720, 667, 1730, 667, 1731, 320,-32768, 320, -32768, 320,-32768, 1743, 1744,-32768 }; static const short yypgoto[] = {-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 1276, -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, 1740, 1741, -468, 58, 1748,-32768,-32768,-32768, 757, -854,-32768,-32768,-32768, -32768,-32768,-32768,-32768,-32768, -601,-32768,-32768, -708, -7, -32768, 1305, -121, -102,-32768, -777, 1044, 460,-32768 }; #define YYLAST 2884 static const short yytable[] = { 93, 211, 584, 916, 133, 146, 252, 134, 135, 241, 242, 243, 719, 720, 880, 95, 855, 780, 1009, 855, 110, 874, 856, 819, 7, 856, 112, 659, 257, 375, 376, 377, 828, 143, 67, 68, 144, 434, 435, 835, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, -221, 660, 568, -221, 97, -221, 98, 282, 283, 175, 176, -221, -221, 177, 96, 177, 121, 122, 940, 123, 757, 99, 170, 171, 172, 178, 855, 282, 283, 175, 176, 238, 856, 177, 239, 253, 258, 378, 213, 214, 215, 216, 569, 218, 102, 220, 221, 222, 942, 226, 915, 451, 111, 1071, 452, 100, 806, 326, 113, 101, 147, 175, 176, 136, 563, 177, 875, 103, 247, 877, 367, 712, 125, 591, 713, 126, 127, 256, 128, 259, 845, 104, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 881, 781, 1010, 285, 286, 287, 288, 289, 290, 106, 1134, 90, 91, 1135, -220, 105, 943, -220, 92, -220, 947, 846, 107, 559, 1136, -220, -220, 1137, 916, 177, 364, 365, 248, 989, 108, 251, 109, 282, 283, 175, 176, 1138, 450, 177, 1139, 439, 440, 330, 1233, 332, 114, 1234, 115, 336, 117, 774, 116, 341, 342, 343, 118, 345, 346, 347, 348, 349, 350, 351, 352, 353, 468, 1089, 589, 590, 358, 359, 360, 475, 444, 445, 282, 283, 175, 176, 369, 370, 177, 1235, 373, 124, 1236, 380, 282, 283, 175, 176, 672, 673, 177, 282, 283, 175, 176, -7, -7, 177, -7, 119, 282, 283, 175, 176, 401, 402, 177, 282, 283, 175, 176, 687, 688, 177, 1031, 1032, 1033, 1034, 67, 68, 1237, 1038, 129, 1238, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 120, 1289, 130, 551, 1290, 282, 283, 175, 176, 1291, 1293, 177, 1292, 1294, 689, 690, 453, 282, 283, 175, 176, 458, 131, 177, 282, 283, 175, 176, -1, 8, 177, 9, 132, 137, 471, 586, 587, 588, 138, 403, 1090, 1091, 476, 139, 1094, 282, 283, 175, 176, 1322, 1324, 177, 1323, 1325, 691, 692, -7, -7, -7, -7, -7, -7, -7, -7, 1326, 140, 909, 1327, 513, 39, 40, 41, 42, 141, 44, 514, 515, 516, 875, 876, 142, 145, 1, 2, 624, 3, 282, 283, 175, 176, 148, 149, 177, 633, 361, 1144, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 644, 645, 646, 647, 648, 173, 174, 175, 176, 150, 151, 177, 92, 152, 153, 223, 154, 155, 156, 560, 561, 157, 158, 159, 657, 160, 10, 11, 12, 13, 14, 15, 16, 17, 161, 577, 578, 1183, 162, 282, 283, 175, 176, 163, 693, 177, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 164, 282, 283, 175, 176, 165, 166, 177, 1211, 848, 167, 168, 849, 169, 606, 607, 209, 609, 490, 282, 283, 175, 176, 212, 217, 177, 67, 68, 284, 219, 622, 623, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 282, 283, 175, 176, 754, 227, 177, 231, 964, 228, 229, 965, 233, 282, 283, 175, 176, 667, 232, 177, 249, 1116, 668, 695, 1117, 234, 282, 283, 175, 176, 235, 775, 177, 777, 391, 779, 236, 683, 237, 244, 245, 225, 1295, 246, 254, 255, 230, 261, 177, 323, 291, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 292, 250, 282, 283, 175, 176, 293, 294, 177, 321, 721, 295, 324, 455, 296, 722, 67, 68, 297, 298, 299, 300, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 282, 283, 175, 176, 301, 302, 177, 90, 91, 325, 841, 459, 303, 304, 92, 305, 306, 223, 307, 308, 282, 283, 175, 176, 762, 763, 177, 339, 309, 67, 68, 460, 310, 771, 772, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 282, 283, 175, 176, 796, 797, 177, 344, 311, 312, 313, 1044, 314, 282, 283, 175, 176, 315, 810, 177, 812, 316, 317, 318, 1061, 282, 283, 175, 176, 319, 822, 177, 354, 320, 372, 357, 1167, 829, 830, 831, 282, 283, 175, 176, 836, 355, 177, 356, 840, 404, 427, 1195, 405, 843, 844, 406, 407, 173, 174, 175, 176, 408, 409, 177, 92, 282, 283, 175, 176, 410, 411, 177, 412, 413, 414, 415, 1224, 416, 859, 417, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 1182, 418, 419, 420, 282, 283, 175, 176, 421, 422, 177, 423, 424, 425, 884, 426, 428, 429, 469, 430, 431, 90, 91, 67, 937, 432, 433, 470, 92, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 436, 438, 908, 437, 477, 441, 910, 911, 912, 442, 447, 506, 448, 449, 517, 454, 24, 25, 26, 27, 28, 29, 30, 31, 505, 32, 508, 34, 35, 518, 37, 38, 519, 935, 520, 938, 282, 283, 175, 176, 521, 522, 177, 945, 548, 327, 282, 283, 175, 176, 50, 953, 177, 549, 554, 328, 958, 523, 524, 961, 556, 525, 552, 553, 51, 52, 555, 526, 527, 557, 558, 528, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 282, 283, 175, 176, 529, 530, 177, 531, 564, 329, 992, 282, 283, 175, 176, 565, 532, 177, 533, 566, 331, 567, 282, 283, 175, 176, 534, 570, 177, 90, 91, 333, 571, 54, 1006, 535, 92, 282, 283, 175, 176, 536, 608, 177, 537, 611, 334, 538, 282, 283, 175, 176, 539, 572, 177, 540, 362, 335, 541, 542, 1028, 1029, 1030, 573, 630, 631, 282, 283, 175, 176, 636, 637, 177, 574, 575, 340, 543, 643, 544, 650, 545, 546, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 662, 547, 664, 550, 576, 579, 593, 594, 595, 1063, 596, 669, 670, 671, 605, 597, 674, 675, 676, 677, 678, 679, 680, 282, 283, 175, 176, 598, 610, 177, 615, 599, 371, 24, 25, 26, 27, 28, 29, 30, 31, 1088, 32, 600, 34, 35, 601, 37, 38, 602, 603, 604, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1109, 1111, 1113, 612, 613, 614, 50, 1118, 282, 283, 175, 176, 620, 621, 177, 625, 627, 374, 626, 628, 51, 52, 282, 283, 175, 176, 629, 632, 177, 634, 635, 381, 638, 1141, 1142, 639, 1143, 640, 684, 641, 642, 651, 654, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 652, 1161, 656, 1163, 653, 655, 658, 661, 1168, 663, 665, 666, 24, 25, 26, 27, 28, 29, 30, 31, 54, 32, 685, 34, 35, 686, 37, 38, 694, 710, 1180, 1181, 715, 716, 726, 723, 1185, 1186, 1187, 1188, 1189, 1190, 727, 366, 728, 730, 50, 803, 729, 282, 283, 175, 176, 809, 731, 177, 732, 813, 382, 1208, 51, 52, 733, 734, 1212, 1213, 1214, 1215, 1216, 1217, 1219, 1221, 1223, 735, 736, 739, 832, 282, 283, 175, 176, 737, 738, 177, 740, 755, 383, 741, 742, 743, 744, 746, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 745, 1250, 747, 1252, 282, 283, 175, 176, 748, 756, 177, 751, 759, 384, 54, 760, 749, 750, 752, 753, 761, 1262, 1263, 1264, 282, 283, 175, 176, 764, 765, 177, 798, 766, 385, 767, 1276, 1277, 1278, 1280, 1282, 1284, 282, 283, 175, 176, 768, 769, 177, 770, 776, 386, 802, 1296, 1297, 1298, 1299, 778, 1301, 782, 1303, 282, 283, 175, 176, 783, 805, 177, 804, 807, 387, 282, 283, 175, 176, 808, 811, 177, 814, 398, 1317, 1319, 1321, -3, 22, 815, 816, 23, 817, 1328, 818, 1330, 820, 1332, 282, 283, 175, 176, 821, 823, 177, 824, 825, 388, 827, 826, 833, 834, 837, 933, 838, 850, 934, 24, 25, 26, 27, 28, 29, 30, 31, 839, 32, 33, 34, 35, 36, 37, 38, 851, 842, 852, 878, 955, 39, 40, 41, 42, 43, 44, 853, 45, 46, 47, 48, 49, 854, 50, 970, 282, 283, 175, 176, 883, 879, 177, 913, 885, 389, 887, 888, 51, 52, 889, 985, 986, 890, 53, 179, 282, 283, 175, 176, 891, 914, 177, 930, 931, 390, 282, 283, 175, 176, 893, 899, 177, 894, 895, 392, 282, 283, 175, 176, 932, 900, 177, 936, 901, 393, 282, 283, 175, 176, 903, 906, 177, 904, 939, 394, 282, 283, 175, 176, 941, 54, 177, 944, 946, 395, 949, 959, 1026, 1027, 180, 181, 182, 948, 950, 951, 952, 962, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 954, 956, 957, 960, 1046, 963, 1042, 966, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 971, 203, 204, 205, 206, 207, 208, 282, 283, 175, 176, 987, 972, 177, 988, 1007, 396, 282, 283, 175, 176, 990, 993, 177, 994, 1008, 397, 282, 283, 175, 176, 995, 1000, 177, 1085, 997, 443, 282, 283, 175, 176, 998, 1002, 177, 1004, 1024, 446, 1098, 282, 283, 175, 176, 1005, 1011, 177, 1025, 1035, 456, 282, 283, 175, 176, 1036, 1037, 177, 1039, 1040, 457, 282, 283, 175, 176, 1041, 1059, 177, 1043, 1066, 461, 282, 283, 175, 176, 1060, 1064, 177, 1065, 1082, 462, 282, 283, 175, 176, 1067, 1086, 177, 1145, 1083, 463, 282, 283, 175, 176, 1068, 1084, 177, 1087, 1092, 464, 282, 283, 175, 176, 1093, 1095, 177, 1096, 1140, 465, 282, 283, 175, 176, 1069, 1070, 177, 1072, 1097, 507, 282, 283, 175, 176, 1146, 1115, 177, 1114, 1121, 512, 282, 283, 175, 176, 1119, 1120, 177, 1184, 1147, 585, 282, 283, 175, 176, 1122, 1123, 177, 1148, 1124, 616, 282, 283, 175, 176, 1149, 1160, 177, 1162, 1164, 617, 282, 283, 175, 176, 1210, 1165, 177, 1169, 1205, 618, 282, 283, 175, 176, 1170, 1196, 177, 1197, 1206, 619, 282, 283, 175, 176, 1198, 1207, 177, 1209, 1226, 711, 1225, 1239, 1240, 282, 283, 175, 176, 1241, 1249, 177, 1251, 1253, 773, 282, 283, 175, 176, 1254, 1268, 177, 1285, 1300, 847, 282, 283, 175, 176, 1272, 1273, 177, 1274, 1261, 872, 282, 283, 175, 176, 1302, 1304, 177, 1305, 1309, 873, 1329, 1313, 1275, 282, 283, 175, 176, 1314, 1315, 177, 1331, 1333, 892, 282, 283, 175, 176, 1335, 1336, 177, 58, 59, 896, 282, 283, 175, 176, 592, 60, 177, 562, 801, 898, 282, 283, 175, 176, 0, 0, 177, 0, 1045, 917, 282, 283, 175, 176, 0, 0, 177, 0, 0, 967, 282, 283, 175, 176, 0, 0, 177, 0, 0, 968, 282, 283, 175, 176, 0, 0, 177, 0, 0, 969, 282, 283, 175, 176, 0, 0, 177, 0, 0, 999, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1001, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1003, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1021, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1022, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1023, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1177, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1178, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1179, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1258, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1259, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1260, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1306, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1307, 282, 283, 175, 176, 0, 0, 177, 0, 0, 1308, 282, 283, 175, 176, 0, 0, 177, 0, 399, 282, 283, 175, 176, 0, 0, 177, 0, 400, 282, 283, 175, 176, 0, 0, 177, 0, 466, 282, 283, 175, 176, 0, 0, 177, 0, 467, 282, 283, 175, 176, 0, 0, 177, 0, 472, 282, 283, 175, 176, 0, 0, 177, 0, 473, 282, 283, 175, 176, 0, 0, 177, 0, 474, 282, 283, 175, 176, 0, 0, 177, 0, 503, 282, 283, 175, 176, 0, 0, 177, 0, 504, 282, 283, 175, 176, 0, 0, 177, 0, 681, 282, 283, 175, 176, 0, 0, 177, 0, 682, 282, 283, 175, 176, 0, 0, 177, 0, 708, 282, 283, 175, 176, 0, 0, 177, 0, 709, 282, 283, 175, 176, 0, 0, 177, 0, 724, 282, 283, 175, 176, 0, 0, 177, 0, 725, 282, 283, 175, 176, 0, 0, 177, 0, 758, 282, 283, 175, 176, 0, 0, 177, 0, 784, 282, 283, 175, 176, 0, 0, 177, 0, 785, 282, 283, 175, 176, 0, 0, 177, 0, 786, 282, 283, 175, 176, 0, 0, 177, 0, 787, 282, 283, 175, 176, 0, 0, 177, 0, 788, 282, 283, 175, 176, 0, 0, 177, 0, 789, 282, 283, 175, 176, 0, 0, 177, 0, 790, 282, 283, 175, 176, 0, 0, 177, 0, 791, 282, 283, 175, 176, 0, 0, 177, 0, 792, 282, 283, 175, 176, 0, 0, 177, 0, 793, 282, 283, 175, 176, 0, 0, 177, 0, 794, 282, 283, 175, 176, 0, 0, 177, 0, 795, 282, 283, 175, 176, 0, 0, 177, 0, 886, 282, 283, 175, 176, 0, 0, 177, 0, 897, 282, 283, 175, 176, 0, 0, 177, 0, 902, 282, 283, 175, 176, 0, 0, 177, 0, 905, 282, 283, 175, 176, 0, 0, 177, 0, 907, 282, 283, 175, 176, 0, 0, 177, 0, 918, 282, 283, 175, 176, 0, 0, 177, 0, 919, 282, 283, 175, 176, 0, 0, 177, 0, 920, 282, 283, 175, 176, 0, 0, 177, 0, 921, 282, 283, 175, 176, 0, 0, 177, 0, 922, 282, 283, 175, 176, 0, 0, 177, 0, 923, 282, 283, 175, 176, 0, 0, 177, 0, 924, 282, 283, 175, 176, 0, 0, 177, 0, 925, 282, 283, 175, 176, 0, 0, 177, 0, 926, 282, 283, 175, 176, 0, 0, 177, 0, 927, 282, 283, 175, 176, 0, 0, 177, 0, 928, 282, 283, 175, 176, 0, 0, 177, 0, 929, 282, 283, 175, 176, 0, 0, 177, 0, 991, 282, 283, 175, 176, 0, 0, 177, 0, 996, 282, 283, 175, 176, 0, 0, 177, 0, 1012, 282, 283, 175, 176, 0, 0, 177, 0, 1013, 282, 283, 175, 176, 0, 0, 177, 0, 1014, 282, 283, 175, 176, 0, 0, 177, 0, 1015, 282, 283, 175, 176, 0, 0, 177, 0, 1016, 282, 283, 175, 176, 0, 0, 177, 0, 1017, 282, 283, 175, 176, 0, 0, 177, 0, 1018, 282, 283, 175, 176, 0, 0, 177, 0, 1019, 282, 283, 175, 176, 0, 0, 177, 0, 1020, 282, 283, 175, 176, 0, 0, 177, 0, 1062, 282, 283, 175, 176, 0, 0, 177, 0, 1073, 282, 283, 175, 176, 0, 0, 177, 0, 1074, 282, 283, 175, 176, 0, 0, 177, 0, 1075, 282, 283, 175, 176, 0, 0, 177, 0, 1076, 282, 283, 175, 176, 0, 0, 177, 0, 1077, 282, 283, 175, 176, 0, 0, 177, 0, 1078, 282, 283, 175, 176, 0, 0, 177, 0, 1079, 282, 283, 175, 176, 0, 0, 177, 0, 1080, 282, 283, 175, 176, 0, 0, 177, 0, 1081, 282, 283, 175, 176, 0, 0, 177, 0, 1125, 282, 283, 175, 176, 0, 0, 177, 0, 1126, 282, 283, 175, 176, 0, 0, 177, 0, 1127, 282, 283, 175, 176, 0, 0, 177, 0, 1128, 282, 283, 175, 176, 0, 0, 177, 0, 1129, 282, 283, 175, 176, 0, 0, 177, 0, 1130, 282, 283, 175, 176, 0, 0, 177, 0, 1131, 282, 283, 175, 176, 0, 0, 177, 0, 1132, 282, 283, 175, 176, 0, 0, 177, 0, 1133, 282, 283, 175, 176, 0, 0, 177, 0, 1166, 282, 283, 175, 176, 0, 0, 177, 0, 1171, 282, 283, 175, 176, 0, 0, 177, 0, 1172, 282, 283, 175, 176, 0, 0, 177, 0, 1173, 282, 283, 175, 176, 0, 0, 177, 0, 1174, 282, 283, 175, 176, 0, 0, 177, 0, 1175, 282, 283, 175, 176, 0, 0, 177, 0, 1176, 282, 283, 175, 176, 0, 0, 177, 0, 1194, 282, 283, 175, 176, 0, 0, 177, 0, 1199, 282, 283, 175, 176, 0, 0, 177, 0, 1200, 282, 283, 175, 176, 0, 0, 177, 0, 1201, 282, 283, 175, 176, 0, 0, 177, 0, 1202, 282, 283, 175, 176, 0, 0, 177, 0, 1203, 282, 283, 175, 176, 0, 0, 177, 0, 1204, 282, 283, 175, 176, 0, 0, 177, 0, 1227, 282, 283, 175, 176, 0, 0, 177, 0, 1228, 282, 283, 175, 176, 0, 0, 177, 0, 1229, 282, 283, 175, 176, 0, 0, 177, 0, 1230, 282, 283, 175, 176, 0, 0, 177, 0, 1231, 282, 283, 175, 176, 0, 0, 177, 0, 1232, 282, 283, 175, 176, 0, 0, 177, 0, 1255, 282, 283, 175, 176, 0, 0, 177, 0, 1256, 282, 283, 175, 176, 0, 0, 177, 0, 1257, 282, 283, 175, 176, 0, 0, 177, 0, 1269, 282, 283, 175, 176, 0, 0, 177, 0, 1270, 282, 283, 175, 176, 0, 0, 177, 0, 1271, 282, 283, 175, 176, 0, 0, 177, 0, 1286, 282, 283, 175, 176, 0, 0, 177, 0, 1287, 282, 283, 175, 176, 0, 0, 177, 0, 1288 }; static const short yycheck[] = { 7, 103, 470, 857, 30, 34, 63, 33, 34, 130, 131, 132, 613, 614, 4, 6, 59, 6, 6, 59, 57, 798, 65, 731, 136, 65, 57, 6, 81, 85, 86, 87, 740, 30, 3, 4, 33, 151, 152, 747, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 134, 41, 6, 137, 6, 139, 6, 143, 144, 145, 146, 145, 146, 149, 7, 149, 33, 34, 134, 36, 156, 6, 90, 91, 92, 93, 59, 143, 144, 145, 146, 150, 65, 149, 153, 153, 150, 154, 106, 107, 108, 109, 46, 111, 150, 113, 114, 115, 886, 117, 154, 151, 150, 154, 154, 6, 718, 6, 150, 6, 150, 145, 146, 150, 6, 149, 151, 150, 136, 154, 252, 150, 30, 6, 153, 33, 34, 145, 36, 147, 6, 150, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 153, 153, 153, 173, 174, 175, 176, 177, 178, 7, 151, 143, 144, 154, 134, 6, 887, 137, 150, 139, 891, 6, 150, 155, 151, 145, 146, 154, 1045, 149, 6, 7, 137, 6, 150, 140, 150, 143, 144, 145, 146, 151, 8, 149, 154, 6, 7, 217, 151, 219, 150, 154, 150, 223, 150, 686, 38, 227, 228, 229, 34, 231, 232, 233, 234, 235, 236, 237, 238, 239, 354, 134, 151, 152, 244, 245, 246, 361, 6, 7, 143, 144, 145, 146, 254, 255, 149, 151, 258, 36, 154, 261, 143, 144, 145, 146, 48, 49, 149, 143, 144, 145, 146, 0, 1, 149, 3, 34, 143, 144, 145, 146, 282, 283, 149, 143, 144, 145, 146, 151, 152, 149, 993, 994, 995, 996, 3, 4, 151, 1000, 150, 154, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 34, 151, 150, 440, 154, 143, 144, 145, 146, 151, 151, 149, 154, 154, 151, 152, 339, 143, 144, 145, 146, 344, 150, 149, 143, 144, 145, 146, 0, 1, 149, 3, 150, 153, 357, 472, 473, 474, 5, 137, 1064, 1065, 365, 34, 1068, 143, 144, 145, 146, 151, 151, 149, 154, 154, 151, 152, 106, 107, 108, 109, 110, 111, 112, 113, 151, 153, 850, 154, 391, 51, 52, 53, 54, 6, 56, 398, 399, 400, 151, 152, 5, 150, 132, 133, 521, 135, 143, 144, 145, 146, 153, 34, 149, 530, 151, 1119, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 91, 92, 93, 94, 95, 143, 144, 145, 146, 150, 150, 149, 150, 150, 150, 153, 150, 150, 150, 450, 451, 150, 150, 150, 550, 150, 106, 107, 108, 109, 110, 111, 112, 113, 150, 466, 467, 1169, 150, 143, 144, 145, 146, 150, 589, 149, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 150, 143, 144, 145, 146, 150, 150, 149, 1198, 151, 150, 150, 154, 150, 503, 504, 150, 506, 154, 143, 144, 145, 146, 5, 150, 149, 3, 4, 152, 150, 519, 520, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 143, 144, 145, 146, 660, 153, 149, 153, 151, 150, 150, 154, 150, 143, 144, 145, 146, 559, 153, 149, 6, 151, 564, 154, 154, 150, 143, 144, 145, 146, 150, 687, 149, 689, 151, 691, 150, 579, 150, 150, 150, 116, 1285, 150, 150, 150, 121, 150, 149, 151, 150, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 150, 139, 143, 144, 145, 146, 150, 150, 149, 5, 615, 150, 152, 154, 150, 620, 3, 4, 150, 150, 150, 150, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 143, 144, 145, 146, 150, 150, 149, 143, 144, 151, 753, 154, 150, 150, 150, 150, 150, 153, 150, 150, 143, 144, 145, 146, 672, 673, 149, 7, 150, 3, 4, 154, 150, 681, 682, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 143, 144, 145, 146, 708, 709, 149, 7, 150, 150, 150, 154, 150, 143, 144, 145, 146, 150, 722, 149, 724, 150, 150, 150, 154, 143, 144, 145, 146, 150, 734, 149, 151, 150, 82, 151, 154, 741, 742, 743, 143, 144, 145, 146, 748, 152, 149, 152, 752, 5, 124, 154, 5, 757, 758, 5, 5, 143, 144, 145, 146, 5, 5, 149, 150, 143, 144, 145, 146, 5, 5, 149, 5, 5, 5, 5, 154, 5, 782, 5, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 139, 5, 5, 5, 143, 144, 145, 146, 5, 5, 149, 5, 5, 5, 810, 5, 5, 5, 153, 5, 5, 143, 144, 3, 4, 3, 5, 153, 150, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 5, 5, 848, 6, 153, 7, 852, 853, 854, 7, 6, 150, 7, 7, 138, 7, 30, 31, 32, 33, 34, 35, 36, 37, 7, 39, 7, 41, 42, 151, 44, 45, 151, 879, 151, 881, 143, 144, 145, 146, 151, 151, 149, 889, 5, 152, 143, 144, 145, 146, 64, 897, 149, 152, 7, 152, 902, 151, 151, 905, 7, 151, 441, 442, 78, 79, 445, 151, 151, 448, 449, 151, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 143, 144, 145, 146, 151, 151, 149, 151, 150, 152, 940, 143, 144, 145, 146, 7, 151, 149, 151, 7, 152, 7, 143, 144, 145, 146, 151, 7, 149, 143, 144, 152, 7, 131, 964, 151, 150, 143, 144, 145, 146, 151, 505, 149, 151, 508, 152, 151, 143, 144, 145, 146, 151, 7, 149, 151, 154, 152, 151, 151, 990, 991, 992, 7, 527, 528, 143, 144, 145, 146, 533, 534, 149, 7, 7, 152, 151, 540, 151, 542, 151, 151, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 554, 151, 556, 151, 7, 151, 150, 150, 150, 1030, 150, 565, 566, 567, 6, 150, 570, 571, 572, 573, 574, 575, 576, 143, 144, 145, 146, 150, 7, 149, 7, 150, 152, 30, 31, 32, 33, 34, 35, 36, 37, 1062, 39, 150, 41, 42, 150, 44, 45, 150, 150, 150, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 153, 153, 153, 64, 1089, 143, 144, 145, 146, 134, 3, 149, 3, 145, 152, 3, 3, 78, 79, 143, 144, 145, 146, 3, 3, 149, 3, 3, 152, 3, 1115, 1116, 3, 1118, 3, 154, 3, 3, 3, 3, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 5, 1136, 6, 1138, 5, 3, 6, 6, 1143, 6, 6, 6, 30, 31, 32, 33, 34, 35, 36, 37, 131, 39, 154, 41, 42, 153, 44, 45, 6, 6, 1165, 1166, 83, 4, 152, 151, 1171, 1172, 1173, 1174, 1175, 1176, 151, 154, 152, 152, 64, 715, 151, 143, 144, 145, 146, 721, 151, 149, 152, 725, 152, 1194, 78, 79, 151, 151, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 152, 151, 151, 744, 143, 144, 145, 146, 152, 152, 149, 151, 6, 152, 151, 151, 151, 151, 151, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 152, 1235, 151, 1237, 143, 144, 145, 146, 151, 6, 149, 152, 6, 152, 131, 6, 151, 151, 151, 151, 6, 1255, 1256, 1257, 143, 144, 145, 146, 6, 6, 149, 7, 6, 152, 6, 1269, 1270, 1271, 1272, 1273, 1274, 143, 144, 145, 146, 6, 6, 149, 6, 6, 152, 83, 1286, 1287, 1288, 1289, 6, 1291, 151, 1293, 143, 144, 145, 146, 6, 154, 149, 7, 154, 152, 143, 144, 145, 146, 154, 3, 149, 6, 151, 1313, 1314, 1315, 0, 1, 3, 6, 4, 145, 1322, 6, 1324, 6, 1326, 143, 144, 145, 146, 3, 6, 149, 3, 6, 152, 3, 6, 6, 3, 3, 875, 3, 153, 878, 30, 31, 32, 33, 34, 35, 36, 37, 6, 39, 40, 41, 42, 43, 44, 45, 154, 6, 151, 153, 899, 51, 52, 53, 54, 55, 56, 151, 58, 59, 60, 61, 62, 151, 64, 914, 143, 144, 145, 146, 6, 80, 149, 6, 152, 152, 151, 151, 78, 79, 151, 930, 931, 152, 84, 33, 143, 144, 145, 146, 151, 153, 149, 7, 7, 152, 143, 144, 145, 146, 151, 151, 149, 152, 152, 152, 143, 144, 145, 146, 83, 152, 149, 6, 152, 152, 143, 144, 145, 146, 151, 151, 149, 152, 6, 152, 143, 144, 145, 146, 6, 131, 149, 3, 6, 152, 3, 3, 987, 988, 88, 89, 90, 6, 6, 6, 6, 5, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 6, 6, 6, 6, 1011, 5, 5, 154, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 6, 125, 126, 127, 128, 129, 130, 143, 144, 145, 146, 153, 6, 149, 151, 6, 152, 143, 144, 145, 146, 151, 151, 149, 151, 6, 152, 143, 144, 145, 146, 151, 151, 149, 1059, 152, 152, 143, 144, 145, 146, 152, 152, 149, 151, 6, 152, 1072, 143, 144, 145, 146, 151, 151, 149, 6, 6, 152, 143, 144, 145, 146, 6, 6, 149, 6, 6, 152, 143, 144, 145, 146, 6, 151, 149, 5, 152, 152, 143, 144, 145, 146, 154, 151, 149, 151, 153, 152, 143, 144, 145, 146, 152, 80, 149, 1120, 153, 152, 143, 144, 145, 146, 151, 153, 149, 6, 6, 152, 143, 144, 145, 146, 6, 5, 149, 5, 80, 152, 143, 144, 145, 146, 151, 151, 149, 151, 6, 152, 143, 144, 145, 146, 6, 153, 149, 154, 152, 152, 143, 144, 145, 146, 151, 151, 149, 1170, 6, 152, 143, 144, 145, 146, 152, 152, 149, 6, 154, 152, 143, 144, 145, 146, 6, 6, 149, 6, 6, 152, 143, 144, 145, 146, 1197, 153, 149, 151, 153, 152, 143, 144, 145, 146, 151, 140, 149, 151, 153, 152, 143, 144, 145, 146, 151, 153, 149, 6, 152, 152, 151, 6, 1225, 143, 144, 145, 146, 6, 6, 149, 6, 6, 152, 143, 144, 145, 146, 151, 151, 149, 151, 6, 152, 143, 144, 145, 146, 153, 153, 149, 153, 1254, 152, 143, 144, 145, 146, 6, 6, 149, 152, 6, 152, 6, 153, 1268, 143, 144, 145, 146, 153, 153, 149, 6, 6, 152, 143, 144, 145, 146, 0, 0, 149, 6, 6, 152, 143, 144, 145, 146, 477, 6, 149, 451, 713, 152, 143, 144, 145, 146, -1, -1, 149, -1, 1010, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, -1, 152, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151, 143, 144, 145, 146, -1, -1, 149, -1, 151 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/local/share/bison.simple" /* 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., 675 Mass Ave, Cambridge, MA 02139, 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. */ #ifndef alloca #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) #include <alloca.h> #else /* not sparc */ #if defined (MSDOS) && !defined (__TURBOC__) #include <malloc.h> #else /* not MSDOS, or __TURBOC__ */ #if defined(_AIX) #include <malloc.h> #pragma alloca #else /* not MSDOS, __TURBOC__, or _AIX */ #ifdef __hpux #ifdef __cplusplus extern "C" { void *alloca (unsigned int); }; #else /* not __cplusplus */ void *alloca (); #endif /* not __cplusplus */ #endif /* __hpux */ #endif /* not _AIX */ #endif /* not MSDOS, or __TURBOC__ */ #endif /* not sparc. */ #endif /* not GNU C. */ #endif /* alloca not defined. */ /* 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. */ /* 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 return(0) #define YYABORT return(1) #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 /* Prevent warning if -Wstrict-prototypes. */ #ifdef __GNUC__ int yyparse (void); #endif #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; 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, int count) { register char *f = from; register char *t = to; register int i = count; while (i-- > 0) *t++ = *f++; } #endif #endif #line 196 "/usr/local/share/bison.simple" /* The user can define YYPARSE_PARAM as the name of an argument to be passed into yyparse. The argument should have type void *. It should actually point to an object. Grammar actions can access the variable by casting it to the proper pointer type. */ #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 */ 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; #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"); return 2; } yystacksize *= 2; if (yystacksize > YYMAXDEPTH) yystacksize = YYMAXDEPTH; yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); __yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp)); yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); __yy_memcpy ((char *)yyls, (char *)yyls1, size * 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[-1].l);i++){ List_Read(yyvsp[-1].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[-8].d,yyvsp[-6].d,yyvsp[-4].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[-1].l);i++){ List_Read(yyvsp[-1].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[-8].d,yyvsp[-6].d,yyvsp[-4].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" { 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 144: #line 826 "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 145: #line 832 "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 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[-4].v[0],yyvsp[-4].v[1],yyvsp[-4].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[-4].v[0],yyvsp[-4].v[1],yyvsp[-4].v[2],yyvsp[-4].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" { 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 170: #line 1076 "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 171: #line 1080 "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 172: #line 1084 "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 173: #line 1088 "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 174: #line 1094 "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 175: #line 1099 "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 176: #line 1103 "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 177: #line 1107 "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 178: #line 1113 "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 179: #line 1121 "Gmsh.y" { ; break;} case 180: #line 1124 "Gmsh.y" { ; break;} case 181: #line 1130 "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 182: #line 1147 "Gmsh.y" { extr.mesh.Recombine = true; ; break;} case 183: #line 1158 "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 184: #line 1175 "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 185: #line 1192 "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 186: #line 1209 "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 187: #line 1230 "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 188: #line 1250 "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 189: #line 1270 "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 190: #line 1287 "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 191: #line 1312 "Gmsh.y" { Coherence_PS(); ; break;} case 195: #line 1332 "Gmsh.y" { ColorField = ColorGeneral; ; break;} case 197: #line 1335 "Gmsh.y" { ColorField = ColorGeometry; ; break;} case 199: #line 1338 "Gmsh.y" { ColorField = ColorMesh; ; break;} case 203: #line 1349 "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 204: #line 1359 "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 205: #line 1369 "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 206: #line 1380 "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 207: #line 1387 "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 208: #line 1463 "Gmsh.y" {yyval.i = 1;; break;} case 209: #line 1464 "Gmsh.y" {yyval.i = 0;; break;} case 210: #line 1465 "Gmsh.y" {yyval.i = -1;; break;} case 211: #line 1466 "Gmsh.y" {yyval.i = -1;; break;} case 212: #line 1467 "Gmsh.y" {yyval.i = -1;; break;} case 213: #line 1471 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 214: #line 1472 "Gmsh.y" { yyval.d = yyvsp[-1].d; ; break;} case 215: #line 1473 "Gmsh.y" { yyval.d = yyvsp[-2].d - yyvsp[0].d; ; break;} case 216: #line 1474 "Gmsh.y" { yyval.d = yyvsp[-2].d + yyvsp[0].d; ; break;} case 217: #line 1475 "Gmsh.y" { yyval.d = yyvsp[-2].d * yyvsp[0].d; ; break;} case 218: #line 1476 "Gmsh.y" { yyval.d = yyvsp[-2].d / yyvsp[0].d; ; break;} case 219: #line 1477 "Gmsh.y" { yyval.d = pow(yyvsp[-2].d, yyvsp[0].d); ; break;} case 220: #line 1478 "Gmsh.y" { yyval.d = - yyvsp[0].d; ; break;} case 221: #line 1479 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 222: #line 1480 "Gmsh.y" { yyval.d = exp(yyvsp[-1].d); ; break;} case 223: #line 1481 "Gmsh.y" { yyval.d = log(yyvsp[-1].d); ; break;} case 224: #line 1482 "Gmsh.y" { yyval.d = log10(yyvsp[-1].d); ; break;} case 225: #line 1483 "Gmsh.y" { yyval.d = sqrt(yyvsp[-1].d); ; break;} case 226: #line 1484 "Gmsh.y" { yyval.d = sin(yyvsp[-1].d); ; break;} case 227: #line 1485 "Gmsh.y" { yyval.d = asin(yyvsp[-1].d); ; break;} case 228: #line 1486 "Gmsh.y" { yyval.d = cos(yyvsp[-1].d); ; break;} case 229: #line 1487 "Gmsh.y" { yyval.d = acos(yyvsp[-1].d); ; break;} case 230: #line 1488 "Gmsh.y" { yyval.d = tan(yyvsp[-1].d); ; break;} case 231: #line 1489 "Gmsh.y" { yyval.d = atan(yyvsp[-1].d); ; break;} case 232: #line 1490 "Gmsh.y" { yyval.d = atan2(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 233: #line 1491 "Gmsh.y" { yyval.d = sinh(yyvsp[-1].d); ; break;} case 234: #line 1492 "Gmsh.y" { yyval.d = cosh(yyvsp[-1].d); ; break;} case 235: #line 1493 "Gmsh.y" { yyval.d = tanh(yyvsp[-1].d); ; break;} case 236: #line 1494 "Gmsh.y" { yyval.d = fabs(yyvsp[-1].d); ; break;} case 237: #line 1495 "Gmsh.y" { yyval.d = floor(yyvsp[-1].d); ; break;} case 238: #line 1496 "Gmsh.y" { yyval.d = ceil(yyvsp[-1].d); ; break;} case 239: #line 1497 "Gmsh.y" { yyval.d = fmod(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 240: #line 1498 "Gmsh.y" { yyval.d = fmod(yyvsp[-3].d,yyvsp[-1].d); ; break;} case 241: #line 1499 "Gmsh.y" { yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ; break;} case 242: #line 1503 "Gmsh.y" { yyval.d = yyvsp[0].d; ; break;} case 243: #line 1504 "Gmsh.y" { yyval.d = 3.141592653589793; ; break;} case 244: #line 1506 "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 245: #line 1518 "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 246: #line 1524 "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 247: #line 1538 "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 248: #line 1546 "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 249: #line 1554 "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 1562 "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 251: #line 1573 "Gmsh.y" { ; break;} case 252: #line 1576 "Gmsh.y" { ; break;} case 253: #line 1582 "Gmsh.y" { ; break;} case 254: #line 1585 "Gmsh.y" { ; break;} case 255: #line 1591 "Gmsh.y" { ; break;} case 256: #line 1594 "Gmsh.y" { yyval.l=ListOfListOfDouble_L; ; break;} case 257: #line 1598 "Gmsh.y" { yyval.l=ListOfListOfDouble_L; ; break;} case 258: #line 1605 "Gmsh.y" { ListOfListOfDouble_L = List_Create(2,1,sizeof(List_T*)) ; List_Add(ListOfListOfDouble_L, &(yyvsp[0].l)) ; ; break;} case 259: #line 1610 "Gmsh.y" { List_Add(ListOfListOfDouble_L, &(yyvsp[0].l)) ; ; break;} case 260: #line 1617 "Gmsh.y" { ; break;} case 261: #line 1620 "Gmsh.y" { ListOfDouble_L = List_Create(2,1,sizeof(double)) ; List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; yyval.l=ListOfDouble_L; ; break;} case 262: #line 1626 "Gmsh.y" { yyval.l=ListOfDouble_L; ; break;} case 263: #line 1640 "Gmsh.y" { ListOfDouble_L = List_Create(2,1,sizeof(double)) ; List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; ; break;} case 264: #line 1645 "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 265: #line 1654 "Gmsh.y" { List_Add(ListOfDouble_L, &(yyvsp[0].d)) ; ; break;} case 266: #line 1658 "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 498 "/usr/local/share/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; } #line 1668 "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 ; }