/*  A Bison parser, made from Gmsh.y
    by GNU Bison version 1.28  */

#define YYBISON 1  /* Identify Bison output.  */

#define	tDOUBLE	257
#define	tSTRING	258
#define	tBIGSTR	259
#define	tEND	260
#define	tAFFECT	261
#define	tDOTS	262
#define	tPi	263
#define	tMPI_Rank	264
#define	tMPI_Size	265
#define	tExp	266
#define	tLog	267
#define	tLog10	268
#define	tSqrt	269
#define	tSin	270
#define	tAsin	271
#define	tCos	272
#define	tAcos	273
#define	tTan	274
#define	tRand	275
#define	tAtan	276
#define	tAtan2	277
#define	tSinh	278
#define	tCosh	279
#define	tTanh	280
#define	tFabs	281
#define	tFloor	282
#define	tCeil	283
#define	tFmod	284
#define	tModulo	285
#define	tHypot	286
#define	tPrintf	287
#define	tSprintf	288
#define	tStrCat	289
#define	tStrPrefix	290
#define	tStrRelative	291
#define	tBoundingBox	292
#define	tDraw	293
#define	tToday	294
#define	tPoint	295
#define	tCircle	296
#define	tEllipse	297
#define	tLine	298
#define	tSurface	299
#define	tSpline	300
#define	tVolume	301
#define	tCharacteristic	302
#define	tLength	303
#define	tParametric	304
#define	tElliptic	305
#define	tPlane	306
#define	tRuled	307
#define	tTransfinite	308
#define	tComplex	309
#define	tPhysical	310
#define	tUsing	311
#define	tBump	312
#define	tProgression	313
#define	tPlugin	314
#define	tRotate	315
#define	tTranslate	316
#define	tSymmetry	317
#define	tDilate	318
#define	tExtrude	319
#define	tDuplicata	320
#define	tLoop	321
#define	tRecombine	322
#define	tDelete	323
#define	tCoherence	324
#define	tIntersect	325
#define	tAttractor	326
#define	tLayers	327
#define	tAlias	328
#define	tAliasWithOptions	329
#define	tText2D	330
#define	tText3D	331
#define	tInterpolationScheme	332
#define	tTime	333
#define	tGrain	334
#define	tCombine	335
#define	tBSpline	336
#define	tBezier	337
#define	tNurbs	338
#define	tOrder	339
#define	tWith	340
#define	tBounds	341
#define	tKnots	342
#define	tColor	343
#define	tColorTable	344
#define	tFor	345
#define	tIn	346
#define	tEndFor	347
#define	tIf	348
#define	tEndIf	349
#define	tExit	350
#define	tReturn	351
#define	tCall	352
#define	tFunction	353
#define	tTrimmed	354
#define	tShow	355
#define	tHide	356
#define	tGetValue	357
#define	tGMSH_MAJOR_VERSION	358
#define	tGMSH_MINOR_VERSION	359
#define	tGMSH_PATCH_VERSION	360
#define	tAFFECTPLUS	361
#define	tAFFECTMINUS	362
#define	tAFFECTTIMES	363
#define	tAFFECTDIVIDE	364
#define	tOR	365
#define	tAND	366
#define	tEQUAL	367
#define	tNOTEQUAL	368
#define	tAPPROXEQUAL	369
#define	tLESSOREQUAL	370
#define	tGREATEROREQUAL	371
#define	tCROSSPRODUCT	372
#define	tPLUSPLUS	373
#define	tMINUSMINUS	374
#define	UNARYPREC	375

#line 1 "Gmsh.y"

// $Id: Gmsh.tab.cpp,v 1.277 2006-11-25 02:47:40 geuzaine Exp $
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
// 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 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
// 
// Please report all bugs and problems to <gmsh@geuz.org>.

#include <stdarg.h>
#include <time.h>
#include "PluginManager.h"
#include "ParUtil.h"
#include "Gmsh.h"
#include "Numeric.h"
#include "Context.h"
#include "Geo.h"
#include "GeoUtils.h"
#include "Nurbs.h"
#include "CAD.h"
#include "Mesh.h"
#include "Draw.h"
#include "Create.h"
#include "Views.h"
#include "Options.h"
#include "Colors.h"
#include "Parser.h"
#include "OpenFile.h"
#include "CommandLine.h"
#include "FunctionManager.h"
#include "ColorTable.h"
#include "OS.h"
#include "CreateFile.h"

#include "GModel.h"
#include "gmshVertex.h"
#include "gmshEdge.h"
#include "gmshFace.h"
#include "gmshRegion.h"
extern GModel *GMODEL;

Tree_T *Symbol_T = NULL;

extern Context_T CTX;
extern Mesh *THEM;

static ExtrudeParams extr;

static Post_View *View;
static List_T *ViewValueList;
static double ViewCoord[100];
static int *ViewNumList, ViewNumNodes, ViewNumComp, ViewNumListTmp;
static int ViewCoordIdx, ViewElementIdx;
static int ViewErrorFlags[VIEW_NB_ELEMENT_TYPES];

#define MAX_RECUR_LOOPS 100
static int ImbricatedLoop = 0;
static fpos_t yyposImbricatedLoopsTab[MAX_RECUR_LOOPS];
static int yylinenoImbricatedLoopsTab[MAX_RECUR_LOOPS];
static double LoopControlVariablesTab[MAX_RECUR_LOOPS][3];
static char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];

void yyerror(char *s);
void yymsg(int type, char *fmt, ...);
void skip_until(char *skip, char *until);
int PrintListOfDouble(char *format, List_T *list, char *buffer);
int CheckViewErrorFlags(Post_View *v);

#line 83 "Gmsh.y"
typedef union {
  char *c;
  int i;
  unsigned int u;
  double d;
  double v[5];
  Shape s;
  List_T *l;
} YYSTYPE;
#include <stdio.h>

#ifndef __cplusplus
#ifndef __STDC__
#define const
#endif
#endif



#define	YYFINAL		1222
#define	YYFLAG		-32768
#define	YYNTBASE	142

#define YYTRANSLATE(x) ((unsigned)(x) <= 375 ? yytranslate[x] : 208)

static const short yytranslate[] = {     0,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,   127,     2,   137,     2,   125,     2,     2,   132,
   133,   123,   121,   138,   122,   136,   124,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,   117,
     2,   119,   111,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
   134,     2,   135,   131,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,   139,     2,   140,   141,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     1,     3,     4,     5,     6,
     7,     8,     9,    10,    11,    12,    13,    14,    15,    16,
    17,    18,    19,    20,    21,    22,    23,    24,    25,    26,
    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,
    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,
    47,    48,    49,    50,    51,    52,    53,    54,    55,    56,
    57,    58,    59,    60,    61,    62,    63,    64,    65,    66,
    67,    68,    69,    70,    71,    72,    73,    74,    75,    76,
    77,    78,    79,    80,    81,    82,    83,    84,    85,    86,
    87,    88,    89,    90,    91,    92,    93,    94,    95,    96,
    97,    98,    99,   100,   101,   102,   103,   104,   105,   106,
   107,   108,   109,   110,   112,   113,   114,   115,   116,   118,
   120,   126,   128,   129,   130
};

#if YYDEBUG != 0
static const short yyprhs[] = {     0,
     0,     2,     5,     6,     9,    11,    13,    15,    17,    19,
    21,    23,    25,    27,    29,    31,    33,    35,    37,    39,
    41,    44,    50,    58,    66,    76,    83,    92,    93,    96,
    99,   102,   105,   108,   111,   113,   117,   119,   123,   124,
   125,   136,   138,   142,   143,   157,   159,   163,   164,   180,
   189,   190,   197,   204,   206,   208,   210,   212,   214,   216,
   218,   223,   231,   241,   248,   255,   259,   266,   273,   283,
   290,   300,   306,   315,   324,   336,   343,   353,   363,   373,
   381,   390,   403,   410,   418,   426,   434,   444,   452,   462,
   480,   488,   496,   508,   517,   530,   539,   548,   557,   570,
   593,   614,   623,   632,   641,   649,   658,   664,   676,   682,
   692,   694,   696,   698,   699,   702,   709,   716,   723,   730,
   735,   742,   749,   756,   761,   768,   772,   777,   783,   787,
   791,   796,   801,   805,   813,   821,   825,   833,   837,   840,
   843,   859,   862,   869,   878,   887,   898,   900,   903,   905,
   909,   914,   916,   922,   934,   948,   949,   957,   958,   972,
   973,   989,   998,  1007,  1016,  1029,  1042,  1055,  1070,  1085,
  1100,  1101,  1114,  1115,  1128,  1129,  1142,  1143,  1160,  1161,
  1178,  1179,  1196,  1197,  1216,  1217,  1236,  1237,  1256,  1258,
  1261,  1271,  1279,  1282,  1289,  1299,  1309,  1318,  1328,  1337,
  1346,  1353,  1358,  1365,  1372,  1379,  1386,  1389,  1392,  1394,
  1398,  1401,  1404,  1407,  1411,  1415,  1419,  1423,  1427,  1431,
  1435,  1439,  1443,  1447,  1451,  1455,  1459,  1463,  1469,  1474,
  1479,  1484,  1489,  1494,  1499,  1504,  1509,  1514,  1519,  1526,
  1531,  1536,  1541,  1546,  1551,  1556,  1563,  1570,  1577,  1582,
  1587,  1592,  1597,  1602,  1607,  1612,  1617,  1622,  1627,  1632,
  1639,  1644,  1649,  1654,  1659,  1664,  1669,  1676,  1683,  1690,
  1695,  1697,  1699,  1701,  1703,  1705,  1707,  1709,  1711,  1717,
  1722,  1727,  1730,  1736,  1740,  1747,  1752,  1760,  1767,  1769,
  1772,  1775,  1779,  1783,  1795,  1805,  1813,  1821,  1822,  1826,
  1830,  1832,  1836,  1838,  1840,  1843,  1847,  1852,  1856,  1862,
  1867,  1869,  1871,  1873,  1877,  1882,  1889,  1897,  1899,  1901,
  1905,  1909,  1919,  1927,  1929,  1935,  1939,  1946,  1948,  1952,
  1954,  1956,  1963,  1968,  1973,  1978,  1985,  1992
};

static const short yyrhs[] = {   143,
     0,     1,     6,     0,     0,   143,   144,     0,   147,     0,
   146,     0,   166,     0,   167,     0,   168,     0,   171,     0,
   172,     0,   173,     0,   174,     0,   177,     0,   192,     0,
   193,     0,   194,     0,   176,     0,   175,     0,   119,     0,
   119,   119,     0,    33,   132,     5,   133,     6,     0,    33,
   132,     5,   133,   145,   207,     6,     0,    33,   132,     5,
   138,   203,   133,     6,     0,    33,   132,     5,   138,   203,
   133,   145,   207,     6,     0,     4,     5,   139,   148,   140,
     6,     0,     4,     5,     4,   197,   139,   148,   140,     6,
     0,     0,   148,   151,     0,   148,   155,     0,   148,   158,
     0,   148,   160,     0,   148,   161,     0,   148,   163,     0,
   195,     0,   149,   138,   195,     0,   195,     0,   150,   138,
   195,     0,     0,     0,     4,   152,   132,   149,   133,   153,
   139,   150,   140,     6,     0,   207,     0,   154,   138,   207,
     0,     0,    76,   132,   195,   138,   195,   138,   195,   133,
   156,   139,   154,   140,     6,     0,   207,     0,   157,   138,
   207,     0,     0,    77,   132,   195,   138,   195,   138,   195,
   138,   195,   133,   159,   139,   157,   140,     6,     0,    78,
   139,   200,   140,   139,   200,   140,     6,     0,     0,    79,
   162,   139,   150,   140,     6,     0,    80,   132,   195,   133,
   201,     6,     0,     7,     0,   107,     0,   108,     0,   109,
     0,   110,     0,   128,     0,   129,     0,     4,   164,   195,
     6,     0,     4,   134,   195,   135,   164,   195,     6,     0,
     4,   134,   139,   203,   140,   135,   164,   201,     6,     0,
     4,   134,   135,     7,   201,     6,     0,     4,   134,   135,
   107,   201,     6,     0,     4,   165,     6,     0,     4,   134,
   195,   135,   165,     6,     0,     4,   136,     4,     7,   207,
     6,     0,     4,   134,   195,   135,   136,     4,     7,   207,
     6,     0,     4,   136,     4,   164,   195,     6,     0,     4,
   134,   195,   135,   136,     4,   164,   195,     6,     0,     4,
   136,     4,   165,     6,     0,     4,   134,   195,   135,   136,
     4,   165,     6,     0,     4,   136,    89,   136,     4,     7,
   204,     6,     0,     4,   134,   195,   135,   136,    89,   136,
     4,     7,   204,     6,     0,     4,   136,    90,     7,   205,
     6,     0,     4,   134,   195,   135,   136,    90,     7,   205,
     6,     0,    60,   132,     4,   133,   136,     4,     7,   195,
     6,     0,    60,   132,     4,   133,   136,     4,     7,   207,
     6,     0,    41,   132,   195,   133,     7,   197,     6,     0,
    56,    41,   132,   195,   133,     7,   201,     6,     0,    72,
    41,   201,     7,   139,   195,   138,   195,   138,   195,   140,
     6,     0,    48,    49,   201,     7,   195,     6,     0,    44,
   132,   195,   133,     7,   201,     6,     0,    46,   132,   195,
   133,     7,   201,     6,     0,    42,   132,   195,   133,     7,
   201,     6,     0,    42,   132,   195,   133,     7,   201,    52,
   197,     6,     0,    43,   132,   195,   133,     7,   201,     6,
     0,    43,   132,   195,   133,     7,   201,    52,   197,     6,
     0,    50,   132,   195,   133,     7,   139,   195,   138,   195,
   138,     5,   138,     5,   138,     5,   140,     6,     0,    82,
   132,   195,   133,     7,   201,     6,     0,    83,   132,   195,
   133,     7,   201,     6,     0,    84,   132,   195,   133,     7,
   201,    88,   201,    85,   195,     6,     0,    44,    67,   132,
   195,   133,     7,   201,     6,     0,    72,    44,   201,     7,
   139,   195,   138,   195,   138,   195,   140,     6,     0,    56,
    44,   132,   195,   133,     7,   201,     6,     0,    52,    45,
   132,   195,   133,     7,   201,     6,     0,    53,    45,   132,
   195,   133,     7,   201,     6,     0,   100,    45,   132,   195,
   133,     7,   139,   195,   138,   201,   140,     6,     0,    84,
    45,    86,    87,   132,   195,   133,     7,   199,    88,   139,
   201,   138,   201,   140,    85,   139,   195,   138,   195,   140,
     6,     0,    84,    45,   132,   195,   133,     7,   199,    88,
   139,   201,   138,   201,   140,    85,   139,   195,   138,   195,
   140,     6,     0,    45,    67,   132,   195,   133,     7,   201,
     6,     0,    56,    45,   132,   195,   133,     7,   201,     6,
     0,    55,    47,   132,   195,   133,     7,   201,     6,     0,
    47,   132,   195,   133,     7,   201,     6,     0,    56,    47,
   132,   195,   133,     7,   201,     6,     0,    62,   197,   139,
   169,   140,     0,    61,   139,   197,   138,   197,   138,   195,
   140,   139,   169,   140,     0,    63,   197,   139,   169,   140,
     0,    64,   139,   197,   138,   195,   140,   139,   169,   140,
     0,   171,     0,   170,     0,   168,     0,     0,   170,   167,
     0,   170,    41,   139,   203,   140,     6,     0,   170,    44,
   139,   203,   140,     6,     0,   170,    45,   139,   203,   140,
     6,     0,   170,    47,   139,   203,   140,     6,     0,    66,
   139,   170,   140,     0,    66,     4,   134,   195,   135,     6,
     0,    74,     4,   134,   195,   135,     6,     0,    75,     4,
   134,   195,   135,     6,     0,    69,   139,   170,   140,     0,
    69,     4,   134,   195,   135,     6,     0,    69,     4,     6,
     0,    69,     4,     4,     6,     0,    89,   204,   139,   170,
   140,     0,   101,   207,     6,     0,   102,   207,     6,     0,
   101,   139,   170,   140,     0,   102,   139,   170,   140,     0,
     4,   207,     6,     0,     4,     4,   134,   195,   135,   207,
     6,     0,     4,     4,     4,   134,   195,   135,     6,     0,
     4,   195,     6,     0,    60,   132,     4,   133,   136,     4,
     6,     0,    81,     4,     6,     0,    96,     6,     0,    38,
     6,     0,    38,   139,   195,   138,   195,   138,   195,   138,
   195,   138,   195,   138,   195,   140,     6,     0,    39,     6,
     0,    91,   132,   195,     8,   195,   133,     0,    91,   132,
   195,     8,   195,     8,   195,   133,     0,    91,     4,    92,
   139,   195,     8,   195,   140,     0,    91,     4,    92,   139,
   195,     8,   195,     8,   195,   140,     0,    93,     0,    99,
     4,     0,    97,     0,    98,     4,     6,     0,    94,   132,
   195,   133,     0,    95,     0,    65,   197,   139,   170,   140,
     0,    65,   139,   197,   138,   197,   138,   195,   140,   139,
   170,   140,     0,    65,   139,   197,   138,   197,   138,   197,
   138,   195,   140,   139,   170,   140,     0,     0,    65,   197,
   139,   170,   178,   190,   140,     0,     0,    65,   139,   197,
   138,   197,   138,   195,   140,   139,   170,   179,   190,   140,
     0,     0,    65,   139,   197,   138,   197,   138,   197,   138,
   195,   140,   139,   170,   180,   190,   140,     0,    65,    41,
   139,   195,   138,   197,   140,     6,     0,    65,    44,   139,
   195,   138,   197,   140,     6,     0,    65,    45,   139,   195,
   138,   197,   140,     6,     0,    65,    41,   139,   195,   138,
   197,   138,   197,   138,   195,   140,     6,     0,    65,    44,
   139,   195,   138,   197,   138,   197,   138,   195,   140,     6,
     0,    65,    45,   139,   195,   138,   197,   138,   197,   138,
   195,   140,     6,     0,    65,    41,   139,   195,   138,   197,
   138,   197,   138,   197,   138,   195,   140,     6,     0,    65,
    44,   139,   195,   138,   197,   138,   197,   138,   197,   138,
   195,   140,     6,     0,    65,    45,   139,   195,   138,   197,
   138,   197,   138,   197,   138,   195,   140,     6,     0,     0,
    65,    41,   139,   195,   138,   197,   140,   181,   139,   190,
   140,     6,     0,     0,    65,    44,   139,   195,   138,   197,
   140,   182,   139,   190,   140,     6,     0,     0,    65,    45,
   139,   195,   138,   197,   140,   183,   139,   190,   140,     6,
     0,     0,    65,    41,   139,   195,   138,   197,   138,   197,
   138,   195,   140,   184,   139,   190,   140,     6,     0,     0,
    65,    44,   139,   195,   138,   197,   138,   197,   138,   195,
   140,   185,   139,   190,   140,     6,     0,     0,    65,    45,
   139,   195,   138,   197,   138,   197,   138,   195,   140,   186,
   139,   190,   140,     6,     0,     0,    65,    41,   139,   195,
   138,   197,   138,   197,   138,   197,   138,   195,   140,   187,
   139,   190,   140,     6,     0,     0,    65,    44,   139,   195,
   138,   197,   138,   197,   138,   197,   138,   195,   140,   188,
   139,   190,   140,     6,     0,     0,    65,    45,   139,   195,
   138,   197,   138,   197,   138,   197,   138,   195,   140,   189,
   139,   190,   140,     6,     0,   191,     0,   190,   191,     0,
    73,   139,   201,   138,   201,   138,   201,   140,     6,     0,
    73,   139,   201,   138,   201,   140,     6,     0,    68,     6,
     0,    54,    44,   201,     7,   195,     6,     0,    54,    44,
   201,     7,   195,    57,    59,   195,     6,     0,    54,    44,
   201,     7,   195,    57,    58,   195,     6,     0,    54,    45,
   139,   195,   140,     7,   201,     6,     0,    54,    45,   139,
   195,   140,     7,   201,     4,     6,     0,    51,    45,   139,
   195,   140,     7,   201,     6,     0,    54,    47,   139,   195,
   140,     7,   201,     6,     0,    68,    45,   201,     7,   195,
     6,     0,    68,    45,   201,     6,     0,    41,   201,    92,
    45,   195,     6,     0,    44,   201,    92,    45,   195,     6,
     0,    44,   201,    92,    47,   195,     6,     0,    45,   201,
    92,    47,   195,     6,     0,    70,     6,     0,    71,     6,
     0,   196,     0,   132,   195,   133,     0,   122,   195,     0,
   121,   195,     0,   127,   195,     0,   195,   122,   195,     0,
   195,   121,   195,     0,   195,   123,   195,     0,   195,   124,
   195,     0,   195,   125,   195,     0,   195,   131,   195,     0,
   195,   117,   195,     0,   195,   119,   195,     0,   195,   118,
   195,     0,   195,   120,   195,     0,   195,   114,   195,     0,
   195,   115,   195,     0,   195,   113,   195,     0,   195,   112,
   195,     0,   195,   111,   195,     8,   195,     0,    12,   132,
   195,   133,     0,    13,   132,   195,   133,     0,    14,   132,
   195,   133,     0,    15,   132,   195,   133,     0,    16,   132,
   195,   133,     0,    17,   132,   195,   133,     0,    18,   132,
   195,   133,     0,    19,   132,   195,   133,     0,    20,   132,
   195,   133,     0,    22,   132,   195,   133,     0,    23,   132,
   195,   138,   195,   133,     0,    24,   132,   195,   133,     0,
    25,   132,   195,   133,     0,    26,   132,   195,   133,     0,
    27,   132,   195,   133,     0,    28,   132,   195,   133,     0,
    29,   132,   195,   133,     0,    30,   132,   195,   138,   195,
   133,     0,    31,   132,   195,   138,   195,   133,     0,    32,
   132,   195,   138,   195,   133,     0,    21,   132,   195,   133,
     0,    12,   134,   195,   135,     0,    13,   134,   195,   135,
     0,    14,   134,   195,   135,     0,    15,   134,   195,   135,
     0,    16,   134,   195,   135,     0,    17,   134,   195,   135,
     0,    18,   134,   195,   135,     0,    19,   134,   195,   135,
     0,    20,   134,   195,   135,     0,    22,   134,   195,   135,
     0,    23,   134,   195,   138,   195,   135,     0,    24,   134,
   195,   135,     0,    25,   134,   195,   135,     0,    26,   134,
   195,   135,     0,    27,   134,   195,   135,     0,    28,   134,
   195,   135,     0,    29,   134,   195,   135,     0,    30,   134,
   195,   138,   195,   135,     0,    31,   134,   195,   138,   195,
   135,     0,    32,   134,   195,   138,   195,   135,     0,    21,
   134,   195,   135,     0,     3,     0,     9,     0,    10,     0,
    11,     0,   104,     0,   105,     0,   106,     0,     4,     0,
     4,   141,   139,   195,   140,     0,     4,   134,   195,   135,
     0,   137,     4,   134,   135,     0,     4,   165,     0,     4,
   134,   195,   135,   165,     0,     4,   136,     4,     0,     4,
   134,   195,   135,   136,     4,     0,     4,   136,     4,   165,
     0,     4,   134,   195,   135,   136,     4,   165,     0,   103,
   132,     5,   138,   195,   133,     0,   198,     0,   122,   197,
     0,   121,   197,     0,   197,   122,   197,     0,   197,   121,
   197,     0,   139,   195,   138,   195,   138,   195,   138,   195,
   138,   195,   140,     0,   139,   195,   138,   195,   138,   195,
   138,   195,   140,     0,   139,   195,   138,   195,   138,   195,
   140,     0,   132,   195,   138,   195,   138,   195,   133,     0,
     0,   139,   200,   140,     0,   132,   200,   133,     0,   201,
     0,   200,   138,   201,     0,   195,     0,   202,     0,   139,
   140,     0,   139,   203,   140,     0,   122,   139,   203,   140,
     0,   195,     8,   195,     0,   195,     8,   195,     8,   195,
     0,    41,   139,   195,   140,     0,   168,     0,   171,     0,
   177,     0,     4,   134,   135,     0,   122,     4,   134,   135,
     0,     4,   134,   139,   203,   140,   135,     0,   122,     4,
   134,   139,   203,   140,   135,     0,   195,     0,   202,     0,
   203,   138,   195,     0,   203,   138,   202,     0,   139,   195,
   138,   195,   138,   195,   138,   195,   140,     0,   139,   195,
   138,   195,   138,   195,   140,     0,     4,     0,     4,   136,
    89,   136,     4,     0,   139,   206,   140,     0,     4,   134,
   195,   135,   136,    90,     0,   204,     0,   206,   138,   204,
     0,     5,     0,    40,     0,    35,   132,   207,   138,   207,
   133,     0,    36,   132,   207,   133,     0,    37,   132,   207,
   133,     0,    34,   132,   207,   133,     0,    34,   132,   207,
   138,   203,   133,     0,    34,   132,     4,   136,     4,   133,
     0,    34,   132,     4,   134,   195,   135,   136,     4,   133,
     0
};

#endif

#if YYDEBUG != 0
static const short yyrline[] = { 0,
   148,   150,   155,   157,   160,   162,   163,   164,   165,   166,
   167,   168,   169,   170,   171,   172,   173,   174,   175,   178,
   183,   189,   195,   210,   223,   251,   259,   268,   276,   277,
   278,   279,   280,   281,   284,   287,   291,   294,   298,   489,
   507,   517,   523,   530,   538,   544,   550,   557,   565,   571,
   579,   584,   588,   597,   599,   600,   601,   602,   605,   607,
   610,   645,   684,   738,   755,   773,   784,   803,   817,   834,
   860,   887,   901,   918,   932,   949,   969,   992,  1002,  1017,
  1037,  1053,  1060,  1079,  1097,  1115,  1133,  1159,  1177,  1203,
  1223,  1247,  1271,  1297,  1314,  1321,  1340,  1359,  1398,  1423,
  1442,  1461,  1477,  1497,  1514,  1531,  1551,  1557,  1562,  1567,
  1574,  1576,  1577,  1580,  1585,  1589,  1605,  1621,  1637,  1657,
  1672,  1678,  1684,  1695,  1705,  1715,  1729,  1747,  1761,  1768,
  1774,  1783,  1796,  1842,  1857,  1868,  1888,  1898,  1920,  1924,
  1929,  1934,  1944,  1961,  1977,  2003,  2030,  2062,  2069,  2074,
  2080,  2084,  2092,  2101,  2109,  2117,  2122,  2130,  2135,  2143,
  2148,  2158,  2165,  2172,  2179,  2186,  2193,  2200,  2207,  2214,
  2221,  2226,  2233,  2238,  2245,  2250,  2257,  2262,  2269,  2274,
  2281,  2286,  2293,  2298,  2305,  2310,  2317,  2322,  2332,  2336,
  2341,  2368,  2392,  2400,  2419,  2437,  2455,  2484,  2519,  2546,
  2573,  2587,  2605,  2612,  2618,  2621,  2627,  2632,  2641,  2643,
  2644,  2645,  2646,  2647,  2648,  2649,  2650,  2657,  2658,  2659,
  2660,  2661,  2662,  2663,  2664,  2665,  2666,  2667,  2668,  2669,
  2670,  2671,  2672,  2673,  2674,  2675,  2676,  2677,  2678,  2679,
  2680,  2681,  2682,  2683,  2684,  2685,  2686,  2687,  2688,  2690,
  2691,  2692,  2693,  2694,  2695,  2696,  2697,  2698,  2699,  2700,
  2701,  2702,  2703,  2704,  2705,  2706,  2707,  2708,  2709,  2710,
  2715,  2720,  2721,  2722,  2723,  2724,  2725,  2729,  2745,  2760,
  2780,  2794,  2807,  2830,  2848,  2866,  2884,  2902,  2909,  2914,
  2918,  2922,  2926,  2932,  2937,  2941,  2945,  2951,  2955,  2959,
  2965,  2971,  2978,  2984,  2988,  2993,  2997,  3008,  3015,  3026,
  3046,  3056,  3066,  3076,  3093,  3112,  3136,  3164,  3170,  3174,
  3178,  3190,  3195,  3207,  3214,  3235,  3240,  3254,  3260,  3266,
  3271,  3279,  3287,  3301,  3315,  3319,  3338,  3360
};
#endif


#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)

