/* A Bison parser, made by GNU Bison 3.0.2. */
/* Skeleton implementation for Bison GLR parsers in C
Copyright (C) 2002-2013 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 . */
/* 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 GLR parser skeleton written by Paul Hilfinger. */
/* Identify Bison output. */
#define YYBISON 1
/* Bison version. */
#define YYBISON_VERSION "3.0.2"
/* Skeleton name. */
#define YYSKELETON_NAME "glr.c"
/* Pure parsers. */
#define YYPURE 0
/* First part of user declarations. */
/*
This file must be translated to C and modified to build everywhere.
Run bison like this (use bison 3.0.2 or later)
bison --no-lines -b vtkParse vtkParse.y
Modify vtkParse.tab.c:
- replace all instances of "static inline" with "static"
- replace "#if ! defined lint || defined __GNUC__" with "#if 1"
- remove YY_ATTRIBUTE_UNUSED from yyfillin, yyfill, and yynormal
- remove the "break;" after "return yyreportAmbiguity"
- replace "(1-yyrhslen)" with "(1-(int)yyrhslen)"
- remove dead store "yynewStates = YY_NULLPTR;"
- replace "sizeof(yyGLRState*) with "sizeof (yyGLRState*)"
- replace "sizeof yynewLookaheadNeeds[0] with "sizeof (yybool)"
*/
/*
The purpose of this parser is to read C++ header files in order to
generate data structures that describe the C++ interface of a library,
one header file at a time. As such, it is not a complete C++ parser.
It only parses what is relevant to the interface and skips the rest.
While the parser reads method definitions, type definitions, and
template definitions it generates a "signature" which is a string
that matches (apart from whitespace) the text that was parsed.
While parsing types, the parser creates an unsigned int that describes
the type as well as creating other data structures for arrays, function
pointers, etc. The parser also creates a typeId string, which is either
a simple id that gives the class name or type name, or is "function" for
function pointer types, or "method" for method pointer types.
*/
/*
Conformance Notes:
This parser was designed empirically and incrementally. It has been
refactored to make it more similar to the C++ 1998 grammar, but there
are still many very significant differences.
The most significant difference between this parser and a "standard"
parser is that it only parses declarations in detail. All other
statements and expressions are parsed as arbitrary sequences of symbols,
without any syntactic analysis.
The "unqualified_id" does not directly include "operator_function_id" or
"conversion_function_id" (e.g. ids like "operator=" or "operator int*").
Instead, these two id types are used to allow operator functions to be
handled by their own rules, rather than by the generic function rules.
These ids can only be used in function declarations and using declarations.
Types are handled quite differently from the C++ BNF. These differences
represent a prolonged (and ultimately successful) attempt to empirically
create a yacc parser without any shift/reduce conflicts. The rules for
types are organized according to the way that types are usually defined
in working code, rather than strictly according to C++ grammar.
The declaration specifier "typedef" can only appear at the beginning
of a declaration sequence. There are also restrictions on where class
and enum specifiers can be used: you can declare a new struct within a
variable declaration, but not within a parameter declaration.
The lexer returns each of "(scope::*", "(*", "(a::b::*", etc. as single
tokens. The C++ BNF, in contrast, would consider these to be a "("
followed by a "ptr_operator". The lexer concatenates these tokens in
order to eliminate shift/reduce conflicts in the parser. However, this
means that this parser will only recognize "scope::*" as valid if it is
preceded by "(", e.g. as part of a member function pointer specification.
Variables that are initialized via constructor arguments, for example
"someclass variablename(arglist)", must take a literals as the first
argument. If an identifier is used as the first argument, then the
parser will interpret the variable declaration as a function declaration,
since the parser will assume the identifier names a type.
An odd bit of C++ ambiguity is that y(x); can be interpreted variously
as declaration of variable "x" of type "y", as a function call if "y"
is the name of a function, or as a constructor if "y" is the name of
a class. This parser always interprets this pattern as a constructor
declaration, because function calls are ignored by the parser, and
variable declarations of the form y(x); are exceedingly rare compared
to the more usual form y x; without parentheses.
*/
#include
#include
#include
#define yyerror(a) print_parser_error(a, NULL, 0)
#define yywrap() 1
/* Make sure yacc-generated code knows we have included stdlib.h. */
#ifndef _STDLIB_H
# define _STDLIB_H
#endif
#define YYINCLUDED_STDLIB_H
/* Borland and MSVC do not define __STDC__ properly. */
#if !defined(__STDC__)
# if defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ < 0x660))
# define __STDC__ 1
# endif
#endif
/* Disable warnings in generated code. */
#if defined(_MSC_VER)
# pragma warning (disable: 4127) /* conditional expression is constant */
# pragma warning (disable: 4244) /* conversion to smaller integer type */
#endif
#if defined(__BORLANDC__) && (__BORLANDC__ < 0x660)
# pragma warn -8004 /* assigned a value that is never used */
# pragma warn -8008 /* conditional is always true */
# pragma warn -8066 /* unreachable code */
#endif
/* Map from the type anonymous_enumeration in vtkType.h to the
VTK wrapping type system number for the type. */
#include "vtkParse.h"
#include "vtkParsePreprocess.h"
#include "vtkParseData.h"
#include "vtkType.h"
static unsigned int vtkParseTypeMap[] =
{
VTK_PARSE_VOID, /* VTK_VOID 0 */
0, /* VTK_BIT 1 */
VTK_PARSE_CHAR, /* VTK_CHAR 2 */
VTK_PARSE_UNSIGNED_CHAR, /* VTK_UNSIGNED_CHAR 3 */
VTK_PARSE_SHORT, /* VTK_SHORT 4 */
VTK_PARSE_UNSIGNED_SHORT, /* VTK_UNSIGNED_SHORT 5 */
VTK_PARSE_INT, /* VTK_INT 6 */
VTK_PARSE_UNSIGNED_INT, /* VTK_UNSIGNED_INT 7 */
VTK_PARSE_LONG, /* VTK_LONG 8 */
VTK_PARSE_UNSIGNED_LONG, /* VTK_UNSIGNED_LONG 9 */
VTK_PARSE_FLOAT, /* VTK_FLOAT 10 */
VTK_PARSE_DOUBLE, /* VTK_DOUBLE 11 */
VTK_PARSE_ID_TYPE, /* VTK_ID_TYPE 12 */
VTK_PARSE_STRING, /* VTK_STRING 13 */
0, /* VTK_OPAQUE 14 */
VTK_PARSE_SIGNED_CHAR, /* VTK_SIGNED_CHAR 15 */
VTK_PARSE_LONG_LONG, /* VTK_LONG_LONG 16 */
VTK_PARSE_UNSIGNED_LONG_LONG, /* VTK_UNSIGNED_LONG_LONG 17 */
VTK_PARSE___INT64, /* VTK___INT64 18 */
VTK_PARSE_UNSIGNED___INT64, /* VTK_UNSIGNED___INT64 19 */
0, /* VTK_VARIANT 20 */
0, /* VTK_OBJECT 21 */
VTK_PARSE_UNICODE_STRING /* VTK_UNICODE_STRING 22 */
};
/* Define some constants to simplify references to the table lookup in
the primitive_type production rule code. */
#define VTK_PARSE_INT8 vtkParseTypeMap[VTK_TYPE_INT8]
#define VTK_PARSE_UINT8 vtkParseTypeMap[VTK_TYPE_UINT8]
#define VTK_PARSE_INT16 vtkParseTypeMap[VTK_TYPE_INT16]
#define VTK_PARSE_UINT16 vtkParseTypeMap[VTK_TYPE_UINT16]
#define VTK_PARSE_INT32 vtkParseTypeMap[VTK_TYPE_INT32]
#define VTK_PARSE_UINT32 vtkParseTypeMap[VTK_TYPE_UINT32]
#define VTK_PARSE_INT64 vtkParseTypeMap[VTK_TYPE_INT64]
#define VTK_PARSE_UINT64 vtkParseTypeMap[VTK_TYPE_UINT64]
#define VTK_PARSE_FLOAT32 vtkParseTypeMap[VTK_TYPE_FLOAT32]
#define VTK_PARSE_FLOAT64 vtkParseTypeMap[VTK_TYPE_FLOAT64]
/* Define the kinds of [[attributes]] to collect */
enum
{
VTK_PARSE_ATTRIB_NONE,
VTK_PARSE_ATTRIB_DECL, /* modify a declaration */
VTK_PARSE_ATTRIB_ID, /* modify an id */
VTK_PARSE_ATTRIB_REF, /* modify *, &, or && */
VTK_PARSE_ATTRIB_FUNC, /* modify a function or method */
VTK_PARSE_ATTRIB_ARRAY, /* modify an array size specifier */
VTK_PARSE_ATTRIB_CLASS /* modify class, struct, union, or enum */
};
#define vtkParseDebug(s1, s2) \
if ( parseDebug ) { fprintf(stderr, " %s %s\n", s1, s2); }
/* the tokenizer */
int yylex(void);
/* global variables */
FileInfo *data = NULL;
int parseDebug;
/* the "preprocessor" */
PreprocessInfo *preprocessor = NULL;
/* include dirs specified on the command line */
int NumberOfIncludeDirectories= 0;
const char **IncludeDirectories;
/* macros specified on the command line */
int NumberOfDefinitions = 0;
const char **Definitions;
/* options that can be set by the programs that use the parser */
int Recursive = 0;
const char *CommandName = NULL;
/* various state variables */
NamespaceInfo *currentNamespace = NULL;
ClassInfo *currentClass = NULL;
FunctionInfo *currentFunction = NULL;
TemplateInfo *currentTemplate = NULL;
const char *currentEnumName = NULL;
const char *currentEnumValue = NULL;
unsigned int currentEnumType = 0;
parse_access_t access_level = VTK_ACCESS_PUBLIC;
/* functions from vtkParse.l */
void print_parser_error(const char *text, const char *cp, size_t n);
/* helper functions */
const char *type_class(unsigned int type, const char *classname);
void start_class(const char *classname, int is_struct_or_union);
void end_class(void);
void add_base_class(ClassInfo *cls, const char *name, int access_lev,
unsigned int extra);
void output_friend_function(void);
void output_function(void);
void reject_function(void);
void set_return(FunctionInfo *func, unsigned int type,
const char *typeclass, int count);
void add_parameter(FunctionInfo *func, unsigned int type,
const char *classname, int count);
void add_template_parameter(unsigned int datatype,
unsigned int extra, const char *funcSig);
void add_using(const char *name, int is_namespace);
void start_enum(const char *name, int is_scoped,
unsigned int type, const char *basename);
void add_enum(const char *name, const char *value);
void end_enum(void);
unsigned int guess_constant_type(const char *value);
void add_constant(const char *name, const char *value,
unsigned int type, const char *typeclass, int global);
const char *add_const_scope(const char *name);
void prepend_scope(char *cp, const char *arg);
unsigned int guess_id_type(const char *cp);
unsigned int add_indirection(unsigned int tval, unsigned int ptr);
unsigned int add_indirection_to_array(unsigned int ptr);
void handle_complex_type(ValueInfo *val, unsigned int datatype,
unsigned int extra, const char *funcSig);
void handle_function_type(ValueInfo *param, const char *name,
const char *funcSig);
void handle_attribute(const char *att, int pack);
void add_legacy_parameter(FunctionInfo *func, ValueInfo *param);
void outputSetVectorMacro(const char *var, unsigned int paramType,
const char *typeText, int n);
void outputGetVectorMacro(const char *var, unsigned int paramType,
const char *typeText, int n);
/*----------------------------------------------------------------
* String utility methods
*
* Strings are centrally allocated and are const, and they are not
* freed until the program exits. If they need to be freed before
* then, vtkParse_FreeStringCache() can be called.
*/
/* duplicate the first n bytes of a string and terminate */
static const char *vtkstrndup(const char *in, size_t n)
{
return vtkParse_CacheString(data->Strings, in, n);
}
/* duplicate a string */
static const char *vtkstrdup(const char *in)
{
if (in)
{
in = vtkParse_CacheString(data->Strings, in, strlen(in));
}
return in;
}
/* helper function for concatenating strings */
static const char *vtkstrncat(size_t n, const char **str)
{
char *cp;
size_t i;
size_t j[8];
size_t m = 0;
for (i = 0; i < n; i++)
{
j[i] = 0;
if (str[i])
{
j[i] = strlen(str[i]);
m += j[i];
}
}
cp = vtkParse_NewString(data->Strings, m);
m = 0;
for (i = 0; i < n; i++)
{
if (j[i])
{
strncpy(&cp[m], str[i], j[i]);
m += j[i];
}
}
cp[m] = '\0';
return cp;
}
/* concatenate strings */
static const char *vtkstrcat(const char *str1, const char *str2)
{
const char *cp[2];
cp[0] = str1;
cp[1] = str2;
return vtkstrncat(2, cp);
}
static const char *vtkstrcat3(const char *str1, const char *str2,
const char *str3)
{
const char *cp[3];
cp[0] = str1;
cp[1] = str2;
cp[2] = str3;
return vtkstrncat(3, cp);
}
static const char *vtkstrcat4(const char *str1, const char *str2,
const char *str3, const char *str4)
{
const char *cp[4];
cp[0] = str1;
cp[1] = str2;
cp[2] = str3;
cp[3] = str4;
return vtkstrncat(4, cp);
}
static const char *vtkstrcat7(const char *str1, const char *str2,
const char *str3, const char *str4,
const char *str5, const char *str6,
const char *str7)
{
const char *cp[7];
cp[0] = str1;
cp[1] = str2;
cp[2] = str3;
cp[3] = str4;
cp[4] = str5;
cp[5] = str6;
cp[6] = str7;
return vtkstrncat(7, cp);
}
/*----------------------------------------------------------------
* Comments
*/
enum comment_enum
{
ClosedComment = -2,
StickyComment = -1,
NoComment = 0,
NormalComment = 1,
NameComment = 2,
DescriptionComment = 3,
SeeAlsoComment = 4,
CaveatsComment = 5,
DoxygenComment = 6,
TrailingComment = 7
};
/* "private" variables */
char *commentText = NULL;
size_t commentLength = 0;
size_t commentAllocatedLength = 0;
int commentState = 0;
int commentMemberGroup = 0;
int commentGroupDepth = 0;
parse_dox_t commentType = DOX_COMMAND_OTHER;
const char *commentTarget = NULL;
/* Struct for recognizing certain doxygen commands */
struct DoxygenCommandInfo
{
const char *name;
size_t length;
parse_dox_t type;
};
/* List of doxygen commands (@cond is not handled yet) */
struct DoxygenCommandInfo doxygenCommands[] = {
{ "def", 3, DOX_COMMAND_DEF },
{ "category", 8, DOX_COMMAND_CATEGORY },
{ "interface", 9, DOX_COMMAND_INTERFACE },
{ "protocol", 8, DOX_COMMAND_PROTOCOL },
{ "class", 5, DOX_COMMAND_CLASS },
{ "enum", 4, DOX_COMMAND_ENUM },
{ "struct", 6, DOX_COMMAND_STRUCT },
{ "union", 5, DOX_COMMAND_UNION },
{ "namespace", 9, DOX_COMMAND_NAMESPACE },
{ "typedef", 7, DOX_COMMAND_TYPEDEF },
{ "fn", 2, DOX_COMMAND_FN },
{ "property", 8, DOX_COMMAND_PROPERTY },
{ "var", 3, DOX_COMMAND_VAR },
{ "name", 4, DOX_COMMAND_NAME },
{ "defgroup", 8, DOX_COMMAND_DEFGROUP },
{ "addtogroup", 10, DOX_COMMAND_ADDTOGROUP },
{ "weakgroup", 9, DOX_COMMAND_WEAKGROUP },
{ "example", 7, DOX_COMMAND_EXAMPLE },
{ "file", 4, DOX_COMMAND_FILE },
{ "dir", 3, DOX_COMMAND_DIR },
{ "mainpage", 8, DOX_COMMAND_MAINPAGE },
{ "page", 4, DOX_COMMAND_PAGE },
{ "subpage", 7, DOX_COMMAND_SUBPAGE },
{ "internal", 8, DOX_COMMAND_INTERNAL },
{ "package", 7, DOX_COMMAND_PACKAGE },
{ "privatesection", 14, DOX_COMMAND_PRIVATESECTION },
{ "protectedsection", 16, DOX_COMMAND_PROTECTEDSECTION },
{ "publicsection", 13, DOX_COMMAND_PUBLICSECTION },
{ NULL, 0, DOX_COMMAND_OTHER }
};
void closeComment(void);
/* Clear the comment buffer */
void clearComment()
{
commentLength = 0;
if (commentText)
{
commentText[commentLength] = '\0';
}
commentState = 0;
commentType = DOX_COMMAND_OTHER;
}
/* This is called when entering or leaving a comment block */
void setCommentState(int state)
{
switch (state)
{
case 0:
closeComment();
break;
default:
closeComment();
clearComment();
break;
}
commentState = state;
}
/* Get the text from the comment buffer */
const char *getComment()
{
const char *text = commentText;
const char *cp = commentText;
size_t l = commentLength;
if (commentText != NULL && commentState != 0)
{
/* strip trailing blank lines */
while (l > 0 && (cp[l-1] == ' ' || cp[l-1] == '\t' ||
cp[l-1] == '\r' || cp[l-1] == '\n'))
{
if (cp[l-1] == '\n')
{
commentLength = l;
}
l--;
}
commentText[commentLength] = '\0';
/* strip leading blank lines */
while (*cp == ' ' || *cp == '\t' || *cp == '\r' || *cp == '\n')
{
if (*cp == '\n')
{
text = cp + 1;
}
cp++;
}
return text;
}
return NULL;
}
/* Check for doxygen commands that mark unwanted comments */
parse_dox_t checkDoxygenCommand(const char *text, size_t n)
{
struct DoxygenCommandInfo *info;
for (info = doxygenCommands; info->name; info++)
{
if (info->length == n && strncmp(text, info->name, n) == 0)
{
return info->type;
}
}
return DOX_COMMAND_OTHER;
}
/* This is called whenever a comment line is encountered */
void addCommentLine(const char *line, size_t n, int type)
{
size_t i, j;
parse_dox_t t = DOX_COMMAND_OTHER;
if (type == DoxygenComment || commentState == DoxygenComment)
{
if (type == DoxygenComment)
{
/* search for '@' and backslash */
for (i = 0; i+1 < n; i++)
{
if (line[i] == '@' || line[i] == '\\')
{
j = ++i;
while (i < n && line[i] >= 'a' && line[i] <= 'z')
{
i++;
}
if (line[i-1] == '@' && (line[i] == '{' || line[i] == '}'))
{
if (line[i] == '{')
{
commentGroupDepth++;
}
else
{
--commentGroupDepth;
}
closeComment();
return;
}
else
{
/* record the type of this comment */
t = checkDoxygenCommand(&line[j], i-j);
if (t != DOX_COMMAND_OTHER)
{
while (i < n && line[i] == ' ')
{
i++;
}
j = i;
while (i < n && vtkParse_CharType(line[i], CPRE_XID))
{
i++;
}
commentTarget = vtkstrndup(&line[j], i-j);
/* remove this line from the comment */
n = 0;
}
}
}
}
}
else if (commentState == DoxygenComment)
{
return;
}
if (commentState != type)
{
setCommentState(type);
}
if (t != DOX_COMMAND_OTHER)
{
commentType = t;
}
}
else if (type == TrailingComment)
{
if (commentState != type)
{
setCommentState(type);
}
}
else if (commentState == 0 ||
commentState == StickyComment ||
commentState == ClosedComment)
{
clearComment();
return;
}
if (commentText == NULL)
{
commentAllocatedLength = n+80;
commentText = (char *)malloc(commentAllocatedLength);
commentLength = 0;
commentText[0] = '\0';
}
else if (commentLength + n + 2 > commentAllocatedLength)
{
commentAllocatedLength = commentAllocatedLength + commentLength + n + 2;
commentText = (char *)realloc(commentText, commentAllocatedLength);
if (!commentText)
{
fprintf(stderr, "Wrapping: out of memory\n");
exit(1);
}
}
if (n > 0)
{
memcpy(&commentText[commentLength], line, n);
}
commentLength += n;
commentText[commentLength++] = '\n';
commentText[commentLength] = '\0';
}
/* Store a doxygen comment */
void storeComment()
{
CommentInfo *info = (CommentInfo *)malloc(sizeof(CommentInfo));
vtkParse_InitComment(info);
info->Type = commentType;
info->Name = commentTarget;
info->Comment = vtkstrdup(getComment());
if (commentType >= DOX_COMMAND_DEFGROUP)
{
/* comment has no scope, it is global to the project */
vtkParse_AddCommentToNamespace(data->Contents, info);
}
else
{
/* comment is scoped to current namespace */
if (currentClass)
{
vtkParse_AddCommentToClass(currentClass, info);
}
else
{
vtkParse_AddCommentToNamespace(currentNamespace, info);
}
}
}
/* Apply a doxygen trailing comment to the previous item */
void applyComment(ClassInfo *cls)
{
int i;
ItemInfo *item;
const char *comment = vtkstrdup(getComment());
i = cls->NumberOfItems;
if (i > 0)
{
item = &cls->Items[--i];
if (item->Type == VTK_NAMESPACE_INFO)
{
cls->Namespaces[item->Index]->Comment = comment;
}
else if (item->Type == VTK_CLASS_INFO ||
item->Type == VTK_STRUCT_INFO ||
item->Type == VTK_UNION_INFO)
{
cls->Classes[item->Index]->Comment = comment;
}
else if (item->Type == VTK_ENUM_INFO)
{
cls->Enums[item->Index]->Comment = comment;
}
else if (item->Type == VTK_FUNCTION_INFO)
{
cls->Functions[item->Index]->Comment = comment;
}
else if (item->Type == VTK_VARIABLE_INFO)
{
cls->Variables[item->Index]->Comment = comment;
}
else if (item->Type == VTK_CONSTANT_INFO)
{
cls->Constants[item->Index]->Comment = comment;
}
else if (item->Type == VTK_TYPEDEF_INFO)
{
cls->Typedefs[item->Index]->Comment = comment;
}
else if (item->Type == VTK_USING_INFO)
{
cls->Usings[item->Index]->Comment = comment;
}
}
}
/* This is called when a comment block ends */
void closeComment(void)
{
const char *cp;
size_t l;
switch (commentState)
{
case ClosedComment:
clearComment();
break;
case NormalComment:
/* Make comment persist until a new comment starts */
commentState = StickyComment;
break;
case NameComment:
/* For NameComment, strip the comment */
cp = getComment();
l = strlen(cp);
while (l > 0 &&
(cp[l-1] == '\n' || cp[l-1] == '\r' || cp[l-1] == ' '))
{
l--;
}
data->NameComment = vtkstrndup(cp, l);
clearComment();
break;
case DescriptionComment:
data->Description = vtkstrdup(getComment());
clearComment();
break;
case SeeAlsoComment:
data->SeeAlso = vtkstrdup(getComment());
clearComment();
break;
case CaveatsComment:
data->Caveats = vtkstrdup(getComment());
clearComment();
break;
case DoxygenComment:
if (commentType == DOX_COMMAND_OTHER)
{
/* Apply only to next item unless within a member group */
commentState = (commentMemberGroup ? StickyComment : ClosedComment);
}
else
{
/* Comment might not apply to next item, so store it */
storeComment();
clearComment();
}
break;
case TrailingComment:
if (currentClass)
{
applyComment(currentClass);
}
else
{
applyComment(currentNamespace);
}
clearComment();
break;
}
}
/* This is called when a blank line occurs in the header file */
void commentBreak()
{
if (!commentMemberGroup && commentState == StickyComment)
{
clearComment();
}
else if (commentState == DoxygenComment)
{
/* blank lines only end targeted doxygen comments */
if (commentType != DOX_COMMAND_OTHER)
{
closeComment();
}
}
else
{
/* blank lines end VTK comments */
closeComment();
}
}
/* This is called when doxygen @{ or @} are encountered */
void setCommentMemberGroup(int g)
{
commentMemberGroup = g;
clearComment();
}
/* Assign comments to the items that they apply to */
void assignComments(ClassInfo *cls)
{
int i, j;
int t;
const char *name;
const char *comment;
for (i = 0; i < cls->NumberOfComments; i++)
{
t = cls->Comments[i]->Type;
name = cls->Comments[i]->Name;
comment = cls->Comments[i]->Comment;
/* find the item the comment applies to */
if (t == DOX_COMMAND_CLASS ||
t == DOX_COMMAND_STRUCT ||
t == DOX_COMMAND_UNION)
{
for (j = 0; j < cls->NumberOfClasses; j++)
{
if (cls->Classes[j]->Name && name &&
strcmp(cls->Classes[j]->Name, name) == 0)
{
cls->Classes[j]->Comment = comment;
break;
}
}
}
else if (t == DOX_COMMAND_ENUM)
{
for (j = 0; j < cls->NumberOfEnums; j++)
{
if (cls->Enums[j]->Name && name &&
strcmp(cls->Enums[j]->Name, name) == 0)
{
cls->Enums[j]->Comment = comment;
break;
}
}
}
else if (t == DOX_COMMAND_TYPEDEF)
{
for (j = 0; j < cls->NumberOfTypedefs; j++)
{
if (cls->Typedefs[j]->Name && name &&
strcmp(cls->Typedefs[j]->Name, name) == 0)
{
cls->Typedefs[j]->Comment = comment;
break;
}
}
}
else if (t == DOX_COMMAND_FN)
{
for (j = 0; j < cls->NumberOfFunctions; j++)
{
if (cls->Functions[j]->Name && name &&
strcmp(cls->Functions[j]->Name, name) == 0)
{
cls->Functions[j]->Comment = comment;
break;
}
}
}
else if (t == DOX_COMMAND_VAR)
{
for (j = 0; j < cls->NumberOfVariables; j++)
{
if (cls->Variables[j]->Name && name &&
strcmp(cls->Variables[j]->Name, name) == 0)
{
cls->Variables[j]->Comment = comment;
break;
}
}
for (j = 0; j < cls->NumberOfConstants; j++)
{
if (cls->Constants[j]->Name && name &&
strcmp(cls->Constants[j]->Name, name) == 0)
{
cls->Constants[j]->Comment = comment;
break;
}
}
}
else if (t == DOX_COMMAND_NAMESPACE)
{
for (j = 0; j < cls->NumberOfNamespaces; j++)
{
if (cls->Namespaces[j]->Name && name &&
strcmp(cls->Namespaces[j]->Name, name) == 0)
{
cls->Namespaces[j]->Comment = comment;
break;
}
}
}
}
/* recurse into child classes */
for (i = 0; i < cls->NumberOfClasses; i++)
{
if (cls->Classes[i])
{
assignComments(cls->Classes[i]);
}
}
/* recurse into child namespaces */
for (i = 0; i < cls->NumberOfNamespaces; i++)
{
if (cls->Namespaces[i])
{
assignComments(cls->Namespaces[i]);
}
}
}
/*----------------------------------------------------------------
* Macros
*/
/* "private" variables */
const char *macroName = NULL;
int macroUsed = 0;
int macroEnded = 0;
const char *getMacro()
{
if (macroUsed == 0)
{
macroUsed = macroEnded;
return macroName;
}
return NULL;
}
/*----------------------------------------------------------------
* Namespaces
*
* operates on: currentNamespace
*/
/* "private" variables */
NamespaceInfo *namespaceStack[10];
int namespaceDepth = 0;
/* enter a namespace */
void pushNamespace(const char *name)
{
int i;
NamespaceInfo *oldNamespace = currentNamespace;
for (i = 0; i < oldNamespace->NumberOfNamespaces; i++)
{
/* see if the namespace already exists */
if (strcmp(name, oldNamespace->Namespaces[i]->Name) == 0)
{
currentNamespace = oldNamespace->Namespaces[i];
}
}
/* create a new namespace */
if (i == oldNamespace->NumberOfNamespaces)
{
currentNamespace = (NamespaceInfo *)malloc(sizeof(NamespaceInfo));
vtkParse_InitNamespace(currentNamespace);
currentNamespace->Name = name;
vtkParse_AddNamespaceToNamespace(oldNamespace, currentNamespace);
}
namespaceStack[namespaceDepth++] = oldNamespace;
}
/* leave the namespace */
void popNamespace()
{
currentNamespace = namespaceStack[--namespaceDepth];
}
/*----------------------------------------------------------------
* Classes
*
* operates on: currentClass, access_level
*/
/* "private" variables */
ClassInfo *classStack[10];
parse_access_t classAccessStack[10];
int classDepth = 0;
/* start an internal class definition */
void pushClass()
{
classAccessStack[classDepth] = access_level;
classStack[classDepth++] = currentClass;
}
/* leave the internal class */
void popClass()
{
currentClass = classStack[--classDepth];
access_level = classAccessStack[classDepth];
}
/*----------------------------------------------------------------
* Templates
*
* operates on: currentTemplate
*/
/* "private" variables */
TemplateInfo *templateStack[10];
int templateDepth = 0;
/* begin a template */
void startTemplate()
{
currentTemplate = (TemplateInfo *)malloc(sizeof(TemplateInfo));
vtkParse_InitTemplate(currentTemplate);
}
/* clear a template, if set */
void clearTemplate()
{
if (currentTemplate)
{
free(currentTemplate);
}
currentTemplate = NULL;
}
/* push the template onto the stack, and start a new one */
void pushTemplate()
{
templateStack[templateDepth++] = currentTemplate;
startTemplate();
}
/* pop a template off the stack */
void popTemplate()
{
currentTemplate = templateStack[--templateDepth];
}
/*----------------------------------------------------------------
* Function signatures
*
* operates on: currentFunction
*/
/* "private" variables */
int sigClosed = 0;
size_t sigMark[10];
size_t sigLength = 0;
size_t sigAllocatedLength = 0;
int sigMarkDepth = 0;
char *signature = NULL;
/* start a new signature */
void startSig()
{
signature = NULL;
sigLength = 0;
sigAllocatedLength = 0;
sigClosed = 0;
sigMarkDepth = 0;
sigMark[0] = 0;
}
/* get the signature */
const char *getSig()
{
return signature;
}
/* get the signature length */
size_t getSigLength()
{
return sigLength;
}
/* reset the sig to the specified length */
void resetSig(size_t n)
{
if (n < sigLength)
{
sigLength = n;
}
}
/* reallocate Signature if n chars cannot be appended */
void checkSigSize(size_t n)
{
const char *ccp;
if (sigAllocatedLength == 0)
{
sigLength = 0;
sigAllocatedLength = 80 + n;
signature = vtkParse_NewString(data->Strings, sigAllocatedLength);
signature[0] = '\0';
}
else if (sigLength + n > sigAllocatedLength)
{
sigAllocatedLength += sigLength + n;
ccp = signature;
signature = vtkParse_NewString(data->Strings, sigAllocatedLength);
strncpy(signature, ccp, sigLength);
signature[sigLength] = '\0';
}
}
/* close the signature, i.e. allow no more additions to it */
void closeSig()
{
sigClosed = 1;
}
/* re-open the signature */
void openSig()
{
sigClosed = 0;
}
/* insert text at the beginning of the signature */
void preSig(const char *arg)
{
if (!sigClosed)
{
size_t n = strlen(arg);
checkSigSize(n);
if (n > 0)
{
memmove(&signature[n], signature, sigLength);
strncpy(signature, arg, n);
sigLength += n;
}
signature[sigLength] = '\0';
}
}
/* append text to the end of the signature */
void postSig(const char *arg)
{
if (!sigClosed)
{
size_t n = strlen(arg);
checkSigSize(n);
if (n > 0)
{
strncpy(&signature[sigLength], arg, n);
sigLength += n;
}
signature[sigLength] = '\0';
}
}
/* set a mark in the signature for later operations */
void markSig()
{
sigMark[sigMarkDepth] = 0;
if (signature)
{
sigMark[sigMarkDepth] = sigLength;
}
sigMarkDepth++;
}
/* get the contents of the sig from the mark, and clear the mark */
const char *copySig()
{
const char *cp = NULL;
if (sigMarkDepth > 0)
{
sigMarkDepth--;
}
if (signature)
{
cp = &signature[sigMark[sigMarkDepth]];
}
return vtkstrdup(cp);
}
/* cut the sig from the mark to the current location, and clear the mark */
const char *cutSig()
{
const char *cp = NULL;
if (sigMarkDepth > 0)
{
sigMarkDepth--;
}
if (signature)
{
sigLength = sigMark[sigMarkDepth];
cp = vtkstrdup(&signature[sigLength]);
signature[sigLength] = 0;
}
return cp;
}
/* swap the signature text using the mark as the radix */
void swapSig()
{
if (sigMarkDepth > 0)
{
sigMarkDepth--;
}
if (signature && sigMark[sigMarkDepth] > 0)
{
size_t i, m, n, nn;
char c;
char *cp;
cp = signature;
n = sigLength;
m = sigMark[sigMarkDepth];
nn = m/2;
for (i = 0; i < nn; i++)
{
c = cp[i]; cp[i] = cp[m-i-1]; cp[m-i-1] = c;
}
nn = (n-m)/2;
for (i = 0; i < nn; i++)
{
c = cp[i+m]; cp[i+m] = cp[n-i-1]; cp[n-i-1] = c;
}
nn = n/2;
for (i = 0; i < nn; i++)
{
c = cp[i]; cp[i] = cp[n-i-1]; cp[n-i-1] = c;
}
}
}
/* chop the last space from the signature */
void chopSig()
{
if (signature)
{
size_t n = sigLength;
if (n > 0 && signature[n-1] == ' ')
{
signature[n-1] = '\0';
sigLength--;
}
}
}
/* chop the last space from the signature unless the preceding token
is an operator (used to remove spaces before argument lists) */
void postSigLeftBracket(const char *s)
{
if (signature)
{
size_t n = sigLength;
if (n > 1 && signature[n-1] == ' ')
{
const char *ops = "%*/-+!~&|^<>=.,:;{}";
char c = signature[n-2];
const char *cp;
for (cp = ops; *cp != '\0'; cp++)
{
if (*cp == c) { break; }
}
if (*cp == '\0')
{
signature[n-1] = '\0';
sigLength--;
}
}
}
postSig(s);
}
/* chop trailing space and add a right bracket */
void postSigRightBracket(const char *s)
{
chopSig();
postSig(s);
}
/*----------------------------------------------------------------
* Subroutines for building a type
*/
/* "private" variables */
unsigned int storedType;
unsigned int typeStack[10];
int typeDepth = 0;
/* save the type on the stack */
void pushType()
{
typeStack[typeDepth++] = storedType;
}
/* pop the type stack */
void popType()
{
storedType = typeStack[--typeDepth];
}
/* clear the storage type */
void clearType()
{
storedType = 0;
}
/* save the type */
void setTypeBase(unsigned int base)
{
storedType &= ~(unsigned int)(VTK_PARSE_BASE_TYPE);
storedType |= base;
}
/* set a type modifier bit */
void setTypeMod(unsigned int mod)
{
storedType |= mod;
}
/* modify the indirection (pointers, refs) in the storage type */
void setTypePtr(unsigned int ind)
{
storedType &= ~(unsigned int)(VTK_PARSE_INDIRECT | VTK_PARSE_RVALUE);
ind &= (VTK_PARSE_INDIRECT | VTK_PARSE_RVALUE);
storedType |= ind;
}
/* retrieve the storage type */
unsigned int getType()
{
return storedType;
}
/* combine two primitive type parts, e.g. "long int" */
unsigned int buildTypeBase(unsigned int a, unsigned int b)
{
unsigned int base = (a & VTK_PARSE_BASE_TYPE);
unsigned int basemod = (b & VTK_PARSE_BASE_TYPE);
switch (base)
{
case 0:
base = basemod;
break;
case VTK_PARSE_UNSIGNED_INT:
base = (basemod | VTK_PARSE_UNSIGNED);
break;
case VTK_PARSE_INT:
base = basemod;
if (base == VTK_PARSE_CHAR)
{
base = VTK_PARSE_SIGNED_CHAR;
}
break;
case VTK_PARSE_CHAR:
if (basemod == VTK_PARSE_INT)
{
base = VTK_PARSE_SIGNED_CHAR;
}
else if (basemod == VTK_PARSE_UNSIGNED_INT)
{
base = VTK_PARSE_UNSIGNED_CHAR;
}
break;
case VTK_PARSE_SHORT:
if (basemod == VTK_PARSE_UNSIGNED_INT)
{
base = VTK_PARSE_UNSIGNED_SHORT;
}
break;
case VTK_PARSE_LONG:
if (basemod == VTK_PARSE_UNSIGNED_INT)
{
base = VTK_PARSE_UNSIGNED_LONG;
}
else if (basemod == VTK_PARSE_LONG)
{
base = VTK_PARSE_LONG_LONG;
}
else if (basemod == VTK_PARSE_DOUBLE)
{
base = VTK_PARSE_LONG_DOUBLE;
}
break;
case VTK_PARSE_UNSIGNED_LONG:
if (basemod == VTK_PARSE_LONG)
{
base = VTK_PARSE_UNSIGNED_LONG_LONG;
}
break;
case VTK_PARSE_LONG_LONG:
if (basemod == VTK_PARSE_UNSIGNED_INT)
{
base = VTK_PARSE_UNSIGNED_LONG_LONG;
}
break;
case VTK_PARSE___INT64:
if (basemod == VTK_PARSE_UNSIGNED_INT)
{
base = VTK_PARSE_UNSIGNED___INT64;
}
break;
case VTK_PARSE_DOUBLE:
if (basemod == VTK_PARSE_LONG)
{
base = VTK_PARSE_LONG_DOUBLE;
}
break;
}
return ((a & ~(unsigned int)(VTK_PARSE_BASE_TYPE)) | base);
}
/*----------------------------------------------------------------
* Array information
*/
/* "private" variables */
int numberOfDimensions = 0;
const char **arrayDimensions = NULL;
/* clear the array counter */
void clearArray(void)
{
numberOfDimensions = 0;
arrayDimensions = NULL;
}
/* add another dimension */
void pushArraySize(const char *size)
{
vtkParse_AddStringToArray(&arrayDimensions, &numberOfDimensions,
size);
}
/* add another dimension to the front */
void pushArrayFront(const char *size)
{
int i;
vtkParse_AddStringToArray(&arrayDimensions, &numberOfDimensions, 0);
for (i = numberOfDimensions-1; i > 0; i--)
{
arrayDimensions[i] = arrayDimensions[i-1];
}
arrayDimensions[0] = size;
}
/* get the number of dimensions */
int getArrayNDims()
{
return numberOfDimensions;
}
/* get the whole array */
const char **getArray()
{
if (numberOfDimensions > 0)
{
return arrayDimensions;
}
return NULL;
}
/*----------------------------------------------------------------
* Variables and Parameters
*/
/* "private" variables */
const char *currentVarName = 0;
const char *currentVarValue = 0;
const char *currentId = 0;
/* clear the var Id */
void clearVarName(void)
{
currentVarName = NULL;
}
/* set the var Id */
void setVarName(const char *text)
{
currentVarName = text;
}
/* return the var id */
const char *getVarName()
{
return currentVarName;
}
/* variable value -------------- */
/* clear the var value */
void clearVarValue(void)
{
currentVarValue = NULL;
}
/* set the var value */
void setVarValue(const char *text)
{
currentVarValue = text;
}
/* return the var value */
const char *getVarValue()
{
return currentVarValue;
}
/* variable type -------------- */
/* clear the current Id */
void clearTypeId(void)
{
currentId = NULL;
}
/* set the current Id, it is sticky until cleared */
void setTypeId(const char *text)
{
if (currentId == NULL)
{
currentId = text;
}
}
/* set the signature and type together */
void typeSig(const char *text)
{
postSig(text);
postSig(" ");
if (currentId == 0)
{
setTypeId(text);
}
}
/* return the current Id */
const char *getTypeId()
{
return currentId;
}
/*----------------------------------------------------------------
* Specifically for function pointers, the scope (i.e. class) that
* the function is a method of.
*/
const char *pointerScopeStack[10];
int pointerScopeDepth = 0;
/* save the scope for scoped method pointers */
void scopeSig(const char *scope)
{
if (scope && scope[0] != '\0')
{
postSig(scope);
}
else
{
scope = NULL;
}
pointerScopeStack[pointerScopeDepth++] = vtkstrdup(scope);
}
/* get the scope back */
const char *getScope()
{
return pointerScopeStack[--pointerScopeDepth];
}
/*----------------------------------------------------------------
* Function stack
*
* operates on: currentFunction
*/
/* "private" variables */
FunctionInfo *functionStack[10] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
const char *functionVarNameStack[10];
const char *functionTypeIdStack[10];
int functionDepth = 0;
void pushFunction()
{
functionStack[functionDepth] = currentFunction;
currentFunction = (FunctionInfo *)malloc(sizeof(FunctionInfo));
vtkParse_InitFunction(currentFunction);
if (!functionStack[functionDepth])
{
startSig();
}
functionVarNameStack[functionDepth] = getVarName();
functionTypeIdStack[functionDepth] = getTypeId();
pushType();
clearType();
clearVarName();
clearTypeId();
functionDepth++;
functionStack[functionDepth] = 0;
}
void popFunction()
{
FunctionInfo *newFunction = currentFunction;
--functionDepth;
currentFunction = functionStack[functionDepth];
clearVarName();
if (functionVarNameStack[functionDepth])
{
setVarName(functionVarNameStack[functionDepth]);
}
clearTypeId();
if (functionTypeIdStack[functionDepth])
{
setTypeId(functionTypeIdStack[functionDepth]);
}
popType();
functionStack[functionDepth+1] = newFunction;
}
FunctionInfo *getFunction()
{
return functionStack[functionDepth+1];
}
/*----------------------------------------------------------------
* Attributes
*/
int attributeRole = 0;
const char *attributePrefix = NULL;
/* Set kind of attributes to collect in attribute_specifier_seq */
void setAttributeRole(int x)
{
attributeRole = x;
}
/* Get the current kind of attribute */
int getAttributeRole()
{
return attributeRole;
}
/* Ignore attributes until further notice */
void clearAttributeRole()
{
attributeRole = 0;
}
/* Set the "using" prefix for attributes */
void setAttributePrefix(const char *x)
{
attributePrefix = x;
}
/* Get the "using" prefix for attributes */
const char *getAttributePrefix()
{
return attributePrefix;
}
/*----------------------------------------------------------------
* Utility methods
*/
/* prepend a scope:: to a name */
void prepend_scope(char *cp, const char *arg)
{
size_t i, j, m, n;
int depth;
m = strlen(cp);
n = strlen(arg);
i = m;
while (i > 0 &&
(vtkParse_CharType(cp[i-1], CPRE_XID) ||
cp[i-1] == ':' || cp[i-1] == '>'))
{
i--;
if (cp[i] == '>')
{
depth = 1;
while (i > 0)
{
i--;
if (cp[i] == '<')
{
if (--depth == 0)
{
break;
}
}
if (cp[i] == '>')
{
depth++;
}
}
}
}
for (j = m; j > i; j--)
{
cp[j+n+1] = cp[j-1];
}
for (j = 0; j < n; j++)
{
cp[j+i] = arg[j];
}
cp[n+i] = ':'; cp[n+i+1] = ':';
cp[m+n+2] = '\0';
}
/* expand a type by including pointers from another */
unsigned int add_indirection(unsigned int type1, unsigned int type2)
{
unsigned int ptr1 = (type1 & VTK_PARSE_POINTER_MASK);
unsigned int ptr2 = (type2 & VTK_PARSE_POINTER_MASK);
unsigned int reverse = 0;
unsigned int result;
/* one of type1 or type2 will only have VTK_PARSE_INDIRECT, but
* we don't know which one. */
result = ((type1 & ~VTK_PARSE_POINTER_MASK) |
(type2 & ~VTK_PARSE_POINTER_MASK));
/* if there are two ampersands, it is an rvalue reference */
if ((type1 & type2 & VTK_PARSE_REF) != 0)
{
result |= VTK_PARSE_RVALUE;
}
while (ptr2)
{
reverse = ((reverse << 2) | (ptr2 & VTK_PARSE_POINTER_LOWMASK));
ptr2 = ((ptr2 >> 2) & VTK_PARSE_POINTER_MASK);
}
while (reverse)
{
ptr1 = ((ptr1 << 2) | (reverse & VTK_PARSE_POINTER_LOWMASK));
reverse = ((reverse >> 2) & VTK_PARSE_POINTER_MASK);
/* make sure we don't exceed the VTK_PARSE_POINTER bitfield */
if ((ptr1 & VTK_PARSE_POINTER_MASK) != ptr1)
{
ptr1 = VTK_PARSE_BAD_INDIRECT;
break;
}
}
return (ptr1 | result);
}
/* There is only one array, so add any parenthetical indirection to it */
unsigned int add_indirection_to_array(unsigned int type)
{
unsigned int ptrs = (type & VTK_PARSE_POINTER_MASK);
unsigned int result = (type & ~VTK_PARSE_POINTER_MASK);
unsigned int reverse = 0;
if ((type & VTK_PARSE_INDIRECT) == VTK_PARSE_BAD_INDIRECT)
{
return (result | VTK_PARSE_BAD_INDIRECT);
}
while (ptrs)
{
reverse = ((reverse << 2) | (ptrs & VTK_PARSE_POINTER_LOWMASK));
ptrs = ((ptrs >> 2) & VTK_PARSE_POINTER_MASK);
}
/* I know the reversal makes no difference, but it is still
* nice to add the pointers in the correct order, just in
* case const pointers are thrown into the mix. */
while (reverse)
{
pushArrayFront("");
reverse = ((reverse >> 2) & VTK_PARSE_POINTER_MASK);
}
return result;
}
# ifndef YY_NULLPTR
# if defined __cplusplus && 201103L <= __cplusplus
# define YY_NULLPTR nullptr
# else
# define YY_NULLPTR 0
# endif
# endif
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
ID = 258,
VTK_ID = 259,
QT_ID = 260,
StdString = 261,
UnicodeString = 262,
OSTREAM = 263,
ISTREAM = 264,
LP = 265,
LA = 266,
STRING_LITERAL = 267,
INT_LITERAL = 268,
HEX_LITERAL = 269,
BIN_LITERAL = 270,
OCT_LITERAL = 271,
FLOAT_LITERAL = 272,
CHAR_LITERAL = 273,
ZERO = 274,
NULLPTR = 275,
SSIZE_T = 276,
SIZE_T = 277,
NULLPTR_T = 278,
BEGIN_ATTRIB = 279,
STRUCT = 280,
CLASS = 281,
UNION = 282,
ENUM = 283,
PUBLIC = 284,
PRIVATE = 285,
PROTECTED = 286,
CONST = 287,
VOLATILE = 288,
MUTABLE = 289,
STATIC = 290,
THREAD_LOCAL = 291,
VIRTUAL = 292,
EXPLICIT = 293,
INLINE = 294,
CONSTEXPR = 295,
FRIEND = 296,
EXTERN = 297,
OPERATOR = 298,
TEMPLATE = 299,
THROW = 300,
TRY = 301,
CATCH = 302,
NOEXCEPT = 303,
DECLTYPE = 304,
TYPENAME = 305,
TYPEDEF = 306,
NAMESPACE = 307,
USING = 308,
NEW = 309,
DELETE = 310,
DEFAULT = 311,
STATIC_CAST = 312,
DYNAMIC_CAST = 313,
CONST_CAST = 314,
REINTERPRET_CAST = 315,
OP_LSHIFT_EQ = 316,
OP_RSHIFT_EQ = 317,
OP_LSHIFT = 318,
OP_RSHIFT_A = 319,
OP_DOT_POINTER = 320,
OP_ARROW_POINTER = 321,
OP_ARROW = 322,
OP_INCR = 323,
OP_DECR = 324,
OP_PLUS_EQ = 325,
OP_MINUS_EQ = 326,
OP_TIMES_EQ = 327,
OP_DIVIDE_EQ = 328,
OP_REMAINDER_EQ = 329,
OP_AND_EQ = 330,
OP_OR_EQ = 331,
OP_XOR_EQ = 332,
OP_LOGIC_AND = 333,
OP_LOGIC_OR = 334,
OP_LOGIC_EQ = 335,
OP_LOGIC_NEQ = 336,
OP_LOGIC_LEQ = 337,
OP_LOGIC_GEQ = 338,
ELLIPSIS = 339,
DOUBLE_COLON = 340,
OTHER = 341,
AUTO = 342,
VOID = 343,
BOOL = 344,
FLOAT = 345,
DOUBLE = 346,
INT = 347,
SHORT = 348,
LONG = 349,
INT64__ = 350,
CHAR = 351,
CHAR16_T = 352,
CHAR32_T = 353,
WCHAR_T = 354,
SIGNED = 355,
UNSIGNED = 356,
IdType = 357,
TypeInt8 = 358,
TypeUInt8 = 359,
TypeInt16 = 360,
TypeUInt16 = 361,
TypeInt32 = 362,
TypeUInt32 = 363,
TypeInt64 = 364,
TypeUInt64 = 365,
TypeFloat32 = 366,
TypeFloat64 = 367,
SetVector2Macro = 368,
SetVector3Macro = 369,
SetVector4Macro = 370,
SetVector6Macro = 371,
GetVector2Macro = 372,
GetVector3Macro = 373,
GetVector4Macro = 374,
GetVector6Macro = 375,
SetVectorMacro = 376,
GetVectorMacro = 377,
ViewportCoordinateMacro = 378,
WorldCoordinateMacro = 379,
VTK_BYTE_SWAP_DECL = 380
};
#endif
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE YYSTYPE;
union YYSTYPE
{
const char *str;
unsigned int integer;
};
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
int yyparse (void);
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Default (constant) value used for initialization for null
right-hand sides. Unlike the standard yacc.c template, here we set
the default value of $$ to a zeroed-out value. Since the default
value is undefined, this behavior is technically correct. */
static YYSTYPE yyval_default;
/* Copy the second part of user declarations. */
#include
#include
#include
#ifndef YY_
# if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS
# include /* INFRINGES ON USER NAME SPACE */
# define YY_(Msgid) dgettext ("bison-runtime", Msgid)
# endif
# endif
# ifndef YY_
# define YY_(Msgid) Msgid
# endif
#endif
#ifndef YYFREE
# define YYFREE free
#endif
#ifndef YYMALLOC
# define YYMALLOC malloc
#endif
#ifndef YYREALLOC
# define YYREALLOC realloc
#endif
#define YYSIZEMAX ((size_t) -1)
#ifdef __cplusplus
typedef bool yybool;
#else
typedef unsigned char yybool;
#endif
#define yytrue 1
#define yyfalse 0
#ifndef YYSETJMP
# include
# define YYJMP_BUF jmp_buf
# define YYSETJMP(Env) setjmp (Env)
/* Pacify clang. */
# define YYLONGJMP(Env, Val) (longjmp (Env, Val), YYASSERT (0))
#endif
#ifndef YY_ATTRIBUTE
# if (defined __GNUC__ \
&& (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \
|| defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
# define YY_ATTRIBUTE(Spec) __attribute__(Spec)
# else
# define YY_ATTRIBUTE(Spec) /* empty */
# endif
#endif
#ifndef YY_ATTRIBUTE_PURE
# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))
#endif
#ifndef YY_ATTRIBUTE_UNUSED
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
#endif
#if !defined _Noreturn \
&& (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
# if defined _MSC_VER && 1200 <= _MSC_VER
# define _Noreturn __declspec (noreturn)
# else
# define _Noreturn YY_ATTRIBUTE ((__noreturn__))
# endif
#endif
/* Suppress unused-variable warnings by "using" E. */
#if 1
# define YYUSE(E) ((void) (E))
#else
# define YYUSE(E) /* empty */
#endif
#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
/* Suppress an incorrect diagnostic about yylval being uninitialized. */
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
_Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
_Pragma ("GCC diagnostic pop")
#else
# define YY_INITIAL_VALUE(Value) Value
#endif
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
#endif
#ifndef YY_INITIAL_VALUE
# define YY_INITIAL_VALUE(Value) /* Nothing. */
#endif
#ifndef YYASSERT
# define YYASSERT(Condition) ((void) ((Condition) || (abort (), 0)))
#endif
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 3
/* YYLAST -- Last index in YYTABLE. */
#define YYLAST 8327
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 149
/* YYNNTS -- Number of nonterminals. */
#define YYNNTS 286
/* YYNRULES -- Number of rules. */
#define YYNRULES 718
/* YYNRULES -- Number of states. */
#define YYNSTATES 1158
/* YYMAXRHS -- Maximum number of symbols on right-hand side of rule. */
#define YYMAXRHS 9
/* YYMAXLEFT -- Maximum number of symbols to the left of a handle
accessed by $0, $-1, etc., in any rule. */
#define YYMAXLEFT 0
/* YYTRANSLATE(X) -- Bison symbol number corresponding to X. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 380
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
static const unsigned char 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, 145, 2, 2, 2, 141, 135, 2,
132, 133, 139, 144, 131, 143, 148, 142, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 130, 126,
134, 129, 140, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 136, 2, 137, 147, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 127, 146, 128, 138, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125
};
#if YYDEBUG
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const unsigned short int yyrline[] =
{
0, 1994, 1994, 1996, 1998, 1997, 2008, 2009, 2010, 2011,
2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
2022, 2023, 2024, 2025, 2028, 2029, 2030, 2031, 2032, 2033,
2036, 2037, 2044, 2051, 2052, 2052, 2056, 2063, 2064, 2067,
2068, 2069, 2072, 2073, 2076, 2076, 2091, 2090, 2096, 2102,
2101, 2106, 2112, 2113, 2114, 2117, 2119, 2121, 2124, 2125,
2128, 2129, 2131, 2133, 2132, 2141, 2145, 2146, 2147, 2150,
2151, 2152, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160,
2161, 2162, 2163, 2164, 2165, 2168, 2169, 2170, 2171, 2172,
2175, 2176, 2177, 2178, 2181, 2182, 2185, 2187, 2190, 2195,
2196, 2199, 2200, 2203, 2204, 2205, 2216, 2217, 2218, 2222,
2223, 2227, 2227, 2240, 2246, 2254, 2255, 2256, 2259, 2260,
2260, 2264, 2265, 2267, 2268, 2269, 2269, 2277, 2281, 2282,
2285, 2287, 2289, 2290, 2293, 2294, 2302, 2303, 2306, 2307,
2309, 2311, 2313, 2317, 2319, 2320, 2323, 2326, 2327, 2330,
2331, 2330, 2335, 2376, 2379, 2380, 2381, 2383, 2385, 2387,
2391, 2394, 2394, 2426, 2429, 2428, 2446, 2448, 2447, 2452,
2454, 2452, 2456, 2458, 2456, 2460, 2463, 2460, 2474, 2475,
2478, 2479, 2481, 2482, 2485, 2485, 2495, 2496, 2504, 2505,
2506, 2507, 2510, 2513, 2514, 2515, 2518, 2519, 2520, 2523,
2524, 2525, 2529, 2530, 2531, 2532, 2535, 2536, 2537, 2541,
2546, 2540, 2558, 2562, 2573, 2572, 2581, 2585, 2588, 2598,
2602, 2603, 2606, 2607, 2609, 2610, 2611, 2614, 2615, 2617,
2618, 2619, 2621, 2622, 2625, 2631, 2632, 2633, 2634, 2641,
2642, 2645, 2645, 2653, 2654, 2655, 2658, 2660, 2661, 2665,
2664, 2677, 2678, 2677, 2697, 2697, 2700, 2701, 2704, 2705,
2708, 2714, 2715, 2715, 2718, 2719, 2719, 2721, 2723, 2727,
2729, 2727, 2753, 2754, 2757, 2757, 2759, 2759, 2761, 2761,
2766, 2767, 2767, 2775, 2778, 2848, 2849, 2851, 2852, 2852,
2855, 2858, 2859, 2863, 2875, 2874, 2893, 2895, 2895, 2913,
2913, 2915, 2919, 2920, 2921, 2920, 2926, 2928, 2929, 2930,
2931, 2932, 2933, 2936, 2937, 2941, 2942, 2946, 2947, 2950,
2951, 2955, 2956, 2957, 2958, 2961, 2962, 2965, 2965, 2968,
2969, 2972, 2972, 2976, 2977, 2977, 2984, 2985, 2988, 2989,
2990, 2991, 2992, 2995, 2997, 2999, 3003, 3005, 3007, 3009,
3011, 3013, 3015, 3015, 3020, 3023, 3026, 3029, 3029, 3037,
3037, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054,
3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064,
3065, 3066, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3085,
3086, 3089, 3090, 3092, 3093, 3096, 3097, 3100, 3101, 3102,
3103, 3106, 3107, 3108, 3109, 3110, 3114, 3115, 3116, 3119,
3120, 3123, 3124, 3132, 3135, 3135, 3137, 3137, 3141, 3142,
3144, 3148, 3149, 3151, 3151, 3154, 3156, 3160, 3163, 3163,
3165, 3165, 3169, 3172, 3172, 3174, 3174, 3178, 3179, 3181,
3183, 3185, 3187, 3189, 3193, 3194, 3197, 3198, 3199, 3200,
3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3209, 3210,
3211, 3212, 3213, 3214, 3215, 3216, 3217, 3220, 3221, 3222,
3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231, 3232,
3233, 3234, 3254, 3255, 3256, 3257, 3260, 3264, 3268, 3268,
3272, 3273, 3288, 3289, 3314, 3314, 3318, 3318, 3322, 3322,
3326, 3326, 3330, 3330, 3334, 3334, 3337, 3338, 3341, 3345,
3346, 3349, 3352, 3353, 3354, 3355, 3358, 3358, 3362, 3363,
3366, 3367, 3370, 3371, 3379, 3379, 3384, 3384, 3389, 3389,
3394, 3394, 3399, 3399, 3404, 3404, 3409, 3409, 3414, 3414,
3419, 3419, 3436, 3436, 3450, 3487, 3531, 3532, 3533, 3534,
3535, 3536, 3537, 3538, 3539, 3540, 3541, 3542, 3545, 3546,
3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554, 3555, 3556,
3557, 3558, 3559, 3560, 3561, 3562, 3563, 3564, 3565, 3566,
3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576,
3577, 3578, 3581, 3582, 3583, 3584, 3585, 3586, 3587, 3588,
3589, 3590, 3591, 3592, 3593, 3594, 3595, 3596, 3597, 3598,
3599, 3600, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608,
3609, 3610, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620,
3621, 3628, 3629, 3632, 3633, 3634, 3635, 3635, 3636, 3639,
3640, 3643, 3644, 3645, 3646, 3681, 3681, 3682, 3683, 3684,
3685, 3708, 3709, 3712, 3713, 3714, 3715, 3718, 3719, 3720,
3723, 3724, 3726, 3727, 3729, 3730, 3733, 3734, 3737, 3738,
3739, 3743, 3742, 3756, 3757, 3760, 3760, 3762, 3762, 3766,
3766, 3768, 3768, 3770, 3770, 3774, 3774, 3779, 3780, 3782,
3783, 3786, 3787, 3790, 3791, 3794, 3795, 3796, 3797, 3798,
3799, 3800, 3801, 3801, 3801, 3801, 3801, 3802, 3803, 3804,
3805, 3806, 3809, 3812, 3813, 3816, 3819, 3819, 3819
};
#endif
#if YYDEBUG || YYERROR_VERBOSE || 0
/* 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", "ID", "VTK_ID", "QT_ID", "StdString",
"UnicodeString", "OSTREAM", "ISTREAM", "LP", "LA", "STRING_LITERAL",
"INT_LITERAL", "HEX_LITERAL", "BIN_LITERAL", "OCT_LITERAL",
"FLOAT_LITERAL", "CHAR_LITERAL", "ZERO", "NULLPTR", "SSIZE_T", "SIZE_T",
"NULLPTR_T", "BEGIN_ATTRIB", "STRUCT", "CLASS", "UNION", "ENUM",
"PUBLIC", "PRIVATE", "PROTECTED", "CONST", "VOLATILE", "MUTABLE",
"STATIC", "THREAD_LOCAL", "VIRTUAL", "EXPLICIT", "INLINE", "CONSTEXPR",
"FRIEND", "EXTERN", "OPERATOR", "TEMPLATE", "THROW", "TRY", "CATCH",
"NOEXCEPT", "DECLTYPE", "TYPENAME", "TYPEDEF", "NAMESPACE", "USING",
"NEW", "DELETE", "DEFAULT", "STATIC_CAST", "DYNAMIC_CAST", "CONST_CAST",
"REINTERPRET_CAST", "OP_LSHIFT_EQ", "OP_RSHIFT_EQ", "OP_LSHIFT",
"OP_RSHIFT_A", "OP_DOT_POINTER", "OP_ARROW_POINTER", "OP_ARROW",
"OP_INCR", "OP_DECR", "OP_PLUS_EQ", "OP_MINUS_EQ", "OP_TIMES_EQ",
"OP_DIVIDE_EQ", "OP_REMAINDER_EQ", "OP_AND_EQ", "OP_OR_EQ", "OP_XOR_EQ",
"OP_LOGIC_AND", "OP_LOGIC_OR", "OP_LOGIC_EQ", "OP_LOGIC_NEQ",
"OP_LOGIC_LEQ", "OP_LOGIC_GEQ", "ELLIPSIS", "DOUBLE_COLON", "OTHER",
"AUTO", "VOID", "BOOL", "FLOAT", "DOUBLE", "INT", "SHORT", "LONG",
"INT64__", "CHAR", "CHAR16_T", "CHAR32_T", "WCHAR_T", "SIGNED",
"UNSIGNED", "IdType", "TypeInt8", "TypeUInt8", "TypeInt16", "TypeUInt16",
"TypeInt32", "TypeUInt32", "TypeInt64", "TypeUInt64", "TypeFloat32",
"TypeFloat64", "SetVector2Macro", "SetVector3Macro", "SetVector4Macro",
"SetVector6Macro", "GetVector2Macro", "GetVector3Macro",
"GetVector4Macro", "GetVector6Macro", "SetVectorMacro", "GetVectorMacro",
"ViewportCoordinateMacro", "WorldCoordinateMacro", "VTK_BYTE_SWAP_DECL",
"';'", "'{'", "'}'", "'='", "':'", "','", "'('", "')'", "'<'", "'&'",
"'['", "']'", "'~'", "'*'", "'>'", "'%'", "'/'", "'-'", "'+'", "'!'",
"'|'", "'^'", "'.'", "$accept", "translation_unit",
"opt_declaration_seq", "$@1", "declaration", "template_declaration",
"explicit_instantiation", "linkage_specification",
"namespace_definition", "$@2", "namespace_alias_definition",
"forward_declaration", "simple_forward_declaration", "class_definition",
"class_specifier", "$@3", "class_head", "$@4", "$@5", "class_key",
"class_head_name", "class_name", "opt_final", "member_specification",
"$@6", "member_access_specifier", "member_declaration",
"template_member_declaration", "friend_declaration",
"base_specifier_list", "base_specifier", "opt_virtual",
"opt_access_specifier", "access_specifier", "opaque_enum_declaration",
"enum_definition", "enum_specifier", "$@7", "enum_head", "enum_key",
"opt_enum_base", "$@8", "enumerator_list", "enumerator_definition",
"$@9", "nested_variable_initialization", "ignored_initializer",
"ignored_class", "ignored_class_body", "typedef_declaration",
"basic_typedef_declaration", "typedef_declarator_list",
"typedef_declarator_list_cont", "typedef_declarator",
"typedef_direct_declarator", "function_direct_declarator", "$@10",
"$@11", "typedef_declarator_id", "using_declaration", "using_id",
"using_directive", "alias_declaration", "$@12", "template_head", "$@13",
"template_parameter_list", "$@14", "template_parameter", "$@15", "$@16",
"$@17", "$@18", "$@19", "$@20", "opt_ellipsis", "class_or_typename",
"opt_template_parameter_initializer", "template_parameter_initializer",
"$@21", "template_parameter_value", "function_definition",
"function_declaration", "nested_method_declaration",
"nested_operator_declaration", "method_definition", "method_declaration",
"operator_declaration", "conversion_function", "$@22", "$@23",
"conversion_function_id", "operator_function_nr",
"operator_function_sig", "$@24", "operator_function_id", "operator_sig",
"function_nr", "function_trailer_clause", "func_cv_qualifier_seq",
"func_cv_qualifier", "opt_noexcept_specifier", "noexcept_sig",
"opt_ref_qualifier", "virt_specifier_seq", "virt_specifier",
"opt_body_as_trailer", "opt_trailing_return_type",
"trailing_return_type", "$@25", "function_body", "function_try_block",
"handler_seq", "function_sig", "$@26", "structor_declaration", "$@27",
"$@28", "structor_sig", "$@29", "opt_ctor_initializer",
"mem_initializer_list", "mem_initializer",
"parameter_declaration_clause", "$@30", "parameter_list", "$@31",
"parameter_declaration", "$@32", "$@33", "opt_initializer",
"initializer", "$@34", "$@35", "$@36", "constructor_args", "$@37",
"variable_declaration", "init_declarator_id", "opt_declarator_list",
"declarator_list_cont", "$@38", "init_declarator",
"opt_ptr_operator_seq", "direct_abstract_declarator", "$@39",
"direct_declarator", "$@40", "lp_or_la", "$@41",
"opt_array_or_parameters", "$@42", "$@43", "function_qualifiers",
"abstract_declarator", "declarator", "opt_declarator_id",
"declarator_id", "bitfield_size", "opt_array_decorator_seq",
"array_decorator_seq", "$@44", "array_decorator_seq_impl",
"array_decorator", "$@45", "array_size_specifier", "$@46",
"id_expression", "unqualified_id", "qualified_id",
"nested_name_specifier", "$@47", "tilde_sig", "identifier_sig",
"scope_operator_sig", "template_id", "$@48", "decltype_specifier",
"$@49", "simple_id", "identifier", "opt_decl_specifier_seq",
"decl_specifier2", "decl_specifier_seq", "decl_specifier",
"storage_class_specifier", "function_specifier", "cv_qualifier",
"cv_qualifier_seq", "store_type", "store_type_specifier", "$@50", "$@51",
"type_specifier", "trailing_type_specifier", "$@52",
"trailing_type_specifier_seq", "trailing_type_specifier_seq2", "$@53",
"$@54", "tparam_type", "tparam_type_specifier2", "$@55", "$@56",
"tparam_type_specifier", "simple_type_specifier", "type_name",
"primitive_type", "ptr_operator_seq", "reference", "rvalue_reference",
"pointer", "$@57", "ptr_cv_qualifier_seq", "pointer_seq",
"decl_attribute_specifier_seq", "$@58", "id_attribute_specifier_seq",
"$@59", "ref_attribute_specifier_seq", "$@60",
"func_attribute_specifier_seq", "$@61", "array_attribute_specifier_seq",
"$@62", "class_attribute_specifier_seq", "$@63",
"attribute_specifier_seq", "attribute_specifier",
"attribute_specifier_contents", "attribute_using_prefix",
"attribute_list", "attribute", "$@64", "attribute_pack", "attribute_sig",
"attribute_token", "declaration_macro", "$@65", "$@66", "$@67", "$@68",
"$@69", "$@70", "$@71", "$@72", "$@73", "$@74", "operator_id",
"operator_id_no_delim", "keyword", "literal", "constant_expression",
"constant_expression_item", "$@75", "common_bracket_item",
"common_bracket_item_no_scope_operator", "any_bracket_contents",
"bracket_pitem", "any_bracket_item", "braces_item",
"angle_bracket_contents", "braces_contents", "angle_bracket_pitem",
"angle_bracket_item", "angle_brackets_sig", "$@76",
"right_angle_bracket", "brackets_sig", "$@77", "$@78", "parentheses_sig",
"$@79", "$@80", "$@81", "braces_sig", "$@82", "ignored_items",
"ignored_expression", "ignored_item", "ignored_item_no_semi",
"ignored_item_no_angle", "ignored_braces", "ignored_brackets",
"ignored_parentheses", "ignored_left_parenthesis", YY_NULLPTR
};
#endif
#define YYPACT_NINF -975
#define YYTABLE_NINF -672
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
static const short int yypact[] =
{
-975, 131, 159, -975, -975, 6319, -975, 157, 182, 238,
318, 347, 471, 495, -2, 139, 160, -975, -975, -975,
490, -975, -975, -975, -975, -975, -975, -975, -975, -975,
102, -975, 4006, -975, -975, 7754, 158, 1913, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, 201, 235, 247, 259, 285, 292,
307, 308, 337, 394, 401, -3, 83, 142, 156, 171,
193, 217, 237, 245, 256, 270, 277, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, 303, -975, -975, -975, -975, -975,
-975, 7424, -975, 30, 30, 30, 30, -975, 324, 7754,
-975, 340, -975, 357, 1794, 8088, 410, 6943, 7, 187,
-975, 397, 7534, -975, -975, -975, -975, 71, 8, -975,
-975, -975, -975, -975, -975, 483, -975, -975, 428, 4444,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, 44, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
64, 6943, -7, 47, 65, 129, 153, 181, 188, 525,
-975, -975, -975, -975, -975, 7053, 410, 410, 7754, 71,
-975, -975, -975, -975, -975, -975, -975, -975, 429, -7,
47, 65, 129, 153, 181, 188, -975, -975, -975, 6943,
6943, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, 447, 450, -975, 1794, 6943, 410, 410, 1675,
1675, 1675, 1675, 1675, 1675, 1675, 1675, 1675, 1675, 1675,
1675, 8080, 452, 7204, -975, 8080, -975, 6895, 443, 6943,
-975, -975, -975, -975, -975, -975, 7424, -975, -975, 7644,
71, 453, -975, -975, -975, -975, -975, -975, -975, -975,
-975, 7754, -975, -975, -975, -975, -975, -975, -975, 459,
410, 410, 410, -975, -975, -975, -975, 397, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, 1794, -975, -975, -975, -975, -975, -975, 7064, -975,
221, 74, -975, -975, -975, -975, -975, -975, -975, -975,
166, -975, -975, -975, 42, -975, -975, -975, 2108, 2254,
-975, -975, 313, -975, 2400, 3422, 2546, -975, -975, -975,
-975, -975, -975, 8188, 7314, 8188, 1845, -975, -975, -975,
-975, -975, -975, 7128, -975, 2692, 338, 455, -975, 466,
-975, 465, -975, -975, -975, 6050, 1794, -975, -975, -975,
-975, -975, -975, -975, 464, 473, 480, 481, 482, 489,
491, 492, 493, 497, 498, 499, -975, -975, 504, -975,
71, -975, -975, -975, -975, -975, -975, 90, -975, 7996,
641, 410, 410, 483, 508, 1675, -975, -975, -975, -11,
-975, 6943, 7644, 7064, 6943, 511, 2838, 502, 7385, 669,
453, -975, -975, -975, -975, -975, 8080, 7314, 8080, 1845,
-975, -975, -975, -975, 229, -975, 533, -975, 1572, -975,
533, 503, -975, 1794, 250, -975, -975, -975, 513, 509,
7128, -975, 510, 71, -975, -975, -975, -975, -975, -975,
2005, 6906, 515, 345, 526, -975, 669, 528, 3568, -975,
-975, 521, -975, -975, -975, -975, 105, -975, 7864, 243,
619, -975, -975, -975, -975, -975, -975, -975, -975, 538,
-975, 71, 76, 540, 295, 8188, 8188, 275, 242, -975,
-975, -975, -975, 541, 410, -975, -975, -975, 483, 667,
543, 546, 57, -975, -975, 550, -975, 547, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, 554, -975, -975, 58,
1723, -975, -975, 556, -975, -975, 410, 410, 7996, -975,
314, -975, 558, 7754, 562, -975, -975, 1794, 560, -975,
92, -975, -975, 563, 611, -975, 410, -975, 502, 5320,
573, 117, 574, -11, 2005, -975, 229, -975, -975, -975,
-975, 430, -975, 572, -975, -975, -975, 569, 101, -975,
-975, -975, -975, -975, 5612, -975, -975, 696, -975, -975,
483, 229, 576, -975, 580, 526, 399, 410, -975, 634,
64, -975, -975, -975, -975, -975, 6943, 6943, 6943, -975,
410, 410, 7754, 71, 8, -975, -975, -975, -975, 71,
243, 4590, 4736, 4882, -975, 589, -975, -975, -975, 596,
600, -975, 8, -975, 609, -975, 613, 7754, -975, 606,
607, -975, -975, -975, -975, 7754, 7754, 7754, 7754, 7754,
7754, 7754, 7754, 7754, 7754, -975, -975, -975, -975, -975,
615, -975, -975, -975, 577, 617, -975, 713, 671, -975,
-975, -975, -975, 1675, -975, -975, -975, 373, 6943, 671,
2984, -975, -975, 625, -975, -975, -975, 533, 624, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, 633, -975, -975, -975, 19, 64,
-975, -975, 569, -975, 586, -975, 628, 8, -975, 5466,
-975, 5612, -975, -975, -975, -975, 304, -975, 278, -975,
-975, -975, -975, 669, -975, -975, -975, 313, -975, -975,
-975, -975, 7128, -975, -975, -975, -975, -975, 71, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, 502, -975, 71, -975, -975, 629, 630,
635, 637, 638, 639, 642, 643, 636, 646, 6195, -975,
6943, -975, -975, -975, 6943, -975, 1723, -975, -975, 5612,
-975, 648, -975, -975, -975, -975, 533, 677, 7754, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, 502,
644, -975, -975, -975, -975, -975, -975, 502, -975, 5904,
-975, 4152, -975, -975, -975, -975, -975, -975, -975, -975,
413, -975, 649, 74, 2005, 649, -975, 647, 653, -975,
-975, -975, -975, -975, -975, -975, -975, 770, 772, 6557,
128, 6906, 92, -975, -975, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, 6443, -975, 30, -975, -975,
-975, 661, 459, 1794, 6671, 71, -975, 671, 1723, 671,
617, 5612, 4298, -975, 741, -975, -975, -975, 71, 5028,
5320, 5174, 722, -975, 657, 654, 5612, 659, -975, -975,
-975, -975, -975, 5612, 502, 2005, -975, -975, -975, -975,
-975, 660, 71, -975, 649, -975, -975, 662, 664, -975,
-975, -975, 698, 30, 459, 6785, 671, -975, -975, -975,
-975, 6443, -975, -975, 6785, -975, -975, -975, -975, 1794,
7064, -975, -975, -975, 92, -975, -975, 663, -975, -975,
-975, -975, -975, 483, -975, -975, 5612, -975, 5612, 668,
5758, -975, -975, -975, -975, -975, -975, 7175, -975, -975,
698, -975, -975, 7064, 6785, 676, -975, -975, 678, 221,
-975, 7974, 46, -975, -975, -975, 5758, -975, 415, 350,
-975, -975, 123, -975, 7175, -975, 7241, -975, 680, -975,
-975, 7974, -975, -975, 8, -975, 310, -975, -975, 483,
-975, -975, -975, -975, -975, 92, 96, 3130, 3714, 412,
61, 7241, 125, -975, -975, 3276, -975, -975, -975, -975,
-975, -975, 350, -975, -975, -975, -975, -975, 62, 412,
-975, -975, 2005, -975, 3860, -975, 2005, -975
};
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
Performed when YYTABLE does not specify something else to do. Zero
means the default is an error. */
static const unsigned short int yydefact[] =
{
3, 0, 4, 1, 494, 0, 506, 450, 451, 452,
446, 447, 448, 449, 454, 455, 453, 53, 52, 54,
115, 409, 410, 401, 404, 405, 407, 408, 406, 400,
402, 217, 0, 359, 423, 0, 0, 0, 356, 467,
468, 469, 470, 471, 476, 477, 478, 479, 472, 473,
474, 475, 480, 481, 466, 456, 457, 458, 459, 460,
461, 462, 463, 464, 465, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 23, 354, 5,
19, 20, 13, 11, 12, 9, 37, 17, 389, 44,
504, 10, 16, 389, 0, 504, 14, 136, 7, 6,
8, 0, 18, 0, 0, 0, 0, 206, 0, 0,
15, 0, 336, 494, 0, 0, 0, 0, 494, 422,
338, 355, 0, 494, 397, 398, 399, 178, 291, 414,
418, 421, 494, 494, 21, 495, 117, 116, 403, 0,
450, 451, 452, 446, 447, 448, 449, 717, 718, 628,
623, 624, 625, 622, 626, 627, 629, 630, 454, 455,
453, 687, 595, 594, 596, 615, 598, 600, 599, 601,
602, 603, 604, 607, 608, 606, 605, 611, 614, 597,
616, 617, 609, 593, 592, 613, 612, 568, 569, 610,
620, 619, 618, 621, 570, 571, 572, 701, 573, 574,
575, 581, 582, 576, 577, 578, 579, 580, 583, 584,
585, 586, 587, 588, 589, 590, 591, 699, 698, 711,
466, 456, 457, 458, 459, 460, 461, 462, 463, 464,
465, 687, 705, 702, 706, 716, 164, 565, 687, 564,
559, 704, 558, 560, 561, 562, 563, 566, 567, 703,
710, 709, 700, 707, 708, 689, 695, 697, 696, 687,
0, 0, 450, 451, 452, 446, 447, 448, 449, 402,
389, 504, 389, 504, 494, 0, 494, 422, 0, 178,
382, 384, 383, 387, 388, 386, 385, 687, 34, 363,
361, 362, 366, 367, 365, 364, 370, 369, 368, 0,
0, 381, 371, 372, 373, 374, 375, 376, 377, 378,
379, 380, 0, 496, 337, 0, 0, 339, 340, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 291, 0, 51, 506, 291, 111, 118, 0, 0,
27, 38, 24, 504, 26, 28, 0, 25, 29, 0,
178, 256, 245, 687, 188, 244, 190, 191, 189, 209,
504, 0, 212, 22, 426, 352, 196, 194, 251, 343,
0, 339, 340, 341, 59, 342, 58, 0, 346, 344,
345, 347, 425, 348, 357, 389, 504, 389, 504, 137,
207, 0, 494, 416, 395, 299, 301, 179, 0, 287,
272, 178, 498, 498, 498, 413, 292, 482, 483, 492,
484, 389, 445, 444, 516, 507, 3, 689, 0, 0,
674, 673, 169, 163, 0, 0, 0, 681, 683, 679,
360, 494, 403, 291, 51, 291, 118, 343, 389, 389,
152, 148, 144, 0, 147, 0, 0, 0, 155, 0,
153, 0, 506, 157, 156, 0, 0, 363, 361, 362,
366, 367, 365, 364, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 394, 393, 0, 287,
178, 494, 391, 392, 62, 40, 49, 419, 494, 0,
0, 59, 0, 505, 0, 123, 107, 119, 114, 494,
496, 0, 0, 0, 0, 0, 0, 262, 0, 0,
256, 254, 349, 350, 351, 662, 291, 51, 291, 118,
197, 195, 396, 389, 490, 208, 220, 496, 0, 192,
220, 325, 496, 0, 0, 274, 284, 273, 0, 0,
0, 315, 0, 178, 487, 506, 486, 488, 485, 493,
415, 0, 0, 516, 510, 513, 0, 4, 0, 692,
694, 0, 688, 691, 693, 712, 0, 166, 0, 0,
0, 713, 31, 690, 715, 651, 651, 651, 424, 0,
144, 178, 419, 0, 494, 291, 291, 0, 325, 496,
339, 340, 33, 0, 0, 3, 160, 161, 497, 0,
568, 569, 0, 553, 552, 0, 550, 0, 551, 216,
557, 159, 158, 524, 528, 532, 536, 526, 530, 534,
538, 540, 542, 544, 545, 42, 286, 290, 390, 63,
0, 61, 39, 48, 57, 494, 59, 0, 0, 109,
0, 121, 124, 0, 113, 420, 494, 0, 257, 258,
0, 687, 243, 0, 494, 419, 0, 252, 262, 0,
0, 419, 0, 494, 417, 411, 491, 300, 222, 223,
213, 224, 221, 0, 218, 296, 326, 0, 319, 198,
193, 496, 283, 288, 0, 685, 277, 0, 297, 316,
499, 490, 0, 154, 0, 509, 516, 522, 355, 518,
520, 32, 30, 714, 167, 165, 0, 0, 0, 440,
439, 438, 0, 178, 291, 433, 437, 180, 181, 178,
0, 0, 0, 0, 139, 143, 146, 141, 113, 0,
0, 138, 291, 149, 319, 36, 4, 0, 556, 0,
0, 555, 554, 546, 547, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 66, 67, 68, 45, 494,
0, 103, 104, 105, 101, 50, 94, 99, 178, 46,
55, 494, 112, 123, 125, 120, 106, 338, 0, 178,
0, 210, 268, 263, 264, 269, 353, 220, 0, 677,
640, 669, 645, 670, 671, 675, 646, 650, 649, 644,
647, 648, 667, 639, 668, 663, 666, 358, 641, 642,
643, 43, 41, 110, 113, 412, 228, 227, 229, 226,
214, 331, 328, 329, 0, 249, 0, 291, 638, 635,
636, 275, 631, 633, 634, 664, 0, 280, 302, 489,
511, 508, 515, 0, 519, 517, 521, 169, 441, 442,
443, 435, 317, 170, 498, 432, 389, 173, 178, 656,
658, 659, 682, 654, 655, 653, 657, 652, 684, 680,
140, 142, 145, 262, 35, 178, 548, 549, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 65,
0, 102, 494, 100, 0, 96, 0, 56, 122, 0,
689, 0, 129, 259, 260, 247, 220, 265, 0, 253,
255, 651, 662, 651, 108, 231, 230, 500, 225, 262,
334, 330, 322, 323, 324, 321, 320, 262, 289, 0,
632, 0, 281, 279, 303, 298, 306, 523, 168, 389,
302, 318, 182, 178, 434, 182, 176, 0, 0, 525,
529, 533, 537, 527, 531, 535, 539, 0, 0, 0,
402, 0, 0, 84, 80, 71, 77, 64, 79, 73,
72, 76, 74, 69, 70, 0, 78, 0, 203, 204,
75, 0, 336, 0, 0, 178, 81, 178, 0, 178,
47, 126, 128, 127, 246, 211, 267, 494, 178, 0,
0, 0, 239, 506, 0, 0, 0, 0, 637, 661,
686, 660, 665, 0, 262, 436, 293, 184, 171, 183,
313, 0, 178, 174, 182, 150, 162, 0, 0, 92,
504, 90, 0, 0, 0, 0, 178, 82, 85, 87,
88, 0, 86, 89, 0, 199, 83, 496, 205, 0,
0, 97, 95, 98, 0, 266, 270, 0, 672, 676,
241, 232, 240, 501, 215, 502, 335, 250, 282, 0,
0, 294, 314, 177, 307, 541, 543, 0, 504, 91,
0, 93, 504, 0, 0, 0, 496, 202, 0, 272,
678, 0, 235, 332, 506, 304, 185, 186, 302, 151,
687, 689, 419, 132, 0, 504, 0, 200, 0, 687,
271, 0, 428, 242, 291, 234, 0, 233, 219, 503,
307, 187, 295, 309, 308, 0, 312, 0, 0, 0,
60, 0, 419, 133, 201, 0, 430, 389, 427, 238,
236, 237, 500, 310, 311, 689, 135, 130, 60, 0,
248, 389, 429, 305, 0, 131, 431, 134
};
/* YYPGOTO[NTERM-NUM]. */
static const short int yypgoto[] =
{
-975, -975, -374, -975, -975, 798, -84, -975, -975, -975,
-975, -777, -93, -1, -32, -975, -975, -975, -975, 48,
-412, -74, -873, -975, -975, -975, -975, -81, -975, -86,
-179, -975, -975, 49, -77, -72, -24, -975, -975, 0,
-459, -975, -975, 45, -975, -975, -975, -218, -597, -69,
-113, -375, 240, 91, -975, -975, -975, -975, 244, -64,
276, -975, 14, -975, 16, -975, -975, -975, -21, -975,
-975, -975, -975, -975, -975, 752, 108, -846, -975, -975,
-975, 824, -975, -975, -975, -58, -128, 43, -112, -975,
-975, -254, -442, -975, -975, -303, -285, -502, -510, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, -975,
-91, -975, -975, -975, -975, -107, -975, -975, -975, -975,
323, -975, 59, -615, -975, -975, -975, -161, -975, -975,
-251, -975, -975, -975, -975, -975, -975, 20, 359, -318,
361, -975, 15, -95, -667, -975, -225, -975, -663, -975,
-871, -975, -975, -279, -975, -975, -975, -406, -975, -975,
-454, -975, -975, 23, -975, -975, -975, 1105, 1026, 983,
67, -975, -975, -85, 716, -5, -975, 21, -975, 951,
-35, -87, -975, 22, 880, -975, -975, -465, -975, 761,
200, -975, -975, -59, -974, -975, -975, -975, -975, -975,
-975, -975, -975, -975, -975, 281, 191, 236, -365, 434,
-975, 436, -975, 162, -975, 808, -975, -488, -975, -357,
-975, -291, -975, -975, -975, -79, -975, -310, -975, -975,
-975, 301, 161, -975, -975, -975, -975, -33, -975, -975,
-975, -975, -975, -975, -975, -975, -975, -975, -975, 68,
35, 2, -781, -769, -975, -482, -73, -506, -975, -71,
-975, -54, -975, -836, -975, -608, -975, -511, -975, -975,
-975, -232, -975, -975, -975, 321, -975, -193, -394, -975,
-407, 41, 84, -975, -582, -975
};
/* YYDEFGOTO[NTERM-NUM]. */
static const short int yydefgoto[] =
{
-1, 1, 2, 4, 79, 340, 81, 82, 83, 447,
84, 85, 86, 342, 88, 332, 89, 896, 630, 360,
487, 488, 633, 629, 759, 760, 967, 1039, 969, 765,
766, 894, 890, 767, 91, 92, 93, 495, 94, 343,
498, 643, 640, 641, 899, 344, 901, 1031, 1103, 96,
97, 579, 587, 580, 440, 441, 873, 1074, 442, 98,
312, 99, 345, 737, 346, 422, 566, 847, 567, 568,
942, 569, 945, 570, 1024, 852, 719, 1018, 1019, 1070,
1096, 347, 103, 104, 105, 1042, 977, 978, 107, 507,
906, 108, 525, 526, 919, 527, 109, 529, 670, 671,
672, 818, 819, 917, 1092, 1117, 1118, 1061, 1062, 1091,
354, 355, 994, 530, 927, 979, 510, 787, 368, 658,
505, 648, 649, 653, 654, 783, 997, 784, 908, 1089,
536, 537, 684, 538, 539, 836, 1013, 348, 399, 478,
534, 827, 479, 480, 853, 1098, 400, 838, 401, 524,
935, 1014, 1120, 1099, 1021, 542, 940, 531, 926, 675,
936, 677, 822, 823, 920, 1005, 1006, 768, 112, 274,
275, 509, 115, 116, 117, 276, 515, 277, 260, 120,
121, 331, 481, 361, 123, 124, 125, 126, 666, 985,
128, 411, 523, 129, 130, 261, 1113, 1114, 1137, 1151,
713, 714, 856, 939, 715, 131, 132, 133, 406, 407,
408, 409, 691, 667, 410, 645, 6, 451, 452, 544,
545, 1002, 1003, 1093, 1094, 333, 334, 135, 415, 552,
553, 554, 555, 556, 845, 699, 700, 134, 745, 749,
746, 750, 747, 751, 748, 752, 753, 754, 609, 799,
800, 801, 831, 832, 929, 833, 803, 721, 866, 867,
1012, 659, 931, 804, 805, 834, 912, 423, 808, 913,
911, 809, 577, 575, 576, 810, 835, 418, 425, 562,
563, 564, 256, 257, 258, 259
};
/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule whose
number is the opposite. If YYTABLE_NINF, syntax error. */
static const short int yytable[] =
{
118, 288, 366, 270, 87, 95, 335, 367, 341, 389,
390, 272, 454, 356, 357, 358, 337, 494, 573, 100,
674, 101, 582, 558, 493, 110, 119, 122, 430, 370,
455, 680, 317, 405, 254, 273, 543, 588, 419, 673,
644, 373, 557, 788, 678, 424, 546, 547, 106, 1115,
854, 806, 857, 90, 444, 705, 854, 278, 318, 665,
583, 453, 930, 393, 631, 631, 426, 253, 779, 1016,
722, 723, 114, 255, 427, 428, 351, 676, -382, 631,
377, 395, 396, 271, 395, 396, 402, 755, 756, 757,
385, 679, 38, 631, 445, 551, 655, 915, 387, 1023,
252, 734, 147, 148, 315, 661, 147, 148, 420, 371,
374, 965, 317, 528, 138, -118, -118, 1112, 991, 497,
631, 741, 388, 349, -370, 728, 631, -382, 631, 319,
-370, 3, -384, -339, 676, 372, 375, 1136, 318, -339,
432, 254, 598, 403, 106, 680, 139, 404, 807, 90,
-383, 573, 402, 612, 916, 397, 352, 353, 397, -2,
506, 280, 281, 282, 283, 284, 285, 286, 114, 420,
386, 455, 139, -512, 253, 1116, 541, 802, 1073, -512,
417, -384, 1029, 433, 421, 435, 758, 632, 812, 391,
370, 946, 434, 826, 436, 854, 429, 742, 660, -383,
662, 815, 611, -60, 814, 679, -60, 252, 948, 403,
729, 730, 854, 404, -387, 320, 632, -60, 528, 393,
-60, 736, 930, 250, 235, 1066, 665, 1122, 235, 1129,
370, 824, 1068, 825, 1097, 690, 704, 390, -388, 865,
865, 865, -382, 812, -60, 421, 438, -60, 528, 632,
-60, 812, -60, -60, 439, -60, 317, 1129, 947, 1149,
1121, 21, 22, -387, 501, -369, -386, -384, 251, 717,
371, -369, 38, -385, 321, 1149, 1020, 909, 273, 520,
854, 508, 318, -363, 521, 287, -368, -388, 322, -363,
393, -382, -368, 718, 317, 317, 372, 930, 516, 930,
518, 403, 393, 323, 1004, 404, 370, 517, -361, 519,
371, 317, 1007, -340, -361, -386, -384, 385, 689, -340,
318, 318, -385, -383, 550, 324, 271, -381, 491, 1139,
250, 1056, 317, -381, 317, 854, 372, 318, 581, -172,
581, 280, 281, 282, 283, 284, 285, 286, -276, 325,
535, 585, 586, -278, 492, 1072, 444, -175, 318, 854,
318, -371, 528, -172, -362, 1140, 1141, -371, 502, 326,
-362, 370, -383, -372, 733, 251, 682, 327, -327, -372,
1037, 683, 1123, 456, 1124, -373, 371, 33, 328, 106,
390, -373, 806, 317, 271, 1125, 995, 386, 1126, 1069,
489, 731, 329, -387, 370, 999, 732, 1001, 377, 330,
934, -374, 372, 114, -327, 635, 391, -374, -375, 318,
254, 254, -118, 38, -375, 497, 254, 254, 254, 491,
336, 317, -388, -376, -377, 932, 664, 933, 590, -376,
-377, 594, 772, 393, -366, 773, 941, 254, 370, 865,
-366, 371, -387, 253, 253, 492, 359, 318, 780, 253,
253, 253, 806, -378, 591, 533, 363, 492, 846, -378,
385, 697, 1088, -367, 377, 816, -512, 372, 817, -367,
253, -388, -512, -337, 636, 594, 252, 252, 806, 1058,
581, 581, 252, 252, 252, 38, 317, 943, 317, 317,
231, 489, 900, 491, 656, 377, 992, 414, 254, 1133,
637, 492, 491, 252, 317, 136, 137, 865, 802, 865,
-379, 698, 318, 610, 318, 318, -379, -380, 371, 492,
-514, 384, 1147, -380, 1133, 590, -514, 432, 492, 1100,
318, 253, 1101, 1143, 1144, 934, 317, 934, 1087, -327,
271, -327, 1155, 370, 372, 416, -386, 638, 446, 1085,
254, 591, 370, 710, 771, 668, 669, 483, 708, 391,
647, 483, 318, 450, 252, 489, -154, 236, 1022, 484,
-385, 1087, 595, 504, 489, 573, 720, 918, 802, 711,
712, 511, 596, 253, 597, 613, 610, -365, 1108, 922,
923, 924, 925, -365, 614, -386, 761, 762, 763, 250,
250, 615, 616, 617, 802, 250, 250, 250, 315, 855,
618, -364, 619, 620, 621, 317, 252, -364, 622, -385,
625, 623, 624, 636, 639, -261, 250, 581, 651, -327,
685, 687, 371, 688, 280, 281, 282, 283, 284, 285,
286, 318, 694, 851, 251, 251, 701, 696, 703, 637,
251, 251, 251, 338, 724, 1102, 727, 735, 372, 483,
738, 483, 280, 281, 282, 283, 284, 285, 286, 739,
1047, 251, 740, 743, 744, 683, 769, 774, 776, 837,
33, 778, 1130, 1063, 1132, 782, 781, 250, 528, 811,
813, 317, 317, 317, 820, 821, 840, 1128, 149, 150,
151, 152, 153, 154, 155, 156, 157, 841, 844, 1148,
732, 573, 870, 17, 18, 19, 871, 318, 318, 318,
21, 22, 23, 24, 25, 26, 27, 28, 29, 824,
269, 874, 251, 876, 877, 889, 1086, 573, 892, 250,
893, 1154, 483, 316, 483, 397, 907, 910, 937, 914,
825, 996, 949, 950, 528, 528, 127, 957, 951, 944,
952, 953, 954, 317, 993, 955, 956, 958, 1017, 1026,
1025, -333, 254, 1027, 1119, 1028, 483, 1046, 1054, 1060,
1064, 1065, 1067, 1071, 251, 1075, 279, 1076, 528, 318,
1090, 1095, 1107, 80, 964, 1109, 1134, 968, 698, 1052,
990, 970, 5, 891, 1079, 253, 971, 377, 898, 972,
725, 483, 483, 872, 973, 726, 938, 692, 858, 102,
976, 1033, 378, 657, 381, 383, 1055, 903, 1110, 627,
626, 1142, 928, 775, 548, 921, 549, 590, 252, 716,
797, 1153, 1015, 839, 695, 986, 1008, 842, 1000, 686,
1011, 902, 350, 0, 0, 0, 0, 0, 0, 0,
362, 389, 390, 591, 0, 797, 0, 1048, 0, 398,
0, 0, 341, 118, 0, 317, 1045, 966, 95, 317,
0, 317, 0, 0, 0, 798, 0, 0, 370, 0,
483, 0, 974, 0, 975, 0, 0, 1127, 980, 119,
984, 318, 797, 797, 797, 318, 1135, 318, 0, 0,
798, 364, 0, 390, 0, 393, 382, 0, 1048, 0,
0, 394, 390, 0, 0, 0, 90, 1048, 0, 341,
412, 413, 1081, 0, 0, 0, 0, 0, 0, 0,
0, 1077, 385, 0, 118, 983, 317, 798, 798, 798,
387, 0, 0, 0, 370, 0, 0, 0, 0, 0,
118, 250, 390, 0, 1038, 1032, 393, 1048, 371, 118,
119, 1035, 318, 317, 388, 393, 0, 0, 113, 1040,
0, 1041, 381, 383, 254, 1043, 119, 1044, 0, 1104,
0, 0, 392, 1106, 372, 119, 0, 1030, 0, 318,
0, 0, 385, 0, 0, 377, 251, 0, 0, 1138,
314, 0, 797, 90, 0, 393, 1131, 253, 315, 0,
118, 443, 386, 381, 383, 0, 118, 0, 0, 118,
1038, 0, 983, 0, 371, 590, 0, 0, 377, 490,
1152, 1049, 385, 0, 1080, 1040, 119, 1041, 0, 0,
252, 1043, 119, 1084, 1156, 119, 376, 798, 0, 0,
372, 591, 491, 0, 0, 0, 0, 0, 590, 118,
1078, 0, 364, 1082, 382, 0, 512, 513, 514, 271,
797, 0, 386, 0, 0, 0, 0, 0, 492, 491,
380, 491, 503, 0, 591, 119, 0, 350, 983, 0,
111, 1049, 0, 1111, 0, 0, 0, 0, 0, 0,
797, 0, 797, 0, 0, 492, 491, 492, 1105, 254,
254, 0, 271, 0, 0, 798, 0, 254, 0, 0,
369, 0, 313, 379, 489, 0, 0, 0, 0, 0,
490, 1049, 492, 540, 0, 0, 254, 0, 392, 0,
0, 0, 253, 253, 0, 798, 0, 798, 0, 0,
253, 489, 0, 489, 0, 0, 0, 0, 0, 0,
483, 0, 797, 250, 0, 0, 0, 0, 0, 253,
797, 797, 797, 0, 0, 252, 252, 797, 489, 0,
522, 0, 0, 252, 797, 0, 0, 381, 383, 0,
0, 482, 0, 0, 0, 482, 362, 0, 0, 0,
0, 0, 252, 0, 490, 0, 0, 798, 251, 392,
0, 0, 540, 490, 0, 798, 798, 798, 0, 578,
0, 392, 798, 0, 314, 0, 0, 0, 0, 798,
0, 483, 0, 0, 0, 0, 0, 797, 0, 797,
0, 797, 0, 0, 0, 0, 0, 316, 0, 0,
464, 465, 466, 467, 468, 469, 470, 471, 472, 473,
474, 475, 314, 314, 376, 0, 0, 797, 0, 628,
0, 0, 0, 0, 0, 540, 634, 0, 0, 380,
0, 437, 798, 0, 798, 0, 798, 0, 0, 0,
381, 0, 0, 482, 0, 482, 0, 0, 250, 250,
314, 0, 314, 0, 0, 0, 250, 0, 0, 0,
0, 0, 798, 443, 0, 0, 0, 0, 0, 0,
0, 437, 379, 0, 0, 250, 0, 0, 0, 0,
0, 0, 513, 514, 0, 0, 0, 0, 0, 0,
0, 0, 0, 251, 251, 0, 431, 0, 0, 0,
0, 251, 786, 0, 0, 0, 0, 0, 0, 0,
0, 0, 392, 0, 0, 376, 0, 0, 483, 0,
251, 0, 483, 0, 0, 0, 482, 0, 482, 0,
0, 0, 0, 0, 448, 449, 0, 0, 0, 0,
0, 0, 0, 843, 0, 0, 0, 369, 0, 314,
0, 0, 0, 0, 532, 0, 381, 383, 0, 593,
482, 0, 0, 0, 0, 0, 0, 0, 0, 0,
376, 0, 499, 770, 500, 0, 642, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 376,
0, 0, 785, 0, 0, 482, 482, 0, 376, 589,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 437, 0, 314, 0, 0, 314, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 875, 0,
0, 0, 314, 0, 0, 0, 878, 879, 880, 881,
882, 883, 884, 885, 886, 887, 0, 0, 0, 0,
895, 0, 0, 0, 0, 0, 0, 0, 0, 532,
0, 904, 0, 0, 314, 0, 0, 0, 0, 0,
0, 584, 0, 0, 482, 0, 0, 0, 0, 0,
0, 709, 0, 0, 0, 0, 0, 0, 0, 681,
0, 0, 0, 0, 0, 0, 589, 888, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 897,
0, 0, 0, 0, 599, 0, 0, 0, 0, 376,
0, 0, 392, 0, 0, 0, 0, 0, 777, 0,
0, 0, 0, 0, 0, 0, 646, 0, 0, 650,
0, 0, 0, 314, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 663, 0, 600, 601, 0, 0,
0, 0, 0, 194, 195, 196, 602, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 693, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 998,
0, 0, 0, 681, 0, 0, 0, 316, 457, 458,
459, 460, 461, 462, 463, 0, 0, 0, 0, 314,
314, 314, 0, 0, 0, 0, 296, 297, 298, 0,
988, 603, 0, 604, 605, 0, 606, 237, 607, 0,
239, 240, 608, 242, 243, 244, 245, 246, 247, 248,
1036, 0, 0, 0, 642, 0, 289, 290, 291, 292,
293, 294, 295, 0, 0, 0, 0, 1050, 0, 1051,
0, 1053, 0, 0, 296, 297, 298, 0, 0, 0,
0, 0, 761, 762, 763, 0, 0, 0, 0, 0,
764, 314, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 33, 0, 0, 0, 0, 301, 302, 303,
304, 305, 306, 307, 308, 309, 310, 311, 1083, 0,
0, 0, 0, 490, 0, 0, 0, 289, 290, 291,
292, 293, 294, 295, 0, 785, 0, 0, 38, 0,
0, 848, 849, 850, 0, 296, 297, 298, 0, 0,
490, 0, 490, 0, 482, 301, 302, 303, 304, 305,
306, 307, 308, 309, 310, 311, 0, 31, 365, 0,
0, 0, 0, 33, 0, 0, 0, 490, 289, 290,
291, 292, 293, 294, 295, 0, 0, 0, 0, 0,
0, 78, 0, 0, 392, 0, 296, 297, 298, 0,
0, 113, 0, 314, 0, 0, 0, 314, 589, 314,
0, 0, 0, 650, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 33, 482, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 0, 0, 0,
0, 0, 0, 0, 982, 392, 289, 290, 291, 292,
293, 294, 295, 0, 392, 0, 0, 0, 0, 0,
38, 0, 78, 0, 296, 297, 298, 0, 0, 0,
0, 0, 0, 0, 314, 0, 0, 301, 302, 303,
304, 305, 306, 307, 308, 309, 310, 311, 0, 0,
392, 0, 33, 299, 392, 300, 0, 0, 0, 0,
0, 314, 0, 0, 0, 497, 0, 0, 0, 0,
0, 0, 0, 78, 0, 1034, 0, 0, 0, 0,
0, 392, 0, 981, 0, 987, 0, 0, 38, 989,
0, 1034, 0, 0, 0, 0, 0, 0, 0, 437,
1034, 0, 0, 0, 0, 301, 302, 303, 304, 305,
306, 307, 308, 309, 310, 311, 0, 0, 376, 0,
0, 0, 482, 0, 0, 0, 482, 21, 22, 23,
24, 25, 26, 27, 28, 29, 476, 269, 0, 0,
0, 78, 0, 0, 0, 376, 477, 376, 0, 0,
0, 1034, 0, 0, 0, 0, 313, 1034, 0, 0,
1034, 0, 0, 0, 0, 437, 532, 0, 0, 0,
0, 0, 376, 0, 0, 0, 0, 0, 0, 0,
0, 0, 39, 40, 41, 42, 43, 44, 45, 46,
47, 48, 49, 50, 51, 52, 53, 0, 0, 681,
1034, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 217, 218, 219, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 559, 231, 0, 232, 233, 234,
235, 0, 560, 237, 238, 561, 239, 240, 241, 242,
243, 244, 245, 246, 247, 248, 249, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
219, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
559, 231, 565, 232, 233, 234, 235, 0, 560, 237,
238, 0, 239, 240, 241, 242, 243, 244, 245, 246,
247, 248, 249, 140, 141, 142, 143, 144, 145, 146,
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, 0, 171, 172, 173, 174, 175,
176, 0, 177, 178, 179, 180, 0, 0, 181, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 217, 218, 219, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 559, 231, 0, 232,
233, 234, 235, 0, 560, 237, 238, 571, 239, 240,
241, 242, 243, 244, 245, 246, 247, 248, 249, 140,
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
0, 171, 172, 173, 174, 175, 176, 0, 177, 178,
179, 180, 0, 0, 181, 182, 183, 184, 185, 186,
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 220, 221,
222, 223, 224, 225, 226, 227, 228, 229, 230, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 559, 231, 0, 232, 233, 234, 235, 574,
560, 237, 238, 0, 239, 240, 241, 242, 243, 244,
245, 246, 247, 248, 249, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
165, 166, 167, 168, 169, 170, 0, 171, 172, 173,
174, 175, 176, 0, 177, 178, 179, 180, 0, 0,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 217, 218, 219, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 220, 221, 222, 223, 224, 225,
226, 227, 228, 229, 230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 559, 231,
592, 232, 233, 234, 235, 0, 560, 237, 238, 0,
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
249, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 217, 218, 219, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 559, 231, 652, 232, 233, 234,
235, 0, 560, 237, 238, 0, 239, 240, 241, 242,
243, 244, 245, 246, 247, 248, 249, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
219, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
559, 231, 905, 232, 233, 234, 235, 0, 560, 237,
238, 0, 239, 240, 241, 242, 243, 244, 245, 246,
247, 248, 249, 140, 141, 142, 143, 144, 145, 146,
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, 0, 171, 172, 173, 174, 175,
176, 0, 177, 178, 179, 180, 0, 0, 181, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 217, 218, 219, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 559, 231, 1145, 232,
233, 234, 235, 0, 560, 237, 238, 0, 239, 240,
241, 242, 243, 244, 245, 246, 247, 248, 249, 140,
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
0, 171, 172, 173, 174, 175, 176, 0, 177, 178,
179, 180, 0, 0, 181, 182, 183, 184, 185, 186,
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 220, 221,
222, 223, 224, 225, 226, 227, 228, 229, 230, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 559, 231, 1150, 232, 233, 234, 235, 0,
560, 237, 238, 0, 239, 240, 241, 242, 243, 244,
245, 246, 247, 248, 249, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
165, 166, 167, 168, 169, 170, 0, 171, 172, 173,
174, 175, 176, 0, 177, 178, 179, 180, 0, 0,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 217, 218, 219, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 220, 221, 222, 223, 224, 225,
226, 227, 228, 229, 230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 572, 231,
0, 232, 233, 234, 235, 0, 560, 237, 238, 0,
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
249, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 217, 218, 219, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 702, 231, 0, 232, 233, 234,
235, 0, 560, 237, 238, 0, 239, 240, 241, 242,
243, 244, 245, 246, 247, 248, 249, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
219, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1146, 231, 0, 232, 233, 234, 235, 0, 560, 237,
238, 0, 239, 240, 241, 242, 243, 244, 245, 246,
247, 248, 249, 140, 141, 142, 143, 144, 145, 146,
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, 0, 171, 172, 173, 174, 175,
176, 0, 177, 178, 179, 180, 0, 0, 181, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 217, 218, 219, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1157, 231, 0, 232,
233, 234, 235, 0, 560, 237, 238, 0, 239, 240,
241, 242, 243, 244, 245, 246, 247, 248, 249, 140,
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
0, 171, 172, 173, 174, 175, 176, 0, 177, 178,
179, 180, 0, 0, 181, 182, 183, 184, 185, 186,
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 220, 221,
222, 223, 224, 225, 226, 227, 228, 229, 230, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 231, 0, 232, 233, 234, 235, 0,
236, 237, 238, 0, 239, 240, 241, 242, 243, 244,
245, 246, 247, 248, 249, 140, 141, 142, 143, 144,
145, 146, 427, 428, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 789, 162, 163, 164,
165, 166, 167, 168, 169, 170, 0, 171, 172, 173,
174, 175, 176, 0, 177, 178, 179, 180, 0, 0,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 194, 195, 196, 859, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 0, 790, 0, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 220, 221, 222, 223, 224, 225,
226, 227, 228, 229, 230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1009, 685,
1010, 860, 792, 861, 429, 0, 863, 237, 795, 0,
239, 240, 864, 242, 243, 244, 245, 246, 247, 248,
796, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 217, 218, 219, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 231, 0, 232, 233, 234,
235, 0, 560, 237, 238, 0, 239, 240, 241, 242,
243, 244, 245, 246, 247, 248, 249, 140, 141, 142,
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
219, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 231, 0, 232, 233, 234, 235, 0, 0, 237,
238, 0, 239, 240, 241, 242, 243, 244, 245, 246,
247, 248, 249, 140, 141, 142, 143, 144, 145, 146,
427, 428, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 789, 162, 163, 164, 165, 166,
167, 168, 169, 170, 0, 171, 172, 173, 174, 175,
176, 0, 177, 178, 179, 180, 0, 0, 181, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 196, 859, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 0, 790, 0, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 685, 0, 860,
792, 861, 429, 862, 863, 237, 795, 0, 239, 240,
864, 242, 243, 244, 245, 246, 247, 248, 796, 140,
141, 142, 143, 144, 145, 146, 427, 428, 149, 150,
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
789, 162, 163, 164, 165, 166, 167, 168, 169, 170,
0, 171, 172, 173, 174, 175, 176, 0, 177, 178,
179, 180, 0, 0, 181, 182, 183, 184, 185, 186,
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
859, 198, 199, 200, 201, 202, 203, 204, 205, 206,
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
0, 790, 0, 39, 40, 41, 42, 43, 44, 45,
46, 47, 48, 49, 50, 51, 52, 53, 220, 221,
222, 223, 224, 225, 226, 227, 228, 229, 230, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 685, 0, 860, 792, 861, 429, 868,
863, 237, 795, 0, 239, 240, 864, 242, 243, 244,
245, 246, 247, 248, 796, 140, 141, 142, 143, 144,
145, 146, 427, 428, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 789, 162, 163, 164,
165, 166, 167, 168, 169, 170, 0, 171, 172, 173,
174, 175, 176, 0, 177, 178, 179, 180, 0, 0,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 194, 195, 196, 859, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 0, 790, 0, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 220, 221, 222, 223, 224, 225,
226, 227, 228, 229, 230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 685,
0, 860, 792, 861, 429, 869, 863, 237, 795, 0,
239, 240, 864, 242, 243, 244, 245, 246, 247, 248,
796, 140, 141, 142, 143, 144, 145, 146, 427, 428,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 789, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 859, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 0, 790, 0, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 685, 0, 860, 792, 861,
429, 0, 863, 237, 795, 1057, 239, 240, 864, 242,
243, 244, 245, 246, 247, 248, 796, 140, 141, 142,
143, 144, 145, 146, 427, 428, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 789, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 859, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 0, 790,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 685, 0, 860, 792, 861, 429, 0, 863, 237,
795, 1059, 239, 240, 864, 242, 243, 244, 245, 246,
247, 248, 796, 140, 141, 142, 143, 144, 145, 146,
427, 428, 149, 150, 151, 152, 153, 154, 155, 156,
157, 158, 159, 160, 789, 162, 163, 164, 165, 166,
167, 168, 169, 170, 0, 171, 172, 173, 174, 175,
176, 0, 177, 178, 179, 180, 0, 0, 181, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 196, 420, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 0, 790, 0, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 685, 0, 791,
792, 793, 429, 0, 794, 237, 795, 0, 239, 240,
421, 242, 243, 244, 245, 246, 247, 248, 796, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
0, -635, -635, -635, -635, -635, -635, 0, -635, -635,
-635, -635, 0, 0, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
0, -635, 0, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, -635, -635, -635, -635, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, -635, 0, -671, -635, -635, -635, 0,
-635, -635, -635, 0, -635, -635, -635, -635, -635, -635,
-635, -635, -635, -635, -635, 140, 141, 142, 143, 144,
145, 146, 427, 428, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 789, 162, 163, 164,
165, 166, 167, 168, 169, 170, 0, 171, 172, 173,
174, 175, 176, 0, 177, 178, 179, 180, 0, 0,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 194, 195, 196, 828, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 213, 214, 215, 216, 0, 790, 0, 39,
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 220, 221, 222, 223, 224, 225,
226, 227, 228, 229, 230, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 685,
0, 0, 792, 0, 429, 0, 829, 237, 795, 0,
239, 240, 830, 242, 243, 244, 245, 246, 247, 248,
796, 140, 141, 142, 143, 144, 145, 146, 427, 428,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 789, 162, 163, 164, 165, 166, 167, 168,
169, 170, 0, 171, 172, 173, 174, 175, 176, 0,
177, 178, 179, 180, 0, 0, 181, 182, 183, 184,
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
195, 196, 0, 198, 199, 200, 201, 202, 203, 204,
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
215, 216, 0, 790, 0, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 685, 0, 0, 792, 0,
429, 0, 794, 237, 795, 0, 239, 240, 0, 242,
243, 244, 245, 246, 247, 248, 796, 140, 141, 142,
143, 144, 145, 146, 427, 428, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 789, 162,
163, 164, 165, 166, 167, 168, 169, 170, 0, 171,
172, 173, 174, 175, 176, 0, 177, 178, 179, 180,
0, 0, 181, 182, 183, 184, 185, 186, 187, 188,
189, 190, 191, 192, 193, 194, 195, 196, 0, 198,
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
209, 210, 211, 212, 213, 214, 215, 216, 0, 0,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 685, 0, 0, 792, 0, 429, 0, 0, 237,
795, 0, 239, 240, 0, 242, 243, 244, 245, 246,
247, 248, 796, 262, 263, 264, 265, 266, 267, 268,
0, 0, 599, 0, 0, 0, 0, 0, 0, 0,
0, 158, 159, 160, 0, 17, 18, 19, 20, 0,
0, 0, 21, 22, 23, 24, 25, 26, 27, 28,
29, 0, 269, 0, 0, 0, 0, 0, 0, 33,
34, 0, 0, 0, 600, 601, 0, 0, 0, 0,
0, 194, 195, 196, 602, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
213, 214, 215, 216, 0, 38, 0, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 220, 221, 222, 223, 224, 225, 226, 227,
228, 229, 230, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 603,
0, 604, 605, 0, 606, 237, 607, 0, 239, 240,
608, 242, 243, 244, 245, 246, 247, 248, 7, 8,
9, 10, 11, 12, 13, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 14, 15, 16, 0,
17, 18, 19, 20, 0, 0, 0, 21, 22, 23,
24, 25, 26, 27, 28, 29, 959, 960, 31, 32,
0, 0, 0, 0, 33, 34, 35, 0, 961, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
38, 0, 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,
962, 963, 7, 8, 9, 10, 11, 12, 13, 0,
0, 0, 0, 78, 0, 0, 0, 0, 0, 0,
14, 15, 16, 0, 17, 18, 19, 20, 0, 0,
0, 21, 22, 23, 24, 25, 26, 27, 28, 29,
0, 30, 31, 32, 0, 0, 0, 0, 33, 34,
35, 36, 37, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 38, 0, 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, 0, 77, 7, 8, 9, 10,
11, 12, 13, 0, 0, 0, 0, 78, 0, 0,
0, 0, 0, 0, 14, 15, 16, 0, 17, 18,
19, 20, 0, 0, 0, 21, 22, 23, 24, 25,
26, 27, 28, 29, 0, 269, 31, 338, 0, 0,
0, 0, 33, 34, 0, 0, 339, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 38, 0,
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, 0, 0, 0, 0,
7, 8, 9, 10, 11, 12, 13, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 14, 15,
16, 78, 17, 18, 19, 20, 0, 0, 0, 21,
22, 23, 24, 25, 26, 27, 28, 29, 0, 269,
31, 338, 0, 0, 0, 0, 33, 34, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 38, 0, 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,
0, 0, 0, 0, 7, 8, 9, 10, 11, 12,
13, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 14, 15, 16, 78, 17, 18, 19, 20,
0, 0, 0, 21, 22, 23, 24, 25, 26, 27,
28, 29, 0, 269, 31, 0, 0, 0, 0, 0,
33, 34, 35, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 38, 0, 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, 0, 0, 0, 0, 7, 8,
9, 10, 11, 12, 13, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 14, 15, 16, 78,
17, 18, 19, 20, 0, 0, 0, 21, 22, 23,
24, 25, 26, 27, 28, 29, 0, 269, 31, 0,
0, 0, 0, 0, 33, 34, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
38, 0, 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, 289, 290,
291, 292, 293, 294, 295, 0, 0, 0, 0, 289,
290, 291, 292, 293, 294, 295, 296, 297, 298, 0,
0, 0, 0, 78, 0, 0, 0, 296, 297, 298,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 33, 0, 289, 290, 291, 292,
293, 294, 295, 0, 0, 33, 299, 0, 0, 0,
0, 0, 0, 0, 296, 297, 298, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
38, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 38, 33, 0, 0, 0, 0, 301, 302, 303,
304, 305, 306, 307, 308, 309, 310, 311, 301, 302,
303, 304, 305, 306, 307, 308, 309, 310, 311, 0,
0, 496, 0, 0, 0, 497, 0, 0, 38, 0,
0, 0, 0, 78, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 78, 301, 302, 303, 304, 305,
306, 307, 308, 309, 310, 311, 289, 290, 291, 292,
293, 294, 295, 0, 0, 0, 0, 289, 290, 291,
292, 293, 294, 295, 296, 297, 298, 0, 0, 0,
0, 78, 0, 0, 0, 296, 297, 298, 0, 0,
0, 0, 0, 0, 0, 0, 0, 365, 0, 0,
0, 0, 33, 0, 0, 0, 0, 31, 0, 0,
0, 0, 0, 33, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 289, 290, 291, 292, 293, 294, 295, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 296,
297, 298, 0, 0, 0, 301, 302, 303, 304, 305,
306, 307, 308, 309, 310, 311, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 33, 289, 290,
291, 292, 293, 294, 295, 0, 0, 0, 0, 0,
0, 78, 0, 0, 0, 0, 296, 297, 298, 0,
0, 0, 78, 0, 0, 0, 0, 289, 290, 291,
292, 293, 294, 295, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 33, 296, 297, 298, 0, 0,
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
311, 0, 0, 0, 289, 290, 291, 292, 293, 294,
295, 0, 0, 33, 0, 0, 0, 0, 0, 0,
38, 0, 296, 297, 298, 0, 78, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 301, 302, 303,
304, 305, 306, 307, 308, 309, 310, 311, 0, 38,
33, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 485, 1100, 0, 0, 1101, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 289, 290, 291,
292, 293, 294, 295, 0, 0, 38, 0, 0, 0,
485, 0, 0, 0, 486, 296, 297, 298, 0, 0,
0, 0, 0, 301, 302, 303, 304, 305, 306, 307,
308, 309, 310, 311, 0, 0, 0, 0, 0, 0,
0, 0, 0, 33, 0, 0, 0, 0, 1100, 0,
0, 1101, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 289, 290,
291, 292, 293, 294, 295, 0, 0, 0, 0, 38,
0, 0, 0, 0, 0, 0, 296, 297, 298, 0,
0, 0, 0, 0, 0, 0, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 262, 263, 264,
265, 266, 267, 268, 33, 0, 0, 0, 0, 0,
0, 0, 0, 0, 486, 158, 159, 160, 0, 17,
18, 19, 20, 0, 0, 0, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 31, 338, 0,
38, 0, 0, 33, 34, 0, 0, 339, 0, 0,
0, 0, 0, 0, 0, 0, 0, 301, 302, 303,
304, 305, 306, 307, 308, 309, 310, 311, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 262, 263, 264,
265, 266, 267, 268, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 158, 159, 160, 0, 17,
18, 19, 20, 0, 0, 0, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 31, 0, 0,
0, 0, 0, 33, 34, 35, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 262, 263, 264,
265, 266, 267, 268, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 158, 159, 160, 0, 17,
18, 19, 20, 0, 0, 0, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 31, 0, 0,
0, 0, 0, 33, 34, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 262, 263, 264,
265, 266, 267, 268, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 158, 159, 160, 0, 17,
18, 19, 20, 0, 0, 0, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 0, 0, 0,
0, 0, 0, 33, 34, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 262, 263, 264,
265, 266, 267, 268, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 158, 159, 160, 0, 706,
0, 707, 20, 0, 0, 0, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 0, 0, 0,
0, 0, 0, 33, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 262, 263, 264,
265, 266, 267, 268, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 158, 159, 160, 0, 289,
290, 291, 292, 293, 294, 295, 21, 22, 23, 24,
25, 26, 27, 28, 29, 0, 269, 296, 297, 298,
0, 0, 0, 33, 34, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
365, 0, 0, 0, 0, 33, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
0, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 0, 0, 0,
0, 289, 290, 291, 292, 293, 294, 295, 301, 302,
303, 304, 305, 306, 307, 308, 309, 310, 311, 296,
297, 298, 21, 22, 23, 24, 25, 26, 27, 28,
29, 476, 269, 0, 0, 0, 0, 0, 0, 0,
0, 477, 0, 0, 0, 0, 0, 33, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 402, 0,
0, 0, 0, 0, 0, 0, 0, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 53, 0, 0, 0, 0, 0, 0, 0, 0,
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
311, 0, 0, 0, 0, 0, -285, 0, 0, 0,
0, 0, 0, 0, 0, 403, 0, 0, 0, 404,
21, 22, 23, 24, 25, 26, 27, 28, 29, 476,
269, 0, 0, 0, 0, 0, 0, 0, 0, 477,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 402, 0, 0, 0,
0, 0, 0, 0, 0, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 49, 50, 51, 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,
0, 0, 0, 403, 0, 0, 0, 404
};
static const short int yycheck[] =
{
5, 36, 114, 35, 5, 5, 93, 114, 101, 122,
122, 35, 315, 104, 105, 106, 95, 335, 425, 5,
530, 5, 434, 417, 334, 5, 5, 5, 260, 114,
315, 533, 37, 128, 32, 35, 401, 443, 231, 527,
499, 115, 416, 658, 532, 238, 403, 404, 5, 3,
713, 659, 719, 5, 279, 566, 719, 35, 37, 524,
435, 315, 831, 122, 3, 3, 259, 32, 650, 940,
576, 577, 5, 32, 10, 11, 46, 531, 85, 3,
115, 10, 11, 35, 10, 11, 78, 29, 30, 31,
122, 533, 85, 3, 287, 53, 508, 78, 122, 945,
32, 589, 10, 11, 37, 517, 10, 11, 64, 114,
115, 888, 117, 398, 12, 126, 127, 1091, 899, 130,
3, 64, 122, 101, 126, 584, 3, 134, 3, 132,
132, 0, 85, 126, 588, 114, 115, 1111, 117, 132,
12, 139, 452, 135, 101, 647, 44, 139, 659, 101,
85, 558, 78, 456, 135, 84, 126, 127, 84, 0,
353, 3, 4, 5, 6, 7, 8, 9, 101, 64,
122, 456, 44, 131, 139, 129, 401, 659, 1024, 137,
139, 134, 959, 270, 140, 272, 128, 126, 126, 122,
275, 858, 271, 681, 273, 858, 132, 140, 516, 134,
518, 666, 456, 127, 663, 647, 130, 139, 875, 135,
585, 586, 875, 139, 85, 132, 126, 127, 503, 278,
130, 595, 991, 32, 132, 1006, 691, 1098, 132, 1102,
315, 130, 1013, 132, 1070, 545, 131, 349, 85, 721,
722, 723, 85, 126, 127, 140, 278, 130, 533, 126,
127, 126, 127, 130, 278, 130, 261, 1130, 873, 1132,
1096, 32, 33, 134, 343, 126, 85, 85, 32, 26,
275, 132, 85, 85, 132, 1148, 943, 787, 278, 391,
943, 360, 261, 126, 391, 127, 126, 134, 132, 132,
349, 134, 132, 50, 299, 300, 275, 1066, 385, 1068,
387, 135, 361, 132, 919, 139, 391, 386, 126, 388,
315, 316, 927, 126, 132, 134, 134, 349, 543, 132,
299, 300, 134, 85, 411, 132, 278, 126, 333, 19,
139, 998, 337, 132, 339, 998, 315, 316, 433, 26,
435, 3, 4, 5, 6, 7, 8, 9, 127, 132,
129, 438, 439, 132, 333, 1022, 581, 44, 337, 1022,
339, 126, 647, 50, 126, 55, 56, 132, 346, 132,
132, 456, 134, 126, 132, 139, 126, 132, 136, 132,
962, 131, 32, 316, 34, 126, 391, 49, 132, 346,
502, 132, 1000, 398, 346, 45, 906, 349, 48, 1014,
333, 126, 132, 85, 489, 911, 131, 913, 443, 132,
132, 126, 391, 346, 136, 489, 349, 132, 126, 398,
418, 419, 127, 85, 132, 130, 424, 425, 426, 434,
127, 436, 85, 126, 126, 131, 523, 133, 443, 132,
132, 446, 128, 502, 126, 131, 852, 445, 533, 931,
132, 456, 134, 418, 419, 434, 132, 436, 651, 424,
425, 426, 1070, 126, 443, 398, 126, 446, 700, 132,
502, 556, 1054, 126, 509, 45, 131, 456, 48, 132,
445, 134, 137, 126, 489, 490, 418, 419, 1096, 1000,
585, 586, 424, 425, 426, 85, 501, 854, 503, 504,
127, 434, 129, 508, 509, 540, 900, 24, 506, 1106,
489, 490, 517, 445, 519, 25, 26, 999, 1000, 1001,
126, 556, 501, 455, 503, 504, 132, 126, 533, 508,
131, 134, 1129, 132, 1131, 540, 137, 12, 517, 127,
519, 506, 130, 1125, 1126, 132, 551, 132, 1050, 136,
502, 136, 1149, 638, 533, 127, 85, 490, 129, 1047,
558, 540, 647, 568, 638, 32, 33, 331, 568, 502,
503, 335, 551, 126, 506, 508, 126, 134, 943, 127,
85, 1083, 127, 130, 517, 992, 570, 819, 1070, 568,
568, 132, 126, 558, 129, 131, 528, 126, 1086, 13,
14, 15, 16, 132, 131, 134, 29, 30, 31, 418,
419, 131, 131, 131, 1096, 424, 425, 426, 551, 714,
131, 126, 131, 131, 131, 630, 558, 132, 131, 134,
126, 133, 133, 638, 126, 133, 445, 732, 127, 136,
127, 132, 647, 133, 3, 4, 5, 6, 7, 8,
9, 630, 137, 712, 418, 419, 128, 131, 137, 638,
424, 425, 426, 44, 126, 1077, 126, 126, 647, 433,
3, 435, 3, 4, 5, 6, 7, 8, 9, 136,
983, 445, 136, 133, 137, 131, 130, 129, 126, 687,
49, 131, 1104, 1003, 1106, 84, 133, 506, 983, 126,
126, 706, 707, 708, 132, 136, 130, 1101, 12, 13,
14, 15, 16, 17, 18, 19, 20, 137, 84, 1131,
131, 1128, 126, 25, 26, 27, 126, 706, 707, 708,
32, 33, 34, 35, 36, 37, 38, 39, 40, 130,
42, 128, 506, 137, 137, 130, 1049, 1154, 131, 558,
37, 1145, 516, 37, 518, 84, 131, 133, 843, 126,
132, 84, 133, 133, 1049, 1050, 5, 131, 133, 856,
133, 133, 133, 778, 126, 133, 133, 131, 129, 126,
133, 137, 780, 13, 1094, 13, 550, 126, 47, 67,
133, 137, 133, 133, 558, 133, 35, 133, 1083, 778,
137, 133, 126, 5, 888, 127, 126, 888, 843, 988,
896, 888, 4, 764, 1032, 780, 888, 852, 773, 888,
580, 585, 586, 732, 888, 581, 847, 551, 720, 5,
888, 959, 116, 510, 118, 119, 997, 778, 1089, 480,
479, 1120, 827, 643, 410, 822, 410, 852, 780, 568,
659, 1142, 939, 691, 553, 888, 929, 696, 912, 538,
931, 777, 101, -1, -1, -1, -1, -1, -1, -1,
109, 984, 984, 852, -1, 684, -1, 984, -1, 127,
-1, -1, 975, 888, -1, 890, 977, 888, 888, 894,
-1, 896, -1, -1, -1, 659, -1, -1, 983, -1,
664, -1, 888, -1, 888, -1, -1, 1100, 888, 888,
888, 890, 721, 722, 723, 894, 1109, 896, -1, -1,
684, 113, -1, 1035, -1, 984, 118, -1, 1035, -1,
-1, 123, 1044, -1, -1, -1, 888, 1044, -1, 1032,
132, 133, 1033, -1, -1, -1, -1, -1, -1, -1,
-1, 1030, 984, -1, 959, 888, 961, 721, 722, 723,
984, -1, -1, -1, 1049, -1, -1, -1, -1, -1,
975, 780, 1084, -1, 975, 959, 1035, 1084, 983, 984,
959, 959, 961, 988, 984, 1044, -1, -1, 5, 975,
-1, 975, 276, 277, 992, 975, 975, 975, -1, 1078,
-1, -1, 122, 1082, 983, 984, -1, 959, -1, 988,
-1, -1, 1044, -1, -1, 1050, 780, -1, -1, 1114,
37, -1, 831, 975, -1, 1084, 1105, 992, 961, -1,
1035, 279, 984, 317, 318, -1, 1041, -1, -1, 1044,
1041, -1, 975, -1, 1049, 1050, -1, -1, 1083, 333,
1137, 984, 1084, -1, 1032, 1041, 1035, 1041, -1, -1,
992, 1041, 1041, 1041, 1151, 1044, 115, 831, -1, -1,
1049, 1050, 1077, -1, -1, -1, -1, -1, 1083, 1084,
1032, -1, 274, 1035, 276, -1, 370, 371, 372, 1041,
899, -1, 1044, -1, -1, -1, -1, -1, 1077, 1104,
117, 1106, 350, -1, 1083, 1084, -1, 346, 1041, -1,
5, 1044, -1, 1091, -1, -1, -1, -1, -1, -1,
929, -1, 931, -1, -1, 1104, 1131, 1106, 1080, 1127,
1128, -1, 1084, -1, -1, 899, -1, 1135, -1, -1,
114, -1, 37, 117, 1077, -1, -1, -1, -1, -1,
434, 1084, 1131, 401, -1, -1, 1154, -1, 278, -1,
-1, -1, 1127, 1128, -1, 929, -1, 931, -1, -1,
1135, 1104, -1, 1106, -1, -1, -1, -1, -1, -1,
944, -1, 991, 992, -1, -1, -1, -1, -1, 1154,
999, 1000, 1001, -1, -1, 1127, 1128, 1006, 1131, -1,
392, -1, -1, 1135, 1013, -1, -1, 491, 492, -1,
-1, 331, -1, -1, -1, 335, 455, -1, -1, -1,
-1, -1, 1154, -1, 508, -1, -1, 991, 992, 349,
-1, -1, 480, 517, -1, 999, 1000, 1001, -1, 431,
-1, 361, 1006, -1, 261, -1, -1, -1, -1, 1013,
-1, 1015, -1, -1, -1, -1, -1, 1066, -1, 1068,
-1, 1070, -1, -1, -1, -1, -1, 551, -1, -1,
319, 320, 321, 322, 323, 324, 325, 326, 327, 328,
329, 330, 299, 300, 333, -1, -1, 1096, -1, 481,
-1, -1, -1, -1, -1, 543, 488, -1, -1, 316,
-1, 275, 1066, -1, 1068, -1, 1070, -1, -1, -1,
594, -1, -1, 433, -1, 435, -1, -1, 1127, 1128,
337, -1, 339, -1, -1, -1, 1135, -1, -1, -1,
-1, -1, 1096, 581, -1, -1, -1, -1, -1, -1,
-1, 315, 316, -1, -1, 1154, -1, -1, -1, -1,
-1, -1, 636, 637, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 1127, 1128, -1, 261, -1, -1, -1,
-1, 1135, 656, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 502, -1, -1, 434, -1, -1, 1152, -1,
1154, -1, 1156, -1, -1, -1, 516, -1, 518, -1,
-1, -1, -1, -1, 299, 300, -1, -1, -1, -1,
-1, -1, -1, 697, -1, -1, -1, 391, -1, 436,
-1, -1, -1, -1, 398, -1, 710, 711, -1, 446,
550, -1, -1, -1, -1, -1, -1, -1, -1, -1,
489, -1, 337, 635, 339, -1, 495, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 508,
-1, -1, 654, -1, -1, 585, 586, -1, 517, 443,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 456, -1, 501, -1, -1, 504, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 737, -1,
-1, -1, 519, -1, -1, -1, 745, 746, 747, 748,
749, 750, 751, 752, 753, 754, -1, -1, -1, -1,
768, -1, -1, -1, -1, -1, -1, -1, -1, 503,
-1, 779, -1, -1, 551, -1, -1, -1, -1, -1,
-1, 436, -1, -1, 664, -1, -1, -1, -1, -1,
-1, 568, -1, -1, -1, -1, -1, -1, -1, 533,
-1, -1, -1, -1, -1, -1, 540, 759, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 771,
-1, -1, -1, -1, 12, -1, -1, -1, -1, 638,
-1, -1, 712, -1, -1, -1, -1, -1, 647, -1,
-1, -1, -1, -1, -1, -1, 501, -1, -1, 504,
-1, -1, -1, 630, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 519, -1, 54, 55, -1, -1,
-1, -1, -1, 61, 62, 63, 64, 65, 66, 67,
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
78, 79, 80, 81, 82, 83, 551, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 908,
-1, -1, -1, 647, -1, -1, -1, 961, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, 706,
707, 708, -1, -1, -1, -1, 21, 22, 23, -1,
892, 129, -1, 131, 132, -1, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
959, -1, -1, -1, 773, -1, 3, 4, 5, 6,
7, 8, 9, -1, -1, -1, -1, 985, -1, 987,
-1, 989, -1, -1, 21, 22, 23, -1, -1, -1,
-1, -1, 29, 30, 31, -1, -1, -1, -1, -1,
37, 778, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 49, -1, -1, -1, -1, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 1036, -1,
-1, -1, -1, 1077, -1, -1, -1, 3, 4, 5,
6, 7, 8, 9, -1, 997, -1, -1, 85, -1,
-1, 706, 707, 708, -1, 21, 22, 23, -1, -1,
1104, -1, 1106, -1, 944, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, -1, 43, 44, -1,
-1, -1, -1, 49, -1, -1, -1, 1131, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, -1,
-1, 138, -1, -1, 984, -1, 21, 22, 23, -1,
-1, 888, -1, 890, -1, -1, -1, 894, 852, 896,
-1, -1, -1, 778, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 49, 1015, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, -1, -1, -1,
-1, -1, -1, -1, 888, 1035, 3, 4, 5, 6,
7, 8, 9, -1, 1044, -1, -1, -1, -1, -1,
85, -1, 138, -1, 21, 22, 23, -1, -1, -1,
-1, -1, -1, -1, 961, -1, -1, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, -1, -1,
1080, -1, 49, 50, 1084, 52, -1, -1, -1, -1,
-1, 988, -1, -1, -1, 130, -1, -1, -1, -1,
-1, -1, -1, 138, -1, 959, -1, -1, -1, -1,
-1, 1111, -1, 888, -1, 890, -1, -1, 85, 894,
-1, 975, -1, -1, -1, -1, -1, -1, -1, 983,
984, -1, -1, -1, -1, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, -1, -1, 1077, -1,
-1, -1, 1152, -1, -1, -1, 1156, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, -1, -1,
-1, 138, -1, -1, -1, 1104, 51, 1106, -1, -1,
-1, 1035, -1, -1, -1, -1, 961, 1041, -1, -1,
1044, -1, -1, -1, -1, 1049, 1050, -1, -1, -1,
-1, -1, 1131, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, -1, -1, 1083,
1084, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 126, 127, -1, 129, 130, 131,
132, -1, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
126, 127, 128, 129, 130, 131, 132, -1, 134, 135,
136, -1, 138, 139, 140, 141, 142, 143, 144, 145,
146, 147, 148, 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, -1, 35, 36, 37, 38, 39,
40, -1, 42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 126, 127, -1, 129,
130, 131, 132, -1, 134, 135, 136, 137, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 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,
-1, 35, 36, 37, 38, 39, 40, -1, 42, 43,
44, 45, -1, -1, 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, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 126, 127, -1, 129, 130, 131, 132, 133,
134, 135, 136, -1, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 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, -1, 35, 36, 37,
38, 39, 40, -1, 42, 43, 44, 45, -1, -1,
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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 126, 127,
128, 129, 130, 131, 132, -1, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 126, 127, 128, 129, 130, 131,
132, -1, 134, 135, 136, -1, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
126, 127, 128, 129, 130, 131, 132, -1, 134, 135,
136, -1, 138, 139, 140, 141, 142, 143, 144, 145,
146, 147, 148, 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, -1, 35, 36, 37, 38, 39,
40, -1, 42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 126, 127, 128, 129,
130, 131, 132, -1, 134, 135, 136, -1, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 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,
-1, 35, 36, 37, 38, 39, 40, -1, 42, 43,
44, 45, -1, -1, 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, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 126, 127, 128, 129, 130, 131, 132, -1,
134, 135, 136, -1, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 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, -1, 35, 36, 37,
38, 39, 40, -1, 42, 43, 44, 45, -1, -1,
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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 126, 127,
-1, 129, 130, 131, 132, -1, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 126, 127, -1, 129, 130, 131,
132, -1, 134, 135, 136, -1, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
126, 127, -1, 129, 130, 131, 132, -1, 134, 135,
136, -1, 138, 139, 140, 141, 142, 143, 144, 145,
146, 147, 148, 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, -1, 35, 36, 37, 38, 39,
40, -1, 42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 126, 127, -1, 129,
130, 131, 132, -1, 134, 135, 136, -1, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 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,
-1, 35, 36, 37, 38, 39, 40, -1, 42, 43,
44, 45, -1, -1, 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, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 127, -1, 129, 130, 131, 132, -1,
134, 135, 136, -1, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 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, -1, 35, 36, 37,
38, 39, 40, -1, 42, 43, 44, 45, -1, -1,
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, -1, 85, -1, 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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 126, 127,
128, 129, 130, 131, 132, -1, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 127, -1, 129, 130, 131,
132, -1, 134, 135, 136, -1, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 127, -1, 129, 130, 131, 132, -1, -1, 135,
136, -1, 138, 139, 140, 141, 142, 143, 144, 145,
146, 147, 148, 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, -1, 35, 36, 37, 38, 39,
40, -1, 42, 43, 44, 45, -1, -1, 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, -1, 85, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 127, -1, 129,
130, 131, 132, 133, 134, 135, 136, -1, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 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,
-1, 35, 36, 37, 38, 39, 40, -1, 42, 43,
44, 45, -1, -1, 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,
-1, 85, -1, 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, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 127, -1, 129, 130, 131, 132, 133,
134, 135, 136, -1, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 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, -1, 35, 36, 37,
38, 39, 40, -1, 42, 43, 44, 45, -1, -1,
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, -1, 85, -1, 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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 127,
-1, 129, 130, 131, 132, 133, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 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, -1, 85, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 127, -1, 129, 130, 131,
132, -1, 134, 135, 136, 137, 138, 139, 140, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 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, -1, 85,
-1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 127, -1, 129, 130, 131, 132, -1, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
146, 147, 148, 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, -1, 35, 36, 37, 38, 39,
40, -1, 42, 43, 44, 45, -1, -1, 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, -1, 85, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 127, -1, 129,
130, 131, 132, -1, 134, 135, 136, -1, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 148, 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,
-1, 35, 36, 37, 38, 39, 40, -1, 42, 43,
44, 45, -1, -1, 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,
-1, 85, -1, 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, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 127, -1, 129, 130, 131, 132, -1,
134, 135, 136, -1, 138, 139, 140, 141, 142, 143,
144, 145, 146, 147, 148, 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, -1, 35, 36, 37,
38, 39, 40, -1, 42, 43, 44, 45, -1, -1,
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, -1, 85, -1, 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, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 127,
-1, -1, 130, -1, 132, -1, 134, 135, 136, -1,
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
148, 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, -1, 35, 36, 37, 38, 39, 40, -1,
42, 43, 44, 45, -1, -1, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
62, 63, -1, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
82, 83, -1, 85, -1, 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, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 127, -1, -1, 130, -1,
132, -1, 134, 135, 136, -1, 138, 139, -1, 141,
142, 143, 144, 145, 146, 147, 148, 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, -1, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, 45,
-1, -1, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, -1, 65,
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83, -1, -1,
-1, 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, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 127, -1, -1, 130, -1, 132, -1, -1, 135,
136, -1, 138, 139, -1, 141, 142, 143, 144, 145,
146, 147, 148, 3, 4, 5, 6, 7, 8, 9,
-1, -1, 12, -1, -1, -1, -1, -1, -1, -1,
-1, 21, 22, 23, -1, 25, 26, 27, 28, -1,
-1, -1, 32, 33, 34, 35, 36, 37, 38, 39,
40, -1, 42, -1, -1, -1, -1, -1, -1, 49,
50, -1, -1, -1, 54, 55, -1, -1, -1, -1,
-1, 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, -1, 85, -1, 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, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 129,
-1, 131, 132, -1, 134, 135, 136, -1, 138, 139,
140, 141, 142, 143, 144, 145, 146, 147, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 21, 22, 23, -1,
25, 26, 27, 28, -1, -1, -1, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
-1, -1, -1, -1, 49, 50, 51, -1, 53, -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,
85, -1, 87, 88, 89, 90, 91, 92, 93, 94,
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 3, 4, 5, 6, 7, 8, 9, -1,
-1, -1, -1, 138, -1, -1, -1, -1, -1, -1,
21, 22, 23, -1, 25, 26, 27, 28, -1, -1,
-1, 32, 33, 34, 35, 36, 37, 38, 39, 40,
-1, 42, 43, 44, -1, -1, -1, -1, 49, 50,
51, 52, 53, -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, 85, -1, 87, 88, 89, 90,
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
121, 122, 123, 124, -1, 126, 3, 4, 5, 6,
7, 8, 9, -1, -1, -1, -1, 138, -1, -1,
-1, -1, -1, -1, 21, 22, 23, -1, 25, 26,
27, 28, -1, -1, -1, 32, 33, 34, 35, 36,
37, 38, 39, 40, -1, 42, 43, 44, -1, -1,
-1, -1, 49, 50, -1, -1, 53, -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, 85, -1,
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, -1, -1, -1, -1,
3, 4, 5, 6, 7, 8, 9, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 21, 22,
23, 138, 25, 26, 27, 28, -1, -1, -1, 32,
33, 34, 35, 36, 37, 38, 39, 40, -1, 42,
43, 44, -1, -1, -1, -1, 49, 50, -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, 85, -1, 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,
-1, -1, -1, -1, 3, 4, 5, 6, 7, 8,
9, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 21, 22, 23, 138, 25, 26, 27, 28,
-1, -1, -1, 32, 33, 34, 35, 36, 37, 38,
39, 40, -1, 42, 43, -1, -1, -1, -1, -1,
49, 50, 51, -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, 85, -1, 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, -1, -1, -1, -1, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 21, 22, 23, 138,
25, 26, 27, 28, -1, -1, -1, 32, 33, 34,
35, 36, 37, 38, 39, 40, -1, 42, 43, -1,
-1, -1, -1, -1, 49, 50, -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,
85, -1, 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, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, 3,
4, 5, 6, 7, 8, 9, 21, 22, 23, -1,
-1, -1, -1, 138, -1, -1, -1, 21, 22, 23,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 49, -1, 3, 4, 5, 6,
7, 8, 9, -1, -1, 49, 50, -1, -1, -1,
-1, -1, -1, -1, 21, 22, 23, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
85, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 85, 49, -1, -1, -1, -1, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111, 112, -1,
-1, 126, -1, -1, -1, 130, -1, -1, 85, -1,
-1, -1, -1, 138, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 138, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, 3, 4, 5, 6,
7, 8, 9, -1, -1, -1, -1, 3, 4, 5,
6, 7, 8, 9, 21, 22, 23, -1, -1, -1,
-1, 138, -1, -1, -1, 21, 22, 23, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 44, -1, -1,
-1, -1, 49, -1, -1, -1, -1, 43, -1, -1,
-1, -1, -1, 49, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 3, 4, 5, 6, 7, 8, 9, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 21,
22, 23, -1, -1, -1, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 49, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, -1,
-1, 138, -1, -1, -1, -1, 21, 22, 23, -1,
-1, -1, 138, -1, -1, -1, -1, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 49, 21, 22, 23, -1, -1,
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, -1, -1, -1, 3, 4, 5, 6, 7, 8,
9, -1, -1, 49, -1, -1, -1, -1, -1, -1,
85, -1, 21, 22, 23, -1, 138, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, -1, 85,
49, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 126, 127, -1, -1, 130, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 3, 4, 5,
6, 7, 8, 9, -1, -1, 85, -1, -1, -1,
126, -1, -1, -1, 130, 21, 22, 23, -1, -1,
-1, -1, -1, 102, 103, 104, 105, 106, 107, 108,
109, 110, 111, 112, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 49, -1, -1, -1, -1, 127, -1,
-1, 130, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 3, 4,
5, 6, 7, 8, 9, -1, -1, -1, -1, 85,
-1, -1, -1, -1, -1, -1, 21, 22, 23, -1,
-1, -1, -1, -1, -1, -1, 102, 103, 104, 105,
106, 107, 108, 109, 110, 111, 112, 3, 4, 5,
6, 7, 8, 9, 49, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 130, 21, 22, 23, -1, 25,
26, 27, 28, -1, -1, -1, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, 43, 44, -1,
85, -1, -1, 49, 50, -1, -1, 53, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 85,
-1, 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, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 21, 22, 23, -1, 25,
26, 27, 28, -1, -1, -1, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, 43, -1, -1,
-1, -1, -1, 49, 50, 51, -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, 85,
-1, 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, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 21, 22, 23, -1, 25,
26, 27, 28, -1, -1, -1, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, 43, -1, -1,
-1, -1, -1, 49, 50, -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, 85,
-1, 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, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 21, 22, 23, -1, 25,
26, 27, 28, -1, -1, -1, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, -1, -1, -1,
-1, -1, -1, 49, 50, -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, 85,
-1, 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, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 21, 22, 23, -1, 25,
-1, 27, 28, -1, -1, -1, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, -1, -1, -1,
-1, -1, -1, 49, -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, 85,
-1, 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, 3, 4, 5,
6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 21, 22, 23, -1, 3,
4, 5, 6, 7, 8, 9, 32, 33, 34, 35,
36, 37, 38, 39, 40, -1, 42, 21, 22, 23,
-1, -1, -1, 49, 50, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
44, -1, -1, -1, -1, 49, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 85,
-1, 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, -1, -1, -1,
-1, 3, 4, 5, 6, 7, 8, 9, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111, 112, 21,
22, 23, 32, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, -1, -1, -1, -1, -1, -1, -1,
-1, 51, -1, -1, -1, -1, -1, 49, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 78, -1,
-1, -1, -1, -1, -1, -1, -1, 87, 88, 89,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, -1, -1, -1, -1, -1, -1, -1, -1,
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, -1, -1, -1, -1, -1, 126, -1, -1, -1,
-1, -1, -1, -1, -1, 135, -1, -1, -1, 139,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
42, -1, -1, -1, -1, -1, -1, -1, -1, 51,
-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, 78, -1, -1, -1,
-1, -1, -1, -1, -1, 87, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
-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, 135, -1, -1, -1, 139
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */
static const unsigned short int yystos[] =
{
0, 150, 151, 0, 152, 364, 365, 3, 4, 5,
6, 7, 8, 9, 21, 22, 23, 25, 26, 27,
28, 32, 33, 34, 35, 36, 37, 38, 39, 40,
42, 43, 44, 49, 50, 51, 52, 53, 85, 87,
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
118, 119, 120, 121, 122, 123, 124, 126, 138, 153,
154, 155, 156, 157, 159, 160, 161, 162, 163, 165,
168, 183, 184, 185, 187, 188, 198, 199, 208, 210,
211, 213, 230, 231, 232, 233, 236, 237, 240, 245,
286, 316, 317, 318, 319, 321, 322, 323, 324, 326,
328, 329, 332, 333, 334, 335, 336, 338, 339, 342,
343, 354, 355, 356, 386, 376, 25, 26, 12, 44,
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, 35, 36, 37, 38, 39, 40, 42, 43, 44,
45, 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,
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, 127, 129, 130, 131, 132, 134, 135, 136, 138,
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
355, 356, 398, 399, 400, 430, 431, 432, 433, 434,
327, 344, 3, 4, 5, 6, 7, 8, 9, 42,
163, 168, 185, 188, 318, 319, 324, 326, 332, 338,
3, 4, 5, 6, 7, 8, 9, 127, 329, 3,
4, 5, 6, 7, 8, 9, 21, 22, 23, 50,
52, 102, 103, 104, 105, 106, 107, 108, 109, 110,
111, 112, 209, 316, 318, 319, 323, 324, 326, 132,
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
132, 330, 164, 374, 375, 330, 127, 374, 44, 53,
154, 161, 162, 188, 194, 211, 213, 230, 286, 332,
338, 46, 126, 127, 259, 260, 259, 259, 259, 132,
168, 332, 338, 126, 364, 44, 237, 264, 267, 317,
322, 324, 326, 170, 324, 326, 328, 329, 323, 317,
318, 323, 364, 323, 134, 163, 168, 185, 188, 199,
237, 319, 333, 342, 364, 10, 11, 84, 224, 287,
295, 297, 78, 135, 139, 292, 357, 358, 359, 360,
363, 340, 364, 364, 24, 377, 127, 430, 426, 426,
64, 140, 214, 416, 426, 427, 426, 10, 11, 132,
420, 316, 12, 330, 374, 330, 374, 317, 163, 185,
203, 204, 207, 224, 295, 426, 129, 158, 316, 316,
126, 366, 367, 240, 244, 245, 319, 3, 4, 5,
6, 7, 8, 9, 328, 328, 328, 328, 328, 328,
328, 328, 328, 328, 328, 328, 41, 51, 288, 291,
292, 331, 333, 356, 127, 126, 130, 169, 170, 319,
323, 324, 326, 376, 288, 186, 126, 130, 189, 316,
316, 374, 332, 224, 130, 269, 426, 238, 374, 320,
265, 132, 323, 323, 323, 325, 330, 374, 330, 374,
237, 264, 364, 341, 298, 241, 242, 244, 245, 246,
262, 306, 317, 319, 289, 129, 279, 280, 282, 283,
224, 295, 304, 357, 368, 369, 368, 368, 358, 360,
330, 53, 378, 379, 380, 381, 382, 151, 427, 126,
134, 137, 428, 429, 430, 128, 215, 217, 218, 220,
222, 137, 126, 429, 133, 422, 423, 421, 364, 200,
202, 292, 169, 200, 316, 330, 330, 201, 306, 317,
324, 326, 128, 318, 324, 127, 126, 129, 376, 12,
54, 55, 64, 129, 131, 132, 134, 136, 140, 397,
398, 240, 244, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 133, 133, 126, 289, 287, 364, 172,
167, 3, 126, 171, 364, 170, 324, 326, 319, 126,
191, 192, 328, 190, 189, 364, 316, 319, 270, 271,
316, 127, 128, 272, 273, 169, 324, 269, 268, 410,
288, 169, 288, 316, 330, 336, 337, 362, 32, 33,
247, 248, 249, 366, 247, 308, 309, 310, 366, 241,
246, 317, 126, 131, 281, 127, 424, 132, 133, 295,
376, 361, 209, 316, 137, 380, 131, 322, 329, 384,
385, 128, 126, 137, 131, 416, 25, 27, 188, 318,
324, 326, 332, 349, 350, 353, 354, 26, 50, 225,
213, 406, 406, 406, 126, 201, 207, 126, 189, 200,
200, 126, 131, 132, 366, 126, 151, 212, 3, 136,
136, 64, 140, 133, 137, 387, 389, 391, 393, 388,
390, 392, 394, 395, 396, 29, 30, 31, 128, 173,
174, 29, 30, 31, 37, 178, 179, 182, 316, 130,
364, 170, 128, 131, 129, 339, 126, 328, 131, 433,
426, 133, 84, 274, 276, 364, 323, 266, 272, 24,
85, 129, 130, 131, 134, 136, 148, 355, 356, 398,
399, 400, 404, 405, 412, 413, 414, 416, 417, 420,
424, 126, 126, 126, 189, 336, 45, 48, 250, 251,
132, 136, 311, 312, 130, 132, 366, 290, 64, 134,
140, 401, 402, 404, 414, 425, 284, 400, 296, 362,
130, 137, 381, 323, 84, 383, 420, 216, 316, 316,
316, 342, 224, 293, 297, 292, 351, 293, 225, 64,
129, 131, 133, 134, 140, 404, 407, 408, 133, 133,
126, 126, 202, 205, 128, 338, 137, 137, 338, 338,
338, 338, 338, 338, 338, 338, 338, 338, 364, 130,
181, 182, 131, 37, 180, 224, 166, 364, 192, 193,
129, 195, 431, 271, 224, 128, 239, 131, 277, 247,
133, 419, 415, 418, 126, 78, 135, 252, 420, 243,
313, 312, 13, 14, 15, 16, 307, 263, 291, 403,
402, 411, 131, 133, 132, 299, 309, 322, 217, 352,
305, 306, 219, 368, 330, 221, 293, 272, 293, 133,
133, 133, 133, 133, 133, 133, 133, 131, 131, 41,
42, 53, 125, 126, 155, 160, 162, 175, 176, 177,
183, 184, 198, 208, 211, 213, 234, 235, 236, 264,
286, 316, 317, 319, 332, 338, 386, 316, 364, 316,
178, 401, 427, 126, 261, 247, 84, 275, 338, 406,
410, 406, 370, 371, 272, 314, 315, 272, 405, 126,
128, 408, 409, 285, 300, 330, 299, 129, 226, 227,
293, 303, 357, 226, 223, 133, 126, 13, 13, 160,
168, 196, 213, 235, 317, 332, 338, 433, 162, 176,
211, 213, 234, 286, 332, 259, 126, 244, 264, 319,
224, 224, 179, 224, 47, 276, 293, 137, 416, 137,
67, 256, 257, 376, 133, 137, 401, 133, 401, 272,
228, 133, 293, 226, 206, 133, 133, 374, 168, 196,
332, 259, 168, 224, 332, 366, 244, 246, 433, 278,
137, 258, 253, 372, 373, 133, 229, 412, 294, 302,
127, 130, 169, 197, 374, 168, 374, 126, 366, 127,
279, 332, 343, 345, 346, 3, 129, 254, 255, 376,
301, 412, 299, 32, 34, 45, 48, 426, 427, 171,
169, 374, 169, 197, 126, 426, 343, 347, 292, 19,
55, 56, 302, 433, 433, 128, 126, 197, 169, 171,
128, 348, 330, 370, 427, 197, 330, 126
};
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const unsigned short int yyr1[] =
{
0, 149, 150, 151, 152, 151, 153, 153, 153, 153,
153, 153, 153, 153, 153, 153, 153, 153, 153, 153,
153, 153, 153, 153, 154, 154, 154, 154, 154, 154,
155, 155, 156, 157, 158, 157, 159, 160, 160, 161,
161, 161, 162, 162, 164, 163, 166, 165, 165, 167,
165, 165, 168, 168, 168, 169, 169, 169, 170, 170,
171, 171, 172, 173, 172, 172, 174, 174, 174, 175,
175, 175, 175, 175, 175, 175, 175, 175, 175, 175,
175, 175, 175, 175, 175, 176, 176, 176, 176, 176,
177, 177, 177, 177, 178, 178, 179, 179, 179, 180,
180, 181, 181, 182, 182, 182, 183, 183, 183, 184,
184, 186, 185, 187, 187, 188, 188, 188, 189, 190,
189, 191, 191, 192, 192, 193, 192, 194, 195, 195,
196, 196, 196, 196, 197, 197, 198, 198, 199, 199,
199, 199, 199, 200, 201, 201, 202, 203, 203, 205,
206, 204, 207, 208, 209, 209, 209, 209, 209, 209,
210, 212, 211, 213, 214, 213, 215, 216, 215, 218,
219, 217, 220, 221, 217, 222, 223, 217, 224, 224,
225, 225, 226, 226, 228, 227, 229, 229, 230, 230,
230, 230, 231, 232, 232, 232, 233, 233, 233, 234,
234, 234, 235, 235, 235, 235, 236, 236, 236, 238,
239, 237, 240, 241, 243, 242, 244, 245, 246, 247,
248, 248, 249, 249, 250, 250, 250, 251, 251, 252,
252, 252, 253, 253, 254, 255, 255, 255, 255, 256,
256, 258, 257, 259, 259, 259, 260, 261, 261, 263,
262, 265, 266, 264, 268, 267, 269, 269, 270, 270,
271, 272, 273, 272, 274, 275, 274, 274, 274, 277,
278, 276, 279, 279, 281, 280, 282, 280, 283, 280,
284, 285, 284, 286, 287, 288, 288, 289, 290, 289,
291, 292, 292, 293, 294, 293, 295, 296, 295, 298,
297, 297, 299, 300, 301, 299, 299, 302, 302, 302,
302, 302, 302, 303, 303, 304, 304, 305, 305, 306,
306, 307, 307, 307, 307, 308, 308, 310, 309, 311,
311, 313, 312, 314, 315, 314, 316, 316, 317, 317,
317, 317, 317, 318, 318, 318, 319, 319, 319, 319,
319, 319, 320, 319, 321, 322, 323, 325, 324, 327,
326, 328, 328, 328, 328, 328, 328, 328, 328, 328,
328, 328, 328, 328, 328, 328, 328, 328, 328, 328,
328, 328, 329, 329, 329, 329, 329, 329, 329, 330,
330, 331, 331, 331, 331, 332, 332, 333, 333, 333,
333, 334, 334, 334, 334, 334, 335, 335, 335, 336,
336, 337, 337, 338, 340, 339, 341, 339, 342, 342,
342, 343, 343, 344, 343, 343, 343, 345, 347, 346,
348, 346, 349, 351, 350, 352, 350, 353, 353, 353,
353, 353, 353, 353, 354, 354, 355, 355, 355, 355,
355, 355, 355, 355, 355, 355, 355, 355, 355, 355,
355, 355, 355, 355, 355, 355, 355, 356, 356, 356,
356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
356, 356, 357, 357, 357, 357, 358, 359, 361, 360,
362, 362, 363, 363, 365, 364, 367, 366, 369, 368,
371, 370, 373, 372, 375, 374, 376, 376, 377, 378,
378, 379, 380, 380, 380, 380, 382, 381, 383, 383,
384, 384, 385, 385, 387, 386, 388, 386, 389, 386,
390, 386, 391, 386, 392, 386, 393, 386, 394, 386,
395, 386, 396, 386, 386, 386, 397, 397, 397, 397,
397, 397, 397, 397, 397, 397, 397, 397, 398, 398,
398, 398, 398, 398, 398, 398, 398, 398, 398, 398,
398, 398, 398, 398, 398, 398, 398, 398, 398, 398,
398, 398, 398, 398, 398, 398, 398, 398, 398, 398,
398, 398, 399, 399, 399, 399, 399, 399, 399, 399,
399, 399, 399, 399, 399, 399, 399, 399, 399, 399,
399, 399, 399, 399, 399, 399, 399, 399, 399, 399,
399, 399, 400, 400, 400, 400, 400, 400, 400, 400,
400, 401, 401, 402, 402, 402, 403, 402, 402, 404,
404, 405, 405, 405, 405, 405, 405, 405, 405, 405,
405, 406, 406, 407, 407, 407, 407, 408, 408, 408,
409, 409, 410, 410, 411, 411, 412, 412, 413, 413,
413, 415, 414, 416, 416, 418, 417, 419, 417, 421,
420, 422, 420, 423, 420, 425, 424, 426, 426, 427,
427, 428, 428, 429, 429, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 431, 432, 432, 433, 434, 434, 434
};
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
static const unsigned char yyr2[] =
{
0, 2, 1, 0, 0, 4, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 2, 2, 2, 2, 2, 2,
5, 4, 5, 4, 0, 6, 5, 1, 2, 4,
3, 5, 4, 5, 0, 5, 0, 7, 4, 0,
5, 2, 1, 1, 1, 3, 4, 2, 1, 1,
0, 1, 0, 0, 4, 3, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 1, 2, 2, 2, 2, 2,
2, 3, 2, 3, 1, 4, 2, 4, 4, 0,
1, 0, 1, 1, 1, 1, 5, 3, 6, 4,
5, 0, 5, 4, 3, 1, 2, 2, 0, 0,
3, 1, 3, 0, 1, 0, 4, 6, 2, 1,
5, 6, 3, 4, 5, 3, 1, 2, 5, 5,
6, 5, 6, 2, 0, 3, 2, 1, 1, 0,
0, 8, 1, 3, 1, 2, 2, 2, 3, 3,
4, 0, 8, 3, 0, 5, 1, 0, 4, 0,
0, 5, 0, 0, 5, 0, 0, 6, 0, 1,
1, 1, 0, 1, 0,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, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
};
/* YYCONFLP[YYPACT[STATE-NUM]] -- Pointer into YYCONFL of start of
list of conflicting reductions corresponding to action entry for
state STATE-NUM in yytable. 0 means no conflicts. The list in
yyconfl is terminated by a rule number of 0. */
static const unsigned short int yyconflp[] =
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0, 259, 0, 263, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 261, 0,
0, 0, 0, 7, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 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0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
11, 13, 15, 17, 19, 21, 23, 25, 27, 29,
31, 33, 35, 37, 39, 41, 43, 45, 47, 49,
51, 53, 55, 57, 59, 61, 63, 65, 67, 69,
0, 71, 73, 75, 77, 79, 81, 0, 83, 85,
87, 89, 0, 0, 91, 93, 95, 97, 99, 101,
103, 105, 107, 109, 111, 113, 115, 117, 119, 121,
123, 125, 127, 129, 131, 133, 135, 137, 139, 141,
143, 145, 147, 149, 151, 153, 155, 157, 159, 161,
0, 163, 0, 165, 167, 169, 171, 173, 175, 177,
179, 181, 183, 185, 187, 189, 191, 193, 195, 197,
199, 201, 203, 205, 207, 209, 211, 213, 215, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 217, 0, 0, 219, 221, 223, 0,
225, 227, 229, 0, 231, 233, 235, 237, 239, 241,
243, 245, 247, 249, 251, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
};
/* YYCONFL[I] -- lists of conflicting rule numbers, each terminated by
0, pointed into by YYCONFLP. */
static const short int yyconfl[] =
{
0, 419, 0, 419, 0, 419, 0, 319, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 671, 0, 671, 0, 671, 0, 671,
0, 671, 0, 302, 0, 302, 0, 302, 0, 419,
0, 312, 0, 419, 0
};
/* Error token number */
#define YYTERROR 1
YYSTYPE yylval;
int yynerrs;
int yychar;
static const int YYEOF = 0;
static const int YYEMPTY = -2;
typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
#define YYCHK(YYE) \
do { \
YYRESULTTAG yychk_flag = YYE; \
if (yychk_flag != yyok) \
return yychk_flag; \
} while (0)
#if YYDEBUG
# ifndef YYFPRINTF
# define YYFPRINTF fprintf
# endif
/* This macro is provided for backward compatibility. */
#ifndef YY_LOCATION_PRINT
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif
# define YYDPRINTF(Args) \
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (0)
/*----------------------------------------.
| Print this symbol's value on YYOUTPUT. |
`----------------------------------------*/
static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
{
FILE *yyo = yyoutput;
YYUSE (yyo);
if (!yyvaluep)
return;
YYUSE (yytype);
}
/*--------------------------------.
| Print this symbol on YYOUTPUT. |
`--------------------------------*/
static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
{
YYFPRINTF (yyoutput, "%s %s (",
yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
yy_symbol_value_print (yyoutput, yytype, yyvaluep);
YYFPRINTF (yyoutput, ")");
}
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (0)
/* Nonzero means print parse trace. It is left uninitialized so that
multiple parsers can coexist. */
int yydebug;
struct yyGLRStack;
static void yypstack (struct yyGLRStack* yystackp, size_t yyk)
YY_ATTRIBUTE_UNUSED;
static void yypdumpstack (struct yyGLRStack* yystackp)
YY_ATTRIBUTE_UNUSED;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#endif /* !YYDEBUG */
/* YYINITDEPTH -- initial size of the parser's stacks. */
#ifndef YYINITDEPTH
# define YYINITDEPTH 200
#endif
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
if the built-in stack extension method is used).
Do not make this value too large; the results are undefined if
SIZE_MAX < YYMAXDEPTH * sizeof (GLRStackItem)
evaluated with infinite-precision integer arithmetic. */
#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
#endif
/* Minimum number of free items on the stack allowed after an
allocation. This is to allow allocation and initialization
to be completed by functions that call yyexpandGLRStack before the
stack is expanded, thus insuring that all necessary pointers get
properly redirected to new data. */
#define YYHEADROOM 2
#ifndef YYSTACKEXPANDABLE
# define YYSTACKEXPANDABLE 1
#endif
#if YYSTACKEXPANDABLE
# define YY_RESERVE_GLRSTACK(Yystack) \
do { \
if (Yystack->yyspaceLeft < YYHEADROOM) \
yyexpandGLRStack (Yystack); \
} while (0)
#else
# define YY_RESERVE_GLRSTACK(Yystack) \
do { \
if (Yystack->yyspaceLeft < YYHEADROOM) \
yyMemoryExhausted (Yystack); \
} while (0)
#endif
#if YYERROR_VERBOSE
# ifndef yystpcpy
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
# define yystpcpy stpcpy
# else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
YYDEST. */
static char *
yystpcpy (char *yydest, const char *yysrc)
{
char *yyd = yydest;
const char *yys = yysrc;
while ((*yyd++ = *yys++) != '\0')
continue;
return yyd - 1;
}
# endif
# endif
# ifndef yytnamerr
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
quotes and backslashes, so that it's suitable for yyerror. The
heuristic is that double-quoting is unnecessary unless the string
contains an apostrophe, a comma, or backslash (other than
backslash-backslash). YYSTR is taken from yytname. If YYRES is
null, do not copy; instead, return the length of what the result
would have been. */
static size_t
yytnamerr (char *yyres, const char *yystr)
{
if (*yystr == '"')
{
size_t yyn = 0;
char const *yyp = yystr;
for (;;)
switch (*++yyp)
{
case '\'':
case ',':
goto do_not_strip_quotes;
case '\\':
if (*++yyp != '\\')
goto do_not_strip_quotes;
/* Fall through. */
default:
if (yyres)
yyres[yyn] = *yyp;
yyn++;
break;
case '"':
if (yyres)
yyres[yyn] = '\0';
return yyn;
}
do_not_strip_quotes: ;
}
if (! yyres)
return strlen (yystr);
return yystpcpy (yyres, yystr) - yyres;
}
# endif
#endif /* !YYERROR_VERBOSE */
/** State numbers, as in LALR(1) machine */
typedef int yyStateNum;
/** Rule numbers, as in LALR(1) machine */
typedef int yyRuleNum;
/** Grammar symbol */
typedef int yySymbol;
/** Item references, as in LALR(1) machine */
typedef short int yyItemNum;
typedef struct yyGLRState yyGLRState;
typedef struct yyGLRStateSet yyGLRStateSet;
typedef struct yySemanticOption yySemanticOption;
typedef union yyGLRStackItem yyGLRStackItem;
typedef struct yyGLRStack yyGLRStack;
struct yyGLRState {
/** Type tag: always true. */
yybool yyisState;
/** Type tag for yysemantics. If true, yysval applies, otherwise
* yyfirstVal applies. */
yybool yyresolved;
/** Number of corresponding LALR(1) machine state. */
yyStateNum yylrState;
/** Preceding state in this stack */
yyGLRState* yypred;
/** Source position of the last token produced by my symbol */
size_t yyposn;
union {
/** First in a chain of alternative reductions producing the
* non-terminal corresponding to this state, threaded through
* yynext. */
yySemanticOption* yyfirstVal;
/** Semantic value for this state. */
YYSTYPE yysval;
} yysemantics;
};
struct yyGLRStateSet {
yyGLRState** yystates;
/** During nondeterministic operation, yylookaheadNeeds tracks which
* stacks have actually needed the current lookahead. During deterministic
* operation, yylookaheadNeeds[0] is not maintained since it would merely
* duplicate yychar != YYEMPTY. */
yybool* yylookaheadNeeds;
size_t yysize, yycapacity;
};
struct yySemanticOption {
/** Type tag: always false. */
yybool yyisState;
/** Rule number for this reduction */
yyRuleNum yyrule;
/** The last RHS state in the list of states to be reduced. */
yyGLRState* yystate;
/** The lookahead for this reduction. */
int yyrawchar;
YYSTYPE yyval;
/** Next sibling in chain of options. To facilitate merging,
* options are chained in decreasing order by address. */
yySemanticOption* yynext;
};
/** Type of the items in the GLR stack. The yyisState field
* indicates which item of the union is valid. */
union yyGLRStackItem {
yyGLRState yystate;
yySemanticOption yyoption;
};
struct yyGLRStack {
int yyerrState;
YYJMP_BUF yyexception_buffer;
yyGLRStackItem* yyitems;
yyGLRStackItem* yynextFree;
size_t yyspaceLeft;
yyGLRState* yysplitPoint;
yyGLRState* yylastDeleted;
yyGLRStateSet yytops;
};
#if YYSTACKEXPANDABLE
static void yyexpandGLRStack (yyGLRStack* yystackp);
#endif
static _Noreturn void
yyFail (yyGLRStack* yystackp, const char* yymsg)
{
if (yymsg != YY_NULLPTR)
yyerror (yymsg);
YYLONGJMP (yystackp->yyexception_buffer, 1);
}
static _Noreturn void
yyMemoryExhausted (yyGLRStack* yystackp)
{
YYLONGJMP (yystackp->yyexception_buffer, 2);
}
#if YYDEBUG || YYERROR_VERBOSE
/** A printable representation of TOKEN. */
static const char*
yytokenName (yySymbol yytoken)
{
if (yytoken == YYEMPTY)
return "";
return yytname[yytoken];
}
#endif
/** Fill in YYVSP[YYLOW1 .. YYLOW0-1] from the chain of states starting
* at YYVSP[YYLOW0].yystate.yypred. Leaves YYVSP[YYLOW1].yystate.yypred
* containing the pointer to the next state in the chain. */
static void yyfillin (yyGLRStackItem *, int, int);
static void
yyfillin (yyGLRStackItem *yyvsp, int yylow0, int yylow1)
{
int i;
yyGLRState *s = yyvsp[yylow0].yystate.yypred;
for (i = yylow0-1; i >= yylow1; i -= 1)
{
#if YYDEBUG
yyvsp[i].yystate.yylrState = s->yylrState;
#endif
yyvsp[i].yystate.yyresolved = s->yyresolved;
if (s->yyresolved)
yyvsp[i].yystate.yysemantics.yysval = s->yysemantics.yysval;
else
/* The effect of using yysval or yyloc (in an immediate rule) is
* undefined. */
yyvsp[i].yystate.yysemantics.yyfirstVal = YY_NULLPTR;
s = yyvsp[i].yystate.yypred = s->yypred;
}
}
/* Do nothing if YYNORMAL or if *YYLOW <= YYLOW1. Otherwise, fill in
* YYVSP[YYLOW1 .. *YYLOW-1] as in yyfillin and set *YYLOW = YYLOW1.
* For convenience, always return YYLOW1. */
static int yyfill (yyGLRStackItem *, int *, int, yybool);
static int
yyfill (yyGLRStackItem *yyvsp, int *yylow, int yylow1, yybool yynormal)
{
if (!yynormal && yylow1 < *yylow)
{
yyfillin (yyvsp, *yylow, yylow1);
*yylow = yylow1;
}
return yylow1;
}
/** Perform user action for rule number YYN, with RHS length YYRHSLEN,
* and top stack item YYVSP. YYLVALP points to place to put semantic
* value ($$), and yylocp points to place for location information
* (@$). Returns yyok for normal return, yyaccept for YYACCEPT,
* yyerr for YYERROR, yyabort for YYABORT. */
static YYRESULTTAG
yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp,
yyGLRStack* yystackp,
YYSTYPE* yyvalp)
{
yybool yynormal = (yystackp->yysplitPoint == YY_NULLPTR);
int yylow;
YYUSE (yyvalp);
YYUSE (yyrhslen);
# undef yyerrok
# define yyerrok (yystackp->yyerrState = 0)
# undef YYACCEPT
# define YYACCEPT return yyaccept
# undef YYABORT
# define YYABORT return yyabort
# undef YYERROR
# define YYERROR return yyerrok, yyerr
# undef YYRECOVERING
# define YYRECOVERING() (yystackp->yyerrState != 0)
# undef yyclearin
# define yyclearin (yychar = YYEMPTY)
# undef YYFILL
# define YYFILL(N) yyfill (yyvsp, &yylow, N, yynormal)
# undef YYBACKUP
# define YYBACKUP(Token, Value) \
return yyerror (YY_("syntax error: cannot back up")), \
yyerrok, yyerr
yylow = 1;
if (yyrhslen == 0)
*yyvalp = yyval_default;
else
*yyvalp = yyvsp[YYFILL (1-(int)yyrhslen)].yystate.yysemantics.yysval;
switch (yyn)
{
case 4:
{
startSig();
clearType();
clearTypeId();
clearTemplate();
closeComment();
}
break;
case 34:
{ pushNamespace((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 35:
{ popNamespace(); }
break;
case 44:
{ pushType(); }
break;
case 45:
{
const char *name = (currentClass ? currentClass->Name : NULL);
popType();
clearTypeId();
if (name)
{
setTypeId(name);
setTypeBase(guess_id_type(name));
}
end_class();
}
break;
case 46:
{
start_class((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.integer));
currentClass->IsFinal = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer);
}
break;
case 48:
{
start_class((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.integer));
currentClass->IsFinal = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer);
}
break;
case 49:
{
start_class(NULL, (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer));
}
break;
case 51:
{
start_class(NULL, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer));
}
break;
case 52:
{ ((*yyvalp).integer) = 0; }
break;
case 53:
{ ((*yyvalp).integer) = 1; }
break;
case 54:
{ ((*yyvalp).integer) = 2; }
break;
case 55:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 56:
{ ((*yyvalp).str) = vtkstrcat3("::", (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 60:
{ ((*yyvalp).integer) = 0; }
break;
case 61:
{ ((*yyvalp).integer) = (strcmp((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str), "final") == 0); }
break;
case 63:
{
startSig();
clearType();
clearTypeId();
clearTemplate();
closeComment();
}
break;
case 66:
{ access_level = VTK_ACCESS_PUBLIC; }
break;
case 67:
{ access_level = VTK_ACCESS_PRIVATE; }
break;
case 68:
{ access_level = VTK_ACCESS_PROTECTED; }
break;
case 93:
{ output_friend_function(); }
break;
case 96:
{ add_base_class(currentClass, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), access_level, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 97:
{ add_base_class(currentClass, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer),
(VTK_PARSE_VIRTUAL | (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer))); }
break;
case 98:
{ add_base_class(currentClass, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.integer),
((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer) | (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer))); }
break;
case 99:
{ ((*yyvalp).integer) = 0; }
break;
case 100:
{ ((*yyvalp).integer) = VTK_PARSE_VIRTUAL; }
break;
case 101:
{ ((*yyvalp).integer) = access_level; }
break;
case 103:
{ ((*yyvalp).integer) = VTK_ACCESS_PUBLIC; }
break;
case 104:
{ ((*yyvalp).integer) = VTK_ACCESS_PRIVATE; }
break;
case 105:
{ ((*yyvalp).integer) = VTK_ACCESS_PROTECTED; }
break;
case 111:
{ pushType(); }
break;
case 112:
{
popType();
clearTypeId();
if ((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str) != NULL)
{
setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str));
setTypeBase(guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str)));
}
end_enum();
}
break;
case 113:
{
start_enum((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), getTypeId());
clearTypeId();
((*yyvalp).str) = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str);
}
break;
case 114:
{
start_enum(NULL, (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), getTypeId());
clearTypeId();
((*yyvalp).str) = NULL;
}
break;
case 115:
{ ((*yyvalp).integer) = 0; }
break;
case 116:
{ ((*yyvalp).integer) = 1; }
break;
case 117:
{ ((*yyvalp).integer) = 1; }
break;
case 118:
{ ((*yyvalp).integer) = 0; }
break;
case 119:
{ pushType(); }
break;
case 120:
{ ((*yyvalp).integer) = getType(); popType(); }
break;
case 124:
{ closeComment(); add_enum((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str), NULL); }
break;
case 125:
{ postSig("="); markSig(); closeComment(); }
break;
case 126:
{ chopSig(); add_enum((((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.str), copySig()); }
break;
case 149:
{ pushFunction(); postSig("("); }
break;
case 150:
{ postSig(")"); }
break;
case 151:
{ ((*yyvalp).integer) = (VTK_PARSE_FUNCTION | (((yyGLRStackItem const *)yyvsp)[YYFILL (-7)].yystate.yysemantics.yysval.integer)); popFunction(); }
break;
case 152:
{
ValueInfo *item = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(item);
item->ItemType = VTK_TYPEDEF_INFO;
item->Access = access_level;
handle_complex_type(item, getType(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), getSig());
if (currentTemplate)
{
item->Template = currentTemplate;
currentTemplate = NULL;
}
if (getVarName())
{
item->Name = getVarName();
item->Comment = vtkstrdup(getComment());
}
if (item->Class == NULL)
{
vtkParse_FreeValue(item);
}
else if (currentClass)
{
vtkParse_AddTypedefToClass(currentClass, item);
}
else
{
vtkParse_AddTypedefToNamespace(currentNamespace, item);
}
}
break;
case 153:
{ add_using((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), 0); }
break;
case 155:
{ ((*yyvalp).str) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str); }
break;
case 156:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 157:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 158:
{ ((*yyvalp).str) = vtkstrcat3((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 159:
{ ((*yyvalp).str) = vtkstrcat3((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 160:
{ add_using((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), 1); }
break;
case 161:
{ markSig(); }
break;
case 162:
{
ValueInfo *item = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(item);
item->ItemType = VTK_TYPEDEF_INFO;
item->Access = access_level;
handle_complex_type(item, getType(), (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer), copySig());
item->Name = (((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval.str);
item->Comment = vtkstrdup(getComment());
if (currentTemplate)
{
vtkParse_FreeValue(item);
}
else if (currentClass)
{
vtkParse_AddTypedefToClass(currentClass, item);
}
else
{
vtkParse_AddTypedefToNamespace(currentNamespace, item);
}
}
break;
case 163:
{ postSig("template<> "); clearTypeId(); }
break;
case 164:
{
postSig("template<");
pushType();
clearType();
clearTypeId();
startTemplate();
}
break;
case 165:
{
chopSig();
if (getSig()[getSigLength()-1] == '>') { postSig(" "); }
postSig("> ");
clearTypeId();
popType();
}
break;
case 167:
{ chopSig(); postSig(", "); clearType(); clearTypeId(); }
break;
case 169:
{ markSig(); }
break;
case 170:
{ add_template_parameter(getType(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), copySig()); }
break;
case 172:
{ markSig(); }
break;
case 173:
{ add_template_parameter(0, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), copySig()); }
break;
case 175:
{ pushTemplate(); markSig(); }
break;
case 176:
{
int i;
TemplateInfo *newTemplate = currentTemplate;
popTemplate();
add_template_parameter(0, (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), copySig());
i = currentTemplate->NumberOfParameters-1;
currentTemplate->Parameters[i]->Template = newTemplate;
}
break;
case 178:
{ ((*yyvalp).integer) = 0; }
break;
case 179:
{ postSig("..."); ((*yyvalp).integer) = VTK_PARSE_PACK; }
break;
case 180:
{ postSig("class "); }
break;
case 181:
{ postSig("typename "); }
break;
case 184:
{ postSig("="); markSig(); }
break;
case 185:
{
int i = currentTemplate->NumberOfParameters-1;
ValueInfo *param = currentTemplate->Parameters[i];
chopSig();
param->Value = copySig();
}
break;
case 188:
{ output_function(); }
break;
case 189:
{ output_function(); }
break;
case 190:
{ reject_function(); }
break;
case 191:
{ reject_function(); }
break;
case 199:
{ output_function(); }
break;
case 209:
{
postSig("(");
currentFunction->IsExplicit = ((getType() & VTK_PARSE_EXPLICIT) != 0);
set_return(currentFunction, getType(), getTypeId(), 0);
}
break;
case 210:
{ postSig(")"); }
break;
case 211:
{
postSig(";");
closeSig();
currentFunction->IsOperator = 1;
currentFunction->Name = "operator typecast";
currentFunction->Comment = vtkstrdup(getComment());
vtkParseDebug("Parsed operator", "operator typecast");
}
break;
case 212:
{ ((*yyvalp).str) = copySig(); }
break;
case 213:
{
postSig(";");
closeSig();
currentFunction->Name = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str);
currentFunction->Comment = vtkstrdup(getComment());
vtkParseDebug("Parsed operator", currentFunction->Name);
}
break;
case 214:
{
postSig("(");
currentFunction->IsOperator = 1;
set_return(currentFunction, getType(), getTypeId(), 0);
}
break;
case 215:
{ postSig(")"); }
break;
case 216:
{ chopSig(); ((*yyvalp).str) = vtkstrcat(copySig(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 217:
{ markSig(); postSig("operator "); }
break;
case 218:
{
postSig(";");
closeSig();
currentFunction->Name = (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str);
currentFunction->Comment = vtkstrdup(getComment());
vtkParseDebug("Parsed func", currentFunction->Name);
}
break;
case 222:
{ postSig(" const"); currentFunction->IsConst = 1; }
break;
case 223:
{ postSig(" volatile"); }
break;
case 225:
{ chopSig(); }
break;
case 227:
{ postSig(" noexcept"); }
break;
case 228:
{ postSig(" throw"); }
break;
case 230:
{ postSig("&"); }
break;
case 231:
{ postSig("&&"); }
break;
case 234:
{
postSig(" "); postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str));
if (strcmp((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str), "final") == 0) { currentFunction->IsFinal = 1; }
}
break;
case 236:
{ currentFunction->IsDeleted = 1; }
break;
case 238:
{
postSig(" = 0");
currentFunction->IsPureVirtual = 1;
if (currentClass) { currentClass->IsAbstract = 1; }
}
break;
case 241:
{ postSig(" -> "); clearType(); clearTypeId(); }
break;
case 242:
{
chopSig();
set_return(currentFunction, getType(), getTypeId(), 0);
}
break;
case 249:
{
postSig("(");
set_return(currentFunction, getType(), getTypeId(), 0);
}
break;
case 250:
{ postSig(")"); }
break;
case 251:
{ closeSig(); }
break;
case 252:
{ openSig(); }
break;
case 253:
{
postSig(";");
closeSig();
if (getType() & VTK_PARSE_VIRTUAL)
{
currentFunction->IsVirtual = 1;
}
if (getType() & VTK_PARSE_EXPLICIT)
{
currentFunction->IsExplicit = 1;
}
currentFunction->Name = (((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str);
currentFunction->Comment = vtkstrdup(getComment());
vtkParseDebug("Parsed func", currentFunction->Name);
}
break;
case 254:
{ pushType(); postSig("("); }
break;
case 255:
{ postSig(")"); popType(); }
break;
case 262:
{ clearType(); clearTypeId(); }
break;
case 264:
{ clearType(); clearTypeId(); }
break;
case 265:
{ clearType(); clearTypeId(); postSig(", "); }
break;
case 267:
{ currentFunction->IsVariadic = 1; postSig(", ..."); }
break;
case 268:
{ currentFunction->IsVariadic = 1; postSig("..."); }
break;
case 269:
{ markSig(); }
break;
case 270:
{
ValueInfo *param = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(param);
handle_complex_type(param, getType(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer), copySig());
add_legacy_parameter(currentFunction, param);
if (getVarName())
{
param->Name = getVarName();
}
vtkParse_AddParameterToFunction(currentFunction, param);
}
break;
case 271:
{
int i = currentFunction->NumberOfParameters-1;
if (getVarValue())
{
currentFunction->Parameters[i]->Value = getVarValue();
}
}
break;
case 272:
{ clearVarValue(); }
break;
case 274:
{ postSig("="); clearVarValue(); markSig(); }
break;
case 275:
{ chopSig(); setVarValue(copySig()); }
break;
case 276:
{ clearVarValue(); markSig(); }
break;
case 277:
{ chopSig(); setVarValue(copySig()); }
break;
case 278:
{ clearVarValue(); markSig(); postSig("("); }
break;
case 279:
{ chopSig(); postSig(")"); setVarValue(copySig()); }
break;
case 280:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 281:
{ postSig(", "); }
break;
case 284:
{
unsigned int type = getType();
ValueInfo *var = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(var);
var->ItemType = VTK_VARIABLE_INFO;
var->Access = access_level;
handle_complex_type(var, type, (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer), getSig());
if (currentTemplate)
{
var->Template = currentTemplate;
currentTemplate = NULL;
}
var->Name = getVarName();
var->Comment = vtkstrdup(getComment());
if (getVarValue())
{
var->Value = getVarValue();
}
/* Is this a typedef? */
if ((type & VTK_PARSE_TYPEDEF) != 0)
{
var->ItemType = VTK_TYPEDEF_INFO;
if (var->Class == NULL)
{
vtkParse_FreeValue(var);
}
else if (currentClass)
{
vtkParse_AddTypedefToClass(currentClass, var);
}
else
{
vtkParse_AddTypedefToNamespace(currentNamespace, var);
}
}
/* Is this a constant? */
else if (((type & VTK_PARSE_CONST) != 0) && var->Value != NULL &&
(((type & VTK_PARSE_INDIRECT) == 0) ||
((type & VTK_PARSE_INDIRECT) == VTK_PARSE_ARRAY)))
{
var->ItemType = VTK_CONSTANT_INFO;
if (currentClass)
{
vtkParse_AddConstantToClass(currentClass, var);
}
else
{
vtkParse_AddConstantToNamespace(currentNamespace, var);
}
}
/* This is a true variable i.e. not constant */
else
{
if (currentClass)
{
vtkParse_AddVariableToClass(currentClass, var);
}
else
{
vtkParse_AddVariableToNamespace(currentNamespace, var);
}
}
}
break;
case 288:
{ postSig(", "); }
break;
case 291:
{ setTypePtr(0); }
break;
case 292:
{ setTypePtr((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 293:
{
if ((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) == VTK_PARSE_FUNCTION)
{
((*yyvalp).integer) = (VTK_PARSE_FUNCTION_PTR | (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer));
}
else
{
((*yyvalp).integer) = (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer);
}
}
break;
case 294:
{ postSig(")"); }
break;
case 295:
{
const char *scope = getScope();
unsigned int parens = add_indirection((((yyGLRStackItem const *)yyvsp)[YYFILL (-5)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.integer));
if ((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) == VTK_PARSE_FUNCTION)
{
if (scope) { scope = vtkstrndup(scope, strlen(scope) - 2); }
getFunction()->Class = scope;
((*yyvalp).integer) = (parens | VTK_PARSE_FUNCTION);
}
else if ((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) == VTK_PARSE_ARRAY)
{
((*yyvalp).integer) = add_indirection_to_array(parens);
}
}
break;
case 296:
{ ((*yyvalp).integer) = (((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.integer); }
break;
case 297:
{ postSig(")"); }
break;
case 298:
{
const char *scope = getScope();
unsigned int parens = add_indirection((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.integer));
if ((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) == VTK_PARSE_FUNCTION)
{
if (scope) { scope = vtkstrndup(scope, strlen(scope) - 2); }
getFunction()->Class = scope;
((*yyvalp).integer) = (parens | VTK_PARSE_FUNCTION);
}
else if ((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) == VTK_PARSE_ARRAY)
{
((*yyvalp).integer) = add_indirection_to_array(parens);
}
}
break;
case 299:
{ postSig("("); scopeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig("*"); }
break;
case 300:
{ ((*yyvalp).integer) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer); }
break;
case 301:
{ postSig("("); scopeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig("&");
((*yyvalp).integer) = VTK_PARSE_REF; }
break;
case 302:
{ ((*yyvalp).integer) = 0; }
break;
case 303:
{ pushFunction(); postSig("("); }
break;
case 304:
{ postSig(")"); }
break;
case 305:
{
((*yyvalp).integer) = VTK_PARSE_FUNCTION;
popFunction();
}
break;
case 306:
{ ((*yyvalp).integer) = VTK_PARSE_ARRAY; }
break;
case 309:
{ currentFunction->IsConst = 1; }
break;
case 314:
{ ((*yyvalp).integer) = add_indirection((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 316:
{ ((*yyvalp).integer) = add_indirection((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 317:
{ clearVarName(); chopSig(); }
break;
case 319:
{ setVarName((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 320:
{ setVarName((((yyGLRStackItem const *)yyvsp)[YYFILL (-3)].yystate.yysemantics.yysval.str)); }
break;
case 325:
{ clearArray(); }
break;
case 327:
{ clearArray(); }
break;
case 331:
{ postSig("["); }
break;
case 332:
{ postSig("]"); }
break;
case 333:
{ pushArraySize(""); }
break;
case 334:
{ markSig(); }
break;
case 335:
{ chopSig(); pushArraySize(copySig()); }
break;
case 341:
{ ((*yyvalp).str) = vtkstrcat("~", (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 342:
{ ((*yyvalp).str) = vtkstrcat("~", (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 343:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 344:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 345:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 346:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 347:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 348:
{ ((*yyvalp).str) = vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 349:
{ ((*yyvalp).str) = vtkstrcat3((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 350:
{ ((*yyvalp).str) = vtkstrcat3((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 351:
{ ((*yyvalp).str) = vtkstrcat3((((yyGLRStackItem const *)yyvsp)[YYFILL (-2)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 352:
{ postSig("template "); }
break;
case 353:
{ ((*yyvalp).str) = vtkstrcat4((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), "template ", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 354:
{ postSig("~"); }
break;
case 355:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 356:
{ ((*yyvalp).str) = "::"; postSig(((*yyvalp).str)); }
break;
case 357:
{ markSig(); postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); postSig("<"); }
break;
case 358:
{
chopSig(); if (getSig()[getSigLength()-1] == '>') { postSig(" "); }
postSig(">"); ((*yyvalp).str) = copySig(); clearTypeId();
}
break;
case 359:
{ markSig(); postSig("decltype"); }
break;
case 360:
{ chopSig(); ((*yyvalp).str) = copySig(); clearTypeId(); }
break;
case 361:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 362:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 363:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 364:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 365:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 366:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 367:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 368:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 369:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 370:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 371:
{ ((*yyvalp).str) = "vtkTypeInt8"; postSig(((*yyvalp).str)); }
break;
case 372:
{ ((*yyvalp).str) = "vtkTypeUInt8"; postSig(((*yyvalp).str)); }
break;
case 373:
{ ((*yyvalp).str) = "vtkTypeInt16"; postSig(((*yyvalp).str)); }
break;
case 374:
{ ((*yyvalp).str) = "vtkTypeUInt16"; postSig(((*yyvalp).str)); }
break;
case 375:
{ ((*yyvalp).str) = "vtkTypeInt32"; postSig(((*yyvalp).str)); }
break;
case 376:
{ ((*yyvalp).str) = "vtkTypeUInt32"; postSig(((*yyvalp).str)); }
break;
case 377:
{ ((*yyvalp).str) = "vtkTypeInt64"; postSig(((*yyvalp).str)); }
break;
case 378:
{ ((*yyvalp).str) = "vtkTypeUInt64"; postSig(((*yyvalp).str)); }
break;
case 379:
{ ((*yyvalp).str) = "vtkTypeFloat32"; postSig(((*yyvalp).str)); }
break;
case 380:
{ ((*yyvalp).str) = "vtkTypeFloat64"; postSig(((*yyvalp).str)); }
break;
case 381:
{ ((*yyvalp).str) = "vtkIdType"; postSig(((*yyvalp).str)); }
break;
case 392:
{ setTypeBase(buildTypeBase(getType(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer))); }
break;
case 393:
{ setTypeMod(VTK_PARSE_TYPEDEF); }
break;
case 394:
{ setTypeMod(VTK_PARSE_FRIEND); }
break;
case 397:
{ setTypeMod((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 398:
{ setTypeMod((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 399:
{ setTypeMod((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 400:
{ postSig("constexpr "); ((*yyvalp).integer) = 0; }
break;
case 401:
{ postSig("mutable "); ((*yyvalp).integer) = VTK_PARSE_MUTABLE; }
break;
case 402:
{ ((*yyvalp).integer) = 0; }
break;
case 403:
{ ((*yyvalp).integer) = 0; }
break;
case 404:
{ postSig("static "); ((*yyvalp).integer) = VTK_PARSE_STATIC; }
break;
case 405:
{ postSig("thread_local "); ((*yyvalp).integer) = VTK_PARSE_THREAD_LOCAL; }
break;
case 406:
{ ((*yyvalp).integer) = 0; }
break;
case 407:
{ postSig("virtual "); ((*yyvalp).integer) = VTK_PARSE_VIRTUAL; }
break;
case 408:
{ postSig("explicit "); ((*yyvalp).integer) = VTK_PARSE_EXPLICIT; }
break;
case 409:
{ postSig("const "); ((*yyvalp).integer) = VTK_PARSE_CONST; }
break;
case 410:
{ postSig("volatile "); ((*yyvalp).integer) = VTK_PARSE_VOLATILE; }
break;
case 412:
{ ((*yyvalp).integer) = ((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer) | (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 414:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 416:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 419:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 420:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 422:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = 0; }
break;
case 423:
{ postSig("typename "); }
break;
case 424:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 425:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 426:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str)); }
break;
case 428:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 430:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 433:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 435:
{ setTypeBase((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 438:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = 0; }
break;
case 439:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 440:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 441:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 442:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 443:
{ postSig(" "); setTypeId((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = guess_id_type((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 444:
{ setTypeId(""); }
break;
case 446:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_STRING; }
break;
case 447:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_UNICODE_STRING;}
break;
case 448:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_OSTREAM; }
break;
case 449:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_ISTREAM; }
break;
case 450:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_UNKNOWN; }
break;
case 451:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_OBJECT; }
break;
case 452:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_QOBJECT; }
break;
case 453:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_NULLPTR_T; }
break;
case 454:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_SSIZE_T; }
break;
case 455:
{ typeSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); ((*yyvalp).integer) = VTK_PARSE_SIZE_T; }
break;
case 456:
{ typeSig("vtkTypeInt8"); ((*yyvalp).integer) = VTK_PARSE_INT8; }
break;
case 457:
{ typeSig("vtkTypeUInt8"); ((*yyvalp).integer) = VTK_PARSE_UINT8; }
break;
case 458:
{ typeSig("vtkTypeInt16"); ((*yyvalp).integer) = VTK_PARSE_INT16; }
break;
case 459:
{ typeSig("vtkTypeUInt16"); ((*yyvalp).integer) = VTK_PARSE_UINT16; }
break;
case 460:
{ typeSig("vtkTypeInt32"); ((*yyvalp).integer) = VTK_PARSE_INT32; }
break;
case 461:
{ typeSig("vtkTypeUInt32"); ((*yyvalp).integer) = VTK_PARSE_UINT32; }
break;
case 462:
{ typeSig("vtkTypeInt64"); ((*yyvalp).integer) = VTK_PARSE_INT64; }
break;
case 463:
{ typeSig("vtkTypeUInt64"); ((*yyvalp).integer) = VTK_PARSE_UINT64; }
break;
case 464:
{ typeSig("vtkTypeFloat32"); ((*yyvalp).integer) = VTK_PARSE_FLOAT32; }
break;
case 465:
{ typeSig("vtkTypeFloat64"); ((*yyvalp).integer) = VTK_PARSE_FLOAT64; }
break;
case 466:
{ typeSig("vtkIdType"); ((*yyvalp).integer) = VTK_PARSE_ID_TYPE; }
break;
case 467:
{ postSig("auto "); ((*yyvalp).integer) = 0; }
break;
case 468:
{ postSig("void "); ((*yyvalp).integer) = VTK_PARSE_VOID; }
break;
case 469:
{ postSig("bool "); ((*yyvalp).integer) = VTK_PARSE_BOOL; }
break;
case 470:
{ postSig("float "); ((*yyvalp).integer) = VTK_PARSE_FLOAT; }
break;
case 471:
{ postSig("double "); ((*yyvalp).integer) = VTK_PARSE_DOUBLE; }
break;
case 472:
{ postSig("char "); ((*yyvalp).integer) = VTK_PARSE_CHAR; }
break;
case 473:
{ postSig("char16_t "); ((*yyvalp).integer) = VTK_PARSE_CHAR16_T; }
break;
case 474:
{ postSig("char32_t "); ((*yyvalp).integer) = VTK_PARSE_CHAR32_T; }
break;
case 475:
{ postSig("wchar_t "); ((*yyvalp).integer) = VTK_PARSE_WCHAR_T; }
break;
case 476:
{ postSig("int "); ((*yyvalp).integer) = VTK_PARSE_INT; }
break;
case 477:
{ postSig("short "); ((*yyvalp).integer) = VTK_PARSE_SHORT; }
break;
case 478:
{ postSig("long "); ((*yyvalp).integer) = VTK_PARSE_LONG; }
break;
case 479:
{ postSig("__int64 "); ((*yyvalp).integer) = VTK_PARSE___INT64; }
break;
case 480:
{ postSig("signed "); ((*yyvalp).integer) = VTK_PARSE_INT; }
break;
case 481:
{ postSig("unsigned "); ((*yyvalp).integer) = VTK_PARSE_UNSIGNED_INT; }
break;
case 485:
{ ((*yyvalp).integer) = ((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer) | (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 486:
{ postSig("&"); ((*yyvalp).integer) = VTK_PARSE_REF; }
break;
case 487:
{ postSig("&&"); ((*yyvalp).integer) = (VTK_PARSE_RVALUE | VTK_PARSE_REF); }
break;
case 488:
{ postSig("*"); }
break;
case 489:
{ ((*yyvalp).integer) = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer); }
break;
case 490:
{ ((*yyvalp).integer) = VTK_PARSE_POINTER; }
break;
case 491:
{
if (((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) & VTK_PARSE_CONST) != 0)
{
((*yyvalp).integer) = VTK_PARSE_CONST_POINTER;
}
if (((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer) & VTK_PARSE_VOLATILE) != 0)
{
((*yyvalp).integer) = VTK_PARSE_BAD_INDIRECT;
}
}
break;
case 493:
{
unsigned int n;
n = (((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.integer) << 2) | (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer));
if ((n & VTK_PARSE_INDIRECT) != n)
{
n = VTK_PARSE_BAD_INDIRECT;
}
((*yyvalp).integer) = n;
}
break;
case 494:
{ setAttributeRole(VTK_PARSE_ATTRIB_DECL); }
break;
case 495:
{ clearAttributeRole(); }
break;
case 496:
{ setAttributeRole(VTK_PARSE_ATTRIB_ID); }
break;
case 497:
{ clearAttributeRole(); }
break;
case 498:
{ setAttributeRole(VTK_PARSE_ATTRIB_REF); }
break;
case 499:
{ clearAttributeRole(); }
break;
case 500:
{ setAttributeRole(VTK_PARSE_ATTRIB_FUNC); }
break;
case 501:
{ clearAttributeRole(); }
break;
case 502:
{ setAttributeRole(VTK_PARSE_ATTRIB_ARRAY); }
break;
case 503:
{ clearAttributeRole(); }
break;
case 504:
{ setAttributeRole(VTK_PARSE_ATTRIB_CLASS); }
break;
case 505:
{ clearAttributeRole(); }
break;
case 508:
{ setAttributePrefix(NULL); }
break;
case 511:
{ setAttributePrefix(vtkstrcat((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), "::")); }
break;
case 516:
{ markSig(); }
break;
case 517:
{ handle_attribute(cutSig(), (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.integer)); }
break;
case 518:
{ ((*yyvalp).integer) = 0; }
break;
case 519:
{ ((*yyvalp).integer) = VTK_PARSE_PACK; }
break;
case 524:
{startSig(); markSig();}
break;
case 525:
{
chopSig();
outputSetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 2);
}
break;
case 526:
{startSig(); markSig();}
break;
case 527:
{
chopSig();
outputGetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 2);
}
break;
case 528:
{startSig(); markSig();}
break;
case 529:
{
chopSig();
outputSetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 3);
}
break;
case 530:
{startSig(); markSig();}
break;
case 531:
{
chopSig();
outputGetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 3);
}
break;
case 532:
{startSig(); markSig();}
break;
case 533:
{
chopSig();
outputSetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 4);
}
break;
case 534:
{startSig(); markSig();}
break;
case 535:
{
chopSig();
outputGetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 4);
}
break;
case 536:
{startSig(); markSig();}
break;
case 537:
{
chopSig();
outputSetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 6);
}
break;
case 538:
{startSig(); markSig();}
break;
case 539:
{
chopSig();
outputGetVectorMacro((((yyGLRStackItem const *)yyvsp)[YYFILL (-4)].yystate.yysemantics.yysval.str), getType(), copySig(), 6);
}
break;
case 540:
{startSig(); markSig();}
break;
case 541:
{
const char *typeText;
chopSig();
typeText = copySig();
currentFunction->Macro = "vtkSetVectorMacro";
currentFunction->Name = vtkstrcat("Set", (((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat7("void ", currentFunction->Name, "(", typeText,
" a[", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), "]);");
currentFunction->Comment = vtkstrdup(getComment());
add_parameter(currentFunction, (VTK_PARSE_POINTER | getType()),
getTypeId(), (int)strtol((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), NULL, 0));
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
}
break;
case 542:
{startSig();}
break;
case 543:
{
chopSig();
currentFunction->Macro = "vtkGetVectorMacro";
currentFunction->Name = vtkstrcat("Get", (((yyGLRStackItem const *)yyvsp)[YYFILL (-6)].yystate.yysemantics.yysval.str));
postSig(" *");
postSig(currentFunction->Name);
postSig("();");
currentFunction->Comment = vtkstrdup(getComment());
set_return(currentFunction, (VTK_PARSE_POINTER | getType()),
getTypeId(), (int)strtol((((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), NULL, 0));
output_function();
}
break;
case 544:
{
currentFunction->Macro = "vtkViewportCoordinateMacro";
currentFunction->Name = vtkstrcat3("Get", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), "Coordinate");
currentFunction->Signature =
vtkstrcat3("vtkCoordinate *", currentFunction->Name, "();");
currentFunction->Comment = vtkstrdup(getComment());
set_return(currentFunction, VTK_PARSE_OBJECT_PTR, "vtkCoordinate", 0);
output_function();
currentFunction->Macro = "vtkViewportCoordinateMacro";
currentFunction->Name = vtkstrcat("Set", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("void ", currentFunction->Name, "(double, double);");
currentFunction->Comment = vtkstrdup(getComment());
add_parameter(currentFunction, VTK_PARSE_DOUBLE, "double", 0);
add_parameter(currentFunction, VTK_PARSE_DOUBLE, "double", 0);
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
currentFunction->Macro = "vtkViewportCoordinateMacro";
currentFunction->Name = vtkstrcat("Set", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("void ", currentFunction->Name, "(double a[2]);");
currentFunction->Comment = vtkstrdup(getComment());
add_parameter(currentFunction, VTK_PARSE_DOUBLE_PTR, "double", 2);
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
currentFunction->Macro = "vtkViewportCoordinateMacro";
currentFunction->Name = vtkstrcat("Get", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("double *", currentFunction->Name, "();");
currentFunction->Comment = vtkstrdup(getComment());
set_return(currentFunction, VTK_PARSE_DOUBLE_PTR, "double", 2);
output_function();
}
break;
case 545:
{
currentFunction->Macro = "vtkWorldCoordinateMacro";
currentFunction->Name = vtkstrcat3("Get", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str), "Coordinate");
currentFunction->Signature =
vtkstrcat3("vtkCoordinate *", currentFunction->Name, "();");
currentFunction->Comment = vtkstrdup(getComment());
set_return(currentFunction, VTK_PARSE_OBJECT_PTR, "vtkCoordinate", 0);
output_function();
currentFunction->Macro = "vtkWorldCoordinateMacro";
currentFunction->Name = vtkstrcat("Set", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("void ", currentFunction->Name, "(double, double, double);");
currentFunction->Comment = vtkstrdup(getComment());
add_parameter(currentFunction, VTK_PARSE_DOUBLE, "double", 0);
add_parameter(currentFunction, VTK_PARSE_DOUBLE, "double", 0);
add_parameter(currentFunction, VTK_PARSE_DOUBLE, "double", 0);
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
currentFunction->Macro = "vtkWorldCoordinateMacro";
currentFunction->Name = vtkstrcat("Set", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("void ", currentFunction->Name, "(double a[3]);");
currentFunction->Comment = vtkstrdup(getComment());
add_parameter(currentFunction, VTK_PARSE_DOUBLE_PTR, "double", 3);
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
currentFunction->Macro = "vtkWorldCoordinateMacro";
currentFunction->Name = vtkstrcat("Get", (((yyGLRStackItem const *)yyvsp)[YYFILL (-1)].yystate.yysemantics.yysval.str));
currentFunction->Signature =
vtkstrcat3("double *", currentFunction->Name, "();");
currentFunction->Comment = vtkstrdup(getComment());
set_return(currentFunction, VTK_PARSE_DOUBLE_PTR, "double", 3);
output_function();
}
break;
case 546:
{ ((*yyvalp).str) = "()"; }
break;
case 547:
{ ((*yyvalp).str) = "[]"; }
break;
case 548:
{ ((*yyvalp).str) = " new[]"; }
break;
case 549:
{ ((*yyvalp).str) = " delete[]"; }
break;
case 550:
{ ((*yyvalp).str) = "<"; }
break;
case 551:
{ ((*yyvalp).str) = ">"; }
break;
case 552:
{ ((*yyvalp).str) = ","; }
break;
case 553:
{ ((*yyvalp).str) = "="; }
break;
case 554:
{ ((*yyvalp).str) = ">>"; }
break;
case 555:
{ ((*yyvalp).str) = ">>"; }
break;
case 556:
{ ((*yyvalp).str) = vtkstrcat("\"\" ", (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); }
break;
case 558:
{ ((*yyvalp).str) = "%"; }
break;
case 559:
{ ((*yyvalp).str) = "*"; }
break;
case 560:
{ ((*yyvalp).str) = "/"; }
break;
case 561:
{ ((*yyvalp).str) = "-"; }
break;
case 562:
{ ((*yyvalp).str) = "+"; }
break;
case 563:
{ ((*yyvalp).str) = "!"; }
break;
case 564:
{ ((*yyvalp).str) = "~"; }
break;
case 565:
{ ((*yyvalp).str) = "&"; }
break;
case 566:
{ ((*yyvalp).str) = "|"; }
break;
case 567:
{ ((*yyvalp).str) = "^"; }
break;
case 568:
{ ((*yyvalp).str) = " new"; }
break;
case 569:
{ ((*yyvalp).str) = " delete"; }
break;
case 570:
{ ((*yyvalp).str) = "<<="; }
break;
case 571:
{ ((*yyvalp).str) = ">>="; }
break;
case 572:
{ ((*yyvalp).str) = "<<"; }
break;
case 573:
{ ((*yyvalp).str) = ".*"; }
break;
case 574:
{ ((*yyvalp).str) = "->*"; }
break;
case 575:
{ ((*yyvalp).str) = "->"; }
break;
case 576:
{ ((*yyvalp).str) = "+="; }
break;
case 577:
{ ((*yyvalp).str) = "-="; }
break;
case 578:
{ ((*yyvalp).str) = "*="; }
break;
case 579:
{ ((*yyvalp).str) = "/="; }
break;
case 580:
{ ((*yyvalp).str) = "%="; }
break;
case 581:
{ ((*yyvalp).str) = "++"; }
break;
case 582:
{ ((*yyvalp).str) = "--"; }
break;
case 583:
{ ((*yyvalp).str) = "&="; }
break;
case 584:
{ ((*yyvalp).str) = "|="; }
break;
case 585:
{ ((*yyvalp).str) = "^="; }
break;
case 586:
{ ((*yyvalp).str) = "&&"; }
break;
case 587:
{ ((*yyvalp).str) = "||"; }
break;
case 588:
{ ((*yyvalp).str) = "=="; }
break;
case 589:
{ ((*yyvalp).str) = "!="; }
break;
case 590:
{ ((*yyvalp).str) = "<="; }
break;
case 591:
{ ((*yyvalp).str) = ">="; }
break;
case 592:
{ ((*yyvalp).str) = "typedef"; }
break;
case 593:
{ ((*yyvalp).str) = "typename"; }
break;
case 594:
{ ((*yyvalp).str) = "class"; }
break;
case 595:
{ ((*yyvalp).str) = "struct"; }
break;
case 596:
{ ((*yyvalp).str) = "union"; }
break;
case 597:
{ ((*yyvalp).str) = "template"; }
break;
case 598:
{ ((*yyvalp).str) = "public"; }
break;
case 599:
{ ((*yyvalp).str) = "protected"; }
break;
case 600:
{ ((*yyvalp).str) = "private"; }
break;
case 601:
{ ((*yyvalp).str) = "const"; }
break;
case 602:
{ ((*yyvalp).str) = "volatile"; }
break;
case 603:
{ ((*yyvalp).str) = "static"; }
break;
case 604:
{ ((*yyvalp).str) = "thread_local"; }
break;
case 605:
{ ((*yyvalp).str) = "constexpr"; }
break;
case 606:
{ ((*yyvalp).str) = "inline"; }
break;
case 607:
{ ((*yyvalp).str) = "virtual"; }
break;
case 608:
{ ((*yyvalp).str) = "explicit"; }
break;
case 609:
{ ((*yyvalp).str) = "decltype"; }
break;
case 610:
{ ((*yyvalp).str) = "default"; }
break;
case 611:
{ ((*yyvalp).str) = "extern"; }
break;
case 612:
{ ((*yyvalp).str) = "using"; }
break;
case 613:
{ ((*yyvalp).str) = "namespace"; }
break;
case 614:
{ ((*yyvalp).str) = "operator"; }
break;
case 615:
{ ((*yyvalp).str) = "enum"; }
break;
case 616:
{ ((*yyvalp).str) = "throw"; }
break;
case 617:
{ ((*yyvalp).str) = "noexcept"; }
break;
case 618:
{ ((*yyvalp).str) = "const_cast"; }
break;
case 619:
{ ((*yyvalp).str) = "dynamic_cast"; }
break;
case 620:
{ ((*yyvalp).str) = "static_cast"; }
break;
case 621:
{ ((*yyvalp).str) = "reinterpret_cast"; }
break;
case 635:
{ postSig("< "); }
break;
case 636:
{ postSig("> "); }
break;
case 638:
{ postSig(">"); }
break;
case 640:
{ chopSig(); postSig("::"); }
break;
case 644:
{
const char *op = (((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str);
if ((op[0] == '+' || op[0] == '-' || op[0] == '*' || op[0] == '&') &&
op[1] == '\0')
{
int c1 = 0;
size_t l;
const char *cp;
chopSig();
cp = getSig();
l = getSigLength();
if (l > 0) { c1 = cp[l-1]; }
if (c1 != 0 && c1 != '(' && c1 != '[' && c1 != '=')
{
postSig(" ");
}
postSig(op);
if (vtkParse_CharType(c1, (CPRE_XID|CPRE_QUOTE)) ||
c1 == ')' || c1 == ']')
{
postSig(" ");
}
}
else if ((op[0] == '-' && op[1] == '>') || op[0] == '.')
{
chopSig();
postSig(op);
}
else
{
postSig(op);
postSig(" ");
}
}
break;
case 645:
{ postSig(":"); postSig(" "); }
break;
case 646:
{ postSig("."); }
break;
case 647:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig(" "); }
break;
case 648:
{ postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig(" "); }
break;
case 650:
{
int c1 = 0;
size_t l;
const char *cp;
chopSig();
cp = getSig();
l = getSigLength();
if (l != 0) { c1 = cp[l-1]; }
while (vtkParse_CharType(c1, CPRE_XID) && l != 0)
{
--l;
c1 = cp[l-1];
}
if (l < 2 || cp[l-1] != ':' || cp[l-2] != ':')
{
cp = add_const_scope(&cp[l]);
resetSig(l);
postSig(cp);
}
postSig(" ");
}
break;
case 654:
{ postSig("< "); }
break;
case 655:
{ postSig("> "); }
break;
case 656:
{ postSig(">"); }
break;
case 658:
{ postSig("= "); }
break;
case 659:
{ chopSig(); postSig(", "); }
break;
case 661:
{ chopSig(); postSig(";"); }
break;
case 669:
{ postSig("= "); }
break;
case 670:
{ chopSig(); postSig(", "); }
break;
case 671:
{
chopSig();
if (getSig()[getSigLength()-1] == '<') { postSig(" "); }
postSig("<");
}
break;
case 672:
{
chopSig();
if (getSig()[getSigLength()-1] == '>') { postSig(" "); }
postSig("> ");
}
break;
case 675:
{ postSigLeftBracket("["); }
break;
case 676:
{ postSigRightBracket("] "); }
break;
case 677:
{ postSig("[["); }
break;
case 678:
{ chopSig(); postSig("]] "); }
break;
case 679:
{ postSigLeftBracket("("); }
break;
case 680:
{ postSigRightBracket(") "); }
break;
case 681:
{ postSigLeftBracket("("); postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig("*"); }
break;
case 682:
{ postSigRightBracket(") "); }
break;
case 683:
{ postSigLeftBracket("("); postSig((((yyGLRStackItem const *)yyvsp)[YYFILL (0)].yystate.yysemantics.yysval.str)); postSig("&"); }
break;
case 684:
{ postSigRightBracket(") "); }
break;
case 685:
{ postSig("{ "); }
break;
case 686:
{ postSig("} "); }
break;
default: break;
}
return yyok;
# undef yyerrok
# undef YYABORT
# undef YYACCEPT
# undef YYERROR
# undef YYBACKUP
# undef yyclearin
# undef YYRECOVERING
}
static void
yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
{
YYUSE (yy0);
YYUSE (yy1);
switch (yyn)
{
default: break;
}
}
/* Bison grammar-table manipulation. */
/*-----------------------------------------------.
| Release the memory associated to this symbol. |
`-----------------------------------------------*/
static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
{
YYUSE (yyvaluep);
if (!yymsg)
yymsg = "Deleting";
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
YYUSE (yytype);
YY_IGNORE_MAYBE_UNINITIALIZED_END
}
/** Number of symbols composing the right hand side of rule #RULE. */
static int
yyrhsLength (yyRuleNum yyrule)
{
return yyr2[yyrule];
}
static void
yydestroyGLRState (char const *yymsg, yyGLRState *yys)
{
if (yys->yyresolved)
yydestruct (yymsg, yystos[yys->yylrState],
&yys->yysemantics.yysval);
else
{
#if YYDEBUG
if (yydebug)
{
if (yys->yysemantics.yyfirstVal)
YYFPRINTF (stderr, "%s unresolved", yymsg);
else
YYFPRINTF (stderr, "%s incomplete", yymsg);
YY_SYMBOL_PRINT ("", yystos[yys->yylrState], YY_NULLPTR, &yys->yyloc);
}
#endif
if (yys->yysemantics.yyfirstVal)
{
yySemanticOption *yyoption = yys->yysemantics.yyfirstVal;
yyGLRState *yyrh;
int yyn;
for (yyrh = yyoption->yystate, yyn = yyrhsLength (yyoption->yyrule);
yyn > 0;
yyrh = yyrh->yypred, yyn -= 1)
yydestroyGLRState (yymsg, yyrh);
}
}
}
/** Left-hand-side symbol for rule #YYRULE. */
static yySymbol
yylhsNonterm (yyRuleNum yyrule)
{
return yyr1[yyrule];
}
#define yypact_value_is_default(Yystate) \
(!!((Yystate) == (-975)))
/** True iff LR state YYSTATE has only a default reduction (regardless
* of token). */
static yybool
yyisDefaultedState (yyStateNum yystate)
{
return yypact_value_is_default (yypact[yystate]);
}
/** The default reduction for YYSTATE, assuming it has one. */
static yyRuleNum
yydefaultAction (yyStateNum yystate)
{
return yydefact[yystate];
}
#define yytable_value_is_error(Yytable_value) \
0
/** Set *YYACTION to the action to take in YYSTATE on seeing YYTOKEN.
* Result R means
* R < 0: Reduce on rule -R.
* R = 0: Error.
* R > 0: Shift to state R.
* Set *YYCONFLICTS to a pointer into yyconfl to a 0-terminated list
* of conflicting reductions.
*/
static void
yygetLRActions (yyStateNum yystate, int yytoken,
int* yyaction, const short int** yyconflicts)
{
int yyindex = yypact[yystate] + yytoken;
if (yypact_value_is_default (yypact[yystate])
|| yyindex < 0 || YYLAST < yyindex || yycheck[yyindex] != yytoken)
{
*yyaction = -yydefact[yystate];
*yyconflicts = yyconfl;
}
else if (! yytable_value_is_error (yytable[yyindex]))
{
*yyaction = yytable[yyindex];
*yyconflicts = yyconfl + yyconflp[yyindex];
}
else
{
*yyaction = 0;
*yyconflicts = yyconfl + yyconflp[yyindex];
}
}
/** Compute post-reduction state.
* \param yystate the current state
* \param yysym the nonterminal to push on the stack
*/
static yyStateNum
yyLRgotoState (yyStateNum yystate, yySymbol yysym)
{
int yyr = yypgoto[yysym - YYNTOKENS] + yystate;
if (0 <= yyr && yyr <= YYLAST && yycheck[yyr] == yystate)
return yytable[yyr];
else
return yydefgoto[yysym - YYNTOKENS];
}
static yybool
yyisShiftAction (int yyaction)
{
return 0 < yyaction;
}
static yybool
yyisErrorAction (int yyaction)
{
return yyaction == 0;
}
/* GLRStates */
/** Return a fresh GLRStackItem in YYSTACKP. The item is an LR state
* if YYISSTATE, and otherwise a semantic option. Callers should call
* YY_RESERVE_GLRSTACK afterwards to make sure there is sufficient
* headroom. */
static yyGLRStackItem*
yynewGLRStackItem (yyGLRStack* yystackp, yybool yyisState)
{
yyGLRStackItem* yynewItem = yystackp->yynextFree;
yystackp->yyspaceLeft -= 1;
yystackp->yynextFree += 1;
yynewItem->yystate.yyisState = yyisState;
return yynewItem;
}
/** Add a new semantic action that will execute the action for rule
* YYRULE on the semantic values in YYRHS to the list of
* alternative actions for YYSTATE. Assumes that YYRHS comes from
* stack #YYK of *YYSTACKP. */
static void
yyaddDeferredAction (yyGLRStack* yystackp, size_t yyk, yyGLRState* yystate,
yyGLRState* yyrhs, yyRuleNum yyrule)
{
yySemanticOption* yynewOption =
&yynewGLRStackItem (yystackp, yyfalse)->yyoption;
YYASSERT (!yynewOption->yyisState);
yynewOption->yystate = yyrhs;
yynewOption->yyrule = yyrule;
if (yystackp->yytops.yylookaheadNeeds[yyk])
{
yynewOption->yyrawchar = yychar;
yynewOption->yyval = yylval;
}
else
yynewOption->yyrawchar = YYEMPTY;
yynewOption->yynext = yystate->yysemantics.yyfirstVal;
yystate->yysemantics.yyfirstVal = yynewOption;
YY_RESERVE_GLRSTACK (yystackp);
}
/* GLRStacks */
/** Initialize YYSET to a singleton set containing an empty stack. */
static yybool
yyinitStateSet (yyGLRStateSet* yyset)
{
yyset->yysize = 1;
yyset->yycapacity = 16;
yyset->yystates = (yyGLRState**) YYMALLOC (16 * sizeof yyset->yystates[0]);
if (! yyset->yystates)
return yyfalse;
yyset->yystates[0] = YY_NULLPTR;
yyset->yylookaheadNeeds =
(yybool*) YYMALLOC (16 * sizeof yyset->yylookaheadNeeds[0]);
if (! yyset->yylookaheadNeeds)
{
YYFREE (yyset->yystates);
return yyfalse;
}
return yytrue;
}
static void yyfreeStateSet (yyGLRStateSet* yyset)
{
YYFREE (yyset->yystates);
YYFREE (yyset->yylookaheadNeeds);
}
/** Initialize *YYSTACKP to a single empty stack, with total maximum
* capacity for all stacks of YYSIZE. */
static yybool
yyinitGLRStack (yyGLRStack* yystackp, size_t yysize)
{
yystackp->yyerrState = 0;
yynerrs = 0;
yystackp->yyspaceLeft = yysize;
yystackp->yyitems =
(yyGLRStackItem*) YYMALLOC (yysize * sizeof yystackp->yynextFree[0]);
if (!yystackp->yyitems)
return yyfalse;
yystackp->yynextFree = yystackp->yyitems;
yystackp->yysplitPoint = YY_NULLPTR;
yystackp->yylastDeleted = YY_NULLPTR;
return yyinitStateSet (&yystackp->yytops);
}
#if YYSTACKEXPANDABLE
# define YYRELOC(YYFROMITEMS,YYTOITEMS,YYX,YYTYPE) \
&((YYTOITEMS) - ((YYFROMITEMS) - (yyGLRStackItem*) (YYX)))->YYTYPE
/** If *YYSTACKP is expandable, extend it. WARNING: Pointers into the
stack from outside should be considered invalid after this call.
We always expand when there are 1 or fewer items left AFTER an
allocation, so that we can avoid having external pointers exist
across an allocation. */
static void
yyexpandGLRStack (yyGLRStack* yystackp)
{
yyGLRStackItem* yynewItems;
yyGLRStackItem* yyp0, *yyp1;
size_t yynewSize;
size_t yyn;
size_t yysize = yystackp->yynextFree - yystackp->yyitems;
if (YYMAXDEPTH - YYHEADROOM < yysize)
yyMemoryExhausted (yystackp);
yynewSize = 2*yysize;
if (YYMAXDEPTH < yynewSize)
yynewSize = YYMAXDEPTH;
yynewItems = (yyGLRStackItem*) YYMALLOC (yynewSize * sizeof yynewItems[0]);
if (! yynewItems)
yyMemoryExhausted (yystackp);
for (yyp0 = yystackp->yyitems, yyp1 = yynewItems, yyn = yysize;
0 < yyn;
yyn -= 1, yyp0 += 1, yyp1 += 1)
{
*yyp1 = *yyp0;
if (*(yybool *) yyp0)
{
yyGLRState* yys0 = &yyp0->yystate;
yyGLRState* yys1 = &yyp1->yystate;
if (yys0->yypred != YY_NULLPTR)
yys1->yypred =
YYRELOC (yyp0, yyp1, yys0->yypred, yystate);
if (! yys0->yyresolved && yys0->yysemantics.yyfirstVal != YY_NULLPTR)
yys1->yysemantics.yyfirstVal =
YYRELOC (yyp0, yyp1, yys0->yysemantics.yyfirstVal, yyoption);
}
else
{
yySemanticOption* yyv0 = &yyp0->yyoption;
yySemanticOption* yyv1 = &yyp1->yyoption;
if (yyv0->yystate != YY_NULLPTR)
yyv1->yystate = YYRELOC (yyp0, yyp1, yyv0->yystate, yystate);
if (yyv0->yynext != YY_NULLPTR)
yyv1->yynext = YYRELOC (yyp0, yyp1, yyv0->yynext, yyoption);
}
}
if (yystackp->yysplitPoint != YY_NULLPTR)
yystackp->yysplitPoint = YYRELOC (yystackp->yyitems, yynewItems,
yystackp->yysplitPoint, yystate);
for (yyn = 0; yyn < yystackp->yytops.yysize; yyn += 1)
if (yystackp->yytops.yystates[yyn] != YY_NULLPTR)
yystackp->yytops.yystates[yyn] =
YYRELOC (yystackp->yyitems, yynewItems,
yystackp->yytops.yystates[yyn], yystate);
YYFREE (yystackp->yyitems);
yystackp->yyitems = yynewItems;
yystackp->yynextFree = yynewItems + yysize;
yystackp->yyspaceLeft = yynewSize - yysize;
}
#endif
static void
yyfreeGLRStack (yyGLRStack* yystackp)
{
YYFREE (yystackp->yyitems);
yyfreeStateSet (&yystackp->yytops);
}
/** Assuming that YYS is a GLRState somewhere on *YYSTACKP, update the
* splitpoint of *YYSTACKP, if needed, so that it is at least as deep as
* YYS. */
static void
yyupdateSplit (yyGLRStack* yystackp, yyGLRState* yys)
{
if (yystackp->yysplitPoint != YY_NULLPTR && yystackp->yysplitPoint > yys)
yystackp->yysplitPoint = yys;
}
/** Invalidate stack #YYK in *YYSTACKP. */
static void
yymarkStackDeleted (yyGLRStack* yystackp, size_t yyk)
{
if (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
yystackp->yylastDeleted = yystackp->yytops.yystates[yyk];
yystackp->yytops.yystates[yyk] = YY_NULLPTR;
}
/** Undelete the last stack in *YYSTACKP that was marked as deleted. Can
only be done once after a deletion, and only when all other stacks have
been deleted. */
static void
yyundeleteLastStack (yyGLRStack* yystackp)
{
if (yystackp->yylastDeleted == YY_NULLPTR || yystackp->yytops.yysize != 0)
return;
yystackp->yytops.yystates[0] = yystackp->yylastDeleted;
yystackp->yytops.yysize = 1;
YYDPRINTF ((stderr, "Restoring last deleted stack as stack #0.\n"));
yystackp->yylastDeleted = YY_NULLPTR;
}
static void
yyremoveDeletes (yyGLRStack* yystackp)
{
size_t yyi, yyj;
yyi = yyj = 0;
while (yyj < yystackp->yytops.yysize)
{
if (yystackp->yytops.yystates[yyi] == YY_NULLPTR)
{
if (yyi == yyj)
{
YYDPRINTF ((stderr, "Removing dead stacks.\n"));
}
yystackp->yytops.yysize -= 1;
}
else
{
yystackp->yytops.yystates[yyj] = yystackp->yytops.yystates[yyi];
/* In the current implementation, it's unnecessary to copy
yystackp->yytops.yylookaheadNeeds[yyi] since, after
yyremoveDeletes returns, the parser immediately either enters
deterministic operation or shifts a token. However, it doesn't
hurt, and the code might evolve to need it. */
yystackp->yytops.yylookaheadNeeds[yyj] =
yystackp->yytops.yylookaheadNeeds[yyi];
if (yyj != yyi)
{
YYDPRINTF ((stderr, "Rename stack %lu -> %lu.\n",
(unsigned long int) yyi, (unsigned long int) yyj));
}
yyj += 1;
}
yyi += 1;
}
}
/** Shift to a new state on stack #YYK of *YYSTACKP, corresponding to LR
* state YYLRSTATE, at input position YYPOSN, with (resolved) semantic
* value *YYVALP and source location *YYLOCP. */
static void
yyglrShift (yyGLRStack* yystackp, size_t yyk, yyStateNum yylrState,
size_t yyposn,
YYSTYPE* yyvalp)
{
yyGLRState* yynewState = &yynewGLRStackItem (yystackp, yytrue)->yystate;
yynewState->yylrState = yylrState;
yynewState->yyposn = yyposn;
yynewState->yyresolved = yytrue;
yynewState->yypred = yystackp->yytops.yystates[yyk];
yynewState->yysemantics.yysval = *yyvalp;
yystackp->yytops.yystates[yyk] = yynewState;
YY_RESERVE_GLRSTACK (yystackp);
}
/** Shift stack #YYK of *YYSTACKP, to a new state corresponding to LR
* state YYLRSTATE, at input position YYPOSN, with the (unresolved)
* semantic value of YYRHS under the action for YYRULE. */
static void
yyglrShiftDefer (yyGLRStack* yystackp, size_t yyk, yyStateNum yylrState,
size_t yyposn, yyGLRState* yyrhs, yyRuleNum yyrule)
{
yyGLRState* yynewState = &yynewGLRStackItem (yystackp, yytrue)->yystate;
YYASSERT (yynewState->yyisState);
yynewState->yylrState = yylrState;
yynewState->yyposn = yyposn;
yynewState->yyresolved = yyfalse;
yynewState->yypred = yystackp->yytops.yystates[yyk];
yynewState->yysemantics.yyfirstVal = YY_NULLPTR;
yystackp->yytops.yystates[yyk] = yynewState;
/* Invokes YY_RESERVE_GLRSTACK. */
yyaddDeferredAction (yystackp, yyk, yynewState, yyrhs, yyrule);
}
#if !YYDEBUG
# define YY_REDUCE_PRINT(Args)
#else
# define YY_REDUCE_PRINT(Args) \
do { \
if (yydebug) \
yy_reduce_print Args; \
} while (0)
/*----------------------------------------------------------------------.
| Report that stack #YYK of *YYSTACKP is going to be reduced by YYRULE. |
`----------------------------------------------------------------------*/
static void
yy_reduce_print (int yynormal, yyGLRStackItem* yyvsp, size_t yyk,
yyRuleNum yyrule)
{
int yynrhs = yyrhsLength (yyrule);
int yyi;
YYFPRINTF (stderr, "Reducing stack %lu by rule %d (line %lu):\n",
(unsigned long int) yyk, yyrule - 1,
(unsigned long int) yyrline[yyrule]);
if (! yynormal)
yyfillin (yyvsp, 1, -yynrhs);
/* The symbols being reduced. */
for (yyi = 0; yyi < yynrhs; yyi++)
{
YYFPRINTF (stderr, " $%d = ", yyi + 1);
yy_symbol_print (stderr,
yystos[yyvsp[yyi - yynrhs + 1].yystate.yylrState],
&yyvsp[yyi - yynrhs + 1].yystate.yysemantics.yysval
);
if (!yyvsp[yyi - yynrhs + 1].yystate.yyresolved)
YYFPRINTF (stderr, " (unresolved)");
YYFPRINTF (stderr, "\n");
}
}
#endif
/** Pop the symbols consumed by reduction #YYRULE from the top of stack
* #YYK of *YYSTACKP, and perform the appropriate semantic action on their
* semantic values. Assumes that all ambiguities in semantic values
* have been previously resolved. Set *YYVALP to the resulting value,
* and *YYLOCP to the computed location (if any). Return value is as
* for userAction. */
static YYRESULTTAG
yydoAction (yyGLRStack* yystackp, size_t yyk, yyRuleNum yyrule,
YYSTYPE* yyvalp)
{
int yynrhs = yyrhsLength (yyrule);
if (yystackp->yysplitPoint == YY_NULLPTR)
{
/* Standard special case: single stack. */
yyGLRStackItem* yyrhs = (yyGLRStackItem*) yystackp->yytops.yystates[yyk];
YYASSERT (yyk == 0);
yystackp->yynextFree -= yynrhs;
yystackp->yyspaceLeft += yynrhs;
yystackp->yytops.yystates[0] = & yystackp->yynextFree[-1].yystate;
YY_REDUCE_PRINT ((1, yyrhs, yyk, yyrule));
return yyuserAction (yyrule, yynrhs, yyrhs, yystackp,
yyvalp);
}
else
{
int yyi;
yyGLRState* yys;
yyGLRStackItem yyrhsVals[YYMAXRHS + YYMAXLEFT + 1];
yys = yyrhsVals[YYMAXRHS + YYMAXLEFT].yystate.yypred
= yystackp->yytops.yystates[yyk];
for (yyi = 0; yyi < yynrhs; yyi += 1)
{
yys = yys->yypred;
YYASSERT (yys);
}
yyupdateSplit (yystackp, yys);
yystackp->yytops.yystates[yyk] = yys;
YY_REDUCE_PRINT ((0, yyrhsVals + YYMAXRHS + YYMAXLEFT - 1, yyk, yyrule));
return yyuserAction (yyrule, yynrhs, yyrhsVals + YYMAXRHS + YYMAXLEFT - 1,
yystackp, yyvalp);
}
}
/** Pop items off stack #YYK of *YYSTACKP according to grammar rule YYRULE,
* and push back on the resulting nonterminal symbol. Perform the
* semantic action associated with YYRULE and store its value with the
* newly pushed state, if YYFORCEEVAL or if *YYSTACKP is currently
* unambiguous. Otherwise, store the deferred semantic action with
* the new state. If the new state would have an identical input
* position, LR state, and predecessor to an existing state on the stack,
* it is identified with that existing state, eliminating stack #YYK from
* *YYSTACKP. In this case, the semantic value is
* added to the options for the existing state's semantic value.
*/
static YYRESULTTAG
yyglrReduce (yyGLRStack* yystackp, size_t yyk, yyRuleNum yyrule,
yybool yyforceEval)
{
size_t yyposn = yystackp->yytops.yystates[yyk]->yyposn;
if (yyforceEval || yystackp->yysplitPoint == YY_NULLPTR)
{
YYSTYPE yysval;
YYRESULTTAG yyflag = yydoAction (yystackp, yyk, yyrule, &yysval);
if (yyflag == yyerr && yystackp->yysplitPoint != YY_NULLPTR)
{
YYDPRINTF ((stderr, "Parse on stack %lu rejected by rule #%d.\n",
(unsigned long int) yyk, yyrule - 1));
}
if (yyflag != yyok)
return yyflag;
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyrule], &yysval, &yyloc);
yyglrShift (yystackp, yyk,
yyLRgotoState (yystackp->yytops.yystates[yyk]->yylrState,
yylhsNonterm (yyrule)),
yyposn, &yysval);
}
else
{
size_t yyi;
int yyn;
yyGLRState* yys, *yys0 = yystackp->yytops.yystates[yyk];
yyStateNum yynewLRState;
for (yys = yystackp->yytops.yystates[yyk], yyn = yyrhsLength (yyrule);
0 < yyn; yyn -= 1)
{
yys = yys->yypred;
YYASSERT (yys);
}
yyupdateSplit (yystackp, yys);
yynewLRState = yyLRgotoState (yys->yylrState, yylhsNonterm (yyrule));
YYDPRINTF ((stderr,
"Reduced stack %lu by rule #%d; action deferred. "
"Now in state %d.\n",
(unsigned long int) yyk, yyrule - 1, yynewLRState));
for (yyi = 0; yyi < yystackp->yytops.yysize; yyi += 1)
if (yyi != yyk && yystackp->yytops.yystates[yyi] != YY_NULLPTR)
{
yyGLRState *yysplit = yystackp->yysplitPoint;
yyGLRState *yyp = yystackp->yytops.yystates[yyi];
while (yyp != yys && yyp != yysplit && yyp->yyposn >= yyposn)
{
if (yyp->yylrState == yynewLRState && yyp->yypred == yys)
{
yyaddDeferredAction (yystackp, yyk, yyp, yys0, yyrule);
yymarkStackDeleted (yystackp, yyk);
YYDPRINTF ((stderr, "Merging stack %lu into stack %lu.\n",
(unsigned long int) yyk,
(unsigned long int) yyi));
return yyok;
}
yyp = yyp->yypred;
}
}
yystackp->yytops.yystates[yyk] = yys;
yyglrShiftDefer (yystackp, yyk, yynewLRState, yyposn, yys0, yyrule);
}
return yyok;
}
static size_t
yysplitStack (yyGLRStack* yystackp, size_t yyk)
{
if (yystackp->yysplitPoint == YY_NULLPTR)
{
YYASSERT (yyk == 0);
yystackp->yysplitPoint = yystackp->yytops.yystates[yyk];
}
if (yystackp->yytops.yysize >= yystackp->yytops.yycapacity)
{
yyGLRState** yynewStates;
yybool* yynewLookaheadNeeds;
/* yynewStates = YY_NULLPTR; */
if (yystackp->yytops.yycapacity
> (YYSIZEMAX / (2 * sizeof(yyGLRState*))))
yyMemoryExhausted (yystackp);
yystackp->yytops.yycapacity *= 2;
yynewStates =
(yyGLRState**) YYREALLOC (yystackp->yytops.yystates,
(yystackp->yytops.yycapacity
* sizeof(yyGLRState*)));
if (yynewStates == YY_NULLPTR)
yyMemoryExhausted (yystackp);
yystackp->yytops.yystates = yynewStates;
yynewLookaheadNeeds =
(yybool*) YYREALLOC (yystackp->yytops.yylookaheadNeeds,
(yystackp->yytops.yycapacity
* sizeof(yybool)));
if (yynewLookaheadNeeds == YY_NULLPTR)
yyMemoryExhausted (yystackp);
yystackp->yytops.yylookaheadNeeds = yynewLookaheadNeeds;
}
yystackp->yytops.yystates[yystackp->yytops.yysize]
= yystackp->yytops.yystates[yyk];
yystackp->yytops.yylookaheadNeeds[yystackp->yytops.yysize]
= yystackp->yytops.yylookaheadNeeds[yyk];
yystackp->yytops.yysize += 1;
return yystackp->yytops.yysize-1;
}
/** True iff YYY0 and YYY1 represent identical options at the top level.
* That is, they represent the same rule applied to RHS symbols
* that produce the same terminal symbols. */
static yybool
yyidenticalOptions (yySemanticOption* yyy0, yySemanticOption* yyy1)
{
if (yyy0->yyrule == yyy1->yyrule)
{
yyGLRState *yys0, *yys1;
int yyn;
for (yys0 = yyy0->yystate, yys1 = yyy1->yystate,
yyn = yyrhsLength (yyy0->yyrule);
yyn > 0;
yys0 = yys0->yypred, yys1 = yys1->yypred, yyn -= 1)
if (yys0->yyposn != yys1->yyposn)
return yyfalse;
return yytrue;
}
else
return yyfalse;
}
/** Assuming identicalOptions (YYY0,YYY1), destructively merge the
* alternative semantic values for the RHS-symbols of YYY1 and YYY0. */
static void
yymergeOptionSets (yySemanticOption* yyy0, yySemanticOption* yyy1)
{
yyGLRState *yys0, *yys1;
int yyn;
for (yys0 = yyy0->yystate, yys1 = yyy1->yystate,
yyn = yyrhsLength (yyy0->yyrule);
yyn > 0;
yys0 = yys0->yypred, yys1 = yys1->yypred, yyn -= 1)
{
if (yys0 == yys1)
break;
else if (yys0->yyresolved)
{
yys1->yyresolved = yytrue;
yys1->yysemantics.yysval = yys0->yysemantics.yysval;
}
else if (yys1->yyresolved)
{
yys0->yyresolved = yytrue;
yys0->yysemantics.yysval = yys1->yysemantics.yysval;
}
else
{
yySemanticOption** yyz0p = &yys0->yysemantics.yyfirstVal;
yySemanticOption* yyz1 = yys1->yysemantics.yyfirstVal;
while (yytrue)
{
if (yyz1 == *yyz0p || yyz1 == YY_NULLPTR)
break;
else if (*yyz0p == YY_NULLPTR)
{
*yyz0p = yyz1;
break;
}
else if (*yyz0p < yyz1)
{
yySemanticOption* yyz = *yyz0p;
*yyz0p = yyz1;
yyz1 = yyz1->yynext;
(*yyz0p)->yynext = yyz;
}
yyz0p = &(*yyz0p)->yynext;
}
yys1->yysemantics.yyfirstVal = yys0->yysemantics.yyfirstVal;
}
}
}
/** Y0 and Y1 represent two possible actions to take in a given
* parsing state; return 0 if no combination is possible,
* 1 if user-mergeable, 2 if Y0 is preferred, 3 if Y1 is preferred. */
static int
yypreference (yySemanticOption* y0, yySemanticOption* y1)
{
yyRuleNum r0 = y0->yyrule, r1 = y1->yyrule;
int p0 = yydprec[r0], p1 = yydprec[r1];
if (p0 == p1)
{
if (yymerger[r0] == 0 || yymerger[r0] != yymerger[r1])
return 0;
else
return 1;
}
if (p0 == 0 || p1 == 0)
return 0;
if (p0 < p1)
return 3;
if (p1 < p0)
return 2;
return 0;
}
static YYRESULTTAG yyresolveValue (yyGLRState* yys,
yyGLRStack* yystackp);
/** Resolve the previous YYN states starting at and including state YYS
* on *YYSTACKP. If result != yyok, some states may have been left
* unresolved possibly with empty semantic option chains. Regardless
* of whether result = yyok, each state has been left with consistent
* data so that yydestroyGLRState can be invoked if necessary. */
static YYRESULTTAG
yyresolveStates (yyGLRState* yys, int yyn,
yyGLRStack* yystackp)
{
if (0 < yyn)
{
YYASSERT (yys->yypred);
YYCHK (yyresolveStates (yys->yypred, yyn-1, yystackp));
if (! yys->yyresolved)
YYCHK (yyresolveValue (yys, yystackp));
}
return yyok;
}
/** Resolve the states for the RHS of YYOPT on *YYSTACKP, perform its
* user action, and return the semantic value and location in *YYVALP
* and *YYLOCP. Regardless of whether result = yyok, all RHS states
* have been destroyed (assuming the user action destroys all RHS
* semantic values if invoked). */
static YYRESULTTAG
yyresolveAction (yySemanticOption* yyopt, yyGLRStack* yystackp,
YYSTYPE* yyvalp)
{
yyGLRStackItem yyrhsVals[YYMAXRHS + YYMAXLEFT + 1];
int yynrhs = yyrhsLength (yyopt->yyrule);
YYRESULTTAG yyflag =
yyresolveStates (yyopt->yystate, yynrhs, yystackp);
if (yyflag != yyok)
{
yyGLRState *yys;
for (yys = yyopt->yystate; yynrhs > 0; yys = yys->yypred, yynrhs -= 1)
yydestroyGLRState ("Cleanup: popping", yys);
return yyflag;
}
yyrhsVals[YYMAXRHS + YYMAXLEFT].yystate.yypred = yyopt->yystate;
{
int yychar_current = yychar;
YYSTYPE yylval_current = yylval;
yychar = yyopt->yyrawchar;
yylval = yyopt->yyval;
yyflag = yyuserAction (yyopt->yyrule, yynrhs,
yyrhsVals + YYMAXRHS + YYMAXLEFT - 1,
yystackp, yyvalp);
yychar = yychar_current;
yylval = yylval_current;
}
return yyflag;
}
#if YYDEBUG
static void
yyreportTree (yySemanticOption* yyx, int yyindent)
{
int yynrhs = yyrhsLength (yyx->yyrule);
int yyi;
yyGLRState* yys;
yyGLRState* yystates[1 + YYMAXRHS];
yyGLRState yyleftmost_state;
for (yyi = yynrhs, yys = yyx->yystate; 0 < yyi; yyi -= 1, yys = yys->yypred)
yystates[yyi] = yys;
if (yys == YY_NULLPTR)
{
yyleftmost_state.yyposn = 0;
yystates[0] = &yyleftmost_state;
}
else
yystates[0] = yys;
if (yyx->yystate->yyposn < yys->yyposn + 1)
YYFPRINTF (stderr, "%*s%s -> \n",
yyindent, "", yytokenName (yylhsNonterm (yyx->yyrule)),
yyx->yyrule - 1);
else
YYFPRINTF (stderr, "%*s%s -> \n",
yyindent, "", yytokenName (yylhsNonterm (yyx->yyrule)),
yyx->yyrule - 1, (unsigned long int) (yys->yyposn + 1),
(unsigned long int) yyx->yystate->yyposn);
for (yyi = 1; yyi <= yynrhs; yyi += 1)
{
if (yystates[yyi]->yyresolved)
{
if (yystates[yyi-1]->yyposn+1 > yystates[yyi]->yyposn)
YYFPRINTF (stderr, "%*s%s \n", yyindent+2, "",
yytokenName (yystos[yystates[yyi]->yylrState]));
else
YYFPRINTF (stderr, "%*s%s \n", yyindent+2, "",
yytokenName (yystos[yystates[yyi]->yylrState]),
(unsigned long int) (yystates[yyi-1]->yyposn + 1),
(unsigned long int) yystates[yyi]->yyposn);
}
else
yyreportTree (yystates[yyi]->yysemantics.yyfirstVal, yyindent+2);
}
}
#endif
static YYRESULTTAG
yyreportAmbiguity (yySemanticOption* yyx0,
yySemanticOption* yyx1)
{
YYUSE (yyx0);
YYUSE (yyx1);
#if YYDEBUG
YYFPRINTF (stderr, "Ambiguity detected.\n");
YYFPRINTF (stderr, "Option 1,\n");
yyreportTree (yyx0, 2);
YYFPRINTF (stderr, "\nOption 2,\n");
yyreportTree (yyx1, 2);
YYFPRINTF (stderr, "\n");
#endif
yyerror (YY_("syntax is ambiguous"));
return yyabort;
}
/** Resolve the ambiguity represented in state YYS in *YYSTACKP,
* perform the indicated actions, and set the semantic value of YYS.
* If result != yyok, the chain of semantic options in YYS has been
* cleared instead or it has been left unmodified except that
* redundant options may have been removed. Regardless of whether
* result = yyok, YYS has been left with consistent data so that
* yydestroyGLRState can be invoked if necessary. */
static YYRESULTTAG
yyresolveValue (yyGLRState* yys, yyGLRStack* yystackp)
{
yySemanticOption* yyoptionList = yys->yysemantics.yyfirstVal;
yySemanticOption* yybest = yyoptionList;
yySemanticOption** yypp;
yybool yymerge = yyfalse;
YYSTYPE yysval;
YYRESULTTAG yyflag;
for (yypp = &yyoptionList->yynext; *yypp != YY_NULLPTR; )
{
yySemanticOption* yyp = *yypp;
if (yyidenticalOptions (yybest, yyp))
{
yymergeOptionSets (yybest, yyp);
*yypp = yyp->yynext;
}
else
{
switch (yypreference (yybest, yyp))
{
case 0:
return yyreportAmbiguity (yybest, yyp);
/* break; */
case 1:
yymerge = yytrue;
break;
case 2:
break;
case 3:
yybest = yyp;
yymerge = yyfalse;
break;
default:
/* This cannot happen so it is not worth a YYASSERT (yyfalse),
but some compilers complain if the default case is
omitted. */
break;
}
yypp = &yyp->yynext;
}
}
if (yymerge)
{
yySemanticOption* yyp;
int yyprec = yydprec[yybest->yyrule];
yyflag = yyresolveAction (yybest, yystackp, &yysval);
if (yyflag == yyok)
for (yyp = yybest->yynext; yyp != YY_NULLPTR; yyp = yyp->yynext)
{
if (yyprec == yydprec[yyp->yyrule])
{
YYSTYPE yysval_other;
yyflag = yyresolveAction (yyp, yystackp, &yysval_other);
if (yyflag != yyok)
{
yydestruct ("Cleanup: discarding incompletely merged value for",
yystos[yys->yylrState],
&yysval);
break;
}
yyuserMerge (yymerger[yyp->yyrule], &yysval, &yysval_other);
}
}
}
else
yyflag = yyresolveAction (yybest, yystackp, &yysval);
if (yyflag == yyok)
{
yys->yyresolved = yytrue;
yys->yysemantics.yysval = yysval;
}
else
yys->yysemantics.yyfirstVal = YY_NULLPTR;
return yyflag;
}
static YYRESULTTAG
yyresolveStack (yyGLRStack* yystackp)
{
if (yystackp->yysplitPoint != YY_NULLPTR)
{
yyGLRState* yys;
int yyn;
for (yyn = 0, yys = yystackp->yytops.yystates[0];
yys != yystackp->yysplitPoint;
yys = yys->yypred, yyn += 1)
continue;
YYCHK (yyresolveStates (yystackp->yytops.yystates[0], yyn, yystackp
));
}
return yyok;
}
static void
yycompressStack (yyGLRStack* yystackp)
{
yyGLRState* yyp, *yyq, *yyr;
if (yystackp->yytops.yysize != 1 || yystackp->yysplitPoint == YY_NULLPTR)
return;
for (yyp = yystackp->yytops.yystates[0], yyq = yyp->yypred, yyr = YY_NULLPTR;
yyp != yystackp->yysplitPoint;
yyr = yyp, yyp = yyq, yyq = yyp->yypred)
yyp->yypred = yyr;
yystackp->yyspaceLeft += yystackp->yynextFree - yystackp->yyitems;
yystackp->yynextFree = ((yyGLRStackItem*) yystackp->yysplitPoint) + 1;
yystackp->yyspaceLeft -= yystackp->yynextFree - yystackp->yyitems;
yystackp->yysplitPoint = YY_NULLPTR;
yystackp->yylastDeleted = YY_NULLPTR;
while (yyr != YY_NULLPTR)
{
yystackp->yynextFree->yystate = *yyr;
yyr = yyr->yypred;
yystackp->yynextFree->yystate.yypred = &yystackp->yynextFree[-1].yystate;
yystackp->yytops.yystates[0] = &yystackp->yynextFree->yystate;
yystackp->yynextFree += 1;
yystackp->yyspaceLeft -= 1;
}
}
static YYRESULTTAG
yyprocessOneStack (yyGLRStack* yystackp, size_t yyk,
size_t yyposn)
{
while (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
{
yyStateNum yystate = yystackp->yytops.yystates[yyk]->yylrState;
YYDPRINTF ((stderr, "Stack %lu Entering state %d\n",
(unsigned long int) yyk, yystate));
YYASSERT (yystate != YYFINAL);
if (yyisDefaultedState (yystate))
{
YYRESULTTAG yyflag;
yyRuleNum yyrule = yydefaultAction (yystate);
if (yyrule == 0)
{
YYDPRINTF ((stderr, "Stack %lu dies.\n",
(unsigned long int) yyk));
yymarkStackDeleted (yystackp, yyk);
return yyok;
}
yyflag = yyglrReduce (yystackp, yyk, yyrule, yyimmediate[yyrule]);
if (yyflag == yyerr)
{
YYDPRINTF ((stderr,
"Stack %lu dies "
"(predicate failure or explicit user error).\n",
(unsigned long int) yyk));
yymarkStackDeleted (yystackp, yyk);
return yyok;
}
if (yyflag != yyok)
return yyflag;
}
else
{
yySymbol yytoken;
int yyaction;
const short int* yyconflicts;
yystackp->yytops.yylookaheadNeeds[yyk] = yytrue;
if (yychar == YYEMPTY)
{
YYDPRINTF ((stderr, "Reading a token: "));
yychar = yylex ();
}
if (yychar <= YYEOF)
{
yychar = yytoken = YYEOF;
YYDPRINTF ((stderr, "Now at end of input.\n"));
}
else
{
yytoken = YYTRANSLATE (yychar);
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
}
yygetLRActions (yystate, yytoken, &yyaction, &yyconflicts);
while (*yyconflicts != 0)
{
YYRESULTTAG yyflag;
size_t yynewStack = yysplitStack (yystackp, yyk);
YYDPRINTF ((stderr, "Splitting off stack %lu from %lu.\n",
(unsigned long int) yynewStack,
(unsigned long int) yyk));
yyflag = yyglrReduce (yystackp, yynewStack,
*yyconflicts,
yyimmediate[*yyconflicts]);
if (yyflag == yyok)
YYCHK (yyprocessOneStack (yystackp, yynewStack,
yyposn));
else if (yyflag == yyerr)
{
YYDPRINTF ((stderr, "Stack %lu dies.\n",
(unsigned long int) yynewStack));
yymarkStackDeleted (yystackp, yynewStack);
}
else
return yyflag;
yyconflicts += 1;
}
if (yyisShiftAction (yyaction))
break;
else if (yyisErrorAction (yyaction))
{
YYDPRINTF ((stderr, "Stack %lu dies.\n",
(unsigned long int) yyk));
yymarkStackDeleted (yystackp, yyk);
break;
}
else
{
YYRESULTTAG yyflag = yyglrReduce (yystackp, yyk, -yyaction,
yyimmediate[-yyaction]);
if (yyflag == yyerr)
{
YYDPRINTF ((stderr,
"Stack %lu dies "
"(predicate failure or explicit user error).\n",
(unsigned long int) yyk));
yymarkStackDeleted (yystackp, yyk);
break;
}
else if (yyflag != yyok)
return yyflag;
}
}
}
return yyok;
}
static void
yyreportSyntaxError (yyGLRStack* yystackp)
{
if (yystackp->yyerrState != 0)
return;
#if ! YYERROR_VERBOSE
yyerror (YY_("syntax error"));
#else
{
yySymbol yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
size_t yysize0 = yytnamerr (YY_NULLPTR, yytokenName (yytoken));
size_t yysize = yysize0;
yybool yysize_overflow = yyfalse;
char* yymsg = YY_NULLPTR;
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
/* Internationalized format string. */
const char *yyformat = YY_NULLPTR;
/* Arguments of yyformat. */
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
/* Number of reported tokens (one for the "unexpected", one per
"expected"). */
int yycount = 0;
/* There are many possibilities here to consider:
- If this state is a consistent state with a default action, then
the only way this function was invoked is if the default action
is an error action. In that case, don't check for expected
tokens because there are none.
- The only way there can be no lookahead present (in yychar) is if
this state is a consistent state with a default action. Thus,
detecting the absence of a lookahead is sufficient to determine
that there is no unexpected or expected token to report. In that
case, just report a simple "syntax error".
- Don't assume there isn't a lookahead just because this state is a
consistent state with a default action. There might have been a
previous inconsistent state, consistent state with a non-default
action, or user semantic action that manipulated yychar.
- Of course, the expected token list depends on states to have
correct lookahead information, and it depends on the parser not
to perform extra reductions after fetching a lookahead from the
scanner and before detecting a syntax error. Thus, state merging
(from LALR or IELR) and default reductions corrupt the expected
token list. However, the list is correct for canonical LR with
one exception: it will still contain any token that will not be
accepted due to an error action in a later state.
*/
if (yytoken != YYEMPTY)
{
int yyn = yypact[yystackp->yytops.yystates[0]->yylrState];
yyarg[yycount++] = yytokenName (yytoken);
if (!yypact_value_is_default (yyn))
{
/* Start YYX at -YYN if negative to avoid negative indexes in
YYCHECK. In other words, skip the first -YYN actions for this
state because they are default actions. */
int yyxbegin = yyn < 0 ? -yyn : 0;
/* Stay within bounds of both yycheck and yytname. */
int yychecklim = YYLAST - yyn + 1;
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
int yyx;
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
&& !yytable_value_is_error (yytable[yyx + yyn]))
{
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
{
yycount = 1;
yysize = yysize0;
break;
}
yyarg[yycount++] = yytokenName (yyx);
{
size_t yysz = yysize + yytnamerr (YY_NULLPTR, yytokenName (yyx));
yysize_overflow |= yysz < yysize;
yysize = yysz;
}
}
}
}
switch (yycount)
{
#define YYCASE_(N, S) \
case N: \
yyformat = S; \
break
YYCASE_(0, YY_("syntax error"));
YYCASE_(1, YY_("syntax error, unexpected %s"));
YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
#undef YYCASE_
}
{
size_t yysz = yysize + strlen (yyformat);
yysize_overflow |= yysz < yysize;
yysize = yysz;
}
if (!yysize_overflow)
yymsg = (char *) YYMALLOC (yysize);
if (yymsg)
{
char *yyp = yymsg;
int yyi = 0;
while ((*yyp = *yyformat))
{
if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
{
yyp += yytnamerr (yyp, yyarg[yyi++]);
yyformat += 2;
}
else
{
yyp++;
yyformat++;
}
}
yyerror (yymsg);
YYFREE (yymsg);
}
else
{
yyerror (YY_("syntax error"));
yyMemoryExhausted (yystackp);
}
}
#endif /* YYERROR_VERBOSE */
yynerrs += 1;
}
/* Recover from a syntax error on *YYSTACKP, assuming that *YYSTACKP->YYTOKENP,
yylval, and yylloc are the syntactic category, semantic value, and location
of the lookahead. */
static void
yyrecoverSyntaxError (yyGLRStack* yystackp)
{
size_t yyk;
int yyj;
if (yystackp->yyerrState == 3)
/* We just shifted the error token and (perhaps) took some
reductions. Skip tokens until we can proceed. */
while (yytrue)
{
yySymbol yytoken;
if (yychar == YYEOF)
yyFail (yystackp, YY_NULLPTR);
if (yychar != YYEMPTY)
{
yytoken = YYTRANSLATE (yychar);
yydestruct ("Error: discarding",
yytoken, &yylval);
}
YYDPRINTF ((stderr, "Reading a token: "));
yychar = yylex ();
if (yychar <= YYEOF)
{
yychar = yytoken = YYEOF;
YYDPRINTF ((stderr, "Now at end of input.\n"));
}
else
{
yytoken = YYTRANSLATE (yychar);
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
}
yyj = yypact[yystackp->yytops.yystates[0]->yylrState];
if (yypact_value_is_default (yyj))
return;
yyj += yytoken;
if (yyj < 0 || YYLAST < yyj || yycheck[yyj] != yytoken)
{
if (yydefact[yystackp->yytops.yystates[0]->yylrState] != 0)
return;
}
else if (! yytable_value_is_error (yytable[yyj]))
return;
}
/* Reduce to one stack. */
for (yyk = 0; yyk < yystackp->yytops.yysize; yyk += 1)
if (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
break;
if (yyk >= yystackp->yytops.yysize)
yyFail (yystackp, YY_NULLPTR);
for (yyk += 1; yyk < yystackp->yytops.yysize; yyk += 1)
yymarkStackDeleted (yystackp, yyk);
yyremoveDeletes (yystackp);
yycompressStack (yystackp);
/* Now pop stack until we find a state that shifts the error token. */
yystackp->yyerrState = 3;
while (yystackp->yytops.yystates[0] != YY_NULLPTR)
{
yyGLRState *yys = yystackp->yytops.yystates[0];
yyj = yypact[yys->yylrState];
if (! yypact_value_is_default (yyj))
{
yyj += YYTERROR;
if (0 <= yyj && yyj <= YYLAST && yycheck[yyj] == YYTERROR
&& yyisShiftAction (yytable[yyj]))
{
/* Shift the error token. */
YY_SYMBOL_PRINT ("Shifting", yystos[yytable[yyj]],
&yylval, &yyerrloc);
yyglrShift (yystackp, 0, yytable[yyj],
yys->yyposn, &yylval);
yys = yystackp->yytops.yystates[0];
break;
}
}
if (yys->yypred != YY_NULLPTR)
yydestroyGLRState ("Error: popping", yys);
yystackp->yytops.yystates[0] = yys->yypred;
yystackp->yynextFree -= 1;
yystackp->yyspaceLeft += 1;
}
if (yystackp->yytops.yystates[0] == YY_NULLPTR)
yyFail (yystackp, YY_NULLPTR);
}
#define YYCHK1(YYE) \
do { \
switch (YYE) { \
case yyok: \
break; \
case yyabort: \
goto yyabortlab; \
case yyaccept: \
goto yyacceptlab; \
case yyerr: \
goto yyuser_error; \
default: \
goto yybuglab; \
} \
} while (0)
/*----------.
| yyparse. |
`----------*/
int
yyparse (void)
{
int yyresult;
yyGLRStack yystack;
yyGLRStack* const yystackp = &yystack;
size_t yyposn;
YYDPRINTF ((stderr, "Starting parse\n"));
yychar = YYEMPTY;
yylval = yyval_default;
if (! yyinitGLRStack (yystackp, YYINITDEPTH))
goto yyexhaustedlab;
switch (YYSETJMP (yystack.yyexception_buffer))
{
case 0: break;
case 1: goto yyabortlab;
case 2: goto yyexhaustedlab;
default: goto yybuglab;
}
yyglrShift (&yystack, 0, 0, 0, &yylval);
yyposn = 0;
while (yytrue)
{
/* For efficiency, we have two loops, the first of which is
specialized to deterministic operation (single stack, no
potential ambiguity). */
/* Standard mode */
while (yytrue)
{
yyRuleNum yyrule;
int yyaction;
const short int* yyconflicts;
yyStateNum yystate = yystack.yytops.yystates[0]->yylrState;
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
if (yystate == YYFINAL)
goto yyacceptlab;
if (yyisDefaultedState (yystate))
{
yyrule = yydefaultAction (yystate);
if (yyrule == 0)
{
yyreportSyntaxError (&yystack);
goto yyuser_error;
}
YYCHK1 (yyglrReduce (&yystack, 0, yyrule, yytrue));
}
else
{
yySymbol yytoken;
if (yychar == YYEMPTY)
{
YYDPRINTF ((stderr, "Reading a token: "));
yychar = yylex ();
}
if (yychar <= YYEOF)
{
yychar = yytoken = YYEOF;
YYDPRINTF ((stderr, "Now at end of input.\n"));
}
else
{
yytoken = YYTRANSLATE (yychar);
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
}
yygetLRActions (yystate, yytoken, &yyaction, &yyconflicts);
if (*yyconflicts != 0)
break;
if (yyisShiftAction (yyaction))
{
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
yychar = YYEMPTY;
yyposn += 1;
yyglrShift (&yystack, 0, yyaction, yyposn, &yylval);
if (0 < yystack.yyerrState)
yystack.yyerrState -= 1;
}
else if (yyisErrorAction (yyaction))
{
yyreportSyntaxError (&yystack);
goto yyuser_error;
}
else
YYCHK1 (yyglrReduce (&yystack, 0, -yyaction, yytrue));
}
}
while (yytrue)
{
yySymbol yytoken_to_shift;
size_t yys;
for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
yystackp->yytops.yylookaheadNeeds[yys] = yychar != YYEMPTY;
/* yyprocessOneStack returns one of three things:
- An error flag. If the caller is yyprocessOneStack, it
immediately returns as well. When the caller is finally
yyparse, it jumps to an error label via YYCHK1.
- yyok, but yyprocessOneStack has invoked yymarkStackDeleted
(&yystack, yys), which sets the top state of yys to NULL. Thus,
yyparse's following invocation of yyremoveDeletes will remove
the stack.
- yyok, when ready to shift a token.
Except in the first case, yyparse will invoke yyremoveDeletes and
then shift the next token onto all remaining stacks. This
synchronization of the shift (that is, after all preceding
reductions on all stacks) helps prevent double destructor calls
on yylval in the event of memory exhaustion. */
for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
YYCHK1 (yyprocessOneStack (&yystack, yys, yyposn));
yyremoveDeletes (&yystack);
if (yystack.yytops.yysize == 0)
{
yyundeleteLastStack (&yystack);
if (yystack.yytops.yysize == 0)
yyFail (&yystack, YY_("syntax error"));
YYCHK1 (yyresolveStack (&yystack));
YYDPRINTF ((stderr, "Returning to deterministic operation.\n"));
yyreportSyntaxError (&yystack);
goto yyuser_error;
}
/* If any yyglrShift call fails, it will fail after shifting. Thus,
a copy of yylval will already be on stack 0 in the event of a
failure in the following loop. Thus, yychar is set to YYEMPTY
before the loop to make sure the user destructor for yylval isn't
called twice. */
yytoken_to_shift = YYTRANSLATE (yychar);
yychar = YYEMPTY;
yyposn += 1;
for (yys = 0; yys < yystack.yytops.yysize; yys += 1)
{
int yyaction;
const short int* yyconflicts;
yyStateNum yystate = yystack.yytops.yystates[yys]->yylrState;
yygetLRActions (yystate, yytoken_to_shift, &yyaction,
&yyconflicts);
/* Note that yyconflicts were handled by yyprocessOneStack. */
YYDPRINTF ((stderr, "On stack %lu, ", (unsigned long int) yys));
YY_SYMBOL_PRINT ("shifting", yytoken_to_shift, &yylval, &yylloc);
yyglrShift (&yystack, yys, yyaction, yyposn,
&yylval);
YYDPRINTF ((stderr, "Stack %lu now in state #%d\n",
(unsigned long int) yys,
yystack.yytops.yystates[yys]->yylrState));
}
if (yystack.yytops.yysize == 1)
{
YYCHK1 (yyresolveStack (&yystack));
YYDPRINTF ((stderr, "Returning to deterministic operation.\n"));
yycompressStack (&yystack);
break;
}
}
continue;
yyuser_error:
yyrecoverSyntaxError (&yystack);
yyposn = yystack.yytops.yystates[0]->yyposn;
}
yyacceptlab:
yyresult = 0;
goto yyreturn;
yybuglab:
YYASSERT (yyfalse);
goto yyabortlab;
yyabortlab:
yyresult = 1;
goto yyreturn;
yyexhaustedlab:
yyerror (YY_("memory exhausted"));
yyresult = 2;
goto yyreturn;
yyreturn:
if (yychar != YYEMPTY)
yydestruct ("Cleanup: discarding lookahead",
YYTRANSLATE (yychar), &yylval);
/* If the stack is well-formed, pop the stack until it is empty,
destroying its entries as we go. But free the stack regardless
of whether it is well-formed. */
if (yystack.yyitems)
{
yyGLRState** yystates = yystack.yytops.yystates;
if (yystates)
{
size_t yysize = yystack.yytops.yysize;
size_t yyk;
for (yyk = 0; yyk < yysize; yyk += 1)
if (yystates[yyk])
{
while (yystates[yyk])
{
yyGLRState *yys = yystates[yyk];
if (yys->yypred != YY_NULLPTR)
yydestroyGLRState ("Cleanup: popping", yys);
yystates[yyk] = yys->yypred;
yystack.yynextFree -= 1;
yystack.yyspaceLeft += 1;
}
break;
}
}
yyfreeGLRStack (&yystack);
}
return yyresult;
}
/* DEBUGGING ONLY */
#if YYDEBUG
static void
yy_yypstack (yyGLRState* yys)
{
if (yys->yypred)
{
yy_yypstack (yys->yypred);
YYFPRINTF (stderr, " -> ");
}
YYFPRINTF (stderr, "%d@%lu", yys->yylrState,
(unsigned long int) yys->yyposn);
}
static void
yypstates (yyGLRState* yyst)
{
if (yyst == YY_NULLPTR)
YYFPRINTF (stderr, "");
else
yy_yypstack (yyst);
YYFPRINTF (stderr, "\n");
}
static void
yypstack (yyGLRStack* yystackp, size_t yyk)
{
yypstates (yystackp->yytops.yystates[yyk]);
}
#define YYINDEX(YYX) \
((YYX) == YY_NULLPTR ? -1 : (yyGLRStackItem*) (YYX) - yystackp->yyitems)
static void
yypdumpstack (yyGLRStack* yystackp)
{
yyGLRStackItem* yyp;
size_t yyi;
for (yyp = yystackp->yyitems; yyp < yystackp->yynextFree; yyp += 1)
{
YYFPRINTF (stderr, "%3lu. ",
(unsigned long int) (yyp - yystackp->yyitems));
if (*(yybool *) yyp)
{
YYASSERT (yyp->yystate.yyisState);
YYASSERT (yyp->yyoption.yyisState);
YYFPRINTF (stderr, "Res: %d, LR State: %d, posn: %lu, pred: %ld",
yyp->yystate.yyresolved, yyp->yystate.yylrState,
(unsigned long int) yyp->yystate.yyposn,
(long int) YYINDEX (yyp->yystate.yypred));
if (! yyp->yystate.yyresolved)
YYFPRINTF (stderr, ", firstVal: %ld",
(long int) YYINDEX (yyp->yystate
.yysemantics.yyfirstVal));
}
else
{
YYASSERT (!yyp->yystate.yyisState);
YYASSERT (!yyp->yyoption.yyisState);
YYFPRINTF (stderr, "Option. rule: %d, state: %ld, next: %ld",
yyp->yyoption.yyrule - 1,
(long int) YYINDEX (yyp->yyoption.yystate),
(long int) YYINDEX (yyp->yyoption.yynext));
}
YYFPRINTF (stderr, "\n");
}
YYFPRINTF (stderr, "Tops:");
for (yyi = 0; yyi < yystackp->yytops.yysize; yyi += 1)
YYFPRINTF (stderr, "%lu: %ld; ", (unsigned long int) yyi,
(long int) YYINDEX (yystackp->yytops.yystates[yyi]));
YYFPRINTF (stderr, "\n");
}
#endif
#undef yylval
#undef yychar
#undef yynerrs
#include
#include "lex.yy.c"
/* fill in the type name if none given */
const char *type_class(unsigned int type, const char *classname)
{
if (classname)
{
if (classname[0] == '\0')
{
switch ((type & VTK_PARSE_BASE_TYPE))
{
case 0:
classname = "auto";
break;
case VTK_PARSE_VOID:
classname = "void";
break;
case VTK_PARSE_BOOL:
classname = "bool";
break;
case VTK_PARSE_FLOAT:
classname = "float";
break;
case VTK_PARSE_DOUBLE:
classname = "double";
break;
case VTK_PARSE_LONG_DOUBLE:
classname = "long double";
break;
case VTK_PARSE_CHAR:
classname = "char";
break;
case VTK_PARSE_CHAR16_T:
classname = "char16_t";
break;
case VTK_PARSE_CHAR32_T:
classname = "char32_t";
break;
case VTK_PARSE_WCHAR_T:
classname = "wchar_t";
break;
case VTK_PARSE_UNSIGNED_CHAR:
classname = "unsigned char";
break;
case VTK_PARSE_SIGNED_CHAR:
classname = "signed char";
break;
case VTK_PARSE_SHORT:
classname = "short";
break;
case VTK_PARSE_UNSIGNED_SHORT:
classname = "unsigned short";
break;
case VTK_PARSE_INT:
classname = "int";
break;
case VTK_PARSE_UNSIGNED_INT:
classname = "unsigned int";
break;
case VTK_PARSE_LONG:
classname = "long";
break;
case VTK_PARSE_UNSIGNED_LONG:
classname = "unsigned long";
break;
case VTK_PARSE_LONG_LONG:
classname = "long long";
break;
case VTK_PARSE_UNSIGNED_LONG_LONG:
classname = "unsigned long long";
break;
case VTK_PARSE___INT64:
classname = "__int64";
break;
case VTK_PARSE_UNSIGNED___INT64:
classname = "unsigned __int64";
break;
}
}
}
return classname;
}
/* check whether this is the class we are looking for */
void start_class(const char *classname, int is_struct_or_union)
{
ClassInfo *outerClass = currentClass;
pushClass();
currentClass = (ClassInfo *)malloc(sizeof(ClassInfo));
vtkParse_InitClass(currentClass);
currentClass->Name = classname;
if (is_struct_or_union == 1)
{
currentClass->ItemType = VTK_STRUCT_INFO;
}
if (is_struct_or_union == 2)
{
currentClass->ItemType = VTK_UNION_INFO;
}
if (classname && classname[0] != '\0')
{
/* if name of class being defined contains "::" or "<..>", then skip it */
const char *cp = classname;
while (*cp != '\0' && *cp != ':' && *cp != '>')
{
cp++;
}
if (*cp == '\0')
{
if (outerClass)
{
vtkParse_AddClassToClass(outerClass, currentClass);
}
else
{
vtkParse_AddClassToNamespace(currentNamespace, currentClass);
}
}
}
/* template information */
if (currentTemplate)
{
currentClass->Template = currentTemplate;
currentTemplate = NULL;
}
/* comment, if any */
currentClass->Comment = vtkstrdup(getComment());
access_level = VTK_ACCESS_PRIVATE;
if (is_struct_or_union)
{
access_level = VTK_ACCESS_PUBLIC;
}
vtkParse_InitFunction(currentFunction);
startSig();
clearComment();
}
/* reached the end of a class definition */
void end_class(void)
{
/* add default constructors */
vtkParse_AddDefaultConstructors(currentClass, data->Strings);
popClass();
}
/* add a base class to the specified class */
void add_base_class(ClassInfo *cls, const char *name, int al,
unsigned int extra)
{
/* "extra" can contain VTK_PARSE_VIRTUAL and VTK_PARSE_PACK */
if (cls && al == VTK_ACCESS_PUBLIC &&
(extra & VTK_PARSE_VIRTUAL) == 0 &&
(extra & VTK_PARSE_PACK) == 0)
{
vtkParse_AddStringToArray(&cls->SuperClasses,
&cls->NumberOfSuperClasses,
name);
}
}
/* add a using declaration or directive */
void add_using(const char *name, int is_namespace)
{
size_t i;
UsingInfo *item;
item = (UsingInfo *)malloc(sizeof(UsingInfo));
vtkParse_InitUsing(item);
if (is_namespace)
{
item->Name = NULL;
item->Scope = name;
}
else
{
i = strlen(name);
while (i > 0 && name[i-1] != ':') { i--; }
item->Name = vtkstrdup(&name[i]);
while (i > 0 && name[i-1] == ':') { i--; }
item->Scope = vtkstrndup(name, i);
item->Access = access_level;
}
if (currentClass)
{
vtkParse_AddUsingToClass(currentClass, item);
}
else
{
vtkParse_AddUsingToNamespace(currentNamespace, item);
}
}
/* start a new enum */
void start_enum(const char *name, int is_scoped,
unsigned int type, const char *basename)
{
EnumInfo *item;
currentEnumType = (type ? type : VTK_PARSE_INT);
currentEnumName = "int";
currentEnumValue = NULL;
if (type == 0 && is_scoped)
{
type = VTK_PARSE_INT;
}
if (name)
{
currentEnumName = name;
item = (EnumInfo *)malloc(sizeof(EnumInfo));
vtkParse_InitEnum(item);
item->Name = name;
item->Comment = vtkstrdup(getComment());
item->Access = access_level;
if (currentClass)
{
vtkParse_AddEnumToClass(currentClass, item);
}
else
{
vtkParse_AddEnumToNamespace(currentNamespace, item);
}
if (type)
{
vtkParse_AddStringToArray(&item->SuperClasses,
&item->NumberOfSuperClasses,
type_class(type, basename));
}
if (is_scoped)
{
pushClass();
currentClass = item;
}
}
}
/* finish the enum */
void end_enum(void)
{
if (currentClass && currentClass->ItemType == VTK_ENUM_INFO)
{
popClass();
}
currentEnumName = NULL;
currentEnumValue = NULL;
}
/* add a constant to the enum */
void add_enum(const char *name, const char *value)
{
static char text[2048];
int i;
long j;
if (value)
{
strcpy(text, value);
currentEnumValue = value;
}
else if (currentEnumValue)
{
i = strlen(text);
while (i > 0 && text[i-1] >= '0' &&
text[i-1] <= '9') { i--; }
if (i == 0 || text[i-1] == ' ' ||
(i > 1 && text[i-2] == ' ' &&
(text[i-1] == '-' || text[i-1] == '+')))
{
if (i > 0 && text[i-1] != ' ')
{
i--;
}
j = (int)strtol(&text[i], NULL, 10);
sprintf(&text[i], "%li", j+1);
}
else
{
i = strlen(text);
strcpy(&text[i], " + 1");
}
currentEnumValue = vtkstrdup(text);
}
else
{
strcpy(text, "0");
currentEnumValue = "0";
}
add_constant(name, currentEnumValue, currentEnumType, currentEnumName, 2);
}
/* for a macro constant, guess the constant type, doesn't do any math */
unsigned int guess_constant_type(const char *valstring)
{
unsigned int valtype = 0;
size_t k;
int i;
int is_name = 0;
if (valstring == NULL || valstring[0] == '\0')
{
return 0;
}
k = vtkParse_SkipId(valstring);
if (valstring[k] == '\0')
{
is_name = 1;
}
if (strcmp(valstring, "true") == 0 || strcmp(valstring, "false") == 0)
{
return VTK_PARSE_BOOL;
}
if (strcmp(valstring, "nullptr") == 0 || strcmp(valstring, "NULL") == 0)
{
return VTK_PARSE_NULLPTR_T;
}
if (valstring[0] == '\'')
{
return VTK_PARSE_CHAR;
}
if (strncmp(valstring, "VTK_TYPE_CAST(", 14) == 0 ||
strncmp(valstring, "static_cast<", 12) == 0 ||
strncmp(valstring, "const_cast<", 11) == 0 ||
strncmp(valstring, "(", 1) == 0)
{
const char *cp;
size_t n;
int is_unsigned = 0;
cp = &valstring[1];
if (valstring[0] == 'c')
{
cp = &valstring[11];
}
else if (valstring[0] == 's')
{
cp = &valstring[12];
}
else if (valstring[0] == 'V')
{
cp = &valstring[14];
}
if (strncmp(cp, "unsigned ", 9) == 0)
{
is_unsigned = 1;
cp += 9;
}
n = strlen(cp);
for (k = 0; k < n && cp[k] != ',' &&
cp[k] != '>' && cp[k] != ')'; k++) { ; };
if (strncmp(cp, "long long", k) == 0)
{ valtype = VTK_PARSE_LONG_LONG; }
else if (strncmp(cp, "__int64", k) == 0)
{ valtype = VTK_PARSE___INT64; }
else if (strncmp(cp, "long", k) == 0)
{ valtype = VTK_PARSE_LONG; }
else if (strncmp(cp, "short", k) == 0)
{ valtype = VTK_PARSE_SHORT; }
else if (strncmp(cp, "signed char", k) == 0)
{ valtype = VTK_PARSE_SIGNED_CHAR; }
else if (strncmp(cp, "char", k) == 0)
{ valtype = VTK_PARSE_CHAR; }
else if (strncmp(cp, "int", k) == 0 ||
strncmp(cp, "signed", k) == 0)
{ valtype = VTK_PARSE_INT; }
else if (strncmp(cp, "float", k) == 0)
{ valtype = VTK_PARSE_FLOAT; }
else if (strncmp(cp, "double", k) == 0)
{ valtype = VTK_PARSE_DOUBLE; }
else if (strncmp(cp, "char *", k) == 0)
{ valtype = VTK_PARSE_CHAR_PTR; }
if (is_unsigned)
{
if (valtype == 0) { valtype = VTK_PARSE_INT; }
valtype = (valtype | VTK_PARSE_UNSIGNED);
}
if (valtype != 0)
{
return valtype;
}
}
/* check the current scope */
if (is_name)
{
NamespaceInfo *scope = currentNamespace;
if (namespaceDepth > 0)
{
scope = namespaceStack[0];
}
for (i = 0; i < scope->NumberOfConstants; i++)
{
if (strcmp(scope->Constants[i]->Name, valstring) == 0)
{
return scope->Constants[i]->Type;
}
}
}
/* check for preprocessor macros */
if (is_name)
{
MacroInfo *macro = vtkParsePreprocess_GetMacro(
preprocessor, valstring);
if (macro && !macro->IsFunction)
{
return guess_constant_type(macro->Definition);
}
}
/* fall back to the preprocessor to evaluate the constant */
{
preproc_int_t val;
int is_unsigned;
int result = vtkParsePreprocess_EvaluateExpression(
preprocessor, valstring, &val, &is_unsigned);
if (result == VTK_PARSE_PREPROC_DOUBLE)
{
return VTK_PARSE_DOUBLE;
}
else if (result == VTK_PARSE_PREPROC_FLOAT)
{
return VTK_PARSE_FLOAT;
}
else if (result == VTK_PARSE_PREPROC_STRING)
{
return VTK_PARSE_CHAR_PTR;
}
else if (result == VTK_PARSE_OK)
{
if (is_unsigned)
{
if ((preproc_uint_t)val <= VTK_UNSIGNED_INT_MAX)
{
return VTK_PARSE_UNSIGNED_INT;
}
else
{
return VTK_PARSE_UNSIGNED_LONG_LONG;
}
}
else
{
if (val >= VTK_INT_MIN && val <= VTK_INT_MAX)
{
return VTK_PARSE_INT;
}
else
{
return VTK_PARSE_LONG_LONG;
}
}
}
}
return 0;
}
/* add a constant to the current class or namespace */
void add_constant(const char *name, const char *value,
unsigned int type, const char *typeclass, int flag)
{
ValueInfo *con = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(con);
con->ItemType = VTK_CONSTANT_INFO;
con->Name = name;
con->Comment = vtkstrdup(getComment());
con->Value = value;
con->Type = type;
con->Class = type_class(type, typeclass);
if (flag == 2)
{
con->IsEnum = 1;
}
if (flag == 1)
{
/* actually a macro, need to guess the type */
ValueInfo **cptr = data->Contents->Constants;
int n = data->Contents->NumberOfConstants;
int i;
con->Access = VTK_ACCESS_PUBLIC;
if (con->Type == 0)
{
con->Type = guess_constant_type(con->Value);
}
for (i = 0; i < n; i++)
{
if (strcmp(cptr[i]->Name, con->Name) == 0)
{
break;
}
}
if (i == n)
{
vtkParse_AddConstantToNamespace(data->Contents, con);
}
else
{
vtkParse_FreeValue(con);
}
}
else if (currentClass)
{
con->Access = access_level;
vtkParse_AddConstantToClass(currentClass, con);
}
else
{
con->Access = VTK_ACCESS_PUBLIC;
vtkParse_AddConstantToNamespace(currentNamespace, con);
}
}
/* if the name is a const in this namespace, then scope it */
const char *add_const_scope(const char *name)
{
static char text[256];
NamespaceInfo *scope = currentNamespace;
TemplateInfo *tparams;
const char *classname;
int i, j;
int addscope = 0;
strcpy(text, name);
if (currentClass)
{
for (j = 0; j < currentClass->NumberOfConstants; j++)
{
if (strcmp(currentClass->Constants[j]->Name, text) == 0)
{
classname = currentClass->Name;
tparams = currentClass->Template;
if (tparams)
{
classname = vtkstrcat(classname, "<");
for (i = 0; i < tparams->NumberOfParameters; i++)
{
if (i != 0)
{
classname = vtkstrcat(classname, ",");
}
classname = vtkstrcat(classname, tparams->Parameters[i]->Name);
}
classname = vtkstrcat(classname, ">");
}
prepend_scope(text, classname);
addscope = 1;
break;
}
}
}
i = namespaceDepth;
while (scope && scope->Name)
{
if (addscope)
{
prepend_scope(text, scope->Name);
}
else
{
for (j = 0; j < scope->NumberOfConstants; j++)
{
if (strcmp(scope->Constants[j]->Name, text) == 0)
{
prepend_scope(text, scope->Name);
addscope = 1;
break;
}
}
}
scope = 0;
if (i > 0)
{
scope = namespaceStack[--i];
}
}
return text;
}
/* guess the type from the ID */
unsigned int guess_id_type(const char *cp)
{
unsigned int t = 0;
if (cp)
{
size_t i;
const char *dp;
i = strlen(cp);
while (i > 0 && cp[i-1] != ':') { i--; }
dp = &cp[i];
if (strcmp(dp, "vtkStdString") == 0 ||
strcmp(cp, "std::string") == 0)
{
t = VTK_PARSE_STRING;
}
else if (strcmp(dp, "vtkUnicodeString") == 0)
{
t = VTK_PARSE_UNICODE_STRING;
}
else if (strncmp(dp, "vtk", 3) == 0)
{
t = VTK_PARSE_OBJECT;
}
else if (strncmp(dp, "Q", 1) == 0 ||
strncmp(cp, "Qt::", 4) == 0)
{
t = VTK_PARSE_QOBJECT;
}
else
{
t = VTK_PARSE_UNKNOWN;
}
}
return t;
}
/* add a template parameter to the current template */
void add_template_parameter(
unsigned int datatype, unsigned int extra, const char *funcSig)
{
ValueInfo *param = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(param);
handle_complex_type(param, datatype, extra, funcSig);
param->Name = getVarName();
vtkParse_AddParameterToTemplate(currentTemplate, param);
}
/* add a parameter to a function */
void add_parameter(FunctionInfo *func, unsigned int type,
const char *typeclass, int count)
{
char text[64];
ValueInfo *param = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(param);
param->Type = type;
param->Class = type_class(type, typeclass);
if (count)
{
param->Count = count;
sprintf(text, "%i", count);
vtkParse_AddStringToArray(¶m->Dimensions, ¶m->NumberOfDimensions,
vtkstrdup(text));
}
add_legacy_parameter(func, param);
vtkParse_AddParameterToFunction(func, param);
}
/* set the return type for the current function */
void set_return(FunctionInfo *func, unsigned int type,
const char *typeclass, int count)
{
char text[64];
ValueInfo *val = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(val);
val->Type = type;
val->Class = type_class(type, typeclass);
if (count)
{
val->Count = count;
sprintf(text, "%i", count);
vtkParse_AddStringToArray(&val->Dimensions, &val->NumberOfDimensions,
vtkstrdup(text));
}
func->ReturnValue = val;
#ifndef VTK_PARSE_LEGACY_REMOVE
func->ReturnType = val->Type;
func->ReturnClass = val->Class;
func->HaveHint = (count > 0);
func->HintSize = count;
#endif
}
int count_from_dimensions(ValueInfo *val)
{
int count, i, n;
const char *cp;
/* count is the product of the dimensions */
count = 0;
if (val->NumberOfDimensions)
{
count = 1;
for (i = 0; i < val->NumberOfDimensions; i++)
{
n = 0;
cp = val->Dimensions[i];
if (cp[0] != '\0')
{
while (*cp != '\0' && *cp >= '0' && *cp <= '9') { cp++; }
while (*cp != '\0' && (*cp == 'u' || *cp == 'l' ||
*cp == 'U' || *cp == 'L')) { cp++; }
if (*cp == '\0')
{
n = (int)strtol(val->Dimensions[i], NULL, 0);
}
}
count *= n;
}
}
return count;
}
/* deal with types that include function pointers or arrays */
void handle_complex_type(
ValueInfo *val, unsigned int datatype, unsigned int extra,
const char *funcSig)
{
FunctionInfo *func = 0;
/* remove specifiers like "friend" and "typedef" */
datatype &= VTK_PARSE_QUALIFIED_TYPE;
/* remove the pack specifier caused by "..." */
if ((extra & VTK_PARSE_PACK) != 0)
{
val->IsPack = 1;
extra ^= VTK_PARSE_PACK;
}
/* if "extra" was set, parentheses were involved */
if ((extra & VTK_PARSE_BASE_TYPE) == VTK_PARSE_FUNCTION)
{
/* the current type becomes the function return type */
func = getFunction();
func->ReturnValue = (ValueInfo *)malloc(sizeof(ValueInfo));
vtkParse_InitValue(func->ReturnValue);
func->ReturnValue->Type = datatype;
func->ReturnValue->Class = type_class(datatype, getTypeId());
if (funcSig) { func->Signature = vtkstrdup(funcSig); }
val->Function = func;
#ifndef VTK_PARSE_LEGACY_REMOVE
func->ReturnType = func->ReturnValue->Type;
func->ReturnClass = func->ReturnValue->Class;
#endif
/* the val type is whatever was inside the parentheses */
clearTypeId();
setTypeId(func->Class ? "method" : "function");
datatype = (extra & (VTK_PARSE_UNQUALIFIED_TYPE | VTK_PARSE_RVALUE));
}
else if ((extra & VTK_PARSE_INDIRECT) == VTK_PARSE_BAD_INDIRECT)
{
datatype = (datatype | VTK_PARSE_BAD_INDIRECT);
}
else if ((extra & VTK_PARSE_INDIRECT) != 0)
{
extra = (extra & (VTK_PARSE_INDIRECT | VTK_PARSE_RVALUE));
if ((extra & VTK_PARSE_REF) != 0)
{
datatype = (datatype | (extra & (VTK_PARSE_REF | VTK_PARSE_RVALUE)));
extra = (extra & ~(VTK_PARSE_REF | VTK_PARSE_RVALUE));
}
if (extra != 0 && getArrayNDims() > 0)
{
/* pointer represents an unsized array bracket */
datatype = add_indirection(datatype, VTK_PARSE_ARRAY);
extra = ((extra >> 2) & VTK_PARSE_POINTER_MASK);
}
datatype = add_indirection(datatype, extra);
}
if (getArrayNDims() == 1)
{
if ((datatype & VTK_PARSE_POINTER_LOWMASK) != VTK_PARSE_ARRAY)
{
/* turn the first set of brackets into a pointer */
datatype = add_indirection(datatype, VTK_PARSE_POINTER);
}
else
{
pushArrayFront("");
}
}
else if (getArrayNDims() > 1)
{
if ((datatype & VTK_PARSE_POINTER_LOWMASK) != VTK_PARSE_ARRAY)
{
/* turn the first set of brackets into a pointer */
datatype = add_indirection(datatype, VTK_PARSE_ARRAY);
}
else
{
pushArrayFront("");
}
}
/* get the data type */
val->Type = datatype;
val->Class = type_class(datatype, getTypeId());
/* copy contents of all brackets to the ArgDimensions */
val->NumberOfDimensions = getArrayNDims();
val->Dimensions = getArray();
clearArray();
/* count is the product of the dimensions */
val->Count = count_from_dimensions(val);
}
/* handle [[attributes]] */
void handle_attribute(const char *att, int pack)
{
/* the role means "this is what the attribute applies to" */
int role = getAttributeRole();
size_t l = 0;
size_t la = 0;
const char *args = NULL;
if (!att)
{
return;
}
/* append the prefix from the "using" statement */
if (getAttributePrefix())
{
att = vtkstrcat(getAttributePrefix(), att);
}
/* search for arguments */
l = vtkParse_SkipId(att);
while (att[l] == ':' && att[l+1] == ':')
{
l += 2;
l += vtkParse_SkipId(&att[l]);
}
if (att[l] == '(')
{
/* strip the parentheses and whitespace from the args */
args = &att[l+1];
while (*args == ' ') { args++; }
la = strlen(args);
while (la > 0 && args[la-1] == ' ') { la--; }
if (la > 0 && args[la-1] == ')') { la--; }
while (la > 0 && args[la-1] == ' ') { la--; }
}
/* check for namespace */
if (strncmp(att, "vtk::", 5) == 0)
{
if (pack)
{
/* no current vtk attributes use '...' */
print_parser_error("attribute takes no ...", att, l);
exit(1);
}
else if (l == 16 && strncmp(att, "vtk::newinstance", l) == 0 &&
!args && role == VTK_PARSE_ATTRIB_DECL)
{
setTypeMod(VTK_PARSE_NEWINSTANCE);
}
else if (l == 13 && strncmp(att, "vtk::zerocopy", l) == 0 &&
!args && role == VTK_PARSE_ATTRIB_DECL)
{
setTypeMod(VTK_PARSE_ZEROCOPY);
}
else if (l == 12 && strncmp(att, "vtk::expects", l) == 0 &&
args && role == VTK_PARSE_ATTRIB_FUNC)
{
/* add to the preconditions */
vtkParse_AddStringToArray(¤tFunction->Preconds,
¤tFunction->NumberOfPreconds,
vtkstrndup(args, la));
}
else if (l == 13 && strncmp(att, "vtk::sizehint", l) == 0 &&
args && role == VTK_PARSE_ATTRIB_FUNC)
{
/* first arg is parameter name, unless return value hint */
ValueInfo *arg = currentFunction->ReturnValue;
size_t n = vtkParse_SkipId(args);
preproc_int_t count;
int is_unsigned;
int i;
l = n;
while (args[n] == ' ') { n++; }
if (l > 0 && args[n] == ',')
{
do { n++; } while (args[n] == ' ');
/* find the named parameter */
for (i = 0; i < currentFunction->NumberOfParameters; i++)
{
arg = currentFunction->Parameters[i];
if (arg->Name && strlen(arg->Name) == l &&
strncmp(arg->Name, args, l) == 0)
{
break;
}
}
if (i == currentFunction->NumberOfParameters)
{
print_parser_error("unrecognized parameter name", args, l);
exit(1);
}
/* advance args to second attribute arg */
args += n;
la -= n;
}
/* set the size hint */
arg->CountHint = vtkstrndup(args, la);
/* see if hint is an integer */
if (VTK_PARSE_OK == vtkParsePreprocess_EvaluateExpression(
preprocessor, arg->CountHint, &count, &is_unsigned))
{
if (count > 0 && count < 127)
{
arg->CountHint = NULL;
arg->Count = (int)count;
#ifndef VTK_PARSE_LEGACY_REMOVE
if (arg == currentFunction->ReturnValue)
{
currentFunction->HaveHint = 1;
currentFunction->HintSize = arg->Count;
}
#endif
}
}
}
else
{
print_parser_error("attribute cannot be used here", att, l);
exit(1);
}
}
}
/* add a parameter to the legacy part of the FunctionInfo struct */
void add_legacy_parameter(FunctionInfo *func, ValueInfo *param)
{
#ifndef VTK_PARSE_LEGACY_REMOVE
int i = func->NumberOfArguments;
if (i < MAX_ARGS)
{
func->NumberOfArguments = i + 1;
func->ArgTypes[i] = param->Type;
func->ArgClasses[i] = param->Class;
func->ArgCounts[i] = param->Count;
/* legacy wrappers need VTK_PARSE_FUNCTION without POINTER */
if (param->Type == VTK_PARSE_FUNCTION_PTR)
{
/* check for signature "void (*func)(void *)" */
if (param->Function->NumberOfParameters == 1 &&
param->Function->Parameters[0]->Type == VTK_PARSE_VOID_PTR &&
param->Function->Parameters[0]->NumberOfDimensions == 0 &&
param->Function->ReturnValue->Type == VTK_PARSE_VOID)
{
func->ArgTypes[i] = VTK_PARSE_FUNCTION;
}
}
}
else
{
func->ArrayFailure = 1;
}
#endif
}
/* reject the function, do not output it */
void reject_function()
{
vtkParse_InitFunction(currentFunction);
startSig();
getMacro();
}
/* a simple routine that updates a few variables */
void output_function()
{
const char *macro = getMacro();
size_t n;
int i, j;
int match;
/* reject template specializations */
n = strlen(currentFunction->Name);
if (currentFunction->Name[n-1] == '>')
{
/* make sure there is a matching angle bracket */
while (n > 0 && currentFunction->Name[n-1] != '<') { n--; }
if (n > 0)
{
reject_function();
return;
}
}
/* friend */
if (currentFunction->ReturnValue &&
currentFunction->ReturnValue->Type & VTK_PARSE_FRIEND)
{
currentFunction->ReturnValue->Type ^= VTK_PARSE_FRIEND;
output_friend_function();
return;
}
/* typedef */
if (currentFunction->ReturnValue &&
currentFunction->ReturnValue->Type & VTK_PARSE_TYPEDEF)
{
/* for now, reject it instead of turning a method into a typedef */
currentFunction->ReturnValue->Type ^= VTK_PARSE_TYPEDEF;
reject_function();
return;
}
/* static */
if (currentFunction->ReturnValue &&
currentFunction->ReturnValue->Type & VTK_PARSE_STATIC)
{
currentFunction->IsStatic = 1;
}
/* virtual */
if (currentFunction->ReturnValue &&
currentFunction->ReturnValue->Type & VTK_PARSE_VIRTUAL)
{
currentFunction->IsVirtual = 1;
}
/* the signature */
if (!currentFunction->Signature)
{
currentFunction->Signature = getSig();
}
/* template information */
if (currentTemplate)
{
currentFunction->Template = currentTemplate;
currentTemplate = NULL;
}
/* a void argument is the same as no parameters */
if (currentFunction->NumberOfParameters == 1 &&
(currentFunction->Parameters[0]->Type & VTK_PARSE_UNQUALIFIED_TYPE) ==
VTK_PARSE_VOID)
{
currentFunction->NumberOfParameters = 0;
}
/* is it defined in a legacy macro? */
if (macro && strcmp(macro, "VTK_LEGACY") == 0)
{
currentFunction->IsLegacy = 1;
}
/* set public, protected */
if (currentClass)
{
currentFunction->Access = access_level;
}
else
{
currentFunction->Access = VTK_ACCESS_PUBLIC;
}
#ifndef VTK_PARSE_LEGACY_REMOVE
/* a void argument is the same as no parameters */
if (currentFunction->NumberOfArguments == 1 &&
(currentFunction->ArgTypes[0] & VTK_PARSE_UNQUALIFIED_TYPE) ==
VTK_PARSE_VOID)
{
currentFunction->NumberOfArguments = 0;
}
/* if return type is void, set return class to void */
if (currentFunction->ReturnClass == NULL &&
(currentFunction->ReturnType & VTK_PARSE_UNQUALIFIED_TYPE) ==
VTK_PARSE_VOID)
{
currentFunction->ReturnClass = "void";
}
/* set legacy flags */
if (currentClass)
{
currentFunction->IsPublic = (access_level == VTK_ACCESS_PUBLIC);
currentFunction->IsProtected = (access_level == VTK_ACCESS_PROTECTED);
}
else
{
currentFunction->IsPublic = 1;
currentFunction->IsProtected = 0;
}
/* check for too many parameters */
if (currentFunction->NumberOfParameters > MAX_ARGS)
{
currentFunction->ArrayFailure = 1;
}
for (i = 0; i < currentFunction->NumberOfParameters; i++)
{
ValueInfo *param = currentFunction->Parameters[i];
/* tell old wrappers that multi-dimensional arrays are bad */
if ((param->Type & VTK_PARSE_POINTER_MASK) != 0)
{
if (((param->Type & VTK_PARSE_INDIRECT) == VTK_PARSE_BAD_INDIRECT) ||
((param->Type & VTK_PARSE_POINTER_LOWMASK) != VTK_PARSE_POINTER))
{
currentFunction->ArrayFailure = 1;
}
}
/* allow only "void (*func)(void *)" as a valid function pointer */
if ((param->Type & VTK_PARSE_BASE_TYPE) == VTK_PARSE_FUNCTION)
{
if (i != 0 || param->Type != VTK_PARSE_FUNCTION_PTR ||
currentFunction->NumberOfParameters != 2 ||
currentFunction->Parameters[1]->Type != VTK_PARSE_VOID_PTR ||
param->Function->NumberOfParameters != 1 ||
param->Function->Parameters[0]->Type != VTK_PARSE_VOID_PTR ||
param->Function->Parameters[0]->NumberOfDimensions != 0 ||
param->Function->ReturnValue->Type != VTK_PARSE_VOID)
{
currentFunction->ArrayFailure = 1;
}
}
}
#endif /* VTK_PARSE_LEGACY_REMOVE */
if (currentClass)
{
/* is it a delete function */
if (currentFunction->Name && !strcmp("Delete",currentFunction->Name))
{
currentClass->HasDelete = 1;
}
currentFunction->Class = currentClass->Name;
vtkParse_AddFunctionToClass(currentClass, currentFunction);
currentFunction = (FunctionInfo *)malloc(sizeof(FunctionInfo));
}
else
{
/* make sure this function isn't a repeat */
match = 0;
for (i = 0; i < currentNamespace->NumberOfFunctions; i++)
{
if (currentNamespace->Functions[i]->Name &&
strcmp(currentNamespace->Functions[i]->Name,
currentFunction->Name) == 0)
{
if (currentNamespace->Functions[i]->NumberOfParameters ==
currentFunction->NumberOfParameters)
{
for (j = 0; j < currentFunction->NumberOfParameters; j++)
{
if (currentNamespace->Functions[i]->Parameters[j]->Type ==
currentFunction->Parameters[j]->Type)
{
if (currentFunction->Parameters[j]->Type == VTK_PARSE_OBJECT &&
strcmp(currentNamespace->Functions[i]->Parameters[j]->Class,
currentFunction->Parameters[j]->Class) == 0)
{
break;
}
}
}
if (j == currentFunction->NumberOfParameters)
{
match = 1;
break;
}
}
}
}
if (!match)
{
vtkParse_AddFunctionToNamespace(currentNamespace, currentFunction);
currentFunction = (FunctionInfo *)malloc(sizeof(FunctionInfo));
}
}
vtkParse_InitFunction(currentFunction);
startSig();
}
/* output a function that is not a method of the current class */
void output_friend_function()
{
ClassInfo *tmpc = currentClass;
currentClass = NULL;
output_function();
currentClass = tmpc;
}
void outputSetVectorMacro(const char *var, unsigned int paramType,
const char *typeText, int n)
{
static const char *mnames[] = {
NULL, NULL,
"vtkSetVector2Macro", "vtkSetVector3Macro", "vtkSetVector4Macro",
NULL,
"vtkSetVector6Macro",
NULL };
char ntext[32];
int i, m;
m = (n > 7 ? 0 : n);
sprintf(ntext, "%i", n);
currentFunction->Macro = mnames[m];
currentFunction->Name = vtkstrcat("Set", var);
startSig();
postSig("void ");
postSig(currentFunction->Name);
postSig("(");
postSig(typeText);
for (i = 1; i < n; i++)
{
postSig(", ");
postSig(typeText);
}
postSig(");");
for (i = 0; i < n; i++)
{
add_parameter(currentFunction, paramType, getTypeId(), 0);
}
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
currentFunction->Macro = mnames[m];
currentFunction->Name = vtkstrcat("Set", var);
currentFunction->Signature =
vtkstrcat7("void ", currentFunction->Name, "(", typeText,
" a[", ntext, "]);");
add_parameter(currentFunction, (VTK_PARSE_POINTER | paramType),
getTypeId(), n);
set_return(currentFunction, VTK_PARSE_VOID, "void", 0);
output_function();
}
void outputGetVectorMacro(const char *var, unsigned int paramType,
const char *typeText, int n)
{
static const char *mnames[] = {
NULL, NULL,
"vtkGetVector2Macro", "vtkGetVector3Macro", "vtkGetVector4Macro",
NULL,
"vtkGetVector6Macro",
NULL };
int m;
m = (n > 7 ? 0 : n);
currentFunction->Macro = mnames[m];
currentFunction->Name = vtkstrcat("Get", var);
currentFunction->Signature =
vtkstrcat4(typeText, " *", currentFunction->Name, "();");
set_return(currentFunction, (VTK_PARSE_POINTER | paramType), getTypeId(), n);
output_function();
}
/* Set a flag to recurse into included files */
void vtkParse_SetRecursive(int option)
{
if (option)
{
Recursive = 1;
}
else
{
Recursive = 0;
}
}
/* Set the global variable that stores the current executable */
void vtkParse_SetCommandName(const char *name)
{
CommandName = name;
}
/* Parse a header file and return a FileInfo struct */
FileInfo *vtkParse_ParseFile(
const char *filename, FILE *ifile, FILE *errfile)
{
int i, j;
int ret;
FileInfo *file_info;
char *main_class;
/* "data" is a global variable used by the parser */
data = (FileInfo *)malloc(sizeof(FileInfo));
vtkParse_InitFile(data);
data->Strings = (StringCache *)malloc(sizeof(StringCache));
vtkParse_InitStringCache(data->Strings);
/* "preprocessor" is a global struct used by the parser */
preprocessor = (PreprocessInfo *)malloc(sizeof(PreprocessInfo));
vtkParsePreprocess_Init(preprocessor, filename);
preprocessor->Strings = data->Strings;
vtkParsePreprocess_AddStandardMacros(preprocessor, VTK_PARSE_NATIVE);
/* add include files specified on the command line */
for (i = 0; i < NumberOfIncludeDirectories; i++)
{
vtkParsePreprocess_IncludeDirectory(preprocessor, IncludeDirectories[i]);
}
/* add macros specified on the command line */
for (i = 0; i < NumberOfDefinitions; i++)
{
const char *cp = Definitions[i];
if (*cp == 'U')
{
vtkParsePreprocess_RemoveMacro(preprocessor, &cp[1]);
}
else if (*cp == 'D')
{
const char *definition = &cp[1];
while (*definition != '=' && *definition != '\0')
{
definition++;
}
if (*definition == '=')
{
definition++;
}
else
{
definition = NULL;
}
vtkParsePreprocess_AddMacro(preprocessor, &cp[1], definition);
}
}
/* should explicitly check for vtkConfigure.h, or even explicitly load it */
#ifdef VTK_USE_64BIT_IDS
vtkParsePreprocess_AddMacro(preprocessor, "VTK_USE_64BIT_IDS", NULL);
#endif
data->FileName = vtkstrdup(filename);
clearComment();
namespaceDepth = 0;
currentNamespace = (NamespaceInfo *)malloc(sizeof(NamespaceInfo));
vtkParse_InitNamespace(currentNamespace);
data->Contents = currentNamespace;
templateDepth = 0;
currentTemplate = NULL;
currentFunction = (FunctionInfo *)malloc(sizeof(FunctionInfo));
vtkParse_InitFunction(currentFunction);
startSig();
parseDebug = 0;
if (getenv("DEBUG") != NULL)
{
parseDebug = 1;
}
yyset_in(ifile);
yyset_out(errfile);
ret = yyparse();
if (ret)
{
return NULL;
}
free(currentFunction);
yylex_destroy();
/* The main class name should match the file name */
i = strlen(filename);
j = i;
while (i > 0)
{
--i;
if (filename[i] == '.')
{
j = i;
}
if (filename[i] == '/' || filename[i] == '\\')
{
i++;
break;
}
}
main_class = (char *)malloc(j-i+1);
strncpy(main_class, &filename[i], j-i);
main_class[j-i] = '\0';
/* special treatment of the main class in the file */
for (i = 0; i < currentNamespace->NumberOfClasses; i++)
{
if (strcmp(currentNamespace->Classes[i]->Name, main_class) == 0)
{
data->MainClass = currentNamespace->Classes[i];
break;
}
}
free(main_class);
/* assign doxygen comments to their targets */
assignComments(data->Contents);
vtkParsePreprocess_Free(preprocessor);
preprocessor = NULL;
macroName = NULL;
file_info = data;
data = NULL;
return file_info;
}
/* Read a hints file and update the FileInfo */
int vtkParse_ReadHints(FileInfo *file_info, FILE *hfile, FILE *errfile)
{
char h_cls[512];
char h_func[512];
unsigned int h_type, type;
int h_value;
FunctionInfo *func_info;
ClassInfo *class_info;
NamespaceInfo *contents;
int i, j;
int lineno = 0;
int n;
contents = file_info->Contents;
/* read each hint line in succession */
while ((n = fscanf(hfile,"%s %s %x %i", h_cls, h_func, &h_type, &h_value))
!= EOF)
{
lineno++;
if (n < 4)
{
fprintf(errfile, "Wrapping: error parsing hints file line %i\n", lineno);
exit(1);
}
/* erase "ref" and qualifiers from hint type */
type = ((h_type & VTK_PARSE_BASE_TYPE) |
(h_type & VTK_PARSE_POINTER_LOWMASK));
/* find the matching class */
for (i = 0; i < contents->NumberOfClasses; i++)
{
class_info = contents->Classes[i];
if (strcmp(h_cls, class_info->Name) == 0)
{
/* find the matching function */
for (j = 0; j < class_info->NumberOfFunctions; j++)
{
func_info = class_info->Functions[j];
if ((strcmp(h_func, func_info->Name) == 0) &&
func_info->ReturnValue &&
(type == ((func_info->ReturnValue->Type & ~VTK_PARSE_REF) &
VTK_PARSE_UNQUALIFIED_TYPE)))
{
/* types that hints are accepted for */
switch (func_info->ReturnValue->Type & VTK_PARSE_UNQUALIFIED_TYPE)
{
case VTK_PARSE_FLOAT_PTR:
case VTK_PARSE_VOID_PTR:
case VTK_PARSE_DOUBLE_PTR:
case VTK_PARSE_ID_TYPE_PTR:
case VTK_PARSE_LONG_LONG_PTR:
case VTK_PARSE_UNSIGNED_LONG_LONG_PTR:
case VTK_PARSE___INT64_PTR:
case VTK_PARSE_UNSIGNED___INT64_PTR:
case VTK_PARSE_INT_PTR:
case VTK_PARSE_UNSIGNED_INT_PTR:
case VTK_PARSE_SHORT_PTR:
case VTK_PARSE_UNSIGNED_SHORT_PTR:
case VTK_PARSE_LONG_PTR:
case VTK_PARSE_UNSIGNED_LONG_PTR:
case VTK_PARSE_SIGNED_CHAR_PTR:
case VTK_PARSE_UNSIGNED_CHAR_PTR:
case VTK_PARSE_CHAR_PTR:
{
if (func_info->ReturnValue->NumberOfDimensions == 0)
{
char text[64];
sprintf(text, "%i", h_value);
func_info->ReturnValue->Count = h_value;
vtkParse_AddStringToArray(
&func_info->ReturnValue->Dimensions,
&func_info->ReturnValue->NumberOfDimensions,
vtkParse_CacheString(
file_info->Strings, text, strlen(text)));
#ifndef VTK_PARSE_LEGACY_REMOVE
func_info->HaveHint = 1;
func_info->HintSize = h_value;
#endif
}
break;
}
default:
{
fprintf(errfile,
"Wrapping: unhandled hint type %#x\n", h_type);
}
}
}
}
}
}
}
return 1;
}
/* Free the FileInfo struct returned by vtkParse_ParseFile() */
void vtkParse_Free(FileInfo *file_info)
{
vtkParse_FreeFile(file_info);
vtkParse_FreeStringCache(file_info->Strings);
free(file_info->Strings);
free(file_info);
}
/** Define a preprocessor macro. Function macros are not supported. */
void vtkParse_DefineMacro(const char *name, const char *definition)
{
size_t n = vtkParse_SkipId(name);
size_t l;
char *cp;
if (definition == NULL)
{
definition = "";
}
l = n + strlen(definition) + 2;
cp = (char *)malloc(l + 1);
cp[0] = 'D';
strncpy(&cp[1], name, n);
cp[n+1] = '\0';
if (definition[0] != '\0')
{
cp[n+1] = '=';
strcpy(&cp[n+2], definition);
}
cp[l] = '\0';
vtkParse_AddStringToArray(&Definitions, &NumberOfDefinitions, cp);
}
/** Undefine a preprocessor macro. */
void vtkParse_UndefineMacro(const char *name)
{
size_t n = vtkParse_SkipId(name);
char *cp;
cp = (char *)malloc(n+2);
cp[0] = 'U';
strncpy(&cp[1], name, n);
cp[n+1] = '\0';
vtkParse_AddStringToArray(&Definitions, &NumberOfDefinitions, cp);
}
/** Add an include directory, for use with the "-I" option. */
void vtkParse_IncludeDirectory(const char *dirname)
{
size_t n = strlen(dirname);
char *cp;
int i;
for (i = 0; i < NumberOfIncludeDirectories; i++)
{
if (strncmp(IncludeDirectories[i], dirname, n) == 0 &&
IncludeDirectories[i][n] == '\0')
{
return;
}
}
cp = (char *)malloc(n+1);
strcpy(cp, dirname);
vtkParse_AddStringToArray(
&IncludeDirectories, &NumberOfIncludeDirectories, cp);
}
/** Return the full path to a header file. */
const char *vtkParse_FindIncludeFile(const char *filename)
{
static StringCache cache = {0, 0, 0, 0};
static PreprocessInfo info = {0, 0, 0, 0, 0, 0, &cache, 0, 0, 0};
int val;
int i;
/* add include files specified on the command line */
for (i = 0; i < NumberOfIncludeDirectories; i++)
{
vtkParsePreprocess_IncludeDirectory(&info, IncludeDirectories[i]);
}
return vtkParsePreprocess_FindIncludeFile(&info, filename, 0, &val);
}