You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sip4-tqt/sipgen/parser.c

9976 lines
289 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 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, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* C LALR(1) parser skeleton written by Richard Stallman, by
simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
variables, as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "2.4.1"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */
#define YYPURE 0
/* Push parsers. */
#define YYPUSH 0
/* Pull parsers. */
#define YYPULL 1
/* Using locations. */
#define YYLSP_NEEDED 0
/* Copy the first part of user declarations. */
/* Line 189 of yacc.c */
#line 19 "/TEMP/sip4-tqt/sipgen/parser.y"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "sip.h"
#define MAX_NESTED_IF 10
#define MAX_NESTED_SCOPE 10
#define inMainModule() (currentSpec->module == currentModule || currentModule->container != NULL)
static sipSpec *currentSpec; /* The current spec being parsed. */
static stringList *neededQualifiers; /* The list of required qualifiers. */
static stringList *excludedQualifiers; /* The list of excluded qualifiers. */
static moduleDef *currentModule; /* The current module being parsed. */
static mappedTypeDef *currentMappedType; /* The current mapped type. */
static enumDef *currentEnum; /* The current enum being parsed. */
static int sectionFlags; /* The current section flags. */
static int currentOverIsVirt; /* Set if the overload is virtual. */
static int currentCtorIsExplicit; /* Set if the ctor is explicit. */
static int currentIsStatic; /* Set if the current is static. */
static int currentIsSignal; /* Set if the current is Q_SIGNAL. */
static int currentIsSlot; /* Set if the current is Q_SLOT. */
static int currentIsTemplate; /* Set if the current is a template. */
static char *previousFile; /* The file just parsed. */
static parserContext currentContext; /* The current context. */
static int skipStackPtr; /* The skip stack pointer. */
static int skipStack[MAX_NESTED_IF]; /* Stack of skip flags. */
static classDef *scopeStack[MAX_NESTED_SCOPE]; /* The scope stack. */
static int sectFlagsStack[MAX_NESTED_SCOPE]; /* The section flags stack. */
static int currentScopeIdx; /* The scope stack index. */
static int currentTimelineOrder; /* The current timeline order. */
static classList *currentSupers; /* The current super-class list. */
static int defaultKwdArgs; /* Support keyword arguments by default. */
static int makeProtPublic; /* Treat protected items as public. */
static const char *getPythonName(optFlags *optflgs, const char *cname);
static classDef *findClass(sipSpec *pt, ifaceFileType iftype,
apiVersionRangeDef *api_range, scopedNameDef *fqname);
static classDef *findClassWithInterface(sipSpec *pt, ifaceFileDef *iff);
static classDef *newClass(sipSpec *pt, ifaceFileType iftype,
apiVersionRangeDef *api_range, scopedNameDef *snd);
static void finishClass(sipSpec *, moduleDef *, classDef *, optFlags *);
static exceptionDef *findException(sipSpec *pt, scopedNameDef *fqname, int new);
static mappedTypeDef *newMappedType(sipSpec *,argDef *, optFlags *);
static enumDef *newEnum(sipSpec *pt, moduleDef *mod, mappedTypeDef *mt_scope,
char *name, optFlags *of, int flags);
static void instantiateClassTemplate(sipSpec *pt, moduleDef *mod, classDef *scope, scopedNameDef *fqname, classTmplDef *tcd, templateDef *td);
static void newTypedef(sipSpec *, moduleDef *, char *, argDef *, optFlags *);
static void newVar(sipSpec *, moduleDef *, char *, int, argDef *, optFlags *,
codeBlock *, codeBlock *, codeBlock *);
static void newCtor(char *, int, signatureDef *, optFlags *, codeBlock *,
throwArgs *, signatureDef *, int, codeBlock *);
static void newFunction(sipSpec *, moduleDef *, classDef *, mappedTypeDef *,
int, int, int, int, int, char *, signatureDef *, int, int, optFlags *,
codeBlock *, codeBlock *, throwArgs *, signatureDef *, codeBlock *);
static optFlag *findOptFlag(optFlags *,char *,flagType);
static memberDef *findFunction(sipSpec *, moduleDef *, classDef *,
mappedTypeDef *, const char *, int, int, int);
static void checkAttributes(sipSpec *, moduleDef *, classDef *,
mappedTypeDef *, const char *, int);
static void newModule(FILE *fp, char *filename);
static moduleDef *allocModule();
static void parseFile(FILE *fp, char *name, moduleDef *prevmod, int optional);
static void handleEOF(void);
static void handleEOM(void);
static qualDef *findQualifier(const char *name);
static scopedNameDef *text2scopedName(ifaceFileDef *scope, char *text);
static scopedNameDef *scopeScopedName(ifaceFileDef *scope,
scopedNameDef *name);
static void pushScope(classDef *);
static void popScope(void);
static classDef *currentScope(void);
static void newQualifier(moduleDef *,int,int,char *,qualType);
static void newImport(char *filename);
static int timePeriod(char *,char *);
static int platOrFeature(char *,int);
static int isNeeded(qualDef *);
static int notSkipping(void);
static void getHooks(optFlags *,char **,char **);
static int getTransfer(optFlags *optflgs);
static int getReleaseGIL(optFlags *optflgs);
static int getHoldGIL(optFlags *optflgs);
static int getDeprecated(optFlags *optflgs);
static int getAllowNone(optFlags *optflgs);
static const char *getDocType(optFlags *optflgs);
static const char *getDocValue(optFlags *optflgs);
static void templateSignature(signatureDef *sd, int result, classTmplDef *tcd, templateDef *td, classDef *ncd);
static void templateType(argDef *ad, classTmplDef *tcd, templateDef *td, classDef *ncd);
static int search_back(const char *end, const char *start, const char *target);
static char *type2string(argDef *ad);
static char *scopedNameToString(scopedNameDef *name);
static void addUsedFromCode(sipSpec *pt, ifaceFileList **used, const char *sname);
static int sameName(scopedNameDef *snd, const char *sname);
static int stringFind(stringList *sl, const char *s);
static void setModuleName(sipSpec *pt, moduleDef *mod, const char *fullname);
static int foundInScope(scopedNameDef *fq_name, scopedNameDef *rel_name);
static void defineClass(scopedNameDef *snd, classList *supers, optFlags *of);
static classDef *completeClass(scopedNameDef *snd, optFlags *of, int has_def);
static memberDef *instantiateTemplateMethods(memberDef *tmd, moduleDef *mod);
static void instantiateTemplateEnums(sipSpec *pt, classTmplDef *tcd,
templateDef *td, classDef *cd, ifaceFileList **used,
scopedNameDef *type_names, scopedNameDef *type_values);
static void instantiateTemplateVars(sipSpec *pt, classTmplDef *tcd,
templateDef *td, classDef *cd, ifaceFileList **used,
scopedNameDef *type_names, scopedNameDef *type_values);
static overDef *instantiateTemplateOverloads(sipSpec *pt, overDef *tod,
memberDef *tmethods, memberDef *methods, classTmplDef *tcd,
templateDef *td, classDef *cd, ifaceFileList **used,
scopedNameDef *type_names, scopedNameDef *type_values);
static void resolveAnyTypedef(sipSpec *pt, argDef *ad);
static void addVariable(sipSpec *pt, varDef *vd);
static void applyTypeFlags(moduleDef *mod, argDef *ad, optFlags *flags);
static argType convertEncoding(const char *encoding);
static apiVersionRangeDef *getAPIRange(optFlags *optflgs);
static apiVersionRangeDef *convertAPIRange(moduleDef *mod, nameDef *name,
int from, int to);
static char *convertFeaturedString(char *fs);
static scopedNameDef *text2scopePart(char *text);
static int usesKeywordArgs(optFlags *optflgs, signatureDef *sd);
static char *strip(char *s);
static int isEnabledFeature(const char *name);
/* Line 189 of yacc.c */
#line 202 "y.tab.c"
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Enabling the token table. */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0
#endif
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
TK_API = 258,
TK_DEFENCODING = 259,
TK_PLUGIN = 260,
TK_DOCSTRING = 261,
TK_DOC = 262,
TK_EXPORTEDDOC = 263,
TK_MAKEFILE = 264,
TK_ACCESSCODE = 265,
TK_GETCODE = 266,
TK_SETCODE = 267,
TK_PREINITCODE = 268,
TK_INITCODE = 269,
TK_POSTINITCODE = 270,
TK_UNITCODE = 271,
TK_MODCODE = 272,
TK_TYPECODE = 273,
TK_PREPYCODE = 274,
TK_COPYING = 275,
TK_MAPPEDTYPE = 276,
TK_CODELINE = 277,
TK_IF = 278,
TK_END = 279,
TK_NAME = 280,
TK_PATHNAME = 281,
TK_STRING = 282,
TK_VIRTUALCATCHERCODE = 283,
TK_TRAVERSECODE = 284,
TK_CLEARCODE = 285,
TK_GETBUFFERCODE = 286,
TK_RELEASEBUFFERCODE = 287,
TK_READBUFFERCODE = 288,
TK_WRITEBUFFERCODE = 289,
TK_SEGCOUNTCODE = 290,
TK_CHARBUFFERCODE = 291,
TK_PICKLECODE = 292,
TK_METHODCODE = 293,
TK_FROMTYPE = 294,
TK_TOTYPE = 295,
TK_TOSUBCLASS = 296,
TK_INCLUDE = 297,
TK_OPTINCLUDE = 298,
TK_IMPORT = 299,
TK_EXPHEADERCODE = 300,
TK_MODHEADERCODE = 301,
TK_TYPEHEADERCODE = 302,
TK_MODULE = 303,
TK_CMODULE = 304,
TK_CONSMODULE = 305,
TK_COMPOMODULE = 306,
TK_CLASS = 307,
TK_STRUCT = 308,
TK_PUBLIC = 309,
TK_PROTECTED = 310,
TK_PRIVATE = 311,
TK_SIGNALS = 312,
TK_SIGNAL_METHOD = 313,
TK_SLOTS = 314,
TK_SLOT_METHOD = 315,
TK_BOOL = 316,
TK_SHORT = 317,
TK_INT = 318,
TK_LONG = 319,
TK_FLOAT = 320,
TK_DOUBLE = 321,
TK_CHAR = 322,
TK_WCHAR_T = 323,
TK_VOID = 324,
TK_PYOBJECT = 325,
TK_PYTUPLE = 326,
TK_PYLIST = 327,
TK_PYDICT = 328,
TK_PYCALLABLE = 329,
TK_PYSLICE = 330,
TK_PYTYPE = 331,
TK_VIRTUAL = 332,
TK_ENUM = 333,
TK_SIGNED = 334,
TK_UNSIGNED = 335,
TK_SCOPE = 336,
TK_LOGICAL_OR = 337,
TK_CONST = 338,
TK_STATIC = 339,
TK_SIPSIGNAL = 340,
TK_SIPSLOT = 341,
TK_SIPANYSLOT = 342,
TK_SIPRXCON = 343,
TK_SIPRXDIS = 344,
TK_SIPSLOTCON = 345,
TK_SIPSLOTDIS = 346,
TK_NUMBER = 347,
TK_REAL = 348,
TK_TYPEDEF = 349,
TK_NAMESPACE = 350,
TK_TIMELINE = 351,
TK_PLATFORMS = 352,
TK_FEATURE = 353,
TK_LICENSE = 354,
TK_QCHAR = 355,
TK_TRUE = 356,
TK_FALSE = 357,
TK_NULL = 358,
TK_OPERATOR = 359,
TK_THROW = 360,
TK_QOBJECT = 361,
TK_EXCEPTION = 362,
TK_RAISECODE = 363,
TK_EXPLICIT = 364,
TK_TEMPLATE = 365,
TK_ELLIPSIS = 366,
TK_DEFMETATYPE = 367,
TK_DEFSUPERTYPE = 368
};
#endif
/* Tokens. */
#define TK_API 258
#define TK_DEFENCODING 259
#define TK_PLUGIN 260
#define TK_DOCSTRING 261
#define TK_DOC 262
#define TK_EXPORTEDDOC 263
#define TK_MAKEFILE 264
#define TK_ACCESSCODE 265
#define TK_GETCODE 266
#define TK_SETCODE 267
#define TK_PREINITCODE 268
#define TK_INITCODE 269
#define TK_POSTINITCODE 270
#define TK_UNITCODE 271
#define TK_MODCODE 272
#define TK_TYPECODE 273
#define TK_PREPYCODE 274
#define TK_COPYING 275
#define TK_MAPPEDTYPE 276
#define TK_CODELINE 277
#define TK_IF 278
#define TK_END 279
#define TK_NAME 280
#define TK_PATHNAME 281
#define TK_STRING 282
#define TK_VIRTUALCATCHERCODE 283
#define TK_TRAVERSECODE 284
#define TK_CLEARCODE 285
#define TK_GETBUFFERCODE 286
#define TK_RELEASEBUFFERCODE 287
#define TK_READBUFFERCODE 288
#define TK_WRITEBUFFERCODE 289
#define TK_SEGCOUNTCODE 290
#define TK_CHARBUFFERCODE 291
#define TK_PICKLECODE 292
#define TK_METHODCODE 293
#define TK_FROMTYPE 294
#define TK_TOTYPE 295
#define TK_TOSUBCLASS 296
#define TK_INCLUDE 297
#define TK_OPTINCLUDE 298
#define TK_IMPORT 299
#define TK_EXPHEADERCODE 300
#define TK_MODHEADERCODE 301
#define TK_TYPEHEADERCODE 302
#define TK_MODULE 303
#define TK_CMODULE 304
#define TK_CONSMODULE 305
#define TK_COMPOMODULE 306
#define TK_CLASS 307
#define TK_STRUCT 308
#define TK_PUBLIC 309
#define TK_PROTECTED 310
#define TK_PRIVATE 311
#define TK_SIGNALS 312
#define TK_SIGNAL_METHOD 313
#define TK_SLOTS 314
#define TK_SLOT_METHOD 315
#define TK_BOOL 316
#define TK_SHORT 317
#define TK_INT 318
#define TK_LONG 319
#define TK_FLOAT 320
#define TK_DOUBLE 321
#define TK_CHAR 322
#define TK_WCHAR_T 323
#define TK_VOID 324
#define TK_PYOBJECT 325
#define TK_PYTUPLE 326
#define TK_PYLIST 327
#define TK_PYDICT 328
#define TK_PYCALLABLE 329
#define TK_PYSLICE 330
#define TK_PYTYPE 331
#define TK_VIRTUAL 332
#define TK_ENUM 333
#define TK_SIGNED 334
#define TK_UNSIGNED 335
#define TK_SCOPE 336
#define TK_LOGICAL_OR 337
#define TK_CONST 338
#define TK_STATIC 339
#define TK_SIPSIGNAL 340
#define TK_SIPSLOT 341
#define TK_SIPANYSLOT 342
#define TK_SIPRXCON 343
#define TK_SIPRXDIS 344
#define TK_SIPSLOTCON 345
#define TK_SIPSLOTDIS 346
#define TK_NUMBER 347
#define TK_REAL 348
#define TK_TYPEDEF 349
#define TK_NAMESPACE 350
#define TK_TIMELINE 351
#define TK_PLATFORMS 352
#define TK_FEATURE 353
#define TK_LICENSE 354
#define TK_QCHAR 355
#define TK_TRUE 356
#define TK_FALSE 357
#define TK_NULL 358
#define TK_OPERATOR 359
#define TK_THROW 360
#define TK_QOBJECT 361
#define TK_EXCEPTION 362
#define TK_RAISECODE 363
#define TK_EXPLICIT 364
#define TK_TEMPLATE 365
#define TK_ELLIPSIS 366
#define TK_DEFMETATYPE 367
#define TK_DEFSUPERTYPE 368
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 214 of yacc.c */
#line 147 "/TEMP/sip4-tqt/sipgen/parser.y"
char qchar;
char *text;
long number;
double real;
argDef memArg;
signatureDef signature;
signatureDef *optsignature;
throwArgs *throwlist;
codeBlock *codeb;
valueDef value;
valueDef *valp;
optFlags optflags;
optFlag flag;
scopedNameDef *scpvalp;
fcallDef fcall;
int boolean;
exceptionDef exceptionbase;
classDef *klass;
/* Line 214 of yacc.c */
#line 487 "y.tab.c"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
/* Copy the second part of user declarations. */
/* Line 264 of yacc.c */
#line 499 "y.tab.c"
#ifdef short
# undef short
#endif
#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
#endif
#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#elif (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
typedef signed char yytype_int8;
#else
typedef short int yytype_int8;
#endif
#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif
#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif
#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
# define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
# define YYSIZE_T size_t
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# else
# define YYSIZE_T unsigned int
# endif
#endif
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
# if YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
# endif
# endif
# ifndef YY_
# define YY_(msgid) msgid
# endif
#endif
/* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# define YYUSE(e) /* empty */
#endif
/* Identity function, used to suppress warnings about constant conditions. */
#ifndef lint
# define YYID(n) (n)
#else
#if (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
static int
YYID (int yyi)
#else
static int
YYID (yyi)
int yyi;
#endif
{
return yyi;
}
#endif
#if ! defined yyoverflow || YYERROR_VERBOSE
/* The parser invokes alloca or malloc; define the necessary symbols. */
# ifdef YYSTACK_USE_ALLOCA
# if YYSTACK_USE_ALLOCA
# ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca
# elif defined __BUILTIN_VA_ARG_INCR
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
# elif defined _AIX
# define YYSTACK_ALLOC __alloca
# elif defined _MSC_VER
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
# define alloca _alloca
# else
# define YYSTACK_ALLOC alloca
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# ifndef _STDLIB_H
# define _STDLIB_H 1
# endif
# endif
# endif
# endif
# endif
# ifdef YYSTACK_ALLOC
/* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
# ifndef YYSTACK_ALLOC_MAXIMUM
/* The OS might guarantee only one guard page at the bottom of the stack,
and a page size can be as small as 4096 bytes. So we cannot safely
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
to allow for a few compiler-allocated temporary stack slots. */
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
# endif
# else
# define YYSTACK_ALLOC YYMALLOC
# define YYSTACK_FREE YYFREE
# ifndef YYSTACK_ALLOC_MAXIMUM
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
# endif
# if (defined __cplusplus && ! defined _STDLIB_H \
&& ! ((defined YYMALLOC || defined malloc) \
&& (defined YYFREE || defined free)))
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# ifndef _STDLIB_H
# define _STDLIB_H 1
# endif
# endif
# ifndef YYMALLOC
# define YYMALLOC malloc
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# ifndef YYFREE
# define YYFREE free
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|| defined __cplusplus || defined _MSC_VER)
void free (void *); /* INFRINGES ON USER NAME SPACE */
# endif
# endif
# endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
#if (! defined yyoverflow \
&& (! defined __cplusplus \
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */
union yyalloc
{
yytype_int16 yyss_alloc;
YYSTYPE yyvs_alloc;
};
/* The size of the maximum gap between one aligned stack and the next. */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with
N elements. */
# define YYSTACK_BYTES(N) \
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
/* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (YYID (0))
# endif
# endif
/* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next
stack. */
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (YYID (0))
#endif
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 4
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 1193
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 136
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 151
/* YYNRULES -- Number of rules. */
#define YYNRULES 372
/* YYNRULES -- Number of states. */
#define YYNSTATES 637
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 368
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const yytype_uint8 yytranslate[] =
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 119, 2, 2, 2, 134, 126, 2,
117, 118, 124, 123, 121, 120, 2, 125, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 131, 116,
129, 122, 130, 2, 2, 2, 2, 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, 135, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 114, 127, 115, 128, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113
};
#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
YYRHS. */
static const yytype_uint16 yyprhs[] =
{
0, 0, 3, 5, 8, 9, 12, 14, 16, 18,
20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
80, 82, 84, 86, 88, 90, 92, 94, 96, 99,
102, 106, 116, 117, 121, 124, 125, 131, 132, 139,
144, 146, 149, 151, 154, 157, 159, 161, 175, 176,
184, 186, 189, 190, 196, 198, 201, 203, 206, 207,
213, 215, 218, 220, 225, 227, 230, 234, 239, 241,
245, 247, 250, 253, 256, 259, 262, 266, 268, 270,
272, 274, 275, 277, 280, 283, 286, 287, 290, 291,
294, 295, 298, 301, 304, 307, 310, 311, 313, 316,
319, 322, 325, 328, 331, 334, 337, 340, 343, 346,
349, 352, 355, 358, 361, 364, 367, 372, 375, 377,
380, 381, 390, 391, 393, 394, 396, 397, 399, 401,
404, 406, 408, 413, 414, 416, 417, 420, 421, 424,
426, 430, 432, 434, 436, 438, 440, 442, 443, 445,
447, 449, 451, 454, 456, 460, 462, 464, 469, 471,
473, 475, 477, 479, 481, 483, 484, 486, 490, 496,
508, 509, 510, 519, 520, 524, 529, 530, 531, 540,
541, 544, 546, 550, 552, 553, 557, 559, 562, 564,
566, 568, 570, 572, 574, 576, 578, 580, 582, 584,
586, 588, 590, 592, 594, 596, 598, 600, 602, 604,
606, 608, 611, 614, 618, 622, 626, 629, 630, 632,
644, 645, 649, 651, 662, 663, 669, 670, 677, 678,
680, 695, 703, 718, 732, 734, 736, 738, 740, 742,
744, 746, 748, 751, 754, 757, 760, 763, 766, 769,
772, 775, 778, 782, 786, 788, 791, 794, 796, 799,
802, 805, 807, 810, 811, 813, 814, 817, 818, 822,
824, 828, 830, 834, 836, 842, 844, 846, 849, 850,
852, 853, 856, 857, 860, 862, 863, 865, 869, 874,
879, 884, 888, 892, 899, 906, 910, 913, 914, 918,
919, 923, 925, 926, 930, 932, 934, 936, 937, 941,
943, 951, 956, 960, 964, 965, 967, 968, 971, 973,
978, 981, 984, 986, 988, 991, 993, 995, 998, 1001,
1005, 1007, 1009, 1011, 1014, 1017, 1019, 1021, 1023, 1025,
1027, 1029, 1031, 1033, 1035, 1037, 1039, 1041, 1045, 1046,
1051, 1052, 1054
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
137, 0, -1, 138, -1, 137, 138, -1, -1, 139,
140, -1, 177, -1, 175, -1, 176, -1, 143, -1,
187, -1, 181, -1, 182, -1, 183, -1, 144, -1,
164, -1, 159, -1, 163, -1, 172, -1, 142, -1,
173, -1, 174, -1, 188, -1, 189, -1, 201, -1,
203, -1, 204, -1, 205, -1, 206, -1, 207, -1,
208, -1, 209, -1, 210, -1, 148, -1, 150, -1,
141, -1, 168, -1, 171, -1, 156, -1, 232, -1,
238, -1, 235, -1, 145, -1, 231, -1, 213, -1,
255, -1, 278, -1, 190, -1, 4, 27, -1, 5,
25, -1, 3, 25, 92, -1, 107, 227, 146, 259,
114, 191, 147, 115, 116, -1, -1, 117, 227, 118,
-1, 108, 211, -1, -1, 21, 283, 259, 149, 152,
-1, -1, 237, 21, 283, 259, 151, 152, -1, 114,
153, 115, 116, -1, 154, -1, 153, 154, -1, 190,
-1, 39, 211, -1, 40, 211, -1, 213, -1, 155,
-1, 84, 279, 25, 117, 267, 118, 257, 285, 259,
253, 116, 264, 265, -1, -1, 95, 25, 157, 114,
158, 115, 116, -1, 141, -1, 158, 141, -1, -1,
97, 160, 114, 161, 115, -1, 162, -1, 161, 162,
-1, 25, -1, 98, 25, -1, -1, 96, 165, 114,
166, 115, -1, 167, -1, 166, 167, -1, 25, -1,
23, 117, 170, 118, -1, 25, -1, 119, 25, -1,
169, 82, 25, -1, 169, 82, 119, 25, -1, 169,
-1, 216, 120, 216, -1, 24, -1, 99, 259, -1,
112, 179, -1, 113, 179, -1, 50, 179, -1, 51,
179, -1, 178, 179, 180, -1, 48, -1, 49, -1,
25, -1, 26, -1, -1, 92, -1, 42, 26, -1,
43, 26, -1, 44, 26, -1, -1, 10, 211, -1,
-1, 11, 211, -1, -1, 12, 211, -1, 20, 211,
-1, 45, 211, -1, 46, 211, -1, 47, 211, -1,
-1, 190, -1, 29, 211, -1, 30, 211, -1, 31,
211, -1, 32, 211, -1, 33, 211, -1, 34, 211,
-1, 35, 211, -1, 36, 211, -1, 37, 211, -1,
17, 211, -1, 18, 211, -1, 13, 211, -1, 14,
211, -1, 15, 211, -1, 16, 211, -1, 19, 211,
-1, 7, 211, -1, 8, 211, -1, 9, 26, 215,
211, -1, 212, 24, -1, 22, -1, 212, 22, -1,
-1, 78, 216, 259, 214, 114, 217, 115, 116, -1,
-1, 26, -1, -1, 25, -1, -1, 218, -1, 219,
-1, 218, 219, -1, 168, -1, 171, -1, 25, 221,
259, 220, -1, -1, 121, -1, -1, 122, 226, -1,
-1, 122, 223, -1, 226, -1, 223, 224, 226, -1,
120, -1, 123, -1, 124, -1, 125, -1, 126, -1,
127, -1, -1, 119, -1, 128, -1, 120, -1, 123,
-1, 225, 229, -1, 228, -1, 227, 81, 228, -1,
25, -1, 227, -1, 283, 117, 230, 118, -1, 93,
-1, 92, -1, 101, -1, 102, -1, 103, -1, 27,
-1, 100, -1, -1, 223, -1, 230, 121, 223, -1,
94, 279, 25, 259, 116, -1, 94, 279, 117, 282,
25, 118, 117, 284, 118, 259, 116, -1, -1, -1,
53, 227, 233, 241, 259, 234, 244, 116, -1, -1,
237, 236, 238, -1, 110, 129, 284, 130, -1, -1,
-1, 52, 227, 239, 241, 259, 240, 244, 116, -1,
-1, 131, 242, -1, 243, -1, 242, 121, 243, -1,
227, -1, -1, 114, 245, 115, -1, 246, -1, 245,
246, -1, 168, -1, 171, -1, 156, -1, 232, -1,
238, -1, 145, -1, 231, -1, 213, -1, 263, -1,
202, -1, 190, -1, 192, -1, 193, -1, 194, -1,
195, -1, 196, -1, 197, -1, 198, -1, 199, -1,
200, -1, 249, -1, 248, -1, 270, -1, 41, 211,
-1, 40, 211, -1, 54, 247, 131, -1, 55, 247,
131, -1, 56, 247, 131, -1, 57, 131, -1, -1,
59, -1, 254, 128, 25, 117, 118, 285, 258, 259,
116, 265, 266, -1, -1, 109, 250, 251, -1, 251,
-1, 25, 117, 267, 118, 285, 259, 252, 116, 264,
265, -1, -1, 132, 117, 267, 118, 133, -1, -1,
132, 279, 117, 267, 118, 133, -1, -1, 77, -1,
279, 25, 117, 267, 118, 257, 285, 258, 259, 253,
116, 264, 265, 266, -1, 279, 104, 122, 117, 279,
118, 116, -1, 279, 104, 256, 117, 267, 118, 257,
285, 258, 259, 253, 116, 265, 266, -1, 104, 279,
117, 267, 118, 257, 285, 258, 259, 253, 116, 265,
266, -1, 123, -1, 120, -1, 124, -1, 125, -1,
134, -1, 126, -1, 127, -1, 135, -1, 129, 129,
-1, 130, 130, -1, 123, 122, -1, 120, 122, -1,
124, 122, -1, 125, 122, -1, 134, 122, -1, 126,
122, -1, 127, 122, -1, 135, 122, -1, 129, 129,
122, -1, 130, 130, 122, -1, 128, -1, 117, 118,
-1, 132, 133, -1, 129, -1, 129, 122, -1, 122,
122, -1, 119, 122, -1, 130, -1, 130, 122, -1,
-1, 83, -1, -1, 122, 92, -1, -1, 125, 260,
125, -1, 261, -1, 260, 121, 261, -1, 25, -1,
25, 122, 262, -1, 179, -1, 25, 131, 180, 120,
180, -1, 27, -1, 92, -1, 6, 211, -1, -1,
263, -1, -1, 38, 211, -1, -1, 28, 211, -1,
268, -1, -1, 269, -1, 268, 121, 269, -1, 85,
216, 259, 222, -1, 86, 216, 259, 222, -1, 87,
216, 259, 222, -1, 88, 216, 259, -1, 89, 216,
259, -1, 90, 117, 267, 118, 216, 259, -1, 91,
117, 267, 118, 216, 259, -1, 106, 216, 259, -1,
280, 222, -1, -1, 58, 271, 273, -1, -1, 60,
272, 273, -1, 273, -1, -1, 84, 274, 275, -1,
275, -1, 276, -1, 278, -1, -1, 77, 277, 255,
-1, 255, -1, 279, 25, 259, 116, 184, 185, 186,
-1, 83, 283, 282, 281, -1, 283, 282, 281, -1,
279, 216, 259, -1, -1, 126, -1, -1, 282, 124,
-1, 227, -1, 227, 129, 284, 130, -1, 53, 227,
-1, 80, 62, -1, 62, -1, 80, -1, 80, 63,
-1, 63, -1, 64, -1, 80, 64, -1, 64, 64,
-1, 80, 64, 64, -1, 65, -1, 66, -1, 61,
-1, 79, 67, -1, 80, 67, -1, 67, -1, 68,
-1, 69, -1, 70, -1, 71, -1, 72, -1, 73,
-1, 74, -1, 75, -1, 76, -1, 111, -1, 279,
-1, 284, 121, 279, -1, -1, 105, 117, 286, 118,
-1, -1, 227, -1, 286, 121, 227, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
0, 350, 350, 351, 354, 354, 373, 374, 375, 376,
377, 378, 379, 380, 381, 382, 383, 384, 385, 386,
387, 388, 389, 393, 397, 401, 402, 403, 404, 405,
406, 407, 408, 409, 410, 411, 414, 415, 416, 417,
418, 419, 420, 421, 422, 423, 424, 425, 438, 447,
452, 478, 517, 521, 595, 600, 600, 606, 606, 656,
670, 671, 674, 678, 687, 696, 697, 700, 714, 714,
751, 752, 755, 755, 782, 783, 786, 791, 796, 796,
821, 822, 825, 830, 843, 846, 849, 852, 857, 858,
863, 869, 896, 907, 918, 931, 944, 977, 980, 985,
986, 1002, 1005, 1008, 1013, 1018, 1023, 1026, 1031, 1034,
1039, 1042, 1047, 1052, 1057, 1062, 1067, 1070, 1073, 1078,
1083, 1088, 1093, 1098, 1103, 1108, 1113, 1118, 1123, 1128,
1134, 1140, 1146, 1152, 1161, 1167, 1172, 1178, 1181, 1182,
1193, 1193, 1205, 1208, 1213, 1216, 1221, 1222, 1225, 1226,
1229, 1230, 1231, 1259, 1260, 1263, 1264, 1267, 1270, 1275,
1276, 1294, 1297, 1300, 1303, 1306, 1309, 1314, 1317, 1320,
1323, 1326, 1331, 1349, 1350, 1358, 1363, 1372, 1382, 1386,
1390, 1394, 1398, 1402, 1406, 1412, 1417, 1423, 1441, 1448,
1473, 1479, 1473, 1494, 1494, 1520, 1525, 1531, 1525, 1543,
1544, 1547, 1548, 1551, 1590, 1593, 1598, 1599, 1602, 1603,
1604, 1605, 1606, 1607, 1608, 1609, 1610, 1620, 1624, 1628,
1639, 1650, 1661, 1672, 1683, 1694, 1705, 1716, 1727, 1728,
1729, 1730, 1741, 1752, 1759, 1766, 1773, 1782, 1785, 1790,
1844, 1844, 1845, 1848, 1875, 1878, 1885, 1888, 1896, 1899,
1904, 1922, 1942, 1971, 2049, 2050, 2051, 2052, 2053, 2054,
2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064,
2065, 2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074,
2075, 2076, 2077, 2080, 2083, 2088, 2091, 2099, 2102, 2108,
2112, 2124, 2128, 2134, 2138, 2161, 2165, 2171, 2176, 2179,
2182, 2185, 2190, 2193, 2198, 2246, 2251, 2257, 2284, 2293,
2302, 2311, 2322, 2330, 2344, 2358, 2364, 2371, 2371, 2372,
2372, 2373, 2377, 2377, 2378, 2382, 2383, 2387, 2387, 2388,
2391, 2426, 2431, 2438, 2510, 2513, 2521, 2524, 2529, 2537,
2548, 2563, 2567, 2571, 2575, 2579, 2583, 2587, 2591, 2595,
2599, 2603, 2607, 2611, 2615, 2619, 2623, 2627, 2631, 2635,
2639, 2643, 2647, 2651, 2655, 2659, 2665, 2671, 2687, 2690,
2698, 2704, 2711
};
#endif
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
{
"$end", "error", "$undefined", "TK_API", "TK_DEFENCODING", "TK_PLUGIN",
"TK_DOCSTRING", "TK_DOC", "TK_EXPORTEDDOC", "TK_MAKEFILE",
"TK_ACCESSCODE", "TK_GETCODE", "TK_SETCODE", "TK_PREINITCODE",
"TK_INITCODE", "TK_POSTINITCODE", "TK_UNITCODE", "TK_MODCODE",
"TK_TYPECODE", "TK_PREPYCODE", "TK_COPYING", "TK_MAPPEDTYPE",
"TK_CODELINE", "TK_IF", "TK_END", "TK_NAME", "TK_PATHNAME", "TK_STRING",
"TK_VIRTUALCATCHERCODE", "TK_TRAVERSECODE", "TK_CLEARCODE",
"TK_GETBUFFERCODE", "TK_RELEASEBUFFERCODE", "TK_READBUFFERCODE",
"TK_WRITEBUFFERCODE", "TK_SEGCOUNTCODE", "TK_CHARBUFFERCODE",
"TK_PICKLECODE", "TK_METHODCODE", "TK_FROMTYPE", "TK_TOTYPE",
"TK_TOSUBCLASS", "TK_INCLUDE", "TK_OPTINCLUDE", "TK_IMPORT",
"TK_EXPHEADERCODE", "TK_MODHEADERCODE", "TK_TYPEHEADERCODE", "TK_MODULE",
"TK_CMODULE", "TK_CONSMODULE", "TK_COMPOMODULE", "TK_CLASS", "TK_STRUCT",
"TK_PUBLIC", "TK_PROTECTED", "TK_PRIVATE", "TK_SIGNALS",
"TK_SIGNAL_METHOD", "TK_SLOTS", "TK_SLOT_METHOD", "TK_BOOL", "TK_SHORT",
"TK_INT", "TK_LONG", "TK_FLOAT", "TK_DOUBLE", "TK_CHAR", "TK_WCHAR_T",
"TK_VOID", "TK_PYOBJECT", "TK_PYTUPLE", "TK_PYLIST", "TK_PYDICT",
"TK_PYCALLABLE", "TK_PYSLICE", "TK_PYTYPE", "TK_VIRTUAL", "TK_ENUM",
"TK_SIGNED", "TK_UNSIGNED", "TK_SCOPE", "TK_LOGICAL_OR", "TK_CONST",
"TK_STATIC", "TK_SIPSIGNAL", "TK_SIPSLOT", "TK_SIPANYSLOT",
"TK_SIPRXCON", "TK_SIPRXDIS", "TK_SIPSLOTCON", "TK_SIPSLOTDIS",
"TK_NUMBER", "TK_REAL", "TK_TYPEDEF", "TK_NAMESPACE", "TK_TIMELINE",
"TK_PLATFORMS", "TK_FEATURE", "TK_LICENSE", "TK_QCHAR", "TK_TRUE",
"TK_FALSE", "TK_NULL", "TK_OPERATOR", "TK_THROW", "TK_QOBJECT",
"TK_EXCEPTION", "TK_RAISECODE", "TK_EXPLICIT", "TK_TEMPLATE",
"TK_ELLIPSIS", "TK_DEFMETATYPE", "TK_DEFSUPERTYPE", "'{'", "'}'", "';'",
"'('", "')'", "'!'", "'-'", "','", "'='", "'+'", "'*'", "'/'", "'&'",
"'|'", "'~'", "'<'", "'>'", "':'", "'['", "']'", "'%'", "'^'", "$accept",
"specification", "statement", "$@1", "modstatement", "nsstatement",
"defencoding", "plugin", "api", "exception", "baseexception",
"raisecode", "mappedtype", "$@2", "mappedtypetmpl", "$@3",
"mtdefinition", "mtbody", "mtline", "mtfunction", "namespace", "$@4",
"nsbody", "platforms", "$@5", "platformlist", "platform", "feature",
"timeline", "$@6", "qualifierlist", "qualifiername", "ifstart",
"oredqualifiers", "qualifiers", "ifend", "license", "defmetatype",
"defsupertype", "consmodule", "compmodule", "module", "modlang",
"dottedname", "optnumber", "include", "optinclude", "import",
"optaccesscode", "optgetcode", "optsetcode", "copying", "exphdrcode",
"modhdrcode", "typehdrcode", "opttypehdrcode", "travcode", "clearcode",
"getbufcode", "releasebufcode", "readbufcode", "writebufcode",
"segcountcode", "charbufcode", "picklecode", "modcode", "typecode",
"preinitcode", "initcode", "postinitcode", "unitcode", "prepycode",
"doc", "exporteddoc", "makefile", "codeblock", "codelines", "enum",
"$@7", "optfilename", "optname", "optenumbody", "enumbody", "enumline",
"optcomma", "optenumassign", "optassign", "expr", "binop", "optunop",
"value", "scopedname", "scopepart", "simplevalue", "exprlist", "typedef",
"struct", "$@8", "$@9", "classtmpl", "$@10", "template", "class", "$@11",
"$@12", "superclasses", "superlist", "superclass", "optclassbody",
"classbody", "classline", "optslot", "dtor", "ctor", "$@13",
"simplector", "optctorsig", "optsig", "optvirtual", "function",
"operatorname", "optconst", "optabstract", "optflags", "flaglist",
"flag", "flagvalue", "docstring", "optdocstring", "methodcode",
"virtualcatchercode", "arglist", "rawarglist", "argvalue", "varmember",
"$@14", "$@15", "simple_varmem", "$@16", "varmem", "member", "$@17",
"variable", "cpptype", "argtype", "optref", "deref", "basetype",
"cpptypelist", "optexceptions", "exceptionlist", 0
};
#endif
# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
token YYLEX-NUM. */
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
365, 366, 367, 368, 123, 125, 59, 40, 41, 33,
45, 44, 61, 43, 42, 47, 38, 124, 126, 60,
62, 58, 91, 93, 37, 94
};
# endif
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint16 yyr1[] =
{
0, 136, 137, 137, 139, 138, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
140, 140, 140, 140, 140, 140, 141, 141, 141, 141,
141, 141, 141, 141, 141, 141, 141, 141, 142, 143,
144, 145, 146, 146, 147, 149, 148, 151, 150, 152,
153, 153, 154, 154, 154, 154, 154, 155, 157, 156,
158, 158, 160, 159, 161, 161, 162, 163, 165, 164,
166, 166, 167, 168, 169, 169, 169, 169, 170, 170,
171, 172, 173, 174, 175, 176, 177, 178, 178, 179,
179, 180, 180, 181, 182, 183, 184, 184, 185, 185,
186, 186, 187, 188, 189, 190, 191, 191, 192, 193,
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
204, 205, 206, 207, 208, 209, 210, 211, 212, 212,
214, 213, 215, 215, 216, 216, 217, 217, 218, 218,
219, 219, 219, 220, 220, 221, 221, 222, 222, 223,
223, 224, 224, 224, 224, 224, 224, 225, 225, 225,
225, 225, 226, 227, 227, 228, 229, 229, 229, 229,
229, 229, 229, 229, 229, 230, 230, 230, 231, 231,
233, 234, 232, 236, 235, 237, 239, 240, 238, 241,
241, 242, 242, 243, 244, 244, 245, 245, 246, 246,
246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
246, 246, 246, 246, 246, 246, 246, 247, 247, 248,
250, 249, 249, 251, 252, 252, 253, 253, 254, 254,
255, 255, 255, 255, 256, 256, 256, 256, 256, 256,
256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
256, 256, 256, 257, 257, 258, 258, 259, 259, 260,
260, 261, 261, 262, 262, 262, 262, 263, 264, 264,
265, 265, 266, 266, 267, 268, 268, 268, 269, 269,
269, 269, 269, 269, 269, 269, 269, 271, 270, 272,
270, 270, 274, 273, 273, 275, 275, 277, 276, 276,
278, 279, 279, 280, 281, 281, 282, 282, 283, 283,
283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
283, 283, 283, 283, 283, 283, 284, 284, 285, 285,
286, 286, 286
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const yytype_uint8 yyr2[] =
{
0, 2, 1, 2, 0, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
3, 9, 0, 3, 2, 0, 5, 0, 6, 4,
1, 2, 1, 2, 2, 1, 1, 13, 0, 7,
1, 2, 0, 5, 1, 2, 1, 2, 0, 5,
1, 2, 1, 4, 1, 2, 3, 4, 1, 3,
1, 2, 2, 2, 2, 2, 3, 1, 1, 1,
1, 0, 1, 2, 2, 2, 0, 2, 0, 2,
0, 2, 2, 2, 2, 2, 0, 1, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 4, 2, 1, 2,
0, 8, 0, 1, 0, 1, 0, 1, 1, 2,
1, 1, 4, 0, 1, 0, 2, 0, 2, 1,
3, 1, 1, 1, 1, 1, 1, 0, 1, 1,
1, 1, 2, 1, 3, 1, 1, 4, 1, 1,
1, 1, 1, 1, 1, 0, 1, 3, 5, 11,
0, 0, 8, 0, 3, 4, 0, 0, 8, 0,
2, 1, 3, 1, 0, 3, 1, 2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 2, 3, 3, 3, 2, 0, 1, 11,
0, 3, 1, 10, 0, 5, 0, 6, 0, 1,
14, 7, 14, 13, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 3, 3, 1, 2, 2, 1, 2, 2,
2, 1, 2, 0, 1, 0, 2, 0, 3, 1,
3, 1, 3, 1, 5, 1, 1, 2, 0, 1,
0, 2, 0, 2, 1, 0, 1, 3, 4, 4,
4, 3, 3, 6, 6, 3, 2, 0, 3, 0,
3, 1, 0, 3, 1, 1, 1, 0, 3, 1,
7, 4, 3, 3, 0, 1, 0, 2, 1, 4,
2, 2, 1, 1, 2, 1, 1, 2, 2, 3,
1, 1, 1, 2, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 3, 0, 4,
0, 1, 3
};
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
STATE-NUM when YYTABLE doesn't specify something else to do. Zero
means the default is an error. */
static const yytype_uint16 yydefact[] =
{
4, 4, 2, 0, 1, 3, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 90, 175, 0, 0, 0, 0, 0, 0, 97,
98, 0, 0, 0, 0, 352, 342, 345, 346, 350,
351, 355, 356, 357, 358, 359, 360, 361, 362, 363,
364, 144, 0, 343, 0, 0, 0, 78, 72, 0,
287, 0, 0, 0, 365, 0, 0, 5, 35, 19,
9, 14, 42, 33, 34, 38, 16, 17, 15, 36,
37, 18, 20, 21, 7, 8, 6, 0, 11, 12,
13, 10, 22, 23, 47, 24, 25, 26, 27, 28,
29, 30, 31, 32, 44, 338, 173, 43, 39, 41,
193, 40, 45, 46, 0, 336, 0, 48, 49, 138,
134, 0, 135, 142, 129, 130, 131, 132, 127, 133,
112, 0, 287, 144, 103, 104, 105, 113, 114, 115,
99, 100, 94, 95, 196, 190, 348, 145, 287, 353,
341, 344, 347, 354, 336, 0, 68, 0, 0, 77,
0, 91, 0, 52, 0, 92, 93, 101, 0, 0,
0, 0, 287, 0, 334, 50, 139, 137, 143, 0,
340, 55, 84, 0, 88, 0, 0, 199, 199, 140,
349, 334, 287, 336, 0, 0, 0, 291, 0, 289,
305, 0, 287, 366, 0, 102, 96, 174, 0, 287,
194, 305, 0, 0, 0, 255, 0, 254, 256, 257,
259, 260, 274, 277, 281, 0, 258, 261, 0, 337,
335, 332, 136, 0, 85, 0, 83, 144, 0, 287,
287, 0, 331, 0, 0, 0, 82, 0, 80, 76,
0, 74, 0, 0, 288, 144, 144, 144, 144, 144,
0, 0, 144, 0, 304, 306, 144, 157, 0, 0,
0, 195, 339, 57, 0, 106, 275, 280, 265, 0,
279, 264, 266, 267, 269, 270, 278, 262, 282, 263,
276, 268, 271, 305, 0, 56, 86, 0, 89, 203,
200, 201, 197, 191, 146, 188, 0, 70, 0, 193,
79, 81, 73, 75, 99, 295, 296, 293, 292, 290,
287, 287, 287, 287, 287, 305, 305, 287, 283, 0,
287, 167, 316, 53, 116, 367, 0, 283, 0, 108,
0, 272, 273, 0, 0, 0, 0, 0, 60, 66,
62, 65, 87, 0, 204, 204, 155, 150, 151, 0,
147, 148, 0, 0, 71, 101, 157, 157, 157, 311,
312, 0, 0, 315, 284, 368, 307, 333, 168, 170,
171, 169, 158, 0, 159, 117, 0, 58, 368, 107,
0, 110, 0, 283, 63, 64, 0, 0, 61, 202,
248, 0, 0, 167, 287, 0, 149, 0, 69, 0,
308, 309, 310, 144, 144, 0, 285, 161, 162, 163,
164, 165, 166, 167, 183, 179, 178, 184, 180, 181,
182, 176, 172, 0, 0, 0, 285, 109, 0, 330,
251, 368, 0, 59, 0, 0, 175, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 237, 237,
237, 0, 317, 319, 327, 322, 240, 213, 210, 208,
209, 218, 219, 220, 221, 222, 223, 224, 225, 226,
227, 217, 215, 214, 211, 212, 248, 206, 229, 228,
242, 0, 329, 216, 230, 321, 324, 325, 326, 198,
192, 156, 153, 141, 0, 101, 287, 287, 370, 0,
287, 160, 167, 54, 0, 287, 111, 285, 305, 297,
128, 305, 118, 119, 120, 121, 122, 123, 124, 125,
126, 232, 231, 238, 0, 0, 0, 236, 0, 0,
0, 0, 0, 205, 207, 0, 154, 152, 287, 294,
313, 314, 371, 0, 286, 246, 186, 0, 51, 246,
287, 0, 0, 233, 234, 235, 327, 318, 320, 328,
0, 323, 0, 241, 0, 0, 369, 0, 0, 0,
177, 167, 0, 246, 283, 368, 0, 0, 189, 372,
0, 300, 187, 298, 0, 368, 287, 368, 305, 0,
302, 299, 300, 300, 287, 244, 285, 0, 301, 0,
253, 302, 302, 246, 0, 0, 287, 0, 303, 250,
252, 0, 305, 298, 0, 247, 298, 0, 300, 300,
300, 0, 243, 302, 67, 245, 239
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
-1, 1, 2, 3, 67, 68, 69, 70, 71, 72,
202, 435, 73, 233, 74, 336, 295, 347, 348, 349,
75, 194, 308, 76, 158, 250, 251, 77, 78, 157,
247, 248, 79, 184, 185, 80, 81, 82, 83, 84,
85, 86, 87, 142, 206, 88, 89, 90, 339, 391,
439, 91, 92, 93, 94, 386, 472, 473, 474, 475,
476, 477, 478, 479, 480, 95, 481, 96, 97, 98,
99, 100, 101, 102, 103, 120, 121, 104, 241, 179,
148, 359, 360, 361, 547, 404, 332, 382, 423, 383,
384, 105, 106, 432, 557, 107, 108, 188, 355, 109,
171, 309, 111, 187, 354, 239, 300, 301, 401, 486,
487, 534, 488, 489, 542, 490, 615, 579, 491, 492,
228, 375, 510, 161, 198, 199, 318, 601, 602, 600,
610, 263, 264, 265, 494, 538, 539, 495, 541, 496,
497, 540, 498, 266, 267, 231, 174, 115, 204, 416,
553
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
#define YYPACT_NINF -544
static const yytype_int16 yypact[] =
{
-544, 62, -544, 558, -544, -544, 76, 88, 126, 144,
144, 150, 144, 144, 144, 144, 144, 144, 144, 1082,
87, -544, -544, 159, 183, 190, 144, 144, 144, -544,
-544, 165, 165, 189, 189, -544, -544, -544, 154, -544,
-544, -544, -544, -544, -544, -544, -544, -544, -544, -544,
-544, 203, 169, 97, 1082, 321, 212, -544, -544, 213,
114, 321, 189, 111, -544, 165, 165, -544, -544, -544,
-544, -544, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -544, -544, 165, -544, -544,
-544, -544, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -26, -544, -544, -544, -544,
220, -544, -544, -544, 9, -544, 153, -544, -544, -544,
-544, 63, -544, 216, -544, -544, -544, -544, -544, -544,
-544, 189, 114, 2, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, 167, 8, -544, -544, 114, -544,
-544, -544, 182, -544, -544, 12, -544, 135, 138, -544,
228, -544, 137, -18, 321, -544, -544, 164, 189, 321,
1082, 205, -11, 395, 81, -544, -544, -544, -544, 144,
167, -544, 139, 235, 179, 145, 146, 133, 133, -544,
-544, 81, 114, -544, 151, 242, 244, 148, -65, -544,
924, 189, 114, -544, -54, -544, -544, -544, -44, 114,
-544, 924, 155, 156, 157, 158, -6, 160, 181, 185,
186, 187, -544, -56, -12, 140, 191, 193, 161, -544,
-544, -544, -544, 162, -544, 11, -544, 203, 189, 114,
114, 196, -544, 195, 4, 872, -544, 18, -544, -544,
20, -544, 71, 228, -544, 203, 203, 203, 203, 203,
199, 200, 203, 163, 202, -544, 203, 198, -27, 207,
321, -544, -544, -544, 194, 262, -544, -544, -544, 321,
-544, -544, -544, -544, -544, -544, -544, 209, -544, 210,
-544, -544, -544, 924, 110, -544, -544, 299, -544, 167,
204, -544, -544, -544, 188, -544, 211, -544, 811, -544,
-544, -544, -544, -544, 206, -544, -544, -544, -544, -544,
114, 114, 114, 114, 114, 924, 924, 114, 255, 924,
114, 64, -544, -544, 280, -544, 162, 255, 144, 328,
223, -544, -544, 224, 144, 144, 321, 41, -544, -544,
-544, -544, -544, 189, 226, 226, 221, -544, -544, 230,
188, -544, 231, 233, -544, 164, 198, 198, 198, -544,
-544, 229, 232, -544, -544, 246, -544, -544, -544, -544,
-544, -544, 75, 400, -544, -544, 245, -544, 246, -544,
144, 340, 238, 255, -544, -544, 330, 240, -544, -544,
748, 241, 243, 64, 114, 247, -544, 321, -544, 248,
-544, -544, -544, 203, 203, 249, 236, -544, -544, -544,
-544, -544, -544, 64, -544, -544, -544, -544, -544, -544,
-544, -34, -544, 250, 144, 254, 236, -544, 144, -544,
-544, 246, 253, -544, 144, 144, 256, 144, 144, 144,
144, 144, 144, 144, 144, 144, 144, 144, 302, 302,
302, 234, -544, -544, 251, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -544, 654, -544, -544, -544,
-544, 274, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, 260, -544, 37, 164, 114, 114, 189, 270,
114, -544, 54, -544, 259, 114, -544, 236, 924, -544,
-544, 924, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, 272, 277, 278, -544, 976, 976,
222, 1029, 339, -544, -544, 346, -544, -544, 114, -544,
-544, -544, 167, 50, -544, 279, 75, 68, -544, 279,
114, 258, 294, -544, -544, -544, -544, -544, -544, -544,
16, -544, 256, -544, 296, 261, -544, 189, 321, 298,
-544, 64, 300, 279, 255, 246, 301, 303, -544, 167,
305, 334, 75, 411, 304, 246, 114, 246, 924, 144,
391, -544, 334, 334, 114, 297, 236, 308, -544, 144,
-544, 391, 391, 279, 313, 315, 114, 316, -544, -544,
-544, 317, 924, 411, 320, -544, 411, 332, 334, 334,
334, 318, -544, 391, -544, -544, -544
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
-544, -544, 451, -544, -544, -203, -544, -544, -544, -369,
-544, -544, -544, -544, -544, -544, 118, -544, 108, -544,
-350, -544, -544, -544, -544, -544, 208, -544, -544, -544,
-544, 239, -278, -544, -544, -276, -544, -544, -544, -544,
-544, -544, -544, -8, -335, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -269, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -544, -544, -544, -544, -544,
-544, -544, -544, -544, -544, -10, -544, -254, -544, -544,
-114, -544, -544, 96, -544, -544, -133, -474, -544, -544,
-359, -23, 289, -544, -544, -349, -348, -544, -544, -544,
-544, 456, -150, -544, -544, 290, -544, 124, 127, -544,
-3, -263, -544, -544, -544, -61, -544, -513, -544, 6,
-544, -322, -413, -100, -544, 237, -544, -339, -420, -449,
-543, -199, -544, 166, -544, -544, -544, -313, -544, -53,
-544, -544, 10, -2, -544, 306, -119, -5, -149, -366,
-544
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If zero, do what YYDEFACT says.
If YYTABLE_NINF, syntax error. */
#define YYTABLE_NINF -341
static const yytype_int16 yytable[] =
{
122, 114, 124, 125, 126, 127, 128, 129, 130, 112,
144, 145, 274, 113, 132, 388, 137, 138, 139, 186,
208, 210, 436, 515, 143, 350, 357, 182, 358, 306,
409, 467, 181, -340, 172, 191, 296, 192, 556, 163,
351, 586, 307, 246, 501, 249, 582, 168, 189, 154,
468, 483, 484, 155, 168, 168, 253, 165, 166, 162,
254, 493, 4, 168, 511, 385, 286, 270, 619, 620,
594, 441, 212, 287, 244, 517, 271, 270, 350, 167,
344, 345, 357, -338, 358, 176, 272, 177, 28, 168,
636, 333, 243, 351, 343, 169, 314, 141, 315, 201,
621, 116, 269, 169, 560, 364, 211, 592, 180, 273,
288, 279, -340, 173, 160, 117, 280, 467, 289, 51,
173, 183, 469, 298, 470, 346, 371, 372, 229, 193,
297, 471, -340, 310, -340, 312, 468, 483, 484, 302,
303, 320, 321, 322, 323, 324, 482, 493, 327, 344,
345, 118, 330, 611, 612, 548, 397, 28, 270, 150,
151, 152, 203, 316, 153, 209, 119, 203, 576, 232,
549, 577, -185, 378, 379, -185, 123, 380, 268, 632,
633, 634, 381, 378, 379, 134, 580, 380, 51, 581,
140, 141, 381, 616, 346, 417, 535, 536, 418, 419,
420, 421, 422, 628, 133, 229, 630, 230, 469, 135,
470, 20, 21, 356, 22, 299, 136, 471, 146, 596,
366, 367, 368, 369, 370, 567, 568, 373, 147, 604,
377, 606, 482, 410, 411, 412, 149, 156, 159, 160,
164, 170, 178, 114, 317, 175, 190, 22, 168, 195,
485, 112, 196, 197, 200, 113, 205, 33, 504, -145,
234, 235, 595, 236, 238, 245, 237, 246, 335, 249,
252, 275, 338, 290, 276, 131, 294, 340, 293, 277,
278, 328, 281, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 506,
507, 52, 53, 282, 502, 54, 114, 283, 284, 285,
304, 305, 337, 291, 112, 292, 325, 326, 113, 561,
331, 334, 562, 329, 352, 353, 61, 28, 389, 362,
299, 341, 342, 64, 394, 395, 485, 365, 374, 390,
400, 392, 393, 403, 396, 405, 22, 413, 407, 408,
414, 415, 438, 434, 440, 442, 443, 499, 509, 500,
431, 533, 554, 503, 572, 537, 508, 512, 505, 514,
518, 574, 599, 521, 131, 558, 584, 588, 433, -249,
437, 546, 35, 36, 37, 38, 39, 40, 41, 42,
43, 44, 45, 46, 47, 48, 49, 50, 114, 607,
52, 53, 545, 563, 54, 203, 550, 551, 564, 565,
555, 578, 585, 587, 591, 559, 593, 444, 211, 609,
603, 597, 598, 627, 513, 22, 617, 424, 516, 614,
622, 623, 64, 626, 519, 520, 629, 522, 523, 524,
525, 526, 527, 528, 529, 530, 531, 532, 575, 625,
631, 635, 5, 131, 387, 398, 406, 207, 313, 110,
583, 35, 36, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 399, 240, 52,
53, 573, 402, 544, 114, 552, 311, 0, 571, 0,
319, 0, 425, 426, 0, 376, 605, 242, 0, 0,
427, 428, 429, 430, 613, 0, 0, 0, 0, 0,
0, 64, 213, 0, 214, 215, 624, 216, 217, 218,
219, 220, 221, 222, 223, 224, 0, 225, 0, 226,
227, 0, 0, 0, 0, 0, 114, 114, 570, 114,
0, 0, 0, 0, 0, 0, 569, 0, 0, 0,
0, 0, 0, 0, 589, 0, 0, 0, 0, 0,
0, 6, 7, 8, 0, 9, 10, 11, 0, 0,
0, 12, 13, 14, 15, 16, 590, 17, 18, 19,
0, 20, 21, 22, 0, 0, 0, 0, 0, 608,
0, 0, 0, 0, 0, 0, 0, 0, 0, 618,
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
33, 34, 0, 0, 0, 0, 0, 0, 0, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 0, 51, 52, 53, 0,
0, 54, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 55, 56, 57, 58, 59, 60, 0, 0,
444, 0, 61, 0, 0, 62, 0, 0, 63, 64,
65, 66, 445, 0, 0, 0, 0, 20, 21, 446,
0, 0, 0, 447, 448, 449, 450, 451, 452, 453,
454, 455, 0, 0, 456, 457, 0, 0, 0, 0,
0, 28, 0, 0, 0, 0, 33, 34, 458, 459,
460, 461, 462, 0, 463, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 464, 51, 52, 53, 0, 0, 54, 465, 0,
0, 0, 0, 0, 0, 0, 0, 0, 55, 56,
0, 0, 0, 0, 444, 0, 0, 0, 61, 0,
0, 62, 0, 466, 0, 64, 445, 0, 0, 543,
0, 20, 21, 446, 0, 0, 0, 447, 448, 449,
450, 451, 452, 453, 454, 455, 0, 0, 456, 457,
0, 0, 0, 0, 0, 28, 0, 0, 0, 0,
33, 34, 458, 459, 460, 461, 462, 0, 463, 35,
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 464, 51, 52, 53, 0,
0, 54, 465, 0, 20, 21, 22, 0, 0, 0,
0, 0, 55, 56, 0, 0, 0, 0, 0, 0,
0, 0, 61, 0, 0, 62, 0, 466, 28, 64,
0, 0, 0, 33, 34, 0, 0, 0, 0, 0,
0, 0, 35, 36, 37, 38, 39, 40, 41, 42,
43, 44, 45, 46, 47, 48, 49, 50, 0, 51,
52, 53, 0, 0, 54, 20, 21, 22, 0, 0,
0, 0, 0, 0, 0, 55, 56, 0, 0, 0,
0, 0, 0, 0, 0, 61, 0, 0, 62, 28,
0, 63, 64, 0, 33, 34, 363, 0, 0, 0,
0, 0, 0, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 22,
51, 52, 53, 0, 0, 54, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 55, 56, 0, 0,
0, 0, 0, 0, 0, 0, 61, 131, 0, 62,
0, 0, 63, 64, 0, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 22, 0, 52, 53, 0, 0, 54, 0, 255,
256, 257, 258, 259, 260, 261, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 131,
262, 0, 0, 0, 0, 64, 0, 35, 36, 37,
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 566, 22, 52, 53, 0, 0, 54,
465, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
61, 0, 131, 0, 0, 0, 0, 64, 0, 0,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 566, 22, 52, 53,
0, 0, 54, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 61, 0, 131, 0, 0, 0, 0,
64, 0, 0, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 0,
0, 52, 53, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 64
};
static const yytype_int16 yycheck[] =
{
10, 3, 12, 13, 14, 15, 16, 17, 18, 3,
33, 34, 211, 3, 19, 337, 26, 27, 28, 133,
169, 171, 388, 436, 32, 294, 304, 25, 304, 25,
365, 400, 132, 25, 25, 154, 25, 25, 512, 62,
294, 25, 245, 25, 403, 25, 559, 81, 148, 54,
400, 400, 400, 55, 81, 81, 121, 65, 66, 61,
125, 400, 0, 81, 423, 334, 122, 121, 611, 612,
583, 393, 172, 129, 193, 441, 130, 121, 347, 87,
39, 40, 360, 117, 360, 22, 130, 24, 47, 81,
633, 118, 192, 347, 293, 129, 25, 26, 27, 117,
613, 25, 202, 129, 517, 308, 117, 581, 131, 209,
122, 117, 104, 104, 125, 27, 122, 486, 130, 78,
104, 119, 400, 237, 400, 84, 325, 326, 124, 117,
119, 400, 124, 115, 126, 115, 486, 486, 486, 239,
240, 255, 256, 257, 258, 259, 400, 486, 262, 39,
40, 25, 266, 602, 603, 118, 115, 47, 121, 62,
63, 64, 164, 92, 67, 170, 22, 169, 118, 179,
505, 121, 118, 119, 120, 121, 26, 123, 201, 628,
629, 630, 128, 119, 120, 26, 118, 123, 78, 121,
25, 26, 128, 606, 84, 120, 459, 460, 123, 124,
125, 126, 127, 623, 117, 124, 626, 126, 486, 26,
486, 23, 24, 25, 25, 238, 26, 486, 64, 585,
320, 321, 322, 323, 324, 538, 539, 327, 25, 595,
330, 597, 486, 366, 367, 368, 67, 25, 25, 125,
129, 21, 26, 245, 252, 92, 64, 25, 81, 114,
400, 245, 114, 25, 117, 245, 92, 52, 407, 120,
25, 82, 584, 118, 131, 114, 120, 25, 270, 25,
122, 116, 10, 133, 118, 53, 114, 279, 117, 122,
122, 118, 122, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75, 76, 413,
414, 79, 80, 122, 404, 83, 308, 122, 122, 122,
114, 116, 118, 122, 308, 122, 117, 117, 308, 518,
122, 114, 521, 121, 25, 121, 104, 47, 338, 118,
353, 122, 122, 111, 344, 345, 486, 131, 83, 11,
114, 118, 118, 122, 346, 115, 25, 118, 117, 116,
118, 105, 12, 108, 116, 25, 116, 116, 122, 116,
383, 59, 92, 116, 25, 131, 117, 117, 120, 115,
117, 25, 38, 117, 53, 116, 118, 116, 383, 128,
390, 121, 61, 62, 63, 64, 65, 66, 67, 68,
69, 70, 71, 72, 73, 74, 75, 76, 400, 598,
79, 80, 128, 131, 83, 407, 506, 507, 131, 131,
510, 132, 118, 117, 116, 515, 116, 6, 117, 28,
116, 118, 117, 622, 434, 25, 118, 27, 438, 132,
117, 116, 111, 116, 444, 445, 116, 447, 448, 449,
450, 451, 452, 453, 454, 455, 456, 457, 548, 133,
118, 133, 1, 53, 336, 347, 360, 168, 250, 3,
560, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75, 76, 353, 188, 79,
80, 542, 355, 486, 486, 508, 247, -1, 541, -1,
253, -1, 92, 93, -1, 329, 596, 191, -1, -1,
100, 101, 102, 103, 604, -1, -1, -1, -1, -1,
-1, 111, 117, -1, 119, 120, 616, 122, 123, 124,
125, 126, 127, 128, 129, 130, -1, 132, -1, 134,
135, -1, -1, -1, -1, -1, 538, 539, 540, 541,
-1, -1, -1, -1, -1, -1, 540, -1, -1, -1,
-1, -1, -1, -1, 577, -1, -1, -1, -1, -1,
-1, 3, 4, 5, -1, 7, 8, 9, -1, -1,
-1, 13, 14, 15, 16, 17, 578, 19, 20, 21,
-1, 23, 24, 25, -1, -1, -1, -1, -1, 599,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 609,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, -1, -1, -1, -1, -1, -1, -1, 61,
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, -1, 78, 79, 80, -1,
-1, 83, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 94, 95, 96, 97, 98, 99, -1, -1,
6, -1, 104, -1, -1, 107, -1, -1, 110, 111,
112, 113, 18, -1, -1, -1, -1, 23, 24, 25,
-1, -1, -1, 29, 30, 31, 32, 33, 34, 35,
36, 37, -1, -1, 40, 41, -1, -1, -1, -1,
-1, 47, -1, -1, -1, -1, 52, 53, 54, 55,
56, 57, 58, -1, 60, 61, 62, 63, 64, 65,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 79, 80, -1, -1, 83, 84, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 94, 95,
-1, -1, -1, -1, 6, -1, -1, -1, 104, -1,
-1, 107, -1, 109, -1, 111, 18, -1, -1, 115,
-1, 23, 24, 25, -1, -1, -1, 29, 30, 31,
32, 33, 34, 35, 36, 37, -1, -1, 40, 41,
-1, -1, -1, -1, -1, 47, -1, -1, -1, -1,
52, 53, 54, 55, 56, 57, 58, -1, 60, 61,
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79, 80, -1,
-1, 83, 84, -1, 23, 24, 25, -1, -1, -1,
-1, -1, 94, 95, -1, -1, -1, -1, -1, -1,
-1, -1, 104, -1, -1, 107, -1, 109, 47, 111,
-1, -1, -1, 52, 53, -1, -1, -1, -1, -1,
-1, -1, 61, 62, 63, 64, 65, 66, 67, 68,
69, 70, 71, 72, 73, 74, 75, 76, -1, 78,
79, 80, -1, -1, 83, 23, 24, 25, -1, -1,
-1, -1, -1, -1, -1, 94, 95, -1, -1, -1,
-1, -1, -1, -1, -1, 104, -1, -1, 107, 47,
-1, 110, 111, -1, 52, 53, 115, -1, -1, -1,
-1, -1, -1, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75, 76, 25,
78, 79, 80, -1, -1, 83, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 94, 95, -1, -1,
-1, -1, -1, -1, -1, -1, 104, 53, -1, 107,
-1, -1, 110, 111, -1, 61, 62, 63, 64, 65,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 25, -1, 79, 80, -1, -1, 83, -1, 85,
86, 87, 88, 89, 90, 91, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 53,
106, -1, -1, -1, -1, 111, -1, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
74, 75, 76, 77, 25, 79, 80, -1, -1, 83,
84, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
104, -1, 53, -1, -1, -1, -1, 111, -1, -1,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 25, 79, 80,
-1, -1, 83, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 104, -1, 53, -1, -1, -1, -1,
111, -1, -1, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75, 76, -1,
-1, 79, 80, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 111
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */
static const yytype_uint16 yystos[] =
{
0, 137, 138, 139, 0, 138, 3, 4, 5, 7,
8, 9, 13, 14, 15, 16, 17, 19, 20, 21,
23, 24, 25, 42, 43, 44, 45, 46, 47, 48,
49, 50, 51, 52, 53, 61, 62, 63, 64, 65,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 78, 79, 80, 83, 94, 95, 96, 97, 98,
99, 104, 107, 110, 111, 112, 113, 140, 141, 142,
143, 144, 145, 148, 150, 156, 159, 163, 164, 168,
171, 172, 173, 174, 175, 176, 177, 178, 181, 182,
183, 187, 188, 189, 190, 201, 203, 204, 205, 206,
207, 208, 209, 210, 213, 227, 228, 231, 232, 235,
237, 238, 255, 278, 279, 283, 25, 27, 25, 22,
211, 212, 211, 26, 211, 211, 211, 211, 211, 211,
211, 53, 283, 117, 26, 26, 26, 211, 211, 211,
25, 26, 179, 179, 227, 227, 64, 25, 216, 67,
62, 63, 64, 67, 283, 279, 25, 165, 160, 25,
125, 259, 279, 227, 129, 179, 179, 179, 81, 129,
21, 236, 25, 104, 282, 92, 22, 24, 26, 215,
227, 259, 25, 119, 169, 170, 216, 239, 233, 259,
64, 282, 25, 117, 157, 114, 114, 25, 260, 261,
117, 117, 146, 279, 284, 92, 180, 228, 284, 283,
238, 117, 259, 117, 119, 120, 122, 123, 124, 125,
126, 127, 128, 129, 130, 132, 134, 135, 256, 124,
126, 281, 211, 149, 25, 82, 118, 120, 131, 241,
241, 214, 281, 259, 282, 114, 25, 166, 167, 25,
161, 162, 122, 121, 125, 85, 86, 87, 88, 89,
90, 91, 106, 267, 268, 269, 279, 280, 227, 259,
121, 130, 130, 259, 267, 116, 118, 122, 122, 117,
122, 122, 122, 122, 122, 122, 122, 129, 122, 130,
133, 122, 122, 117, 114, 152, 25, 119, 216, 227,
242, 243, 259, 259, 114, 116, 25, 141, 158, 237,
115, 167, 115, 162, 25, 27, 92, 179, 262, 261,
216, 216, 216, 216, 216, 117, 117, 216, 118, 121,
216, 122, 222, 118, 114, 279, 151, 118, 10, 184,
279, 122, 122, 267, 39, 40, 84, 153, 154, 155,
190, 213, 25, 121, 240, 234, 25, 168, 171, 217,
218, 219, 118, 115, 141, 131, 259, 259, 259, 259,
259, 267, 267, 259, 83, 257, 269, 259, 119, 120,
123, 128, 223, 225, 226, 190, 191, 152, 257, 211,
11, 185, 118, 118, 211, 211, 279, 115, 154, 243,
114, 244, 244, 122, 221, 115, 219, 117, 116, 180,
222, 222, 222, 118, 118, 105, 285, 120, 123, 124,
125, 126, 127, 224, 27, 92, 93, 100, 101, 102,
103, 227, 229, 283, 108, 147, 285, 211, 12, 186,
116, 257, 25, 116, 6, 18, 25, 29, 30, 31,
32, 33, 34, 35, 36, 37, 40, 41, 54, 55,
56, 57, 58, 60, 77, 84, 109, 145, 156, 168,
171, 190, 192, 193, 194, 195, 196, 197, 198, 199,
200, 202, 213, 231, 232, 238, 245, 246, 248, 249,
251, 254, 255, 263, 270, 273, 275, 276, 278, 116,
116, 226, 259, 116, 284, 120, 216, 216, 117, 122,
258, 226, 117, 211, 115, 258, 211, 285, 117