static const char * const yytname[] = {   "$","error","$undefined.","tDOUBLE",
"tSTRING","tBIGSTR","tEND","tAFFECT","tDOTS","tPi","tMPI_Rank","tMPI_Size","tExp",
"tLog","tLog10","tSqrt","tSin","tAsin","tCos","tAcos","tTan","tRand","tAtan",
"tAtan2","tSinh","tCosh","tTanh","tFabs","tFloor","tCeil","tFmod","tModulo",
"tHypot","tPrintf","tSprintf","tStrCat","tStrPrefix","tStrRelative","tBoundingBox",
"tDraw","tToday","tPoint","tCircle","tEllipse","tLine","tSurface","tSpline",
"tVolume","tCharacteristic","tLength","tParametric","tElliptic","tPlane","tRuled",
"tTransfinite","tComplex","tPhysical","tUsing","tBump","tProgression","tPlugin",
"tRotate","tTranslate","tSymmetry","tDilate","tExtrude","tDuplicata","tLoop",
"tRecombine","tDelete","tCoherence","tIntersect","tAttractor","tLayers","tAlias",
"tAliasWithOptions","tText2D","tText3D","tInterpolationScheme","tTime","tGrain",
"tCombine","tBSpline","tBezier","tNurbs","tOrder","tWith","tBounds","tKnots",
"tColor","tColorTable","tFor","tIn","tEndFor","tIf","tEndIf","tExit","tReturn",
"tCall","tFunction","tTrimmed","tShow","tHide","tGetValue","tGMSH_MAJOR_VERSION",
"tGMSH_MINOR_VERSION","tGMSH_PATCH_VERSION","tAFFECTPLUS","tAFFECTMINUS","tAFFECTTIMES",
"tAFFECTDIVIDE","'?'","tOR","tAND","tEQUAL","tNOTEQUAL","tAPPROXEQUAL","'<'",
"tLESSOREQUAL","'>'","tGREATEROREQUAL","'+'","'-'","'*'","'/'","'%'","tCROSSPRODUCT",
"'!'","tPLUSPLUS","tMINUSMINUS","UNARYPREC","'^'","'('","')'","'['","']'","'.'",
"'#'","','","'{'","'}'","'~'","All","GeoFormatItems","GeoFormatItem","SendToFile",
"Printf","View","Views","ElementCoords","ElementValues","Element","@1","@2",
"Text2DValues","Text2D","@3","Text3DValues","Text3D","@4","InterpolationMatrix",
"Time","@5","Grain","NumericAffectation","NumericIncrement","Affectation","Shape",
"Transform","MultipleShape","ListOfShapes","Duplicata","Delete","Colorify","Visibility",
"Command","Loop","Extrude","@6","@7","@8","@9","@10","@11","@12","@13","@14",
"@15","@16","@17","ExtrudeParameters","ExtrudeParameter","Transfinite","Embedding",
"Coherence","FExpr","FExpr_Single","VExpr","VExpr_Single","ListOfListOfDouble",
"RecursiveListOfListOfDouble","ListOfDouble","FExpr_Multi","RecursiveListOfDouble",
"ColorExpr","ListOfColor","RecursiveListOfColor","StringExpr", NULL
};
#endif

static const short yyr1[] = {     0,
   142,   142,   143,   143,   144,   144,   144,   144,   144,   144,
   144,   144,   144,   144,   144,   144,   144,   144,   144,   145,
   145,   146,   146,   146,   146,   147,   147,   148,   148,   148,
   148,   148,   148,   148,   149,   149,   150,   150,   152,   153,
   151,   154,   154,   156,   155,   157,   157,   159,   158,   160,
   162,   161,   163,   164,   164,   164,   164,   164,   165,   165,
   166,   166,   166,   166,   166,   166,   166,   166,   166,   166,
   166,   166,   166,   166,   166,   166,   166,   166,   166,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   168,   168,   168,   168,
   169,   169,   169,   170,   170,   170,   170,   170,   170,   171,
   171,   171,   171,   172,   172,   172,   172,   173,   174,   174,
   174,   174,   175,   175,   175,   175,   175,   175,   175,   175,
   175,   175,   176,   176,   176,   176,   176,   176,   176,   176,
   176,   176,   177,   177,   177,   178,   177,   179,   177,   180,
   177,   177,   177,   177,   177,   177,   177,   177,   177,   177,
   181,   177,   182,   177,   183,   177,   184,   177,   185,   177,
   186,   177,   187,   177,   188,   177,   189,   177,   190,   190,
   191,   191,   191,   192,   192,   192,   192,   192,   192,   192,
   192,   192,   193,   193,   193,   193,   194,   194,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   195,   195,   195,   195,   195,   195,   195,   195,   195,   195,
   196,   196,   196,   196,   196,   196,   196,   196,   196,   196,
   196,   196,   196,   196,   196,   196,   196,   196,   197,   197,
   197,   197,   197,   198,   198,   198,   198,   199,   199,   199,
   200,   200,   201,   201,   201,   201,   201,   202,   202,   202,
   202,   202,   202,   202,   202,   202,   202,   203,   203,   203,
   203,   204,   204,   204,   204,   205,   205,   206,   206,   207,
   207,   207,   207,   207,   207,   207,   207,   207
};

static const short yyr2[] = {     0,
     1,     2,     0,     2,     1,     1,     1,     1,     1,     1,
     1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     2,     5,     7,     7,     9,     6,     8,     0,     2,     2,
     2,     2,     2,     2,     1,     3,     1,     3,     0,     0,
    10,     1,     3,     0,    13,     1,     3,     0,    15,     8,
     0,     6,     6,     1,     1,     1,     1,     1,     1,     1,
     4,     7,     9,     6,     6,     3,     6,     6,     9,     6,
     9,     5,     8,     8,    11,     6,     9,     9,     9,     7,
     8,    12,     6,     7,     7,     7,     9,     7,     9,    17,
     7,     7,    11,     8,    12,     8,     8,     8,    12,    22,
    20,     8,     8,     8,     7,     8,     5,    11,     5,     9,
     1,     1,     1,     0,     2,     6,     6,     6,     6,     4,
     6,     6,     6,     4,     6,     3,     4,     5,     3,     3,
     4,     4,     3,     7,     7,     3,     7,     3,     2,     2,
    15,     2,     6,     8,     8,    10,     1,     2,     1,     3,
     4,     1,     5,    11,    13,     0,     7,     0,    13,     0,
    15,     8,     8,     8,    12,    12,    12,    14,    14,    14,
     0,    12,     0,    12,     0,    12,     0,    16,     0,    16,
     0,    16,     0,    18,     0,    18,     0,    18,     1,     2,
     9,     7,     2,     6,     9,     9,     8,     9,     8,     8,
     6,     4,     6,     6,     6,     6,     2,     2,     1,     3,
     2,     2,     2,     3,     3,     3,     3,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     3,     5,     4,     4,
     4,     4,     4,     4,     4,     4,     4,     4,     6,     4,
     4,     4,     4,     4,     4,     6,     6,     6,     4,     4,
     4,     4,     4,     4,     4,     4,     4,     4,     4,     6,
     4,     4,     4,     4,     4,     4,     6,     6,     6,     4,
     1,     1,     1,     1,     1,     1,     1,     1,     5,     4,
     4,     2,     5,     3,     6,     4,     7,     6,     1,     2,
     2,     3,     3,    11,     9,     7,     7,     0,     3,     3,
     1,     3,     1,     1,     2,     3,     4,     3,     5,     4,
     1,     1,     1,     3,     4,     6,     7,     1,     1,     3,
     3,     9,     7,     1,     5,     3,     6,     1,     3,     1,
     1,     6,     4,     4,     4,     6,     6,     9
};

static const short yydefact[] = {     0,
     0,     1,     2,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,   147,     0,   152,     0,   149,     0,     0,     0,
     0,     0,     4,     6,     5,     7,     8,     9,    10,    11,
    12,    13,    19,    18,    14,    15,    16,    17,   271,   278,
   330,    54,   272,   273,   274,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   331,     0,   275,   276,   277,    55,    56,    57,    58,     0,
     0,     0,    59,    60,     0,     0,     0,     0,     0,     0,
     0,   209,     0,     0,   140,     0,   142,   278,     0,     0,
     0,     0,   311,   312,   313,   303,     0,   304,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,   289,     0,     0,
     0,     0,     0,     0,     0,     0,   114,     0,     0,   114,
   207,   208,     0,     0,     0,     0,     0,     0,     0,     0,
     0,   324,     0,     0,     0,     0,     0,   139,     0,   148,
     0,   330,   114,     0,   114,     0,     0,     0,     0,     0,
   282,     0,    28,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   278,   212,   211,   213,     0,     0,     0,     0,     0,     0,
     0,     0,     0,    66,   136,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   133,     0,     0,     0,     0,   278,     0,     0,     0,   305,
   318,   319,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,   291,
   290,     0,     0,     0,     0,   114,   114,     0,     0,     0,
     0,     0,     0,     0,     0,   114,     0,     0,     0,     0,
   126,     0,     0,     0,     0,     0,     0,   138,     0,     0,
     0,     0,     0,     0,     0,   114,     0,     0,     0,   150,
     0,     0,   129,     0,   130,     0,     0,   284,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   210,     0,     0,     0,     0,    54,     0,     0,     0,     0,
     0,    61,     0,   227,   226,   224,   225,   220,   222,   221,
   223,   215,   214,   216,   217,   218,   219,     0,     0,     0,
   314,     0,     0,     0,     0,     0,   210,     0,   306,   308,
     0,     0,     0,     0,   210,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   293,   292,
   113,     0,   112,   111,     0,     0,     0,     0,     0,     0,
     0,   156,     0,     0,     0,     0,     0,   120,   115,   202,
     0,   127,     0,   124,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   151,     0,
   131,   132,     0,   280,   286,     0,    28,    39,     0,     0,
     0,    51,     0,     0,    29,    30,    31,    32,    33,    34,
   229,   250,   230,   251,   231,   252,   232,   253,   233,   254,
   234,   255,   235,   256,   236,   257,   237,   258,   249,   270,
   238,   259,     0,     0,   240,   261,   241,   262,   242,   263,
   243,   264,   244,   265,   245,   266,     0,     0,     0,     0,
     0,     0,     0,     0,   335,     0,     0,   333,   334,     0,
     0,     0,     0,     0,     0,     0,     0,     0,    72,     0,
     0,     0,     0,   281,     0,    22,    20,     0,     0,     0,
     0,   280,   310,   315,     0,   307,     0,   320,   321,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   107,   109,
     0,     0,     0,     0,     0,   153,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,   128,     0,     0,
     0,     0,     0,   283,     0,   279,     0,     0,     0,     0,
     0,     0,     0,    26,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,    64,    65,     0,
     0,     0,     0,     0,    67,    68,    70,     0,     0,   328,
     0,    76,   228,    21,     0,     0,     0,     0,     0,     0,
   309,   203,     0,     0,     0,     0,   204,   205,     0,   206,
     0,     0,    83,     0,     0,     0,     0,   194,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   189,   121,
     0,     0,     0,     0,     0,     0,   201,   125,     0,     0,
   122,   123,     0,     0,     0,   298,     0,   325,     0,     0,
     0,   143,     0,   135,   285,   134,     0,     0,     0,     0,
     0,   301,     0,     0,   239,   260,   246,   267,   247,   268,
   248,   269,     0,   337,   336,   332,   288,     0,    54,     0,
     0,     0,     0,    62,     0,     0,     0,   326,    23,    24,
     0,     0,   316,     0,    80,    86,     0,    88,     0,     0,
    84,     0,    85,   105,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,   137,     0,     0,
     0,     0,   114,     0,   171,     0,   173,     0,   175,     0,
     0,   193,     0,   157,   190,     0,     0,     0,     0,     0,
     0,     0,     0,    91,    92,     0,     0,     0,     0,     0,
     0,     0,     0,     0,   287,    27,     0,    35,     0,     0,
     0,     0,     0,    37,     0,     0,     0,     0,     0,    73,
     0,     0,    74,     0,   329,     0,     0,   317,     0,     0,
    94,   102,     0,   199,    97,    98,     0,     0,     0,   197,
   200,   104,    81,    96,   103,   106,     0,     0,     0,   297,
     0,   296,     0,     0,   162,     0,     0,   163,     0,     0,
   164,     0,     0,     0,     0,   116,   117,   118,   119,     0,
     0,   298,     0,     0,     0,     0,     0,   323,     0,   145,
   144,     0,    40,     0,     0,     0,   302,     0,     0,     0,
     0,     0,    63,    69,    71,     0,    77,     0,    25,     0,
    87,    89,     0,   196,   195,   198,    78,    79,   114,     0,
   110,     0,     0,     0,     0,     0,     0,   114,     0,     0,
     0,     0,     0,   300,   299,     0,     0,     0,     0,     0,
     0,    36,     0,     0,     0,    38,    52,    53,   338,     0,
   327,     0,     0,     0,     0,   295,     0,     0,     0,     0,
     0,     0,     0,     0,     0,   158,     0,     0,     0,     0,
     0,     0,     0,   322,   146,     0,     0,     0,     0,     0,
    75,     0,     0,   108,     0,   177,     0,     0,   179,     0,
     0,   181,     0,     0,   154,     0,   114,     0,     0,     0,
     0,     0,     0,    93,     0,     0,    44,     0,    50,     0,
     0,   294,   165,     0,     0,   172,   166,     0,     0,   174,
   167,     0,     0,   176,     0,   160,     0,   192,    82,    95,
     0,     0,    99,     0,     0,     0,     0,     0,     0,   183,
     0,   185,     0,   187,   159,   155,     0,     0,     0,     0,
    41,     0,    48,     0,     0,     0,   168,     0,     0,   169,
     0,     0,   170,     0,     0,   191,     0,     0,     0,    42,
     0,   141,     0,     0,     0,     0,     0,     0,     0,   161,
     0,     0,     0,     0,     0,     0,   178,     0,   180,     0,
   182,     0,     0,     0,    43,    45,     0,    46,    90,     0,
     0,     0,     0,     0,     0,     0,   184,   186,   188,     0,
     0,    47,    49,     0,     0,     0,   101,     0,   100,     0,
     0,     0
};

static const short yydefgoto[] = {  1220,
     2,    53,   628,    54,    55,   381,   917,   923,   555,   708,
  1041,  1169,   556,  1135,  1197,   557,  1171,   558,   559,   712,
   560,   119,   211,    56,   519,   133,   502,   503,   134,    60,
    61,    62,    63,    64,   135,   677,  1096,  1147,   966,   969,
   972,  1114,  1118,  1122,  1158,  1161,  1164,   788,   789,    66,
    67,    68,   136,   122,   330,   168,   909,   821,   822,   138,
   303,   194,   623,   741,   123
};

static const short yypact[] = {  2807,
    34,  2657,-32768,  2171,   -74,    20,    86,  1611,   -58,   -36,
  1349,  1480,    40,    46,   111,    54,   121,   145,   161,   350,
   162,   485,   120,   130,   -75,   -75,   173,   261,    11,   271,
    15,   318,   339,    90,   330,   352,   375,   244,   270,   -28,
    16,     0,-32768,   273,-32768,   409,-32768,   414,   421,   420,
    19,    26,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    12,
    17,-32768,-32768,-32768,-32768,  -105,    71,   134,   169,   230,
   297,   345,   419,   444,   478,   491,   496,   501,   507,   508,
   535,   536,   539,   540,   553,   554,   349,   354,   365,   381,
-32768,   396,-32768,-32768,-32768,-32768,-32768,-32768,-32768,  2386,
  2386,  2386,-32768,-32768,  2386,   634,    28,   517,  2386,   532,
   829,-32768,   546,   556,-32768,  2386,-32768,   431,   406,  2010,
  2386,  1203,-32768,-32768,-32768,  2518,   449,-32768,  2386,  2386,
   450,  2386,   474,   454,   499,  2386,  2386,  1742,  2386,   475,
   486,   487,  1742,   493,   542,   495,   550,   559,   563,   575,
   704,   -75,   -75,   -75,  2386,  2386,   -70,-32768,    58,   -75,
   572,   589,   592,  2040,   285,   612,-32768,  1742,    35,-32768,
-32768,-32768,  1742,  1742,   619,   624,   753,  2386,  2386,   -61,
  2386,   632,  2386,   633,   695,  2386,  2386,-32768,   791,-32768,
   668,-32768,-32768,   798,-32768,   819,   713,  2386,   834,   725,
-32768,   -75,-32768,  2386,  2386,  2386,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,  2386,  2386,    63,   407,   407,   407,   868,
   479,   759,   759,   759,  5204,     6,  2221,  1405,   201,   755,
   888,   763,   957,-32768,-32768,  2386,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,  2386,
-32768,   132,  3712,  1809,  2386,   488,  2221,  5227,  2416,-32768,
  2518,-32768,   378,  2386,   855,  5250,  5273,  2386,  5296,   682,
  2386,   854,  5319,  5342,   895,  5365,  2386,  2386,  2386,   896,
  2386,  2386,  2386,  2386,  2386,  2386,  2386,   771,   314,-32768,
-32768,  3734,  3756,   -75,   -75,   526,   526,   328,  2386,  2386,
  2386,  2040,  2040,  2386,   338,-32768,  2386,  2869,   484,   899,
-32768,  2386,  2890,   902,   904,  2386,  2386,-32768,  5388,  5411,
   825,  2386,  5434,   824,  3778,-32768,   775,  2533,  5457,-32768,
  2386,  2936,-32768,  2996,-32768,  2386,  1536,   372,  2386,   306,
    -1,  5480,  1667,  5503,  4504,  5526,  4529,  5549,  4554,  5572,
  4579,  5595,  4604,  5618,  4629,  5641,  4654,  5664,  4679,  5687,
  4704,  5710,  4729,  3800,  3822,  5733,  4754,  5756,  4779,  5779,
  4804,  5802,  4829,  5825,  4854,  5848,  4879,  3844,  3866,  3888,
  3910,  3932,  3954,   600,   193,   794,   801,   802,   800,  2386,
-32768,  1742,  1742,   604,    66,   407,  2386,   930,   941,    18,
   820,-32768,  2651,   579,   737,   761,   761,   626,   626,   626,
   626,   639,   639,   759,   759,   759,   759,     4,  2221,  2386,
-32768,  2221,  4904,  2882,  1873,   614,   949,  2221,-32768,  2666,
  2386,   951,   952,  5871,   954,  2386,  2386,  5894,  2386,   955,
   958,  2386,   959,  3009,  5917,  5940,  2386,  3136,  3204,  5963,
  5986,  6009,  6032,  6055,   828,   -75,  2386,  2386,-32768,-32768,
-32768,   827,  3190,-32768,   831,  2386,  3976,  3998,  4020,  3684,
   -75,  3017,  4929,   -95,   -44,   -49,   -50,-32768,-32768,-32768,
  2386,-32768,  4954,-32768,   830,   833,  4979,  5004,   961,   966,
   842,  6078,   968,   840,  2386,  3063,  2386,  2386,-32768,  6101,
-32768,-32768,  5029,   434,-32768,  3228,-32768,-32768,   845,   846,
   841,-32768,   847,   975,-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,  2386,  2386,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,  2386,  2386,  2386,  2386,
  2386,  2386,  2386,   978,-32768,  2221,   407,-32768,-32768,  2386,
   980,   981,   849,    30,  2386,   982,   983,  1040,-32768,   984,
   858,    16,   987,-32768,  2386,-32768,   875,   407,   195,  4042,
   627,   -35,-32768,-32768,  2221,-32768,   -75,  2518,-32768,  2386,
  1314,  1742,  1742,   989,  1742,  1445,  1576,   990,  1838,  1742,
  1742,  1962,   859,   992,   993,   994,   806,   995,   996,   997,
   998,   999,  1000,  1003,  1008,   374,  4064,  4086,-32768,-32768,
  3252,   -75,   -75,   -75,   377,-32768,    76,  1007,  2386,  2221,
  2386,  2221,  2221,  2221,  1977,  1009,  2386,  2386,  1015,  1017,
  1742,  1742,  2386,  1018,  1742,  1010,  4108,-32768,  2681,   709,
  1019,  1024,  1027,-32768,  1026,-32768,     7,   903,  2386,  2386,
  1742,   897,  2386,-32768,  6124,  5054,  6147,  5079,  6170,  5104,
  6193,  5129,  5154,   901,   232,   905,  6216,-32768,-32768,   189,
   281,   906,  1030,  2198,-32768,-32768,-32768,    16,  2386,-32768,
   640,-32768,  6423,-32768,  1035,    32,  2386,   908,   663,     3,
  6423,-32768,    29,    39,  1742,  1038,-32768,-32768,  1742,-32768,
  1039,  1041,-32768,  2386,  1742,  1742,  1742,-32768,   497,  1742,
  1742,  1742,  1742,  1742,  1742,  1742,   597,  2386,  2386,  2386,
   910,    61,   263,   292,  2040,  1044,   913,    -3,-32768,-32768,
  6239,   670,  6262,   675,   678,   701,-32768,-32768,  4130,  4152,
-32768,-32768,  1047,  1048,  6285,    68,   967,-32768,  2386,  2386,
  2386,-32768,   917,-32768,   372,-32768,  1053,  2386,  4174,  4196,
   705,-32768,  2386,  6308,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,   924,-32768,-32768,-32768,-32768,  1742,   407,  2386,
  1056,  1059,    18,-32768,  1058,  5179,    16,-32768,-32768,-32768,
   407,  4218,-32768,   931,-32768,-32768,   -75,-32768,   -75,  1061,
-32768,  1078,-32768,-32768,  4240,  1079,  1081,  1084,  2386,  2386,
   773,  1086,  1088,  1089,  1090,  1091,  1092,-32768,  2351,  3276,
  6331,   671,   526,   -75,  1093,   -75,  1094,   -75,  1095,  3300,
   382,-32768,  1742,-32768,-32768,   949,  1096,   954,  1097,  1099,
  1101,  2386,  2386,-32768,-32768,  1102,  1742,  1742,   977,  1742,
  2703,   601,  6354,  2386,-32768,-32768,   235,  6423,  2386,  2386,
  1742,   969,   706,  6423,  1742,  1106,  1105,  1107,  2443,-32768,
  1108,  1110,-32768,   976,-32768,  1111,  2386,-32768,     8,    42,
-32768,-32768,  2386,-32768,-32768,-32768,  2458,  2473,  1113,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,  2488,  1117,   985,-32768,
  2386,-32768,   974,   384,-32768,   988,   387,-32768,   991,   389,
-32768,  1004,  1005,  2386,  1011,-32768,-32768,-32768,-32768,  4262,
  4284,    68,   254,   710,  1006,  1043,  2386,-32768,  2386,-32768,
-32768,  4306,-32768,  2386,  4328,  4350,-32768,  1742,  2386,  1120,
  1123,  1001,-32768,-32768,-32768,    16,-32768,  1045,-32768,  4372,
-32768,-32768,  4394,-32768,-32768,-32768,-32768,-32768,   526,  3174,
-32768,  2040,    76,  2040,    76,  2040,    76,-32768,  3324,  1742,
  2386,  2386,  1060,-32768,-32768,  1742,  2386,  3348,  3372,  1742,
  1028,  6423,  2386,  2386,   729,  6423,-32768,-32768,-32768,  1140,
-32768,  2386,  1142,  1016,  2386,-32768,  3396,   402,    37,  3420,
   426,    41,  3444,   436,    48,  3123,  1029,   732,  3468,  3492,
  1031,  1034,  2503,-32768,-32768,  1033,  2386,  6377,  4416,  1160,
-32768,  4438,  1036,-32768,  3516,  1163,  2386,  1169,  1170,  2386,
  1171,  1173,  2386,  1174,-32768,    76,-32768,  1742,  1176,  1178,
  1179,  1742,  1742,-32768,  1180,   736,-32768,  2386,-32768,  2386,
  1182,-32768,-32768,  1049,  3540,-32768,-32768,  1050,  3564,-32768,
-32768,  1051,  3588,-32768,   185,  3144,  1052,-32768,-32768,-32768,
  1055,  1054,-32768,  1185,  1057,  6400,  3612,  1063,    76,  1189,
    76,  1191,    76,  1192,-32768,-32768,    76,  1196,  1742,  1124,
-32768,   407,-32768,  1199,  1206,   219,-32768,  1069,   221,-32768,
  1098,   259,-32768,  1100,   276,-32768,  1103,  1109,   749,-32768,
  1112,-32768,  1114,  1230,    76,  1232,    76,  1234,    76,-32768,
  1156,  2386,   407,  1236,   407,  1239,-32768,   282,-32768,   298,
-32768,   313,  1116,  4460,-32768,-32768,   756,-32768,-32768,  1240,
  1241,  1243,  2386,  2386,   407,  1244,-32768,-32768,-32768,  4482,
  3636,-32768,-32768,  2386,  1246,  3660,-32768,  1247,-32768,  1257,
  1261,-32768
};

static const short yypgoto[] = {-32768,
-32768,-32768,   516,-32768,-32768,   716,-32768,   194,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,  -268,     2,-32768,  1268,     5,  -329,  -175,    10,-32768,
-32768,-32768,-32768,-32768,  1270,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,  -604,  -708,-32768,
-32768,-32768,    -4,-32768,   234,-32768,   291,  -865,   366,   -99,
  -195,  -586,   432,-32768,    -2
};


#define	YYLAST		6554


