Skip to content
Snippets Groups Projects
Forked from gmsh / gmsh
17306 commits behind the upstream repository.
Gmsh.tab.cpp 251.01 KiB

/*  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	tAttractor	325
#define	tLayers	326
#define	tAlias	327
#define	tAliasWithOptions	328
#define	tText2D	329
#define	tText3D	330
#define	tInterpolationScheme	331
#define	tTime	332
#define	tGrain	333
#define	tCombine	334
#define	tBSpline	335
#define	tBezier	336
#define	tNurbs	337
#define	tOrder	338
#define	tWith	339
#define	tBounds	340
#define	tKnots	341
#define	tColor	342
#define	tColorTable	343
#define	tFor	344
#define	tIn	345
#define	tEndFor	346
#define	tIf	347
#define	tEndIf	348
#define	tExit	349
#define	tReturn	350
#define	tCall	351
#define	tFunction	352
#define	tShow	353
#define	tHide	354
#define	tGetValue	355
#define	tGMSH_MAJOR_VERSION	356
#define	tGMSH_MINOR_VERSION	357
#define	tGMSH_PATCH_VERSION	358
#define	tAFFECTPLUS	359
#define	tAFFECTMINUS	360
#define	tAFFECTTIMES	361
#define	tAFFECTDIVIDE	362
#define	tOR	363
#define	tAND	364
#define	tEQUAL	365
#define	tNOTEQUAL	366
#define	tAPPROXEQUAL	367
#define	tLESSOREQUAL	368
#define	tGREATEROREQUAL	369
#define	tCROSSPRODUCT	370
#define	tPLUSPLUS	371
#define	tMINUSMINUS	372
#define	UNARYPREC	373

#line 1 "Gmsh.y"

// $Id: Gmsh.tab.cpp,v 1.297 2007-01-20 14:06:37 geuzaine Exp $
//
// Copyright (C) 1997-2007 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 "GModel.h"
#include "Geo.h"
#include "GeoInterpolation.h"
#include "GeoUtils.h"
#include "Generator.h"
#include "Draw.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"

Tree_T *Symbol_T = NULL;

extern Context_T CTX;
extern Mesh *THEM;
extern GModel *GMODEL;

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 76 "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		1168
#define	YYFLAG		-32768
#define	YYNTBASE	140

#define YYTRANSLATE(x) ((unsigned)(x) <= 373 ? yytranslate[x] : 206)

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,   125,     2,   135,     2,   123,     2,     2,   130,
   131,   121,   119,   136,   120,   134,   122,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,   115,
     2,   117,   109,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
   132,     2,   133,   129,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,   137,     2,   138,   139,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     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,   110,   111,   112,   113,   114,   116,   118,   124,
   126,   127,   128
};

#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,
   375,   377,   385,   394,   407,   414,   422,   430,   438,   448,
   456,   466,   484,   492,   500,   512,   521,   534,   543,   552,
   561,   570,   579,   588,   596,   605,   611,   623,   629,   639,
   641,   643,   645,   646,   649,   656,   663,   670,   677,   682,
   689,   696,   703,   708,   715,   719,   724,   730,   734,   738,
   743,   748,   752,   760,   768,   772,   780,   784,   787,   790,
   806,   809,   816,   825,   834,   845,   847,   850,   852,   856,
   861,   863,   869,   881,   895,   896,   904,   905,   919,   920,
   936,   945,   954,   963,   976,   989,  1002,  1017,  1032,  1047,
  1048,  1061,  1062,  1075,  1076,  1089,  1090,  1107,  1108,  1125,
  1126,  1143,  1144,  1163,  1164,  1183,  1184,  1203,  1205,  1208,
  1214,  1222,  1232,  1235,  1242,  1252,  1262,  1271,  1281,  1290,
  1299,  1306,  1311,  1318,  1325,  1332,  1339,  1342,  1344,  1348,
  1351,  1354,  1357,  1361,  1365,  1369,  1373,  1377,  1381,  1385,
  1389,  1393,  1397,  1401,  1405,  1409,  1413,  1419,  1424,  1429,
  1434,  1439,  1444,  1449,  1454,  1459,  1464,  1469,  1476,  1481,
  1486,  1491,  1496,  1501,  1506,  1513,  1520,  1527,  1532,  1537,
  1542,  1547,  1552,  1557,  1562,  1567,  1572,  1577,  1582,  1589,
  1594,  1599,  1604,  1609,  1614,  1619,  1626,  1633,  1640,  1645,
  1647,  1649,  1651,  1653,  1655,  1657,  1659,  1661,  1667,  1672,
  1677,  1680,  1686,  1690,  1697,  1702,  1710,  1717,  1719,  1722,
  1725,  1729,  1733,  1745,  1755,  1763,  1771,  1772,  1776,  1780,
  1782,  1786,  1788,  1790,  1793,  1797,  1802,  1806,  1812,  1817,
  1819,  1821,  1823,  1827,  1832,  1839,  1847,  1849,  1851,  1855,
  1859,  1869,  1877,  1879,  1885,  1889,  1896,  1898,  1902,  1904,
  1906,  1913,  1918,  1923,  1928,  1935,  1942
};

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

#endif

#if YYDEBUG != 0
static const short yyrline[] = { 0,
   141,   143,   148,   150,   153,   155,   156,   157,   158,   159,
   160,   161,   162,   163,   164,   165,   166,   167,   168,   171,
   176,   182,   188,   203,   216,   244,   252,   261,   269,   270,
   271,   272,   273,   274,   277,   280,   284,   287,   291,   482,
   500,   510,   516,   523,   531,   537,   543,   550,   558,   564,
   572,   577,   581,   590,   592,   593,   594,   595,   598,   600,
   603,   638,   677,   731,   748,   766,   777,   796,   810,   827,
   853,   880,   894,   911,   925,   942,   962,   985,   995,  1009,
  1014,  1021,  1043,  1059,  1066,  1088,  1106,  1124,  1142,  1168,
  1186,  1212,  1232,  1256,  1280,  1306,  1323,  1330,  1349,  1367,
  1405,  1421,  1441,  1458,  1475,  1495,  1501,  1506,  1511,  1518,
  1520,  1521,  1524,  1529,  1533,  1549,  1565,  1581,  1601,  1616,
  1622,  1628,  1639,  1649,  1659,  1674,  1692,  1706,  1713,  1719,
  1728,  1741,  1787,  1802,  1813,  1833,  1843,  1865,  1869,  1874,
  1879,  1889,  1906,  1922,  1948,  1975,  2007,  2014,  2019,  2025,
  2029,  2037,  2046,  2054,  2062,  2067,  2075,  2080,  2088,  2093,
  2103,  2110,  2117,  2124,  2131,  2138,  2145,  2152,  2159,  2166,
  2171,  2178,  2183,  2190,  2195,  2202,  2207,  2214,  2219,  2226,
  2231,  2238,  2243,  2250,  2255,  2262,  2267,  2277,  2281,  2286,
  2296,  2318,  2342,  2350,  2369,  2387,  2405,  2434,  2469,  2474,
  2501,  2515,  2533,  2540,  2546,  2549,  2557,  2567,  2569,  2570,
  2571,  2572,  2573,  2574,  2575,  2576,  2583,  2584,  2585,  2586,
  2587,  2588,  2589,  2590,  2591,  2592,  2593,  2594,  2595,  2596,
  2597,  2598,  2599,  2600,  2601,  2602,  2603,  2604,  2605,  2606,
  2607,  2608,  2609,  2610,  2611,  2612,  2613,  2614,  2616,  2617,
  2618,  2619,  2620,  2621,  2622,  2623,  2624,  2625,  2626,  2627,
  2628,  2629,  2630,  2631,  2632,  2633,  2634,  2635,  2636,  2641,
  2646,  2647,  2648,  2649,  2650,  2651,  2655,  2671,  2686,  2706,
  2720,  2733,  2756,  2774,  2792,  2810,  2828,  2835,  2840,  2844,
  2848,  2852,  2858,  2863,  2867,  2871,  2877,  2881,  2885,  2891,
  2897,  2904,  2910,  2914,  2919,  2923,  2934,  2941,  2952,  2972,
  2982,  2992,  3002,  3019,  3038,  3062,  3090,  3096,  3100,  3104,
  3116,  3121,  3133,  3140,  3161,  3166,  3180,  3186,  3192,  3197,
  3205,  3213,  3227,  3241,  3245,  3264,  3286
};
#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","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",
"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","PhysicalId","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","RecursiveListOfListOfDouble",
"ListOfDouble","FExpr_Multi","RecursiveListOfDouble","ColorExpr","ListOfColor",
"RecursiveListOfColor","StringExpr", NULL
};
#endif

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

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

static const short yydefgoto[] = {  1166,
     2,    51,   619,    52,    53,   373,   897,   903,   546,   696,
  1013,  1129,   547,  1099,  1153,   548,  1131,   549,   550,   700,
   551,   117,   206,    54,   483,   513,   131,   496,   497,   132,
    58,    59,    60,    61,    62,   133,   668,  1066,  1111,   946,
   949,   952,  1081,  1085,  1089,  1120,  1123,  1126,   776,   777,
    64,    65,    66,   134,   120,   325,   166,   806,   807,   136,
   298,   190,   614,   729,   485
};

static const short yypact[] = {  2724,
    27,  3035,-32768,  2115,  -112,     8,    63,  1556,  -106,   -41,
  1298,  1427,   -15,    -7,    82,    33,   103,   125,   132,   540,
   153,   397,    73,    89,    72,    72,   100,   326,    12,   165,
    13,   239,    26,   298,   305,   341,   218,   221,   228,    17,
    39,-32768,   245,-32768,   362,-32768,   409,   417,    22,    60,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,     0,    18,-32768,
-32768,-32768,-32768,   -77,   204,   259,   275,   432,   436,   450,
   484,   494,   498,   511,   553,   554,   615,   616,   639,   642,
   653,   654,   662,   672,   256,   317,   318,   323,-32768,   324,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,  2326,  2326,  2326,
-32768,-32768,  2326,  1751,    40,   457,  2326,   477,   836,-32768,
   478,   485,-32768,  2326,-32768,   449,   356,   678,  2326,  1162,
-32768,-32768,-32768,  2454,   407,-32768,  2326,  2326,   383,  2326,
   430,   399,   437,  2326,  2326,  1685,  2326,   411,   406,   426,
  1685,   420,   468,   456,   517,   518,   527,   537,   650,    72,
    72,    72,  2326,  2326,    79,-32768,   114,    72,   538,   539,
   543,  1986,   176,   532,-32768,  1685,    32,-32768,-32768,  1685,
  1685,   579,   580,   665,  2326,  2326,  2326,   585,  2326,   583,
   637,  2326,  2326,-32768,   732,-32768,-32768,-32768,   736,-32768,
   744,   607,  2326,   747,   621,-32768,    72,-32768,  2326,  2326,
  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,
  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,
  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,
  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,
   505,   415,   415,   415,   763,   524,   647,   647,   647,  5017,
    16,  2163,  1089,   112,   643,   789,   667,   858,-32768,-32768,
  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,  2326,
  2326,  2326,  2326,  2326,  2326,-32768,   -65,  3591,  1814,  2326,
   534,  2163,  5040,  2356,-32768,  2454,-32768,   487,  2326,   761,
  5063,  5086,  2326,  5109,   625,  2326,   771,  5132,  5155,   814,
  5178,  2326,  2326,  2326,   821,  2326,  2326,  2326,  2291,  2291,
  2291,  2291,   706,   104,-32768,-32768,  3613,  3635,    72,    72,
   727,   727,   372,  2326,  2326,  2326,  1986,  1986,  2326,   396,
-32768,  2326,  2784,   207,   838,-32768,  2326,  2801,   855,   859,
  2326,  2326,-32768,  5201,  5224,  5247,   777,  3657,-32768,   740,
  2469,  5270,-32768,  2844,-32768,  2861,-32768,  2326,  1483,   214,
  2326,   192,     3,  5293,  1612,  5316,  4317,  5339,  4342,  5362,
  4367,  5385,  4392,  5408,  4417,  5431,  4442,  5454,  4467,  5477,
  4492,  5500,  4517,  5523,  4542,  3679,  3701,  5546,  4567,  5569,
  4592,  5592,  4617,  5615,  4642,  5638,  4667,  5661,  4692,  3723,
  3745,  3767,  3789,  3811,  3833,   673,   -23,   737,   748,   749,
   742,  2326,-32768,  1685,  1685,   676,   291,   415,  2326,   875,
   878,    21,   751,-32768,  2544,   797,  1357,   773,   773,   404,
   404,   404,   404,   178,   178,   647,   647,   647,   647,    20,
  2163,  2326,-32768,  2163,  4717,  3087,  1949,   681,   879,  2163,
-32768,  2585,  2326,   892,   893,  5684,   894,  2326,  2326,  5707,
  2326,   896,   898,  2326,   899,  3111,  5730,  5753,  2326,  3135,
  3159,  5776,   780,  2570,-32768,   791,   792,   793,   794,    72,
  2326,  2326,-32768,-32768,-32768,   787,  2559,-32768,   795,  2326,
  3855,  3877,  3899,  2516,    72,  2904,  4742,   -69,   -47,   -26,
   -31,-32768,-32768,-32768,  2326,-32768,  4767,-32768,   790,   798,
  4792,  4817,   922,   925,   927,   802,  2326,  2921,  2326,  2326,
-32768,-32768,-32768,  4842,    67,-32768,  3183,-32768,-32768,   807,
   808,   803,-32768,   809,   935,-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,  2326,  2326,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,  2326,  2326,  2326,
  2326,  2326,  2326,  2326,   940,-32768,  2163,   415,-32768,-32768,
  2326,   944,   955,   829,    47,  2326,   957,   958,   976,-32768,
   965,   851,    17,   979,-32768,  2326,-32768,   869,   415,   -14,
  3921,   688,    78,-32768,-32768,  2163,-32768,    72,  2454,-32768,
  2326,  1013,  1685,  1685,   981,  1685,  1132,  1225,   982,  1264,
  1685,  1685,  1397,   853,   984,   985,   986,   480,   988,   989,
   991,   992,   993,   994,   996,  1000,   427,  3943,  3965,-32768,
-32768,  3207,    72,    72,    72,   431,-32768,   117,   999,  2326,
  2163,  2326,  2163,  2163,  2163,  1526,  1002,  2326,  2326,  1004,
  1005,  1685,  1685,  1685,  1011,  3987,-32768,  2600,   644,  1014,
  1017,-32768,  1016,-32768,     9,   876,  2326,  2326,  1685,   880,
  2326,-32768,  5799,  4867,  5822,  4892,  5845,  4917,  5868,  4942,
  4967,   895,     2,   897,  5891,-32768,-32768,   136,   296,   889,
  1018,  1784,-32768,-32768,-32768,    17,  2326,-32768,   689,-32768,
  2570,-32768,  1021,    23,  2326,   891,   693,     5,  2570,-32768,
    24,    25,  1685,  1023,-32768,-32768,  1685,-32768,  1024,  1027,
-32768,  2326,  1685,  1685,  1685,-32768,   368,  1685,  1685,  1685,
  1685,  1685,  1685,  1685,   429,  2326,  2326,  2326,   900,   -45,
   369,   382,  1986,  1029,   901,   -40,-32768,-32768,  5914,   697,
  5937,   698,   707,   711,-32768,-32768,  4009,  4031,-32768,-32768,
  1030,  1036,   959,-32768,  2326,  2326,  2326,-32768,-32768,   214,
-32768,  1038,  2326,  4053,  4075,   712,-32768,  2326,  5960,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,   913,-32768,-32768,
-32768,-32768,  1685,   415,  2326,  1042,  1045,    21,-32768,  1044,
  4992,    17,-32768,-32768,-32768,   415,  4097,-32768,   921,-32768,
-32768,    72,-32768,    72,  1049,-32768,  1050,-32768,-32768,  4119,
  1051,  1054,  1055,  2326,  2326,   848,  1056,  1057,  1058,  1059,
  1060,  1062,-32768,  2291,  3231,  5983,  2622,   727,    72,  1063,
    72,  1065,    72,  1066,  3255,   433,-32768,  1685,-32768,-32768,
   879,  1067,   894,  1068,  1069,  1070,  2326,  2326,-32768,-32768,
  1685,  3027,   358,  6006,-32768,-32768,    48,  2570,  2326,  2326,
  1685,   941,   717,  2570,  1685,  1073,  1077,  1078,  1913,-32768,
  1072,  1095,-32768,   968,-32768,  1098,  2326,-32768,    42,    46,
-32768,-32768,  2326,-32768,-32768,-32768,  2383,  2398,  1101,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,  2413,  1102,   972,-32768,
  2326,-32768,   973,   435,-32768,   975,   441,-32768,   977,   491,
-32768,   978,   980,  2326,   614,   983,-32768,-32768,-32768,-32768,
  4141,  4163,  1032,  2326,-32768,  2326,-32768,-32768,-32768,  2326,
  4185,  4207,-32768,  1685,  2326,  1107,  1115,  1009,-32768,-32768,
-32768,    17,-32768,  1061,-32768,  4229,-32768,-32768,  4251,-32768,
-32768,-32768,-32768,-32768,   727,  3057,-32768,  1986,   117,  1986,
   117,  1986,   117,-32768,  3279,  1121,  1685,  2326,  2326,  2326,
  3303,  3327,  1006,  2570,  2326,  2326,   721,  2570,-32768,-32768,
-32768,  1138,-32768,  2326,  1141,  1010,  2326,-32768,  3351,   493,
   -18,  3375,   519,    -8,  3399,   526,    37,  2964,  1012,-32768,
   725,  3423,  3447,  2428,-32768,-32768,  2326,  6029,  4273,  1148,
-32768,  4295,  1028,-32768,  3471,  1157,  2326,  1161,  1163,  2326,
  1164,  1189,  2326,  1190,-32768,   117,-32768,  1685,  1191,  1207,
  1208,-32768,   733,-32768,  2326,-32768,  2326,  1142,-32768,-32768,
  1031,  3495,-32768,-32768,  1079,  3519,-32768,-32768,  1080,  3543,
-32768,   159,  2981,  1081,-32768,-32768,-32768,  1209,  1083,  6052,
  3567,  1093,   117,  1224,   117,  1226,   117,  1227,-32768,-32768,
   117,  1228,-32768,   415,-32768,  1231,  1233,   236,-32768,  1103,
   238,-32768,  1109,   301,-32768,  1119,   320,-32768,   734,-32768,
  1120,-32768,  1122,  1252,   117,  1253,   117,  1256,   117,-32768,
   415,  1261,   415,  1262,-32768,   344,-32768,   347,-32768,   361,
-32768,-32768,   738,-32768,-32768,  1263,  1265,  1266,   415,  1267,
-32768,-32768,-32768,-32768,-32768,  1239,  1274,-32768
};

static const short yypgoto[] = {-32768,
-32768,-32768,   541,-32768,-32768,   739,-32768,   231,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,  -259,    30,-32768,   299,  1277,    -1,  -330,  -163,     7,
-32768,-32768,-32768,-32768,-32768,  1278,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,  -993,  -684,
-32768,-32768,-32768,    43,-32768,    14,-32768,   309,   398,   -67,
  -243,  -610,   458,-32768,    -4
};


#define	YYLAST		6183


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

static const short yycheck[] = {     4,
     2,   332,   613,     4,   264,   999,     4,  1001,     2,  1003,
     6,   175,     4,     6,   178,     4,     4,   130,   262,    67,
     4,     4,     7,   130,     4,     6,     5,    68,     6,     6,
     6,    72,     6,     4,   198,     4,   200,     6,    25,    26,
    67,    28,     4,     4,    49,    50,     4,     6,   292,    68,
     4,     6,   130,    72,   132,    34,    35,    36,    37,    68,
   130,    40,   130,    72,     5,   131,    41,   137,     6,    44,
   136,     5,  1066,   119,   120,    52,    52,    75,    76,    77,
    78,    79,   130,    75,    76,    77,    78,    79,   130,   137,
   136,   776,   138,    34,    35,    36,    37,   138,   130,    40,
    34,    35,    36,    37,    68,   137,    40,   131,    72,  1103,
   137,  1105,   136,  1107,   130,   726,   131,  1111,     7,   138,
   105,   136,   130,   119,   120,   126,   127,    88,    89,   138,
    49,   132,   131,   134,    88,    89,   117,   136,   139,   117,
   138,  1135,     7,  1137,   137,  1139,   138,    45,   137,   137,
   108,   109,   110,   137,   137,   113,   114,   137,   137,   117,
   119,   120,   130,   132,   119,   120,   124,   427,   130,    45,
   128,   129,   130,   160,   138,   162,    45,   341,   131,   137,
   138,   168,   140,   136,    68,   172,   144,   145,    72,   147,
   119,   120,   126,   127,   262,   359,   137,   119,   120,    47,
   134,   130,   130,   126,   127,   163,   164,   451,   137,    45,
   454,   134,     6,     7,   172,   137,   105,   106,   107,   108,
   207,   832,   119,   120,   292,   137,    68,   185,   186,   187,
    72,   189,   119,   120,   192,   193,   137,   126,   127,   136,
   105,   106,   107,   108,     6,   203,   251,   252,   253,   254,
   137,   209,   210,   211,   212,   213,   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,   264,   119,   120,   138,     7,   121,   122,
   123,     4,     7,    68,   262,    68,   129,    72,     4,    72,
   119,   120,   137,   271,   272,   273,   274,   275,   276,   277,
   278,   279,   280,   281,   282,   283,   284,   285,   137,   331,
   332,   289,   290,   130,   292,   132,   294,   331,   332,   126,
   127,   299,   329,   330,     4,   303,  1031,   130,   306,  1034,
   130,   338,  1037,   597,   312,   313,   314,   130,   316,   317,
   318,   319,   320,   321,   322,     8,    41,     6,    68,    44,
    45,   982,    72,   138,   130,   138,   334,   335,   336,   337,
   338,   339,   626,   451,   342,   130,   454,    68,   130,   347,
   132,    72,   460,   351,   352,   105,   106,   107,   108,   370,
   105,   106,   107,   108,   130,     8,   132,  1092,    11,    12,
   368,    68,     4,   371,    68,    72,   126,   127,    72,     5,
     4,   126,   127,   428,   134,    58,    59,   671,    68,   673,
   674,   675,    72,  1118,     6,     7,  1121,    41,   138,  1124,
    44,    45,  1127,    47,   119,   120,   130,   130,    34,    35,
    36,    37,   130,   130,    40,   130,   427,   138,   718,   719,
     4,  1146,   137,  1148,   422,  1150,   109,   110,   111,   112,
   113,   429,   115,   116,   117,   118,   119,   120,   121,   122,
   123,   138,     6,     6,   138,     6,   129,   119,   120,     5,
   119,   120,   137,   451,   452,   138,   454,    91,   138,   457,
   119,   120,   460,   490,   136,   463,   138,   136,     4,     5,
   468,   469,   130,   471,   119,   120,   474,   136,   505,   138,
    91,   479,   119,   120,   121,   122,   123,    91,   130,   597,
   535,   136,   129,   491,   492,   130,    57,   868,    34,    35,
    36,    37,   500,   146,    40,   119,   120,   137,   151,   119,
   120,   119,   120,   119,   120,   130,   137,   515,   626,   119,
   120,   130,   136,   132,   535,   130,   136,   132,   136,   527,
   136,   529,   530,   176,   126,   127,   136,   180,   181,   130,
   132,   132,   134,    44,    45,   130,    47,   139,   109,   110,
   111,   112,   113,   598,   115,   116,   117,   118,   119,   120,
   121,   122,   123,   671,   137,   673,   674,   675,   129,   119,
   120,   119,   120,   130,   619,   132,   574,   575,   320,   321,
   322,     8,   136,   130,   138,   132,   136,   130,   136,   132,
   588,   589,   590,   591,   592,   593,   594,   119,   120,   597,
   130,   628,   132,   601,   119,   120,   130,   130,   606,   126,
   127,     8,   623,     4,   136,   132,   130,   134,   616,   126,
   127,   136,   139,   132,   995,   132,   130,   134,   626,    45,
     6,    47,   139,   631,   137,   137,   663,   664,   665,   137,
     3,     4,   130,   130,   132,   132,     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,   670,   671,   672,   673,   674,   675,   134,   137,
   678,   679,   109,   110,   111,   112,   113,    91,   115,   116,
   117,   118,   119,   120,   121,   122,   123,     6,   132,   697,
   698,     6,   129,   701,   130,   130,   132,   132,   719,     6,
     4,   138,   109,   110,   111,   112,   113,   137,   115,   116,
   117,   118,   119,   120,   121,   122,   123,     5,   130,   727,
   132,   130,   129,   132,   131,   129,   134,   735,   101,   102,
   103,   104,   130,   130,   132,   132,   773,    61,    62,    63,
    64,   130,    66,   132,   752,     7,   119,   120,   132,    73,
    74,   130,   125,   132,   132,    45,   134,   130,   766,   767,
   768,   136,   135,   138,   137,   773,   136,    47,   138,   824,
     7,   424,   425,   136,   136,   138,   138,     7,   136,   800,
   138,   836,   136,   136,   138,   138,   131,   795,   796,   797,
  1004,     6,   136,     6,   138,   803,   136,   136,   138,   138,
   808,     4,   136,     6,   138,   842,   136,   844,   138,   864,
   136,     7,   138,     6,    88,     7,   868,   825,   136,   136,
   138,   138,   136,   136,   868,   138,   137,   136,   131,   131,
     6,     4,   869,   133,   871,     7,   873,   115,   116,   117,
   118,   119,   120,   121,   122,   123,   854,   855,     7,     7,
     7,   129,     7,  1067,     7,     7,   864,   111,   112,   113,
   131,   115,   116,   117,   118,   119,   120,   121,   122,   123,
   878,   131,   131,   131,   138,   129,   137,   134,     7,   887,
   888,     7,   138,     7,   137,   134,   130,   130,   130,   137,
     6,   899,   900,     4,   109,   110,   111,   112,   113,     6,
   115,   116,   117,   118,   119,   120,   121,   122,   123,   917,
     6,   133,     6,     6,   129,   923,   109,   110,   111,   112,
   113,     7,   115,   116,   117,   118,   119,   120,   121,   122,
   123,     6,   132,   941,     6,   117,   129,     7,     7,   137,
     7,     7,     7,   995,     7,     7,   954,     7,     7,     7,
     7,   995,     7,     4,     6,   130,   964,     6,   966,     6,
     6,   998,   970,  1000,     4,  1002,   137,   975,     6,     6,
     4,     6,   134,   133,     7,   131,     6,   131,     6,     6,
   633,   634,     6,   636,     6,     6,   137,   137,   641,   642,
   998,     6,  1000,     6,  1002,    87,   134,     6,     4,     6,
  1008,  1009,  1010,   133,     6,     6,     6,  1015,  1016,     6,
     6,     6,     6,     6,     6,     6,  1024,     6,     6,  1027,
     6,     6,     6,     6,     6,     6,     4,   137,     7,   682,
   683,   684,     6,     6,   109,   110,   111,   112,   113,  1047,
   115,   116,   117,   118,   119,   120,   121,   122,   123,  1057,
     6,   134,  1060,     6,   129,  1063,     6,     6,   137,  1114,
   138,   137,     6,   137,   137,    84,   137,  1075,   136,  1077,
     6,   109,   110,   111,   112,   113,     6,   115,   116,   117,
   118,   119,   120,   121,   122,   123,  1141,     6,  1143,   131,
   743,   129,   137,     6,   747,     5,     5,   138,   137,    89,
   753,   754,   755,     6,  1159,   758,   759,   760,   761,   762,
   763,   764,     6,   136,     3,     4,     6,   137,     6,     6,
     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,     6,     6,   109,   110,   111,
   112,   113,    41,   115,   116,   117,   118,   119,   120,   121,
   122,   123,     6,     6,     6,   137,   137,   129,   138,   137,
   823,   133,    61,    62,    63,    64,    65,    66,   136,     6,
     6,     6,     6,     6,    73,    74,     6,     5,     0,   137,
   109,   110,   111,   112,   113,   137,   115,   116,   117,   118,
   119,   120,   121,   122,   123,   137,   137,     6,     6,   138,
   129,     6,   101,   102,   103,   104,     6,     6,     6,     6,
     6,     6,     6,     0,   734,   878,   538,  1047,     2,     2,
   119,   120,   974,    -1,    -1,   828,   125,    -1,   891,    -1,
    -1,   130,    -1,    -1,    -1,    -1,   135,    -1,   901,   138,
     3,     4,   905,    -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,   109,   110,   111,   112,   113,    41,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,    -1,    -1,    -1,    61,    62,
    63,    64,    65,    66,    67,    -1,    -1,    -1,    -1,    -1,
    73,    74,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,    -1,    -1,    -1,    -1,   101,   102,
   103,   104,     6,    -1,  1007,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   119,   120,    -1,    -1,
    -1,    -1,   125,    -1,    -1,    -1,    -1,   130,    -1,     3,
     4,    -1,   135,    -1,   137,     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,  1068,    -1,    41,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    61,    62,    63,
    64,    65,    66,    67,    -1,    -1,    -1,    -1,    -1,    73,
    74,    -1,    -1,    -1,    -1,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   101,   102,   103,
   104,     6,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,   119,   120,    -1,    -1,    -1,
    -1,   125,    -1,    -1,    -1,    -1,   130,    -1,     3,     4,
    -1,   135,    -1,   137,     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,   109,   110,   111,   112,   113,    41,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,   133,    61,    62,    63,    64,
    65,    66,    -1,    -1,    -1,    -1,    -1,    -1,    73,    74,
    -1,    -1,    -1,    -1,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   101,   102,   103,   104,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   119,   120,    -1,    -1,    -1,    -1,
   125,    -1,    -1,    -1,    -1,   130,    -1,     3,     4,    -1,
   135,    -1,   137,     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,
   109,   110,   111,   112,   113,    41,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,    61,    62,    63,    64,    65,
    66,    -1,    -1,     3,     4,    -1,    -1,    73,    74,     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,   101,   102,   103,   104,     6,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,   119,   120,    -1,    -1,    -1,    -1,   125,
    -1,    -1,    -1,    -1,   130,    -1,     3,     4,    -1,   135,
    -1,   137,     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,   101,   102,   103,   104,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   119,
   120,    -1,    -1,    -1,    -1,   125,    -1,    -1,    -1,    -1,
   130,    -1,    -1,   133,    -1,   135,    -1,   137,    -1,    -1,
    -1,    -1,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,   101,   102,   103,   104,     6,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   119,   120,    -1,    -1,    -1,    -1,   125,    -1,
    -1,    -1,    -1,   130,    -1,    -1,   133,    -1,   135,    -1,
   137,     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,     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,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   101,
   102,   103,   104,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,   119,   120,    -1,
    -1,    -1,    -1,   125,    -1,    -1,    -1,    -1,   130,    -1,
    -1,   133,    -1,   135,    -1,   137,   101,   102,   103,   104,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   119,   120,    -1,    -1,    -1,    -1,
   125,    -1,    -1,    -1,    -1,   130,    -1,     3,     4,     5,
   135,     7,   137,     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,    -1,    -1,    40,    -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,   101,   102,   103,   104,   105,
   106,   107,   108,    61,    62,    63,    64,    65,    66,    -1,
    -1,    -1,    -1,   119,   120,    73,    74,    -1,    -1,   125,
   126,   127,    -1,    -1,   130,    -1,   132,    -1,   134,   135,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,   101,   102,   103,   104,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,   119,   120,    -1,    -1,    -1,    -1,   125,    -1,    -1,
    -1,    -1,   130,     3,     4,     5,    -1,   135,    -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,   101,   102,   103,   104,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,     6,    -1,    -1,    -1,    -1,    -1,   119,
   120,    -1,    -1,    -1,    -1,   125,    -1,    -1,     6,    -1,
   130,    -1,    -1,    -1,    -1,   135,   101,   102,   103,   104,
    -1,    -1,    -1,     6,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   119,   120,    -1,    -1,    -1,    -1,
   125,    -1,    -1,    -1,    -1,   130,   101,   102,   103,   104,
   135,     8,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   119,   120,     8,    -1,    -1,    -1,
   125,    -1,    -1,    -1,    -1,   130,    -1,    -1,    -1,    -1,
   135,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,   109,   110,   111,   112,
   113,   129,   115,   116,   117,   118,   119,   120,   121,   122,
   123,   109,   110,   111,   112,   113,   129,   115,   116,   117,
   118,   119,   120,   121,   122,   123,   109,   110,   111,   112,
   113,   129,   115,   116,   117,   118,   119,   120,   121,   122,
   123,     8,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,
    -1,    -1,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,   109,   110,   111,
   112,   113,   129,   115,   116,   117,   118,   119,   120,   121,
   122,   123,     8,    -1,    -1,    -1,    -1,   129,    -1,    41,
    42,    43,    44,    45,    46,    47,    48,     8,    50,    -1,
    52,    53,    -1,    55,    56,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   109,   110,   111,   112,   113,    71,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    81,
    82,    83,    -1,    -1,   129,    -1,   131,    -1,    -1,    -1,
    -1,   136,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,    -1,    -1,    -1,    -1,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,   109,   110,   111,   112,   113,   129,   115,
   116,   117,   118,   119,   120,   121,   122,   123,   109,   110,
   111,   112,   113,   129,   115,   116,   117,   118,   119,   120,
   121,   122,   123,     0,     1,    -1,    -1,     4,   129,    -1,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,    -1,    -1,    33,   136,    -1,   138,
    -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,    -1,    73,    74,    -1,    -1,
    -1,    -1,    -1,    80,    81,    82,    83,    -1,    -1,    -1,
    -1,    88,    -1,    90,    -1,    92,    93,    94,    95,    96,
    97,    98,    99,   100,    41,    42,    43,    44,    45,    46,
    47,    48,    -1,    50,    -1,    52,    53,    -1,    55,    56,
    -1,    41,    42,    43,    44,    45,    46,    47,    48,    -1,
    50,    -1,    52,    53,    71,    55,    56,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    81,    82,    83,    -1,    -1,    -1,
    -1,    71,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    81,    82,    83,    41,    42,    43,    44,    45,    46,
    47,    48,    -1,    50,    -1,    52,    53,    -1,    55,    56,
    -1,    41,    42,    43,    44,    45,    46,    47,    48,    -1,
    50,    -1,    52,    53,    71,    55,    56,    -1,    -1,    -1,
    -1,   138,    -1,    -1,    81,    82,    83,    -1,    -1,    -1,
    -1,    71,    -1,    -1,    -1,    -1,    -1,    -1,   138,    -1,
    -1,    81,    82,    83,    41,    42,    43,    44,    45,    46,
    47,    48,    -1,    50,    -1,    52,    53,    -1,    55,    56,
    -1,    41,    42,    43,    44,    45,    46,    47,    48,    -1,
    50,    -1,    52,    53,    71,    55,    56,    -1,    -1,    -1,
    -1,   138,    -1,    -1,    81,    82,    83,    -1,    -1,    -1,
    -1,    71,    -1,    -1,    -1,    -1,    -1,    -1,   138,    -1,
    -1,    81,    82,    83,    41,    42,    43,    44,    45,    46,
    47,    48,    -1,    50,    -1,    52,    53,    -1,    55,    56,
    -1,    41,    42,    43,    44,    45,    46,    47,    48,    -1,
    50,    -1,    52,    53,    71,    55,    56,    -1,     4,    -1,
    -1,   138,    -1,    -1,    81,    82,    83,    -1,    -1,    -1,
    -1,    71,    -1,    -1,    -1,    -1,    -1,    -1,   138,    -1,
    -1,    81,    82,    83,    -1,    -1,    -1,    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,   138,    68,    69,    70,    71,    -1,    73,    74,    -1,
    -1,    -1,    -1,    -1,    80,    81,    82,    83,   138,    -1,
    -1,    -1,    88,    -1,    90,    -1,    92,    93,    94,    95,
    96,    97,    98,    99,   100,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,    -1,
    -1,    -1,   136,    -1,   138,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,    -1,
    -1,    -1,   136,    -1,   138,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,
   110,   111,   112,   113,   138,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,    -1,    -1,   109,   110,   111,   112,   113,   138,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,   110,   111,
   112,   113,   138,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,
    -1,   109,   110,   111,   112,   113,   138,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,   109,   110,   111,   112,   113,
   138,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,
   110,   111,   112,   113,   138,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,    -1,    -1,   109,   110,   111,   112,   113,   138,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,   110,   111,
   112,   113,   138,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,
    -1,   109,   110,   111,   112,   113,   138,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,   109,   110,   111,   112,   113,
   138,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,
   110,   111,   112,   113,   138,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,    -1,    -1,   109,   110,   111,   112,   113,   138,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,   110,   111,
   112,   113,   138,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,
    -1,   109,   110,   111,   112,   113,   138,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,   109,   110,   111,   112,   113,
   138,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,
   110,   111,   112,   113,   138,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,    -1,    -1,   109,   110,   111,   112,   113,   138,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,   110,   111,
   112,   113,   138,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,
    -1,   109,   110,   111,   112,   113,   138,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,    -1,    -1,   109,   110,   111,   112,   113,
   138,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   109,
   110,   111,   112,   113,   138,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,   110,   111,
   112,   113,   136,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   109,
   110,   111,   112,   113,   136,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   109,   110,   111,   112,   113,   136,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   109,   110,   111,   112,   113,   136,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   109,   110,   111,   112,   113,
   136,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,    -1,    -1,   133,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,    -1,    -1,   133,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,
   131,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   131,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,
   112,   113,    -1,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,   131,   109,   110,   111,   112,   113,    -1,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,
   113,    -1,   115,   116,   117,   118,   119,   120,   121,   122,
   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,
   110,   111,   112,   113,    -1,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   131,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,
   131,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   131,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,
   112,   113,    -1,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,   131,   109,   110,   111,   112,   113,    -1,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,
   113,    -1,   115,   116,   117,   118,   119,   120,   121,   122,
   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,
   110,   111,   112,   113,    -1,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   131,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,
   131,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   131,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,
   112,   113,    -1,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,   131,   109,   110,   111,   112,   113,    -1,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,
   113,    -1,   115,   116,   117,   118,   119,   120,   121,   122,
   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,
   110,   111,   112,   113,    -1,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   131,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,
   131,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   131,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,
   112,   113,    -1,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -1,   131,   109,   110,   111,   112,   113,    -1,   115,
   116,   117,   118,   119,   120,   121,   122,   123,    -1,    -1,
    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,
   113,    -1,   115,   116,   117,   118,   119,   120,   121,   122,
   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,
   110,   111,   112,   113,    -1,   115,   116,   117,   118,   119,
   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,
    -1,   131,   109,   110,   111,   112,   113,    -1,   115,   116,
   117,   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,
    -1,    -1,   129,    -1,   131,   109,   110,   111,   112,   113,
    -1,   115,   116,   117,   118,   119,   120,   121,   122,   123,
    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,
   111,   112,   113,    -1,   115,   116,   117,   118,   119,   120,
   121,   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,
   131,   109,   110,   111,   112,   113,    -1,   115,   116,   117,
   118,   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,
    -1,   129,    -1,   131,   109,   110,   111,   112,   113,    -1,
   115,   116,   117,   118,   119,   120,   121,   122,   123,    -1,
    -1,    -1,    -1,    -1,   129,    -1,   131,   109,   110,   111,
   112,   113,    -1,   115,   116,   117,   118,   119,   120,   121,
   122,   123,    -1,    -1,    -1,    -1,    -1,   129,    -1,   131,
   109,   110,   111,   112,   113,    -1,   115,   116,   117,   118,
   119,   120,   121,   122,   123,    -1,    -1,    -1,    -1,    -1,
   129,    -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 143 "Gmsh.y"
{ yyerrok; return 1; ;
    break;}
case 5:
#line 154 "Gmsh.y"
{ return 1; ;
    break;}
case 6:
#line 155 "Gmsh.y"
{ return 1; ;
    break;}
case 7:
#line 156 "Gmsh.y"
{ return 1; ;
    break;}
case 8:
#line 157 "Gmsh.y"
{ return 1; ;
    break;}
case 9:
#line 158 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 10:
#line 159 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 11:
#line 160 "Gmsh.y"
{ return 1; ;
    break;}
case 12:
#line 161 "Gmsh.y"
{ return 1; ;
    break;}
case 13:
#line 162 "Gmsh.y"
{ return 1; ;
    break;}
case 14:
#line 163 "Gmsh.y"
{ List_Delete(yyvsp[0].l); return 1; ;
    break;}
case 15:
#line 164 "Gmsh.y"
{ return 1; ;
    break;}
case 16:
#line 165 "Gmsh.y"
{ return 1; ;
    break;}
case 17:
#line 166 "Gmsh.y"
{ return 1; ;
    break;}
case 18:
#line 167 "Gmsh.y"
{ return 1; ;
    break;}
case 19:
#line 168 "Gmsh.y"
{ return 1; ;
    break;}
case 20:
#line 173 "Gmsh.y"
{
      yyval.c = "w";
    ;
    break;}
case 21:
#line 177 "Gmsh.y"
{
      yyval.c = "a";
    ;
    break;}
case 22:
#line 184 "Gmsh.y"
{
      Msg(DIRECT, yyvsp[-2].c);
      Free(yyvsp[-2].c);
    ;
    break;}
case 23:
#line 189 "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 204 "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 217 "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 246 "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 253 "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 263 "Gmsh.y"
{
      View = BeginView(1); 
      for(int i = 0; i < VIEW_NB_ELEMENT_TYPES; i++){
	ViewErrorFlags[i] = 0;
      }
    ;
    break;}
case 35:
#line 279 "Gmsh.y"
{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ;
    break;}
case 36:
#line 281 "Gmsh.y"
{ ViewCoord[ViewCoordIdx] = yyvsp[0].d; ViewCoordIdx++; ;
    break;}
case 37:
#line 286 "Gmsh.y"
{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ;
    break;}
case 38:
#line 288 "Gmsh.y"
{ if(ViewValueList) List_Add(ViewValueList, &yyvsp[0].d); ;
    break;}
case 39:
#line 293 "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 483 "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 501 "Gmsh.y"
{
      if(ViewValueList){  
	if((List_Nbr(ViewValueList) - ViewNumListTmp) % (ViewNumComp * ViewNumNodes)) 
	  ViewErrorFlags[ViewElementIdx]++;
	(*ViewNumList)++;
      }
    ;
    break;}
case 42:
#line 512 "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 517 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T2C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 44:
#line 525 "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 532 "Gmsh.y"
{
      View->NbT2++;
    ;
    break;}
case 46:
#line 539 "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 544 "Gmsh.y"
{ 
      for(int i = 0; i < (int)strlen(yyvsp[0].c)+1; i++) List_Add(View->T3C, &yyvsp[0].c[i]); 
      Free(yyvsp[0].c);
    ;
    break;}
case 48:
#line 552 "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 559 "Gmsh.y"
{
      View->NbT3++;
    ;
    break;}
case 50:
#line 567 "Gmsh.y"
{
      View->adaptive = new Adaptive_Post_View(View, yyvsp[-5].l, yyvsp[-2].l);
    ;
    break;}
case 51:
#line 574 "Gmsh.y"
{
      ViewValueList = View->Time;
    ;
    break;}
case 52:
#line 578 "Gmsh.y"
{
    ;
    break;}
case 53:
#line 583 "Gmsh.y"
{
      (*View->Grains) [(int)yyvsp[-3].d] = yyvsp[-1].l;
    ;
    break;}
case 54:
#line 591 "Gmsh.y"
{ yyval.i = 0; ;
    break;}
case 55:
#line 592 "Gmsh.y"
{ yyval.i = 1; ;
    break;}
case 56:
#line 593 "Gmsh.y"
{ yyval.i = 2; ;
    break;}
case 57:
#line 594 "Gmsh.y"
{ yyval.i = 3; ;
    break;}
case 58:
#line 595 "Gmsh.y"
{ yyval.i = 4; ;
    break;}
case 59:
#line 599 "Gmsh.y"
{ yyval.i = 1; ;
    break;}
case 60:
#line 600 "Gmsh.y"
{ yyval.i = -1; ;
    break;}
case 61:
#line 608 "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 639 "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 678 "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 732 "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 749 "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 767 "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 778 "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 797 "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 811 "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 828 "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 854 "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 881 "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 895 "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 912 "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 926 "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 943 "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 963 "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 986 "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 996 "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 1011 "Gmsh.y"
{ 
      yyval.i = (int)yyvsp[0].d; 
    ;
    break;}
case 81:
#line 1015 "Gmsh.y"
{ 
      yyval.i = GMODEL->setPhysicalName(std::string(yyvsp[0].c), ++THEM->MaxPhysicalNum);
      Free(yyvsp[0].c);
    ;
    break;}
case 82:
#line 1026 "Gmsh.y"
{
      int num = (int)yyvsp[-4].d;
      if(FindPoint(num)){
	yymsg(GERROR, "Point %d already exists", num);
      }
      else{
	double x = CTX.geom.scaling_factor * yyvsp[-1].v[0];
	double y = CTX.geom.scaling_factor * yyvsp[-1].v[1];
	double z = CTX.geom.scaling_factor * yyvsp[-1].v[2];
	double lc = CTX.geom.scaling_factor * yyvsp[-1].v[3];
	Vertex *v = Create_Vertex(num, x, y, z, lc, 1.0);
	Tree_Add(THEM->Points, &v);
	AddToTemporaryBoundingBox(x, y, z);
      }
      yyval.s.Type = MSH_POINT;
      yyval.s.Num = num;
    ;
    break;}
case 83:
#line 1044 "Gmsh.y"
{
      int num = (int)yyvsp[-4].i;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_POINT)){
	yymsg(GERROR, "Physical point %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	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 84:
#line 1060 "Gmsh.y"
{
      yymsg(WARNING, "Attractors are deprecated");
      List_Delete(yyvsp[-9].l);
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 85:
#line 1067 "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)
	  v->lc = yyvsp[-1].d;
	else{
	  GVertex *gv = GMODEL->vertexByTag((int)d);
	  if(gv) 
	    gv->setPrescribedMeshSizeAtVertex(yyvsp[-1].d);
	}
      }
      List_Delete(yyvsp[-3].l);
      // dummy values
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 86:
#line 1089 "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 87:
#line 1107 "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 88:
#line 1125 "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 89:
#line 1143 "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 90:
#line 1169 "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 91:
#line 1187 "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 92:
#line 1214 "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 93:
#line 1233 "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 94:
#line 1257 "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 95:
#line 1281 "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 96:
#line 1307 "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 97:
#line 1324 "Gmsh.y"
{
      yymsg(WARNING, "Attractors are deprecated");
      List_Delete(yyvsp[-9].l);
      yyval.s.Type = 0;
      yyval.s.Num = 0;
    ;
    break;}
case 98:
#line 1331 "Gmsh.y"
{
      int num = (int)yyvsp[-4].i;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_LINE)){
	yymsg(GERROR, "Physical line %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	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 99:
#line 1350 "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);
	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 100:
#line 1368 "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);
	  End_Surface(s);
	  Tree_Add(THEM->Surfaces, &s);
	}
      }
      List_Delete(yyvsp[-1].l);
      yyval.s.Type = type;
      yyval.s.Num = num;
    ;
    break;}
case 101:
#line 1406 "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 102:
#line 1422 "Gmsh.y"
{
      int num = (int)yyvsp[-4].i;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_SURFACE)){
	yymsg(GERROR, "Physical surface %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	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 103:
#line 1442 "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 104:
#line 1459 "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 1476 "Gmsh.y"
{
      int num = (int)yyvsp[-4].i;
      if(FindPhysicalGroup(num, MSH_PHYSICAL_VOLUME)){
	yymsg(GERROR, "Physical volume %d already exists", num);
      }
      else{
	List_T *temp = ListOfDouble2ListOfInt(yyvsp[-1].l);
	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 106:
#line 1497 "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 107:
#line 1502 "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 108:
#line 1507 "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 109:
#line 1512 "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 110:
#line 1519 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 111:
#line 1520 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 112:
#line 1521 "Gmsh.y"
{ yyval.l = yyvsp[0].l; ;
    break;}
case 113:
#line 1526 "Gmsh.y"
{
      yyval.l = List_Create(3, 3, sizeof(Shape));
    ;
    break;}
case 114:
#line 1530 "Gmsh.y"
{
      List_Add(yyval.l, &yyvsp[0].s);
    ;
    break;}
case 115:
#line 1534 "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 116:
#line 1550 "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 117:
#line 1566 "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 118:
#line 1582 "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 119:
#line 1603 "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 120:
#line 1617 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 0);
      Free(yyvsp[-4].c);
      yyval.l = NULL;
    ;
    break;}
case 121:
#line 1623 "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 1629 "Gmsh.y"
{
      if(!strcmp(yyvsp[-4].c, "View")) AliasView((int)yyvsp[-2].d, 1);
      Free(yyvsp[-4].c);
      yyval.l = NULL;
    ;
    break;}
case 123:
#line 1641 "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 124:
#line 1650 "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 125:
#line 1660 "Gmsh.y"
{
      if(!strcmp(yyvsp[-1].c, "Meshes") || !strcmp(yyvsp[-1].c, "All")){
	GMODEL->destroy();
	THEM->destroy();
      }
      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 126:
#line 1675 "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 127:
#line 1694 "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 128:
#line 1708 "Gmsh.y"
{
      for(int i = 0; i < 4; i++)
	VisibilityShape(yyvsp[-1].c, i, 1);
      Free(yyvsp[-1].c);
    ;
    break;}
case 129:
#line 1714 "Gmsh.y"
{
      for(int i = 0; i < 4; i++)
	VisibilityShape(yyvsp[-1].c, i, 0);
      Free(yyvsp[-1].c);
    ;
    break;}
case 130:
#line 1720 "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 131:
#line 1729 "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 132:
#line 1743 "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);
	MergeFile(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 133:
#line 1788 "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 134:
#line 1803 "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 135:
#line 1814 "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")){
	yymsg(GERROR, "Mesh directives are not (yet) allowed in scripts");
      }
      else{
	yymsg(GERROR, "Unknown command '%s'", yyvsp[-2].c);
      }
      Free(yyvsp[-2].c);
    ;
    break;}
case 136:
#line 1834 "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 137:
#line 1844 "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 138:
#line 1866 "Gmsh.y"
{
      exit(0);
    ;
    break;}
case 139:
#line 1870 "Gmsh.y"
{
      CTX.forced_bbox = 0;
      SetBoundingBox();
    ;
    break;}
case 140:
#line 1875 "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 141:
#line 1880 "Gmsh.y"
{
#if defined(HAVE_FLTK)
      Draw();
#endif
    ;
    break;}
case 142:
#line 1892 "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 143:
#line 1907 "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 144:
#line 1923 "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 145:
#line 1949 "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 146:
#line 1976 "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 147:
#line 2008 "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 148:
#line 2015 "Gmsh.y"
{
      if(!FunctionManager::Instance()->leaveFunction(&yyin, yyname, yylineno))
	yymsg(GERROR, "Error while exiting function");
    ;
    break;}
case 149:
#line 2020 "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 150:
#line 2026 "Gmsh.y"
{
      if(!yyvsp[-1].d) skip_until("If", "EndIf");
    ;
    break;}
case 151:
#line 2030 "Gmsh.y"
{
    ;
    break;}
case 152:
#line 2039 "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 153:
#line 2047 "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 154:
#line 2055 "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 155:
#line 2063 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 156:
#line 2068 "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 157:
#line 2076 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 158:
#line 2081 "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 159:
#line 2089 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 160:
#line 2094 "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 161:
#line 2104 "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 162:
#line 2111 "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 163:
#line 2118 "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 164:
#line 2125 "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 165:
#line 2132 "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 166:
#line 2139 "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 167:
#line 2146 "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 168:
#line 2153 "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 169:
#line 2160 "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 170:
#line 2167 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 171:
#line 2172 "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 172:
#line 2179 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 173:
#line 2184 "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 174:
#line 2191 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 175:
#line 2196 "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 176:
#line 2203 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 177:
#line 2208 "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 178:
#line 2215 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 179:
#line 2220 "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 180:
#line 2227 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 181:
#line 2232 "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 182:
#line 2239 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 183:
#line 2244 "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 184:
#line 2251 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 185:
#line 2256 "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 186:
#line 2263 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = false;
      extr.mesh.Recombine = false;
    ;
    break;}
case 187:
#line 2268 "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 188:
#line 2279 "Gmsh.y"
{
    ;
    break;}
case 189:
#line 2282 "Gmsh.y"
{
    ;
    break;}
case 190:
#line 2288 "Gmsh.y"
{
      extr.mesh.ExtrudeMesh = true;
      extr.mesh.NbLayer = 1;
      extr.mesh.NbElmLayer.clear();
      extr.mesh.hLayer.clear();
      extr.mesh.NbElmLayer.push_back((int)fabs(yyvsp[-2].d));
      extr.mesh.hLayer.push_back(1.);
    ;
    break;}
case 191:
#line 2297 "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.clear();
	extr.mesh.hLayer.clear();
	for(int i = 0; i < List_Nbr(yyvsp[-4].l); i++){
	  List_Read(yyvsp[-4].l, i, &d);
	  extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1);
	  List_Read(yyvsp[-2].l, i, &d);
	  extr.mesh.hLayer.push_back(d);
	}
      }
      else{
	yymsg(GERROR, "Wrong layer definition {%d, %d}", 
	      List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l));
      }
      List_Delete(yyvsp[-4].l);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 192:
#line 2319 "Gmsh.y"
{
      yymsg(WARNING, "Explicit region numbers in layers are deprecated");
      double d;
      extr.mesh.ExtrudeMesh = true;
      extr.mesh.NbLayer = List_Nbr(yyvsp[-6].l);
      if(List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-4].l) && List_Nbr(yyvsp[-6].l) == List_Nbr(yyvsp[-2].l)){
	extr.mesh.NbElmLayer.clear();
	extr.mesh.hLayer.clear();
	for(int i = 0; i < List_Nbr(yyvsp[-6].l); i++){
	  List_Read(yyvsp[-6].l, i, &d);
	  extr.mesh.NbElmLayer.push_back((d > 0) ? (int)d : 1);
	  List_Read(yyvsp[-2].l, i, &d);
	  extr.mesh.hLayer.push_back(d);
	}
      }
      else{
	yymsg(GERROR, "Wrong layer definition {%d, %d, %d}", 
	      List_Nbr(yyvsp[-6].l), List_Nbr(yyvsp[-4].l), List_Nbr(yyvsp[-2].l));
      }
      List_Delete(yyvsp[-6].l);
      List_Delete(yyvsp[-4].l);
      List_Delete(yyvsp[-2].l);
    ;
    break;}
case 193:
#line 2343 "Gmsh.y"
{
      extr.mesh.Recombine = true;
    ;
    break;}
case 194:
#line 2352 "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 2370 "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 2388 "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 2406 "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 2435 "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 2470 "Gmsh.y"
{
      yymsg(WARNING, "Elliptic Surface is deprecated: use Transfinite instead (with smoothing)");
      List_Delete(yyvsp[-1].l);
    ;
    break;}
case 200:
#line 2475 "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 2502 "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 2516 "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 2535 "Gmsh.y"
{ 
      Surface *s = FindSurface((int)yyvsp[-1].d);
      if(s)
	setSurfaceEmbeddedPoints(s, yyvsp[-4].l);
    ;
    break;}
case 204:
#line 2541 "Gmsh.y"
{
      Surface *s = FindSurface((int)yyvsp[-1].d);
      if(s)
	setSurfaceEmbeddedCurves(s, yyvsp[-4].l);
    ;
    break;}
case 205:
#line 2547 "Gmsh.y"
{
    ;
    break;}
case 206:
#line 2550 "Gmsh.y"
{
    ;
    break;}
case 207:
#line 2559 "Gmsh.y"
{ 
      ReplaceAllDuplicates();
    ;
    break;}
case 208:
#line 2568 "Gmsh.y"
{ yyval.d = yyvsp[0].d;           ;
    break;}
case 209:
#line 2569 "Gmsh.y"
{ yyval.d = yyvsp[-1].d;           ;
    break;}
case 210:
#line 2570 "Gmsh.y"
{ yyval.d = -yyvsp[0].d;          ;
    break;}
case 211:
#line 2571 "Gmsh.y"
{ yyval.d = yyvsp[0].d;           ;
    break;}
case 212:
#line 2572 "Gmsh.y"
{ yyval.d = !yyvsp[0].d;          ;
    break;}
case 213:
#line 2573 "Gmsh.y"
{ yyval.d = yyvsp[-2].d - yyvsp[0].d;      ;
    break;}
case 214:
#line 2574 "Gmsh.y"
{ yyval.d = yyvsp[-2].d + yyvsp[0].d;      ;
    break;}
case 215:
#line 2575 "Gmsh.y"
{ yyval.d = yyvsp[-2].d * yyvsp[0].d;      ;
    break;}
case 216:
#line 2577 "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 217:
#line 2583 "Gmsh.y"
{ yyval.d = (int)yyvsp[-2].d % (int)yyvsp[0].d;  ;
    break;}
case 218:
#line 2584 "Gmsh.y"
{ yyval.d = pow(yyvsp[-2].d, yyvsp[0].d);  ;
    break;}
case 219:
#line 2585 "Gmsh.y"
{ yyval.d = yyvsp[-2].d < yyvsp[0].d;      ;
    break;}
case 220:
#line 2586 "Gmsh.y"
{ yyval.d = yyvsp[-2].d > yyvsp[0].d;      ;
    break;}
case 221:
#line 2587 "Gmsh.y"
{ yyval.d = yyvsp[-2].d <= yyvsp[0].d;     ;
    break;}
case 222:
#line 2588 "Gmsh.y"
{ yyval.d = yyvsp[-2].d >= yyvsp[0].d;     ;
    break;}
case 223:
#line 2589 "Gmsh.y"
{ yyval.d = yyvsp[-2].d == yyvsp[0].d;     ;
    break;}
case 224:
#line 2590 "Gmsh.y"
{ yyval.d = yyvsp[-2].d != yyvsp[0].d;     ;
    break;}
case 225:
#line 2591 "Gmsh.y"
{ yyval.d = yyvsp[-2].d && yyvsp[0].d;     ;
    break;}
case 226:
#line 2592 "Gmsh.y"
{ yyval.d = yyvsp[-2].d || yyvsp[0].d;     ;
    break;}
case 227:
#line 2593 "Gmsh.y"
{ yyval.d = yyvsp[-4].d? yyvsp[-2].d : yyvsp[0].d;  ;
    break;}
case 228:
#line 2594 "Gmsh.y"
{ yyval.d = exp(yyvsp[-1].d);      ;
    break;}
case 229:
#line 2595 "Gmsh.y"
{ yyval.d = log(yyvsp[-1].d);      ;
    break;}
case 230:
#line 2596 "Gmsh.y"
{ yyval.d = log10(yyvsp[-1].d);    ;
    break;}
case 231:
#line 2597 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-1].d);     ;
    break;}
case 232:
#line 2598 "Gmsh.y"
{ yyval.d = sin(yyvsp[-1].d);      ;
    break;}
case 233:
#line 2599 "Gmsh.y"
{ yyval.d = asin(yyvsp[-1].d);     ;
    break;}
case 234:
#line 2600 "Gmsh.y"
{ yyval.d = cos(yyvsp[-1].d);      ;
    break;}
case 235:
#line 2601 "Gmsh.y"
{ yyval.d = acos(yyvsp[-1].d);     ;
    break;}
case 236:
#line 2602 "Gmsh.y"
{ yyval.d = tan(yyvsp[-1].d);      ;
    break;}
case 237:
#line 2603 "Gmsh.y"
{ yyval.d = atan(yyvsp[-1].d);     ;
    break;}
case 238:
#line 2604 "Gmsh.y"
{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);;
    break;}
case 239:
#line 2605 "Gmsh.y"
{ yyval.d = sinh(yyvsp[-1].d);     ;
    break;}
case 240:
#line 2606 "Gmsh.y"
{ yyval.d = cosh(yyvsp[-1].d);     ;
    break;}
case 241:
#line 2607 "Gmsh.y"
{ yyval.d = tanh(yyvsp[-1].d);     ;
    break;}
case 242:
#line 2608 "Gmsh.y"
{ yyval.d = fabs(yyvsp[-1].d);     ;
    break;}
case 243:
#line 2609 "Gmsh.y"
{ yyval.d = floor(yyvsp[-1].d);    ;
    break;}
case 244:
#line 2610 "Gmsh.y"
{ yyval.d = ceil(yyvsp[-1].d);     ;
    break;}
case 245:
#line 2611 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 246:
#line 2612 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 247:
#line 2613 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ;
    break;}
case 248:
#line 2614 "Gmsh.y"
{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ;
    break;}
case 249:
#line 2616 "Gmsh.y"
{ yyval.d = exp(yyvsp[-1].d);      ;
    break;}
case 250:
#line 2617 "Gmsh.y"
{ yyval.d = log(yyvsp[-1].d);      ;
    break;}
case 251:
#line 2618 "Gmsh.y"
{ yyval.d = log10(yyvsp[-1].d);    ;
    break;}
case 252:
#line 2619 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-1].d);     ;
    break;}
case 253:
#line 2620 "Gmsh.y"
{ yyval.d = sin(yyvsp[-1].d);      ;
    break;}
case 254:
#line 2621 "Gmsh.y"
{ yyval.d = asin(yyvsp[-1].d);     ;
    break;}
case 255:
#line 2622 "Gmsh.y"
{ yyval.d = cos(yyvsp[-1].d);      ;
    break;}
case 256:
#line 2623 "Gmsh.y"
{ yyval.d = acos(yyvsp[-1].d);     ;
    break;}
case 257:
#line 2624 "Gmsh.y"
{ yyval.d = tan(yyvsp[-1].d);      ;
    break;}
case 258:
#line 2625 "Gmsh.y"
{ yyval.d = atan(yyvsp[-1].d);     ;
    break;}
case 259:
#line 2626 "Gmsh.y"
{ yyval.d = atan2(yyvsp[-3].d, yyvsp[-1].d);;
    break;}
case 260:
#line 2627 "Gmsh.y"
{ yyval.d = sinh(yyvsp[-1].d);     ;
    break;}
case 261:
#line 2628 "Gmsh.y"
{ yyval.d = cosh(yyvsp[-1].d);     ;
    break;}
case 262:
#line 2629 "Gmsh.y"
{ yyval.d = tanh(yyvsp[-1].d);     ;
    break;}
case 263:
#line 2630 "Gmsh.y"
{ yyval.d = fabs(yyvsp[-1].d);     ;
    break;}
case 264:
#line 2631 "Gmsh.y"
{ yyval.d = floor(yyvsp[-1].d);    ;
    break;}
case 265:
#line 2632 "Gmsh.y"
{ yyval.d = ceil(yyvsp[-1].d);     ;
    break;}
case 266:
#line 2633 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 267:
#line 2634 "Gmsh.y"
{ yyval.d = fmod(yyvsp[-3].d, yyvsp[-1].d); ;
    break;}
case 268:
#line 2635 "Gmsh.y"
{ yyval.d = sqrt(yyvsp[-3].d*yyvsp[-3].d+yyvsp[-1].d*yyvsp[-1].d); ;
    break;}
case 269:
#line 2636 "Gmsh.y"
{ yyval.d = yyvsp[-1].d*(double)rand()/(double)RAND_MAX; ;
    break;}
case 270:
#line 2645 "Gmsh.y"
{ yyval.d = yyvsp[0].d; ;
    break;}
case 271:
#line 2646 "Gmsh.y"
{ yyval.d = 3.141592653589793; ;
    break;}
case 272:
#line 2647 "Gmsh.y"
{ yyval.d = ParUtil::Instance()->rank(); ;
    break;}
case 273:
#line 2648 "Gmsh.y"
{ yyval.d = ParUtil::Instance()->size(); ;
    break;}
case 274:
#line 2649 "Gmsh.y"
{ yyval.d = Get_GmshMajorVersion(); ;
    break;}
case 275:
#line 2650 "Gmsh.y"
{ yyval.d = Get_GmshMinorVersion(); ;
    break;}
case 276:
#line 2651 "Gmsh.y"
{ yyval.d = Get_GmshPatchVersion(); ;
    break;}
case 277:
#line 2656 "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 278:
#line 2672 "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 279:
#line 2687 "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 280:
#line 2707 "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 281:
#line 2721 "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 282:
#line 2734 "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 283:
#line 2757 "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 284:
#line 2775 "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 285:
#line 2793 "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 286:
#line 2811 "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 287:
#line 2829 "Gmsh.y"
{ 
      yyval.d = GetValue(yyvsp[-3].c, yyvsp[-1].d);
      Free(yyvsp[-3].c);
    ;
    break;}
case 288:
#line 2837 "Gmsh.y"
{
      memcpy(yyval.v, yyvsp[0].v, 5*sizeof(double));
    ;
    break;}
case 289:
#line 2841 "Gmsh.y"
{
      for(int i = 0; i < 5; i++) yyval.v[i] = -yyvsp[0].v[i];
    ;
    break;}
case 290:
#line 2845 "Gmsh.y"
{ 
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[0].v[i];
    ;
    break;}
case 291:
#line 2849 "Gmsh.y"
{ 
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] - yyvsp[0].v[i];
    ;
    break;}
case 292:
#line 2853 "Gmsh.y"
{
      for(int i = 0; i < 5; i++) yyval.v[i] = yyvsp[-2].v[i] + yyvsp[0].v[i];
    ;
    break;}
case 293:
#line 2860 "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 294:
#line 2864 "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 295:
#line 2868 "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 296:
#line 2872 "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 2879 "Gmsh.y"
{
    ;
    break;}
case 298:
#line 2882 "Gmsh.y"
{
       yyval.l = yyvsp[-1].l;
    ;
    break;}
case 299:
#line 2886 "Gmsh.y"
{
       yyval.l = yyvsp[-1].l;
    ;
    break;}
case 300:
#line 2893 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(List_T*));
      List_Add(yyval.l, &(yyvsp[0].l));
    ;
    break;}
case 301:
#line 2898 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].l));
    ;
    break;}
case 302:
#line 2906 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 303:
#line 2911 "Gmsh.y"
{
      yyval.l = yyvsp[0].l;
    ;
    break;}
case 304:
#line 2915 "Gmsh.y"
{
      // creates an empty list
      yyval.l = List_Create(2, 1, sizeof(double));
    ;
    break;}
case 305:
#line 2920 "Gmsh.y"
{
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 306:
#line 2924 "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 307:
#line 2936 "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 308:
#line 2942 "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 309:
#line 2953 "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 310:
#line 2973 "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 311:
#line 2983 "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 2993 "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 3003 "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 314:
#line 3020 "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 315:
#line 3039 "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 316:
#line 3063 "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 317:
#line 3092 "Gmsh.y"
{
      yyval.l = List_Create(2, 1, sizeof(double));
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 318:
#line 3097 "Gmsh.y"
{
      yyval.l = yyvsp[0].l;
    ;
    break;}
case 319:
#line 3101 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].d));
    ;
    break;}
case 320:
#line 3105 "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 321:
#line 3118 "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 322:
#line 3122 "Gmsh.y"
{
      yyval.u = CTX.PACK_COLOR((int)yyvsp[-5].d, (int)yyvsp[-3].d, (int)yyvsp[-1].d, 255);
    ;
    break;}
case 323:
#line 3134 "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 324:
#line 3141 "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 325:
#line 3163 "Gmsh.y"
{
      yyval.l = yyvsp[-1].l;
    ;
    break;}
case 326:
#line 3167 "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 327:
#line 3182 "Gmsh.y"
{
      yyval.l = List_Create(256, 10, sizeof(unsigned int));
      List_Add(yyval.l, &(yyvsp[0].u));
    ;
    break;}
case 328:
#line 3187 "Gmsh.y"
{
      List_Add(yyval.l, &(yyvsp[0].u));
    ;
    break;}
case 329:
#line 3194 "Gmsh.y"
{
      yyval.c = yyvsp[0].c;
    ;
    break;}
case 330:
#line 3198 "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 331:
#line 3206 "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 332:
#line 3214 "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 333:
#line 3228 "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 334:
#line 3242 "Gmsh.y"
{
      yyval.c = yyvsp[-1].c;
    ;
    break;}
case 335:
#line 3246 "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 336:
#line 3265 "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 337:
#line 3287 "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 3310 "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++;
}