static const short yytable[] = {   121,
   437,   348,   548,   195,   353,   120,    58,   505,   855,   626,
   548,    59,   432,  1011,   176,   207,   190,   144,   179,   192,
   212,   621,   141,   202,   361,   125,   214,   372,   215,   374,
   202,   269,   302,   731,   856,   740,   679,   850,   350,     3,
   351,   983,   984,   680,   858,   163,   164,  1012,   204,   206,
   334,   335,    97,    98,    99,   100,   165,   124,   101,    97,
    98,    99,   100,   166,   786,   101,   424,   202,   336,   787,
   362,   434,    72,   139,   549,   550,   551,   552,   553,   895,
   857,   147,   549,   550,   551,   552,   553,   681,   684,   683,
   859,   127,   113,   114,   682,   140,    97,    98,    99,   100,
   703,   466,   101,   191,   786,   262,   263,   264,   786,   787,
   265,   268,   433,   787,   273,   786,   270,   271,   732,   733,
   787,   293,   627,   334,   335,   263,   298,   301,   334,   335,
   183,   196,  1045,   184,   306,   307,   894,   309,   554,   113,
   114,   313,   314,   786,   316,   208,   817,   209,   787,   177,
   627,   845,   210,   180,   193,   213,   622,   203,   126,   148,
   332,   333,   334,   335,   205,   150,   615,   302,   352,   333,
   512,   146,   106,   107,   108,   109,  1088,   147,   334,   335,
  1091,   334,   335,   359,   360,   149,   363,  1094,   365,   151,
   536,   368,   369,   113,   114,    72,   337,   302,   884,   907,
   885,   614,   216,   377,   217,   152,   908,   436,   156,   382,
   383,   384,   385,   386,   387,   388,   389,   390,   391,   392,
   393,   394,   395,   396,   397,   398,   399,   400,   401,   402,
   403,   404,   405,   406,   407,   408,   409,   410,   411,   412,
   413,   414,   415,   416,   417,   418,   419,   420,   421,   422,
   423,   161,   786,   425,   426,   427,   428,   787,   167,   169,
   935,   175,   301,   629,   458,   218,   631,   219,   162,   459,
   438,   443,   444,   445,   446,   447,   448,   449,   450,   451,
   452,   453,   454,   455,   456,   457,   786,   839,   786,   463,
   464,   787,   301,   787,   263,   106,   107,   108,   109,   470,
   220,   171,   221,   474,   172,   173,   478,   106,   107,   108,
   109,   170,   484,   485,   486,   178,   488,   489,   490,   491,
   492,   493,   494,   181,  1145,   605,   786,   746,   113,   114,
   606,   787,   468,   185,   507,   508,   509,   262,   263,   510,
   501,   501,   513,   786,   182,   504,   504,   523,   787,   786,
   895,   527,   528,   895,   787,   186,   895,   532,  1174,   302,
  1176,   222,   302,   223,   835,   786,   540,   993,   639,   468,
   787,   543,   994,   137,   546,   188,   143,   145,   187,   545,
   786,   163,   164,   334,   335,   787,  1034,   106,   107,   108,
   109,   921,   165,   153,   154,   329,   155,   331,  1178,   174,
   886,   189,   887,   338,   197,   334,   335,   345,   113,   114,
   725,   202,   334,   335,   198,  1180,   895,   199,  1059,  1050,
  1062,  1200,  1065,   346,   200,   463,   334,   335,   224,   888,
   225,   889,   618,   617,   334,   335,   616,  1201,   202,   749,
    97,    98,    99,   100,   547,   380,   101,   895,   334,   335,
   895,   496,  1202,   895,   301,   630,   895,   301,   334,   335,
   463,   838,   840,   638,   201,   506,   641,    97,    98,    99,
   100,   646,   647,   101,   649,   511,   226,   652,   227,   895,
   256,   895,   657,   895,   792,   257,   794,   795,   796,   520,
   521,  1125,   667,   668,   334,   335,   258,   334,   335,   113,
   114,   671,   334,   335,   334,   335,   302,   334,   335,   334,
   335,   778,   259,   315,   785,   468,   685,   469,   320,   974,
   272,  1022,   334,   335,  1024,   157,  1026,   260,   158,   159,
   697,   160,   699,   700,  1156,   302,  1159,   274,  1162,  1087,
   305,   705,  1165,   349,   295,   704,   334,   335,   354,   355,
   228,   291,   229,   963,   869,   870,   334,   335,   113,   114,
   292,   113,   114,  1090,   294,   310,   209,   499,   500,   703,
  1188,   210,  1190,  1093,  1192,   230,   331,   231,   715,   716,
   302,   308,   302,   302,   302,   311,    24,    25,    26,    27,
   312,    29,   717,   718,   719,   720,   721,   722,   723,    35,
    36,   301,   878,   879,   726,   727,   113,   114,   989,   232,
   734,   233,   430,   317,   209,   113,   114,   318,   319,   210,
   743,   465,   234,   209,   235,   745,   323,   236,   210,   237,
   301,   321,   238,   704,   239,   751,    69,   261,   240,   242,
   241,   243,    73,    74,    75,    76,    77,    78,    79,    80,
    81,    82,    83,    84,    85,    86,    87,    88,    89,    90,
    91,    92,    93,    94,    95,    96,   244,   246,   245,   247,
   248,   250,   249,   251,   791,   301,   793,   301,   301,   301,
   322,   324,   799,   800,   252,   254,   253,   255,   805,  1054,
   325,   278,   279,   280,   326,   281,   282,   283,   284,   285,
   286,   287,   288,   289,   819,   820,   327,   328,   824,   290,
   339,   276,   277,   278,   279,   280,   811,   281,   282,   283,
   284,   285,   286,   287,   288,   289,   476,   340,   477,   666,
   341,   290,   841,   603,   846,   604,   102,   103,   104,   105,
   990,   468,   852,   613,   675,   347,   285,   286,   287,   288,
   289,   468,   356,   636,   110,   111,   290,   357,   358,   865,
   112,   287,   288,   289,   468,   115,   748,   364,   266,   290,
   118,   366,   267,   880,   881,   882,   949,   847,   950,   848,
   890,   276,   277,   278,   279,   280,   367,   281,   282,   283,
   284,   285,   286,   287,   288,   289,   370,   611,   612,   371,
   468,   290,   854,   373,   911,   912,   913,   468,   961,   897,
   962,   768,   468,   918,   899,   468,   915,   900,   924,   276,
   277,   278,   279,   280,   375,   281,   282,   283,   284,   285,
   286,   287,   288,   289,   275,   929,   928,   378,   468,   290,
   901,   812,   921,   999,   922,  1000,   376,   921,   936,  1035,
   279,   280,  1066,   281,   282,   283,   284,   285,   286,   287,
   288,   289,   769,   379,   947,   948,   921,   290,  1080,  1098,
   750,  1099,   429,   999,   957,  1134,   958,   281,   282,   283,
   284,   285,   286,   287,   288,   289,  1183,   501,  1184,   290,
   439,   290,   504,  1205,   440,  1206,   441,   980,   981,   471,
   479,   482,   487,   495,   522,   782,   783,   784,   525,   992,
   526,   531,   534,   537,   995,   996,   276,   277,   278,   279,
   280,  1126,   281,   282,   283,   284,   285,   286,   287,   288,
   289,   607,  1010,   608,   609,   619,   290,   610,  1013,   276,
   277,   278,   279,   280,   620,   281,   282,   283,   284,   285,
   286,   287,   288,   289,   624,   637,  1020,   642,   643,   290,
   645,   650,   442,   665,   651,   653,   669,   691,   687,  1029,
   670,   688,   692,   693,   695,   696,   709,   710,   713,   711,
   714,   724,  1038,   730,  1039,   728,   729,   735,   736,  1042,
   738,   739,   742,   744,  1046,   755,   759,   764,   765,   766,
   767,   770,   771,   772,   773,   774,   775,   753,   754,   776,
   756,   777,   790,   808,   798,   761,   762,  1057,   891,  1060,
   801,  1063,   802,   501,   806,   813,  1069,  1070,   504,   814,
   815,   816,  1073,   834,   818,   823,   843,   836,  1078,  1079,
   849,   842,   853,   861,   863,   737,   864,  1082,   883,   892,
  1085,   893,   904,   905,   910,   914,   803,   804,   916,   926,
   807,   930,   931,   933,   985,   938,   941,   276,   277,   278,
   279,   280,   924,   281,   282,   283,   284,   285,   286,   287,
   288,   289,  1115,   942,   944,  1119,   945,   290,  1123,   946,
   939,   951,   940,   952,   953,   954,   955,   956,   965,   968,
   971,   976,   977,  1136,   978,  1137,   979,   998,   982,  1002,
  1003,  1008,  1004,  1021,  1006,  1007,  1009,   964,  1016,   967,
   860,   970,  1018,  1019,   862,  1047,  1023,  1037,  1048,  1025,
   866,   867,   868,  1049,  1051,   871,   872,   873,   874,   875,
   876,   877,  1027,  1028,  1036,  1081,  1083,  1071,  1030,  1170,
   276,   277,   278,   279,   280,  1084,   281,   282,   283,   284,
   285,   286,   287,   288,   289,  1109,  1077,  1097,  1113,  1102,
   290,  1103,  1105,  1111,  1116,  1117,  1120,  1194,  1121,  1124,
  1195,  1128,  1198,  1129,  1130,  1133,  1138,  1139,  1141,  1143,
  1151,  1148,  1149,  1150,  1157,  1152,  1160,  1163,  1210,  1211,
  1155,  1166,  1212,   927,  1172,    69,   128,  1175,  1168,  1216,
  1173,    73,    74,    75,    76,    77,    78,    79,    80,    81,
    82,    83,    84,    85,    86,    87,    88,    89,    90,    91,
    92,    93,    94,    95,    96,  1187,  1177,  1189,  1179,  1191,
  1193,  1196,  1181,   129,  1199,  1207,  1208,  1182,  1209,  1213,
  1185,  1217,  1219,  1186,  1203,  1058,  1221,  1061,   975,  1064,
  1222,   851,   707,    24,    25,    26,    27,    28,    29,    57,
  1106,    65,  1033,     0,   932,   986,    35,    36,     0,     0,
     0,     0,     0,     0,     0,     0,   997,     0,     0,     0,
  1001,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,   102,   103,   104,   105,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,   752,
     0,     0,     0,   110,   299,     0,     0,     0,     0,   112,
     0,     0,     0,     0,   115,     0,     0,     0,     0,   118,
     0,     0,   300,     0,     0,     0,     0,     0,     0,     0,
     0,    69,   128,     0,     0,     0,     0,    73,    74,    75,
    76,    77,    78,    79,    80,    81,    82,    83,    84,    85,
    86,    87,    88,    89,    90,    91,    92,    93,    94,    95,
    96,     0,     0,     0,     0,     0,     0,     0,     0,   129,
     0,     0,     0,     0,     0,  1068,     0,     0,     0,     0,
     0,  1072,     0,     0,     0,  1076,     0,     0,     0,    24,
    25,    26,    27,    28,    29,   141,     0,     0,     0,     0,
     0,     0,    35,    36,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,     0,     0,
   757,   102,   103,   104,   105,     0,     0,     0,     0,     0,
     0,     0,     0,  1127,     0,     0,     0,  1131,  1132,   110,
   130,     0,     0,     0,     0,   112,     0,     0,     0,     0,
   142,     0,    69,   128,     0,   118,     0,   132,    73,    74,
    75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
    85,    86,    87,    88,    89,    90,    91,    92,    93,    94,
    95,    96,     0,     0,  1167,   276,   277,   278,   279,   280,
   129,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,     0,     0,   435,
    24,    25,    26,    27,    28,    29,   144,     0,     0,     0,
     0,     0,     0,    35,    36,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,     0,     0,     0,
     0,   758,   102,   103,   104,   105,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   110,   130,     0,     0,     0,     0,   112,     0,     0,     0,
     0,   115,     0,    69,   128,     0,   118,     0,   132,    73,
    74,    75,    76,    77,    78,    79,    80,    81,    82,    83,
    84,    85,    86,    87,    88,    89,    90,    91,    92,    93,
    94,    95,    96,     0,     0,     0,   276,   277,   278,   279,
   280,   129,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
   544,    24,    25,    26,    27,    28,    29,     0,     0,     0,
     0,     0,     0,     0,    35,    36,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
     0,     0,     0,   102,   103,   104,   105,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,   110,   130,     0,     0,     0,     0,   112,     0,     0,
     0,     0,   131,     0,    69,   128,     0,   118,     0,   132,
    73,    74,    75,    76,    77,    78,    79,    80,    81,    82,
    83,    84,    85,    86,    87,    88,    89,    90,    91,    92,
    93,    94,    95,    96,     0,     0,     0,   276,   277,   278,
   279,   280,   129,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,     0,
     0,   562,    24,    25,    26,    27,    28,    29,     0,     0,
     0,    69,   261,     0,     0,    35,    36,    73,    74,    75,
    76,    77,    78,    79,    80,    81,    82,    83,    84,    85,
    86,    87,    88,    89,    90,    91,    92,    93,    94,    95,
    96,     0,     0,   760,   102,   103,   104,   105,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,   110,   130,     0,     0,     0,     0,   112,     0,
     0,     0,     0,   115,     0,    69,   261,     0,   118,     0,
   132,    73,    74,    75,    76,    77,    78,    79,    80,    81,
    82,    83,    84,    85,    86,    87,    88,    89,    90,    91,
    92,    93,    94,    95,    96,     0,     0,     0,     0,     0,
     0,   102,   103,   104,   105,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,   110,
   111,     0,     0,     0,     0,   112,     0,     0,     0,     0,
   115,     0,     0,   461,     0,   118,     0,   462,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,   763,   290,     0,
     0,     0,     0,     0,     0,   102,   103,   104,   105,     0,
     0,     0,   797,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   110,   111,     0,     0,     0,     0,   112,
     0,     0,     0,     0,   115,     0,     0,   634,     0,   118,
     0,   635,    69,   296,     0,     0,     0,     0,    73,    74,
    75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
    85,    86,    87,    88,    89,    90,    91,    92,    93,    94,
    95,    96,    69,   261,     0,     0,     0,     0,    73,    74,
    75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
    85,    86,    87,    88,    89,    90,    91,    92,    93,    94,
    95,    96,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,   276,   277,   278,
   279,   280,   290,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,     0,
     0,     0,   102,   103,   104,   105,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   110,   111,     0,     0,     0,     0,   112,     0,     0,     0,
     0,   115,   102,   103,   104,   105,   118,     0,   297,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   342,   343,     0,     0,     0,     0,   112,     0,     0,     0,
     0,   344,     0,    69,    70,    71,   118,    72,   166,    73,
    74,    75,    76,    77,    78,    79,    80,    81,    82,    83,
    84,    85,    86,    87,    88,    89,    90,    91,    92,    93,
    94,    95,    96,   844,    97,    98,    99,   100,     0,     0,
   101,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,    69,   128,     0,     0,     0,     0,    73,
    74,    75,    76,    77,    78,    79,    80,    81,    82,    83,
    84,    85,    86,    87,    88,    89,    90,    91,    92,    93,
    94,    95,    96,     0,     0,     0,     0,     0,     0,     0,
     0,   129,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   102,   103,   104,   105,   106,   107,   108,
   109,    24,    25,    26,    27,    28,    29,     0,     0,     0,
     0,   110,   111,     0,    35,    36,     0,   112,   113,   114,
     0,     0,   115,     0,   116,     0,   117,   118,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,   102,   103,   104,   105,     0,   290,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,   110,   299,     0,     0,     0,     0,   112,     0,     0,
     0,     0,   115,    69,   261,   202,     0,   118,     0,    73,
    74,    75,    76,    77,    78,    79,    80,    81,    82,    83,
    84,    85,    86,    87,    88,    89,    90,    91,    92,    93,
    94,    95,    96,     0,    97,    98,    99,   100,    69,   261,
   101,     0,     0,     0,    73,    74,    75,    76,    77,    78,
    79,    80,    81,    82,    83,    84,    85,    86,    87,    88,
    89,    90,    91,    92,    93,    94,    95,    96,    69,   296,
     0,     0,     0,     0,    73,    74,    75,    76,    77,    78,
    79,    80,    81,    82,    83,    84,    85,    86,    87,    88,
    89,    90,    91,    92,    93,    94,    95,    96,  1005,     0,
     0,     0,     0,   102,   103,   104,   105,     0,     0,     0,
     0,     0,     0,  1014,     0,     0,     0,     0,     0,     0,
     0,   110,   111,     0,     0,     0,     0,   112,  1015,     0,
     0,     0,   115,     0,     0,     0,     0,   118,   102,   103,
   104,   105,     0,  1017,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,   110,   111,  1104,     0,
     0,     0,   112,     0,     0,     0,     0,   115,   102,   103,
   104,   105,   118,     0,     0,   304,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,   110,   111,     0,     0,
   538,     0,   112,     0,     0,     0,     0,   115,     0,     0,
     0,     0,   118,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,   276,   277,
   278,   279,   280,   290,   281,   282,   283,   284,   285,   286,
   287,   288,   289,   276,   277,   278,   279,   280,   290,   281,
   282,   283,   284,   285,   286,   287,   288,   289,   276,   277,
   278,   279,   280,   290,   281,   282,   283,   284,   285,   286,
   287,   288,   289,   276,   277,   278,   279,   280,   290,   281,
   282,   283,   284,   285,   286,   287,   288,   289,   276,   277,
   278,   279,   280,   290,   281,   282,   283,   284,   285,   286,
   287,   288,   289,   276,   277,   278,   279,   280,   290,   281,
   282,   283,   284,   285,   286,   287,   288,   289,   625,     0,
     4,     0,     0,   290,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   640,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   810,     5,
     0,     0,     0,     0,     6,     7,     0,     8,     9,    10,
    11,    12,    13,    14,    15,     0,    16,    17,    18,    19,
    20,    21,    22,     0,     0,     0,    23,    24,    25,    26,
    27,    28,    29,     0,    30,    31,    32,    33,    34,     0,
    35,    36,     0,     0,     0,     0,     0,    37,    38,    39,
    40,     0,     0,     0,     0,    41,     0,    42,     0,    43,
    44,    45,    46,    47,    48,    49,    50,    51,    52,     0,
     0,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,   276,   277,   278,   279,
   280,   290,   281,   282,   283,   284,   285,   286,   287,   288,
   289,   276,   277,   278,   279,   280,   290,   281,   282,   283,
   284,   285,   286,   287,   288,   289,    -3,     1,     0,     0,
    -3,   290,     0,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,     0,     0,     0,     0,    -3,
   987,     0,   988,     0,    -3,    -3,     0,    -3,    -3,    -3,
    -3,    -3,    -3,    -3,    -3,     0,    -3,    -3,    -3,    -3,
    -3,    -3,    -3,     0,     0,     0,    -3,    -3,    -3,    -3,
    -3,    -3,    -3,     0,    -3,    -3,    -3,    -3,    -3,     0,
    -3,    -3,     0,     0,     0,     0,     0,    -3,    -3,    -3,
    -3,     0,     0,     0,     0,    -3,     0,    -3,     0,    -3,
    -3,    -3,    -3,    -3,    -3,    -3,    -3,    -3,    -3,   514,
     9,    10,   515,   516,    13,   517,    15,     0,    16,     0,
    18,    19,     0,    21,    22,     0,     0,     0,     0,     0,
   514,     9,    10,   515,   516,    13,   517,    15,     0,    16,
    34,    18,    19,     0,    21,    22,     0,     0,     0,     0,
    38,    39,    40,     0,     0,     0,     0,     0,     0,     0,
     0,    34,     0,     0,     0,     0,     0,     0,    50,     0,
     0,    38,    39,    40,     0,     0,   514,     9,    10,   515,
   516,    13,   517,    15,     0,    16,     0,    18,    19,    50,
    21,    22,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,    34,   518,     0,
     0,     0,   290,     0,     0,     0,     0,    38,    39,    40,
     0,   633,     0,     0,     0,     0,     0,     0,     0,   524,
     0,     0,     0,     0,     0,    50,   514,     9,    10,   515,
   516,    13,   517,    15,     0,    16,     0,    18,    19,     0,
    21,    22,     0,     0,     0,     0,     0,   514,     9,    10,
   515,   516,    13,   517,    15,     0,    16,    34,    18,    19,
     0,    21,    22,     0,     0,   541,     0,    38,    39,    40,
     0,     0,     0,     0,     0,     0,     0,     0,    34,     0,
     0,     0,     0,     0,     0,    50,     0,     0,    38,    39,
    40,     0,     0,   514,     9,    10,   515,   516,    13,   517,
    15,     0,    16,     0,    18,    19,    50,    21,    22,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,    34,   542,     0,     0,     0,   290,
     0,     0,     0,     0,    38,    39,    40,     0,   654,     0,
     0,     0,     0,     0,     0,     0,   676,     0,     0,     0,
     0,     0,    50,   514,     9,    10,   515,   516,    13,   517,
    15,     0,    16,     0,    18,    19,     0,    21,    22,     0,
     0,     0,     0,     0,   514,     9,    10,   515,   516,    13,
   517,    15,     0,    16,    34,    18,    19,     0,    21,    22,
     0,     0,   698,     0,    38,    39,    40,     0,     0,     0,
     0,     0,     0,     0,     0,    34,     0,     0,     0,     0,
     0,     0,    50,     0,     0,    38,    39,    40,     0,     0,
   514,     9,    10,   515,   516,    13,   517,    15,     0,    16,
     0,    18,    19,    50,    21,    22,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,    34,  1095,     0,     0,     0,   290,     0,     0,     0,
     0,    38,    39,    40,     0,   658,     0,     0,     0,     0,
     0,     0,     0,  1146,   276,   277,   278,   279,   280,    50,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,     0,     0,
     0,  1055,     0,  1056,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   276,   277,
   278,   279,   280,   659,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
     0,     0,   276,   277,   278,   279,   280,   706,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,     0,     0,   276,   277,   278,   279,
   280,   781,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
   276,   277,   278,   279,   280,   959,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,     0,     0,   276,   277,   278,   279,   280,   973,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   276,   277,
   278,   279,   280,  1067,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
     0,     0,   276,   277,   278,   279,   280,  1074,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,     0,     0,   276,   277,   278,   279,
   280,  1075,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
   276,   277,   278,   279,   280,  1086,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,     0,     0,   276,   277,   278,   279,   280,  1089,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   276,   277,
   278,   279,   280,  1092,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
     0,     0,   276,   277,   278,   279,   280,  1100,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,     0,     0,   276,   277,   278,   279,
   280,  1101,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
   276,   277,   278,   279,   280,  1112,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,     0,     0,   276,   277,   278,   279,   280,  1140,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   276,   277,
   278,   279,   280,  1142,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
     0,     0,   276,   277,   278,   279,   280,  1144,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,     0,     0,   276,   277,   278,   279,
   280,  1154,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,     0,     0,
   276,   277,   278,   279,   280,  1215,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,     0,     0,   276,   277,   278,   279,   280,  1218,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   431,     0,     0,     0,
     0,   497,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,   460,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,   497,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,   498,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,   535,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,   583,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,   584,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,   597,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,   598,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,   599,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,   600,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,   601,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,   602,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,   672,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,   673,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,   674,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,   747,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,   779,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,   780,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,   809,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,   902,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,   903,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,   919,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,   920,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,   937,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,   943,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,  1031,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,  1032,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,  1040,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,  1043,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,  1044,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,  1052,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   276,   277,   278,   279,
   280,  1053,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   276,   277,
   278,   279,   280,  1108,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   276,   277,   278,   279,   280,  1110,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   276,   277,   278,   279,   280,  1204,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   276,   277,   278,   279,   280,  1214,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   564,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   566,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   568,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   570,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   572,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   574,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   576,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   578,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   580,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   582,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   586,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   588,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   590,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   592,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   594,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   596,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   632,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   678,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   686,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   689,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   690,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   702,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   826,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   828,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   830,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   832,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,     0,     0,   833,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,     0,     0,   934,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   431,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,   467,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   472,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,   473,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   475,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,   480,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   481,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,   483,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   529,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,     0,     0,     0,     0,
     0,   290,     0,   530,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   533,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,   539,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   561,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,   563,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   565,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,   567,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   569,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,   571,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   573,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,     0,     0,     0,     0,
     0,   290,     0,   575,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   577,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,   579,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   581,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,   585,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   587,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,   589,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   591,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,   593,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   595,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,     0,     0,     0,     0,
     0,   290,     0,   644,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   648,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,   655,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   656,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,   660,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   661,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,   662,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   663,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,   664,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   694,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,     0,     0,     0,     0,
     0,   290,     0,   701,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   825,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,   827,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,   829,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290,     0,   831,   276,   277,   278,   279,
   280,     0,   281,   282,   283,   284,   285,   286,   287,   288,
   289,     0,     0,     0,     0,     0,   290,     0,   837,   276,
   277,   278,   279,   280,     0,   281,   282,   283,   284,   285,
   286,   287,   288,   289,     0,     0,     0,     0,     0,   290,
     0,   896,   276,   277,   278,   279,   280,     0,   281,   282,
   283,   284,   285,   286,   287,   288,   289,     0,     0,     0,
     0,     0,   290,     0,   898,   276,   277,   278,   279,   280,
     0,   281,   282,   283,   284,   285,   286,   287,   288,   289,
     0,     0,     0,     0,     0,   290,     0,   906,   276,   277,
   278,   279,   280,     0,   281,   282,   283,   284,   285,   286,
   287,   288,   289,     0,     0,     0,     0,     0,   290,     0,
   925,   276,   277,   278,   279,   280,     0,   281,   282,   283,
   284,   285,   286,   287,   288,   289,     0,     0,     0,     0,
     0,   290,     0,   960,   276,   277,   278,   279,   280,     0,
   281,   282,   283,   284,   285,   286,   287,   288,   289,     0,
     0,     0,     0,     0,   290,     0,   991,   276,   277,   278,
   279,   280,     0,   281,   282,   283,   284,   285,   286,   287,
   288,   289,     0,     0,     0,     0,     0,   290,     0,  1107,
   276,   277,   278,   279,   280,     0,   281,   282,   283,   284,
   285,   286,   287,   288,   289,     0,     0,     0,     0,     0,
   290,     0,  1153,   276,   277,   278,   279,   280,     0,   281,
   282,   283,   284,   285,   286,   287,   288,   289,     0,     0,
     0,     0,     0,   290
};

static const short yycheck[] = {     4,
   269,   177,     4,     4,   180,     4,     2,   337,     6,     6,
     4,     2,     7,     6,     4,     4,    45,    67,     4,     4,
     4,     4,    67,     5,    86,     6,   132,   203,   134,   205,
     5,     4,   132,     4,     6,   622,   132,     6,     4,     6,
     6,   907,   908,   139,     6,   121,   122,     6,    51,    52,
   121,   122,    34,    35,    36,    37,   132,   132,    40,    34,
    35,    36,    37,   139,    68,    40,     4,     5,   139,    73,
   132,   267,     7,   132,    76,    77,    78,    79,    80,   788,
    52,   132,    76,    77,    78,    79,    80,   132,   139,   139,
    52,     6,   128,   129,   139,   132,    34,    35,    36,    37,
   136,   297,    40,   132,    68,   110,   111,   112,    68,    73,
   115,   116,   107,    73,   119,    68,    89,    90,    89,    90,
    73,   126,   119,   121,   122,   130,   131,   132,   121,   122,
    41,   132,   998,    44,   139,   140,   140,   142,   140,   128,
   129,   146,   147,    68,   149,   134,   140,   136,    73,   139,
   119,   738,   141,   139,   139,   139,   139,   139,   139,    49,
   165,   166,   121,   122,   139,    45,   435,   267,   134,   174,
   346,   132,   107,   108,   109,   110,   140,   132,   121,   122,
   140,   121,   122,   188,   189,   132,   191,   140,   193,    45,
   366,   196,   197,   128,   129,     7,   139,   297,   138,   132,
   140,   136,   132,   208,   134,    45,   139,     7,    47,   214,
   215,   216,   217,   218,   219,   220,   221,   222,   223,   224,
   225,   226,   227,   228,   229,   230,   231,   232,   233,   234,
   235,   236,   237,   238,   239,   240,   241,   242,   243,   244,
   245,   246,   247,   248,   249,   250,   251,   252,   253,   254,
   255,   132,    68,   256,   257,   258,   259,    73,    25,    26,
   847,    28,   267,   459,   133,   132,   462,   134,   139,   138,
   269,   276,   277,   278,   279,   280,   281,   282,   283,   284,
   285,   286,   287,   288,   289,   290,    68,     7,    68,   294,
   295,    73,   297,    73,   299,   107,   108,   109,   110,   304,
   132,    41,   134,   308,    44,    45,   311,   107,   108,   109,
   110,   139,   317,   318,   319,    45,   321,   322,   323,   324,
   325,   326,   327,     6,   140,   133,    68,   133,   128,   129,
   138,    73,   138,     4,   339,   340,   341,   342,   343,   344,
   336,   337,   347,    68,     6,   336,   337,   352,    73,    68,
  1059,   356,   357,  1062,    73,     4,  1065,   362,   140,   459,
   140,   132,   462,   134,   133,    68,   371,   133,   468,   138,
    73,   376,   138,     8,   379,   132,    11,    12,     4,   378,
    68,   121,   122,   121,   122,    73,   133,   107,   108,   109,
   110,   138,   132,    44,    45,   162,    47,   164,   140,   139,
   138,   132,   140,   170,   132,   121,   122,   174,   128,   129,
   606,     5,   121,   122,     6,   140,  1125,     4,  1023,  1006,
  1025,   140,  1027,   139,     4,   430,   121,   122,   132,   138,
   134,   140,   437,   436,   121,   122,   435,   140,     5,   635,
    34,    35,    36,    37,   139,   212,    40,  1156,   121,   122,
  1159,   138,   140,  1162,   459,   460,  1165,   462,   121,   122,
   465,   730,   731,   468,    45,   138,   471,    34,    35,    36,
    37,   476,   477,    40,   479,   138,   132,   482,   134,  1188,
   132,  1190,   487,  1192,   680,   132,   682,   683,   684,     6,
     7,  1096,   497,   498,   121,   122,   132,   121,   122,   128,
   129,   506,   121,   122,   121,   122,   606,   121,   122,   121,
   122,   138,   132,   148,   138,   138,   521,   140,   153,   138,
     4,   138,   121,   122,   138,    41,   138,   132,    44,    45,
   535,    47,   537,   538,  1139,   635,  1141,     6,  1143,   138,
    92,   544,  1147,   178,   139,   544,   121,   122,   183,   184,
   132,     6,   134,   883,    58,    59,   121,   122,   128,   129,
     5,   128,   129,   138,   134,    92,   136,   334,   335,   136,
  1175,   141,  1177,   138,  1179,   132,   343,   134,   583,   584,
   680,   132,   682,   683,   684,   132,    61,    62,    63,    64,
    92,    66,   597,   598,   599,   600,   601,   602,   603,    74,
    75,   606,     6,     7,   607,   610,   128,   129,     8,   132,
   615,   134,   134,   139,   136,   128,   129,   132,   132,   141,
   625,   134,   132,   136,   134,   628,   132,   132,   141,   134,
   635,   139,   132,   632,   134,   640,     3,     4,   132,   132,
   134,   134,     9,    10,    11,    12,    13,    14,    15,    16,
    17,    18,    19,    20,    21,    22,    23,    24,    25,    26,
    27,    28,    29,    30,    31,    32,   132,   132,   134,   134,
   132,   132,   134,   134,   679,   680,   681,   682,   683,   684,
   139,   132,   687,   688,   132,   132,   134,   134,   693,  1019,
   132,   113,   114,   115,   132,   117,   118,   119,   120,   121,
   122,   123,   124,   125,   709,   710,   132,     4,   713,   131,
   139,   111,   112,   113,   114,   115,     8,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    45,   139,    47,   496,
   139,   131,   731,   134,   739,   136,   103,   104,   105,   106,
   140,   138,   747,   140,   511,   134,   121,   122,   123,   124,
   125,   138,   134,   140,   121,   122,   131,   134,     6,   764,
   127,   123,   124,   125,   138,   132,   140,   136,   135,   131,
   137,   139,   139,   778,   779,   780,     4,   138,     6,   140,
   785,   111,   112,   113,   114,   115,    92,   117,   118,   119,
   120,   121,   122,   123,   124,   125,     6,   432,   433,   132,
   138,   131,   140,     6,   809,   810,   811,   138,   138,   140,
   140,     6,   138,   818,   140,   138,   815,   140,   823,   111,
   112,   113,   114,   115,     6,   117,   118,   119,   120,   121,
   122,   123,   124,   125,     6,   840,   839,     4,   138,   131,
   140,   133,   138,   138,   140,   140,   134,   138,   851,   140,
   114,   115,  1028,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    57,   139,   869,   870,   138,   131,   140,   138,
   637,   140,     5,   138,   879,   140,   879,   117,   118,   119,
   120,   121,   122,   123,   124,   125,   138,   883,   140,   131,
   136,   131,   883,   138,     7,   140,   134,   902,   903,    45,
    47,     7,     7,   133,     6,   672,   673,   674,     7,   914,
     7,    87,    89,   139,   919,   920,   111,   112,   113,   114,
   115,  1097,   117,   118,   119,   120,   121,   122,   123,   124,
   125,   138,   937,   133,   133,     6,   131,   138,   943,   111,
   112,   113,   114,   115,     4,   117,   118,   119,   120,   121,
   122,   123,   124,   125,   135,     7,   961,     7,     7,   131,
     7,     7,     6,   136,     7,     7,   140,     7,   139,   974,
   140,   139,     7,   132,     7,   136,   132,   132,   132,   139,
     6,     4,   987,   135,   989,     6,     6,     6,     6,   994,
     7,   134,     6,   119,   999,     7,     7,   139,     7,     7,
     7,     7,     7,     7,     7,     7,     7,   642,   643,     7,
   645,     4,     6,     4,     6,   650,   651,  1022,   785,  1024,
     6,  1026,     6,  1019,     7,     7,  1031,  1032,  1019,     6,
     4,     6,  1037,   133,   132,   139,     7,   133,  1043,  1044,
     6,   136,   135,     6,     6,     6,     6,  1052,   139,     6,
  1055,   139,     6,     6,    88,   139,   691,   692,     6,   136,
   695,     6,     4,     6,    88,   135,     6,   111,   112,   113,
   114,   115,  1077,   117,   118,   119,   120,   121,   122,   123,
   124,   125,  1087,     6,     6,  1090,     6,   131,  1093,     6,
   857,     6,   859,     6,     6,     6,     6,     6,     6,     6,
     6,     6,     6,  1108,     6,  1110,     6,   139,     7,     4,
     6,   136,     6,   140,     7,     6,     6,   884,     6,   886,
   755,   888,     6,   139,   759,     6,   139,    85,     6,   139,
   765,   766,   767,   133,    90,   770,   771,   772,   773,   774,
   775,   776,   139,   139,   139,     6,     5,    88,   138,  1152,
   111,   112,   113,   114,   115,   140,   117,   118,   119,   120,
   121,   122,   123,   124,   125,     6,   139,   139,     6,   139,
   131,   138,   140,   138,     6,     6,     6,  1182,     6,     6,
  1183,     6,  1185,     6,     6,     6,     5,   139,   139,   139,
     6,   140,   138,   140,     6,   139,     6,     6,  1203,  1204,
   138,     6,  1205,   838,     6,     3,     4,   139,    85,  1214,
     5,     9,    10,    11,    12,    13,    14,    15,    16,    17,
    18,    19,    20,    21,    22,    23,    24,    25,    26,    27,
    28,    29,    30,    31,    32,     6,   139,     6,   139,     6,
    85,     6,   140,    41,     6,     6,     6,   139,     6,     6,
   139,     6,     6,   140,   139,  1022,     0,  1024,   893,  1026,
     0,   746,   547,    61,    62,    63,    64,    65,    66,     2,
  1077,     2,   982,    -1,   843,   910,    74,    75,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   921,    -1,    -1,    -1,
   925,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,   103,   104,   105,   106,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,     6,
    -1,    -1,    -1,   121,   122,    -1,    -1,    -1,    -1,   127,
    -1,    -1,    -1,    -1,   132,    -1,    -1,    -1,    -1,   137,
    -1,    -1,   140,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,     3,     4,    -1,    -1,    -1,    -1,     9,    10,    11,
    12,    13,    14,    15,    16,    17,    18,    19,    20,    21,
    22,    23,    24,    25,    26,    27,    28,    29,    30,    31,
    32,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    41,
    -1,    -1,    -1,    -1,    -1,  1030,    -1,    -1,    -1,    -1,
    -1,  1036,    -1,    -1,    -1,  1040,    -1,    -1,    -1,    61,
    62,    63,    64,    65,    66,    67,    -1,    -1,    -1,    -1,
    -1,    -1,    74,    75,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,    -1,    -1,
     6,   103,   104,   105,   106,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,  1098,    -1,    -1,    -1,  1102,  1103,   121,
   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,    -1,    -1,
   132,    -1,     3,     4,    -1,   137,    -1,   139,     9,    10,
    11,    12,    13,    14,    15,    16,    17,    18,    19,    20,
    21,    22,    23,    24,    25,    26,    27,    28,    29,    30,
    31,    32,    -1,    -1,  1149,   111,   112,   113,   114,   115,
    41,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,
    61,    62,    63,    64,    65,    66,    67,    -1,    -1,    -1,
    -1,    -1,    -1,    74,    75,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,    -1,
    -1,     6,   103,   104,   105,   106,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
   121,   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,    -1,
    -1,   132,    -1,     3,     4,    -1,   137,    -1,   139,     9,
    10,    11,    12,    13,    14,    15,    16,    17,    18,    19,
    20,    21,    22,    23,    24,    25,    26,    27,    28,    29,
    30,    31,    32,    -1,    -1,    -1,   111,   112,   113,   114,
   115,    41,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
   135,    61,    62,    63,    64,    65,    66,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    74,    75,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
    -1,    -1,    -1,   103,   104,   105,   106,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,   121,   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,
    -1,    -1,   132,    -1,     3,     4,    -1,   137,    -1,   139,
     9,    10,    11,    12,    13,    14,    15,    16,    17,    18,
    19,    20,    21,    22,    23,    24,    25,    26,    27,    28,
    29,    30,    31,    32,    -1,    -1,    -1,   111,   112,   113,
   114,   115,    41,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,
    -1,   135,    61,    62,    63,    64,    65,    66,    -1,    -1,
    -1,     3,     4,    -1,    -1,    74,    75,     9,    10,    11,
    12,    13,    14,    15,    16,    17,    18,    19,    20,    21,
    22,    23,    24,    25,    26,    27,    28,    29,    30,    31,
    32,    -1,    -1,     6,   103,   104,   105,   106,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   121,   122,    -1,    -1,    -1,    -1,   127,    -1,
    -1,    -1,    -1,   132,    -1,     3,     4,    -1,   137,    -1,
   139,     9,    10,    11,    12,    13,    14,    15,    16,    17,
    18,    19,    20,    21,    22,    23,    24,    25,    26,    27,
    28,    29,    30,    31,    32,    -1,    -1,    -1,    -1,    -1,
    -1,   103,   104,   105,   106,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   121,
   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,    -1,    -1,
   132,    -1,    -1,   135,    -1,   137,    -1,   139,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,     6,   131,    -1,
    -1,    -1,    -1,    -1,    -1,   103,   104,   105,   106,    -1,
    -1,    -1,     6,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,   121,   122,    -1,    -1,    -1,    -1,   127,
    -1,    -1,    -1,    -1,   132,    -1,    -1,   135,    -1,   137,
    -1,   139,     3,     4,    -1,    -1,    -1,    -1,     9,    10,
    11,    12,    13,    14,    15,    16,    17,    18,    19,    20,
    21,    22,    23,    24,    25,    26,    27,    28,    29,    30,
    31,    32,     3,     4,    -1,    -1,    -1,    -1,     9,    10,
    11,    12,    13,    14,    15,    16,    17,    18,    19,    20,
    21,    22,    23,    24,    25,    26,    27,    28,    29,    30,
    31,    32,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,   111,   112,   113,
   114,   115,   131,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,
    -1,    -1,   103,   104,   105,   106,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
   121,   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,    -1,
    -1,   132,   103,   104,   105,   106,   137,    -1,   139,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
   121,   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,    -1,
    -1,   132,    -1,     3,     4,     5,   137,     7,   139,     9,
    10,    11,    12,    13,    14,    15,    16,    17,    18,    19,
    20,    21,    22,    23,    24,    25,    26,    27,    28,    29,
    30,    31,    32,     6,    34,    35,    36,    37,    -1,    -1,
    40,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,     3,     4,    -1,    -1,    -1,    -1,     9,
    10,    11,    12,    13,    14,    15,    16,    17,    18,    19,
    20,    21,    22,    23,    24,    25,    26,    27,    28,    29,
    30,    31,    32,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    41,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,   103,   104,   105,   106,   107,   108,   109,
   110,    61,    62,    63,    64,    65,    66,    -1,    -1,    -1,
    -1,   121,   122,    -1,    74,    75,    -1,   127,   128,   129,
    -1,    -1,   132,    -1,   134,    -1,   136,   137,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,   103,   104,   105,   106,    -1,   131,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,   121,   122,    -1,    -1,    -1,    -1,   127,    -1,    -1,
    -1,    -1,   132,     3,     4,     5,    -1,   137,    -1,     9,
    10,    11,    12,    13,    14,    15,    16,    17,    18,    19,
    20,    21,    22,    23,    24,    25,    26,    27,    28,    29,
    30,    31,    32,    -1,    34,    35,    36,    37,     3,     4,
    40,    -1,    -1,    -1,     9,    10,    11,    12,    13,    14,
    15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
    25,    26,    27,    28,    29,    30,    31,    32,     3,     4,
    -1,    -1,    -1,    -1,     9,    10,    11,    12,    13,    14,
    15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
    25,    26,    27,    28,    29,    30,    31,    32,     6,    -1,
    -1,    -1,    -1,   103,   104,   105,   106,    -1,    -1,    -1,
    -1,    -1,    -1,     6,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,   121,   122,    -1,    -1,    -1,    -1,   127,     6,    -1,
    -1,    -1,   132,    -1,    -1,    -1,    -1,   137,   103,   104,
   105,   106,    -1,     6,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   121,   122,     6,    -1,
    -1,    -1,   127,    -1,    -1,    -1,    -1,   132,   103,   104,
   105,   106,   137,    -1,    -1,     8,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   121,   122,    -1,    -1,
     8,    -1,   127,    -1,    -1,    -1,    -1,   132,    -1,    -1,
    -1,    -1,   137,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,   111,   112,
   113,   114,   115,   131,   117,   118,   119,   120,   121,   122,
   123,   124,   125,   111,   112,   113,   114,   115,   131,   117,
   118,   119,   120,   121,   122,   123,   124,   125,   111,   112,
   113,   114,   115,   131,   117,   118,   119,   120,   121,   122,
   123,   124,   125,   111,   112,   113,   114,   115,   131,   117,
   118,   119,   120,   121,   122,   123,   124,   125,   111,   112,
   113,   114,   115,   131,   117,   118,   119,   120,   121,   122,
   123,   124,   125,   111,   112,   113,   114,   115,   131,   117,
   118,   119,   120,   121,   122,   123,   124,   125,     8,    -1,
     4,    -1,    -1,   131,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,     8,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,     8,    33,
    -1,    -1,    -1,    -1,    38,    39,    -1,    41,    42,    43,
    44,    45,    46,    47,    48,    -1,    50,    51,    52,    53,
    54,    55,    56,    -1,    -1,    -1,    60,    61,    62,    63,
    64,    65,    66,    -1,    68,    69,    70,    71,    72,    -1,
    74,    75,    -1,    -1,    -1,    -1,    -1,    81,    82,    83,
    84,    -1,    -1,    -1,    -1,    89,    -1,    91,    -1,    93,
    94,    95,    96,    97,    98,    99,   100,   101,   102,    -1,
    -1,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,   111,   112,   113,   114,
   115,   131,   117,   118,   119,   120,   121,   122,   123,   124,
   125,   111,   112,   113,   114,   115,   131,   117,   118,   119,
   120,   121,   122,   123,   124,   125,     0,     1,    -1,    -1,
     4,   131,    -1,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,    -1,    -1,    -1,    -1,    33,
   138,    -1,   140,    -1,    38,    39,    -1,    41,    42,    43,
    44,    45,    46,    47,    48,    -1,    50,    51,    52,    53,
    54,    55,    56,    -1,    -1,    -1,    60,    61,    62,    63,
    64,    65,    66,    -1,    68,    69,    70,    71,    72,    -1,
    74,    75,    -1,    -1,    -1,    -1,    -1,    81,    82,    83,
    84,    -1,    -1,    -1,    -1,    89,    -1,    91,    -1,    93,
    94,    95,    96,    97,    98,    99,   100,   101,   102,    41,
    42,    43,    44,    45,    46,    47,    48,    -1,    50,    -1,
    52,    53,    -1,    55,    56,    -1,    -1,    -1,    -1,    -1,
    41,    42,    43,    44,    45,    46,    47,    48,    -1,    50,
    72,    52,    53,    -1,    55,    56,    -1,    -1,    -1,    -1,
    82,    83,    84,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    72,    -1,    -1,    -1,    -1,    -1,    -1,   100,    -1,
    -1,    82,    83,    84,    -1,    -1,    41,    42,    43,    44,
    45,    46,    47,    48,    -1,    50,    -1,    52,    53,   100,
    55,    56,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    72,   140,    -1,
    -1,    -1,   131,    -1,    -1,    -1,    -1,    82,    83,    84,
    -1,   140,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   140,
    -1,    -1,    -1,    -1,    -1,   100,    41,    42,    43,    44,
    45,    46,    47,    48,    -1,    50,    -1,    52,    53,    -1,
    55,    56,    -1,    -1,    -1,    -1,    -1,    41,    42,    43,
    44,    45,    46,    47,    48,    -1,    50,    72,    52,    53,
    -1,    55,    56,    -1,    -1,   140,    -1,    82,    83,    84,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    72,    -1,
    -1,    -1,    -1,    -1,    -1,   100,    -1,    -1,    82,    83,
    84,    -1,    -1,    41,    42,    43,    44,    45,    46,    47,
    48,    -1,    50,    -1,    52,    53,   100,    55,    56,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    72,   140,    -1,    -1,    -1,   131,
    -1,    -1,    -1,    -1,    82,    83,    84,    -1,   140,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   140,    -1,    -1,    -1,
    -1,    -1,   100,    41,    42,    43,    44,    45,    46,    47,
    48,    -1,    50,    -1,    52,    53,    -1,    55,    56,    -1,
    -1,    -1,    -1,    -1,    41,    42,    43,    44,    45,    46,
    47,    48,    -1,    50,    72,    52,    53,    -1,    55,    56,
    -1,    -1,   140,    -1,    82,    83,    84,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    72,    -1,    -1,    -1,    -1,
    -1,    -1,   100,    -1,    -1,    82,    83,    84,    -1,    -1,
    41,    42,    43,    44,    45,    46,    47,    48,    -1,    50,
    -1,    52,    53,   100,    55,    56,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    72,   140,    -1,    -1,    -1,   131,    -1,    -1,    -1,
    -1,    82,    83,    84,    -1,   140,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,   140,   111,   112,   113,   114,   115,   100,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,    -1,    -1,
    -1,   138,    -1,   140,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   111,   112,
   113,   114,   115,   140,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
    -1,    -1,   111,   112,   113,   114,   115,   140,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,    -1,    -1,   111,   112,   113,   114,
   115,   140,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
   111,   112,   113,   114,   115,   140,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,    -1,    -1,   111,   112,   113,   114,   115,   140,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   111,   112,
   113,   114,   115,   140,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
    -1,    -1,   111,   112,   113,   114,   115,   140,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,    -1,    -1,   111,   112,   113,   114,
   115,   140,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
   111,   112,   113,   114,   115,   140,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,    -1,    -1,   111,   112,   113,   114,   115,   140,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   111,   112,
   113,   114,   115,   140,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
    -1,    -1,   111,   112,   113,   114,   115,   140,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,    -1,    -1,   111,   112,   113,   114,
   115,   140,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
   111,   112,   113,   114,   115,   140,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,    -1,    -1,   111,   112,   113,   114,   115,   140,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   111,   112,
   113,   114,   115,   140,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
    -1,    -1,   111,   112,   113,   114,   115,   140,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,    -1,    -1,   111,   112,   113,   114,
   115,   140,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,
   111,   112,   113,   114,   115,   140,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,    -1,    -1,   111,   112,   113,   114,   115,   140,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,    -1,    -1,    -1,
    -1,   138,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   111,   112,   113,   114,
   115,   138,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   111,   112,
   113,   114,   115,   138,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   111,   112,   113,   114,   115,   138,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   111,   112,   113,   114,   115,   138,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   111,   112,   113,   114,   115,   138,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,    -1,    -1,   135,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,    -1,    -1,   135,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,   133,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   133,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,
    -1,   131,    -1,   133,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,   133,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   133,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,
    -1,   131,    -1,   133,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,   133,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   133,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,
    -1,   131,    -1,   133,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,   133,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   133,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,
    -1,   131,    -1,   133,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,
   115,    -1,   117,   118,   119,   120,   121,   122,   123,   124,
   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,
   112,   113,   114,   115,    -1,   117,   118,   119,   120,   121,
   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,
    -1,   133,   111,   112,   113,   114,   115,    -1,   117,   118,
   119,   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,
    -1,    -1,   131,    -1,   133,   111,   112,   113,   114,   115,
    -1,   117,   118,   119,   120,   121,   122,   123,   124,   125,
    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,
   113,   114,   115,    -1,   117,   118,   119,   120,   121,   122,
   123,   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,
   133,   111,   112,   113,   114,   115,    -1,   117,   118,   119,
   120,   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,
    -1,   131,    -1,   133,   111,   112,   113,   114,   115,    -1,
   117,   118,   119,   120,   121,   122,   123,   124,   125,    -1,
    -1,    -1,    -1,    -1,   131,    -1,   133,   111,   112,   113,
   114,   115,    -1,   117,   118,   119,   120,   121,   122,   123,
   124,   125,    -1,    -1,    -1,    -1,    -1,   131,    -1,   133,
   111,   112,   113,   114,   115,    -1,   117,   118,   119,   120,
   121,   122,   123,   124,   125,    -1,    -1,    -1,    -1,    -1,
   131,    -1,   133,   111,   112,   113,   114,   115,    -1,   117,
   118,   119,   120,   121,   122,   123,   124,   125,    -1,    -1,
    -1,    -1,    -1,   131
};
/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
#line 3 "/usr/share/bison.simple"
/* This file comes from bison-1.28.  */

/* Skeleton output parser for bison,
   Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* This is the parser code that is written into each bison parser
  when the %semantic_parser declaration is not specified in the grammar.
  It was written by Richard Stallman by simplifying the hairy parser
  used when %semantic_parser is specified.  */

#ifndef YYSTACK_USE_ALLOCA
#ifdef alloca
#define YYSTACK_USE_ALLOCA
#else /* alloca not defined */
#ifdef __GNUC__
#define YYSTACK_USE_ALLOCA
#define alloca __builtin_alloca
#else /* not GNU C.  */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
#define YYSTACK_USE_ALLOCA
#include <alloca.h>
#else /* not sparc */
/* We think this test detects Watcom and Microsoft C.  */
/* This used to test MSDOS, but that is a bad idea
   since that symbol is in the user namespace.  */
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
#if 0 /* No need for malloc.h, which pollutes the namespace;
	 instead, just don't use alloca.  */
#include <malloc.h>
#endif
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
/* I don't know what this was needed for, but it pollutes the namespace.
   So I turned it off.   rms, 2 May 1997.  */
/* #include <malloc.h>  */
 #pragma alloca
#define YYSTACK_USE_ALLOCA
#else /* not MSDOS, or __TURBOC__, or _AIX */
#if 0
#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
		 and on HPUX 10.  Eventually we can turn this on.  */
#define YYSTACK_USE_ALLOCA
#define alloca __builtin_alloca
#endif /* __hpux */
#endif
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc */
#endif /* not GNU C */
#endif /* alloca not defined */
#endif /* YYSTACK_USE_ALLOCA not defined */

#ifdef YYSTACK_USE_ALLOCA
#define YYSTACK_ALLOC alloca
#else
#define YYSTACK_ALLOC malloc
#endif

/* Note: there must be only one dollar sign in this file.
   It is replaced by the list of actions, each action
   as one case of the switch.  */

#define yyerrok		(yyerrstatus = 0)
#define yyclearin	(yychar = YYEMPTY)
#define YYEMPTY		-2
#define YYEOF		0
#define YYACCEPT	goto yyacceptlab
#define YYABORT 	goto yyabortlab
#define YYERROR		goto yyerrlab1
/* Like YYERROR except do call yyerror.
   This remains here temporarily to ease the
   transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
#define YYFAIL		goto yyerrlab
#define YYRECOVERING()  (!!yyerrstatus)
#define YYBACKUP(token, value) \
do								\
  if (yychar == YYEMPTY && yylen == 1)				\
    { yychar = (token), yylval = (value);			\
      yychar1 = YYTRANSLATE (yychar);				\
      YYPOPSTACK;						\
      goto yybackup;						\
    }								\
  else								\
    { yyerror ("syntax error: cannot back up"); YYERROR; }	\
while (0)

#define YYTERROR	1
#define YYERRCODE	256

#ifndef YYPURE
#define YYLEX		yylex()
#endif

#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif

/* If nonreentrant, generate the variables here */

#ifndef YYPURE

int	yychar;			/*  the lookahead symbol		*/
YYSTYPE	yylval;			/*  the semantic value of the		*/
				/*  lookahead symbol			*/

#ifdef YYLSP_NEEDED
YYLTYPE yylloc;			/*  location data for the lookahead	*/
				/*  symbol				*/
#endif

int yynerrs;			/*  number of parse errors so far       */
#endif  /* not YYPURE */

#if YYDEBUG != 0
int yydebug;			/*  nonzero means print parse trace	*/
/* Since this is uninitialized, it does not stop multiple parsers
   from coexisting.  */
#endif

/*  YYINITDEPTH indicates the initial size of the parser's stacks	*/

#ifndef	YYINITDEPTH
#define YYINITDEPTH 200
#endif

/*  YYMAXDEPTH is the maximum size the stacks can grow to
    (effective only if the built-in stack extension method is used).  */

#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif

/* Define __yy_memcpy.  Note that the size argument
   should be passed with type unsigned int, because that is what the non-GCC
   definitions require.  With GCC, __builtin_memcpy takes an arg
   of type size_t, but it can handle unsigned int.  */

#if __GNUC__ > 1		/* GNU C and GNU C++ define this.  */
#define __yy_memcpy(TO,FROM,COUNT)	__builtin_memcpy(TO,FROM,COUNT)
#else				/* not GNU C or C++ */
#ifndef __cplusplus

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (to, from, count)
     char *to;
     char *from;
     unsigned int count;
{
  register char *f = from;
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#else /* __cplusplus */

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
  register char *t = to;
  register char *f = from;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#endif
#endif

#line 217 "/usr/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 */

/* Prevent warning if -Wstrict-prototypes.  */
#ifdef __GNUC__
#ifdef YYPARSE_PARAM
int yyparse (void *);
#else
int yyparse (void);
#endif
#endif

int
yyparse(YYPARSE_PARAM_ARG)
     YYPARSE_PARAM_DECL
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register YYSTYPE *yyvsp;
  int yyerrstatus;	/*  number of tokens to shift before error messages enabled */
  int yychar1 = 0;		/*  lookahead token as an internal (translated) token number */

  short	yyssa[YYINITDEPTH];	/*  the state stack			*/
  YYSTYPE yyvsa[YYINITDEPTH];	/*  the semantic value stack		*/

  short *yyss = yyssa;		/*  refer to the stacks thru separate pointers */
  YYSTYPE *yyvs = yyvsa;	/*  to allow yyoverflow to reallocate them elsewhere */

#ifdef YYLSP_NEEDED
  YYLTYPE yylsa[YYINITDEPTH];	/*  the location stack			*/
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;

#define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  int yystacksize = YYINITDEPTH;
  int yyfree_stacks = 0;

#ifdef YYPURE
  int yychar;
  YYSTYPE yylval;
  int yynerrs;
#ifdef YYLSP_NEEDED
  YYLTYPE yylloc;
#endif
#endif

  YYSTYPE yyval;		/*  the variable used to return		*/
				/*  semantic values from the action	*/
				/*  routines				*/

  int yylen;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Starting parse\n");
#endif

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY;		/* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */

  yyssp = yyss - 1;
  yyvsp = yyvs;
#ifdef YYLSP_NEEDED
  yylsp = yyls;
#endif

/* Push a new state, which is found in  yystate  .  */
/* In all cases, when you get here, the value and location stacks
   have just been pushed. so pushing a state here evens the stacks.  */
yynewstate:

  *++yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* Give user a chance to reallocate the stack */
      /* Use copies of these so that the &'s don't force the real ones into memory. */
      YYSTYPE *yyvs1 = yyvs;
      short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
      YYLTYPE *yyls1 = yyls;
#endif

      /* Get the current used size of the three stacks, in elements.  */
      int size = yyssp - yyss + 1;

#ifdef yyoverflow
      /* Each stack pointer address is followed by the size of
	 the data in use in that stack, in bytes.  */
#ifdef YYLSP_NEEDED
      /* This used to be a conditional around just the two extra args,
	 but that might be undefined if yyoverflow is a macro.  */
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yyls1, size * sizeof (*yylsp),
		 &yystacksize);
#else
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yystacksize);
#endif

      yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
      yyls = yyls1;
#endif
#else /* no yyoverflow */
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	{
	  yyerror("parser stack overflow");
	  if (yyfree_stacks)
	    {
	      free (yyss);
	      free (yyvs);
#ifdef YYLSP_NEEDED
	      free (yyls);
#endif
	    }
	  return 2;
	}
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;
#ifndef YYSTACK_USE_ALLOCA
      yyfree_stacks = 1;
#endif
      yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
      __yy_memcpy ((char *)yyss, (char *)yyss1,
		   size * (unsigned int) sizeof (*yyssp));
      yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
      __yy_memcpy ((char *)yyvs, (char *)yyvs1,
		   size * (unsigned int) sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
      yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
      __yy_memcpy ((char *)yyls, (char *)yyls1,
		   size * (unsigned int) sizeof (*yylsp));
#endif
#endif /* no yyoverflow */

      yyssp = yyss + size - 1;
      yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
      yylsp = yyls + size - 1;
#endif

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Entering state %d\n", yystate);
#endif

  goto yybackup;
 yybackup:

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* yyresume: */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (yychar == YYEMPTY)
    {
#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Reading a token: ");
#endif
      yychar = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (yychar <= 0)		/* This means end of input. */
    {
      yychar1 = 0;
      yychar = YYEOF;		/* Don't call YYLEX any more */

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Now at end of input.\n");
#endif
    }
  else
    {
      yychar1 = YYTRANSLATE(yychar);

#if YYDEBUG != 0
      if (yydebug)
	{
	  fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise meaning
	     of a token, for further debugging info.  */
#ifdef YYPRINT
	  YYPRINT (stderr, yychar, yylval);
#endif
	  fprintf (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    goto yydefault;

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrlab;

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif

  /* Discard the token being shifted unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  /* count tokens shifted since error; after three, turn off error status.  */
  if (yyerrstatus) yyerrstatus--;

  yystate = yyn;
  goto yynewstate;

/* Do the default action for the current state.  */
yydefault:

  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;

/* Do a reduction.  yyn is the number of a rule to reduce with.  */
yyreduce:
  yylen = yyr2[yyn];
  if (yylen > 0)
    yyval = yyvsp[1-yylen]; /* implement default value of the action */

#if YYDEBUG != 0
  if (yydebug)
    {
      int i;

      fprintf (stderr, "Reducing via rule %d (line %d), ",
	       yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
	fprintf (stderr, "%s ", yytname[yyrhs[i]]);
      fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif


  switch (yyn) {

case 2:
#line 150 "Gmsh.y"
{ yyerrok; return 1; ;
    break;}
case 5:
#line 161 "Gmsh.y"
{ return 1; ;
    break;}
case 6:
#line 162 "Gmsh.y"
{ return 1; ;
    break;}
case 7:
#line 163 "Gmsh.y"
{ return 1; ;
    break;}
case 8:
#line 164 "Gmsh.y"
{ return 1; ;
    break;}
case 9:
#line 165 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 10:
#line 166 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 11:
#line 167 "Gmsh.y"
{ return 1; ;
    break;}
case 12:
#line 168 "Gmsh.y"
{ return 1; ;
    break;}
case 13:
#line 169 "Gmsh.y"
{ return 1; ;
    break;}
case 14:
#line 170 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 15:
#line 171 "Gmsh.y"
{ return 1; ;
    break;}
case 16:
#line 172 "Gmsh.y"
{ return 1; ;
    break;}
case 17:
#line 173 "Gmsh.y"
{ return 1; ;
    break;}
case 18:
#line 174 "Gmsh.y"
{ return 1; ;
    break;}
case 19:
#line 175 "Gmsh.y"
{ return 1; ;
    break;}
case 20:
#line 180 "Gmsh.y"
{
      yyval.c = "w";
    ;
    break;}
case 21:
#line 184 "Gmsh.y"
{
      yyval.c = "a";
    ;
    break;}
case 22:
#line 191 "Gmsh.y"
{
      Msg(DIRECT, yyvsp[-2].c);
      Free(yyvsp[-2].c);
    ;
    break;}
case 23:
#line 196 "Gmsh.y"
{
      char tmpstring[1024];
      FixRelativePath(yyvsp[-1].c, tmpstring);
      FILE *fp = fopen(tmpstring, yyvsp[-2].c);
      if(!fp){
	yymsg(GERROR, "Unable to open file '%s'", tmpstring);
      }
      else{
	fprintf(fp, "%s\n", yyvsp[-4].c);
	fclose(fp);
      }
      Free(yyvsp[-4].c);
      Free(yyvsp[-1].c);
    ;
    break;}
case 24:
#line 211 "Gmsh.y"
{
      char tmpstring[1024];
      int i = PrintListOfDouble(yyvsp[-4].c, yyvsp[-2].l, tmpstring);
      if(i < 0) 
	yymsg(GERROR, "Too few arguments in Printf");
      else if(i > 0)
	yymsg(GERROR, "%d extra argument%s in Printf", i, (i>1)?"s":"");
      else
	Msg(DIRECT, tmpstring);
      Free(yyvsp[-4].c);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 25:
#line 224 "Gmsh.y"
{
      char tmpstring[1024];
      int i = PrintListOfDouble(yyvsp[-6].c, yyvsp[-4].l, tmpstring);
      if(i < 0) 
	yymsg(GERROR, "Too few arguments in Printf");
      else if(i > 0)
	yymsg(GERROR, "%d extra argument%s in Printf", i, (i>1)?"s":"");
      else{
	char tmpstring2[1024];
	FixRelativePath(yyvsp[-1].c, tmpstring2);
	FILE *fp = fopen(tmpstring2, yyvsp[-2].c);
	if(!fp){
	  yymsg(GERROR, "Unable to open file '%s'", tmpstring2);
	}
	else{
	  fprintf(fp, "%s\n", tmpstring);
	  fclose(fp);
	}
      }
      Free(yyvsp[-6].c);
      Free(yyvsp[-1].c);
      List_Delete(yyvsp[-4].l);
    ;
    break;}
case 26:
#line 253 "Gmsh.y"
{ 
      if(!strcmp(yyvsp[-5].c, "View") && !CheckViewErrorFlags(View)){
	EndView(View, 0, yyname, yyvsp[-4].c);
      }
      Free(yyvsp[-5].c); Free(yyvsp[-4].c);
    ;
    break;}
case 27:
#line 260 "Gmsh.y"
{
      if(!strcmp(yyvsp[-7].c, "View") && !CheckViewErrorFlags(View)){
	EndView(View, 0, yyname, yyvsp[-6].c);
      }
      Free(yyvsp[-7].c); Free(yyvsp[-6].c); Free(yyvsp[-5].c);
    ;
    break;}
case 28:
#line 270 "Gmsh.y"
{
      View = BeginView(1); 
      for(int i = 0; i < VIEW_NB_ELEMENT_TYPES; i++){
	ViewErrorFlags[i] = 0;
      }
    ;
    break;}
case 35:
#line 286 "Gmsh.y"
{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ;
    break;}
case 36:
#line 288 "Gmsh.y"
{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ;
    break;}
case 37:
#line 293 "Gmsh.y"
{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ;
    break;}
case 38:
#line 295 "Gmsh.y"
{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ;
    break;}
case 39:
#line 300 "Gmsh.y"
{
      if(!strcmp(yyvsp[0].c, "SP")){
	ViewElementIdx = 0; ViewNumNodes = 1; ViewNumComp = 1;
	ViewValueList = View->SP; ViewNumList = &View->NbSP;
      }
      else if(!strcmp(yyvsp[0].c, "VP")){
	ViewElementIdx = 1; ViewNumNodes = 1; ViewNumComp = 3;
	ViewValueList = View->VP; ViewNumList = &View->NbVP;
      }
      else if(!strcmp(yyvsp[0].c, "TP")){
	ViewElementIdx = 2; ViewNumNodes = 1; ViewNumComp = 9;
	ViewValueList = View->TP; ViewNumList = &View->NbTP;
      }
      else if(!strcmp(yyvsp[0].c, "SL")){
	ViewElementIdx = 3; ViewNumNodes = 2; ViewNumComp = 1;
	ViewValueList = View->SL; ViewNumList = &View->NbSL;
      }
      else if(!strcmp(yyvsp[0].c, "VL")){
	ViewElementIdx = 4; ViewNumNodes = 2; ViewNumComp = 3;
	ViewValueList = View->VL; ViewNumList = &View->NbVL;
      }
      else if(!strcmp(yyvsp[0].c, "TL")){
	ViewElementIdx = 5; ViewNumNodes = 2; ViewNumComp = 9;
	ViewValueList = View->TL; ViewNumList = &View->NbTL;
      }
      else if(!strcmp(yyvsp[0].c, "ST")){
	ViewElementIdx = 6; ViewNumNodes = 3; ViewNumComp = 1;
	ViewValueList = View->ST; ViewNumList = &View->NbST;
      }
      else if(!strcmp(yyvsp[0].c, "VT")){
	ViewElementIdx = 7; ViewNumNodes = 3; ViewNumComp = 3;
	ViewValueList = View->VT; ViewNumList = &View->NbVT;
      }
      else if(!strcmp(yyvsp[0].c, "TT")){
	ViewElementIdx = 8; ViewNumNodes = 3; ViewNumComp = 9;
	ViewValueList = View->TT; ViewNumList = &View->NbTT;
      }
      else if(!strcmp(yyvsp[0].c, "SQ")){
	ViewElementIdx = 9; ViewNumNodes = 4; ViewNumComp = 1;
	ViewValueList = View->SQ; ViewNumList = &View->NbSQ;
      }
      else if(!strcmp(yyvsp[0].c, "VQ")){
	ViewElementIdx = 10; ViewNumNodes = 4; ViewNumComp = 3;
	ViewValueList = View->VQ; ViewNumList = &View->NbVQ;
      }
      else if(!strcmp(yyvsp[0].c, "TQ")){
	ViewElementIdx = 11; ViewNumNodes = 4; ViewNumComp = 9;
	ViewValueList = View->TQ; ViewNumList = &View->NbTQ;
      }
      else if(!strcmp(yyvsp[0].c, "SS")){
	ViewElementIdx = 12; ViewNumNodes = 4; ViewNumComp = 1;
	ViewValueList = View->SS; ViewNumList = &View->NbSS;
      }
      else if(!strcmp(yyvsp[0].c, "VS")){
	ViewElementIdx = 13; ViewNumNodes = 4; ViewNumComp = 3;
	ViewValueList = View->VS; ViewNumList = &View->NbVS;
      }
      else if(!strcmp(yyvsp[0].c, "TS")){
	ViewElementIdx = 14; ViewNumNodes = 4; ViewNumComp = 9;
	ViewValueList = View->TS; ViewNumList = &View->NbTS;
      }
      else if(!strcmp(yyvsp[0].c, "SH")){
	ViewElementIdx = 15; ViewNumNodes = 8; ViewNumComp = 1;
	ViewValueList = View->SH; ViewNumList = &View->NbSH;
      }
      else if(!strcmp(yyvsp[0].c, "VH")){
	ViewElementIdx = 16; ViewNumNodes = 8; ViewNumComp = 3;
	ViewValueList = View->VH; ViewNumList = &View->NbVH;
      }
      else if(!strcmp(yyvsp[0].c, "TH")){
	ViewElementIdx = 17; ViewNumNodes = 8; ViewNumComp = 9;
	ViewValueList = View->TH; ViewNumList = &View->NbTH;
      }
      else if(!strcmp(yyvsp[0].c, "SI")){
	ViewElementIdx = 18; ViewNumNodes = 6; ViewNumComp = 1;
	ViewValueList = View->SI; ViewNumList = &View->NbSI;
      }
      else if(!strcmp(yyvsp[0].c, "VI")){
	ViewElementIdx = 19; ViewNumNodes = 6; ViewNumComp = 3;
	ViewValueList = View->VI; ViewNumList = &View->NbVI;
      }
      else if(!strcmp(yyvsp[0].c, "TI")){
	ViewElementIdx = 20; ViewNumNodes = 6; ViewNumComp = 9;
	ViewValueList = View->TI; ViewNumList = &View->NbTI;
      }
      else if(!strcmp(yyvsp[0].c, "SY")){
	ViewElementIdx = 21; ViewNumNodes = 5; ViewNumComp = 1;
	ViewValueList = View->SY; ViewNumList = &View->NbSY;
      }
      else if(!strcmp(yyvsp[0].c, "VY")){
	ViewElementIdx = 22; ViewNumNodes = 5; ViewNumComp = 3;
	ViewValueList = View->VY; ViewNumList = &View->NbVY;
      }
      else if(!strcmp(yyvsp[0].c, "TY")){
	ViewElementIdx = 23; ViewNumNodes = 5; ViewNumComp = 9;
	ViewValueList = View->TY; ViewNumList = &View->NbTY;
      }
      else if(!strcmp(yyvsp[0].c, "SL2")){
	ViewElementIdx = 3; ViewNumNodes = 3; ViewNumComp = 1;
	ViewValueList = View->SL2; ViewNumList = &View->NbSL2;
      }
      else if(!strcmp(yyvsp[0].c, "VL2")){
	ViewElementIdx = 4; ViewNumNodes = 3; ViewNumComp = 3;
	ViewValueList = View->VL2; ViewNumList = &View->NbVL2;
      }
      else if(!strcmp(yyvsp[0].c, "TL2")){
	ViewElementIdx = 5; ViewNumNodes = 3; ViewNumComp = 9;
	ViewValueList = View->TL2; ViewNumList = &View->NbTL2;
      }
      else if(!strcmp(yyvsp[0].c, "ST2")){
	ViewElementIdx = 6; ViewNumNodes = 6; ViewNumComp = 1;
	ViewValueList = View->ST2; ViewNumList = &View->NbST2;
      }
      else if(!strcmp(yyvsp[0].c, "VT2")){
	ViewElementIdx = 7; ViewNumNodes = 6; ViewNumComp = 3;
	ViewValueList = View->VT2; ViewNumList = &View->NbVT2;
      }
      else if(!strcmp(yyvsp[0].c, "TT2")){
	ViewElementIdx = 8; ViewNumNodes = 6; ViewNumComp = 9;
	ViewValueList = View->TT2; ViewNumList = &View->NbTT2;
      }
      else if(!strcmp(yyvsp[0].c, "SQ2")){
	ViewElementIdx = 9; ViewNumNodes = 9; ViewNumComp = 1;
	ViewValueList = View->SQ2; ViewNumList = &View->NbSQ2;
      }
      else if(!strcmp(yyvsp[0].c, "VQ2")){
	ViewElementIdx = 10; ViewNumNodes = 9; ViewNumComp = 3;
	ViewValueList = View->VQ2; ViewNumList = &View->NbVQ2;
      }
      else if(!strcmp(yyvsp[0].c, "TQ2")){
	ViewElementIdx = 11; ViewNumNodes = 9; ViewNumComp = 9;
	ViewValueList = View->TQ2; ViewNumList = &View->NbTQ2;
      }
      else if(!strcmp(yyvsp[0].c, "SS2")){
	ViewElementIdx = 12; ViewNumNodes = 10; ViewNumComp = 1;
	ViewValueList = View->SS2; ViewNumList = &View->NbSS2;
      }
      else if(!strcmp(yyvsp[0].c, "VS2")){
	ViewElementIdx = 13; ViewNumNodes = 10; ViewNumComp = 3;
	ViewValueList = View->VS2; ViewNumList = &View->NbVS2;
      }
      else if(!strcmp(yyvsp[0].c, "TS2")){
	ViewElementIdx = 14; ViewNumNodes = 10; ViewNumComp = 9;
	ViewValueList = View->TS2; ViewNumList = &View->NbTS2;
      }
      else if(!strcmp(yyvsp[0].c, "SH2")){
	ViewElementIdx = 15; ViewNumNodes = 27; ViewNumComp = 1;
	ViewValueList = View->SH2; ViewNumList = &View->NbSH2;
      }
      else if(!strcmp(yyvsp[0].c, "VH2")){
	ViewElementIdx = 16; ViewNumNodes = 27; ViewNumComp = 3;
	ViewValueList = View->VH2; ViewNumList = &View->NbVH2;
      }
      else if(!strcmp(yyvsp[0].c, "TH2")){
	ViewElementIdx = 17; ViewNumNodes = 27; ViewNumComp = 9;
	ViewValueList = View->TH2; ViewNumList = &View->NbTH2;
      }
      else if(!strcmp(yyvsp[0].c, "SI2")){
	ViewElementIdx = 18; ViewNumNodes = 18; ViewNumComp = 1;
	ViewValueList = View->SI2; ViewNumList = &View->NbSI2;
      }
      else if(!strcmp(yyvsp[0].c, "VI2")){
	ViewElementIdx = 19; ViewNumNodes = 18; ViewNumComp = 3;
	ViewValueList = View->VI2; ViewNumList = &View->NbVI2;
      }
      else if(!strcmp(yyvsp[0].c, "TI2")){
	ViewElementIdx = 20; ViewNumNodes = 18; ViewNumComp = 9;
	ViewValueList = View->TI2; ViewNumList = &View->NbTI2;
      }
      else if(!strcmp(yyvsp[0].c, "SY2")){
	ViewElementIdx = 21; ViewNumNodes = 14; ViewNumComp = 1;
	ViewValueList = View->SY2; ViewNumList = &View->NbSY2;
      }
      else if(!strcmp(yyvsp[0].c, "VY2")){
	ViewElementIdx = 22; ViewNumNodes = 14; ViewNumComp = 3;
	ViewValueList = View->VY2; ViewNumList = &View->NbVY2;
      }
      else if(!strcmp(yyvsp[0].c, "TY2")){
	ViewElementIdx = 23; ViewNumNodes = 14; ViewNumComp = 9;
	ViewValueList = View->TY2; ViewNumList = &View->NbTY2;
      }
      else{
	yymsg(GERROR, "Unknown element type '%s'", yyvsp[0].c);	
	ViewElementIdx = -1; ViewNumNodes = 0; ViewNumComp = 0;
	ViewValueList = NULL; ViewNumList = NULL;
      }
      Free(yyvsp[0].c);
      ViewCoordIdx = 0;
    ;
    break;}
case 40:
#line 490 "Gmsh.y"
{
      if(ViewValueList){
	if(ViewCoordIdx != 3 * ViewNumNodes){
	  yymsg(GERROR, "Wrong number of node coordinates (%d != %d)", 
		ViewCoordIdx, 3 * ViewNumNodes);
	  double d = 0;
	  for(int i = 0; i < 3 * ViewNumNodes; i++)
	    List_Add(ViewValueList, &d);
	}
	else{
	  for(int i = 0; i < 3; i++)
	    for(int j = 0; j < ViewNumNodes; j++)
	      List_Add(ViewValueList, &ViewCoord[3*j+i]);
	}
	ViewNumListTmp = List_Nbr(ViewValueList);
      }
    ;
    break;}
case 41:
#line 508 "Gmsh.y"
{
      if(ViewValueList){  
	if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewNumNodes)) 
	  ViewErrorFlags[ViewElementIdx]++;
	(*ViewNumList)++;
      }
    ;
    break;}
case 42:
#line 519 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T2C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 43:
#line 524 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T2C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 44:
#line 532 "Gmsh.y"
{ 
      List_Add(View->T2D, &yyvsp[-5].d); List_Add(View->T2D, &yyvsp[-3].d);
      List_Add(View->T2D, &yyvsp[-1].d); 
      double d = List_Nbr(View->T2C);
      List_Add(View->T2D, &d); 
    ;
    break;}
case 45:
#line 539 "Gmsh.y"
{
      View->NbT2++;
    ;
    break;}
case 46:
#line 546 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T3C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 47:
#line 551 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T3C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 48:
#line 559 "Gmsh.y"
{ 
      List_Add(View->T3D, &yyvsp[-7].d); List_Add(View->T3D, &yyvsp[-5].d);
      List_Add(View->T3D, &yyvsp[-3].d); List_Add(View->T3D, &yyvsp[-1].d); 
      double d = List_Nbr(View->T3C);
      List_Add(View->T3D, &d); 
    ;
    break;}
case 49:
#line 566 "Gmsh.y"
{
      View->NbT3++;
    ;
    break;}
case 50:
#line 574 "Gmsh.y"
{
      View->adaptive = new Adaptive_Post_View(View, yyvsp[-5].l, yyvsp[-2].l);
    ;
    break;}
case 51:
#line 581 "Gmsh.y"
{
      ViewValueList = View->Time;
    ;
    break;}
case 52:
#line 585 "Gmsh.y"
{
    ;
    break;}
case 53:
#line 590 "Gmsh.y"
{
      (*View->Grains) [(int)yyvsp[-3].d] = yyvsp[-1].l;
    ;
    break;}
case 54:
#line 598 "Gmsh.y"
{ yyval.i = 0; ;
    break;}
case 55:
#line 599 "Gmsh.y"
{ yyval.i = 1; ;
    break;}
case 56:
#line 600 "Gmsh.y"
{ yyval.i = 2; ;
    break;}
case 57:
#line 601 "Gmsh.y"
{ yyval.i = 3; ;
    break;}
case 58:
#line 602 "Gmsh.y"
{ yyval.i = 4; ;
    break;}
case 59:
#line 606 "Gmsh.y"
{ yyval.i = 1; ;
    break;}
case 60:
#line 607 "Gmsh.y"
{ yyval.i = -1; ;
    break;}
case 61:
#line 615 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-3].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	if(!yyvsp[-2].i){
	  TheSymbol.val = List_Create(1, 1, sizeof(double));
	  List_Put(TheSymbol.val, 0, &yyvsp[-1].d);
	  Tree_Add(Symbol_T, &TheSymbol);
	}
	else{
	  yymsg(GERROR, "Unknown variable '%s'", yyvsp[-3].c);
	  Free(yyvsp[-3].c);
	}
      }
      else{
	double *pd = (double*)List_Pointer_Fast(pSymbol->val, 0); 
	switch(yyvsp[-2].i){
	case 0 : *pd = yyvsp[-1].d; break;
	case 1 : *pd += yyvsp[-1].d; break;
	case 2 : *pd -= yyvsp[-1].d; break;
	case 3 : *pd *= yyvsp[-1].d; break;
	case 4 : 
	  if(yyvsp[-1].d) *pd /= yyvsp[-1].d; 
	  else yymsg(GERROR, "Division by zero in '%s /= %g'", yyvsp[-3].c, yyvsp[-1].d);
	  break;
	}
	Free(yyvsp[-3].c);
      }
    ;
    break;}
case 62:
#line 646 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-6].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	if(!yyvsp[-2].i){
	  TheSymbol.val = List_Create(5, 5, sizeof(double));
	  List_Put(TheSymbol.val, (int)yyvsp[-4].d, &yyvsp[-1].d);
	  Tree_Add(Symbol_T, &TheSymbol);
	}
	else{
	  yymsg(GERROR, "Unknown variable '%s'", yyvsp[-6].c);
	  Free(yyvsp[-6].c);
	}
      }
      else{
	double *pd;
	if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-4].d))){
	  switch(yyvsp[-2].i){
	  case 0 : *pd = yyvsp[-1].d; break;
	  case 1 : *pd += yyvsp[-1].d; break;
	  case 2 : *pd -= yyvsp[-1].d; break;
	  case 3 : *pd *= yyvsp[-1].d; break;
	  case 4 : 
	    if(yyvsp[-1].d) *pd /= yyvsp[-1].d; 
	    else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].d);
	    break;
	  }
	}
	else{
	  if(!yyvsp[-2].i)
	    List_Put(pSymbol->val, (int)yyvsp[-4].d, &yyvsp[-1].d);
	  else
	    yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-6].c, (int)yyvsp[-4].d);
	}
	Free(yyvsp[-6].c);
      }
    ;
    break;}
case 63:
#line 685 "Gmsh.y"
{
      if(List_Nbr(yyvsp[-5].l) != List_Nbr(yyvsp[-1].l)){
	yymsg(GERROR, "Incompatible array dimensions in affectation");
	Free(yyvsp[-8].c);
      }
      else{
	Symbol TheSymbol;
	TheSymbol.Name = yyvsp[-8].c;
	Symbol *pSymbol;
	if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	  if(!yyvsp[-2].i){
	    TheSymbol.val = List_Create(5, 5, sizeof(double));
	    for(int i = 0; i < List_Nbr(yyvsp[-5].l); i++){
	      List_Put(TheSymbol.val, (int)(*(double*)List_Pointer(yyvsp[-5].l, i)),
		       (double*)List_Pointer(yyvsp[-1].l, i));
	    }
	    Tree_Add(Symbol_T, &TheSymbol);
	  }
	  else{
	    yymsg(GERROR, "Unknown variable '%s'", yyvsp[-8].c);
	    Free(yyvsp[-8].c);
	  }
	}
	else{
	  for(int i = 0; i < List_Nbr(yyvsp[-5].l); i++){
	    int j = (int)(*(double*)List_Pointer(yyvsp[-5].l, i));
	    double d = *(double*)List_Pointer(yyvsp[-1].l, i);
	    double *pd;
	    if((pd = (double*)List_Pointer_Test(pSymbol->val, j))){
	      switch(yyvsp[-2].i){
	      case 0 : *pd = d; break;
	      case 1 : *pd += d; break;
	      case 2 : *pd -= d; break;
	      case 3 : *pd *= d; break;
	      case 4 : 
		if(yyvsp[-1].l) *pd /= d; 
		else yymsg(GERROR, "Division by zero in '%s[%d] /= %g'", yyvsp[-8].c, j, d);
		break;
	      }
	    }
	    else{
	      if(!yyvsp[-2].i)
		List_Put(pSymbol->val, j, &d);
	      else
		yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-8].c, j);	  
	    }
	  }
	  Free(yyvsp[-8].c);
	}
      }
      List_Delete(yyvsp[-5].l);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 64:
#line 739 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-5].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	TheSymbol.val = List_Create(5, 5, sizeof(double));
	List_Copy(yyvsp[-1].l, TheSymbol.val);
	Tree_Add(Symbol_T, &TheSymbol);
      }
      else{
	List_Reset(pSymbol->val);
	List_Copy(yyvsp[-1].l, pSymbol->val);
	Free(yyvsp[-5].c);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 65:
#line 756 "Gmsh.y"
{
      // appends to the list
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-5].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	TheSymbol.val = List_Create(5, 5, sizeof(double));
	List_Copy(yyvsp[-1].l, TheSymbol.val);
	Tree_Add(Symbol_T, &TheSymbol);
      }
      else{
	for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++)
	  List_Add(pSymbol->val, List_Pointer(yyvsp[-1].l, i));
	Free(yyvsp[-5].c);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 66:
#line 774 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-2].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol)))
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c); 
      else
	*(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[-1].i;
      Free(yyvsp[-2].c);
    ;
    break;}
case 67:
#line 785 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-5].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol)))
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c); 
      else{
	double *pd;
	if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-3].d)))
	  *pd += yyvsp[-1].i;
	else
	  yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, (int)yyvsp[-3].d);
      }
      Free(yyvsp[-5].c);
    ;
    break;}
case 68:
#line 804 "Gmsh.y"
{ 
      char* (*pStrOpt)(int num, int action, char *value);
      StringXString *pStrCat;
      if(!(pStrCat = Get_StringOptionCategory(yyvsp[-5].c)))
	yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-5].c);
      else{
	if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-3].c, pStrCat)))
	  yymsg(GERROR, "Unknown string option '%s.%s'", yyvsp[-5].c, yyvsp[-3].c);
	else
	  pStrOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].c);
      }
      Free(yyvsp[-5].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $5
    ;
    break;}
case 69:
#line 818 "Gmsh.y"
{ 
      char* (*pStrOpt)(int num, int action, char *value);
      StringXString *pStrCat;
      if(!(pStrCat = Get_StringOptionCategory(yyvsp[-8].c)))
	yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-8].c);
      else{
	if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-3].c, pStrCat)))
	  yymsg(GERROR, "Unknown string option '%s[%d].%s'", yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c);
	else
	  pStrOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, yyvsp[-1].c);
      }
      Free(yyvsp[-8].c); Free(yyvsp[-3].c); //FIXME: somtimes leak $8
    ;
    break;}
case 70:
#line 835 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-5].c)))
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-5].c);
      else{
	if(!(pNumOpt = (double (*) (int, int, double))Get_NumberOption(yyvsp[-3].c, pNumCat)))
	  yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-5].c, yyvsp[-3].c);
	else{
	  double d = 0;
	  switch(yyvsp[-2].i){
	  case 0 : d = yyvsp[-1].d; break;
	  case 1 : d = pNumOpt(0, GMSH_GET, 0) + yyvsp[-1].d; break;
	  case 2 : d = pNumOpt(0, GMSH_GET, 0) - yyvsp[-1].d; break;
	  case 3 : d = pNumOpt(0, GMSH_GET, 0) * yyvsp[-1].d; break;
	  case 4 : 
	    if(yyvsp[-1].d) d = pNumOpt(0, GMSH_GET, 0) / yyvsp[-1].d; 
	    else yymsg(GERROR, "Division by zero in '%s.%s /= %g'", yyvsp[-5].c, yyvsp[-3].c, yyvsp[-1].d);
	    break;
	  }
	  pNumOpt(0, GMSH_SET|GMSH_GUI, d);
	}
      }
      Free(yyvsp[-5].c); Free(yyvsp[-3].c);
    ;
    break;}
case 71:
#line 861 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-8].c)))
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-8].c);
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[-3].c, pNumCat)))
	  yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c);
	else{
	  double d = 0;
	  switch(yyvsp[-2].i){
	  case 0 : d = yyvsp[-1].d; break;
	  case 1 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) + yyvsp[-1].d; break;
	  case 2 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) - yyvsp[-1].d; break;
	  case 3 : d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) * yyvsp[-1].d; break;
	  case 4 : 
	    if(yyvsp[-1].d) d = pNumOpt((int)yyvsp[-6].d, GMSH_GET, 0) / yyvsp[-1].d;
	    else yymsg(GERROR, "Division by zero in '%s[%d].%s /= %g'", 
		       yyvsp[-8].c, (int)yyvsp[-6].d, yyvsp[-3].c, yyvsp[-1].d);
	    break;
	  }
	  pNumOpt((int)yyvsp[-6].d, GMSH_SET|GMSH_GUI, d);
	}
      }
      Free(yyvsp[-8].c); Free(yyvsp[-3].c);
    ;
    break;}
case 72:
#line 888 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-4].c)))
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-4].c);
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[-2].c, pNumCat)))
	  yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-4].c, yyvsp[-2].c);
	else
	  pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+yyvsp[-1].i);
      }
      Free(yyvsp[-4].c); Free(yyvsp[-2].c);
    ;
    break;}
case 73:
#line 902 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-7].c)))
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-7].c);
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[-2].c, pNumCat)))
	  yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-7].c, (int)yyvsp[-5].d, yyvsp[-2].c);
	else
	  pNumOpt((int)yyvsp[-5].d, GMSH_SET|GMSH_GUI, pNumOpt((int)yyvsp[-5].d, GMSH_GET, 0)+yyvsp[-1].i);
      }
      Free(yyvsp[-7].c); Free(yyvsp[-2].c);
    ;
    break;}
case 74:
#line 919 "Gmsh.y"
{
      unsigned int (*pColOpt)(int num, int action, unsigned int value);
      StringXColor *pColCat;
      if(!(pColCat = Get_ColorOptionCategory(yyvsp[-7].c)))
	yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-7].c);
      else{
	if(!(pColOpt =  (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[-3].c, pColCat)))
	  yymsg(GERROR, "Unknown color option '%s.Color.%s'", yyvsp[-7].c, yyvsp[-3].c);
	else
	  pColOpt(0, GMSH_SET|GMSH_GUI, yyvsp[-1].u);
      }
      Free(yyvsp[-7].c); Free(yyvsp[-3].c);
    ;
    break;}
case 75:
#line 933 "Gmsh.y"
{
      unsigned int (*pColOpt)(int num, int action, unsigned int value);
      StringXColor *pColCat;
      if(!(pColCat = Get_ColorOptionCategory(yyvsp[-10].c)))
	yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-10].c);
      else{
	if(!(pColOpt =  (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[-3].c, pColCat)))
	  yymsg(GERROR, "Unknown color option '%s[%d].Color.%s'", yyvsp[-10].c, (int)yyvsp[-8].d, yyvsp[-3].c);
	else
	  pColOpt((int)yyvsp[-8].d, GMSH_SET|GMSH_GUI, yyvsp[-1].u);
      }
      Free(yyvsp[-10].c); Free(yyvsp[-3].c);
    ;
    break;}
case 76:
#line 950 "Gmsh.y"
{
      GmshColorTable *ct = Get_ColorTable(0);
      if(!ct)
	yymsg(GERROR, "View[%d] does not exist", 0);
      else{
	ct->size = List_Nbr(yyvsp[-1].l);
	if(ct->size > COLORTABLE_NBMAX_COLOR)
	  yymsg(GERROR, "Too many (%d>%d) colors in View[%d].ColorTable", 
		ct->size, COLORTABLE_NBMAX_COLOR, 0);
	else
	  for(int i = 0; i < ct->size; i++) List_Read(yyvsp[-1].l, i, &ct->table[i]);
	if(ct->size == 1){
	  ct->size = 2;
	  ct->table[1] = ct->table[0];
	}
      }
      Free(yyvsp[-5].c);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 77:
#line 970 "Gmsh.y"
{
      GmshColorTable *ct = Get_ColorTable((int)yyvsp[-6].d);
      if(!ct)
	yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-6].d);
      else{
	ct->size = List_Nbr(yyvsp[-1].l);
	if(ct->size > COLORTABLE_NBMAX_COLOR)
	  yymsg(GERROR, "Too many (%d>%d) colors in View[%d].ColorTable", 
		   ct->size, COLORTABLE_NBMAX_COLOR, (int)yyvsp[-6].d);
	else
	  for(int i = 0; i < ct->size; i++) List_Read(yyvsp[-1].l, i, &ct->table[i]);
	if(ct->size == 1){
	  ct->size = 2;
	  ct->table[1] = ct->table[0];
	}
      }
      Free(yyvsp[-8].c);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 78:
#line 993 "Gmsh.y"
{
      try {
	GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].d); 
      }
      catch (...) {
	yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-3].c);
    ;
    break;}
case 79:
#line 1003 "Gmsh.y"
{
      try {
	GMSH_PluginManager::instance()->setPluginOption(yyvsp[-6].c, yyvsp[-3].c, yyvsp[-1].c); 
      }
      catch (...) {
	yymsg(GERROR, "Unknown option '%s' or plugin '%s'", yyvsp[-3].c, yyvsp[-6].c);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-3].c); // FIXME: sometimes leak $8
    ;
    break;}
case 80:
#line 1022 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPoint(num)){
	yymsg(GERROR, "Point %d already exists", num);
      }
      else{
	Vertex *v = Create_Vertex(num, CTX.geom.scaling_factor * yyvsp[-1].v[0],
				  CTX.geom.scaling_factor * yyvsp[-1].v[1],
				  CTX.geom.scaling_factor * yyvsp[-1].v[2],
				  CTX.geom.scaling_factor * yyvsp[-1].v[3], 1.0);
	Tree_Add(THEM->Points, &v);
      }
      yyval.s.Type = MSH_POINT;
      yyval.s.Num = num;
    ;
    break;}
case 81:
#line 1038 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_POINT)){
	yymsg(GERROR, "Physical point %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_POINT, temp);
	List_Delete(temp);
	List_Add(THEM->PhysicalGroups, &p);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_PHYSICAL_POINT;
      yyval.s.Num = num;
    ;
    break;}
case 82:
#line 1054 "Gmsh.y"
{
      yymsg(GERROR, "Attractors are deprecated");
      List_Delete(yyvsp[-9].l);
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 83:
#line 1061 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){
	double d;
	List_Read(yyvsp[-3].l, i, &d);
	Vertex *v = FindPoint((int)d);
	if(!v)
	  yymsg(WARNING, "Unknown point %d", (int)d);
	else
	  v->lc = yyvsp[-1].d;
      }
      List_Delete(yyvsp[-3].l);
      // dummy values
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 84:
#line 1080 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	Curve *c = Create_Curve(num, MSH_SEGM_LINE, 1, temp, NULL,
				-1, -1, 0., 1.);
	Tree_Add(THEM->Curves, &c);
	CreateReversedCurve(c);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_LINE;
      yyval.s.Num = num;
    ;
    break;}
case 85:
#line 1098 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	Curve *c = Create_Curve(num, MSH_SEGM_SPLN, 3, temp, NULL,
				-1, -1, 0., 1.);
	Tree_Add(THEM->Curves, &c);
	CreateReversedCurve(c);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_SPLN;
      yyval.s.Num = num;
    ;
    break;}
case 86:
#line 1116 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL,
				-1, -1, 0., 1.);
	Tree_Add(THEM->Curves, &c);
	CreateReversedCurve(c);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_CIRC;
      yyval.s.Num = num;
    ;
    break;}
case 87:
#line 1134 "Gmsh.y"
{
      int num = (int)yyvsp[-6].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l);
	Curve *c = Create_Curve(num, MSH_SEGM_CIRC, 2, temp, NULL,
				-1, -1, 0., 1.);
	c->Circle.n[0] = yyvsp[-1].v[0];
	c->Circle.n[1] = yyvsp[-1].v[1];
	c->Circle.n[2] = yyvsp[-1].v[2];
	End_Curve(c);
	Tree_Add(THEM->Curves, &c);
	Curve *rc = CreateReversedCurve(c);
	rc->Circle.n[0] = yyvsp[-1].v[0];
	rc->Circle.n[1] = yyvsp[-1].v[1];
	rc->Circle.n[2] = yyvsp[-1].v[2];
	End_Curve(rc);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-3].l);
      yyval.s.Type = MSH_SEGM_CIRC;
      yyval.s.Num = num;
    ;
    break;}
case 88:
#line 1160 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL,
				-1, -1, 0., 1.);
	Tree_Add(THEM->Curves, &c);
	CreateReversedCurve(c);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_ELLI;
      yyval.s.Num = num;
    ;
    break;}
case 89:
#line 1178 "Gmsh.y"
{
      int num = (int)yyvsp[-6].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-3].l);
	Curve *c = Create_Curve(num, MSH_SEGM_ELLI, 2, temp, NULL,
				-1, -1, 0., 1.);
	c->Circle.n[0] = yyvsp[-1].v[0];
	c->Circle.n[1] = yyvsp[-1].v[1];
	c->Circle.n[2] = yyvsp[-1].v[2];
	End_Curve(c);
	Tree_Add(THEM->Curves, &c);
	Curve *rc = CreateReversedCurve(c);
	rc->Circle.n[0] = yyvsp[-1].v[0];
	rc->Circle.n[1] = yyvsp[-1].v[1];
	rc->Circle.n[2] = yyvsp[-1].v[2];
	End_Curve(c);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-3].l);
      yyval.s.Type = MSH_SEGM_ELLI;
      yyval.s.Num = num;
    ;
    break;}
case 90:
#line 1205 "Gmsh.y"
{
      int num = (int)yyvsp[-14].d;
      if(FindCurve(num)){
	yymsg(GERROR, "Curve %d already exists", num);
      }
      else{
	Curve *c = Create_Curve(num, MSH_SEGM_PARAMETRIC, 2, NULL, NULL,
				-1, -1, yyvsp[-10].d, yyvsp[-8].d);
	strcpy(c->functu, yyvsp[-6].c);
	strcpy(c->functv, yyvsp[-4].c);
	strcpy(c->functw, yyvsp[-2].c);
	Tree_Add(THEM->Curves, &c);
	CreateReversedCurve(c);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-4].c); Free(yyvsp[-2].c);
      yyval.s.Type = MSH_SEGM_PARAMETRIC;
      yyval.s.Num = num;
    ;
    break;}
case 91:
#line 1224 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(List_Nbr(yyvsp[-1].l) < 4){
	yymsg(GERROR, "Too few control points for BSpline %d (%d < 4)", num,
	      List_Nbr(yyvsp[-1].l));
      }
      else{
	if(FindCurve(num)){
	  yymsg(GERROR, "Curve %d already exists", num);
	}
	else{
	  List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	  Curve *c = Create_Curve(num, MSH_SEGM_BSPLN, 2, temp, NULL,
				  -1, -1, 0., 1.);
	  Tree_Add(THEM->Curves, &c);
	  CreateReversedCurve(c);
	  List_Delete(temp);
	}
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_BSPLN;
      yyval.s.Num = num;
    ;
    break;}
case 92:
#line 1248 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(List_Nbr(yyvsp[-1].l) < 4){
	yymsg(GERROR, "Too few control points for Bezier curve %d (%d < 4)", num,
	      List_Nbr(yyvsp[-1].l));
      }
      else{
	if(FindCurve(num)){
	  yymsg(GERROR, "Curve %d already exists", num);
	}
	else{
	  List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	  Curve *c = Create_Curve(num, MSH_SEGM_BEZIER, 2, temp, NULL,
				  -1, -1, 0., 1.);
	  Tree_Add(THEM->Curves, &c);
	  CreateReversedCurve(c);
	  List_Delete(temp);
	}
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_BEZIER;
      yyval.s.Num = num;
    ;
    break;}
case 93:
#line 1272 "Gmsh.y"
{
      int num = (int)yyvsp[-8].d;
      if(List_Nbr(yyvsp[-5].l) + (int)yyvsp[-1].d + 1 != List_Nbr(yyvsp[-3].l)){
	yymsg(GERROR, "Wrong definition of Nurbs Curve %d: "
	      "got %d knots, need N + D + 1 = %d + %d + 1 = %d",
	      (int)yyvsp[-8].d, List_Nbr(yyvsp[-3].l), List_Nbr(yyvsp[-5].l), (int)yyvsp[-1].d, List_Nbr(yyvsp[-5].l) + (int)yyvsp[-1].d + 1);
      }
      else{
	if(FindCurve(num)){
	  yymsg(GERROR, "Curve %d already exists", num);
	}
	else{
	  List_T *temp = ListOfDouble2ListOfInt(yyvsp[-5].l);
	  Curve *c = Create_Curve(num, MSH_SEGM_NURBS, (int)yyvsp[-1].d, temp, yyvsp[-3].l,
				  -1, -1, 0., 1.);
	  Tree_Add(THEM->Curves, &c);
	  CreateReversedCurve(c);
	  List_Delete(temp);
	}
      }
      List_Delete(yyvsp[-5].l);
      List_Delete(yyvsp[-3].l);
      yyval.s.Type = MSH_SEGM_NURBS;
      yyval.s.Num = num;
    ;
    break;}
case 94:
#line 1298 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindEdgeLoop(num)){
	yymsg(GERROR, "Line loop %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	sortEdgesInLoop(num, temp);
	EdgeLoop *l = Create_EdgeLoop(num, temp);
	Tree_Add(THEM->EdgeLoops, &l);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SEGM_LOOP;
      yyval.s.Num = num;
    ;
    break;}
case 95:
#line 1315 "Gmsh.y"
{
      yymsg(GERROR, "Attractors are deprecated");
      List_Delete(yyvsp[-9].l);
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 96:
#line 1322 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_LINE)){
	yymsg(GERROR, "Physical line %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_LINE, temp);
	List_Delete(temp);
	List_Add(THEM->PhysicalGroups, &p);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_PHYSICAL_LINE;
      yyval.s.Num = num;
    ;
    break;}
case 97:
#line 1341 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindSurface(num)){
	yymsg(GERROR, "Surface %d already exists", num);
      }
      else{
	Surface *s = Create_Surface(num, MSH_SURF_PLAN);
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	setSurfaceGeneratrices(s, temp);
	List_Delete(temp);
	s->Support = s;
	End_Surface(s);
	Tree_Add(THEM->Surfaces, &s);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SURF_PLAN;
      yyval.s.Num = num;
    ;
    break;}
case 98:
#line 1360 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d, type = 0;
      if(FindSurface(num)){
	yymsg(GERROR, "Surface %d already exists", num);
      }
      else{
	double d;
	List_Read(yyvsp[-1].l, 0, &d);
	EdgeLoop *el = FindEdgeLoop((int)fabs(d));
	if(!el){
	  yymsg(GERROR, "Unknown line loop %d", (int)d);
	}
	else{
	  int j = List_Nbr(el->Curves);
	  if(j == 4){
	    type = MSH_SURF_REGL;
	  }
	  else if(j == 3){
	    type = MSH_SURF_TRIC;
	  }
	  else{
	    yymsg(GERROR, "Wrong definition of Ruled Surface %d: "
		  "%d borders instead of 3 or 4", num, j);
	    type = MSH_SURF_PLAN;
	  }
	  Surface *s = Create_Surface(num, type);
	  List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	  setSurfaceGeneratrices(s, temp);
	  List_Delete(temp);
	  s->Support = s;
	  End_Surface(s);
	  Tree_Add(THEM->Surfaces, &s);
	}
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = type;
      yyval.s.Num = num;
    ;
    break;}
case 99:
#line 1399 "Gmsh.y"
{
      int num = (int)yyvsp[-8].d;
      Surface *support = FindSurface((int)yyvsp[-4].d);
      if(!support){
	yymsg(GERROR, "Unknown support surface %d", (int)yyvsp[-4].d);
      }
      else{
	if(FindSurface(num)){
	  yymsg(GERROR, "Surface %d already exists", num);
	}
	else{
	  Surface *s = Create_Surface(num, MSH_SURF_TRIMMED);
	  List_T *temp = ListOfDouble2ListOfInt(yyvsp[-2].l);
	  setSurfaceGeneratrices(s, temp);
	  List_Delete(temp);
	  s->Support = support;
	  End_Surface(s);
	  Tree_Add(THEM->Surfaces, &s);
	}
      }
      List_Delete(yyvsp[-2].l);
      yyval.s.Type = MSH_SURF_TRIMMED;
      yyval.s.Num = num;
    ;
    break;}
case 100:
#line 1426 "Gmsh.y"
{
      int num = (int)yyvsp[-16].d;
      if(FindSurface(num)){
	yymsg(GERROR, "Surface %d already exists", num);
      }
      else{
	CreateNurbsSurface(num, (int)yyvsp[-4].d, (int)yyvsp[-2].d, yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l);
      }
      for(int i = 0; i < List_Nbr(yyvsp[-13].l); i++)
	List_Delete((List_T*)List_Pointer(yyvsp[-13].l, i));
      List_Delete(yyvsp[-13].l);
      List_Delete(yyvsp[-10].l);
      List_Delete(yyvsp[-8].l);
      yyval.s.Type = MSH_SURF_NURBS;
      yyval.s.Num = num;
    ;
    break;}
case 101:
#line 1445 "Gmsh.y"
{
      int num = (int)yyvsp[-16].d;
      if(FindSurface(num)){
	yymsg(GERROR, "Surface %d already exists", num);
      }
      else{
	CreateNurbsSurfaceSupport(num, (int)yyvsp[-4].d, (int)yyvsp[-2].d, yyvsp[-13].l, yyvsp[-10].l, yyvsp[-8].l);
      }
      for(int i = 0; i < List_Nbr(yyvsp[-13].l); i++)
	List_Delete((List_T*)List_Pointer(yyvsp[-13].l, i));
      List_Delete(yyvsp[-13].l);
      List_Delete(yyvsp[-10].l);
      List_Delete(yyvsp[-8].l);
      yyval.s.Type = MSH_SURF_NURBS;
      yyval.s.Num = num;
    ;
    break;}
case 102:
#line 1462 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindSurfaceLoop(num)){
	yymsg(GERROR, "Surface loop %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	SurfaceLoop *l = Create_SurfaceLoop(num, temp);
	Tree_Add(THEM->SurfaceLoops, &l);
	List_Delete(temp);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_SURF_LOOP;
      yyval.s.Num = num;
    ;
    break;}
case 103:
#line 1478 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_SURFACE)){
	yymsg(GERROR, "Physical surface %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_SURFACE, temp);
	List_Delete(temp);
	List_Add(THEM->PhysicalGroups, &p);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_PHYSICAL_SURFACE;
      yyval.s.Num = num;
    ;
    break;}
case 104:
#line 1498 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindVolume(num)){
	yymsg(GERROR, "Volume %d already exists", num);
      }
      else{
	Volume *v = Create_Volume(num, MSH_VOLUME);
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	setVolumeSurfaces(v, temp);
	List_Delete(temp);
	Tree_Add(THEM->Volumes, &v);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_VOLUME;
      yyval.s.Num = num;
    ;
    break;}
case 105:
#line 1515 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindVolume(num)){
	yymsg(GERROR, "Volume %d already exists", num);
      }
      else{
	Volume *v = Create_Volume(num, MSH_VOLUME);
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	setVolumeSurfaces(v, temp);
	List_Delete(temp);
	Tree_Add(THEM->Volumes, &v);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_VOLUME;
      yyval.s.Num = num;
    ;
    break;}
case 106:
#line 1532 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_VOLUME)){
	yymsg(GERROR, "Physical volume %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	PhysicalGroup *p = Create_PhysicalGroup(num, MSH_PHYSICAL_VOLUME, temp);
	List_Delete(temp);
	List_Add(THEM->PhysicalGroups, &p);
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = MSH_PHYSICAL_VOLUME;
      yyval.s.Num = num;
    ;
    break;}
case 107:
#line 1553 "Gmsh.y"
{
      TranslateShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-1].l, 1);
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 108:
#line 1558 "Gmsh.y"
{
      RotateShapes(yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d, yyvsp[-1].l, 1);
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 109:
#line 1563 "Gmsh.y"
{
      SymmetryShapes(yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], yyvsp[-3].v[3], yyvsp[-1].l, 1);
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 110:
#line 1568 "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 111:
#line 1575 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 112:
#line 1576 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 113:
#line 1577 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 114:
#line 1582 "Gmsh.y"
{
      yyval.l = List_Create(3, 3, sizeof(Shape));
    ;
    break;}
case 115:
#line 1586 "Gmsh.y"
{
      List_Add(yyval.l, &yyvsp[0].s);
    ;
    break;}
case 116:
#line 1590 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	double d;
	List_Read(yyvsp[-2].l, i, &d);
	Shape TheShape;
	TheShape.Num = (int)d;
	Vertex *v = FindPoint(TheShape.Num);
	if(!v)
	  yymsg(WARNING, "Unknown point %d", TheShape.Num);
	else{
	  TheShape.Type = MSH_POINT;
	  List_Add(yyval.l, &TheShape);
	}
      }
    ;
    break;}
case 117:
#line 1606 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	double d;
	List_Read(yyvsp[-2].l, i, &d);
	Shape TheShape;
	TheShape.Num = (int)d;
	Curve *c = FindCurve(TheShape.Num);
	if(!c)
	  yymsg(WARNING, "Unknown curve %d", TheShape.Num);
	else{
	  TheShape.Type = c->Typ;
	  List_Add(yyval.l, &TheShape);
	}
      }
    ;
    break;}
case 118:
#line 1622 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	double d;
	List_Read(yyvsp[-2].l, i, &d);
	Shape TheShape;
	TheShape.Num = (int)d;
	Surface *s = FindSurface(TheShape.Num);
	if(!s)
	  yymsg(WARNING, "Unknown surface %d", TheShape.Num);
	else{
	  TheShape.Type = s->Typ;
	  List_Add(yyval.l, &TheShape);
	}
      }
    ;
    break;}
case 119:
#line 1638 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	double d;
	List_Read(yyvsp[-2].l, i, &d);
	Shape TheShape;
	TheShape.Num = (int)d;
	Volume *v = FindVolume(TheShape.Num);
	if(!v)
	  yymsg(WARNING, "Unknown volume %d", TheShape.Num);
	else{
	  TheShape.Type = v->Typ;
	  List_Add(yyval.l, &TheShape);
	}
      }
    ;
    break;}
case 120:
#line 1659 "Gmsh.y"
{
      yyval.l = List_Create(3, 3, sizeof(Shape));
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	Shape TheShape;
	List_Read(yyvsp[-1].l, i, &TheShape);
	int j;
	CopyShape(TheShape.Type, TheShape.Num, &j);
	TheShape.Num = j;
	List_Add(yyval.l, &TheShape);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 121:
#line 1673 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0);
      Free(yyvsp[-4].c);
      yyval.l = NULL;
    ;
    break;}
case 122:
#line 1679 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0);
      Free(yyvsp[-4].c);
      yyval.l = NULL;
    ;
    break;}
case 123:
#line 1685 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 1);
      Free(yyvsp[-4].c);
      yyval.l = NULL;
    ;
    break;}
case 124:
#line 1697 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	Shape TheShape;
	List_Read(yyvsp[-1].l, i, &TheShape);
	DeleteShape(TheShape.Type, TheShape.Num);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 125:
#line 1706 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")){
	RemoveViewByIndex((int)yyvsp[-2].d);
      }
      else{
	yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-4].c);
      }
      Free(yyvsp[-4].c);
    ;
    break;}
case 126:
#line 1716 "Gmsh.y"
{
      if(!strcmp(yyvsp[-1].c, "Meshes") || !strcmp(yyvsp[-1].c, "All")){
	Init_Mesh();
      }
      else if(!strcmp(yyvsp[-1].c, "Physicals")){
	List_Action(THEM->PhysicalGroups, Free_PhysicalGroup);
	List_Reset(THEM->PhysicalGroups);
      }
      else{
	yymsg(GERROR, "Unknown command 'Delete %s'", yyvsp[-1].c);
      }
      Free(yyvsp[-1].c);
    ;
    break;}
case 127:
#line 1730 "Gmsh.y"
{
      if(!strcmp(yyvsp[-2].c, "Empty") && !strcmp(yyvsp[-1].c, "Views")){
	for(int i = List_Nbr(CTX.post.list) - 1; i >= 0; i--){
	  Post_View *v = *(Post_View **) List_Pointer(CTX.post.list, i);
	  if(v->empty())
	    RemoveViewByIndex(i);
	}
      }
      else{
	yymsg(GERROR, "Unknown command 'Delete %s %s'", yyvsp[-2].c, yyvsp[-1].c);
      }
      Free(yyvsp[-2].c); Free(yyvsp[-1].c);
    ;
    break;}
case 128:
#line 1749 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	Shape TheShape;
	List_Read(yyvsp[-1].l, i, &TheShape);
	ColorShape(TheShape.Type, TheShape.Num, yyvsp[-3].u);
      }
      List_Delete(yyvsp[-1].l);      
    ;
    break;}
case 129:
#line 1763 "Gmsh.y"
{
      for(int i = 0; i < 4; i++)
	VisibilityShape(yyvsp[-1].c, i, 1);
      Free(yyvsp[-1].c);
    ;
    break;}
case 130:
#line 1769 "Gmsh.y"
{
      for(int i = 0; i < 4; i++)
	VisibilityShape(yyvsp[-1].c, i, 0);
      Free(yyvsp[-1].c);
    ;
    break;}
case 131:
#line 1775 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	Shape TheShape;
	List_Read(yyvsp[-1].l, i, &TheShape);
	VisibilityShape(TheShape.Type, TheShape.Num, 1);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 132:
#line 1784 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	Shape TheShape;
	List_Read(yyvsp[-1].l, i, &TheShape);
	VisibilityShape(TheShape.Type, TheShape.Num, 0);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 133:
#line 1798 "Gmsh.y"
{
      if(!strcmp(yyvsp[-2].c, "Include")){
	char tmpstring[1024];
	FixRelativePath(yyvsp[-1].c, tmpstring);
	// Warning: we *don't* close included files (to allow user
	// functions in these files). If you need to include many many
	// files and don't have functions in the files, use "Merge"
	// instead: some OSes limit the number of files a process can
	// open simultaneously. The right solution would be of course
	// to modify FunctionManager to reopen the files instead of
	// using the FILE pointer, but hey, I'm lazy...
	Msg(STATUS2, "Reading '%s'", tmpstring);
	ParseFile(tmpstring, 0, 1);
	SetBoundingBox();
	Msg(STATUS2, "Read '%s'", tmpstring);
      }
      else if(!strcmp(yyvsp[-2].c, "Print")){
#if defined(HAVE_FLTK)
	char tmpstring[1024];
	FixRelativePath(yyvsp[-1].c, tmpstring);
	CreateOutputFile(tmpstring, CTX.print.format);
#endif
      }
      else if(!strcmp(yyvsp[-2].c, "Save")){
#if defined(HAVE_FLTK)
	char tmpstring[1024];
	FixRelativePath(yyvsp[-1].c, tmpstring);
	CreateOutputFile(tmpstring, CTX.mesh.format);
#endif
      }
      else if(!strcmp(yyvsp[-2].c, "Merge") || !strcmp(yyvsp[-2].c, "MergeWithBoundingBox")){
	// MergeWithBoundingBox is deprecated
	char tmpstring[1024];
	FixRelativePath(yyvsp[-1].c, tmpstring);
	MergeProblem(tmpstring, 1);
      }
      else if(!strcmp(yyvsp[-2].c, "System")){
	SystemCall(yyvsp[-1].c);
      }
      else{
	yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c);
      }
      Free(yyvsp[-2].c); Free(yyvsp[-1].c);
    ;
    break;}
case 134:
#line 1843 "Gmsh.y"
{
      if(!strcmp(yyvsp[-6].c, "Save") && !strcmp(yyvsp[-5].c, "View")){
	Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)yyvsp[-3].d);
	if(vv){
	  char tmpstring[1024];
	  FixRelativePath(yyvsp[-1].c, tmpstring);
	  WriteView(*vv, tmpstring, CTX.post.file_format, 0);
	}
      }
      else{
	yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-1].c);
    ;
    break;}
case 135:
#line 1858 "Gmsh.y"
{
      if(!strcmp(yyvsp[-6].c, "Background") && !strcmp(yyvsp[-5].c, "Mesh")  && !strcmp(yyvsp[-4].c, "View")){
	Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, (int)yyvsp[-2].d);
	if(vv) BGMWithView(*vv);
      }
      else{
	yymsg(GERROR, "Unknown command '%s'", yyvsp[-6].c);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-5].c); Free(yyvsp[-4].c);
    ;
    break;}
case 136:
#line 1869 "Gmsh.y"
{
      if(!strcmp(yyvsp[-2].c, "Sleep")){
	SleepInSeconds(yyvsp[-1].d);
      }
      else if(!strcmp(yyvsp[-2].c, "Remesh")){
	Msg(GERROR, "Surface ReMeshing must be reinterfaced");
	//	ReMesh();
      }
      else if(!strcmp(yyvsp[-2].c, "Mesh")){
	yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts");
      }
      else if(!strcmp(yyvsp[-2].c, "Status")){
	THEM->status = (int)yyvsp[-1].d;
      }
      else{
	yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c);
      }
      Free(yyvsp[-2].c);
    ;
    break;}
case 137:
#line 1889 "Gmsh.y"
{
       try {
	 GMSH_PluginManager::instance()->action(yyvsp[-4].c, yyvsp[-1].c, 0);
       }
       catch(...) {
	 yymsg(GERROR, "Unknown action '%s' or plugin '%s'", yyvsp[-1].c, yyvsp[-4].c);
       }
       Free(yyvsp[-4].c); Free(yyvsp[-1].c);
     ;
    break;}
case 138:
#line 1899 "Gmsh.y"
{
      if(!strcmp(yyvsp[-1].c, "ElementsFromAllViews"))
	CombineViews(0, 1, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "ElementsFromVisibleViews"))
	CombineViews(0, 0, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "ElementsByViewName"))
	CombineViews(0, 2, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "TimeStepsFromAllViews"))
	CombineViews(1, 1, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "TimeStepsFromVisibleViews"))
	CombineViews(1, 0, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "TimeStepsByViewName"))
	CombineViews(1, 2, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "Views"))
	CombineViews(0, 1, CTX.post.combine_remove_orig);
      else if(!strcmp(yyvsp[-1].c, "TimeSteps"))
	CombineViews(1, 2, CTX.post.combine_remove_orig);
      else
	yymsg(GERROR, "Unknown 'Combine' command");
      Free(yyvsp[-1].c);
    ;
    break;}
case 139:
#line 1921 "Gmsh.y"
{
      exit(0);
    ;
    break;}
case 140:
#line 1925 "Gmsh.y"
{
      CTX.forced_bbox = 0;
      SetBoundingBox();
    ;
    break;}
case 141:
#line 1930 "Gmsh.y"
{
      CTX.forced_bbox = 1;
      SetBoundingBox(yyvsp[-12].d, yyvsp[-10].d, yyvsp[-8].d, yyvsp[-6].d, yyvsp[-4].d, yyvsp[-2].d);
    ;
    break;}
case 142:
#line 1935 "Gmsh.y"
{
#if defined(HAVE_FLTK)
      Draw();
#endif
    ;
    break;}
case 143:
#line 1947 "Gmsh.y"
{
      LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d;
      LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d;
      LoopControlVariablesTab[ImbricatedLoop][2] = 1.0;
      LoopControlVariablesNameTab[ImbricatedLoop] = NULL;
      fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
      yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno;
      ImbricatedLoop++;
      if(ImbricatedLoop > MAX_RECUR_LOOPS-1){
	yymsg(GERROR, "Reached maximum number of imbricated loops");
	ImbricatedLoop = MAX_RECUR_LOOPS-1;
      }
      if(yyvsp[-3].d > yyvsp[-1].d) skip_until("For", "EndFor");
    ;
    break;}
case 144:
#line 1962 "Gmsh.y"
{
      LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-5].d;
      LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-3].d;
      LoopControlVariablesTab[ImbricatedLoop][2] = yyvsp[-1].d;
      LoopControlVariablesNameTab[ImbricatedLoop] = NULL;
      fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
      yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno;
      ImbricatedLoop++;
      if(ImbricatedLoop > MAX_RECUR_LOOPS-1){
	yymsg(GERROR, "Reached maximum number of imbricated loops");
	ImbricatedLoop = MAX_RECUR_LOOPS-1;
      }
      if((yyvsp[-1].d > 0. && yyvsp[-5].d > yyvsp[-3].d) || (yyvsp[-1].d < 0. && yyvsp[-5].d < yyvsp[-3].d))
	skip_until("For", "EndFor");
    ;
    break;}
case 145:
#line 1978 "Gmsh.y"
{
      LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-3].d;
      LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-1].d;
      LoopControlVariablesTab[ImbricatedLoop][2] = 1.0;
      LoopControlVariablesNameTab[ImbricatedLoop] = yyvsp[-6].c;
      Symbol TheSymbol;      
      TheSymbol.Name = yyvsp[-6].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	TheSymbol.val = List_Create(1, 1, sizeof(double));
	List_Put(TheSymbol.val, 0, &yyvsp[-3].d);
	Tree_Add(Symbol_T, &TheSymbol);
      }
      else{
	List_Write(pSymbol->val, 0, &yyvsp[-3].d);
      }
      fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
      yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno;
      ImbricatedLoop++;
      if(ImbricatedLoop > MAX_RECUR_LOOPS-1){
	yymsg(GERROR, "Reached maximum number of imbricated loops");
	ImbricatedLoop = MAX_RECUR_LOOPS-1;
      }
      if(yyvsp[-3].d > yyvsp[-1].d) skip_until("For", "EndFor");
    ;
    break;}
case 146:
#line 2004 "Gmsh.y"
{
      LoopControlVariablesTab[ImbricatedLoop][0] = yyvsp[-5].d;
      LoopControlVariablesTab[ImbricatedLoop][1] = yyvsp[-3].d;
      LoopControlVariablesTab[ImbricatedLoop][2] = yyvsp[-1].d;
      LoopControlVariablesNameTab[ImbricatedLoop] = yyvsp[-8].c;
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-8].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))){
	TheSymbol.val = List_Create(1, 1, sizeof(double));
	List_Put(TheSymbol.val, 0, &yyvsp[-5].d);
	Tree_Add(Symbol_T, &TheSymbol);
      }
      else{
	List_Write(pSymbol->val, 0, &yyvsp[-5].d);
      }
      fgetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop]);
      yylinenoImbricatedLoopsTab[ImbricatedLoop] = yylineno;
      ImbricatedLoop++;
      if(ImbricatedLoop > MAX_RECUR_LOOPS-1){
	yymsg(GERROR, "Reached maximum number of imbricated loops");
	ImbricatedLoop = MAX_RECUR_LOOPS-1;
      }
      if((yyvsp[-1].d > 0. && yyvsp[-5].d > yyvsp[-3].d) || (yyvsp[-1].d < 0. && yyvsp[-5].d < yyvsp[-3].d))
	skip_until("For", "EndFor");
    ;
    break;}
case 147:
#line 2031 "Gmsh.y"
{
      if(ImbricatedLoop <= 0){
	yymsg(GERROR, "Invalid For/EndFor loop");
	ImbricatedLoop = 0;
      }
      else{
	double x0 = LoopControlVariablesTab[ImbricatedLoop-1][0];
	double x1 = LoopControlVariablesTab[ImbricatedLoop-1][1];
	double step = LoopControlVariablesTab[ImbricatedLoop-1][2];
	int do_next = (step > 0.) ? (x0+step <= x1) : (x0+step >= x1);
	if(do_next){
	  LoopControlVariablesTab[ImbricatedLoop-1][0] +=
	    LoopControlVariablesTab[ImbricatedLoop-1][2];
	  if(LoopControlVariablesNameTab[ImbricatedLoop-1]){
	    Symbol TheSymbol;
	    TheSymbol.Name = LoopControlVariablesNameTab[ImbricatedLoop-1];
	    Symbol *pSymbol;
	    if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol)))
	      yymsg(GERROR, "Unknown loop variable");
	    else
	      *(double*)List_Pointer_Fast(pSymbol->val, 0) += 
		LoopControlVariablesTab[ImbricatedLoop-1][2];
	  }
	  fsetpos(yyin, &yyposImbricatedLoopsTab[ImbricatedLoop-1]);
	  yylineno = yylinenoImbricatedLoopsTab[ImbricatedLoop-1];
	}
	else{
	  ImbricatedLoop--;
	}
      }
    ;
    break;}
case 148:
#line 2063 "Gmsh.y"
{
      if(!FunctionManager::Instance()->createFunction(yyvsp[0].c, yyin, yyname, yylineno))
	yymsg(GERROR, "Redefinition of function %s", yyvsp[0].c);
      skip_until(NULL, "Return");
      //FIXME: wee leak $2
    ;
    break;}
case 149:
#line 2070 "Gmsh.y"
{
      if(!FunctionManager::Instance()->leaveFunction(&yyin, yyname, yylineno))
	yymsg(GERROR, "Error while exiting function");
    ;
    break;}
case 150:
#line 2075 "Gmsh.y"
{
      if(!FunctionManager::Instance()->enterFunction(yyvsp[-1].c, &yyin, yyname, yylineno))
	yymsg(GERROR, "Unknown function %s", yyvsp[-1].c);
      //FIXME: wee leak $2
    ;
    break;}
case 151:
#line 2081 "Gmsh.y"
{
      if(!yyvsp[-1].d) skip_until("If", "EndIf");
    ;
    break;}
case 152:
#line 2085 "Gmsh.y"
{
    ;
    break;}
case 153:
#line 2094 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(TRANSLATE, yyvsp[-1].l, 
		    yyvsp[-3].v[0], yyvsp[-3].v[1], yyvsp[-3].v[2], 0., 0., 0., 0., 0., 0., 0.,
		    NULL, yyval.l);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 154:
#line 2102 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(ROTATE, yyvsp[-1].l, 
		    0., 0., 0., yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d,
		    NULL, yyval.l);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 155:
#line 2110 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(TRANSLATE_ROTATE, yyvsp[-1].l, 
		    yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].d,
		    NULL, yyval.l);
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 156:
#line 2118 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 157:
#line 2123 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(TRANSLATE, yyvsp[-3].l, 
		    yyvsp[-5].v[0], yyvsp[-5].v[1], yyvsp[-5].v[2], 0., 0., 0., 0., 0., 0., 0.,
		    &extr, yyval.l);
      List_Delete(yyvsp[-3].l);
    ;
    break;}
case 158:
#line 2131 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 159:
#line 2136 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(ROTATE, yyvsp[-3].l, 
		    0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		    &extr, yyval.l);
      List_Delete(yyvsp[-3].l);
    ;
    break;}
case 160:
#line 2144 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 161:
#line 2149 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShapes(TRANSLATE_ROTATE, yyvsp[-3].l, 
		    yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		    &extr, yyval.l);
      List_Delete(yyvsp[-3].l);
    ;
    break;}
case 162:
#line 2159 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_POINT, (int)yyvsp[-4].d, 
		   yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   NULL, yyval.l);
    ;
    break;}
case 163:
#line 2166 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)yyvsp[-4].d, 
		   yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   NULL, yyval.l);
    ;
    break;}
case 164:
#line 2173 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)yyvsp[-4].d, 
		   yyvsp[-2].v[0], yyvsp[-2].v[1], yyvsp[-2].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   NULL, yyval.l);
    ;
    break;}
case 165:
#line 2180 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_POINT, (int)yyvsp[-8].d, 
		   0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 166:
#line 2187 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)yyvsp[-8].d, 
		   0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 167:
#line 2194 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)yyvsp[-8].d, 
		   0., 0., 0., yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 168:
#line 2201 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)yyvsp[-10].d, 
		   yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 169:
#line 2208 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)yyvsp[-10].d, 
		   yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 170:
#line 2215 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)yyvsp[-10].d, 
		   yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], yyvsp[-4].v[0], yyvsp[-4].v[1], yyvsp[-4].v[2], yyvsp[-2].d,
		   NULL, yyval.l);
    ;
    break;}
case 171:
#line 2222 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 172:
#line 2227 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_POINT, (int)yyvsp[-8].d, 
		   yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   &extr, yyval.l);
    ;
    break;}
case 173:
#line 2234 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 174:
#line 2239 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_SEGM_LINE, (int)yyvsp[-8].d, 
		   yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   &extr, yyval.l);
    ;
    break;}
case 175:
#line 2246 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 176:
#line 2251 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE, MSH_SURF_PLAN, (int)yyvsp[-8].d, 
		   yyvsp[-6].v[0], yyvsp[-6].v[1], yyvsp[-6].v[2], 0., 0., 0., 0., 0., 0., 0.,
		   &extr, yyval.l);
    ;
    break;}
case 177:
#line 2258 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 178:
#line 2263 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_POINT, (int)yyvsp[-12].d, 
		   0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 179:
#line 2270 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 180:
#line 2275 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_SEGM_LINE, (int)yyvsp[-12].d, 
		   0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 181:
#line 2282 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 182:
#line 2287 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(ROTATE, MSH_SURF_PLAN, (int)yyvsp[-12].d, 
		   0., 0., 0., yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 183:
#line 2294 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 184:
#line 2299 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_POINT, (int)yyvsp[-14].d, 
		   yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 185:
#line 2306 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 186:
#line 2311 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_SEGM_LINE, (int)yyvsp[-14].d, 
		   yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 187:
#line 2318 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 188:
#line 2323 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(Shape));
      ExtrudeShape(TRANSLATE_ROTATE, MSH_SURF_PLAN, (int)yyvsp[-14].d, 
		   yyvsp[-12].v[0], yyvsp[-12].v[1], yyvsp[-12].v[2], yyvsp[-10].v[0], yyvsp[-10].v[1], yyvsp[-10].v[2], yyvsp[-8].v[0], yyvsp[-8].v[1], yyvsp[-8].v[2], yyvsp[-6].d,
		   &extr, yyval.l);
    ;
    break;}
case 189:
#line 2334 "Gmsh.y"
{
    ;
    break;}
case 190:
#line 2337 "Gmsh.y"
{
    ;
    break;}
case 191:
#line 2343 "Gmsh.y"
{
      double d;
      extr.mesh.ExtrudeMesh = true;
      extr.mesh.NbLayer = List_Nbr(yyvsp[-6].l);
      if(List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-4].l) && List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-2].l)){
	extr.mesh.NbElmLayer = (int*)Malloc(extr.mesh.NbLayer*sizeof(int));
	extr.mesh.ZonLayer = (int*)Malloc(extr.mesh.NbLayer*sizeof(int));
	extr.mesh.hLayer = (double*)Malloc(extr.mesh.NbLayer*sizeof(double));
	for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){
	  List_Read(yyvsp[-6].l, i, &d);
	  extr.mesh.NbElmLayer[i] = (d>0)?(int)d:1;
	  List_Read(yyvsp[-4].l, i, &d);
	  extr.mesh.ZonLayer[i] = (int)d;
	  List_Read(yyvsp[-2].l, i, &d);
	  extr.mesh.hLayer[i] = d;
	}
      }
      else{
	yymsg(GERROR, "Wrong layer definition {%d, %d, %d}", 
	      List_Nbr(yyvsp[-6].l), List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l));
      }
      List_Delete(yyvsp[-6].l);
      List_Delete(yyvsp[-4].l);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 192:
#line 2369 "Gmsh.y"
{
      double d;
      extr.mesh.ExtrudeMesh = true;
      extr.mesh.NbLayer = List_Nbr(yyvsp[-4].l);
      if(List_Nbr(yyvsp[-4].l) == List_Nbr(yyvsp[-2].l)){
	extr.mesh.NbElmLayer = (int*)Malloc(extr.mesh.NbLayer*sizeof(int));
	extr.mesh.ZonLayer = (int*)Malloc(extr.mesh.NbLayer*sizeof(int));
	extr.mesh.hLayer = (double*)Malloc(extr.mesh.NbLayer*sizeof(double));
	for(int i = 0; i < List_Nbr(yyvsp[-4].l); i++){
	  List_Read(yyvsp[-4].l, i, &d);
	  extr.mesh.NbElmLayer[i] = (d>0)?(int)d:1;
	  extr.mesh.ZonLayer[i] = 0;
	  List_Read(yyvsp[-2].l, i, &d);
	  extr.mesh.hLayer[i] = d;
	}
      }
      else{
	yymsg(GERROR, "Wrong layer definition {%d, %d}", 
	      List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l));
      }
      List_Delete(yyvsp[-4].l);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 193:
#line 2393 "Gmsh.y"
{
      extr.mesh.Recombine = true;
    ;
    break;}
case 194:
#line 2402 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){
	double d;
	List_Read(yyvsp[-3].l, i, &d);
	int j = (int)fabs(d);
        Curve *c = FindCurve(j);
	if(!c)
	  yymsg(WARNING, "Unknown curve %d", j);
	else{
	  c->Method = TRANSFINI;
	  c->ipar[0] = (yyvsp[-1].d>2)?(int)yyvsp[-1].d:2;
	  c->ipar[1] = sign(d);
	  c->dpar[0] = 1.0;
	}
      }
      List_Delete(yyvsp[-3].l);
    ;
    break;}
case 195:
#line 2420 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){
	double d;
	List_Read(yyvsp[-6].l, i, &d);
	int j = (int)fabs(d);
        Curve *c = FindCurve(j);
	if(!c)
	  yymsg(WARNING, "Unknown curve %d", j);
	else{
	  c->Method = TRANSFINI;
	  c->ipar[0] = (yyvsp[-4].d>2)?(int)yyvsp[-4].d:2;
	  c->ipar[1] = sign(d); /* Progresion : code 1 ou -1 */
	  c->dpar[0] = fabs(yyvsp[-1].d);
	}
      }
      List_Delete(yyvsp[-6].l);
    ;
    break;}
case 196:
#line 2438 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){
	double d;
	List_Read(yyvsp[-6].l, i, &d);
	int j = (int)fabs(d);
        Curve *c = FindCurve(j);
	if(!c)
	  yymsg(WARNING, "Unknown curve %d", j);
	else{
	  c->Method = TRANSFINI;
	  c->ipar[0] = (yyvsp[-4].d>2)?(int)yyvsp[-4].d:2;
	  c->ipar[1] = 2*sign(d); /* Bump : code 2 ou -2 */
	  c->dpar[0] = fabs(yyvsp[-1].d);
	}
      }
      List_Delete(yyvsp[-6].l);
    ;
    break;}
case 197:
#line 2456 "Gmsh.y"
{
      Surface *s = FindSurface((int)yyvsp[-4].d);
      if(!s)
	yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-4].d);
      else{
	s->Method = TRANSFINI;
	s->Recombine_Dir = 1;
	int k = List_Nbr(yyvsp[-1].l);
	if(k != 3 && k != 4){
	  yymsg(GERROR, "Wrong definition of Transfinite Surface %d: "
		"%d points instead of 3 or 4" , (int)yyvsp[-4].d, k);
	}
	else{
	  List_Reset(s->TrsfPoints);
	  for(int i = 0; i < k; i++){
	    double d;
	    List_Read(yyvsp[-1].l, i, &d);
	    int j = (int)fabs(d);
	    Vertex *v = FindPoint(j);
	    if(!v)
	      yymsg(WARNING, "Unknown point %d", j);
	    else
	      List_Add(s->TrsfPoints, &v);
	  }
	}
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 198:
#line 2485 "Gmsh.y"
{
      Surface *s = FindSurface((int)yyvsp[-5].d);
      if(!s)
	yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-5].d);
      else{
	s->Method = TRANSFINI;
	int k = List_Nbr(yyvsp[-2].l);
	if(k != 3 && k != 4){
	  yymsg(GERROR, "Wrong definition of Transfinite Surface %d: "
		"%d points instead of 3 or 4" , (int)yyvsp[-5].d, k);
	}
	else{
	  List_Reset(s->TrsfPoints);
	  if (!strcmp(yyvsp[-1].c, "Right"))
	    s->Recombine_Dir = 1;
	  else if (!strcmp(yyvsp[-1].c, "Left"))
	    s->Recombine_Dir = -1;
	  else
	    s->Recombine_Dir = 0;
	  for(int i = 0; i < k; i++){
	    double d;
	    List_Read(yyvsp[-2].l, i, &d);
	    int j = (int)fabs(d);
	    Vertex *v = FindPoint(j);
	    if(!v)
	      yymsg(WARNING, "Unknown point %d", j);
	    else
	      List_Add(s->TrsfPoints, &v);
	  }
	}
      }
      List_Delete(yyvsp[-2].l);
      Free(yyvsp[-1].c);
    ;
    break;}
case 199:
#line 2520 "Gmsh.y"
{
      Surface *s = FindSurface((int)yyvsp[-4].d);
      if(!s)
	yymsg(WARNING, "Unknown surface %d", (int)yyvsp[-4].d);
      else{
        s->Method = ELLIPTIC;
        int k = List_Nbr(yyvsp[-1].l);
        if(k != 4)
	  yymsg(GERROR, "Wrong definition of Elliptic Surface %d: "
		"%d points instead of 4" , (int)yyvsp[-4].d, k);
        else{
	  List_Reset(s->TrsfPoints);
	  for(int i = 0; i < k; i++){
	    double d;
	    List_Read(yyvsp[-1].l, i, &d);
	    int j = (int)fabs(d);
	    Vertex *v = FindPoint(j);
	    if(!v)
	      yymsg(WARNING, "Unknown point %d", j);
	    else
	      List_Add(s->TrsfPoints, &v);
	  }
	}
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 200:
#line 2547 "Gmsh.y"
{
      Volume *v = FindVolume((int)yyvsp[-4].d);
      if(!v)
	yymsg(WARNING, "Unknown volume %d", (int)yyvsp[-4].d);
      else{
	v->Method = TRANSFINI;
	int k = List_Nbr(yyvsp[-1].l);
	if(k != 6 && k != 8)
	  yymsg(GERROR, "Wrong definition of Transfinite Volume %d: "
		"%d points instead of 6 or 8" , (int)yyvsp[-4].d, k);
	else{
	  List_Reset(v->TrsfPoints);
	  for(int i = 0; i < k; i++){
	    double d;
	    List_Read(yyvsp[-1].l, i, &d);
	    int j = (int)fabs(d);
	    Vertex *vert = FindPoint(j);
	    if(!vert)
	      yymsg(WARNING, "Unknown point %d", j);
	    else
	      List_Add(v->TrsfPoints, &vert);
	  }
	}
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 201:
#line 2574 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-3].l); i++){
	double d;
	List_Read(yyvsp[-3].l, i, &d);
	int j = (int)d;
	Surface *s = FindSurface(j);
	if(s){
	  s->Recombine = 1;
	  s->RecombineAngle = (yyvsp[-1].d > 0 && yyvsp[-1].d < 90) ? yyvsp[-1].d : 90;
	}
      }
      List_Delete(yyvsp[-3].l);
    ;
    break;}
case 202:
#line 2588 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[-1].l); i++){
	double d;
	List_Read(yyvsp[-1].l, i, &d);
	int j = (int)d;
        Surface *s = FindSurface(j);
	if(s){
	  s->Recombine = 1;
        }
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 203:
#line 2607 "Gmsh.y"
{ 
      Surface *s = FindSurface((int)yyvsp[-1].d);
      if(s)
	setSurfaceEmbeddedPoints(s, yyvsp[-4].l);
    ;
    break;}
case 204:
#line 2613 "Gmsh.y"
{
      Surface *s = FindSurface((int)yyvsp[-1].d);
      if(s)
	setSurfaceEmbeddedCurves(s, yyvsp[-4].l);
    ;
    break;}
case 205:
#line 2619 "Gmsh.y"
{
    ;
    break;}
case 206:
#line 2622 "Gmsh.y"
{
    ;
    break;}
case 207:
#line 2629 "Gmsh.y"
{ 
      ReplaceAllDuplicates();
    ;
    break;}
case 208:
#line 2633 "Gmsh.y"
{ 
      yymsg(GERROR, "Intersect is deprecated");
    ;
    break;}
case 209:
#line 2642 "Gmsh.y"
{ yyval.d = yyvsp[0].d;           ;
    break;}
case 210:
#line 2643 "Gmsh.y"
{ yyval.d = yyvsp[-1].d;           ;
    break;}
case 211:
#line 2644 "Gmsh.y"
{ yyval.d = -yyvsp[0].d;          ;
    break;}
case 212:
#line 2645 "Gmsh.y"
{ yyval.d = yyvsp[0].d;           ;
    break;}
case 213:
#line 2646 "Gmsh.y"
{ yyval.d = !yyvsp[0].d;          ;
    break;}
case 214:
#line 2647 "Gmsh.y"
{ yyval.d = yyvsp[-2].d - yyvsp[0].d;      ;
    break;}
case 215:
#line 2648 "Gmsh.y"
{ yyval.d = yyvsp[-2].d + yyvsp[0].d;      ;
    break;}
case 216:
#line 2649 "Gmsh.y"
{ yyval.d = yyvsp[-2].d * yyvsp[0].d;      ;
    break;}
case 217:
#line 2651 "Gmsh.y"
{ 
      if(!yyvsp[0].d)
	yymsg(GERROR, "Division by zero in '%g / %g'", yyvsp[-2].d, yyvsp[0].d);
      else
	yyval.d = yyvsp[-2].d / yyvsp[0].d;     
    ;
    break;}
case 218:
#line 2657 "Gmsh.y"
{ yyval.d = (int)yyvsp[-2].d % (int)yyvsp[0].d;  ;
    break;}
case 219:
#line 2658 "Gmsh.y"
{ yyval.d = pow(yyvsp[-2].d, yyvsp[0].d);  ;
    break;}
case 220:
#line 2659 "Gmsh.y"
{ yyval.d = yyvsp[-2].d < yyvsp[0].d;      ;
    break;}
case 221:
#line 2660 "Gmsh.y"
{ yyval.d = yyvsp[-2].d > yyvsp[0].d;      ;
    break;}
case 222:
#line 2661 "Gmsh.y"
{ yyval.d = yyvsp[-2].d <= yyvsp[0].d;     ;
    break;}
case 223:
#line 2662 "Gmsh.y"
{ yyval.d = yyvsp[-2].d >= yyvsp[0].d;     ;
    break;}
case 224:
#line 2663 "Gmsh.y"
{ yyval.d = yyvsp[-2].d == yyvsp[0].d;     ;
    break;}
case 225:
#line 2664 "Gmsh.y"
{ yyval.d = yyvsp[-2].d != yyvsp[0].d;     ;
    break;}
case 226:
#line 2665 "Gmsh.y"
{ yyval.d = yyvsp[-2].d && yyvsp[0].d;     ;
    break;}
case 227:
#line 2666 "Gmsh.y"
{ yyval.d = yyvsp[-2].d || yyvsp[0].d;     ;
    break;}
case 228:
#line 2667 "Gmsh.y"
{ yyval.d = yyvsp[-4].d? yyvsp[-2].d : yyvsp[0].d;  ;
    break;}
case 229:
#line 2668 "Gmsh.y"
{ yyval.d = exp(yyvsp[-1].d);      ;
    break;}
case 230:
#line 2669 "Gmsh.y"
{ yyval.d = log(yyvsp[-1].d);      ;
    break;}
case 231:
#line 2670 "Gmsh.y"
{ yyval.d = log10(yyvsp[-1].d);    ;
    break;}
case 232:
#line 2671 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-1].d);     ;
    break;}
case 233:
#line 2672 "Gmsh.y"
{ yyval.d = sin(yyvsp[-1].d);      ;
    break;}
case 234:
#line 2673 "Gmsh.y"
{ yyval.d = asin(yyvsp[-1].d);     ;
    break;}
case 235:
#line 2674 "Gmsh.y"
{ yyval.d = cos(yyvsp[-1].d);      ;
    break;}
case 236:
#line 2675 "Gmsh.y"
{ yyval.d = acos(yyvsp[-1].d);     ;
    break;}
case 237:
#line 2676 "Gmsh.y"
{ yyval.d = tan(yyvsp[-1].d);      ;
    break;}
case 238:
#line 2677 "Gmsh.y"
{ yyval.d = atan(yyvsp[-1].d);     ;
    break;}
case 239:
#line 2678 "Gmsh.y"
{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);;
    break;}
case 240:
#line 2679 "Gmsh.y"
{ yyval.d = sinh(yyvsp[-1].d);     ;
    break;}
case 241:
#line 2680 "Gmsh.y"
{ yyval.d = cosh(yyvsp[-1].d);     ;
    break;}
case 242:
#line 2681 "Gmsh.y"
{ yyval.d = tanh(yyvsp[-1].d);     ;
    break;}
case 243:
#line 2682 "Gmsh.y"
{ yyval.d = fabs(yyvsp[-1].d);     ;
    break;}
case 244:
#line 2683 "Gmsh.y"
{ yyval.d = floor(yyvsp[-1].d);    ;
    break;}
case 245:
#line 2684 "Gmsh.y"
{ yyval.d = ceil(yyvsp[-1].d);     ;
    break;}
case 246:
#line 2685 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 247:
#line 2686 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 248:
#line 2687 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ;
    break;}
case 249:
#line 2688 "Gmsh.y"
{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ;
    break;}
case 250:
#line 2690 "Gmsh.y"
{ yyval.d = exp(yyvsp[-1].d);      ;
    break;}
case 251:
#line 2691 "Gmsh.y"
{ yyval.d = log(yyvsp[-1].d);      ;
    break;}
case 252:
#line 2692 "Gmsh.y"
{ yyval.d = log10(yyvsp[-1].d);    ;
    break;}
case 253:
#line 2693 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-1].d);     ;
    break;}
case 254:
#line 2694 "Gmsh.y"
{ yyval.d = sin(yyvsp[-1].d);      ;
    break;}
case 255:
#line 2695 "Gmsh.y"
{ yyval.d = asin(yyvsp[-1].d);     ;
    break;}
case 256:
#line 2696 "Gmsh.y"
{ yyval.d = cos(yyvsp[-1].d);      ;
    break;}
case 257:
#line 2697 "Gmsh.y"
{ yyval.d = acos(yyvsp[-1].d);     ;
    break;}
case 258:
#line 2698 "Gmsh.y"
{ yyval.d = tan(yyvsp[-1].d);      ;
    break;}
case 259:
#line 2699 "Gmsh.y"
{ yyval.d = atan(yyvsp[-1].d);     ;
    break;}
case 260:
#line 2700 "Gmsh.y"
{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);;
    break;}
case 261:
#line 2701 "Gmsh.y"
{ yyval.d = sinh(yyvsp[-1].d);     ;
    break;}
case 262:
#line 2702 "Gmsh.y"
{ yyval.d = cosh(yyvsp[-1].d);     ;
    break;}
case 263:
#line 2703 "Gmsh.y"
{ yyval.d = tanh(yyvsp[-1].d);     ;
    break;}
case 264:
#line 2704 "Gmsh.y"
{ yyval.d = fabs(yyvsp[-1].d);     ;
    break;}
case 265:
#line 2705 "Gmsh.y"
{ yyval.d = floor(yyvsp[-1].d);    ;
    break;}
case 266:
#line 2706 "Gmsh.y"
{ yyval.d = ceil(yyvsp[-1].d);     ;
    break;}
case 267:
#line 2707 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 268:
#line 2708 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 269:
#line 2709 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ;
    break;}
case 270:
#line 2710 "Gmsh.y"
{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ;
    break;}
case 271:
#line 2719 "Gmsh.y"
{ yyval.d = yyvsp[0].d; ;
    break;}
case 272:
#line 2720 "Gmsh.y"
{ yyval.d = 3.141592653589793; ;
    break;}
case 273:
#line 2721 "Gmsh.y"
{ yyval.d = ParUtil::Instance()->rank(); ;
    break;}
case 274:
#line 2722 "Gmsh.y"
{ yyval.d = ParUtil::Instance()->size(); ;
    break;}
case 275:
#line 2723 "Gmsh.y"
{ yyval.d = Get_GmshMajorVersion(); ;
    break;}
case 276:
#line 2724 "Gmsh.y"
{ yyval.d = Get_GmshMinorVersion(); ;
    break;}
case 277:
#line 2725 "Gmsh.y"
{ yyval.d = Get_GmshPatchVersion(); ;
    break;}
case 278:
#line 2730 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[0].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[0].c);
	yyval.d = 0.;
      }
      else
	yyval.d = *(double*)List_Pointer_Fast(pSymbol->val, 0);
      Free(yyvsp[0].c);
    ;
    break;}
case 279:
#line 2746 "Gmsh.y"
{
      char tmpstring[1024];
      sprintf(tmpstring, "%s_%d", yyvsp[-4].c, (int)yyvsp[-1].d) ;
      Symbol TheSymbol;
      TheSymbol.Name = tmpstring;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", tmpstring);
	yyval.d = 0.;
      }
      else
	yyval.d = *(double*)List_Pointer_Fast(pSymbol->val, 0);
      Free(yyvsp[-4].c);
    ;
    break;}
case 280:
#line 2761 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-3].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-3].c);
	yyval.d = 0.;
      }
      else{
	double *pd;
	if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-1].d)))
	  yyval.d = *pd;
	else{
	  yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-3].c, (int)yyvsp[-1].d);
	  yyval.d = 0.;
	}
      }
      Free(yyvsp[-3].c);
    ;
    break;}
case 281:
#line 2781 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-2].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c);
	yyval.d = 0.;
      }
      else{
	yyval.d = List_Nbr(pSymbol->val);
      }
      Free(yyvsp[-2].c);
    ;
    break;}
case 282:
#line 2795 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-1].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-1].c);
	yyval.d = 0.;
      }
      else
	yyval.d = (*(double*)List_Pointer_Fast(pSymbol->val, 0) += yyvsp[0].i);
      Free(yyvsp[-1].c);
    ;
    break;}
case 283:
#line 2808 "Gmsh.y"
{
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-4].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-4].c);
	yyval.d = 0.;
      }
      else{
	double *pd;
	if((pd = (double*)List_Pointer_Test(pSymbol->val, (int)yyvsp[-2].d)))
	  yyval.d = (*pd += yyvsp[0].i);
	else{
	  yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-4].c, (int)yyvsp[-2].d);
	  yyval.d = 0.;
	}
      }
      Free(yyvsp[-4].c);
    ;
    break;}
case 284:
#line 2831 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-2].c))){
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-2].c);
	yyval.d = 0.;
      }
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[0].c, pNumCat))){
	  yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-2].c, yyvsp[0].c);
	  yyval.d = 0.;
	}
	else
	  yyval.d = pNumOpt(0, GMSH_GET, 0);
      }
      Free(yyvsp[-2].c); Free(yyvsp[0].c);
    ;
    break;}
case 285:
#line 2849 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-5].c))){
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-5].c);
	yyval.d = 0.;
      }
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[0].c, pNumCat))){
	  yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-5].c, (int)yyvsp[-3].d, yyvsp[0].c);
	  yyval.d = 0.;
	}
	else
	  yyval.d = pNumOpt((int)yyvsp[-3].d, GMSH_GET, 0);
      }
      Free(yyvsp[-5].c); Free(yyvsp[0].c);
    ;
    break;}
case 286:
#line 2867 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-3].c))){
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-3].c);
	yyval.d = 0.;
      }
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[-1].c, pNumCat))){
	  yymsg(GERROR, "Unknown numeric option '%s.%s'", yyvsp[-3].c, yyvsp[-1].c);
	  yyval.d = 0.;
	}
	else
	  yyval.d = pNumOpt(0, GMSH_SET|GMSH_GUI, pNumOpt(0, GMSH_GET, 0)+yyvsp[0].i);
      }
      Free(yyvsp[-3].c); Free(yyvsp[-1].c);
    ;
    break;}
case 287:
#line 2885 "Gmsh.y"
{
      double (*pNumOpt)(int num, int action, double value);
      StringXNumber *pNumCat;
      if(!(pNumCat = Get_NumberOptionCategory(yyvsp[-6].c))){
	yymsg(GERROR, "Unknown numeric option class '%s'", yyvsp[-6].c);
	yyval.d = 0.;
      }
      else{
	if(!(pNumOpt =  (double (*) (int, int, double))Get_NumberOption(yyvsp[-1].c, pNumCat))){
	  yymsg(GERROR, "Unknown numeric option '%s[%d].%s'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].c);
	  yyval.d = 0.;
	}
	else
	  yyval.d = pNumOpt((int)yyvsp[-4].d, GMSH_SET|GMSH_GUI, pNumOpt((int)yyvsp[-4].d, GMSH_GET, 0)+yyvsp[0].i);
      }
      Free(yyvsp[-6].c); Free(yyvsp[-1].c);
    ;
    break;}
case 288:
#line 2903 "Gmsh.y"
{ 
      yyval.d = GetValue(yyvsp[-3].c, yyvsp[-1].d);
      Free(yyvsp[-3].c);
    ;
    break;}
case 289:
#line 2911 "Gmsh.y"
{
      memcpy(yyval.v, yyvsp[0].v, 5*sizeof(double));
    ;
    break;}
case 290:
#line 2915 "Gmsh.y"
{
      for(int i = 0; i < 5; i++) yyval.v[i] = -yyvsp[0].v[i];
    ;
    break;}
case 291:
#line 2919 "Gmsh.y"
{ 
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[0].v[i];
    ;
    break;}
case 292:
#line 2923 "Gmsh.y"
{ 
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] - yyvsp[0].v[i];
    ;
    break;}
case 293:
#line 2927 "Gmsh.y"
{
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] + yyvsp[0].v[i];
    ;
    break;}
case 294:
#line 2934 "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 295:
#line 2938 "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 296:
#line 2942 "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 297:
#line 2946 "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 298:
#line 2953 "Gmsh.y"
{
    ;
    break;}
case 299:
#line 2956 "Gmsh.y"
{
       yyval.l = yyvsp[-1].l;
    ;
    break;}
case 300:
#line 2960 "Gmsh.y"
{
       yyval.l = yyvsp[-1].l;
    ;
    break;}
case 301:
#line 2967 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(List_T*));
      List_Add(yyval.l, &(yyvsp[0].l));
    ;
    break;}
case 302:
#line 2972 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].l));
    ;
    break;}
case 303:
#line 2980 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 304:
#line 2985 "Gmsh.y"
{
      yyval.l = yyvsp[0].l;
    ;
    break;}
case 305:
#line 2989 "Gmsh.y"
{
      // creates an empty list
      yyval.l = List_Create(2, 1, sizeof(double));
    ;
    break;}
case 306:
#line 2994 "Gmsh.y"
{
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 307:
#line 2998 "Gmsh.y"
{
      yyval.l = yyvsp[-1].l;
      double *pd;
      for(int i = 0; i < List_Nbr(yyval.l); i++){
	pd = (double*)List_Pointer(yyval.l, i);
	(*pd) = - (*pd);
      }
    ;
    break;}
case 308:
#line 3010 "Gmsh.y"
{ 
      yyval.l = List_Create(2, 1, sizeof(double)); 
      for(double d = yyvsp[-2].d; (yyvsp[-2].d < yyvsp[0].d) ? (d <= yyvsp[0].d) : (d >= yyvsp[0].d); (yyvsp[-2].d < yyvsp[0].d) ? (d += 1.) : (d -= 1.)) 
	List_Add(yyval.l, &d);
    ;
    break;}
case 309:
#line 3016 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double)); 
      if(!yyvsp[0].d || (yyvsp[-4].d < yyvsp[-2].d && yyvsp[0].d < 0) || (yyvsp[-4].d > yyvsp[-2].d && yyvsp[0].d > 0)){
        yymsg(GERROR, "Wrong increment in '%g:%g:%g'", yyvsp[-4].d, yyvsp[-2].d, yyvsp[0].d);
	List_Add(yyval.l, &(yyvsp[-4].d));
      }
      else
	for(double d = yyvsp[-4].d; (yyvsp[0].d > 0) ? (d <= yyvsp[-2].d) : (d >= yyvsp[-2].d); d += yyvsp[0].d)
	  List_Add(yyval.l, &d);
   ;
    break;}
case 310:
#line 3027 "Gmsh.y"
{
      // Returns the coordinates of a point and fills a list with it.
      // This allows to ensure e.g. that relative point positions are
      // always conserved
      Vertex *v = FindPoint((int)yyvsp[-1].d);
      yyval.l = List_Create(3, 1, sizeof(double));      
      if(!v) {
	yymsg(GERROR, "Unknown point '%d'", (int) yyvsp[-1].d);
	double d = 0.0;
	List_Add(yyval.l, &d);
	List_Add(yyval.l, &d);
	List_Add(yyval.l, &d);
      }
      else{
	List_Add(yyval.l, &v->Pos.X);
	List_Add(yyval.l, &v->Pos.Y);
	List_Add(yyval.l, &v->Pos.Z);
      }
    ;
    break;}
case 311:
#line 3047 "Gmsh.y"
{
      yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double));
      for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){
	Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i);
	double d = s->Num;
	List_Add(yyval.l, &d);
      }
      List_Delete(yyvsp[0].l);
    ;
    break;}
case 312:
#line 3057 "Gmsh.y"
{
      yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double));
      for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){
	Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i);
	double d = s->Num;
	List_Add(yyval.l, &d);
      }
      List_Delete(yyvsp[0].l);
    ;
    break;}
case 313:
#line 3067 "Gmsh.y"
{
      yyval.l = List_Create(List_Nbr(yyvsp[0].l), 1, sizeof(double));
      for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){
	Shape *s = (Shape*) List_Pointer(yyvsp[0].l, i);
	double d = s->Num;
	List_Add(yyval.l, &d);
      }
      List_Delete(yyvsp[0].l);
    ;
    break;}
case 314:
#line 3077 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-2].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c);
	double d = 0.0;
	List_Add(yyval.l, &d);
      }
      else{
	for(int i = 0; i < List_Nbr(pSymbol->val); i++)
	  List_Add(yyval.l, (double*)List_Pointer_Fast(pSymbol->val, i));
      }
      Free(yyvsp[-2].c);
    ;
    break;}
case 315:
#line 3094 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-2].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-2].c);
	double d = 0.0;
	List_Add(yyval.l, &d);
      }
      else{
	for(int i = 0; i < List_Nbr(pSymbol->val); i++){
	  double d = - *(double*)List_Pointer_Fast(pSymbol->val, i);
	  List_Add(yyval.l, &d);
	}
      }
      Free(yyvsp[-2].c);
    ;
    break;}
case 316:
#line 3113 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-5].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c);
	double d = 0.0;
	List_Add(yyval.l, &d);
      }
      else{
	for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	  int j = (int)(*(double*)List_Pointer_Fast(yyvsp[-2].l, i));
	  double *pd;
	  if((pd = (double*)List_Pointer_Test(pSymbol->val, j)))
	    List_Add(yyval.l, pd);
	  else
	    yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, j);	  
	}
      }
      Free(yyvsp[-5].c);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 317:
#line 3137 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      Symbol TheSymbol;
      TheSymbol.Name = yyvsp[-5].c;
      Symbol *pSymbol;
      if(!(pSymbol = (Symbol*)Tree_PQuery(Symbol_T, &TheSymbol))) {
	yymsg(GERROR, "Unknown variable '%s'", yyvsp[-5].c);
	double d = 0.0;
	List_Add(yyval.l, &d);
      }
      else{
	for(int i = 0; i < List_Nbr(yyvsp[-2].l); i++){
	  int j = (int)(*(double*)List_Pointer_Fast(yyvsp[-2].l, i));
	  double *pd;
	  if((pd = (double*)List_Pointer_Test(pSymbol->val, j))){
	    double d = - *pd;
	    List_Add(yyval.l, &d);
	  }
	  else
	    yymsg(GERROR, "Uninitialized variable '%s[%d]'", yyvsp[-5].c, j);	  
	}
      }
      Free(yyvsp[-5].c);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 318:
#line 3166 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 319:
#line 3171 "Gmsh.y"
{
      yyval.l = yyvsp[0].l;
    ;
    break;}
case 320:
#line 3175 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 321:
#line 3179 "Gmsh.y"
{
      for(int i = 0; i < List_Nbr(yyvsp[0].l); i++){
	double d;
	List_Read(yyvsp[0].l, i, &d);
	List_Add(yyval.l, &d);
      }
      List_Delete(yyvsp[0].l);
    ;
    break;}
case 322:
#line 3192 "Gmsh.y"
{
      yyval.u = CTX.PACK_COLOR((int)yyvsp[-7].d, (int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d);
    ;
    break;}
case 323:
#line 3196 "Gmsh.y"
{
      yyval.u = CTX.PACK_COLOR((int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d, 255);
    ;
    break;}
case 324:
#line 3208 "Gmsh.y"
{
      int flag;
      yyval.u = Get_ColorForString(ColorString, -1, yyvsp[0].c, &flag);
      if(flag) yymsg(GERROR, "Unknown color '%s'", yyvsp[0].c);
      Free(yyvsp[0].c);
    ;
    break;}
case 325:
#line 3215 "Gmsh.y"
{
      unsigned int (*pColOpt)(int num, int action, unsigned int value);
      StringXColor *pColCat;
      if(!(pColCat = Get_ColorOptionCategory(yyvsp[-4].c))){
	yymsg(GERROR, "Unknown color option class '%s'", yyvsp[-4].c);
	yyval.u = 0;
      }
      else{
	if(!(pColOpt =  (unsigned int (*) (int, int, unsigned int))Get_ColorOption(yyvsp[0].c, pColCat))){
	  yymsg(GERROR, "Unknown color option '%s.Color.%s'", yyvsp[-4].c, yyvsp[0].c);
	  yyval.u = 0;
	}
	else{
	  yyval.u = pColOpt(0, GMSH_GET, 0);
	}
      }
      Free(yyvsp[-4].c); Free(yyvsp[0].c);
    ;
    break;}
case 326:
#line 3237 "Gmsh.y"
{
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 327:
#line 3241 "Gmsh.y"
{
      yyval.l = List_Create(256, 10, sizeof(unsigned int));
      GmshColorTable *ct = Get_ColorTable((int)yyvsp[-3].d);
      if(!ct)
	yymsg(GERROR, "View[%d] does not exist", (int)yyvsp[-3].d);
      else{
	for(int i = 0; i < ct->size; i++) 
	  List_Add(yyval.l, &ct->table[i]);
      }
      Free(yyvsp[-5].c);
    ;
    break;}
case 328:
#line 3256 "Gmsh.y"
{
      yyval.l = List_Create(256, 10, sizeof(unsigned int));
      List_Add(yyval.l, &(yyvsp[0].u));
    ;
    break;}
case 329:
#line 3261 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].u));
    ;
    break;}
case 330:
#line 3268 "Gmsh.y"
{
      yyval.c = yyvsp[0].c;
    ;
    break;}
case 331:
#line 3272 "Gmsh.y"
{
      yyval.c = (char *)Malloc(32*sizeof(char));
      time_t now;
      time(&now);
      strcpy(yyval.c, ctime(&now));
      yyval.c[strlen(yyval.c) - 1] = '\0';
    ;
    break;}
case 332:
#line 3280 "Gmsh.y"
{
      yyval.c = (char *)Malloc((strlen(yyvsp[-3].c)+strlen(yyvsp[-1].c)+1)*sizeof(char));
      strcpy(yyval.c, yyvsp[-3].c);
      strcat(yyval.c, yyvsp[-1].c);
      Free(yyvsp[-3].c);
      Free(yyvsp[-1].c);
    ;
    break;}
case 333:
#line 3288 "Gmsh.y"
{
      yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char));
      int i;
      for(i = strlen(yyvsp[-1].c)-1; i >= 0; i--){
	if(yyvsp[-1].c[i] == '.'){
	  strncpy(yyval.c, yyvsp[-1].c, i);
	  yyval.c[i]='\0';
	  break;
	}
      }
      if(i <= 0) strcpy(yyval.c, yyvsp[-1].c);
      Free(yyvsp[-1].c);
    ;
    break;}
case 334:
#line 3302 "Gmsh.y"
{
      yyval.c = (char *)Malloc((strlen(yyvsp[-1].c)+1)*sizeof(char));
      int i;
      for(i = strlen(yyvsp[-1].c)-1; i >= 0; i--){
	if(yyvsp[-1].c[i] == '/' || yyvsp[-1].c[i] == '\\')
	  break;
      }
      if(i <= 0)
	strcpy(yyval.c, yyvsp[-1].c);
      else
	strcpy(yyval.c, &yyvsp[-1].c[i+1]);
      Free(yyvsp[-1].c);
    ;
    break;}
case 335:
#line 3316 "Gmsh.y"
{
      yyval.c = yyvsp[-1].c;
    ;
    break;}
case 336:
#line 3320 "Gmsh.y"
{
      char tmpstring[1024];
      int i = PrintListOfDouble(yyvsp[-3].c, yyvsp[-1].l, tmpstring);
      if(i < 0){
	yymsg(GERROR, "Too few arguments in Sprintf");
	yyval.c = yyvsp[-3].c;
      }
      else if(i > 0){
	yymsg(GERROR, "%d extra argument%s in Sprintf", i, (i>1)?"s":"");
	yyval.c = yyvsp[-3].c;
      }
      else{
	yyval.c = (char*)Malloc((strlen(tmpstring)+1)*sizeof(char));
	strcpy(yyval.c, tmpstring);
	Free(yyvsp[-3].c);
      }
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 337:
#line 3339 "Gmsh.y"
{ 
      char* (*pStrOpt)(int num, int action, char *value);
      StringXString *pStrCat;
      if(!(pStrCat = Get_StringOptionCategory(yyvsp[-3].c))){
	yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-3].c);
	yyval.c = (char*)Malloc(sizeof(char));
	yyval.c[0] = '\0';
      }
      else{
	if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-1].c, pStrCat))){
	  yymsg(GERROR, "Unknown string option '%s.%s'", yyvsp[-3].c, yyvsp[-1].c);
	  yyval.c = (char*)Malloc(sizeof(char));
	  yyval.c[0] = '\0';
	}
	else{
	  char *str = pStrOpt(0, GMSH_GET, NULL);
	  yyval.c = (char*)Malloc((strlen(str)+1)*sizeof(char));
	  strcpy(yyval.c, str);
	}
      }
    ;
    break;}
case 338:
#line 3361 "Gmsh.y"
{ 
      char* (*pStrOpt)(int num, int action, char *value);
      StringXString *pStrCat;
      if(!(pStrCat = Get_StringOptionCategory(yyvsp[-6].c))){
	yymsg(GERROR, "Unknown string option class '%s'", yyvsp[-6].c);
	yyval.c = (char*)Malloc(sizeof(char));
	yyval.c[0] = '\0';
      }
      else{
	if(!(pStrOpt = (char *(*) (int, int, char *))Get_StringOption(yyvsp[-1].c, pStrCat))){
	  yymsg(GERROR, "Unknown string option '%s[%d].%s'", yyvsp[-6].c, (int)yyvsp[-4].d, yyvsp[-1].c);
	  yyval.c = (char*)Malloc(sizeof(char));
	  yyval.c[0] = '\0';
	}
	else{
	  char *str = pStrOpt((int)yyvsp[-4].d, GMSH_GET, NULL);
	  yyval.c = (char*)Malloc((strlen(str)+1)*sizeof(char));
	  strcpy(yyval.c, str);
	}
      }
    ;
    break;}
}
   /* the action file gets copied in in place of this dollarsign */
#line 543 "/usr/share/bison.simple"

  yyvsp -= yylen;
  yyssp -= yylen;
#ifdef YYLSP_NEEDED
  yylsp -= yylen;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

  *++yyvsp = yyval;

#ifdef YYLSP_NEEDED
  yylsp++;
  if (yylen == 0)
    {
      yylsp->first_line = yylloc.first_line;
      yylsp->first_column = yylloc.first_column;
      yylsp->last_line = (yylsp-1)->last_line;
      yylsp->last_column = (yylsp-1)->last_column;
      yylsp->text = 0;
    }
  else
    {
      yylsp->last_line = (yylsp+yylen-1)->last_line;
      yylsp->last_column = (yylsp+yylen-1)->last_column;
    }
#endif

  /* Now "shift" the result of the reduction.
     Determine what state that goes to,
     based on the state we popped back to
     and the rule number reduced by.  */

  yyn = yyr1[yyn];

  yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    yystate = yytable[yystate];
  else
    yystate = yydefgoto[yyn - YYNTBASE];

  goto yynewstate;

yyerrlab:   /* here on detecting error */

  if (! yyerrstatus)
    /* If not already recovering from an error, report this error.  */
    {
      ++yynerrs;

#ifdef YYERROR_VERBOSE
      yyn = yypact[yystate];

      if (yyn > YYFLAG && yyn < YYLAST)
	{
	  int size = 0;
	  char *msg;
	  int x, count;

	  count = 0;
	  /* Start X at -yyn if nec to avoid negative indexes in yycheck.  */
	  for (x = (yyn < 0 ? -yyn : 0);
	       x < (sizeof(yytname) / sizeof(char *)); x++)
	    if (yycheck[x + yyn] == x)
	      size += strlen(yytname[x]) + 15, count++;
	  msg = (char *) malloc(size + 15);
	  if (msg != 0)
	    {
	      strcpy(msg, "parse error");

	      if (count < 5)
		{
		  count = 0;
		  for (x = (yyn < 0 ? -yyn : 0);
		       x < (sizeof(yytname) / sizeof(char *)); x++)
		    if (yycheck[x + yyn] == x)
		      {
			strcat(msg, count == 0 ? ", expecting `" : " or `");
			strcat(msg, yytname[x]);
			strcat(msg, "'");
			count++;
		      }
		}
	      yyerror(msg);
	      free(msg);
	    }
	  else
	    yyerror ("parse error; also virtual memory exceeded");
	}
      else
#endif /* YYERROR_VERBOSE */
	yyerror("parse error");
    }

  goto yyerrlab1;
yyerrlab1:   /* here on error raised explicitly by an action */

  if (yyerrstatus == 3)
    {
      /* if just tried and failed to reuse lookahead token after an error, discard it.  */

      /* return failure if at end of input */
      if (yychar == YYEOF)
	YYABORT;

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif

      yychar = YYEMPTY;
    }

  /* Else will try to reuse lookahead token
     after shifting the error token.  */

  yyerrstatus = 3;		/* Each real token shifted decrements this */

  goto yyerrhandle;

yyerrdefault:  /* current state does not do anything special for the error token. */

#if 0
  /* This is wrong; only states that explicitly want error tokens
     should shift them.  */
  yyn = yydefact[yystate];  /* If its default is to accept any token, ok.  Otherwise pop it.*/
  if (yyn) goto yydefault;
#endif

yyerrpop:   /* pop the current state because it cannot handle the error token */

  if (yyssp == yyss) YYABORT;
  yyvsp--;
  yystate = *--yyssp;
#ifdef YYLSP_NEEDED
  yylsp--;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "Error: state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

yyerrhandle:

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yyerrdefault;

  yyn += YYTERROR;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
    goto yyerrdefault;

  yyn = yytable[yyn];
  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrpop;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrpop;

  if (yyn == YYFINAL)
    YYACCEPT;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting error token, ");
#endif

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  yystate = yyn;
  goto yynewstate;

 yyacceptlab:
  /* YYACCEPT comes here.  */
  if (yyfree_stacks)
    {
      free (yyss);
      free (yyvs);
#ifdef YYLSP_NEEDED
      free (yyls);
#endif
    }
  return 0;

 yyabortlab:
  /* YYABORT comes here.  */
  if (yyfree_stacks)
    {
      free (yyss);
      free (yyvs);
#ifdef YYLSP_NEEDED
      free (yyls);
#endif
    }
  return 1;
}
#line 3384 "Gmsh.y"


void DeleteSymbol(void *a, void *b){
  Symbol *s = (Symbol*)a;
  Free(s->Name);
  List_Delete(s->val);
}

int CompareSymbols (const void *a, const void *b){
  return(strcmp(((Symbol*)a)->Name, ((Symbol*)b)->Name));
}

void InitSymbols(void){
  if(Symbol_T){
    Tree_Action(Symbol_T, DeleteSymbol);
    Tree_Delete(Symbol_T);
  }
  Symbol_T = Tree_Create(sizeof(Symbol), CompareSymbols);
}

int PrintListOfDouble(char *format, List_T *list, char *buffer){
  int j, k;
  char tmp1[256], tmp2[256];

  j = 0;
  buffer[j] = '\0';

  while(j < (int)strlen(format) && format[j] != '%') j++;
  strncpy(buffer, format, j); 
  buffer[j]='\0'; 
  for(int i = 0; i < List_Nbr(list); i++){
    k = j;
    j++;
    if(j < (int)strlen(format)){
      if(format[j] == '%'){
	strcat(buffer, "%");
	j++;
      }
      while(j < (int)strlen(format) && format[j] != '%') j++;
      if(k != j){
	strncpy(tmp1, &(format[k]), j-k);
	tmp1[j-k] = '\0';
	sprintf(tmp2, tmp1, *(double*)List_Pointer(list, i)); 
	strcat(buffer, tmp2);
      }
    }
    else{
      return List_Nbr(list)-i;
    }
  }
  if(j != (int)strlen(format))
    return -1;
  return 0;
}

int CheckViewErrorFlags(Post_View *v){
  if(View->adaptive) return 0; // hope for the best :-)

  char *name[8] = { "point", "line", "triangle", "quadrangle", 
		    "tetrahedron", "hexahedron", "prism", "pyramid" };
  char *type[3] = { "scalar", "vector", "tensor" };

  if(8 * 3 != VIEW_NB_ELEMENT_TYPES){
    Msg(GERROR, "Please upgrade CheckViewErrorFlags!");
    return 0;
  }
  
  for(int i = 0; i < VIEW_NB_ELEMENT_TYPES; i++)
    if(ViewErrorFlags[i])
      Msg(GERROR, "%d %s %s%s in View[%d] contain%s a wrong number of values",
	  ViewErrorFlags[i], type[i%3], name[i/3], (ViewErrorFlags[i] > 1) ? "s" : "",
	  v->Index, (ViewErrorFlags[i] > 1) ? "" : "s");
  
  return 0;
}

void yyerror(char *s){
  Msg(GERROR, "'%s', line %d : %s (%s)", yyname, yylineno-1, s, yytext);
  yyerrorstate++;
}

void yymsg(int type, char *fmt, ...){
  va_list args;
  char tmp[1024];

  va_start (args, fmt);
  vsprintf (tmp, fmt, args);
  va_end (args);

  Msg(type, "'%s', line %d : %s", yyname, yylineno-1, tmp);

  if(type == GERROR) yyerrorstate++;
}