From 03c35a63ff00f997070c90f7d16de3bb0d0ff646 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 6 Apr 2006 17:51:24 +0000 Subject: [PATCH] CHAR -> CHAR_TOK (avoid conflict with Windows SDK) --- dtool/src/cppparser/cppBison.cxx.prebuilt | 7537 ++++++++++++--------- dtool/src/cppparser/cppBison.h.prebuilt | 354 +- dtool/src/cppparser/cppBison.yxx | 8 +- dtool/src/cppparser/cppPreprocessor.cxx | 2 +- dtool/src/cppparser/cppToken.cxx | 4 +- 5 files changed, 4460 insertions(+), 3445 deletions(-) diff --git a/dtool/src/cppparser/cppBison.cxx.prebuilt b/dtool/src/cppparser/cppBison.cxx.prebuilt index 77e70deb52..268e522a42 100644 --- a/dtool/src/cppparser/cppBison.cxx.prebuilt +++ b/dtool/src/cppparser/cppBison.cxx.prebuilt @@ -1,116 +1,273 @@ -/* A Bison parser, made from cppBison.yxx - by GNU bison 1.35. */ +/* A Bison parser, made by GNU Bison 2.1. */ -#define YYBISON 1 /* Identify Bison output. */ +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -#define yyparse cppyyparse -#define yylex cppyylex -#define yyerror cppyyerror -#define yylval cppyylval -#define yychar cppyychar -#define yydebug cppyydebug -#define yynerrs cppyynerrs + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Written by Richard Stallman by simplifying the original so called + ``semantic'' parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Bison version. */ +#define YYBISON_VERSION "2.1" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 1 + +/* Using locations. */ #define YYLSP_NEEDED 1 -# define REAL 257 -# define INTEGER 258 -# define CHAR 259 -# define STRING 260 -# define SIMPLE_IDENTIFIER 261 -# define IDENTIFIER 262 -# define TYPENAME_IDENTIFIER 263 -# define SCOPING 264 -# define TYPEDEFNAME 265 -# define ELLIPSIS 266 -# define OROR 267 -# define ANDAND 268 -# define EQCOMPARE 269 -# define NECOMPARE 270 -# define LECOMPARE 271 -# define GECOMPARE 272 -# define LSHIFT 273 -# define RSHIFT 274 -# define POINTSAT_STAR 275 -# define DOT_STAR 276 -# define UNARY 277 -# define UNARY_NOT 278 -# define UNARY_NEGATE 279 -# define UNARY_MINUS 280 -# define UNARY_STAR 281 -# define UNARY_REF 282 -# define POINTSAT 283 -# define SCOPE 284 -# define PLUSPLUS 285 -# define MINUSMINUS 286 -# define TIMESEQUAL 287 -# define DIVIDEEQUAL 288 -# define MODEQUAL 289 -# define PLUSEQUAL 290 -# define MINUSEQUAL 291 -# define OREQUAL 292 -# define ANDEQUAL 293 -# define XOREQUAL 294 -# define LSHIFTEQUAL 295 -# define RSHIFTEQUAL 296 -# define TOKENPASTE 297 -# define KW_BEGIN_PUBLISH 298 -# define KW_BOOL 299 -# define KW_CATCH 300 -# define KW_CHAR 301 -# define KW_WCHAR_T 302 -# define KW_CLASS 303 -# define KW_CONST 304 -# define KW_DELETE 305 -# define KW_DOUBLE 306 -# define KW_DYNAMIC_CAST 307 -# define KW_ELSE 308 -# define KW_END_PUBLISH 309 -# define KW_ENUM 310 -# define KW_EXTERN 311 -# define KW_EXPLICIT 312 -# define KW_PUBLISHED 313 -# define KW_FALSE 314 -# define KW_FLOAT 315 -# define KW_FRIEND 316 -# define KW_FOR 317 -# define KW_GOTO 318 -# define KW_IF 319 -# define KW_INLINE 320 -# define KW_INT 321 -# define KW_LONG 322 -# define KW_LONGLONG 323 -# define KW_MUTABLE 324 -# define KW_NAMESPACE 325 -# define KW_NEW 326 -# define KW_OPERATOR 327 -# define KW_PRIVATE 328 -# define KW_PROTECTED 329 -# define KW_PUBLIC 330 -# define KW_REGISTER 331 -# define KW_RETURN 332 -# define KW_SHORT 333 -# define KW_SIGNED 334 -# define KW_SIZEOF 335 -# define KW_STATIC 336 -# define KW_STATIC_CAST 337 -# define KW_STRUCT 338 -# define KW_TEMPLATE 339 -# define KW_THROW 340 -# define KW_TRUE 341 -# define KW_TRY 342 -# define KW_TYPEDEF 343 -# define KW_TYPENAME 344 -# define KW_UNION 345 -# define KW_UNSIGNED 346 -# define KW_USING 347 -# define KW_VIRTUAL 348 -# define KW_VOID 349 -# define KW_VOLATILE 350 -# define KW_WHILE 351 -# define START_CPP 352 -# define START_CONST_EXPR 353 -# define START_TYPE 354 +/* Substitute the variable and function names. */ +#define yyparse cppyyparse +#define yylex cppyylex +#define yyerror cppyyerror +#define yylval cppyylval +#define yychar cppyychar +#define yydebug cppyydebug +#define yynerrs cppyynerrs +#define yylloc cppyylloc +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + REAL = 258, + INTEGER = 259, + CHAR_TOK = 260, + STRING = 261, + SIMPLE_IDENTIFIER = 262, + IDENTIFIER = 263, + TYPENAME_IDENTIFIER = 264, + SCOPING = 265, + TYPEDEFNAME = 266, + ELLIPSIS = 267, + OROR = 268, + ANDAND = 269, + EQCOMPARE = 270, + NECOMPARE = 271, + LECOMPARE = 272, + GECOMPARE = 273, + LSHIFT = 274, + RSHIFT = 275, + POINTSAT_STAR = 276, + DOT_STAR = 277, + UNARY = 278, + UNARY_NOT = 279, + UNARY_NEGATE = 280, + UNARY_MINUS = 281, + UNARY_STAR = 282, + UNARY_REF = 283, + POINTSAT = 284, + SCOPE = 285, + PLUSPLUS = 286, + MINUSMINUS = 287, + TIMESEQUAL = 288, + DIVIDEEQUAL = 289, + MODEQUAL = 290, + PLUSEQUAL = 291, + MINUSEQUAL = 292, + OREQUAL = 293, + ANDEQUAL = 294, + XOREQUAL = 295, + LSHIFTEQUAL = 296, + RSHIFTEQUAL = 297, + TOKENPASTE = 298, + KW_BEGIN_PUBLISH = 299, + KW_BOOL = 300, + KW_CATCH = 301, + KW_CHAR = 302, + KW_WCHAR_T = 303, + KW_CLASS = 304, + KW_CONST = 305, + KW_DELETE = 306, + KW_DOUBLE = 307, + KW_DYNAMIC_CAST = 308, + KW_ELSE = 309, + KW_END_PUBLISH = 310, + KW_ENUM = 311, + KW_EXTERN = 312, + KW_EXPLICIT = 313, + KW_PUBLISHED = 314, + KW_FALSE = 315, + KW_FLOAT = 316, + KW_FRIEND = 317, + KW_FOR = 318, + KW_GOTO = 319, + KW_IF = 320, + KW_INLINE = 321, + KW_INT = 322, + KW_LONG = 323, + KW_LONGLONG = 324, + KW_MUTABLE = 325, + KW_NAMESPACE = 326, + KW_NEW = 327, + KW_OPERATOR = 328, + KW_PRIVATE = 329, + KW_PROTECTED = 330, + KW_PUBLIC = 331, + KW_REGISTER = 332, + KW_RETURN = 333, + KW_SHORT = 334, + KW_SIGNED = 335, + KW_SIZEOF = 336, + KW_STATIC = 337, + KW_STATIC_CAST = 338, + KW_STRUCT = 339, + KW_TEMPLATE = 340, + KW_THROW = 341, + KW_TRUE = 342, + KW_TRY = 343, + KW_TYPEDEF = 344, + KW_TYPENAME = 345, + KW_UNION = 346, + KW_UNSIGNED = 347, + KW_USING = 348, + KW_VIRTUAL = 349, + KW_VOID = 350, + KW_VOLATILE = 351, + KW_WHILE = 352, + START_CPP = 353, + START_CONST_EXPR = 354, + START_TYPE = 355 + }; +#endif +/* Tokens. */ +#define REAL 258 +#define INTEGER 259 +#define CHAR_TOK 260 +#define STRING 261 +#define SIMPLE_IDENTIFIER 262 +#define IDENTIFIER 263 +#define TYPENAME_IDENTIFIER 264 +#define SCOPING 265 +#define TYPEDEFNAME 266 +#define ELLIPSIS 267 +#define OROR 268 +#define ANDAND 269 +#define EQCOMPARE 270 +#define NECOMPARE 271 +#define LECOMPARE 272 +#define GECOMPARE 273 +#define LSHIFT 274 +#define RSHIFT 275 +#define POINTSAT_STAR 276 +#define DOT_STAR 277 +#define UNARY 278 +#define UNARY_NOT 279 +#define UNARY_NEGATE 280 +#define UNARY_MINUS 281 +#define UNARY_STAR 282 +#define UNARY_REF 283 +#define POINTSAT 284 +#define SCOPE 285 +#define PLUSPLUS 286 +#define MINUSMINUS 287 +#define TIMESEQUAL 288 +#define DIVIDEEQUAL 289 +#define MODEQUAL 290 +#define PLUSEQUAL 291 +#define MINUSEQUAL 292 +#define OREQUAL 293 +#define ANDEQUAL 294 +#define XOREQUAL 295 +#define LSHIFTEQUAL 296 +#define RSHIFTEQUAL 297 +#define TOKENPASTE 298 +#define KW_BEGIN_PUBLISH 299 +#define KW_BOOL 300 +#define KW_CATCH 301 +#define KW_CHAR 302 +#define KW_WCHAR_T 303 +#define KW_CLASS 304 +#define KW_CONST 305 +#define KW_DELETE 306 +#define KW_DOUBLE 307 +#define KW_DYNAMIC_CAST 308 +#define KW_ELSE 309 +#define KW_END_PUBLISH 310 +#define KW_ENUM 311 +#define KW_EXTERN 312 +#define KW_EXPLICIT 313 +#define KW_PUBLISHED 314 +#define KW_FALSE 315 +#define KW_FLOAT 316 +#define KW_FRIEND 317 +#define KW_FOR 318 +#define KW_GOTO 319 +#define KW_IF 320 +#define KW_INLINE 321 +#define KW_INT 322 +#define KW_LONG 323 +#define KW_LONGLONG 324 +#define KW_MUTABLE 325 +#define KW_NAMESPACE 326 +#define KW_NEW 327 +#define KW_OPERATOR 328 +#define KW_PRIVATE 329 +#define KW_PROTECTED 330 +#define KW_PUBLIC 331 +#define KW_REGISTER 332 +#define KW_RETURN 333 +#define KW_SHORT 334 +#define KW_SIGNED 335 +#define KW_SIZEOF 336 +#define KW_STATIC 337 +#define KW_STATIC_CAST 338 +#define KW_STRUCT 339 +#define KW_TEMPLATE 340 +#define KW_THROW 341 +#define KW_TRUE 342 +#define KW_TRY 343 +#define KW_TYPEDEF 344 +#define KW_TYPENAME 345 +#define KW_UNION 346 +#define KW_UNSIGNED 347 +#define KW_USING 348 +#define KW_VIRTUAL 349 +#define KW_VOID 350 +#define KW_VOLATILE 351 +#define KW_WHILE 352 +#define START_CPP 353 +#define START_CONST_EXPR 354 +#define START_TYPE 355 + + + + +/* Copy the first part of user declarations. */ #line 6 "cppBison.yxx" @@ -298,35 +455,223 @@ pop_struct() { } -#ifndef YYLTYPE -typedef struct yyltype -{ - int first_line; - int first_column; - - int last_line; - int last_column; -} yyltype; - -# define YYLTYPE yyltype -# define YYLTYPE_IS_TRIVIAL 1 -#endif +/* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 0 #endif +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +/* Enabling the token table. */ +#ifndef YYTOKEN_TABLE +# define YYTOKEN_TABLE 0 +#endif + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +typedef int YYSTYPE; +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + +#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) +typedef struct YYLTYPE +{ + int first_line; + int first_column; + int last_line; + int last_column; +} YYLTYPE; +# define yyltype YYLTYPE /* obsolescent; will be withdrawn */ +# define YYLTYPE_IS_DECLARED 1 +# define YYLTYPE_IS_TRIVIAL 1 +#endif -#define YYFINAL 941 -#define YYFLAG -32768 -#define YYNTBASE 125 +/* Copy the second part of user declarations. */ -/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */ -#define YYTRANSLATE(x) ((unsigned)(x) <= 354 ? yytranslate[x] : 218) -/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */ -static const char yytranslate[] = +/* Line 219 of yacc.c. */ +#line 503 "y.tab.c" + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) && (defined (__STDC__) || defined (__cplusplus)) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#ifndef YY_ +# if 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 + +#if ! defined (yyoverflow) || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# else +# define YYSTACK_ALLOC alloca +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYINCLUDED_STDLIB_H +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2005 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM ((YYSIZE_T) -1) +# endif +# ifdef __cplusplus +extern "C" { +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \ + && (defined (__STDC__) || defined (__cplusplus))) +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if (! defined (free) && ! defined (YYINCLUDED_STDLIB_H) \ + && (defined (__STDC__) || defined (__cplusplus))) +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifdef __cplusplus +} +# endif +# endif +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (defined (YYLTYPE_IS_TRIVIAL) && YYLTYPE_IS_TRIVIAL \ + && defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short int yyss; + YYSTYPE yyvs; + YYLTYPE yyls; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short int) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ + + 2 * YYSTACK_GAP_MAXIMUM) + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined (__GNUC__) && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + +#if defined (__STDC__) || defined (__cplusplus) + typedef signed char yysigned_char; +#else + typedef short int yysigned_char; +#endif + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 69 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 3373 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 125 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 94 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 528 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 941 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 355 + +#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, @@ -353,1376 +698,1385 @@ static const char yytranslate[] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 1, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, - 96, 97, 98, 99, 100 + 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 }; #if YYDEBUG -static const short yyprhs[] = +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const unsigned short int yyprhs[] = { - 0, 0, 3, 6, 9, 11, 14, 17, 19, 23, - 28, 29, 35, 37, 39, 41, 43, 45, 47, 50, - 52, 54, 57, 60, 63, 66, 67, 71, 73, 76, - 80, 83, 86, 89, 92, 95, 98, 101, 103, 107, - 111, 112, 117, 118, 124, 127, 132, 135, 140, 141, - 146, 147, 153, 157, 160, 165, 168, 173, 174, 181, - 182, 189, 190, 198, 199, 210, 211, 223, 224, 233, - 234, 244, 246, 248, 250, 255, 261, 263, 265, 267, - 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, - 289, 291, 293, 295, 297, 299, 301, 303, 305, 307, - 309, 311, 313, 315, 317, 319, 321, 323, 325, 327, - 329, 331, 334, 337, 339, 341, 343, 345, 346, 353, - 355, 357, 359, 363, 366, 371, 375, 380, 382, 384, - 386, 389, 391, 394, 397, 400, 403, 407, 412, 416, - 420, 421, 428, 430, 432, 434, 438, 441, 443, 447, - 449, 452, 454, 457, 459, 463, 469, 473, 478, 480, - 482, 485, 487, 491, 495, 501, 505, 509, 514, 516, - 518, 520, 522, 525, 528, 531, 535, 540, 542, 544, - 546, 549, 552, 555, 559, 564, 572, 576, 578, 581, - 584, 587, 591, 596, 604, 606, 608, 611, 613, 615, - 617, 619, 622, 625, 627, 629, 632, 634, 636, 638, - 640, 643, 646, 648, 650, 653, 656, 659, 662, 666, - 667, 673, 674, 682, 684, 686, 689, 693, 696, 699, - 702, 706, 710, 714, 718, 722, 726, 727, 733, 734, - 741, 743, 745, 748, 750, 754, 758, 764, 766, 768, - 770, 772, 773, 780, 785, 788, 792, 794, 796, 798, - 800, 802, 804, 806, 808, 810, 812, 814, 816, 819, - 822, 825, 828, 830, 833, 835, 839, 842, 844, 845, - 848, 850, 853, 855, 857, 859, 861, 863, 865, 867, - 869, 871, 873, 875, 877, 879, 881, 883, 885, 887, - 889, 891, 893, 895, 897, 899, 901, 903, 905, 907, - 909, 911, 913, 915, 917, 919, 921, 923, 925, 927, - 929, 931, 933, 935, 937, 939, 941, 943, 945, 947, - 949, 951, 953, 955, 957, 959, 961, 963, 965, 967, - 969, 971, 973, 975, 977, 979, 981, 983, 985, 987, - 989, 991, 993, 995, 997, 999, 1001, 1003, 1005, 1007, - 1009, 1011, 1013, 1015, 1017, 1019, 1021, 1023, 1025, 1027, - 1029, 1031, 1033, 1035, 1037, 1039, 1041, 1043, 1045, 1047, - 1049, 1051, 1053, 1055, 1057, 1059, 1061, 1065, 1067, 1069, - 1071, 1073, 1075, 1079, 1081, 1086, 1094, 1102, 1107, 1110, - 1113, 1116, 1119, 1122, 1126, 1130, 1134, 1138, 1142, 1146, - 1150, 1154, 1158, 1162, 1166, 1170, 1174, 1178, 1182, 1188, - 1193, 1198, 1202, 1206, 1210, 1214, 1216, 1221, 1229, 1237, - 1242, 1247, 1252, 1257, 1262, 1267, 1272, 1277, 1282, 1287, - 1292, 1297, 1300, 1306, 1309, 1312, 1315, 1318, 1321, 1325, - 1329, 1333, 1337, 1341, 1345, 1349, 1353, 1357, 1361, 1365, - 1369, 1373, 1377, 1381, 1385, 1389, 1395, 1400, 1405, 1409, - 1413, 1417, 1421, 1423, 1425, 1427, 1429, 1431, 1433, 1435, - 1437, 1442, 1450, 1458, 1463, 1466, 1472, 1475, 1478, 1481, - 1484, 1488, 1492, 1496, 1500, 1504, 1508, 1512, 1516, 1520, - 1524, 1528, 1532, 1536, 1540, 1544, 1548, 1552, 1558, 1563, - 1568, 1572, 1576, 1580, 1584, 1586, 1588, 1590, 1592, 1594, - 1596, 1598, 1601, 1604, 1606, 1608, 1610, 1613 -}; -static const short yyrhs[] = -{ - 98, 126, 0, 99, 210, 0, 100, 179, 0, 217, - 0, 126, 103, 0, 126, 131, 0, 128, 0, 127, - 102, 128, 0, 215, 119, 207, 121, 0, 0, 134, - 101, 130, 126, 122, 0, 135, 0, 157, 0, 129, - 0, 195, 0, 197, 0, 132, 0, 89, 141, 0, - 44, 0, 55, 0, 59, 104, 0, 76, 104, 0, - 75, 104, 0, 74, 104, 0, 0, 62, 133, 131, - 0, 217, 0, 134, 57, 0, 134, 57, 216, 0, - 134, 82, 0, 134, 66, 0, 134, 94, 0, 134, - 58, 0, 134, 96, 0, 134, 70, 0, 134, 77, - 0, 136, 0, 134, 177, 103, 0, 134, 146, 169, - 0, 0, 134, 177, 137, 139, 0, 0, 134, 50, - 176, 138, 140, 0, 163, 169, 0, 163, 168, 102, - 139, 0, 163, 169, 0, 163, 168, 102, 140, 0, - 0, 134, 177, 142, 144, 0, 0, 134, 50, 176, - 143, 145, 0, 134, 146, 169, 0, 163, 169, 0, - 163, 168, 102, 144, 0, 163, 169, 0, 163, 168, - 102, 145, 0, 0, 8, 119, 147, 165, 121, 154, - 0, 0, 9, 119, 148, 165, 121, 154, 0, 0, - 117, 215, 119, 149, 165, 121, 154, 0, 0, 9, - 119, 114, 163, 121, 119, 150, 165, 121, 154, 0, - 0, 9, 119, 10, 114, 163, 121, 119, 151, 165, - 121, 154, 0, 0, 73, 176, 173, 119, 152, 165, - 121, 154, 0, 0, 73, 50, 176, 173, 119, 153, - 165, 121, 154, 0, 8, 0, 217, 0, 50, 0, - 154, 86, 119, 121, 0, 154, 86, 119, 215, 121, - 0, 123, 0, 117, 0, 114, 0, 115, 0, 116, - 0, 112, 0, 113, 0, 107, 0, 109, 0, 108, - 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, - 0, 18, 0, 110, 0, 111, 0, 19, 0, 20, - 0, 105, 0, 102, 0, 31, 0, 32, 0, 33, - 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, - 0, 39, 0, 40, 0, 41, 0, 42, 0, 29, - 0, 120, 124, 0, 119, 121, 0, 72, 0, 51, - 0, 135, 0, 157, 0, 0, 85, 158, 110, 159, - 111, 156, 0, 217, 0, 160, 0, 161, 0, 160, - 102, 161, 0, 49, 215, 0, 49, 215, 105, 179, - 0, 162, 174, 167, 0, 50, 162, 174, 167, 0, - 198, 0, 8, 0, 9, 0, 90, 215, 0, 215, - 0, 73, 155, 0, 50, 163, 0, 114, 163, 0, - 109, 163, 0, 10, 114, 163, 0, 163, 120, 206, - 124, 0, 163, 104, 4, 0, 119, 163, 121, 0, - 0, 163, 119, 164, 165, 121, 154, 0, 217, 0, - 12, 0, 166, 0, 166, 102, 12, 0, 166, 12, - 0, 172, 0, 166, 102, 172, 0, 217, 0, 105, - 209, 0, 217, 0, 105, 210, 0, 103, 0, 101, - 202, 122, 0, 104, 127, 101, 202, 122, 0, 105, - 210, 103, 0, 105, 101, 170, 122, 0, 217, 0, - 171, 0, 171, 102, 0, 210, 0, 101, 170, 122, - 0, 171, 102, 210, 0, 171, 102, 101, 170, 122, - 0, 176, 174, 168, 0, 8, 174, 168, 0, 50, - 176, 174, 168, 0, 212, 0, 217, 0, 8, 0, - 9, 0, 50, 173, 0, 114, 173, 0, 109, 173, - 0, 10, 114, 173, 0, 173, 120, 206, 124, 0, - 217, 0, 8, 0, 9, 0, 50, 174, 0, 114, - 174, 0, 109, 174, 0, 10, 114, 174, 0, 174, - 120, 206, 124, 0, 119, 174, 121, 119, 165, 121, - 154, 0, 119, 174, 121, 0, 217, 0, 50, 175, - 0, 114, 175, 0, 109, 175, 0, 10, 114, 175, - 0, 175, 120, 206, 124, 0, 119, 175, 121, 119, - 165, 121, 154, 0, 198, 0, 9, 0, 90, 215, - 0, 180, 0, 182, 0, 187, 0, 189, 0, 194, - 215, 0, 193, 215, 0, 198, 0, 9, 0, 90, - 215, 0, 180, 0, 182, 0, 187, 0, 189, 0, - 194, 215, 0, 193, 215, 0, 198, 0, 9, 0, - 90, 215, 0, 194, 215, 0, 193, 215, 0, 176, - 175, 0, 50, 176, 175, 0, 0, 194, 101, 181, - 126, 122, 0, 0, 194, 215, 183, 184, 101, 126, - 122, 0, 217, 0, 185, 0, 104, 186, 0, 185, - 102, 186, 0, 76, 214, 0, 75, 214, 0, 74, - 214, 0, 94, 76, 214, 0, 94, 75, 214, 0, - 94, 74, 214, 0, 76, 94, 214, 0, 75, 94, - 214, 0, 74, 94, 214, 0, 0, 193, 101, 188, - 191, 122, 0, 0, 193, 215, 101, 190, 191, 122, - 0, 217, 0, 192, 0, 192, 102, 0, 215, 0, - 215, 105, 210, 0, 192, 102, 215, 0, 192, 102, - 215, 105, 210, 0, 56, 0, 49, 0, 84, 0, - 91, 0, 0, 71, 215, 101, 196, 126, 122, 0, - 71, 101, 126, 122, 0, 93, 215, 0, 93, 71, - 215, 0, 199, 0, 200, 0, 201, 0, 45, 0, - 47, 0, 48, 0, 79, 0, 68, 0, 69, 0, - 92, 0, 80, 0, 67, 0, 79, 199, 0, 68, - 199, 0, 92, 199, 0, 80, 199, 0, 61, 0, - 68, 61, 0, 52, 0, 68, 68, 61, 0, 68, - 52, 0, 95, 0, 0, 203, 204, 0, 217, 0, - 204, 205, 0, 3, 0, 4, 0, 6, 0, 5, - 0, 8, 0, 9, 0, 10, 0, 7, 0, 12, - 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, - 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, - 0, 29, 0, 30, 0, 31, 0, 32, 0, 33, - 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, - 0, 39, 0, 40, 0, 41, 0, 42, 0, 45, - 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, - 0, 51, 0, 52, 0, 53, 0, 54, 0, 56, - 0, 57, 0, 58, 0, 60, 0, 61, 0, 62, - 0, 63, 0, 64, 0, 65, 0, 66, 0, 67, - 0, 68, 0, 70, 0, 72, 0, 74, 0, 75, - 0, 76, 0, 59, 0, 77, 0, 78, 0, 79, - 0, 80, 0, 81, 0, 82, 0, 83, 0, 84, - 0, 86, 0, 87, 0, 88, 0, 89, 0, 90, - 0, 91, 0, 92, 0, 94, 0, 95, 0, 96, - 0, 97, 0, 43, 0, 73, 0, 112, 0, 113, - 0, 114, 0, 115, 0, 109, 0, 107, 0, 108, - 0, 123, 0, 117, 0, 105, 0, 116, 0, 110, - 0, 111, 0, 119, 0, 121, 0, 118, 0, 102, - 0, 103, 0, 104, 0, 120, 0, 124, 0, 106, - 0, 101, 204, 122, 0, 217, 0, 210, 0, 217, - 0, 208, 0, 210, 0, 208, 102, 210, 0, 211, - 0, 119, 179, 121, 209, 0, 83, 110, 179, 111, - 119, 208, 121, 0, 53, 110, 179, 111, 119, 208, - 121, 0, 81, 119, 179, 121, 0, 123, 209, 0, - 117, 209, 0, 113, 209, 0, 114, 209, 0, 109, - 209, 0, 209, 114, 209, 0, 209, 115, 209, 0, - 209, 116, 209, 0, 209, 112, 209, 0, 209, 113, - 209, 0, 209, 107, 209, 0, 209, 109, 209, 0, - 209, 13, 209, 0, 209, 14, 209, 0, 209, 15, - 209, 0, 209, 16, 209, 0, 209, 17, 209, 0, - 209, 18, 209, 0, 209, 19, 209, 0, 209, 20, - 209, 0, 209, 106, 209, 104, 209, 0, 209, 120, - 210, 124, 0, 209, 119, 208, 121, 0, 209, 119, - 121, 0, 209, 118, 209, 0, 209, 29, 209, 0, - 119, 208, 121, 0, 211, 0, 119, 179, 121, 210, - 0, 83, 110, 179, 111, 119, 208, 121, 0, 53, - 110, 179, 111, 119, 208, 121, 0, 9, 119, 207, - 121, 0, 67, 119, 207, 121, 0, 47, 119, 207, - 121, 0, 48, 119, 207, 121, 0, 45, 119, 207, - 121, 0, 79, 119, 207, 121, 0, 68, 119, 207, - 121, 0, 92, 119, 207, 121, 0, 80, 119, 207, - 121, 0, 61, 119, 207, 121, 0, 52, 119, 207, - 121, 0, 81, 119, 179, 121, 0, 72, 178, 0, - 72, 178, 119, 207, 121, 0, 123, 210, 0, 117, - 210, 0, 113, 210, 0, 114, 210, 0, 109, 210, - 0, 210, 114, 210, 0, 210, 115, 210, 0, 210, - 116, 210, 0, 210, 112, 210, 0, 210, 113, 210, - 0, 210, 107, 210, 0, 210, 109, 210, 0, 210, - 13, 210, 0, 210, 14, 210, 0, 210, 15, 210, - 0, 210, 16, 210, 0, 210, 17, 210, 0, 210, - 18, 210, 0, 210, 110, 210, 0, 210, 111, 210, - 0, 210, 19, 210, 0, 210, 20, 210, 0, 210, - 106, 210, 104, 210, 0, 210, 120, 210, 124, 0, - 210, 119, 208, 121, 0, 210, 119, 121, 0, 210, - 118, 210, 0, 210, 29, 210, 0, 119, 208, 121, - 0, 4, 0, 87, 0, 60, 0, 5, 0, 3, - 0, 216, 0, 8, 0, 213, 0, 119, 179, 121, - 210, 0, 83, 110, 179, 111, 119, 208, 121, 0, - 53, 110, 179, 111, 119, 208, 121, 0, 81, 119, - 179, 121, 0, 72, 178, 0, 72, 178, 119, 207, - 121, 0, 123, 210, 0, 117, 210, 0, 113, 210, - 0, 109, 210, 0, 212, 114, 210, 0, 212, 115, - 210, 0, 212, 116, 210, 0, 212, 112, 210, 0, - 212, 113, 210, 0, 212, 107, 210, 0, 212, 109, - 210, 0, 212, 13, 210, 0, 212, 14, 210, 0, - 212, 15, 210, 0, 212, 16, 210, 0, 212, 17, - 210, 0, 212, 18, 210, 0, 212, 110, 210, 0, - 212, 111, 210, 0, 212, 19, 210, 0, 212, 20, - 210, 0, 212, 106, 210, 104, 210, 0, 212, 120, - 210, 124, 0, 212, 119, 208, 121, 0, 212, 119, - 121, 0, 212, 118, 210, 0, 212, 29, 210, 0, - 119, 208, 121, 0, 4, 0, 87, 0, 60, 0, - 5, 0, 3, 0, 216, 0, 215, 0, 194, 215, - 0, 90, 215, 0, 8, 0, 9, 0, 6, 0, - 216, 6, 0, 0 + 0, 0, 3, 6, 9, 12, 14, 17, 20, 22, + 26, 31, 32, 38, 40, 42, 44, 46, 48, 50, + 53, 55, 57, 60, 63, 66, 69, 70, 74, 76, + 79, 83, 86, 89, 92, 95, 98, 101, 104, 106, + 110, 114, 115, 120, 121, 127, 130, 135, 138, 143, + 144, 149, 150, 156, 160, 163, 168, 171, 176, 177, + 184, 185, 192, 193, 201, 202, 213, 214, 226, 227, + 236, 237, 247, 249, 251, 253, 258, 264, 266, 268, + 270, 272, 274, 276, 278, 280, 282, 284, 286, 288, + 290, 292, 294, 296, 298, 300, 302, 304, 306, 308, + 310, 312, 314, 316, 318, 320, 322, 324, 326, 328, + 330, 332, 334, 337, 340, 342, 344, 346, 348, 349, + 356, 358, 360, 362, 366, 369, 374, 378, 383, 385, + 387, 389, 392, 394, 397, 400, 403, 406, 410, 415, + 419, 423, 424, 431, 433, 435, 437, 441, 444, 446, + 450, 452, 455, 457, 460, 462, 466, 472, 476, 481, + 483, 485, 488, 490, 494, 498, 504, 508, 512, 517, + 519, 521, 523, 525, 528, 531, 534, 538, 543, 545, + 547, 549, 552, 555, 558, 562, 567, 575, 579, 581, + 584, 587, 590, 594, 599, 607, 609, 611, 614, 616, + 618, 620, 622, 625, 628, 630, 632, 635, 637, 639, + 641, 643, 646, 649, 651, 653, 656, 659, 662, 665, + 669, 670, 676, 677, 685, 687, 689, 692, 696, 699, + 702, 705, 709, 713, 717, 721, 725, 729, 730, 736, + 737, 744, 746, 748, 751, 753, 757, 761, 767, 769, + 771, 773, 775, 776, 783, 788, 791, 795, 797, 799, + 801, 803, 805, 807, 809, 811, 813, 815, 817, 819, + 822, 825, 828, 831, 833, 836, 838, 842, 845, 847, + 848, 851, 853, 856, 858, 860, 862, 864, 866, 868, + 870, 872, 874, 876, 878, 880, 882, 884, 886, 888, + 890, 892, 894, 896, 898, 900, 902, 904, 906, 908, + 910, 912, 914, 916, 918, 920, 922, 924, 926, 928, + 930, 932, 934, 936, 938, 940, 942, 944, 946, 948, + 950, 952, 954, 956, 958, 960, 962, 964, 966, 968, + 970, 972, 974, 976, 978, 980, 982, 984, 986, 988, + 990, 992, 994, 996, 998, 1000, 1002, 1004, 1006, 1008, + 1010, 1012, 1014, 1016, 1018, 1020, 1022, 1024, 1026, 1028, + 1030, 1032, 1034, 1036, 1038, 1040, 1042, 1044, 1046, 1048, + 1050, 1052, 1054, 1056, 1058, 1060, 1062, 1064, 1068, 1070, + 1072, 1074, 1076, 1078, 1082, 1084, 1089, 1097, 1105, 1110, + 1113, 1116, 1119, 1122, 1125, 1129, 1133, 1137, 1141, 1145, + 1149, 1153, 1157, 1161, 1165, 1169, 1173, 1177, 1181, 1185, + 1191, 1196, 1201, 1205, 1209, 1213, 1217, 1219, 1224, 1232, + 1240, 1245, 1250, 1255, 1260, 1265, 1270, 1275, 1280, 1285, + 1290, 1295, 1300, 1303, 1309, 1312, 1315, 1318, 1321, 1324, + 1328, 1332, 1336, 1340, 1344, 1348, 1352, 1356, 1360, 1364, + 1368, 1372, 1376, 1380, 1384, 1388, 1392, 1398, 1403, 1408, + 1412, 1416, 1420, 1424, 1426, 1428, 1430, 1432, 1434, 1436, + 1438, 1440, 1445, 1453, 1461, 1466, 1469, 1475, 1478, 1481, + 1484, 1487, 1491, 1495, 1499, 1503, 1507, 1511, 1515, 1519, + 1523, 1527, 1531, 1535, 1539, 1543, 1547, 1551, 1555, 1561, + 1566, 1571, 1575, 1579, 1583, 1587, 1589, 1591, 1593, 1595, + 1597, 1599, 1601, 1604, 1607, 1609, 1611, 1613, 1616 }; -#endif - -#if YYDEBUG -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -static const short yyrline[] = +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const short int yyrhs[] = { - 0, 377, 379, 383, 389, 391, 392, 395, 397, 400, - 412, 412, 424, 426, 427, 428, 429, 430, 431, 432, - 445, 454, 458, 462, 466, 472, 472, 487, 492, 496, - 507, 511, 515, 519, 523, 527, 531, 537, 542, 551, - 561, 561, 577, 577, 594, 603, 613, 623, 635, 635, - 651, 651, 662, 675, 684, 694, 704, 715, 715, 740, - 740, 764, 764, 794, 794, 809, 809, 826, 826, 857, - 857, 883, 895, 900, 904, 908, 914, 919, 923, 927, - 931, 935, 939, 943, 947, 951, 955, 959, 963, 967, - 971, 975, 979, 983, 987, 991, 995, 999, 1003, 1007, - 1011, 1015, 1019, 1023, 1027, 1031, 1035, 1039, 1043, 1047, - 1051, 1055, 1059, 1063, 1067, 1073, 1075, 1078, 1078, 1089, - 1091, 1094, 1101, 1109, 1114, 1118, 1124, 1133, 1138, 1143, - 1148, 1155, 1160, 1174, 1179, 1184, 1189, 1194, 1199, 1204, - 1209, 1209, 1230, 1235, 1240, 1244, 1249, 1256, 1262, 1269, - 1274, 1280, 1285, 1291, 1296, 1300, 1304, 1308, 1314, 1316, - 1317, 1320, 1324, 1325, 1326, 1329, 1335, 1343, 1349, 1358, - 1363, 1367, 1371, 1376, 1381, 1386, 1391, 1398, 1403, 1407, - 1411, 1416, 1421, 1426, 1431, 1436, 1442, 1449, 1454, 1459, - 1464, 1469, 1474, 1479, 1487, 1492, 1497, 1501, 1505, 1509, - 1513, 1517, 1533, 1551, 1556, 1561, 1565, 1569, 1573, 1577, - 1581, 1597, 1615, 1620, 1625, 1629, 1645, 1663, 1670, 1679, - 1679, 1703, 1703, 1733, 1735, 1738, 1740, 1743, 1748, 1752, - 1756, 1760, 1764, 1768, 1772, 1776, 1782, 1782, 1794, 1794, - 1806, 1808, 1809, 1812, 1818, 1823, 1828, 1835, 1842, 1847, - 1851, 1857, 1857, 1880, 1883, 1890, 1898, 1900, 1901, 1904, - 1909, 1913, 1917, 1922, 1927, 1932, 1937, 1942, 1946, 1951, - 1960, 1965, 1972, 1977, 1982, 1986, 1991, 1998, 2008, 2008, - 2018, 2020, 2023, 2027, 2030, 2033, 2036, 2039, 2042, 2045, - 2048, 2048, 2048, 2049, 2049, 2049, 2049, 2050, 2050, 2050, - 2050, 2050, 2051, 2051, 2051, 2052, 2052, 2052, 2052, 2052, - 2053, 2053, 2053, 2053, 2053, 2054, 2054, 2054, 2054, 2054, - 2054, 2055, 2055, 2055, 2055, 2055, 2056, 2056, 2056, 2057, - 2057, 2057, 2057, 2058, 2058, 2058, 2059, 2059, 2059, 2059, - 2059, 2060, 2060, 2060, 2060, 2061, 2061, 2061, 2061, 2061, - 2062, 2062, 2062, 2062, 2062, 2062, 2063, 2063, 2063, 2063, - 2063, 2064, 2064, 2065, 2068, 2068, 2068, 2068, 2068, 2068, - 2068, 2068, 2068, 2068, 2068, 2069, 2069, 2069, 2069, 2069, - 2069, 2069, 2069, 2069, 2069, 2070, 2070, 2073, 2078, 2084, - 2089, 2095, 2100, 2106, 2111, 2115, 2119, 2123, 2127, 2131, - 2135, 2147, 2151, 2155, 2159, 2163, 2167, 2171, 2175, 2179, - 2183, 2187, 2191, 2195, 2199, 2203, 2207, 2211, 2215, 2219, - 2223, 2227, 2231, 2235, 2239, 2246, 2251, 2255, 2259, 2263, - 2270, 2276, 2282, 2288, 2294, 2301, 2308, 2315, 2322, 2328, - 2334, 2338, 2342, 2346, 2350, 2354, 2366, 2370, 2374, 2378, - 2382, 2386, 2390, 2394, 2398, 2402, 2406, 2410, 2414, 2418, - 2422, 2426, 2430, 2434, 2438, 2442, 2446, 2450, 2454, 2458, - 2462, 2466, 2472, 2477, 2481, 2485, 2489, 2493, 2497, 2510, - 2515, 2519, 2523, 2527, 2531, 2535, 2539, 2543, 2547, 2559, - 2563, 2567, 2571, 2575, 2579, 2583, 2587, 2591, 2595, 2599, - 2603, 2607, 2611, 2615, 2619, 2623, 2627, 2631, 2635, 2639, - 2643, 2647, 2651, 2655, 2661, 2666, 2670, 2674, 2678, 2682, - 2688, 2697, 2705, 2727, 2732, 2738, 2743, 2749 + 126, 0, -1, 98, 127, -1, 99, 211, -1, 100, + 180, -1, 218, -1, 127, 103, -1, 127, 132, -1, + 129, -1, 128, 102, 129, -1, 216, 119, 208, 121, + -1, -1, 135, 101, 131, 127, 122, -1, 136, -1, + 158, -1, 130, -1, 196, -1, 198, -1, 133, -1, + 89, 142, -1, 44, -1, 55, -1, 59, 104, -1, + 76, 104, -1, 75, 104, -1, 74, 104, -1, -1, + 62, 134, 132, -1, 218, -1, 135, 57, -1, 135, + 57, 217, -1, 135, 82, -1, 135, 66, -1, 135, + 94, -1, 135, 58, -1, 135, 96, -1, 135, 70, + -1, 135, 77, -1, 137, -1, 135, 178, 103, -1, + 135, 147, 170, -1, -1, 135, 178, 138, 140, -1, + -1, 135, 50, 177, 139, 141, -1, 164, 170, -1, + 164, 169, 102, 140, -1, 164, 170, -1, 164, 169, + 102, 141, -1, -1, 135, 178, 143, 145, -1, -1, + 135, 50, 177, 144, 146, -1, 135, 147, 170, -1, + 164, 170, -1, 164, 169, 102, 145, -1, 164, 170, + -1, 164, 169, 102, 146, -1, -1, 8, 119, 148, + 166, 121, 155, -1, -1, 9, 119, 149, 166, 121, + 155, -1, -1, 117, 216, 119, 150, 166, 121, 155, + -1, -1, 9, 119, 114, 164, 121, 119, 151, 166, + 121, 155, -1, -1, 9, 119, 10, 114, 164, 121, + 119, 152, 166, 121, 155, -1, -1, 73, 177, 174, + 119, 153, 166, 121, 155, -1, -1, 73, 50, 177, + 174, 119, 154, 166, 121, 155, -1, 8, -1, 218, + -1, 50, -1, 155, 86, 119, 121, -1, 155, 86, + 119, 216, 121, -1, 123, -1, 117, -1, 114, -1, + 115, -1, 116, -1, 112, -1, 113, -1, 107, -1, + 109, -1, 108, -1, 13, -1, 14, -1, 15, -1, + 16, -1, 17, -1, 18, -1, 110, -1, 111, -1, + 19, -1, 20, -1, 105, -1, 102, -1, 31, -1, + 32, -1, 33, -1, 34, -1, 35, -1, 36, -1, + 37, -1, 38, -1, 39, -1, 40, -1, 41, -1, + 42, -1, 29, -1, 120, 124, -1, 119, 121, -1, + 72, -1, 51, -1, 136, -1, 158, -1, -1, 85, + 159, 110, 160, 111, 157, -1, 218, -1, 161, -1, + 162, -1, 161, 102, 162, -1, 49, 216, -1, 49, + 216, 105, 180, -1, 163, 175, 168, -1, 50, 163, + 175, 168, -1, 199, -1, 8, -1, 9, -1, 90, + 216, -1, 216, -1, 73, 156, -1, 50, 164, -1, + 114, 164, -1, 109, 164, -1, 10, 114, 164, -1, + 164, 120, 207, 124, -1, 164, 104, 4, -1, 119, + 164, 121, -1, -1, 164, 119, 165, 166, 121, 155, + -1, 218, -1, 12, -1, 167, -1, 167, 102, 12, + -1, 167, 12, -1, 173, -1, 167, 102, 173, -1, + 218, -1, 105, 210, -1, 218, -1, 105, 211, -1, + 103, -1, 101, 203, 122, -1, 104, 128, 101, 203, + 122, -1, 105, 211, 103, -1, 105, 101, 171, 122, + -1, 218, -1, 172, -1, 172, 102, -1, 211, -1, + 101, 171, 122, -1, 172, 102, 211, -1, 172, 102, + 101, 171, 122, -1, 177, 175, 169, -1, 8, 175, + 169, -1, 50, 177, 175, 169, -1, 213, -1, 218, + -1, 8, -1, 9, -1, 50, 174, -1, 114, 174, + -1, 109, 174, -1, 10, 114, 174, -1, 174, 120, + 207, 124, -1, 218, -1, 8, -1, 9, -1, 50, + 175, -1, 114, 175, -1, 109, 175, -1, 10, 114, + 175, -1, 175, 120, 207, 124, -1, 119, 175, 121, + 119, 166, 121, 155, -1, 119, 175, 121, -1, 218, + -1, 50, 176, -1, 114, 176, -1, 109, 176, -1, + 10, 114, 176, -1, 176, 120, 207, 124, -1, 119, + 176, 121, 119, 166, 121, 155, -1, 199, -1, 9, + -1, 90, 216, -1, 181, -1, 183, -1, 188, -1, + 190, -1, 195, 216, -1, 194, 216, -1, 199, -1, + 9, -1, 90, 216, -1, 181, -1, 183, -1, 188, + -1, 190, -1, 195, 216, -1, 194, 216, -1, 199, + -1, 9, -1, 90, 216, -1, 195, 216, -1, 194, + 216, -1, 177, 176, -1, 50, 177, 176, -1, -1, + 195, 101, 182, 127, 122, -1, -1, 195, 216, 184, + 185, 101, 127, 122, -1, 218, -1, 186, -1, 104, + 187, -1, 186, 102, 187, -1, 76, 215, -1, 75, + 215, -1, 74, 215, -1, 94, 76, 215, -1, 94, + 75, 215, -1, 94, 74, 215, -1, 76, 94, 215, + -1, 75, 94, 215, -1, 74, 94, 215, -1, -1, + 194, 101, 189, 192, 122, -1, -1, 194, 216, 101, + 191, 192, 122, -1, 218, -1, 193, -1, 193, 102, + -1, 216, -1, 216, 105, 211, -1, 193, 102, 216, + -1, 193, 102, 216, 105, 211, -1, 56, -1, 49, + -1, 84, -1, 91, -1, -1, 71, 216, 101, 197, + 127, 122, -1, 71, 101, 127, 122, -1, 93, 216, + -1, 93, 71, 216, -1, 200, -1, 201, -1, 202, + -1, 45, -1, 47, -1, 48, -1, 79, -1, 68, + -1, 69, -1, 92, -1, 80, -1, 67, -1, 79, + 200, -1, 68, 200, -1, 92, 200, -1, 80, 200, + -1, 61, -1, 68, 61, -1, 52, -1, 68, 68, + 61, -1, 68, 52, -1, 95, -1, -1, 204, 205, + -1, 218, -1, 205, 206, -1, 3, -1, 4, -1, + 6, -1, 5, -1, 8, -1, 9, -1, 10, -1, + 7, -1, 12, -1, 13, -1, 14, -1, 15, -1, + 16, -1, 17, -1, 18, -1, 19, -1, 20, -1, + 21, -1, 22, -1, 29, -1, 30, -1, 31, -1, + 32, -1, 33, -1, 34, -1, 35, -1, 36, -1, + 37, -1, 38, -1, 39, -1, 40, -1, 41, -1, + 42, -1, 45, -1, 46, -1, 47, -1, 48, -1, + 49, -1, 50, -1, 51, -1, 52, -1, 53, -1, + 54, -1, 56, -1, 57, -1, 58, -1, 60, -1, + 61, -1, 62, -1, 63, -1, 64, -1, 65, -1, + 66, -1, 67, -1, 68, -1, 70, -1, 72, -1, + 74, -1, 75, -1, 76, -1, 59, -1, 77, -1, + 78, -1, 79, -1, 80, -1, 81, -1, 82, -1, + 83, -1, 84, -1, 86, -1, 87, -1, 88, -1, + 89, -1, 90, -1, 91, -1, 92, -1, 94, -1, + 95, -1, 96, -1, 97, -1, 43, -1, 73, -1, + 112, -1, 113, -1, 114, -1, 115, -1, 109, -1, + 107, -1, 108, -1, 123, -1, 117, -1, 105, -1, + 116, -1, 110, -1, 111, -1, 119, -1, 121, -1, + 118, -1, 102, -1, 103, -1, 104, -1, 120, -1, + 124, -1, 106, -1, 101, 205, 122, -1, 218, -1, + 211, -1, 218, -1, 209, -1, 211, -1, 209, 102, + 211, -1, 212, -1, 119, 180, 121, 210, -1, 83, + 110, 180, 111, 119, 209, 121, -1, 53, 110, 180, + 111, 119, 209, 121, -1, 81, 119, 180, 121, -1, + 123, 210, -1, 117, 210, -1, 113, 210, -1, 114, + 210, -1, 109, 210, -1, 210, 114, 210, -1, 210, + 115, 210, -1, 210, 116, 210, -1, 210, 112, 210, + -1, 210, 113, 210, -1, 210, 107, 210, -1, 210, + 109, 210, -1, 210, 13, 210, -1, 210, 14, 210, + -1, 210, 15, 210, -1, 210, 16, 210, -1, 210, + 17, 210, -1, 210, 18, 210, -1, 210, 19, 210, + -1, 210, 20, 210, -1, 210, 106, 210, 104, 210, + -1, 210, 120, 211, 124, -1, 210, 119, 209, 121, + -1, 210, 119, 121, -1, 210, 118, 210, -1, 210, + 29, 210, -1, 119, 209, 121, -1, 212, -1, 119, + 180, 121, 211, -1, 83, 110, 180, 111, 119, 209, + 121, -1, 53, 110, 180, 111, 119, 209, 121, -1, + 9, 119, 208, 121, -1, 67, 119, 208, 121, -1, + 47, 119, 208, 121, -1, 48, 119, 208, 121, -1, + 45, 119, 208, 121, -1, 79, 119, 208, 121, -1, + 68, 119, 208, 121, -1, 92, 119, 208, 121, -1, + 80, 119, 208, 121, -1, 61, 119, 208, 121, -1, + 52, 119, 208, 121, -1, 81, 119, 180, 121, -1, + 72, 179, -1, 72, 179, 119, 208, 121, -1, 123, + 211, -1, 117, 211, -1, 113, 211, -1, 114, 211, + -1, 109, 211, -1, 211, 114, 211, -1, 211, 115, + 211, -1, 211, 116, 211, -1, 211, 112, 211, -1, + 211, 113, 211, -1, 211, 107, 211, -1, 211, 109, + 211, -1, 211, 13, 211, -1, 211, 14, 211, -1, + 211, 15, 211, -1, 211, 16, 211, -1, 211, 17, + 211, -1, 211, 18, 211, -1, 211, 110, 211, -1, + 211, 111, 211, -1, 211, 19, 211, -1, 211, 20, + 211, -1, 211, 106, 211, 104, 211, -1, 211, 120, + 211, 124, -1, 211, 119, 209, 121, -1, 211, 119, + 121, -1, 211, 118, 211, -1, 211, 29, 211, -1, + 119, 209, 121, -1, 4, -1, 87, -1, 60, -1, + 5, -1, 3, -1, 217, -1, 8, -1, 214, -1, + 119, 180, 121, 211, -1, 83, 110, 180, 111, 119, + 209, 121, -1, 53, 110, 180, 111, 119, 209, 121, + -1, 81, 119, 180, 121, -1, 72, 179, -1, 72, + 179, 119, 208, 121, -1, 123, 211, -1, 117, 211, + -1, 113, 211, -1, 109, 211, -1, 213, 114, 211, + -1, 213, 115, 211, -1, 213, 116, 211, -1, 213, + 112, 211, -1, 213, 113, 211, -1, 213, 107, 211, + -1, 213, 109, 211, -1, 213, 13, 211, -1, 213, + 14, 211, -1, 213, 15, 211, -1, 213, 16, 211, + -1, 213, 17, 211, -1, 213, 18, 211, -1, 213, + 110, 211, -1, 213, 111, 211, -1, 213, 19, 211, + -1, 213, 20, 211, -1, 213, 106, 211, 104, 211, + -1, 213, 120, 211, 124, -1, 213, 119, 209, 121, + -1, 213, 119, 121, -1, 213, 118, 211, -1, 213, + 29, 211, -1, 119, 209, 121, -1, 4, -1, 87, + -1, 60, -1, 5, -1, 3, -1, 217, -1, 216, + -1, 195, 216, -1, 90, 216, -1, 8, -1, 9, + -1, 6, -1, 217, 6, -1, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const unsigned short int yyrline[] = +{ + 0, 378, 378, 379, 383, 390, 391, 392, 396, 397, + 401, 414, 413, 425, 426, 427, 428, 429, 430, 431, + 432, 445, 454, 458, 462, 466, 474, 473, 488, 492, + 496, 507, 511, 515, 519, 523, 527, 531, 538, 542, + 551, 563, 562, 578, 577, 595, 603, 614, 623, 637, + 636, 652, 651, 662, 676, 684, 695, 704, 719, 718, + 741, 740, 765, 764, 795, 794, 810, 809, 827, 826, + 858, 857, 883, 896, 900, 904, 908, 915, 919, 923, + 927, 931, 935, 939, 943, 947, 951, 955, 959, 963, + 967, 971, 975, 979, 983, 987, 991, 995, 999, 1003, + 1007, 1011, 1015, 1019, 1023, 1027, 1031, 1035, 1039, 1043, + 1047, 1051, 1055, 1059, 1063, 1067, 1074, 1075, 1080, 1079, + 1090, 1091, 1095, 1101, 1110, 1114, 1118, 1124, 1134, 1138, + 1143, 1148, 1156, 1160, 1174, 1179, 1184, 1189, 1194, 1199, + 1204, 1210, 1209, 1231, 1235, 1240, 1244, 1249, 1257, 1262, + 1270, 1274, 1281, 1285, 1292, 1296, 1300, 1304, 1308, 1315, + 1316, 1317, 1321, 1324, 1325, 1326, 1330, 1335, 1343, 1349, + 1359, 1363, 1367, 1371, 1376, 1381, 1386, 1391, 1399, 1403, + 1407, 1411, 1416, 1421, 1426, 1431, 1436, 1442, 1450, 1454, + 1459, 1464, 1469, 1474, 1479, 1488, 1492, 1497, 1501, 1505, + 1509, 1513, 1517, 1533, 1552, 1556, 1561, 1565, 1569, 1573, + 1577, 1581, 1597, 1616, 1620, 1625, 1629, 1645, 1664, 1670, + 1681, 1680, 1705, 1704, 1734, 1735, 1739, 1740, 1744, 1748, + 1752, 1756, 1760, 1764, 1768, 1772, 1776, 1784, 1783, 1796, + 1795, 1807, 1808, 1809, 1813, 1818, 1823, 1828, 1836, 1843, + 1847, 1851, 1859, 1858, 1880, 1884, 1890, 1899, 1900, 1901, + 1905, 1909, 1913, 1917, 1922, 1927, 1932, 1937, 1942, 1946, + 1951, 1960, 1965, 1973, 1977, 1982, 1986, 1991, 1999, 2009, + 2009, 2019, 2020, 2024, 2027, 2030, 2033, 2036, 2039, 2042, + 2045, 2048, 2048, 2048, 2049, 2049, 2049, 2049, 2050, 2050, + 2050, 2050, 2050, 2051, 2051, 2051, 2052, 2052, 2052, 2052, + 2052, 2053, 2053, 2053, 2053, 2053, 2054, 2054, 2054, 2054, + 2054, 2054, 2055, 2055, 2055, 2055, 2055, 2056, 2056, 2056, + 2057, 2057, 2057, 2057, 2058, 2058, 2058, 2059, 2059, 2059, + 2059, 2059, 2060, 2060, 2060, 2060, 2061, 2061, 2061, 2061, + 2061, 2062, 2062, 2062, 2062, 2062, 2062, 2063, 2063, 2063, + 2063, 2063, 2064, 2064, 2065, 2068, 2068, 2068, 2068, 2068, + 2068, 2068, 2068, 2068, 2068, 2068, 2069, 2069, 2069, 2069, + 2069, 2069, 2069, 2069, 2069, 2069, 2070, 2070, 2074, 2078, + 2085, 2089, 2096, 2100, 2107, 2111, 2115, 2119, 2123, 2127, + 2131, 2135, 2147, 2151, 2155, 2159, 2163, 2167, 2171, 2175, + 2179, 2183, 2187, 2191, 2195, 2199, 2203, 2207, 2211, 2215, + 2219, 2223, 2227, 2231, 2235, 2239, 2247, 2251, 2255, 2259, + 2263, 2270, 2276, 2282, 2288, 2294, 2301, 2308, 2315, 2322, + 2328, 2334, 2338, 2342, 2346, 2350, 2354, 2366, 2370, 2374, + 2378, 2382, 2386, 2390, 2394, 2398, 2402, 2406, 2410, 2414, + 2418, 2422, 2426, 2430, 2434, 2438, 2442, 2446, 2450, 2454, + 2458, 2462, 2466, 2473, 2477, 2481, 2485, 2489, 2493, 2497, + 2511, 2515, 2519, 2523, 2527, 2531, 2535, 2539, 2543, 2547, + 2559, 2563, 2567, 2571, 2575, 2579, 2583, 2587, 2591, 2595, + 2599, 2603, 2607, 2611, 2615, 2619, 2623, 2627, 2631, 2635, + 2639, 2643, 2647, 2651, 2655, 2662, 2666, 2670, 2674, 2678, + 2682, 2689, 2697, 2705, 2728, 2732, 2739, 2743, 2749 }; #endif - -#if (YYDEBUG) || defined YYERROR_VERBOSE - -/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */ +#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { - "$", "error", "$undefined.", "REAL", "INTEGER", "CHAR", "STRING", - "SIMPLE_IDENTIFIER", "IDENTIFIER", "TYPENAME_IDENTIFIER", "SCOPING", - "TYPEDEFNAME", "ELLIPSIS", "OROR", "ANDAND", "EQCOMPARE", "NECOMPARE", - "LECOMPARE", "GECOMPARE", "LSHIFT", "RSHIFT", "POINTSAT_STAR", - "DOT_STAR", "UNARY", "UNARY_NOT", "UNARY_NEGATE", "UNARY_MINUS", - "UNARY_STAR", "UNARY_REF", "POINTSAT", "SCOPE", "PLUSPLUS", - "MINUSMINUS", "TIMESEQUAL", "DIVIDEEQUAL", "MODEQUAL", "PLUSEQUAL", - "MINUSEQUAL", "OREQUAL", "ANDEQUAL", "XOREQUAL", "LSHIFTEQUAL", - "RSHIFTEQUAL", "TOKENPASTE", "KW_BEGIN_PUBLISH", "KW_BOOL", "KW_CATCH", - "KW_CHAR", "KW_WCHAR_T", "KW_CLASS", "KW_CONST", "KW_DELETE", - "KW_DOUBLE", "KW_DYNAMIC_CAST", "KW_ELSE", "KW_END_PUBLISH", "KW_ENUM", - "KW_EXTERN", "KW_EXPLICIT", "KW_PUBLISHED", "KW_FALSE", "KW_FLOAT", - "KW_FRIEND", "KW_FOR", "KW_GOTO", "KW_IF", "KW_INLINE", "KW_INT", - "KW_LONG", "KW_LONGLONG", "KW_MUTABLE", "KW_NAMESPACE", "KW_NEW", - "KW_OPERATOR", "KW_PRIVATE", "KW_PROTECTED", "KW_PUBLIC", "KW_REGISTER", - "KW_RETURN", "KW_SHORT", "KW_SIGNED", "KW_SIZEOF", "KW_STATIC", - "KW_STATIC_CAST", "KW_STRUCT", "KW_TEMPLATE", "KW_THROW", "KW_TRUE", - "KW_TRY", "KW_TYPEDEF", "KW_TYPENAME", "KW_UNION", "KW_UNSIGNED", - "KW_USING", "KW_VIRTUAL", "KW_VOID", "KW_VOLATILE", "KW_WHILE", - "START_CPP", "START_CONST_EXPR", "START_TYPE", "'{'", "','", "';'", - "':'", "'='", "'?'", "'|'", "'^'", "'&'", "'<'", "'>'", "'+'", "'-'", - "'*'", "'/'", "'%'", "'~'", "'.'", "'('", "'['", "')'", "'}'", "'!'", - "']'", "grammar", "cpp", "constructor_inits", "constructor_init", - "extern_c", "@1", "declaration", "friend_declaration", "@2", - "storage_class", "type_like_declaration", "multiple_var_declaration", - "@3", "@4", "multiple_instance_identifiers", - "multiple_const_instance_identifiers", "typedef_declaration", "@5", - "@6", "typedef_instance_identifiers", - "typedef_const_instance_identifiers", "function_prototype", "@7", "@8", - "@9", "@10", "@11", "@12", "@13", "function_post", "function_operator", - "more_template_declaration", "template_declaration", "@14", - "template_formal_parameters", "template_nonempty_formal_parameters", - "template_formal_parameter", "template_formal_parameter_type", - "instance_identifier", "@15", "formal_parameter_list", - "formal_parameters", "template_parameter_maybe_initialize", - "maybe_initialize", "maybe_initialize_or_function_body", - "structure_init", "structure_init_body", "formal_parameter", - "not_paren_formal_parameter_identifier", "formal_parameter_identifier", - "empty_instance_identifier", "type", "type_decl", "predefined_type", - "full_type", "anonymous_struct", "@16", "named_struct", "@17", - "maybe_class_derivation", "class_derivation", "base_specification", - "anonymous_enum", "@18", "named_enum", "@19", "enum_body", - "enum_body_no_trailing_comma", "enum_keyword", "struct_keyword", - "namespace_declaration", "@20", "using_declaration", "simple_type", - "simple_int_type", "simple_float_type", "simple_void_type", "code", - "@21", "code_block", "element", "optional_const_expr", - "optional_const_expr_comma", "const_expr_comma", - "no_angle_bracket_const_expr", "const_expr", "const_operand", - "formal_const_expr", "formal_const_operand", "class_derivation_name", + "$end", "error", "$undefined", "REAL", "INTEGER", "CHAR_TOK", "STRING", + "SIMPLE_IDENTIFIER", "IDENTIFIER", "TYPENAME_IDENTIFIER", "SCOPING", + "TYPEDEFNAME", "ELLIPSIS", "OROR", "ANDAND", "EQCOMPARE", "NECOMPARE", + "LECOMPARE", "GECOMPARE", "LSHIFT", "RSHIFT", "POINTSAT_STAR", + "DOT_STAR", "UNARY", "UNARY_NOT", "UNARY_NEGATE", "UNARY_MINUS", + "UNARY_STAR", "UNARY_REF", "POINTSAT", "SCOPE", "PLUSPLUS", "MINUSMINUS", + "TIMESEQUAL", "DIVIDEEQUAL", "MODEQUAL", "PLUSEQUAL", "MINUSEQUAL", + "OREQUAL", "ANDEQUAL", "XOREQUAL", "LSHIFTEQUAL", "RSHIFTEQUAL", + "TOKENPASTE", "KW_BEGIN_PUBLISH", "KW_BOOL", "KW_CATCH", "KW_CHAR", + "KW_WCHAR_T", "KW_CLASS", "KW_CONST", "KW_DELETE", "KW_DOUBLE", + "KW_DYNAMIC_CAST", "KW_ELSE", "KW_END_PUBLISH", "KW_ENUM", "KW_EXTERN", + "KW_EXPLICIT", "KW_PUBLISHED", "KW_FALSE", "KW_FLOAT", "KW_FRIEND", + "KW_FOR", "KW_GOTO", "KW_IF", "KW_INLINE", "KW_INT", "KW_LONG", + "KW_LONGLONG", "KW_MUTABLE", "KW_NAMESPACE", "KW_NEW", "KW_OPERATOR", + "KW_PRIVATE", "KW_PROTECTED", "KW_PUBLIC", "KW_REGISTER", "KW_RETURN", + "KW_SHORT", "KW_SIGNED", "KW_SIZEOF", "KW_STATIC", "KW_STATIC_CAST", + "KW_STRUCT", "KW_TEMPLATE", "KW_THROW", "KW_TRUE", "KW_TRY", + "KW_TYPEDEF", "KW_TYPENAME", "KW_UNION", "KW_UNSIGNED", "KW_USING", + "KW_VIRTUAL", "KW_VOID", "KW_VOLATILE", "KW_WHILE", "START_CPP", + "START_CONST_EXPR", "START_TYPE", "'{'", "','", "';'", "':'", "'='", + "'?'", "'|'", "'^'", "'&'", "'<'", "'>'", "'+'", "'-'", "'*'", "'/'", + "'%'", "'~'", "'.'", "'('", "'['", "')'", "'}'", "'!'", "']'", "$accept", + "grammar", "cpp", "constructor_inits", "constructor_init", "extern_c", + "@1", "declaration", "friend_declaration", "@2", "storage_class", + "type_like_declaration", "multiple_var_declaration", "@3", "@4", + "multiple_instance_identifiers", "multiple_const_instance_identifiers", + "typedef_declaration", "@5", "@6", "typedef_instance_identifiers", + "typedef_const_instance_identifiers", "function_prototype", "@7", "@8", + "@9", "@10", "@11", "@12", "@13", "function_post", "function_operator", + "more_template_declaration", "template_declaration", "@14", + "template_formal_parameters", "template_nonempty_formal_parameters", + "template_formal_parameter", "template_formal_parameter_type", + "instance_identifier", "@15", "formal_parameter_list", + "formal_parameters", "template_parameter_maybe_initialize", + "maybe_initialize", "maybe_initialize_or_function_body", + "structure_init", "structure_init_body", "formal_parameter", + "not_paren_formal_parameter_identifier", "formal_parameter_identifier", + "empty_instance_identifier", "type", "type_decl", "predefined_type", + "full_type", "anonymous_struct", "@16", "named_struct", "@17", + "maybe_class_derivation", "class_derivation", "base_specification", + "anonymous_enum", "@18", "named_enum", "@19", "enum_body", + "enum_body_no_trailing_comma", "enum_keyword", "struct_keyword", + "namespace_declaration", "@20", "using_declaration", "simple_type", + "simple_int_type", "simple_float_type", "simple_void_type", "code", + "@21", "code_block", "element", "optional_const_expr", + "optional_const_expr_comma", "const_expr_comma", + "no_angle_bracket_const_expr", "const_expr", "const_operand", + "formal_const_expr", "formal_const_operand", "class_derivation_name", "name", "string", "empty", 0 }; #endif -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const short yyr1[] = +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const unsigned short int yytoknum[] = { - 0, 125, 125, 125, 126, 126, 126, 127, 127, 128, - 130, 129, 131, 131, 131, 131, 131, 131, 131, 131, - 131, 131, 131, 131, 131, 133, 132, 134, 134, 134, - 134, 134, 134, 134, 134, 134, 134, 135, 135, 135, - 137, 136, 138, 136, 139, 139, 140, 140, 142, 141, - 143, 141, 141, 144, 144, 145, 145, 147, 146, 148, - 146, 149, 146, 150, 146, 151, 146, 152, 146, 153, - 146, 146, 154, 154, 154, 154, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 155, 155, 155, 156, 156, 158, 157, 159, - 159, 160, 160, 161, 161, 161, 161, 162, 162, 162, - 162, 163, 163, 163, 163, 163, 163, 163, 163, 163, - 164, 163, 165, 165, 165, 165, 165, 166, 166, 167, - 167, 168, 168, 169, 169, 169, 169, 169, 170, 170, - 170, 171, 171, 171, 171, 172, 172, 172, 172, 173, - 173, 173, 173, 173, 173, 173, 173, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 175, 175, 175, - 175, 175, 175, 175, 176, 176, 176, 176, 176, 176, - 176, 176, 176, 177, 177, 177, 177, 177, 177, 177, - 177, 177, 178, 178, 178, 178, 178, 179, 179, 181, - 180, 183, 182, 184, 184, 185, 185, 186, 186, 186, - 186, 186, 186, 186, 186, 186, 188, 187, 190, 189, - 191, 191, 191, 192, 192, 192, 192, 193, 194, 194, - 194, 196, 195, 195, 197, 197, 198, 198, 198, 199, - 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, - 199, 199, 200, 200, 200, 200, 200, 201, 203, 202, - 204, 204, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 205, 205, 205, - 205, 205, 205, 205, 205, 205, 205, 206, 206, 207, - 207, 208, 208, 209, 209, 209, 209, 209, 209, 209, - 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, - 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, - 209, 209, 209, 209, 209, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 211, 211, 211, 211, 211, 211, 211, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 213, 213, 213, 213, 213, 213, - 214, 214, 214, 215, 215, 216, 216, 217 -}; - -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const short yyr2[] = -{ - 0, 2, 2, 2, 1, 2, 2, 1, 3, 4, - 0, 5, 1, 1, 1, 1, 1, 1, 2, 1, - 1, 2, 2, 2, 2, 0, 3, 1, 2, 3, - 2, 2, 2, 2, 2, 2, 2, 1, 3, 3, - 0, 4, 0, 5, 2, 4, 2, 4, 0, 4, - 0, 5, 3, 2, 4, 2, 4, 0, 6, 0, - 6, 0, 7, 0, 10, 0, 11, 0, 8, 0, - 9, 1, 1, 1, 4, 5, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 2, 1, 1, 1, 1, 0, 6, 1, - 1, 1, 3, 2, 4, 3, 4, 1, 1, 1, - 2, 1, 2, 2, 2, 2, 3, 4, 3, 3, - 0, 6, 1, 1, 1, 3, 2, 1, 3, 1, - 2, 1, 2, 1, 3, 5, 3, 4, 1, 1, - 2, 1, 3, 3, 5, 3, 3, 4, 1, 1, - 1, 1, 2, 2, 2, 3, 4, 1, 1, 1, - 2, 2, 2, 3, 4, 7, 3, 1, 2, 2, - 2, 3, 4, 7, 1, 1, 2, 1, 1, 1, - 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, - 2, 2, 1, 1, 2, 2, 2, 2, 3, 0, - 5, 0, 7, 1, 1, 2, 3, 2, 2, 2, - 3, 3, 3, 3, 3, 3, 0, 5, 0, 6, - 1, 1, 2, 1, 3, 3, 5, 1, 1, 1, - 1, 0, 6, 4, 2, 3, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, - 2, 2, 1, 2, 1, 3, 2, 1, 0, 2, - 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, - 1, 1, 3, 1, 4, 7, 7, 4, 2, 2, - 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 5, 4, - 4, 3, 3, 3, 3, 1, 4, 7, 7, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 2, 5, 2, 2, 2, 2, 2, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 5, 4, 4, 3, 3, - 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 7, 7, 4, 2, 5, 2, 2, 2, 2, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 5, 4, 4, - 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, - 1, 2, 2, 1, 1, 1, 2, 0 -}; - -/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE - doesn't specify something else to do. Zero means the default is an - error. */ -static const short yydefact[] = -{ - 0, 527, 0, 0, 527, 4, 476, 472, 475, 525, - 478, 0, 0, 0, 0, 0, 0, 474, 0, 0, - 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, - 0, 0, 0, 0, 2, 425, 477, 195, 259, 260, - 261, 248, 0, 274, 247, 272, 267, 263, 264, 262, - 266, 249, 0, 250, 265, 277, 527, 3, 197, 198, - 199, 200, 0, 0, 194, 256, 257, 258, 19, 20, - 0, 25, 0, 0, 0, 0, 117, 527, 0, 5, - 14, 6, 17, 0, 12, 37, 13, 15, 16, 27, - 527, 527, 527, 527, 527, 0, 527, 527, 527, 213, - 0, 441, 0, 0, 212, 527, 527, 0, 0, 527, - 447, 445, 446, 444, 195, 259, 260, 261, 274, 272, - 267, 263, 262, 266, 265, 0, 0, 391, 443, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 526, 527, 276, 273, 263, 269, 263, 268, 271, - 523, 524, 196, 270, 0, 527, 527, 527, 527, 217, - 187, 236, 202, 219, 201, 21, 527, 527, 0, 24, - 23, 22, 0, 0, 18, 0, 254, 71, 204, 0, - 28, 33, 31, 35, 0, 36, 30, 0, 32, 34, - 10, 0, 0, 40, 206, 207, 208, 209, 0, 0, - 203, 0, 390, 389, 0, 0, 0, 0, 0, 0, - 0, 0, 214, 527, 216, 215, 0, 0, 0, 0, - 0, 0, 0, 471, 455, 456, 457, 458, 459, 460, - 463, 464, 470, 0, 453, 454, 461, 462, 451, 452, - 448, 449, 450, 469, 468, 0, 0, 218, 275, 527, - 188, 190, 189, 0, 527, 527, 238, 527, 527, 26, - 527, 251, 527, 0, 0, 48, 255, 57, 59, 42, - 29, 0, 527, 205, 527, 0, 278, 153, 0, 0, - 39, 38, 0, 211, 210, 429, 433, 431, 432, 439, - 0, 438, 430, 435, 0, 434, 437, 440, 0, 436, - 426, 392, 0, 467, 466, 191, 0, 0, 388, 387, - 0, 241, 243, 240, 527, 527, 0, 0, 224, 223, - 253, 527, 128, 129, 0, 0, 0, 0, 120, 121, - 527, 127, 119, 50, 52, 0, 527, 0, 0, 527, - 0, 527, 170, 171, 0, 527, 527, 527, 0, 169, - 527, 61, 0, 527, 0, 7, 0, 527, 0, 0, - 0, 0, 0, 0, 0, 41, 527, 131, 0, 442, - 0, 465, 527, 192, 237, 242, 0, 0, 220, 0, - 0, 0, 0, 225, 527, 0, 527, 123, 527, 130, - 527, 0, 178, 179, 0, 527, 527, 527, 527, 527, - 177, 0, 49, 527, 518, 514, 517, 527, 143, 0, - 0, 516, 0, 0, 0, 515, 0, 0, 0, 0, - 0, 0, 144, 147, 527, 168, 479, 519, 142, 0, - 0, 0, 43, 527, 0, 527, 172, 174, 173, 67, - 527, 11, 527, 154, 279, 280, 278, 0, 527, 527, - 0, 159, 161, 158, 156, 0, 133, 86, 87, 88, - 89, 90, 91, 94, 95, 110, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 114, 113, - 97, 96, 83, 85, 84, 92, 93, 81, 82, 78, - 79, 80, 77, 0, 0, 76, 132, 135, 134, 0, - 0, 0, 140, 527, 0, 44, 151, 0, 0, 0, - 245, 244, 239, 0, 0, 0, 229, 520, 0, 228, - 0, 227, 0, 0, 0, 527, 226, 252, 0, 527, - 0, 115, 118, 116, 122, 527, 180, 182, 181, 0, - 0, 527, 125, 149, 51, 527, 0, 53, 527, 527, - 0, 484, 0, 0, 489, 488, 487, 0, 0, 486, - 527, 146, 0, 527, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 527, - 0, 46, 69, 175, 527, 0, 0, 282, 283, 285, - 284, 289, 286, 287, 288, 290, 291, 292, 293, 294, + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, - 362, 315, 316, 317, 318, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 342, 328, 329, 330, 331, 332, - 333, 334, 335, 336, 337, 338, 363, 339, 340, 341, - 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, - 353, 354, 355, 356, 357, 358, 359, 360, 361, 527, - 380, 381, 382, 373, 385, 369, 370, 368, 375, 376, - 364, 365, 366, 367, 374, 372, 379, 377, 383, 378, - 371, 384, 281, 0, 8, 0, 0, 157, 160, 136, - 112, 111, 139, 138, 152, 527, 0, 0, 428, 427, - 527, 0, 522, 235, 521, 234, 233, 232, 231, 230, - 222, 124, 126, 183, 186, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 150, 393, 0, 0, 55, 0, - 0, 166, 527, 0, 527, 0, 0, 0, 513, 73, - 58, 72, 145, 148, 165, 497, 498, 499, 500, 501, - 502, 505, 506, 512, 0, 495, 496, 503, 504, 493, - 494, 490, 491, 492, 511, 510, 0, 0, 0, 63, - 60, 0, 527, 0, 176, 527, 0, 155, 9, 162, - 527, 163, 0, 137, 45, 193, 246, 527, 0, 0, - 0, 402, 400, 401, 399, 0, 0, 398, 0, 0, + 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, + 355, 123, 44, 59, 58, 61, 63, 124, 94, 38, + 60, 62, 43, 45, 42, 47, 37, 126, 46, 40, + 91, 41, 125, 33, 93 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const unsigned char yyr1[] = +{ + 0, 125, 126, 126, 126, 127, 127, 127, 128, 128, + 129, 131, 130, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 134, 133, 135, 135, + 135, 135, 135, 135, 135, 135, 135, 135, 136, 136, + 136, 138, 137, 139, 137, 140, 140, 141, 141, 143, + 142, 144, 142, 142, 145, 145, 146, 146, 148, 147, + 149, 147, 150, 147, 151, 147, 152, 147, 153, 147, + 154, 147, 147, 155, 155, 155, 155, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 156, 156, 156, 156, + 156, 156, 156, 156, 156, 156, 157, 157, 159, 158, + 160, 160, 161, 161, 162, 162, 162, 162, 163, 163, + 163, 163, 164, 164, 164, 164, 164, 164, 164, 164, + 164, 165, 164, 166, 166, 166, 166, 166, 167, 167, + 168, 168, 169, 169, 170, 170, 170, 170, 170, 171, + 171, 171, 172, 172, 172, 172, 173, 173, 173, 173, + 174, 174, 174, 174, 174, 174, 174, 174, 175, 175, + 175, 175, 175, 175, 175, 175, 175, 175, 176, 176, + 176, 176, 176, 176, 176, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 178, 178, 178, 178, 178, 178, + 178, 178, 178, 179, 179, 179, 179, 179, 180, 180, + 182, 181, 184, 183, 185, 185, 186, 186, 187, 187, + 187, 187, 187, 187, 187, 187, 187, 189, 188, 191, + 190, 192, 192, 192, 193, 193, 193, 193, 194, 195, + 195, 195, 197, 196, 196, 198, 198, 199, 199, 199, + 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, + 200, 200, 200, 201, 201, 201, 201, 201, 202, 204, + 203, 205, 205, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 206, 206, + 206, 206, 206, 206, 206, 206, 206, 206, 207, 207, + 208, 208, 209, 209, 210, 210, 210, 210, 210, 210, + 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, + 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, + 210, 210, 210, 210, 210, 210, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 212, 212, 212, 212, 212, 212, 212, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 213, 213, 213, 213, 214, 214, 214, 214, 214, + 214, 215, 215, 215, 216, 216, 217, 217, 218 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const unsigned char yyr2[] = +{ + 0, 2, 2, 2, 2, 1, 2, 2, 1, 3, + 4, 0, 5, 1, 1, 1, 1, 1, 1, 2, + 1, 1, 2, 2, 2, 2, 0, 3, 1, 2, + 3, 2, 2, 2, 2, 2, 2, 2, 1, 3, + 3, 0, 4, 0, 5, 2, 4, 2, 4, 0, + 4, 0, 5, 3, 2, 4, 2, 4, 0, 6, + 0, 6, 0, 7, 0, 10, 0, 11, 0, 8, + 0, 9, 1, 1, 1, 4, 5, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 2, 2, 1, 1, 1, 1, 0, 6, + 1, 1, 1, 3, 2, 4, 3, 4, 1, 1, + 1, 2, 1, 2, 2, 2, 2, 3, 4, 3, + 3, 0, 6, 1, 1, 1, 3, 2, 1, 3, + 1, 2, 1, 2, 1, 3, 5, 3, 4, 1, + 1, 2, 1, 3, 3, 5, 3, 3, 4, 1, + 1, 1, 1, 2, 2, 2, 3, 4, 1, 1, + 1, 2, 2, 2, 3, 4, 7, 3, 1, 2, + 2, 2, 3, 4, 7, 1, 1, 2, 1, 1, + 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, + 1, 2, 2, 1, 1, 2, 2, 2, 2, 3, + 0, 5, 0, 7, 1, 1, 2, 3, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 0, 5, 0, + 6, 1, 1, 2, 1, 3, 3, 5, 1, 1, + 1, 1, 0, 6, 4, 2, 3, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, + 2, 2, 2, 1, 2, 1, 3, 2, 1, 0, + 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, + 1, 1, 1, 3, 1, 4, 7, 7, 4, 2, + 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, + 4, 4, 3, 3, 3, 3, 1, 4, 7, 7, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 2, 5, 2, 2, 2, 2, 2, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 5, 4, 4, 3, + 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, + 1, 4, 7, 7, 4, 2, 5, 2, 2, 2, + 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 5, 4, + 4, 3, 3, 3, 3, 1, 1, 1, 1, 1, + 1, 1, 2, 2, 1, 1, 1, 2, 0 +}; + +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state + STATE-NUM when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const unsigned short int yydefact[] = +{ + 0, 528, 0, 0, 0, 528, 5, 477, 473, 476, + 526, 479, 0, 0, 0, 0, 0, 0, 475, 0, + 0, 0, 0, 0, 0, 0, 0, 474, 0, 0, + 0, 0, 0, 0, 0, 3, 426, 478, 196, 260, + 261, 262, 249, 0, 275, 248, 273, 268, 264, 265, + 263, 267, 250, 0, 251, 266, 278, 528, 4, 198, + 199, 200, 201, 0, 0, 195, 257, 258, 259, 1, + 20, 21, 0, 26, 0, 0, 0, 0, 118, 528, + 0, 6, 15, 7, 18, 0, 13, 38, 14, 16, + 17, 28, 528, 528, 528, 528, 528, 0, 528, 528, + 528, 214, 0, 442, 0, 0, 213, 528, 528, 0, + 0, 528, 448, 446, 447, 445, 196, 260, 261, 262, + 275, 273, 268, 264, 263, 267, 266, 0, 0, 392, + 444, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 184, 0, - 54, 152, 167, 0, 0, 483, 0, 480, 0, 0, - 509, 508, 65, 527, 47, 0, 527, 62, 386, 0, - 527, 0, 0, 0, 0, 0, 424, 410, 411, 412, - 413, 414, 415, 416, 417, 423, 0, 408, 409, 406, - 407, 403, 404, 405, 422, 421, 0, 0, 56, 0, - 485, 0, 0, 507, 527, 0, 527, 68, 164, 141, - 527, 0, 397, 0, 394, 0, 420, 419, 0, 0, - 74, 0, 0, 527, 70, 185, 0, 0, 418, 482, - 481, 75, 527, 64, 0, 0, 66, 396, 395, 0, - 0, 0 + 0, 0, 0, 527, 528, 277, 274, 264, 270, 264, + 269, 272, 524, 525, 197, 271, 0, 528, 528, 528, + 528, 218, 188, 237, 203, 220, 202, 22, 528, 528, + 0, 25, 24, 23, 0, 0, 19, 0, 255, 72, + 205, 0, 29, 34, 32, 36, 0, 37, 31, 0, + 33, 35, 11, 0, 0, 41, 207, 208, 209, 210, + 0, 0, 204, 0, 391, 390, 0, 0, 0, 0, + 0, 0, 0, 0, 215, 528, 217, 216, 0, 0, + 0, 0, 0, 0, 0, 472, 456, 457, 458, 459, + 460, 461, 464, 465, 471, 0, 454, 455, 462, 463, + 452, 453, 449, 450, 451, 470, 469, 0, 0, 219, + 276, 528, 189, 191, 190, 0, 528, 528, 239, 528, + 528, 27, 528, 252, 528, 0, 0, 49, 256, 58, + 60, 43, 30, 0, 528, 206, 528, 0, 279, 154, + 0, 0, 40, 39, 0, 212, 211, 430, 434, 432, + 433, 440, 0, 439, 431, 436, 0, 435, 438, 441, + 0, 437, 427, 393, 0, 468, 467, 192, 0, 0, + 389, 388, 0, 242, 244, 241, 528, 528, 0, 0, + 225, 224, 254, 528, 129, 130, 0, 0, 0, 0, + 121, 122, 528, 128, 120, 51, 53, 0, 528, 0, + 0, 528, 0, 528, 171, 172, 0, 528, 528, 528, + 0, 170, 528, 62, 0, 528, 0, 8, 0, 528, + 0, 0, 0, 0, 0, 0, 0, 42, 528, 132, + 0, 443, 0, 466, 528, 193, 238, 243, 0, 0, + 221, 0, 0, 0, 0, 226, 528, 0, 528, 124, + 528, 131, 528, 0, 179, 180, 0, 528, 528, 528, + 528, 528, 178, 0, 50, 528, 519, 515, 518, 528, + 144, 0, 0, 517, 0, 0, 0, 516, 0, 0, + 0, 0, 0, 0, 145, 148, 528, 169, 480, 520, + 143, 0, 0, 0, 44, 528, 0, 528, 173, 175, + 174, 68, 528, 12, 528, 155, 280, 281, 279, 0, + 528, 528, 0, 160, 162, 159, 157, 0, 134, 87, + 88, 89, 90, 91, 92, 95, 96, 111, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 115, 114, 98, 97, 84, 86, 85, 93, 94, 82, + 83, 79, 80, 81, 78, 0, 0, 77, 133, 136, + 135, 0, 0, 0, 141, 528, 0, 45, 152, 0, + 0, 0, 246, 245, 240, 0, 0, 0, 230, 521, + 0, 229, 0, 228, 0, 0, 0, 528, 227, 253, + 0, 528, 0, 116, 119, 117, 123, 528, 181, 183, + 182, 0, 0, 528, 126, 150, 52, 528, 0, 54, + 528, 528, 0, 485, 0, 0, 490, 489, 488, 0, + 0, 487, 528, 147, 0, 528, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 528, 0, 47, 70, 176, 528, 0, 0, 283, + 284, 286, 285, 290, 287, 288, 289, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, + 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, + 314, 315, 363, 316, 317, 318, 319, 320, 321, 322, + 323, 324, 325, 326, 327, 328, 343, 329, 330, 331, + 332, 333, 334, 335, 336, 337, 338, 339, 364, 340, + 341, 342, 344, 345, 346, 347, 348, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 528, 381, 382, 383, 374, 386, 370, 371, 369, + 376, 377, 365, 366, 367, 368, 375, 373, 380, 378, + 384, 379, 372, 385, 282, 0, 9, 0, 0, 158, + 161, 137, 113, 112, 140, 139, 153, 528, 0, 0, + 429, 428, 528, 0, 523, 236, 522, 235, 234, 233, + 232, 231, 223, 125, 127, 184, 187, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 151, 394, 0, 0, + 56, 0, 0, 167, 528, 0, 528, 0, 0, 0, + 514, 74, 59, 73, 146, 149, 166, 498, 499, 500, + 501, 502, 503, 506, 507, 513, 0, 496, 497, 504, + 505, 494, 495, 491, 492, 493, 512, 511, 0, 0, + 0, 64, 61, 0, 528, 0, 177, 528, 0, 156, + 10, 163, 528, 164, 0, 138, 46, 194, 247, 528, + 0, 0, 0, 403, 401, 402, 400, 0, 0, 399, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 185, 0, 55, 153, 168, 0, 0, 484, 0, 481, + 0, 0, 510, 509, 66, 528, 48, 0, 528, 63, + 387, 0, 528, 0, 0, 0, 0, 0, 425, 411, + 412, 413, 414, 415, 416, 417, 418, 424, 0, 409, + 410, 407, 408, 404, 405, 406, 423, 422, 0, 0, + 57, 0, 486, 0, 0, 508, 528, 0, 528, 69, + 165, 142, 528, 0, 398, 0, 395, 0, 421, 420, + 0, 0, 75, 0, 0, 528, 71, 186, 0, 0, + 419, 483, 482, 76, 528, 65, 0, 0, 67, 397, + 396 }; -static const short yydefgoto[] = +/* YYDEFGOTO[NTERM-NUM]. */ +static const short int yydefgoto[] = { - 939, 4, 364, 365, 80, 284, 81, 82, 176, 83, - 84, 85, 292, 350, 375, 442, 184, 345, 411, 412, - 554, 202, 346, 349, 452, 863, 904, 604, 802, 770, - 506, 542, 86, 182, 337, 338, 339, 340, 376, 725, - 431, 432, 552, 514, 290, 460, 461, 433, 358, 409, - 169, 56, 203, 101, 57, 58, 267, 59, 268, 327, - 328, 393, 60, 265, 61, 324, 320, 321, 62, 63, - 87, 331, 88, 64, 65, 66, 67, 362, 363, 454, - 712, 317, 211, 212, 754, 127, 35, 435, 436, 526, - 377, 36, 213 + -1, 4, 5, 366, 367, 82, 286, 83, 84, 178, + 85, 86, 87, 294, 352, 377, 444, 186, 347, 413, + 414, 556, 204, 348, 351, 454, 865, 906, 606, 804, + 772, 508, 544, 88, 184, 339, 340, 341, 342, 378, + 727, 433, 434, 554, 516, 292, 462, 463, 435, 360, + 411, 171, 57, 205, 103, 58, 59, 269, 60, 270, + 329, 330, 395, 61, 267, 62, 326, 322, 323, 63, + 64, 89, 333, 90, 65, 66, 67, 68, 364, 365, + 456, 714, 319, 213, 214, 756, 129, 36, 437, 438, + 528, 379, 37, 215 }; -static const short yypact[] = +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -573 +static const short int yypact[] = { - 188,-32768, 2058, 3024, 853,-32768,-32768,-32768,-32768,-32768, - -32768, -76, -55, -45, -28, -19, -72,-32768, 3, 55, - 58, 3122, 60, 113, 117, 63,-32768, 121, 2058, 2058, - 2058, 2058, 1269, 2058, 2626,-32768, 240,-32768,-32768,-32768, - -32768,-32768, 3171,-32768,-32768,-32768,-32768, 2164,-32768, 1661, - 1661,-32768, 45,-32768, 1661,-32768, 38,-32768,-32768,-32768, - -32768,-32768, 23, 52,-32768,-32768,-32768,-32768,-32768,-32768, - 143,-32768, 54, 150, 152, 153,-32768,-32768, 25,-32768, - -32768,-32768,-32768, 2377,-32768,-32768,-32768,-32768,-32768,-32768, - 2058, 2058, 2058, 2058, 2058, 3024, 2058, 2058, 2058,-32768, - 45, 140, 45, 45,-32768, 2058, 2058, 3024, 3024, 2058, - 72, 72, 72, 72, -76, -55, -45, -28, -19, 3, - 55, 3335, 613, 1451, 1576, 144, -56, 2626, 72, 2058, - 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, - 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 1548, - 2058,-32768, 38,-32768,-32768, 2054,-32768, 1661,-32768,-32768, - -32768,-32768,-32768,-32768, 158, 38, 38, 38, 38, 170, - -32768,-32768, 172,-32768, 9,-32768, 3346,-32768, 190,-32768, - -32768,-32768, 196, 2432,-32768, 45,-32768, 207, 212, 3171, - 326,-32768,-32768,-32768, 3073,-32768,-32768, 45,-32768,-32768, - -32768, 45, 210, 232,-32768,-32768,-32768,-32768, 23, 52, - -32768, 222, 244,-32768, 237, 239, 242, 249, 250, 251, - 253, 261,-32768, 2058,-32768,-32768, 262, 263, 265, 260, - 267, 2058, 2058,-32768, 1472, 2782, 508, 508, 390, 390, - 471, 471,-32768, 2571, 2797, 2812, 390, 390, 367, 367, - 72, 72, 72,-32768,-32768, -46, 2139, 170,-32768, 38, - 170, 170, 170, -9, 2058, 45,-32768,-32768, 285,-32768, - 3182,-32768, 2946, 3171, 210,-32768,-32768,-32768, 12,-32768, - 240, 3171, 69,-32768,-32768, 271,-32768,-32768, 45, 1633, - -32768,-32768, 370, 172, 9,-32768,-32768,-32768,-32768,-32768, - 273,-32768,-32768,-32768, 279,-32768,-32768,-32768, 275,-32768, - 72, 2626, 2058,-32768,-32768, 170, 296, 301, 2626,-32768, - 306, 324, 327,-32768, 45, 3221, 31, 328, 332,-32768, - -32768,-32768,-32768,-32768, 45, 2301, 45, 325, 333,-32768, - 136,-32768,-32768,-32768,-32768, 370, 1362, 323, 370, 1362, - 370, 69,-32768,-32768, 331, 69, 69, 69, 51,-32768, - 3246,-32768, 316,-32768, 118,-32768, 321, 1718, 2592, 334, - 370, 2300, 370, 370, 370,-32768, 174,-32768, 2058,-32768, - 2058, 2626, 1362,-32768,-32768, 45, 2058, 319,-32768, 655, - 657, 729, 246,-32768,-32768, 31, 3271, 341, 136,-32768, - 368, 2946,-32768,-32768, 338, 136, 136, 136, 136, -61, - -32768, 370,-32768, 174,-32768,-32768,-32768, 136,-32768, 3171, - 344,-32768, 3122, 336, 347,-32768, 2058, 2058, 2058, 1269, - 2058, 339, 18,-32768, 136, 2643,-32768, 240,-32768, 370, - 178, 342,-32768, 174, 123, 69, 345, 345, 345,-32768, - 2058,-32768, 1362,-32768, 1147,-32768,-32768, 45, 2058, 1718, - 340, 362, 2626,-32768,-32768, 370, 142,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768, 348, 346,-32768,-32768, 142, 142, 197, - 78, 1633,-32768, 2058, 372,-32768,-32768, -12, 33, 354, - 371, 2626,-32768, 45, 243, 45,-32768,-32768, 243,-32768, - 243,-32768, 243, 243, 243, 3296,-32768,-32768, 3024, -61, - 2487,-32768,-32768,-32768,-32768, 136, 357, 357, 357, 19, - 304, 2058,-32768,-32768,-32768, 174, 378,-32768, -6, 136, - 3024, 369, 3024, 3024, 72, 72, 72, 374, 35, 72, - 446,-32768, 1455, -6, 2058, 2058, 2058, 2058, 2058, 2058, - 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, 2058, - 2058, 2058, 2058, 2058, 1803, 2058, 248, 497, 388, 446, - 395,-32768,-32768, 345, 1362, 389, 397,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768, 400,-32768, 403, 408,-32768, 1888, 142, - -32768,-32768,-32768,-32768, 2592, 1362, 407, 370,-32768,-32768, - 446, 2058,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -32768,-32768,-32768, 357, 413, 430, 422, 433, 304, 304, - 304, 304, 1269, 304, 1284,-32768, 423, 447,-32768, 370, - 2058,-32768, -6, 437, 2058, 431, 440, 2058,-32768,-32768, - 467,-32768,-32768,-32768,-32768, 1472, 2782, 508, 508, 390, - 390, 471, 471,-32768, 2609, 2797, 2812, 390, 390, 367, - 367, 72, 72, 72,-32768,-32768, 48, 2169, 441,-32768, - 467, 370, 1362, 438,-32768, 446, 1025,-32768,-32768,-32768, - 1718, 2626, 443,-32768,-32768, 467, 2626, 1362, 3024, 3024, - 3024, 119, 119, 119, 119, 445, 59, 119, 304, 304, - 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, - 304, 304, 304, 304, 304, 304, 1973, 2058,-32768, 370, - -32768, 2626,-32768, 442, 449,-32768, 454, 72, 455, 2058, - -32768,-32768,-32768, 1362,-32768, 457, 446, 467,-32768, 459, - 446, 458, 451, 461, 465, 304,-32768, 2767, 2827, 654, - 654, 872, 872, 596, 596,-32768, 2751, 2933, 2948, 401, - 401, 119, 119, 119,-32768,-32768, 61, 2188,-32768, 2058, - -32768, 2058, 20, 2626, 1362, 473, 446, 467,-32768, 467, - 446, 469,-32768, 478, 119, 304,-32768,-32768, 66, 120, - -32768, 479, 481, 446, 467, 467, 2058, 2058, 1284,-32768, - -32768,-32768, 446, 467, 127, 132, 467,-32768,-32768, 568, - 604,-32768 + 367, -573, 2032, 2922, 45, 1488, -573, -573, -573, -573, + -573, -573, -34, -22, 3, 23, 38, -2, -573, 43, + 56, 63, 3032, 73, 98, 109, 24, -573, 121, 2032, + 2032, 2032, 2032, 911, 2032, 2600, -573, 108, -573, -573, + -573, -573, -573, 3081, -573, -573, -573, -573, 3266, -573, + 1720, 1720, -573, 44, -573, 1720, -573, 27, -573, -573, + -573, -573, -573, 46, 93, -573, -573, -573, -573, -573, + -573, -573, 61, -573, 124, 175, 183, 195, -573, -573, + 83, -573, -573, -573, -573, 2351, -573, -573, -573, -573, + -573, -573, 2032, 2032, 2032, 2032, 2032, 2922, 2032, 2032, + 2032, -573, 44, 125, 44, 44, -573, 2032, 2032, 2922, + 2922, 2032, 130, 130, 130, 130, -34, -22, 3, 23, + 38, 43, 56, 3220, 907, 1550, 1635, 143, -37, 2600, + 130, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, + 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, + 2032, 1522, 2032, -573, 27, -573, -573, 3281, -573, 1720, + -573, -573, -573, -573, -573, -573, 163, 27, 27, 27, + 27, 207, -573, -573, 228, -573, 15, -573, 3231, -573, + 236, -573, -573, -573, 232, 2406, -573, 44, -573, 225, + 226, 3081, 353, -573, -573, -573, 2983, -573, -573, 44, + -573, -573, -573, 44, 126, 257, -573, -573, -573, -573, + 46, 93, -573, 242, 264, -573, 246, 252, 255, 268, + 261, 272, 273, 275, -573, 2032, -573, -573, 281, 296, + 298, 276, 304, 2032, 2032, -573, 2741, 2756, 724, 724, + 392, 392, 369, 369, -573, 2545, 2771, 2786, 392, 392, + 266, 266, 130, 130, 130, -573, -573, -35, 2113, 207, + -573, 27, 207, 207, 207, -63, 2032, 44, -573, -573, + 325, -573, 806, -573, 2885, 3081, 126, -573, -573, -573, + 10, -573, 108, 3081, 224, -573, -573, 315, -573, -573, + 44, 1607, -573, -573, 26, 228, 15, -573, -573, -573, + -573, -573, 317, -573, -573, -573, 321, -573, -573, -573, + 324, -573, 130, 2600, 2032, -573, -573, 207, 326, 323, + 2600, -573, 328, 346, 349, -573, 44, 3092, 37, 358, + 359, -573, -573, -573, -573, -573, 44, 2275, 44, 352, + 366, -573, 71, -573, -573, -573, -573, 26, 1336, 365, + 26, 1336, 26, 224, -573, -573, 372, 224, 224, 224, + 9, -573, 3131, -573, 368, -573, 70, -573, 378, 1692, + 2566, 377, 26, 2274, 26, 26, 26, -573, 319, -573, + 2032, -573, 2032, 2600, 1336, -573, -573, 44, 2032, 376, + -573, 738, 763, 772, 402, -573, -573, 37, 3156, 394, + 71, -573, 416, 2885, -573, -573, 389, 71, 71, 71, + 71, -77, -573, 26, -573, 319, -573, -573, -573, 71, + -573, 3081, 399, -573, 3032, 396, 407, -573, 2032, 2032, + 2032, 911, 2032, 397, 21, -573, 71, 2617, -573, 108, + -573, 26, 271, 398, -573, 319, 135, 224, 409, 409, + 409, -573, 2032, -573, 1336, -573, 1214, -573, -573, 44, + 2032, 1692, 410, 428, 2600, -573, -573, 26, 200, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, 412, 415, -573, -573, 200, + 200, 311, 280, 1607, -573, 2032, 432, -573, -573, -14, + 4, 421, 438, 2600, -573, 44, 244, 44, -573, -573, + 244, -573, 244, -573, 244, 244, 244, 3181, -573, -573, + 2922, -77, 2461, -573, -573, -573, -573, 71, 425, 425, + 425, 202, 732, 2032, -573, -573, -573, 319, 445, -573, + -30, 71, 2922, 439, 2922, 2922, 130, 130, 130, 436, + 35, 130, 511, -573, 1429, -30, 2032, 2032, 2032, 2032, + 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, 2032, + 2032, 2032, 2032, 2032, 2032, 2032, 1777, 2032, 336, 559, + 443, 511, 462, -573, -573, 409, 1336, 442, 446, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, 448, -573, 447, 450, -573, + 1862, 200, -573, -573, -573, -573, 2566, 1336, 449, 26, + -573, -573, 511, 2032, -573, -573, -573, -573, -573, -573, + -573, -573, -573, -573, -573, 425, 456, 466, 459, 470, + 732, 732, 732, 732, 911, 732, 1351, -573, 457, 488, + -573, 26, 2032, -573, -30, 480, 2032, 471, 482, 2032, + -573, -573, 509, -573, -573, -573, -573, 2741, 2756, 724, + 724, 392, 392, 369, 369, -573, 2583, 2771, 2786, 392, + 392, 266, 266, 130, 130, 130, -573, -573, 49, 2143, + 477, -573, 509, 26, 1336, 476, -573, 511, 1092, -573, + -573, -573, 1692, 2600, 478, -573, -573, 509, 2600, 1336, + 2922, 2922, 2922, 251, 251, 251, 251, 481, 118, 251, + 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, + 732, 732, 732, 732, 732, 732, 732, 732, 1947, 2032, + -573, 26, -573, 2600, -573, 484, 485, -573, 496, 130, + 497, 2032, -573, -573, -573, 1336, -573, 486, 511, 509, + -573, 505, 511, 498, 507, 508, 519, 732, -573, 569, + 924, 2088, 2088, 408, 408, 580, 580, -573, 2725, 2801, + 2907, 435, 435, 251, 251, 251, -573, -573, 140, 2162, + -573, 2032, -573, 2032, 22, 2600, 1336, 510, 511, 509, + -573, 509, 511, 514, -573, 515, 251, 732, -573, -573, + 160, 165, -573, 516, 518, 511, 509, 509, 2032, 2032, + 1351, -573, -573, -573, 511, 509, 170, 173, 509, -573, + -573 }; -static const short yypgoto[] = +/* YYPGOTO[NTERM-NUM]. */ +static const short int yypgoto[] = { - -32768, -150,-32768, 149,-32768,-32768, 432,-32768,-32768, -60, - 213,-32768,-32768,-32768, -115, -187,-32768,-32768,-32768, -143, - -220, 448,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -581, - -32768,-32768, 230,-32768,-32768,-32768, 231, 298, -303,-32768, - -324,-32768, 95, -340, -255, -445,-32768, 65, -316, -275, - -116, -5, 452, 214, -27, -81,-32768, -79,-32768,-32768, - -32768, 272, -68,-32768, -67,-32768, 351,-32768, -11, 77, - -32768,-32768,-32768, 2, 181,-32768,-32768, 206,-32768, -21, - -32768, -424, -85, -31, 4, 64, 137,-32768,-32768, -307, - 493, -133, -1 + -573, -573, -160, -573, 176, -573, -573, 458, -573, -573, + -78, 262, -573, -573, -573, -64, -137, -573, -573, -573, + -94, -183, 487, -573, -573, -573, -573, -573, -573, -573, + -572, -573, -573, 267, -573, -573, -573, 270, 333, -303, + -573, -324, -573, 134, -399, -226, -458, -573, 100, -209, + -368, -106, -5, 492, 277, -27, -80, -573, -70, -573, + -573, -573, 282, -68, -573, -67, -573, 371, -573, -11, + 78, -573, -573, -573, 2, 133, -573, -573, 233, -573, + 11, -573, -426, -86, -31, -127, 64, -529, -573, -573, + -289, 558, -133, -1 }; - -#define YYLAST 3454 - - -static const short yytable[] = +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If zero, do what YYDEFACT says. + If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -223 +static const short int yytable[] = { - 5, 126, 204, 89, 205, 125, 214, 215, 216, 217, - 102, 219, 220, 221, 716, 206, 207, 183, 800, 344, - 226, 227, 347, 104, 230, 441, 605, 270, 160, 161, - 571, 160, 161, 160, 161, 444, 257, 152, 95, 446, - 447, 448, 413, 90, 550, 440, 232, 443, 164, 260, - 261, 262, 263, 160, 161, 170, 232, 280, 519, 551, - 160, 161, 160, 161, 91, 233, 34, 466, 218, 507, - 508, 509, 208, 556, 92, 313, 89, 352, 353, 354, - 228, 229, 723, 529, 531, 210, 160, 161, 165, 726, - 232, 93, 110, 111, 112, 113, 185, 128, 103, 760, - 94, 137, 204, 600, 205, 389, 390, 391, 555, 728, - -221, 264, 316, -221, 551, 206, 207, 325, 255, 355, - 572, 515, 96, 539, 171, 392, 348, 756, 606, 603, - 546, 547, 548, 549, 360, 232, 596, 232, 304, 551, - 744, 920, 558, 315, 402, 403, 404, 166, 836, 815, - 232, 170, 167, 173, 729, 177, 768, 168, 557, 573, - 209, 232, 719, 232, 170, 170, 170, 170, 232, 860, - 449, 450, 208, 108, 97, 89, 5, 98, 356, 105, - 876, 396, 916, 357, 279, 210, 405, 929, 601, 282, - 148, 149, 150, 234, 235, 236, 237, 238, 239, 240, + 6, 185, 128, 718, 91, 206, 127, 216, 217, 218, + 219, 104, 221, 222, 223, 207, 558, 208, 209, 272, + 349, 228, 229, 757, 106, 232, 607, 443, 552, 802, + 162, 163, 541, 573, 162, 163, 371, 166, 154, 548, + 549, 550, 551, 553, 415, 69, 602, 442, 259, 445, + 346, 560, 162, 163, 162, 163, 172, 266, 318, 282, + 521, 262, 263, 264, 265, 234, 35, 234, 575, 468, + 220, 509, 510, 511, 210, 762, 372, 167, 91, 404, + 405, 406, 230, 231, 235, 92, 315, 212, 234, 728, + 553, 162, 163, 112, 113, 114, 115, 93, 130, 373, + 105, 162, 163, 531, 533, 206, 234, 730, 97, 327, + 557, 391, 392, 393, 153, 207, -222, 208, 209, -222, + 257, 407, 94, 574, 350, 731, 362, 758, 451, 452, + 608, 394, 162, 163, 110, 374, 168, 234, 598, 306, + 375, 169, 95, 922, 446, 376, 170, 173, 448, 449, + 450, 234, 517, 172, 187, 317, 770, 96, 759, 139, + 817, 763, 98, 211, 721, 177, 172, 172, 172, 172, + 862, 458, 459, 398, 210, 99, 776, 91, 6, 745, + 408, 158, 100, 160, 161, 409, 281, 212, 165, 559, + 410, 284, 107, 764, 175, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, - 251, 252, 253, 437, 256, 757, 437, 733, 761, 456, - 457, 735, 232, 736, 867, 737, 738, 739, 156, 232, - 158, 159, 106, 774, 232, 163, 107, 845, 846, 847, - 109, 930, 602, 450, 535, 406, 151, 175, 937, 437, - 407, 160, 161, 938, 179, 408, 180, 181, 170, 223, - 209, 512, 513, 319, 323, 231, 5, 329, 343, 89, - 743, 342, 259, 266, 341, 286, 351, 287, 510, 511, - 803, 359, 597, 5, 762, 907, 1, 2, 3, 909, - 264, 271, 41, 512, 513, 310, 311, 512, 513, 598, - 758, 597, 156, 158, 159, 163, 272, 6, 7, 8, - 9, 286, 10, 287, 288, 289, 512, 513, 722, 437, - 532, 533, 534, 323, 89, 924, 277, 51, 318, 925, - 5, 278, 9, 523, 53, 291, 156, 341, 156, 410, - 540, 434, 933, 295, 434, 438, 232, 517, 438, 518, - 359, 936, 597, 368, 359, 359, 359, 745, 296, 89, - 297, 300, 455, 298, 17, 869, 463, 512, 513, 798, - 299, 308, 301, 715, 302, 516, 381, 434, 160, 161, - 369, 438, 303, 305, 306, 746, 307, 747, 309, 326, - 361, 26, 378, 5, 380, 89, 137, 410, 568, 89, - 379, 812, 567, 341, 410, 410, 410, 410, 553, 135, - 136, 102, 516, 748, 559, 382, 410, 749, 750, 137, - 370, 751, 852, 752, 104, 383, 385, 753, 384, 394, - 836, 462, 386, 410, 395, 401, 400, 439, 453, 437, - 458, 522, 516, 371, 359, 445, 538, 434, 465, 319, - 521, 438, 545, 76, 560, 562, 413, 563, 463, 204, - 570, 205, 717, 599, 718, 450, 525, 525, 525, 720, - 721, 437, 206, 207, 727, 730, 731, 551, 865, 372, - 759, 145, 146, 147, 373, 148, 149, 150, 764, 374, - 564, 565, 566, 871, 569, 767, 769, 801, 443, 103, - 137, 723, 143, 144, 145, 146, 147, 799, 148, 149, - 150, 741, 319, 804, 318, 842, 843, 844, 805, 845, - 846, 847, 807, 462, 808, 133, 134, 135, 136, 208, - 809, 813, 817, 763, 89, 765, 766, 137, 553, 905, - 818, 819, 210, 820, 410, 162, 555, 848, 853, 849, - 319, 856, 855, 858, 516, 172, 174, 516, 410, 866, - 862, 899, 911, 796, 870, 178, 875, 434, 940, 771, - 900, 186, 516, 901, 902, 724, 913, 318, 906, 910, - 922, 908, 912, 143, 144, 145, 146, 147, 926, 148, - 149, 150, 437, 222, 923, 224, 225, 927, 771, 434, - 931, 525, 932, 438, 941, 525, 714, 525, 269, 525, - 525, 525, 814, 541, 864, 318, 850, 209, 141, 142, - 143, 144, 145, 146, 147, 836, 148, 149, 150, 898, - 543, 274, 544, 398, 742, 275, 561, 773, 775, 776, + 251, 252, 253, 254, 255, 439, 258, 108, 439, 603, + 234, 757, 757, 757, 757, 179, 757, 288, 109, 289, + 290, 291, 354, 355, 356, 869, 537, 735, 605, 878, + 111, 737, 234, 738, 225, 739, 740, 741, 150, 151, + 152, 439, 162, 163, 604, 452, 158, 160, 161, 165, + 172, 918, 234, 211, 233, 321, 325, 234, 6, 331, + 345, 91, 234, 344, 357, 234, 343, 261, 353, 181, + 838, 931, 805, 361, 725, 6, 932, 182, 162, 163, + 158, 939, 158, 42, 940, 139, 909, 312, 313, 183, + 911, 757, 757, 757, 757, 757, 757, 757, 757, 757, + 757, 757, 757, 757, 757, 757, 757, 757, 757, 514, + 515, 439, 553, 746, 542, 325, 91, 266, 52, 268, + 320, 760, 6, 358, 525, 54, 926, 273, 359, 343, + 927, 412, 274, 436, 279, 280, 436, 440, 757, 519, + 440, 520, 361, 935, 871, 370, 361, 361, 361, 10, + 293, 91, 938, 297, 457, 854, 234, 298, 465, 847, + 848, 849, 302, 299, 717, 599, 300, 518, 383, 436, + 147, 148, 149, 440, 150, 151, 152, 310, 757, 301, + 514, 515, 600, 303, 304, 6, 305, 91, 139, 412, + 570, 91, 307, 814, 569, 343, 412, 412, 412, 412, + 555, 137, 138, 104, 518, 599, 561, 308, 412, 309, + 288, 139, 289, 512, 513, 311, 106, 836, 837, 328, + 514, 515, 724, 464, 363, 412, 380, 838, 514, 515, + 599, 439, 381, 382, 518, 384, 361, 385, 387, 436, + 386, 321, 523, 440, 388, 514, 515, 800, 415, 396, + 465, 397, 206, 402, 838, 1, 2, 3, 403, 527, + 527, 527, 207, 439, 208, 209, 534, 535, 536, 441, + 867, 145, 146, 147, 148, 149, 447, 150, 151, 152, + 455, 467, 566, 567, 568, 873, 571, 460, 524, 540, + 445, 78, 105, 547, 145, 146, 147, 148, 149, 562, + 150, 151, 152, 743, 321, 564, 320, 565, 572, 601, + 842, 843, 844, 845, 846, 464, 847, 848, 849, 452, + 720, 210, 719, 722, 729, 765, 91, 767, 768, 723, + 555, 907, 732, 733, 212, 553, 412, 761, 557, 844, + 845, 846, 321, 847, 848, 849, 518, 769, 766, 518, + 412, 771, 801, 725, 803, 798, 806, 807, 810, 436, + 809, 773, 811, 815, 518, 819, 820, 726, 821, 320, + 822, 850, 924, 831, 832, 833, 834, 835, 836, 837, + 851, 855, 857, 858, 439, 860, 864, 868, 838, 872, + 773, 436, 877, 901, 527, 440, 902, 908, 527, 838, + 527, 164, 527, 527, 527, 903, 904, 320, 913, 912, + 211, 174, 176, 823, 824, 825, 826, 910, 829, 914, + 915, 925, 180, 928, 929, 716, 271, 933, 188, 934, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, - 787, 788, 789, 790, 791, 792, 793, 794, 38, 797, - 39, 40, 713, 160, 161, 160, 161, 536, 806, 437, - 0, 832, 833, 834, 835, 387, 0, 0, 276, 854, - 46, 157, 48, 836, 437, 0, 0, 755, 455, 0, - 283, 0, 49, 50, 285, 0, 0, 0, 0, 0, - 0, 293, 294, 0, 41, 54, 41, 0, 840, 841, - 842, 843, 844, 0, 845, 846, 847, 0, 0, 0, - 434, 826, 0, 0, 438, 825, 0, 0, 0, 771, - 437, 0, 105, 0, 0, 0, 0, 160, 161, 51, - 0, 51, 0, 0, 0, 523, 53, 523, 53, 524, - 0, 528, 821, 822, 823, 824, 0, 827, 322, 0, - 0, 516, 0, 0, 0, 0, 840, 841, 842, 843, - 844, 437, 845, 846, 847, 0, 0, 0, 41, 0, - 0, 366, 811, 0, 0, 0, 0, 0, 0, 0, - 0, 872, 873, 874, 0, 816, 0, 434, 0, 0, - 0, 438, 0, 0, 771, 0, 0, 0, 0, 463, - 0, 0, 434, 51, 0, 896, 438, 322, 0, 523, - 53, 0, 0, 530, 851, 0, 0, 397, 0, 399, - 0, 857, 877, 878, 879, 880, 881, 882, 883, 884, - 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, - 0, 0, 0, -1, 0, 0, 0, 0, 434, 0, - 0, 0, 438, 0, 0, 771, 0, 0, 918, 771, - 919, 0, 0, 0, 462, 0, 0, 0, 520, 914, - 0, 0, 527, 527, 527, 755, 755, 755, 755, 0, - 755, 834, 835, 0, 0, 934, 935, 68, 0, 434, - 0, 836, 0, 438, 0, 771, 0, 0, 69, 771, - 0, 897, 70, 0, 0, 71, 0, 0, 0, 928, - 0, 0, 771, 903, 72, 0, 0, 73, 74, 75, - 0, 771, 0, 0, 0, 0, 0, 0, 76, 0, - 0, 0, 77, 0, 0, 0, 78, 0, 0, 0, - 366, 0, 0, 0, 0, 0, 79, 0, 0, 0, - 0, 0, 0, 0, 0, 755, 755, 755, 755, 755, - 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, - 755, 755, 755, 0, 840, 841, 842, 843, 844, 0, - 845, 846, 847, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 366, 0, 0, 0, 0, 0, 0, - 0, 0, 755, 0, 0, 0, 732, 527, 734, 0, - 0, 527, 0, 527, 0, 527, 527, 527, 607, 608, - 609, 610, 611, 612, 613, 614, 0, 615, 616, 617, - 618, 619, 620, 621, 622, 623, 624, 625, 0, 0, - 0, 0, 755, 0, 626, 627, 628, 629, 630, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 0, - 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, - 0, 651, 652, 653, 654, 655, 656, 657, 658, 659, - 660, 661, 662, 663, 0, 664, 0, 665, 666, 667, - 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, - 0, 678, 679, 680, 681, 682, 683, 684, 0, 685, - 686, 687, 688, 0, 0, 0, 689, 690, 691, 692, - 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, - 703, 704, 705, 706, 707, 708, 709, 868, 710, 711, - 607, 608, 609, 610, 611, 612, 613, 614, 0, 615, - 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, - 0, 0, 0, 0, 0, 0, 626, 627, 628, 629, - 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, - 640, 0, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 0, 651, 652, 653, 654, 655, 656, 657, - 658, 659, 660, 661, 662, 663, 0, 664, 0, 665, - 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, - 676, 677, 0, 678, 679, 680, 681, 682, 683, 684, - 0, 685, 686, 687, 688, 0, 0, 0, 689, 690, - 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, - 701, 702, 703, 704, 705, 706, 707, 708, 709, 0, - 710, 711, 6, 7, 8, 9, 0, 10, 114, 0, + 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, + 224, 799, 226, 227, 543, 816, 866, 852, 900, 545, + 400, 439, 276, 546, 775, 744, 840, 277, 841, 538, + 856, 842, 843, 844, 845, 846, 439, 847, 848, 849, + 457, 715, 842, 843, 844, 845, 846, 389, 847, 848, + 849, 563, 808, 879, 880, 881, 882, 883, 884, 885, + 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, + 896, 0, 436, 828, 0, 0, 440, 827, 0, 0, + 0, 773, 439, 0, 0, 7, 8, 9, 10, 0, + 11, 135, 136, 137, 138, 278, 162, 163, 0, 0, + 916, 0, 0, 139, 0, 0, 0, 285, 0, 0, + 0, 287, 0, 518, 0, 0, 0, 0, 295, 296, + 0, 162, 163, 439, 0, 0, 0, 0, 0, 0, + 162, 163, 0, 0, 813, 747, 0, 42, 0, 0, + 930, 0, 18, 874, 875, 876, 0, 818, 0, 436, + 0, 0, 0, 440, 0, 0, 773, 0, 0, 0, + 0, 465, 42, 748, 436, 749, 0, 898, 440, 27, + 0, 42, 52, 0, 0, 324, 853, 0, 525, 54, + 0, 0, 526, 859, 143, 144, 145, 146, 147, 148, + 149, 750, 150, 151, 152, 751, 752, 52, 368, 753, + 70, 754, 0, 525, 54, 755, 52, 530, 0, 0, + 436, 71, 525, 54, 440, 72, 532, 773, 73, 0, + 920, 773, 921, 0, 0, 0, 464, 74, 0, 0, + 75, 76, 77, 0, 324, 0, 0, 0, 0, 0, + 0, 78, 0, 0, 399, 79, 401, 936, 937, 80, + 0, 436, 0, 0, 0, 440, 0, 773, 0, 81, + 0, 773, 0, 899, 7, 8, 9, 10, 0, 11, + 116, 0, 0, 0, 773, 905, 0, 0, 332, 0, + 0, 0, 0, 773, 0, 0, 0, 0, 0, 832, + 833, 834, 835, 836, 837, 522, 0, 0, 0, 529, + 529, 529, 39, 838, 40, 41, 117, 0, 118, 119, + 42, 43, 0, 120, 17, 0, 0, 45, 0, 0, + 0, 18, 121, 0, 47, 159, 49, 0, 122, 123, + 49, 0, 0, 22, 0, 0, 50, 51, 0, 0, + 124, 125, 25, 0, 26, 52, 0, 0, 27, 55, + 0, 53, 54, 126, 0, 0, 56, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 368, 0, 0, + 29, 0, 0, 0, 30, 31, 107, 0, 32, 0, + 33, 840, 0, 841, 34, 0, 842, 843, 844, 845, + 846, 0, 847, 848, 849, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 828, 829, 830, - 831, 832, 833, 834, 835, 0, 0, 0, 0, 0, - 0, 0, 0, 836, 115, 0, 116, 117, 41, 42, - 0, 118, 16, 0, 0, 44, 0, 0, 0, 17, - 119, 0, 0, 0, 0, 0, 120, 121, 48, 0, - 0, 21, 0, 0, 0, 0, 0, 0, 122, 123, - 24, 0, 25, 51, 0, 0, 26, 0, 0, 52, - 53, 124, 0, 0, 55, 414, 415, 416, 9, 0, - 417, 37, 0, 0, 418, 0, 0, 0, 28, 0, - 0, 0, 29, 30, 0, 0, 31, 0, 32, 0, - 837, 838, 33, 839, 0, 921, 840, 841, 842, 843, - 844, 0, 845, 846, 847, 0, 0, 38, 0, 39, - 40, 41, 419, 0, 43, 420, 0, 0, 44, 0, - 0, 0, 421, 45, 0, 0, 0, 0, 0, 46, - 47, 48, 0, 0, 422, 0, 0, 0, 0, 0, - 0, 49, 50, 423, 0, 424, 51, 0, 0, 425, - 0, 0, 52, 53, 54, 0, 0, 55, 414, 415, - 416, 9, 0, 417, 37, 0, 0, 772, 0, 0, - 0, 426, 0, 0, 0, 427, 0, 0, 0, 428, - 0, 429, 0, 0, 0, 430, 130, 131, 132, 133, - 134, 135, 136, 0, 0, 0, 38, 0, 39, 40, - 38, 137, 39, 40, 41, 419, 0, 43, 420, 0, - 0, 44, 0, 0, 0, 421, 45, 0, 46, 157, - 48, 0, 46, 47, 48, 0, 0, 422, 0, 0, - 49, 50, 0, 0, 49, 50, 423, 0, 424, 51, - 0, 0, 425, 54, 0, 52, 53, 54, 0, 0, - 55, 6, 7, 8, 9, 0, 10, 11, 0, 0, - 0, 0, 0, 0, 426, 0, 0, 0, 427, 0, - 106, 0, 428, 0, 429, 0, 0, 0, 430, 139, - 0, 140, 141, 142, 143, 144, 145, 146, 147, 0, - 148, 149, 150, 12, 0, 13, 14, 0, 0, 0, - 15, 16, 0, 0, 0, 0, 0, 0, 17, 18, - 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, - 21, 38, 0, 39, 40, 0, 0, 22, 23, 24, - 0, 25, 0, 0, 0, 26, 6, 7, 8, 9, - 27, 10, 11, 46, 157, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 49, 50, 28, 0, 0, - 0, 29, 30, 0, 0, 31, 0, 32, 54, 254, - 0, 33, 0, 0, 0, 0, 0, 0, 12, 0, - 13, 14, 0, 0, 0, 15, 16, 0, 0, 0, - 0, 0, 0, 17, 18, 109, 0, 0, 0, 0, - 19, 20, 0, 0, 0, 21, 38, 0, 39, 40, - 0, 0, 22, 23, 24, 0, 25, 0, 0, 0, - 26, 6, 7, 8, 9, 27, 10, 11, 46, 157, - 48, 0, 0, 0, 367, 0, 0, 0, 0, 0, - 49, 50, 28, 0, 0, 0, 29, 30, 0, 0, - 31, 0, 32, 54, 0, 0, 33, 0, 0, 0, - 0, 0, 0, 12, 0, 13, 14, 0, 0, 0, - 15, 16, 0, 0, 0, 0, 0, 0, 17, 18, - 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, - 21, 0, 0, 0, 0, 0, 0, 22, 23, 24, - 0, 25, 0, 0, 0, 26, 6, 7, 8, 9, - 27, 10, 11, 0, 0, 0, 0, 0, 0, 459, - 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, - 0, 29, 30, 0, 0, 31, 0, 32, 0, 0, - 0, 33, 0, 0, 0, 0, 0, 0, 12, 0, - 13, 14, 0, 0, 0, 15, 16, 0, 0, 0, - 0, 0, 0, 17, 18, 0, 0, 0, 0, 0, - 19, 20, 0, 0, 0, 21, 0, 0, 0, 0, - 0, 0, 22, 23, 24, 0, 25, 0, 0, 0, - 26, 6, 7, 8, 9, 27, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 28, 0, 0, 0, 29, 30, 0, 0, - 31, 0, 32, 0, 795, 0, 33, 0, 0, 0, - 0, 0, 0, 12, 0, 13, 14, 0, 0, 0, - 15, 16, 0, 0, 0, 0, 0, 0, 17, 18, - 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, - 21, 0, 0, 0, 0, 0, 0, 22, 23, 24, - 0, 25, 0, 0, 0, 26, 6, 7, 8, 9, - 27, 10, 11, 0, 0, 0, 0, 0, 0, 810, - 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, - 0, 29, 30, 0, 0, 31, 0, 32, 0, 0, - 0, 33, 0, 0, 0, 0, 0, 0, 12, 0, - 13, 14, 0, 0, 0, 15, 16, 0, 0, 0, - 0, 0, 0, 17, 18, 0, 0, 0, 0, 0, - 19, 20, 0, 0, 0, 21, 0, 0, 0, 0, - 0, 0, 22, 23, 24, 0, 25, 0, 0, 0, - 26, 6, 7, 8, 9, 27, 10, 11, 0, 0, + 368, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 734, 529, 736, 0, 0, 529, 0, + 529, 0, 529, 529, 529, 609, 610, 611, 612, 613, + 614, 615, 616, 0, 617, 618, 619, 620, 621, 622, + 623, 624, 625, 626, 627, 0, 0, 0, 0, 0, + 0, 628, 629, 630, 631, 632, 633, 634, 635, 636, + 637, 638, 639, 640, 641, 642, 0, 643, 644, 645, + 646, 647, 648, 649, 650, 651, 652, 0, 653, 654, + 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, + 665, 0, 666, 0, 667, 668, 669, 670, 671, 672, + 673, 674, 675, 676, 677, 678, 679, 0, 680, 681, + 682, 683, 684, 685, 686, 0, 687, 688, 689, 690, + 0, 0, 0, 691, 692, 693, 694, 695, 696, 697, + 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, + 708, 709, 710, 711, 870, 712, 713, 609, 610, 611, + 612, 613, 614, 615, 616, 0, 617, 618, 619, 620, + 621, 622, 623, 624, 625, 626, 627, 0, 0, 0, + 0, 0, 0, 628, 629, 630, 631, 632, 633, 634, + 635, 636, 637, 638, 639, 640, 641, 642, 0, 643, + 644, 645, 646, 647, 648, 649, 650, 651, 652, 0, + 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, + 663, 664, 665, 0, 666, 0, 667, 668, 669, 670, + 671, 672, 673, 674, 675, 676, 677, 678, 679, 0, + 680, 681, 682, 683, 684, 685, 686, 0, 687, 688, + 689, 690, 0, 0, 0, 691, 692, 693, 694, 695, + 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, + 706, 707, 708, 709, 710, 711, 0, 712, 713, 416, + 417, 418, 10, 0, 419, 38, 0, 0, 420, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 28, 0, 0, 0, 29, 30, 0, 0, - 31, 0, 32, 0, 895, 0, 33, 0, 0, 38, - 0, 39, 40, 12, 0, 13, 14, 0, 0, 0, - 15, 16, 0, 0, 0, 258, 0, 0, 17, 18, - 0, 46, 157, 48, 0, 19, 20, 0, 0, 0, - 21, 0, 0, 49, 50, 0, 0, 22, 23, 24, - 0, 25, 0, 0, 0, 26, 54, 0, 0, 0, - 27, 0, 129, 130, 131, 132, 133, 134, 135, 136, - 0, 0, 0, 0, 0, 0, 0, 28, 137, 0, - 0, 29, 30, 0, 0, 31, 0, 32, 0, 0, - 0, 33, 129, 130, 131, 132, 133, 134, 135, 136, - 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, - 0, 129, 130, 131, 132, 133, 134, 135, 136, 38, - 0, 39, 40, 0, 0, 0, 153, 137, 0, 0, - 0, 0, 0, 0, 0, 154, 0, 0, 0, 0, - 0, 46, 155, 48, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 49, 50, 138, 139, 0, 140, 141, - 142, 143, 144, 145, 146, 147, 54, 148, 149, 150, - 0, 0, 0, 314, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 138, 139, 0, 140, 141, - 142, 143, 144, 145, 146, 147, 0, 148, 149, 150, - 0, 0, 0, 861, 138, 139, 0, 140, 141, 142, - 143, 144, 145, 146, 147, 0, 148, 149, 150, 332, - 333, 0, 917, 467, 468, 469, 470, 471, 472, 473, - 474, 0, 0, 0, 0, 0, 0, 0, 0, 475, - 0, 476, 477, 478, 479, 480, 481, 482, 483, 484, - 485, 486, 487, 0, 0, 0, 38, 0, 39, 40, - 0, 488, 0, 43, 0, 0, 0, 0, 0, 0, - 0, 0, 45, 0, 0, 0, 0, 0, 46, 47, - 48, 0, 489, 0, 0, 0, 0, 0, 0, 0, - 49, 50, 0, 0, 0, 187, 188, 0, 0, 0, - 0, 336, 0, 54, 0, 0, 55, 0, 0, 0, - 0, 0, 490, 0, 0, 491, 0, 492, 493, 494, - 495, 496, 497, 498, 499, 500, 501, 502, 0, 503, - 504, 0, 38, 505, 39, 40, 41, 189, 0, 43, - 0, 0, 0, 44, 190, 191, 0, 0, 45, 0, - 187, 188, 0, 192, 46, 47, 48, 193, 0, 0, - 194, 0, 0, 0, 195, 0, 49, 50, 0, 196, - 0, 51, 0, 0, 0, 0, 0, 197, 53, 54, - 0, 198, 55, 199, 0, 0, 0, 38, 200, 39, - 40, 41, 273, 0, 43, 0, 0, 0, 44, 190, - 191, 0, 0, 45, 201, 187, 188, 0, 192, 46, - 47, 48, 193, 0, 0, 194, 0, 0, 0, 195, - 0, 49, 50, 0, 196, 0, 51, 0, 0, 0, - 0, 0, 197, 53, 54, 0, 198, 55, 199, 0, - 0, 0, 38, 0, 39, 40, 41, 189, 0, 43, - 0, 0, 0, 44, 190, 191, 0, 0, 45, 201, - 0, 0, 0, 192, 46, 47, 48, 193, 0, 0, - 194, 0, 0, 0, 195, 0, 49, 50, 0, 196, - 0, 51, 0, 0, 0, 0, 0, 197, 53, 54, - 0, 198, 55, 199, 129, 130, 131, 132, 133, 134, - 135, 136, 0, 0, 0, 0, 0, 0, 0, 0, - 137, 0, 0, 0, 201, 129, 130, 131, 132, 133, - 134, 135, 136, 0, 0, 0, 0, 0, 0, 0, - 0, 137, 129, 130, 131, 132, 133, 134, 135, 136, - 0, 0, 0, 0, 0, 0, 0, 0, 137, 129, - 130, 131, 132, 133, 134, 135, 136, 0, 0, 0, - 0, 0, 0, 0, 0, 137, 574, 575, 576, 577, - 578, 579, 580, 581, 0, 0, 0, 0, 0, 0, - 0, 0, 582, 0, 0, 312, 0, 138, 139, 0, - 140, 141, 142, 143, 144, 145, 146, 147, 0, 148, - 149, 150, 0, 0, 0, 464, 0, 0, 138, 139, - 0, 140, 141, 142, 143, 144, 145, 146, 147, 0, - 148, 149, 150, 859, 0, 138, 139, 0, 140, 141, - 142, 143, 144, 145, 146, 147, 0, 148, 149, 150, - 0, 0, 138, 139, 0, 140, 141, 142, 143, 144, - 145, 146, 147, 0, 148, 149, 150, 0, 0, 583, - 584, 0, 585, 586, 587, 588, 589, 590, 591, 592, - 0, 593, 594, 595, 828, 829, 830, 831, 832, 833, - 834, 835, 0, 0, 0, 0, 0, 0, 0, 0, - 836, 829, 830, 831, 832, 833, 834, 835, 0, 0, - 0, 0, 0, 0, 0, 0, 836, 131, 132, 133, - 134, 135, 136, 0, 0, 0, 0, 0, 0, 0, - 0, 137, 131, 132, 133, 134, 135, 136, 0, 0, - 0, 0, 0, 0, 0, 0, 137, 131, 132, 133, - 134, 135, 136, 0, 0, 0, 0, 0, 0, 0, - 0, 137, 830, 831, 832, 833, 834, 835, 0, 0, - 0, 0, 0, 0, 0, 915, 836, 837, 838, 0, - 839, 0, 0, 840, 841, 842, 843, 844, 0, 845, - 846, 847, 0, 0, 838, 0, 839, 0, 0, 840, - 841, 842, 843, 844, 0, 845, 846, 847, 0, 139, - 0, 140, 141, 142, 143, 144, 145, 146, 147, 0, - 148, 149, 150, 0, 0, 0, 140, 141, 142, 143, - 144, 145, 146, 147, 0, 148, 149, 150, 0, 0, - 0, 0, 141, 142, 143, 144, 145, 146, 147, 0, - 148, 149, 150, 0, 838, 0, 839, 0, 0, 840, - 841, 842, 843, 844, 0, 845, 846, 847, 830, 831, - 832, 833, 834, 835, 332, 333, 0, 0, 0, 0, - 0, 0, 836, 830, 831, 832, 833, 834, 835, 0, - 0, 0, 0, 0, 0, 0, 0, 836, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 38, 0, 39, 40, 334, 335, 0, 43, 0, - 0, 0, 0, 0, 0, 0, 0, 45, 0, 0, - 0, 0, 0, 46, 47, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 49, 50, 0, 0, 0, - 0, 0, 0, 37, 0, 0, 336, 0, 54, 0, - 0, 55, 839, 0, 0, 840, 841, 842, 843, 844, - 0, 845, 846, 847, 0, 0, 0, 0, 0, 0, - 840, 841, 842, 843, 844, 0, 845, 846, 847, 38, - 0, 39, 40, 41, 42, 0, 43, 0, 0, 0, - 44, 0, 37, 0, 0, 45, 0, 0, 0, 0, - 0, 46, 47, 48, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 49, 50, 0, 0, 0, 51, 0, - 0, 0, 0, 0, 52, 53, 54, 0, 38, 55, - 39, 40, 41, 281, 0, 43, 0, 0, 0, 44, - 0, 99, 0, 0, 45, 0, 0, 0, 0, 0, - 46, 47, 48, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 49, 50, 0, 0, 0, 51, 0, 0, - 0, 0, 0, 52, 53, 54, 0, 38, 55, 39, - 40, 41, 0, 0, 43, 0, 0, 0, 44, 0, - 37, 0, 0, 45, 0, 0, 0, 0, 0, 46, - 47, 48, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 49, 50, 0, 0, 0, 51, 0, 0, 0, - 0, 0, 100, 53, 54, 0, 38, 55, 39, 40, - 41, 0, 0, 43, 0, 0, 68, 44, 0, 0, - 0, 0, 45, 0, 0, 0, 0, 69, 46, 47, - 48, 70, 0, 0, 71, 0, 0, 0, 0, 0, - 49, 50, 0, 72, 0, 51, 73, 74, 75, 0, - 0, 52, 53, 54, 0, 68, 55, 76, 0, 0, - 0, 77, 0, 0, 0, 78, 69, 0, 0, 0, - 70, 0, 0, 71, 0, 79, 0, 0, 0, 0, - 68, 0, 72, 0, 0, 73, 74, 75, 0, 0, - 0, 69, 0, 0, 330, 70, 76, 0, 71, 0, - 77, 0, 0, 0, 78, 68, 0, 72, 0, 0, - 73, 74, 75, 0, 79, 0, 69, 0, 0, 0, - 70, 76, 0, 71, 0, 77, 0, 0, 0, 78, - 68, 0, 72, 388, 0, 73, 74, 75, 0, 79, - 0, 69, 0, 0, 0, 70, 76, 0, 71, 0, - 77, 0, 0, 0, 78, 0, 0, 72, 451, 0, - 73, 74, 75, 0, 79, 0, 0, 0, 0, 0, - 38, 76, 39, 40, 0, 77, 0, 153, 0, 78, - 68, 0, 0, 537, 0, 0, 154, 0, 0, 79, - 0, 69, 46, 155, 48, 70, 0, 0, 71, 0, - 0, 0, 0, 0, 49, 50, 0, 72, 740, 0, - 73, 74, 75, 0, 0, 0, 0, 54, 0, 0, - 0, 76, 0, 0, 0, 77, 0, 0, 0, 78, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 98 + 0, 0, 0, 0, 830, 831, 832, 833, 834, 835, + 836, 837, 0, 0, 0, 0, 0, 0, 0, 0, + 838, 39, 0, 40, 41, 42, 421, 0, 44, 422, + 0, 0, 45, 0, 0, 0, 423, 46, 0, 0, + 0, 0, 0, 47, 48, 49, 0, 0, 424, 0, + 0, 0, 0, 0, 0, 50, 51, 425, 0, 426, + 52, 0, 0, 427, 0, 0, 53, 54, 55, 0, + 0, 56, 416, 417, 418, 10, 0, 419, 38, 0, + 0, 774, 0, 0, 0, 428, 0, 0, 0, 429, + 0, 0, 0, 430, 0, 431, 0, 839, 840, 432, + 841, 0, 923, 842, 843, 844, 845, 846, 0, 847, + 848, 849, 0, 0, 39, 0, 40, 41, 42, 421, + 0, 44, 422, 0, 0, 45, 0, 0, -2, 423, + 46, 0, 0, 0, 0, 0, 47, 48, 49, 0, + 0, 424, 0, 0, 0, 0, 0, 0, 50, 51, + 425, 0, 426, 52, 0, 0, 427, 0, 0, 53, + 54, 55, 0, 0, 56, 7, 8, 9, 10, 0, + 11, 12, 70, 0, 0, 0, 0, 0, 428, 0, + 0, 0, 429, 71, 0, 0, 430, 72, 431, 0, + 73, 0, 432, 0, 0, 0, 0, 0, 0, 74, + 0, 0, 75, 76, 77, 0, 0, 13, 0, 14, + 15, 0, 0, 78, 16, 17, 0, 79, 0, 0, + 0, 80, 18, 19, 0, 0, 0, 0, 0, 20, + 21, 81, 0, 0, 22, 39, 0, 40, 41, 0, + 0, 23, 24, 25, 0, 26, 0, 0, 0, 27, + 7, 8, 9, 10, 28, 11, 12, 47, 159, 49, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, + 51, 29, 0, 0, 0, 30, 31, 0, 0, 32, + 0, 33, 55, 256, 0, 34, 0, 0, 0, 0, + 0, 0, 13, 0, 14, 15, 0, 0, 0, 16, + 17, 0, 0, 0, 0, 0, 0, 18, 19, 108, + 0, 0, 0, 0, 20, 21, 0, 0, 0, 22, + 39, 0, 40, 41, 0, 0, 23, 24, 25, 0, + 26, 0, 0, 0, 27, 7, 8, 9, 10, 28, + 11, 12, 47, 159, 49, 0, 0, 0, 369, 0, + 0, 0, 0, 0, 50, 51, 29, 0, 0, 0, + 30, 31, 0, 0, 32, 0, 33, 55, 0, 0, + 34, 0, 0, 0, 0, 0, 0, 13, 0, 14, + 15, 0, 0, 0, 16, 17, 0, 0, 0, 0, + 0, 0, 18, 19, 111, 0, 0, 0, 0, 20, + 21, 0, 0, 0, 22, 39, 0, 40, 41, 0, + 0, 23, 24, 25, 0, 26, 0, 0, 0, 27, + 7, 8, 9, 10, 28, 11, 12, 47, 159, 49, + 0, 0, 0, 461, 0, 0, 0, 0, 0, 50, + 51, 29, 0, 0, 0, 30, 31, 0, 0, 32, + 0, 33, 55, 0, 0, 34, 0, 0, 0, 0, + 0, 0, 13, 0, 14, 15, 0, 0, 0, 16, + 17, 0, 0, 0, 0, 0, 0, 18, 19, 0, + 0, 0, 0, 0, 20, 21, 0, 0, 0, 22, + 0, 0, 0, 0, 0, 0, 23, 24, 25, 0, + 26, 0, 0, 0, 27, 7, 8, 9, 10, 28, + 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, + 30, 31, 0, 0, 32, 0, 33, 0, 797, 0, + 34, 0, 0, 0, 0, 0, 0, 13, 0, 14, + 15, 0, 0, 0, 16, 17, 0, 0, 0, 0, + 0, 0, 18, 19, 0, 0, 0, 0, 0, 20, + 21, 0, 0, 0, 22, 0, 0, 0, 0, 0, + 0, 23, 24, 25, 0, 26, 0, 0, 0, 27, + 7, 8, 9, 10, 28, 11, 12, 0, 0, 0, + 0, 0, 0, 812, 0, 0, 0, 0, 0, 0, + 0, 29, 0, 0, 0, 30, 31, 0, 0, 32, + 0, 33, 0, 0, 0, 34, 0, 0, 0, 0, + 0, 0, 13, 0, 14, 15, 0, 0, 0, 16, + 17, 0, 0, 0, 0, 0, 0, 18, 19, 0, + 0, 0, 0, 0, 20, 21, 0, 0, 0, 22, + 0, 0, 0, 0, 0, 0, 23, 24, 25, 0, + 26, 0, 0, 0, 27, 7, 8, 9, 10, 28, + 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, + 30, 31, 0, 0, 32, 0, 33, 0, 897, 0, + 34, 0, 0, 0, 0, 0, 0, 13, 0, 14, + 15, 0, 0, 0, 16, 17, 0, 0, 0, 0, + 0, 0, 18, 19, 0, 0, 0, 0, 0, 20, + 21, 0, 0, 0, 22, 834, 835, 836, 837, 0, + 0, 23, 24, 25, 0, 26, 0, 838, 0, 27, + 0, 0, 0, 0, 28, 0, 131, 132, 133, 134, + 135, 136, 137, 138, 0, 0, 0, 0, 0, 0, + 0, 29, 139, 0, 0, 30, 31, 0, 0, 32, + 0, 33, 0, 0, 0, 34, 131, 132, 133, 134, + 135, 136, 137, 138, 0, 0, 0, 0, 0, 0, + 0, 0, 139, 0, 0, 131, 132, 133, 134, 135, + 136, 137, 138, 0, 0, 0, 0, 0, 0, 0, + 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, + 842, 843, 844, 845, 846, 0, 847, 848, 849, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, + 141, 0, 142, 143, 144, 145, 146, 147, 148, 149, + 0, 150, 151, 152, 0, 0, 0, 316, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, + 141, 0, 142, 143, 144, 145, 146, 147, 148, 149, + 0, 150, 151, 152, 0, 0, 0, 863, 140, 141, + 0, 142, 143, 144, 145, 146, 147, 148, 149, 0, + 150, 151, 152, 334, 335, 0, 919, 469, 470, 471, + 472, 473, 474, 475, 476, 0, 0, 0, 0, 0, + 0, 0, 0, 477, 0, 478, 479, 480, 481, 482, + 483, 484, 485, 486, 487, 488, 489, 0, 0, 0, + 39, 0, 40, 41, 0, 490, 0, 44, 0, 0, + 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, + 0, 0, 47, 48, 49, 0, 491, 0, 0, 0, + 0, 0, 0, 0, 50, 51, 0, 0, 0, 189, + 190, 0, 0, 0, 0, 338, 0, 55, 0, 0, + 56, 0, 0, 0, 0, 0, 492, 0, 0, 493, + 0, 494, 495, 496, 497, 498, 499, 500, 501, 502, + 503, 504, 0, 505, 506, 0, 39, 507, 40, 41, + 42, 191, 0, 44, 0, 0, 0, 45, 192, 193, + 0, 0, 46, 0, 189, 190, 0, 194, 47, 48, + 49, 195, 0, 0, 196, 0, 0, 0, 197, 0, + 50, 51, 0, 198, 0, 52, 0, 0, 0, 0, + 0, 199, 54, 55, 0, 200, 56, 201, 0, 0, + 0, 39, 202, 40, 41, 42, 275, 0, 44, 0, + 0, 0, 45, 192, 193, 0, 0, 46, 203, 189, + 190, 0, 194, 47, 48, 49, 195, 0, 0, 196, + 0, 0, 0, 197, 0, 50, 51, 0, 198, 0, + 52, 0, 0, 0, 0, 0, 199, 54, 55, 0, + 200, 56, 201, 0, 0, 0, 39, 0, 40, 41, + 42, 191, 0, 44, 0, 0, 0, 45, 192, 193, + 0, 0, 46, 203, 0, 0, 0, 194, 47, 48, + 49, 195, 0, 0, 196, 0, 0, 0, 197, 0, + 50, 51, 0, 198, 0, 52, 0, 0, 0, 0, + 0, 199, 54, 55, 0, 200, 56, 201, 131, 132, + 133, 134, 135, 136, 137, 138, 0, 0, 0, 0, + 0, 0, 0, 0, 139, 0, 0, 0, 203, 131, + 132, 133, 134, 135, 136, 137, 138, 0, 0, 0, + 0, 0, 0, 0, 0, 139, 131, 132, 133, 134, + 135, 136, 137, 138, 0, 0, 0, 0, 0, 0, + 0, 0, 139, 131, 132, 133, 134, 135, 136, 137, + 138, 0, 0, 0, 0, 0, 0, 0, 0, 139, + 576, 577, 578, 579, 580, 581, 582, 583, 0, 0, + 0, 0, 0, 0, 0, 0, 584, 0, 0, 314, + 0, 140, 141, 0, 142, 143, 144, 145, 146, 147, + 148, 149, 0, 150, 151, 152, 0, 0, 0, 466, + 0, 0, 140, 141, 0, 142, 143, 144, 145, 146, + 147, 148, 149, 0, 150, 151, 152, 861, 0, 140, + 141, 0, 142, 143, 144, 145, 146, 147, 148, 149, + 0, 150, 151, 152, 0, 0, 140, 141, 0, 142, + 143, 144, 145, 146, 147, 148, 149, 0, 150, 151, + 152, 0, 0, 585, 586, 0, 587, 588, 589, 590, + 591, 592, 593, 594, 0, 595, 596, 597, 830, 831, + 832, 833, 834, 835, 836, 837, 0, 0, 0, 0, + 0, 0, 0, 0, 838, 132, 133, 134, 135, 136, + 137, 138, 0, 0, 0, 0, 0, 0, 0, 0, + 139, 133, 134, 135, 136, 137, 138, 0, 0, 0, + 0, 0, 0, 0, 0, 139, 133, 134, 135, 136, + 137, 138, 0, 0, 0, 0, 0, 0, 0, 0, + 139, 133, 134, 135, 136, 137, 138, 0, 0, 0, + 0, 0, 0, 0, 0, 139, 832, 833, 834, 835, + 836, 837, 0, 0, 0, 0, 0, 0, 0, 917, + 838, 839, 840, 0, 841, 0, 0, 842, 843, 844, + 845, 846, 0, 847, 848, 849, 0, 0, 141, 0, + 142, 143, 144, 145, 146, 147, 148, 149, 0, 150, + 151, 152, 0, 141, 0, 142, 143, 144, 145, 146, + 147, 148, 149, 0, 150, 151, 152, 0, 0, 0, + 142, 143, 144, 145, 146, 147, 148, 149, 0, 150, + 151, 152, 0, 334, 335, 0, 143, 144, 145, 146, + 147, 148, 149, 0, 150, 151, 152, 0, 0, 0, + 841, 0, 0, 842, 843, 844, 845, 846, 0, 847, + 848, 849, 832, 833, 834, 835, 836, 837, 0, 0, + 39, 38, 40, 41, 336, 337, 838, 44, 0, 0, + 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, + 0, 0, 47, 48, 49, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 50, 51, 0, 39, 0, 40, + 41, 42, 43, 0, 44, 338, 0, 55, 45, 0, + 56, 0, 0, 46, 0, 0, 0, 0, 0, 47, + 48, 49, 38, 0, 0, 0, 0, 0, 0, 0, + 0, 50, 51, 0, 0, 0, 52, 0, 0, 0, + 0, 0, 53, 54, 55, 0, 0, 56, 0, 842, + 843, 844, 845, 846, 0, 847, 848, 849, 39, 0, + 40, 41, 42, 283, 0, 44, 0, 0, 0, 45, + 0, 101, 0, 0, 46, 0, 0, 0, 0, 0, + 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 50, 51, 0, 0, 0, 52, 0, 0, + 0, 0, 0, 53, 54, 55, 0, 39, 56, 40, + 41, 42, 0, 0, 44, 0, 0, 0, 45, 0, + 38, 0, 0, 46, 0, 0, 0, 0, 0, 47, + 48, 49, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 50, 51, 0, 0, 0, 52, 0, 0, 0, + 0, 0, 102, 54, 55, 0, 39, 56, 40, 41, + 42, 0, 0, 44, 0, 0, 70, 45, 0, 0, + 0, 0, 46, 0, 0, 0, 0, 71, 47, 48, + 49, 72, 0, 0, 73, 0, 0, 0, 0, 0, + 50, 51, 0, 74, 0, 52, 75, 76, 77, 0, + 0, 53, 54, 55, 0, 70, 56, 78, 0, 0, + 0, 79, 0, 0, 0, 80, 71, 0, 0, 0, + 72, 0, 0, 73, 0, 81, 0, 0, 0, 0, + 70, 0, 74, 0, 0, 75, 76, 77, 0, 0, + 0, 71, 0, 0, 390, 72, 78, 0, 73, 0, + 79, 0, 0, 0, 80, 70, 0, 74, 0, 0, + 75, 76, 77, 0, 81, 0, 71, 0, 0, 0, + 72, 78, 0, 73, 0, 79, 0, 0, 0, 80, + 0, 0, 74, 453, 0, 75, 76, 77, 0, 81, + 0, 0, 0, 0, 0, 39, 78, 40, 41, 0, + 79, 0, 155, 0, 80, 70, 0, 0, 539, 0, + 0, 156, 0, 0, 81, 0, 71, 47, 157, 49, + 72, 0, 0, 73, 0, 0, 0, 0, 0, 50, + 51, 0, 74, 742, 0, 75, 76, 77, 0, 0, + 0, 39, 55, 40, 41, 0, 78, 0, 155, 0, + 79, 0, 0, 0, 80, 0, 39, 156, 40, 41, + 0, 0, 0, 47, 157, 49, 0, 0, 0, 100, + 0, 0, 260, 0, 0, 50, 51, 0, 47, 159, + 49, 0, 0, 0, 0, 0, 0, 0, 55, 0, + 50, 51, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 55 }; -static const short yycheck[] = +static const short int yycheck[] = { - 1, 32, 83, 4, 83, 32, 91, 92, 93, 94, - 21, 96, 97, 98, 459, 83, 83, 77, 599, 274, - 105, 106, 10, 21, 109, 349, 450, 177, 8, 9, - 12, 8, 9, 8, 9, 351, 152, 42, 110, 355, - 356, 357, 345, 119, 105, 348, 102, 350, 10, 165, - 166, 167, 168, 8, 9, 56, 102, 190, 382, 120, - 8, 9, 8, 9, 119, 121, 2, 370, 95, 372, - 373, 374, 83, 413, 119, 121, 77, 8, 9, 10, - 107, 108, 4, 390, 391, 83, 8, 9, 50, 513, - 102, 119, 28, 29, 30, 31, 71, 33, 21, 105, - 119, 29, 183, 443, 183, 74, 75, 76, 411, 121, - 101, 120, 121, 104, 120, 183, 183, 267, 149, 50, - 102, 376, 119, 398, 101, 94, 114, 551, 452, 445, - 405, 406, 407, 408, 284, 102, 439, 102, 223, 120, - 121, 121, 417, 259, 8, 9, 10, 109, 29, 730, - 102, 152, 114, 101, 121, 101, 121, 119, 413, 434, - 83, 102, 465, 102, 165, 166, 167, 168, 102, 121, - 119, 120, 183, 110, 119, 176, 177, 119, 109, 119, - 121, 331, 121, 114, 189, 183, 50, 121, 443, 194, - 118, 119, 120, 129, 130, 131, 132, 133, 134, 135, + 1, 79, 33, 461, 5, 85, 33, 93, 94, 95, + 96, 22, 98, 99, 100, 85, 415, 85, 85, 179, + 10, 107, 108, 552, 22, 111, 452, 351, 105, 601, + 8, 9, 400, 12, 8, 9, 10, 10, 43, 407, + 408, 409, 410, 120, 347, 0, 445, 350, 154, 352, + 276, 419, 8, 9, 8, 9, 57, 120, 121, 192, + 384, 167, 168, 169, 170, 102, 2, 102, 436, 372, + 97, 374, 375, 376, 85, 105, 50, 50, 79, 8, + 9, 10, 109, 110, 121, 119, 121, 85, 102, 515, + 120, 8, 9, 29, 30, 31, 32, 119, 34, 73, + 22, 8, 9, 392, 393, 185, 102, 121, 110, 269, + 413, 74, 75, 76, 6, 185, 101, 185, 185, 104, + 151, 50, 119, 102, 114, 121, 286, 553, 119, 120, + 454, 94, 8, 9, 110, 109, 109, 102, 441, 225, + 114, 114, 119, 121, 353, 119, 119, 101, 357, 358, + 359, 102, 378, 154, 71, 261, 121, 119, 557, 29, + 732, 560, 119, 85, 467, 104, 167, 168, 169, 170, + 121, 101, 102, 333, 185, 119, 575, 178, 179, 547, + 109, 48, 119, 50, 51, 114, 191, 185, 55, 415, + 119, 196, 119, 561, 101, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, - 146, 147, 148, 346, 150, 555, 349, 524, 558, 101, - 102, 528, 102, 530, 805, 532, 533, 534, 47, 102, - 49, 50, 119, 573, 102, 54, 119, 118, 119, 120, - 119, 121, 119, 120, 394, 109, 6, 104, 121, 382, - 114, 8, 9, 121, 104, 119, 104, 104, 259, 119, - 183, 119, 120, 264, 265, 121, 267, 268, 273, 270, - 545, 272, 114, 101, 272, 101, 281, 103, 104, 105, - 604, 282, 104, 284, 559, 866, 98, 99, 100, 870, - 120, 101, 49, 119, 120, 231, 232, 119, 120, 121, - 555, 104, 121, 122, 123, 124, 110, 3, 4, 5, - 6, 101, 8, 103, 104, 105, 119, 120, 121, 452, - 74, 75, 76, 324, 325, 906, 119, 84, 264, 910, - 331, 119, 6, 90, 91, 103, 155, 335, 157, 340, - 400, 346, 923, 121, 349, 346, 102, 378, 349, 380, - 351, 932, 104, 289, 355, 356, 357, 53, 121, 360, - 121, 111, 363, 121, 60, 810, 367, 119, 120, 121, - 121, 111, 121, 458, 121, 376, 312, 382, 8, 9, - 10, 382, 121, 121, 121, 81, 121, 83, 121, 104, - 119, 87, 119, 394, 119, 396, 29, 398, 429, 400, - 121, 725, 429, 401, 405, 406, 407, 408, 409, 19, - 20, 422, 413, 109, 419, 119, 417, 113, 114, 29, - 50, 117, 762, 119, 422, 124, 102, 123, 122, 101, - 29, 367, 105, 434, 102, 102, 111, 114, 122, 572, - 119, 122, 443, 73, 445, 114, 105, 452, 114, 450, - 386, 452, 114, 85, 110, 119, 759, 110, 459, 540, - 121, 540, 122, 121, 102, 120, 389, 390, 391, 121, - 124, 604, 540, 540, 102, 121, 105, 120, 802, 109, - 102, 114, 115, 116, 114, 118, 119, 120, 119, 119, - 426, 427, 428, 817, 430, 121, 50, 102, 801, 422, - 29, 4, 112, 113, 114, 115, 116, 119, 118, 119, - 120, 538, 513, 124, 450, 114, 115, 116, 121, 118, - 119, 120, 122, 459, 121, 17, 18, 19, 20, 540, - 122, 124, 119, 560, 535, 562, 563, 29, 539, 863, - 110, 119, 540, 110, 545, 52, 849, 124, 111, 102, - 551, 111, 121, 86, 555, 62, 63, 558, 559, 121, - 119, 119, 111, 594, 121, 72, 121, 572, 0, 570, - 121, 78, 573, 119, 119, 511, 111, 513, 121, 121, - 904, 122, 121, 112, 113, 114, 115, 116, 119, 118, - 119, 120, 725, 100, 121, 102, 103, 119, 599, 604, - 121, 524, 121, 604, 0, 528, 457, 530, 176, 532, - 533, 534, 727, 400, 801, 551, 759, 540, 110, 111, - 112, 113, 114, 115, 116, 29, 118, 119, 120, 849, - 400, 183, 401, 335, 539, 183, 422, 572, 574, 575, + 146, 147, 148, 149, 150, 348, 152, 119, 351, 445, + 102, 750, 751, 752, 753, 101, 755, 101, 119, 103, + 104, 105, 8, 9, 10, 807, 396, 526, 447, 121, + 119, 530, 102, 532, 119, 534, 535, 536, 118, 119, + 120, 384, 8, 9, 119, 120, 123, 124, 125, 126, + 261, 121, 102, 185, 121, 266, 267, 102, 269, 270, + 275, 272, 102, 274, 50, 102, 274, 114, 283, 104, + 29, 121, 606, 284, 4, 286, 121, 104, 8, 9, + 157, 121, 159, 49, 121, 29, 868, 233, 234, 104, + 872, 830, 831, 832, 833, 834, 835, 836, 837, 838, + 839, 840, 841, 842, 843, 844, 845, 846, 847, 119, + 120, 454, 120, 121, 402, 326, 327, 120, 84, 101, + 266, 557, 333, 109, 90, 91, 908, 101, 114, 337, + 912, 342, 110, 348, 119, 119, 351, 348, 877, 380, + 351, 382, 353, 925, 812, 291, 357, 358, 359, 6, + 103, 362, 934, 121, 365, 764, 102, 121, 369, 118, + 119, 120, 111, 121, 460, 104, 121, 378, 314, 384, + 114, 115, 116, 384, 118, 119, 120, 111, 917, 121, + 119, 120, 121, 121, 121, 396, 121, 398, 29, 400, + 431, 402, 121, 727, 431, 403, 407, 408, 409, 410, + 411, 19, 20, 424, 415, 104, 421, 121, 419, 121, + 101, 29, 103, 104, 105, 121, 424, 19, 20, 104, + 119, 120, 121, 369, 119, 436, 119, 29, 119, 120, + 104, 574, 121, 119, 445, 119, 447, 124, 102, 454, + 122, 452, 388, 454, 105, 119, 120, 121, 761, 101, + 461, 102, 542, 111, 29, 98, 99, 100, 102, 391, + 392, 393, 542, 606, 542, 542, 74, 75, 76, 114, + 804, 112, 113, 114, 115, 116, 114, 118, 119, 120, + 122, 114, 428, 429, 430, 819, 432, 119, 122, 105, + 803, 85, 424, 114, 112, 113, 114, 115, 116, 110, + 118, 119, 120, 540, 515, 119, 452, 110, 121, 121, + 112, 113, 114, 115, 116, 461, 118, 119, 120, 120, + 102, 542, 122, 121, 102, 562, 537, 564, 565, 124, + 541, 865, 121, 105, 542, 120, 547, 102, 851, 114, + 115, 116, 553, 118, 119, 120, 557, 121, 119, 560, + 561, 50, 119, 4, 102, 596, 124, 121, 121, 574, + 122, 572, 122, 124, 575, 119, 110, 513, 119, 515, + 110, 124, 906, 14, 15, 16, 17, 18, 19, 20, + 102, 111, 121, 111, 727, 86, 119, 121, 29, 121, + 601, 606, 121, 119, 526, 606, 121, 121, 530, 29, + 532, 53, 534, 535, 536, 119, 119, 553, 111, 121, + 542, 63, 64, 750, 751, 752, 753, 122, 755, 121, + 111, 121, 74, 119, 119, 459, 178, 121, 80, 121, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, - 586, 587, 588, 589, 590, 591, 592, 593, 45, 595, - 47, 48, 456, 8, 9, 8, 9, 395, 689, 802, - -1, 17, 18, 19, 20, 324, -1, -1, 185, 764, - 67, 68, 69, 29, 817, -1, -1, 550, 689, -1, - 197, -1, 79, 80, 201, -1, -1, -1, -1, -1, - -1, 208, 209, -1, 49, 92, 49, -1, 112, 113, - 114, 115, 116, -1, 118, 119, 120, -1, -1, -1, - 725, 752, -1, -1, 725, 752, -1, -1, -1, 730, - 863, -1, 119, -1, -1, -1, -1, 8, 9, 84, - -1, 84, -1, -1, -1, 90, 91, 90, 91, 94, - -1, 94, 748, 749, 750, 751, -1, 753, 265, -1, - -1, 762, -1, -1, -1, -1, 112, 113, 114, 115, - 116, 904, 118, 119, 120, -1, -1, -1, 49, -1, - -1, 288, 718, -1, -1, -1, -1, -1, -1, -1, - -1, 818, 819, 820, -1, 731, -1, 802, -1, -1, - -1, 802, -1, -1, 805, -1, -1, -1, -1, 810, - -1, -1, 817, 84, -1, 846, 817, 324, -1, 90, - 91, -1, -1, 94, 760, -1, -1, 334, -1, 336, - -1, 767, 828, 829, 830, 831, 832, 833, 834, 835, - 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, - -1, -1, -1, 0, -1, -1, -1, -1, 863, -1, - -1, -1, 863, -1, -1, 866, -1, -1, 899, 870, - 901, -1, -1, -1, 810, -1, -1, -1, 385, 875, - -1, -1, 389, 390, 391, 748, 749, 750, 751, -1, - 753, 19, 20, -1, -1, 926, 927, 44, -1, 904, - -1, 29, -1, 904, -1, 906, -1, -1, 55, 910, - -1, 847, 59, -1, -1, 62, -1, -1, -1, 915, - -1, -1, 923, 859, 71, -1, -1, 74, 75, 76, - -1, 932, -1, -1, -1, -1, -1, -1, 85, -1, - -1, -1, 89, -1, -1, -1, 93, -1, -1, -1, - 457, -1, -1, -1, -1, -1, 103, -1, -1, -1, - -1, -1, -1, -1, -1, 828, 829, 830, 831, 832, - 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, - 843, 844, 845, -1, 112, 113, 114, 115, 116, -1, - 118, 119, 120, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 510, -1, -1, -1, -1, -1, -1, - -1, -1, 875, -1, -1, -1, 523, 524, 525, -1, - -1, 528, -1, 530, -1, 532, 533, 534, 3, 4, - 5, 6, 7, 8, 9, 10, -1, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, -1, -1, - -1, -1, 915, -1, 29, 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, -1, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - -1, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, -1, 70, -1, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - -1, 86, 87, 88, 89, 90, 91, 92, -1, 94, - 95, 96, 97, -1, -1, -1, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, - 3, 4, 5, 6, 7, 8, 9, 10, -1, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - -1, -1, -1, -1, -1, -1, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, -1, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, -1, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, -1, 70, -1, 72, - 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, -1, 86, 87, 88, 89, 90, 91, 92, - -1, 94, 95, 96, 97, -1, -1, -1, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, - 123, 124, 3, 4, 5, 6, -1, 8, 9, -1, + 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, + 102, 597, 104, 105, 402, 729, 803, 761, 851, 402, + 337, 804, 185, 403, 574, 541, 107, 185, 109, 397, + 766, 112, 113, 114, 115, 116, 819, 118, 119, 120, + 691, 458, 112, 113, 114, 115, 116, 326, 118, 119, + 120, 424, 691, 830, 831, 832, 833, 834, 835, 836, + 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, + 847, -1, 727, 754, -1, -1, 727, 754, -1, -1, + -1, 732, 865, -1, -1, 3, 4, 5, 6, -1, + 8, 17, 18, 19, 20, 187, 8, 9, -1, -1, + 877, -1, -1, 29, -1, -1, -1, 199, -1, -1, + -1, 203, -1, 764, -1, -1, -1, -1, 210, 211, + -1, 8, 9, 906, -1, -1, -1, -1, -1, -1, + 8, 9, -1, -1, 720, 53, -1, 49, -1, -1, + 917, -1, 60, 820, 821, 822, -1, 733, -1, 804, + -1, -1, -1, 804, -1, -1, 807, -1, -1, -1, + -1, 812, 49, 81, 819, 83, -1, 848, 819, 87, + -1, 49, 84, -1, -1, 267, 762, -1, 90, 91, + -1, -1, 94, 769, 110, 111, 112, 113, 114, 115, + 116, 109, 118, 119, 120, 113, 114, 84, 290, 117, + 44, 119, -1, 90, 91, 123, 84, 94, -1, -1, + 865, 55, 90, 91, 865, 59, 94, 868, 62, -1, + 901, 872, 903, -1, -1, -1, 812, 71, -1, -1, + 74, 75, 76, -1, 326, -1, -1, -1, -1, -1, + -1, 85, -1, -1, 336, 89, 338, 928, 929, 93, + -1, 906, -1, -1, -1, 906, -1, 908, -1, 103, + -1, 912, -1, 849, 3, 4, 5, 6, -1, 8, + 9, -1, -1, -1, 925, 861, -1, -1, 122, -1, + -1, -1, -1, 934, -1, -1, -1, -1, -1, 15, + 16, 17, 18, 19, 20, 387, -1, -1, -1, 391, + 392, 393, 45, 29, 47, 48, 45, -1, 47, 48, + 49, 50, -1, 52, 53, -1, -1, 56, -1, -1, + -1, 60, 61, -1, 67, 68, 69, -1, 67, 68, + 69, -1, -1, 72, -1, -1, 79, 80, -1, -1, + 79, 80, 81, -1, 83, 84, -1, -1, 87, 92, + -1, 90, 91, 92, -1, -1, 95, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 459, -1, -1, + 109, -1, -1, -1, 113, 114, 119, -1, 117, -1, + 119, 107, -1, 109, 123, -1, 112, 113, 114, 115, + 116, -1, 118, 119, 120, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 13, 14, 15, - 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, - -1, -1, -1, 29, 45, -1, 47, 48, 49, 50, - -1, 52, 53, -1, -1, 56, -1, -1, -1, 60, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 512, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 525, 526, 527, -1, -1, 530, -1, + 532, -1, 534, 535, 536, 3, 4, 5, 6, 7, + 8, 9, 10, -1, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, -1, -1, -1, -1, -1, + -1, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, -1, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, -1, 56, 57, + 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, + 68, -1, 70, -1, 72, 73, 74, 75, 76, 77, + 78, 79, 80, 81, 82, 83, 84, -1, 86, 87, + 88, 89, 90, 91, 92, -1, 94, 95, 96, 97, + -1, -1, -1, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, + 118, 119, 120, 121, 122, 123, 124, 3, 4, 5, + 6, 7, 8, 9, 10, -1, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, -1, -1, -1, + -1, -1, -1, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, -1, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 54, -1, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, + 66, 67, 68, -1, 70, -1, 72, 73, 74, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, -1, + 86, 87, 88, 89, 90, 91, 92, -1, 94, 95, + 96, 97, -1, -1, -1, 101, 102, 103, 104, 105, + 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, + 116, 117, 118, 119, 120, 121, -1, 123, 124, 3, + 4, 5, 6, -1, 8, 9, -1, -1, 12, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 13, 14, 15, 16, 17, 18, + 19, 20, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 45, -1, 47, 48, 49, 50, -1, 52, 53, + -1, -1, 56, -1, -1, -1, 60, 61, -1, -1, + -1, -1, -1, 67, 68, 69, -1, -1, 72, -1, + -1, -1, -1, -1, -1, 79, 80, 81, -1, 83, + 84, -1, -1, 87, -1, -1, 90, 91, 92, -1, + -1, 95, 3, 4, 5, 6, -1, 8, 9, -1, + -1, 12, -1, -1, -1, 109, -1, -1, -1, 113, + -1, -1, -1, 117, -1, 119, -1, 106, 107, 123, + 109, -1, 904, 112, 113, 114, 115, 116, -1, 118, + 119, 120, -1, -1, 45, -1, 47, 48, 49, 50, + -1, 52, 53, -1, -1, 56, -1, -1, 0, 60, 61, -1, -1, -1, -1, -1, 67, 68, 69, -1, -1, 72, -1, -1, -1, -1, -1, -1, 79, 80, 81, -1, 83, 84, -1, -1, 87, -1, -1, 90, 91, 92, -1, -1, 95, 3, 4, 5, 6, -1, - 8, 9, -1, -1, 12, -1, -1, -1, 109, -1, - -1, -1, 113, 114, -1, -1, 117, -1, 119, -1, - 106, 107, 123, 109, -1, 902, 112, 113, 114, 115, - 116, -1, 118, 119, 120, -1, -1, 45, -1, 47, - 48, 49, 50, -1, 52, 53, -1, -1, 56, -1, + 8, 9, 44, -1, -1, -1, -1, -1, 109, -1, + -1, -1, 113, 55, -1, -1, 117, 59, 119, -1, + 62, -1, 123, -1, -1, -1, -1, -1, -1, 71, + -1, -1, 74, 75, 76, -1, -1, 45, -1, 47, + 48, -1, -1, 85, 52, 53, -1, 89, -1, -1, + -1, 93, 60, 61, -1, -1, -1, -1, -1, 67, + 68, 103, -1, -1, 72, 45, -1, 47, 48, -1, + -1, 79, 80, 81, -1, 83, -1, -1, -1, 87, + 3, 4, 5, 6, 92, 8, 9, 67, 68, 69, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 79, + 80, 109, -1, -1, -1, 113, 114, -1, -1, 117, + -1, 119, 92, 121, -1, 123, -1, -1, -1, -1, + -1, -1, 45, -1, 47, 48, -1, -1, -1, 52, + 53, -1, -1, -1, -1, -1, -1, 60, 61, 119, + -1, -1, -1, -1, 67, 68, -1, -1, -1, 72, + 45, -1, 47, 48, -1, -1, 79, 80, 81, -1, + 83, -1, -1, -1, 87, 3, 4, 5, 6, 92, + 8, 9, 67, 68, 69, -1, -1, -1, 101, -1, + -1, -1, -1, -1, 79, 80, 109, -1, -1, -1, + 113, 114, -1, -1, 117, -1, 119, 92, -1, -1, + 123, -1, -1, -1, -1, -1, -1, 45, -1, 47, + 48, -1, -1, -1, 52, 53, -1, -1, -1, -1, + -1, -1, 60, 61, 119, -1, -1, -1, -1, 67, + 68, -1, -1, -1, 72, 45, -1, 47, 48, -1, + -1, 79, 80, 81, -1, 83, -1, -1, -1, 87, + 3, 4, 5, 6, 92, 8, 9, 67, 68, 69, + -1, -1, -1, 101, -1, -1, -1, -1, -1, 79, + 80, 109, -1, -1, -1, 113, 114, -1, -1, 117, + -1, 119, 92, -1, -1, 123, -1, -1, -1, -1, + -1, -1, 45, -1, 47, 48, -1, -1, -1, 52, + 53, -1, -1, -1, -1, -1, -1, 60, 61, -1, + -1, -1, -1, -1, 67, 68, -1, -1, -1, 72, + -1, -1, -1, -1, -1, -1, 79, 80, 81, -1, + 83, -1, -1, -1, 87, 3, 4, 5, 6, 92, + 8, 9, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 109, -1, -1, -1, + 113, 114, -1, -1, 117, -1, 119, -1, 121, -1, + 123, -1, -1, -1, -1, -1, -1, 45, -1, 47, + 48, -1, -1, -1, 52, 53, -1, -1, -1, -1, -1, -1, 60, 61, -1, -1, -1, -1, -1, 67, - 68, 69, -1, -1, 72, -1, -1, -1, -1, -1, - -1, 79, 80, 81, -1, 83, 84, -1, -1, 87, - -1, -1, 90, 91, 92, -1, -1, 95, 3, 4, - 5, 6, -1, 8, 9, -1, -1, 12, -1, -1, - -1, 109, -1, -1, -1, 113, -1, -1, -1, 117, - -1, 119, -1, -1, -1, 123, 14, 15, 16, 17, - 18, 19, 20, -1, -1, -1, 45, -1, 47, 48, - 45, 29, 47, 48, 49, 50, -1, 52, 53, -1, - -1, 56, -1, -1, -1, 60, 61, -1, 67, 68, - 69, -1, 67, 68, 69, -1, -1, 72, -1, -1, - 79, 80, -1, -1, 79, 80, 81, -1, 83, 84, - -1, -1, 87, 92, -1, 90, 91, 92, -1, -1, - 95, 3, 4, 5, 6, -1, 8, 9, -1, -1, - -1, -1, -1, -1, 109, -1, -1, -1, 113, -1, - 119, -1, 117, -1, 119, -1, -1, -1, 123, 107, - -1, 109, 110, 111, 112, 113, 114, 115, 116, -1, - 118, 119, 120, 45, -1, 47, 48, -1, -1, -1, - 52, 53, -1, -1, -1, -1, -1, -1, 60, 61, - -1, -1, -1, -1, -1, 67, 68, -1, -1, -1, - 72, 45, -1, 47, 48, -1, -1, 79, 80, 81, - -1, 83, -1, -1, -1, 87, 3, 4, 5, 6, - 92, 8, 9, 67, 68, 69, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 79, 80, 109, -1, -1, - -1, 113, 114, -1, -1, 117, -1, 119, 92, 121, - -1, 123, -1, -1, -1, -1, -1, -1, 45, -1, - 47, 48, -1, -1, -1, 52, 53, -1, -1, -1, - -1, -1, -1, 60, 61, 119, -1, -1, -1, -1, - 67, 68, -1, -1, -1, 72, 45, -1, 47, 48, - -1, -1, 79, 80, 81, -1, 83, -1, -1, -1, - 87, 3, 4, 5, 6, 92, 8, 9, 67, 68, - 69, -1, -1, -1, 101, -1, -1, -1, -1, -1, - 79, 80, 109, -1, -1, -1, 113, 114, -1, -1, - 117, -1, 119, 92, -1, -1, 123, -1, -1, -1, - -1, -1, -1, 45, -1, 47, 48, -1, -1, -1, - 52, 53, -1, -1, -1, -1, -1, -1, 60, 61, - -1, -1, -1, -1, -1, 67, 68, -1, -1, -1, - 72, -1, -1, -1, -1, -1, -1, 79, 80, 81, - -1, 83, -1, -1, -1, 87, 3, 4, 5, 6, - 92, 8, 9, -1, -1, -1, -1, -1, -1, 101, - -1, -1, -1, -1, -1, -1, -1, 109, -1, -1, - -1, 113, 114, -1, -1, 117, -1, 119, -1, -1, - -1, 123, -1, -1, -1, -1, -1, -1, 45, -1, - 47, 48, -1, -1, -1, 52, 53, -1, -1, -1, - -1, -1, -1, 60, 61, -1, -1, -1, -1, -1, - 67, 68, -1, -1, -1, 72, -1, -1, -1, -1, - -1, -1, 79, 80, 81, -1, 83, -1, -1, -1, - 87, 3, 4, 5, 6, 92, 8, 9, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 109, -1, -1, -1, 113, 114, -1, -1, - 117, -1, 119, -1, 121, -1, 123, -1, -1, -1, - -1, -1, -1, 45, -1, 47, 48, -1, -1, -1, - 52, 53, -1, -1, -1, -1, -1, -1, 60, 61, - -1, -1, -1, -1, -1, 67, 68, -1, -1, -1, - 72, -1, -1, -1, -1, -1, -1, 79, 80, 81, - -1, 83, -1, -1, -1, 87, 3, 4, 5, 6, - 92, 8, 9, -1, -1, -1, -1, -1, -1, 101, - -1, -1, -1, -1, -1, -1, -1, 109, -1, -1, - -1, 113, 114, -1, -1, 117, -1, 119, -1, -1, - -1, 123, -1, -1, -1, -1, -1, -1, 45, -1, - 47, 48, -1, -1, -1, 52, 53, -1, -1, -1, - -1, -1, -1, 60, 61, -1, -1, -1, -1, -1, - 67, 68, -1, -1, -1, 72, -1, -1, -1, -1, - -1, -1, 79, 80, 81, -1, 83, -1, -1, -1, - 87, 3, 4, 5, 6, 92, 8, 9, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 109, -1, -1, -1, 113, 114, -1, -1, - 117, -1, 119, -1, 121, -1, 123, -1, -1, 45, - -1, 47, 48, 45, -1, 47, 48, -1, -1, -1, - 52, 53, -1, -1, -1, 61, -1, -1, 60, 61, - -1, 67, 68, 69, -1, 67, 68, -1, -1, -1, - 72, -1, -1, 79, 80, -1, -1, 79, 80, 81, - -1, 83, -1, -1, -1, 87, 92, -1, -1, -1, - 92, -1, 13, 14, 15, 16, 17, 18, 19, 20, - -1, -1, -1, -1, -1, -1, -1, 109, 29, -1, - -1, 113, 114, -1, -1, 117, -1, 119, -1, -1, - -1, 123, 13, 14, 15, 16, 17, 18, 19, 20, - -1, -1, -1, -1, -1, -1, -1, -1, 29, -1, - -1, 13, 14, 15, 16, 17, 18, 19, 20, 45, - -1, 47, 48, -1, -1, -1, 52, 29, -1, -1, - -1, -1, -1, -1, -1, 61, -1, -1, -1, -1, - -1, 67, 68, 69, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 79, 80, 106, 107, -1, 109, 110, - 111, 112, 113, 114, 115, 116, 92, 118, 119, 120, - -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 106, 107, -1, 109, 110, - 111, 112, 113, 114, 115, 116, -1, 118, 119, 120, - -1, -1, -1, 124, 106, 107, -1, 109, 110, 111, - 112, 113, 114, 115, 116, -1, 118, 119, 120, 8, - 9, -1, 124, 13, 14, 15, 16, 17, 18, 19, - 20, -1, -1, -1, -1, -1, -1, -1, -1, 29, - -1, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, -1, -1, -1, 45, -1, 47, 48, - -1, 51, -1, 52, -1, -1, -1, -1, -1, -1, - -1, -1, 61, -1, -1, -1, -1, -1, 67, 68, - 69, -1, 72, -1, -1, -1, -1, -1, -1, -1, - 79, 80, -1, -1, -1, 8, 9, -1, -1, -1, - -1, 90, -1, 92, -1, -1, 95, -1, -1, -1, - -1, -1, 102, -1, -1, 105, -1, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, -1, 119, - 120, -1, 45, 123, 47, 48, 49, 50, -1, 52, - -1, -1, -1, 56, 57, 58, -1, -1, 61, -1, - 8, 9, -1, 66, 67, 68, 69, 70, -1, -1, - 73, -1, -1, -1, 77, -1, 79, 80, -1, 82, - -1, 84, -1, -1, -1, -1, -1, 90, 91, 92, - -1, 94, 95, 96, -1, -1, -1, 45, 101, 47, - 48, 49, 50, -1, 52, -1, -1, -1, 56, 57, - 58, -1, -1, 61, 117, 8, 9, -1, 66, 67, - 68, 69, 70, -1, -1, 73, -1, -1, -1, 77, - -1, 79, 80, -1, 82, -1, 84, -1, -1, -1, - -1, -1, 90, 91, 92, -1, 94, 95, 96, -1, - -1, -1, 45, -1, 47, 48, 49, 50, -1, 52, - -1, -1, -1, 56, 57, 58, -1, -1, 61, 117, - -1, -1, -1, 66, 67, 68, 69, 70, -1, -1, - 73, -1, -1, -1, 77, -1, 79, 80, -1, 82, - -1, 84, -1, -1, -1, -1, -1, 90, 91, 92, - -1, 94, 95, 96, 13, 14, 15, 16, 17, 18, - 19, 20, -1, -1, -1, -1, -1, -1, -1, -1, - 29, -1, -1, -1, 117, 13, 14, 15, 16, 17, + 68, -1, -1, -1, 72, -1, -1, -1, -1, -1, + -1, 79, 80, 81, -1, 83, -1, -1, -1, 87, + 3, 4, 5, 6, 92, 8, 9, -1, -1, -1, + -1, -1, -1, 101, -1, -1, -1, -1, -1, -1, + -1, 109, -1, -1, -1, 113, 114, -1, -1, 117, + -1, 119, -1, -1, -1, 123, -1, -1, -1, -1, + -1, -1, 45, -1, 47, 48, -1, -1, -1, 52, + 53, -1, -1, -1, -1, -1, -1, 60, 61, -1, + -1, -1, -1, -1, 67, 68, -1, -1, -1, 72, + -1, -1, -1, -1, -1, -1, 79, 80, 81, -1, + 83, -1, -1, -1, 87, 3, 4, 5, 6, 92, + 8, 9, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 109, -1, -1, -1, + 113, 114, -1, -1, 117, -1, 119, -1, 121, -1, + 123, -1, -1, -1, -1, -1, -1, 45, -1, 47, + 48, -1, -1, -1, 52, 53, -1, -1, -1, -1, + -1, -1, 60, 61, -1, -1, -1, -1, -1, 67, + 68, -1, -1, -1, 72, 17, 18, 19, 20, -1, + -1, 79, 80, 81, -1, 83, -1, 29, -1, 87, + -1, -1, -1, -1, 92, -1, 13, 14, 15, 16, + 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, + -1, 109, 29, -1, -1, 113, 114, -1, -1, 117, + -1, 119, -1, -1, -1, 123, 13, 14, 15, 16, + 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, + -1, -1, 29, -1, -1, 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, - -1, 29, 13, 14, 15, 16, 17, 18, 19, 20, - -1, -1, -1, -1, -1, -1, -1, -1, 29, 13, + -1, 29, -1, -1, -1, -1, -1, -1, -1, -1, + 112, 113, 114, 115, 116, -1, 118, 119, 120, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 106, + 107, -1, 109, 110, 111, 112, 113, 114, 115, 116, + -1, 118, 119, 120, -1, -1, -1, 124, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 106, + 107, -1, 109, 110, 111, 112, 113, 114, 115, 116, + -1, 118, 119, 120, -1, -1, -1, 124, 106, 107, + -1, 109, 110, 111, 112, 113, 114, 115, 116, -1, + 118, 119, 120, 8, 9, -1, 124, 13, 14, 15, + 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, + -1, -1, -1, 29, -1, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, -1, -1, -1, + 45, -1, 47, 48, -1, 51, -1, 52, -1, -1, + -1, -1, -1, -1, -1, -1, 61, -1, -1, -1, + -1, -1, 67, 68, 69, -1, 72, -1, -1, -1, + -1, -1, -1, -1, 79, 80, -1, -1, -1, 8, + 9, -1, -1, -1, -1, 90, -1, 92, -1, -1, + 95, -1, -1, -1, -1, -1, 102, -1, -1, 105, + -1, 107, 108, 109, 110, 111, 112, 113, 114, 115, + 116, 117, -1, 119, 120, -1, 45, 123, 47, 48, + 49, 50, -1, 52, -1, -1, -1, 56, 57, 58, + -1, -1, 61, -1, 8, 9, -1, 66, 67, 68, + 69, 70, -1, -1, 73, -1, -1, -1, 77, -1, + 79, 80, -1, 82, -1, 84, -1, -1, -1, -1, + -1, 90, 91, 92, -1, 94, 95, 96, -1, -1, + -1, 45, 101, 47, 48, 49, 50, -1, 52, -1, + -1, -1, 56, 57, 58, -1, -1, 61, 117, 8, + 9, -1, 66, 67, 68, 69, 70, -1, -1, 73, + -1, -1, -1, 77, -1, 79, 80, -1, 82, -1, + 84, -1, -1, -1, -1, -1, 90, 91, 92, -1, + 94, 95, 96, -1, -1, -1, 45, -1, 47, 48, + 49, 50, -1, 52, -1, -1, -1, 56, 57, 58, + -1, -1, 61, 117, -1, -1, -1, 66, 67, 68, + 69, 70, -1, -1, 73, -1, -1, -1, 77, -1, + 79, 80, -1, 82, -1, 84, -1, -1, -1, -1, + -1, 90, 91, 92, -1, 94, 95, 96, 13, 14, + 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, + -1, -1, -1, -1, 29, -1, -1, -1, 117, 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, -1, 29, 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, - -1, -1, 29, -1, -1, 104, -1, 106, 107, -1, - 109, 110, 111, 112, 113, 114, 115, 116, -1, 118, - 119, 120, -1, -1, -1, 103, -1, -1, 106, 107, - -1, 109, 110, 111, 112, 113, 114, 115, 116, -1, - 118, 119, 120, 104, -1, 106, 107, -1, 109, 110, - 111, 112, 113, 114, 115, 116, -1, 118, 119, 120, + -1, -1, 29, 13, 14, 15, 16, 17, 18, 19, + 20, -1, -1, -1, -1, -1, -1, -1, -1, 29, + 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, + -1, -1, -1, -1, -1, -1, 29, -1, -1, 104, + -1, 106, 107, -1, 109, 110, 111, 112, 113, 114, + 115, 116, -1, 118, 119, 120, -1, -1, -1, 103, -1, -1, 106, 107, -1, 109, 110, 111, 112, 113, - 114, 115, 116, -1, 118, 119, 120, -1, -1, 106, + 114, 115, 116, -1, 118, 119, 120, 104, -1, 106, 107, -1, 109, 110, 111, 112, 113, 114, 115, 116, - -1, 118, 119, 120, 13, 14, 15, 16, 17, 18, + -1, 118, 119, 120, -1, -1, 106, 107, -1, 109, + 110, 111, 112, 113, 114, 115, 116, -1, 118, 119, + 120, -1, -1, 106, 107, -1, 109, 110, 111, 112, + 113, 114, 115, 116, -1, 118, 119, 120, 13, 14, + 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, + -1, -1, -1, -1, 29, 14, 15, 16, 17, 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, -1, - 29, 14, 15, 16, 17, 18, 19, 20, -1, -1, - -1, -1, -1, -1, -1, -1, 29, 15, 16, 17, - 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, - -1, 29, 15, 16, 17, 18, 19, 20, -1, -1, - -1, -1, -1, -1, -1, -1, 29, 15, 16, 17, - 18, 19, 20, -1, -1, -1, -1, -1, -1, -1, - -1, 29, 15, 16, 17, 18, 19, 20, -1, -1, - -1, -1, -1, -1, -1, 104, 29, 106, 107, -1, + 29, 15, 16, 17, 18, 19, 20, -1, -1, -1, + -1, -1, -1, -1, -1, 29, 15, 16, 17, 18, + 19, 20, -1, -1, -1, -1, -1, -1, -1, -1, + 29, 15, 16, 17, 18, 19, 20, -1, -1, -1, + -1, -1, -1, -1, -1, 29, 15, 16, 17, 18, + 19, 20, -1, -1, -1, -1, -1, -1, -1, 104, + 29, 106, 107, -1, 109, -1, -1, 112, 113, 114, + 115, 116, -1, 118, 119, 120, -1, -1, 107, -1, + 109, 110, 111, 112, 113, 114, 115, 116, -1, 118, + 119, 120, -1, 107, -1, 109, 110, 111, 112, 113, + 114, 115, 116, -1, 118, 119, 120, -1, -1, -1, + 109, 110, 111, 112, 113, 114, 115, 116, -1, 118, + 119, 120, -1, 8, 9, -1, 110, 111, 112, 113, + 114, 115, 116, -1, 118, 119, 120, -1, -1, -1, 109, -1, -1, 112, 113, 114, 115, 116, -1, 118, - 119, 120, -1, -1, 107, -1, 109, -1, -1, 112, - 113, 114, 115, 116, -1, 118, 119, 120, -1, 107, - -1, 109, 110, 111, 112, 113, 114, 115, 116, -1, - 118, 119, 120, -1, -1, -1, 109, 110, 111, 112, - 113, 114, 115, 116, -1, 118, 119, 120, -1, -1, - -1, -1, 110, 111, 112, 113, 114, 115, 116, -1, - 118, 119, 120, -1, 107, -1, 109, -1, -1, 112, - 113, 114, 115, 116, -1, 118, 119, 120, 15, 16, - 17, 18, 19, 20, 8, 9, -1, -1, -1, -1, - -1, -1, 29, 15, 16, 17, 18, 19, 20, -1, - -1, -1, -1, -1, -1, -1, -1, 29, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 45, -1, 47, 48, 49, 50, -1, 52, -1, - -1, -1, -1, -1, -1, -1, -1, 61, -1, -1, - -1, -1, -1, 67, 68, 69, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 79, 80, -1, -1, -1, - -1, -1, -1, 9, -1, -1, 90, -1, 92, -1, - -1, 95, 109, -1, -1, 112, 113, 114, 115, 116, - -1, 118, 119, 120, -1, -1, -1, -1, -1, -1, - 112, 113, 114, 115, 116, -1, 118, 119, 120, 45, - -1, 47, 48, 49, 50, -1, 52, -1, -1, -1, - 56, -1, 9, -1, -1, 61, -1, -1, -1, -1, - -1, 67, 68, 69, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 79, 80, -1, -1, -1, 84, -1, - -1, -1, -1, -1, 90, 91, 92, -1, 45, 95, + 119, 120, 15, 16, 17, 18, 19, 20, -1, -1, + 45, 9, 47, 48, 49, 50, 29, 52, -1, -1, + -1, -1, -1, -1, -1, -1, 61, -1, -1, -1, + -1, -1, 67, 68, 69, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 79, 80, -1, 45, -1, 47, + 48, 49, 50, -1, 52, 90, -1, 92, 56, -1, + 95, -1, -1, 61, -1, -1, -1, -1, -1, 67, + 68, 69, 9, -1, -1, -1, -1, -1, -1, -1, + -1, 79, 80, -1, -1, -1, 84, -1, -1, -1, + -1, -1, 90, 91, 92, -1, -1, 95, -1, 112, + 113, 114, 115, 116, -1, 118, 119, 120, 45, -1, 47, 48, 49, 50, -1, 52, -1, -1, -1, 56, -1, 9, -1, -1, 61, -1, -1, -1, -1, -1, 67, 68, 69, -1, -1, -1, -1, -1, -1, -1, @@ -1745,242 +2099,211 @@ static const short yycheck[] = 89, -1, -1, -1, 93, 44, -1, 71, -1, -1, 74, 75, 76, -1, 103, -1, 55, -1, -1, -1, 59, 85, -1, 62, -1, 89, -1, -1, -1, 93, - 44, -1, 71, 122, -1, 74, 75, 76, -1, 103, - -1, 55, -1, -1, -1, 59, 85, -1, 62, -1, - 89, -1, -1, -1, 93, -1, -1, 71, 122, -1, - 74, 75, 76, -1, 103, -1, -1, -1, -1, -1, - 45, 85, 47, 48, -1, 89, -1, 52, -1, 93, - 44, -1, -1, 122, -1, -1, 61, -1, -1, 103, - -1, 55, 67, 68, 69, 59, -1, -1, 62, -1, - -1, -1, -1, -1, 79, 80, -1, 71, 122, -1, - 74, 75, 76, -1, -1, -1, -1, 92, -1, -1, - -1, 85, -1, -1, -1, 89, -1, -1, -1, 93, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 119 + -1, -1, 71, 122, -1, 74, 75, 76, -1, 103, + -1, -1, -1, -1, -1, 45, 85, 47, 48, -1, + 89, -1, 52, -1, 93, 44, -1, -1, 122, -1, + -1, 61, -1, -1, 103, -1, 55, 67, 68, 69, + 59, -1, -1, 62, -1, -1, -1, -1, -1, 79, + 80, -1, 71, 122, -1, 74, 75, 76, -1, -1, + -1, 45, 92, 47, 48, -1, 85, -1, 52, -1, + 89, -1, -1, -1, 93, -1, 45, 61, 47, 48, + -1, -1, -1, 67, 68, 69, -1, -1, -1, 119, + -1, -1, 61, -1, -1, 79, 80, -1, 67, 68, + 69, -1, -1, -1, -1, -1, -1, -1, 92, -1, + 79, 80, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 92 }; -#define YYPURE 1 -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/share/bison/bison.simple" - -/* Skeleton output parser for bison, - - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software - Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -/* This is the parser code that is written into each bison parser when - the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* All symbols defined below should begin with yy or YY, to avoid - infringing on user name space. This should be done even for local - variables, as they might otherwise be expanded by user macros. - There are some unavoidable exceptions within include files to - define necessary library symbols; they are noted "INFRINGES ON - USER NAME SPACE" below. */ - -#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE) - -/* The parser invokes alloca or malloc; define the necessary symbols. */ - -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - -# ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) -# else -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -# define YYSTACK_ALLOC malloc -# define YYSTACK_FREE free -# endif -#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ - - -#if (! defined (yyoverflow) \ - && (! defined (__cplusplus) \ - || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) - -/* A type that is properly aligned for any stack member. */ -union yyalloc +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const unsigned char yystos[] = { - short yyss; - YYSTYPE yyvs; -# if YYLSP_NEEDED - YYLTYPE yyls; -# endif + 0, 98, 99, 100, 126, 127, 218, 3, 4, 5, + 6, 8, 9, 45, 47, 48, 52, 53, 60, 61, + 67, 68, 72, 79, 80, 81, 83, 87, 92, 109, + 113, 114, 117, 119, 123, 211, 212, 217, 9, 45, + 47, 48, 49, 50, 52, 56, 61, 67, 68, 69, + 79, 80, 84, 90, 91, 92, 95, 177, 180, 181, + 183, 188, 190, 194, 195, 199, 200, 201, 202, 0, + 44, 55, 59, 62, 71, 74, 75, 76, 85, 89, + 93, 103, 130, 132, 133, 135, 136, 137, 158, 196, + 198, 218, 119, 119, 119, 119, 119, 110, 119, 119, + 119, 9, 90, 179, 194, 195, 199, 119, 119, 119, + 110, 119, 211, 211, 211, 211, 9, 45, 47, 48, + 52, 61, 67, 68, 79, 80, 92, 180, 209, 211, + 211, 13, 14, 15, 16, 17, 18, 19, 20, 29, + 106, 107, 109, 110, 111, 112, 113, 114, 115, 116, + 118, 119, 120, 6, 177, 52, 61, 68, 200, 68, + 200, 200, 8, 9, 216, 200, 10, 50, 109, 114, + 119, 176, 218, 101, 216, 101, 216, 104, 134, 101, + 216, 104, 104, 104, 159, 135, 142, 71, 216, 8, + 9, 50, 57, 58, 66, 70, 73, 77, 82, 90, + 94, 96, 101, 117, 147, 178, 181, 183, 188, 190, + 194, 195, 199, 208, 209, 218, 208, 208, 208, 208, + 180, 208, 208, 208, 216, 119, 216, 216, 208, 208, + 180, 180, 208, 121, 102, 121, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 121, 209, 211, 176, + 61, 114, 176, 176, 176, 176, 120, 189, 101, 182, + 184, 132, 127, 101, 110, 50, 147, 178, 216, 119, + 119, 177, 217, 50, 177, 216, 131, 216, 101, 103, + 104, 105, 170, 103, 138, 216, 216, 121, 121, 121, + 121, 121, 111, 121, 121, 121, 208, 121, 121, 121, + 111, 121, 211, 211, 104, 121, 124, 176, 121, 207, + 211, 218, 192, 193, 216, 218, 191, 127, 104, 185, + 186, 218, 122, 197, 8, 9, 49, 50, 90, 160, + 161, 162, 163, 199, 218, 177, 170, 143, 148, 10, + 114, 149, 139, 177, 8, 9, 10, 50, 109, 114, + 174, 218, 127, 119, 203, 204, 128, 129, 216, 101, + 211, 10, 50, 73, 109, 114, 119, 140, 164, 216, + 119, 121, 119, 211, 119, 124, 122, 102, 105, 192, + 122, 74, 75, 76, 94, 187, 101, 102, 127, 216, + 163, 216, 111, 102, 8, 9, 10, 50, 109, 114, + 119, 175, 218, 144, 145, 164, 3, 4, 5, 8, + 12, 50, 53, 60, 72, 81, 83, 87, 109, 113, + 117, 119, 123, 166, 167, 173, 177, 213, 214, 217, + 218, 114, 164, 166, 141, 164, 174, 114, 174, 174, + 174, 119, 120, 122, 150, 122, 205, 218, 101, 102, + 119, 101, 171, 172, 211, 218, 103, 114, 164, 13, + 14, 15, 16, 17, 18, 19, 20, 29, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 51, 72, 102, 105, 107, 108, 109, 110, 111, 112, + 113, 114, 115, 116, 117, 119, 120, 123, 156, 164, + 164, 164, 104, 105, 119, 120, 169, 170, 218, 209, + 209, 166, 216, 211, 122, 90, 94, 195, 215, 216, + 94, 215, 94, 215, 74, 75, 76, 127, 187, 122, + 105, 175, 135, 136, 157, 158, 162, 114, 175, 175, + 175, 175, 105, 120, 168, 218, 146, 164, 169, 170, + 175, 177, 110, 179, 119, 110, 211, 211, 211, 180, + 209, 211, 121, 12, 102, 175, 13, 14, 15, 16, + 17, 18, 19, 20, 29, 106, 107, 109, 110, 111, + 112, 113, 114, 115, 116, 118, 119, 120, 164, 104, + 121, 121, 169, 170, 119, 174, 153, 207, 166, 3, + 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 70, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, + 97, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 123, 124, 206, 203, 129, 208, 171, 122, + 102, 164, 121, 124, 121, 4, 211, 165, 207, 102, + 121, 121, 121, 105, 216, 215, 216, 215, 215, 215, + 215, 215, 122, 180, 168, 175, 121, 53, 81, 83, + 109, 113, 114, 117, 119, 123, 210, 212, 207, 169, + 170, 102, 105, 169, 175, 180, 119, 180, 180, 121, + 121, 50, 155, 218, 12, 173, 169, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 211, 211, 211, + 211, 211, 211, 211, 211, 211, 211, 121, 209, 211, + 121, 119, 155, 102, 154, 166, 124, 121, 205, 122, + 121, 122, 101, 211, 166, 124, 140, 155, 211, 119, + 110, 119, 110, 210, 210, 210, 210, 180, 209, 210, + 13, 14, 15, 16, 17, 18, 19, 20, 29, 106, + 107, 109, 112, 113, 114, 115, 116, 118, 119, 120, + 124, 102, 145, 211, 169, 111, 208, 121, 111, 211, + 86, 104, 121, 124, 119, 151, 141, 166, 121, 155, + 122, 171, 121, 166, 180, 180, 180, 121, 121, 210, + 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, + 210, 210, 210, 210, 210, 210, 210, 121, 209, 211, + 146, 119, 121, 119, 119, 211, 152, 166, 121, 155, + 122, 155, 121, 111, 121, 111, 210, 104, 121, 124, + 209, 209, 121, 216, 166, 121, 155, 155, 119, 119, + 210, 121, 121, 121, 121, 155, 209, 209, 155, 121, + 121 }; -/* The size of the maximum gap between one aligned stack and the next. */ -# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) - -/* The size of an array large to enough to hold all stacks, each with - N elements. */ -# if YYLSP_NEEDED -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ - + 2 * YYSTACK_GAP_MAX) -# else -# define YYSTACK_BYTES(N) \ - ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ - + YYSTACK_GAP_MAX) -# endif - -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - register YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (0) -# endif -# endif - -/* Relocate STACK from its old location to the new one. The - local variables YYSIZE and YYSTACKSIZE give the old and new number of - elements in the stack, and YYPTR gives the new location of the - stack. Advance YYPTR to a properly aligned location for the next - stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (0) - -#endif - - -#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) -# define YYSIZE_T __SIZE_TYPE__ -#endif -#if ! defined (YYSIZE_T) && defined (size_t) -# define YYSIZE_T size_t -#endif -#if ! defined (YYSIZE_T) -# if defined (__STDC__) || defined (__cplusplus) -# include /* INFRINGES ON USER NAME SPACE */ -# define YYSIZE_T size_t -# endif -#endif -#if ! defined (YYSIZE_T) -# define YYSIZE_T unsigned int -#endif - #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 +#define YYEMPTY (-2) #define YYEOF 0 + #define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrlab1 +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ + #define YYFAIL goto yyerrlab + #define YYRECOVERING() (!!yyerrstatus) + #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ - yychar1 = YYTRANSLATE (yychar); \ + yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ - { \ - yyerror ("syntax error: cannot back up"); \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \ while (0) + #define YYTERROR 1 #define YYERRCODE 256 -/* YYLLOC_DEFAULT -- Compute the default location (before the actions - are run). - - When YYLLOC_DEFAULT is run, CURRENT is set the location of the - first token. By default, to implement support for ranges, extend - its range to the last symbol. */ +/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. + If N is 0, then set CURRENT to the empty location which ends + the previous symbol: RHS[0] (always defined). */ +#define YYRHSLOC(Rhs, K) ((Rhs)[K]) #ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - Current.last_line = Rhs[N].last_line; \ - Current.last_column = Rhs[N].last_column; +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + do \ + if (N) \ + { \ + (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ + (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ + (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ + (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ + } \ + else \ + { \ + (Current).first_line = (Current).last_line = \ + YYRHSLOC (Rhs, 0).last_line; \ + (Current).first_column = (Current).last_column = \ + YYRHSLOC (Rhs, 0).last_column; \ + } \ + while (0) +#endif + + +/* YY_LOCATION_PRINT -- Print the location on the stream. + This macro was not mandated originally: define only if we know + we won't break user code: when these are the locations we know. */ + +#ifndef YY_LOCATION_PRINT +# if YYLTYPE_IS_TRIVIAL +# define YY_LOCATION_PRINT(File, Loc) \ + fprintf (File, "%d.%d-%d.%d", \ + (Loc).first_line, (Loc).first_column, \ + (Loc).last_line, (Loc).last_column) +# else +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +# endif #endif /* YYLEX -- calling `yylex' with the right arguments. */ -#if YYPURE -# if YYLSP_NEEDED -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval, &yylloc) -# endif -# else /* !YYLSP_NEEDED */ -# ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, YYLEX_PARAM) -# else -# define YYLEX yylex (&yylval) -# endif -# endif /* !YYLSP_NEEDED */ -#else /* !YYPURE */ -# define YYLEX yylex () -#endif /* !YYPURE */ - +#ifdef YYLEX_PARAM +# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) +#else +# define YYLEX yylex (&yylval, &yylloc) +#endif /* Enable debugging if requested. */ #if YYDEBUG @@ -1995,13 +2318,86 @@ do { \ if (yydebug) \ YYFPRINTF Args; \ } while (0) + +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yysymprint (stderr, \ + Type, Value, Location); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_stack_print (short int *bottom, short int *top) +#else +static void +yy_stack_print (bottom, top) + short int *bottom; + short int *top; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (/* Nothing. */; bottom <= top; ++bottom) + YYFPRINTF (stderr, " %d", *bottom); + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yy_reduce_print (int yyrule) +#else +static void +yy_reduce_print (yyrule) + int yyrule; +#endif +{ + int yyi; + unsigned long int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu), ", + yyrule - 1, yylno); + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) + YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); + YYFPRINTF (stderr, "-> %s\n", yytname[yyr1[yyrule]]); +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (Rule); \ +} while (0) + /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ + /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 @@ -2011,18 +2407,16 @@ int yydebug; if the built-in stack extension method is used). Do not make this value too large; the results are undefined if - SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ -#if YYMAXDEPTH == 0 -# undef YYMAXDEPTH -#endif - #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif + -#ifdef YYERROR_VERBOSE + +#if YYERROR_VERBOSE # ifndef yystrlen # if defined (__GLIBC__) && defined (_STRING_H) @@ -2037,7 +2431,7 @@ yystrlen (yystr) const char *yystr; # endif { - register const char *yys = yystr; + const char *yys = yystr; while (*yys++ != '\0') continue; @@ -2062,8 +2456,8 @@ yystpcpy (yydest, yysrc) const char *yysrc; # endif { - register char *yyd = yydest; - register const char *yys = yysrc; + char *yyd = yydest; + const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; @@ -2072,86 +2466,195 @@ yystpcpy (yydest, yysrc) } # endif # 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 YYSIZE_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 yystrlen (yystr); + + return yystpcpy (yyres, yystr) - yyres; +} +# endif + +#endif /* YYERROR_VERBOSE */ + -#line 315 "/usr/share/bison/bison.simple" +#if YYDEBUG +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ +#if defined (__STDC__) || defined (__cplusplus) +static void +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp) +#else +static void +yysymprint (yyoutput, yytype, yyvaluep, yylocationp) + FILE *yyoutput; + int yytype; + YYSTYPE *yyvaluep; + YYLTYPE *yylocationp; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + (void) yylocationp; + + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + YY_LOCATION_PRINT (yyoutput, *yylocationp); + YYFPRINTF (yyoutput, ": "); + +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# endif + switch (yytype) + { + default: + break; + } + YYFPRINTF (yyoutput, ")"); +} + +#endif /* ! YYDEBUG */ +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +#if defined (__STDC__) || defined (__cplusplus) +static void +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp) +#else +static void +yydestruct (yymsg, yytype, yyvaluep, yylocationp) + const char *yymsg; + int yytype; + YYSTYPE *yyvaluep; + YYLTYPE *yylocationp; +#endif +{ + /* Pacify ``unused variable'' warnings. */ + (void) yyvaluep; + (void) yylocationp; + + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); + + switch (yytype) + { + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) -# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM -# define YYPARSE_PARAM_DECL +int yyparse (void *YYPARSE_PARAM); # else -# define YYPARSE_PARAM_ARG YYPARSE_PARAM -# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; +int yyparse (); # endif -#else /* !YYPARSE_PARAM */ -# define YYPARSE_PARAM_ARG -# define YYPARSE_PARAM_DECL -#endif /* !YYPARSE_PARAM */ - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -# ifdef YYPARSE_PARAM -int yyparse (void *); -# else +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int yyparse (void); -# endif -#endif - -/* YY_DECL_VARIABLES -- depending whether we use a pure parser, - variables are global, or local to YYPARSE. */ - -#define YY_DECL_NON_LSP_VARIABLES \ -/* The lookahead symbol. */ \ -int yychar; \ - \ -/* The semantic value of the lookahead symbol. */ \ -YYSTYPE yylval; \ - \ -/* Number of parse errors so far. */ \ -int yynerrs; - -#if YYLSP_NEEDED -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES \ - \ -/* Location data for the lookahead symbol. */ \ -YYLTYPE yylloc; #else -# define YY_DECL_VARIABLES \ -YY_DECL_NON_LSP_VARIABLES +int yyparse (); #endif +#endif /* ! YYPARSE_PARAM */ -/* If nonreentrant, generate the variables here. */ -#if !YYPURE -YY_DECL_VARIABLES -#endif /* !YYPURE */ + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +int yyparse (void *YYPARSE_PARAM) +# else +int yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +# endif +#else /* ! YYPARSE_PARAM */ +#if defined (__STDC__) || defined (__cplusplus) int -yyparse (YYPARSE_PARAM_ARG) - YYPARSE_PARAM_DECL +yyparse (void) +#else +int +yyparse () + ; +#endif +#endif { - /* If reentrant, generate the variables here. */ -#if YYPURE - YY_DECL_VARIABLES -#endif /* !YYPURE */ + /* The look-ahead symbol. */ +int yychar; - register int yystate; - register int yyn; +/* The semantic value of the look-ahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; +/* Location data for the look-ahead symbol. */ +YYLTYPE yylloc; + + int yystate; + int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; - /* Lookahead token as an internal (translated) token number. */ - int yychar1 = 0; + /* Look-ahead token as an internal (translated) token number. */ + int yytoken = 0; /* Three stacks and their tools: `yyss': related to states, @@ -2161,41 +2664,34 @@ yyparse (YYPARSE_PARAM_ARG) Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ - /* The state stack. */ - short yyssa[YYINITDEPTH]; - short *yyss = yyssa; - register short *yyssp; + /* The state stack. */ + short int yyssa[YYINITDEPTH]; + short int *yyss = yyssa; + short int *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; - register YYSTYPE *yyvsp; + YYSTYPE *yyvsp; -#if YYLSP_NEEDED /* The location stack. */ YYLTYPE yylsa[YYINITDEPTH]; YYLTYPE *yyls = yylsa; YYLTYPE *yylsp; -#endif + /* The locations where the error started and ended. */ + YYLTYPE yyerror_range[2]; -#if YYLSP_NEEDED -# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -# define YYPOPSTACK (yyvsp--, yyssp--) -#endif +#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) YYSIZE_T yystacksize = YYINITDEPTH; - /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; -#if YYLSP_NEEDED YYLTYPE yyloc; -#endif /* When reducing, the number of symbols on the RHS of the reduced - rule. */ + rule. */ int yylen; YYDPRINTF ((stderr, "Starting parse\n")); @@ -2212,9 +2708,13 @@ yyparse (YYPARSE_PARAM_ARG) yyssp = yyss; yyvsp = yyvs; -#if YYLSP_NEEDED yylsp = yyls; +#if YYLTYPE_IS_TRIVIAL + /* Initialize the default location before parsing starts. */ + yylloc.first_line = yylloc.last_line = 1; + yylloc.first_column = yylloc.last_column = 0; #endif + goto yysetstate; /*------------------------------------------------------------. @@ -2229,7 +2729,7 @@ yyparse (YYPARSE_PARAM_ARG) yysetstate: *yyssp = yystate; - if (yyssp >= yyss + yystacksize - 1) + if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; @@ -2240,52 +2740,43 @@ yyparse (YYPARSE_PARAM_ARG) these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; + short int *yyss1 = yyss; + YYLTYPE *yyls1 = yyls; /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. */ -# if YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow ("parser stack overflow", + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yyls1, yysize * sizeof (*yylsp), &yystacksize); yyls = yyls1; -# else - yyoverflow ("parser stack overflow", - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - &yystacksize); -# endif yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE - goto yyoverflowlab; + goto yyexhaustedlab; # else /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - goto yyoverflowlab; + if (YYMAXDEPTH <= yystacksize) + goto yyexhaustedlab; yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) + if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { - short *yyss1 = yyss; + short int *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) - goto yyoverflowlab; + goto yyexhaustedlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); -# if YYLSP_NEEDED YYSTACK_RELOCATE (yyls); -# endif -# undef YYSTACK_RELOCATE +# undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } @@ -2294,14 +2785,12 @@ yyparse (YYPARSE_PARAM_ARG) yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; -#if YYLSP_NEEDED yylsp = yyls + yysize - 1; -#endif YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); - if (yyssp >= yyss + yystacksize - 1) + if (yyss + yystacksize - 1 <= yyssp) YYABORT; } @@ -2309,101 +2798,67 @@ yyparse (YYPARSE_PARAM_ARG) goto yybackup; - /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ +/* Read a look-ahead token if we need one and don't already have one. */ /* yyresume: */ - /* First try to decide what to do without reference to lookahead token. */ + /* First try to decide what to do without reference to look-ahead token. */ yyn = yypact[yystate]; - if (yyn == YYFLAG) + if (yyn == YYPACT_NINF) goto yydefault; - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ + /* Not known => get a look-ahead token if don't already have one. */ + /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ + if (yychar <= YYEOF) { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - + yychar = yytoken = YYEOF; YYDPRINTF ((stderr, "Now at end of input.\n")); } else { - yychar1 = YYTRANSLATE (yychar); - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables - which are defined only if `YYDEBUG' is set. */ - if (yydebug) - { - YYFPRINTF (stderr, "Next token is %d (%s", - yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise - meaning of a token, for further debugging info. */ -# ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -# endif - YYFPRINTF (stderr, ")\n"); - } -#endif + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); } - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) goto yydefault; - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) + if (yyn <= 0) { - if (yyn == YYFLAG) + if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } - else if (yyn == 0) - goto yyerrlab; if (yyn == YYFINAL) YYACCEPT; - /* Shift the lookahead token. */ - YYDPRINTF ((stderr, "Shifting token %d (%s), ", - yychar, yytname[yychar1])); + /* Shift the look-ahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; -#if YYLSP_NEEDED *++yylsp = yylloc; -#endif /* Count tokens shifted since error; after three, turn off error status. */ @@ -2434,73 +2889,57 @@ yyreduce: /* If YYLEN is nonzero, implement the default value of the action: `$$ = $1'. - Otherwise, the following line sets YYVAL to the semantic value of - the lookahead token. This behavior is undocumented and Bison + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ yyval = yyvsp[1-yylen]; -#if YYLSP_NEEDED - /* Similarly for the default location. Let the user run additional - commands if for instance locations are ranges. */ - yyloc = yylsp[1-yylen]; - YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); -#endif - -#if YYDEBUG - /* We have to keep this `#if YYDEBUG', since we use variables which - are defined only if `YYDEBUG' is set. */ - if (yydebug) + /* Default location. */ + YYLLOC_DEFAULT (yyloc, yylsp - yylen, yylen); + YY_REDUCE_PRINT (yyn); + switch (yyn) { - int yyi; - - YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) - YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); - YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - switch (yyn) { - -case 2: + case 3: #line 380 "cppBison.yxx" -{ - current_expr = yyvsp[0].u.expr; + { + current_expr = (yyvsp[0].u.expr); } break; -case 3: + + case 4: #line 384 "cppBison.yxx" -{ - current_type = yyvsp[0].u.type; + { + current_type = (yyvsp[0].u.type); } break; -case 9: + + case 10: #line 402 "cppBison.yxx" -{ - delete yyvsp[-1].u.expr; + { + delete (yyvsp[-1].u.expr); } break; -case 10: + + case 11: #line 414 "cppBison.yxx" -{ + { push_storage_class((current_storage_class & ~CPPInstance::SC_c_binding) | - (yyvsp[-1].u.integer & CPPInstance::SC_c_binding)); + ((yyvsp[-1].u.integer) & CPPInstance::SC_c_binding)); } break; -case 11: + + case 12: #line 419 "cppBison.yxx" -{ + { pop_storage_class(); } break; -case 19: + + case 20: #line 433 "cppBison.yxx" -{ + { if (publish_nest_level != 0) { yyerror("Unclosed __begin_publish", publish_loc); publish_nest_level = 0; @@ -2508,332 +2947,371 @@ case 19: } publish_previous = current_scope->get_current_vis(); - publish_loc = yylsp[0]; + publish_loc = (yylsp[0]); publish_nest_level++; current_scope->set_current_vis(V_published); } break; -case 20: + + case 21: #line 446 "cppBison.yxx" -{ + { if (publish_nest_level != 1) { - yyerror("Unmatched __end_publish", yylsp[0]); + yyerror("Unmatched __end_publish", (yylsp[0])); } else { current_scope->set_current_vis(publish_previous); } publish_nest_level = 0; } break; -case 21: + + case 22: #line 455 "cppBison.yxx" -{ + { current_scope->set_current_vis(V_published); } break; -case 22: + + case 23: #line 459 "cppBison.yxx" -{ + { current_scope->set_current_vis(V_public); } break; -case 23: + + case 24: #line 463 "cppBison.yxx" -{ + { current_scope->set_current_vis(V_protected); } break; -case 24: + + case 25: #line 467 "cppBison.yxx" -{ + { current_scope->set_current_vis(V_private); } break; -case 25: + + case 26: #line 474 "cppBison.yxx" -{ + { CPPScope *new_scope = new CPPScope(current_scope, CPPNameComponent("temp"), V_public); push_scope(new_scope); } break; -case 26: + + case 27: #line 480 "cppBison.yxx" -{ + { delete current_scope; pop_scope(); } break; -case 27: + + case 28: #line 489 "cppBison.yxx" -{ - yyval.u.integer = 0; + { + (yyval.u.integer) = 0; } break; -case 28: + + case 29: #line 493 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_extern; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_extern; } break; -case 29: + + case 30: #line 497 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-2].u.integer | (int)CPPInstance::SC_extern; - if (yyvsp[0].str == "C") { - yyval.u.integer |= (int)CPPInstance::SC_c_binding; - } else if (yyvsp[0].str == "C++") { - yyval.u.integer &= ~(int)CPPInstance::SC_c_binding; + { + (yyval.u.integer) = (yyvsp[-2].u.integer) | (int)CPPInstance::SC_extern; + if ((yyvsp[0].str) == "C") { + (yyval.u.integer) |= (int)CPPInstance::SC_c_binding; + } else if ((yyvsp[0].str) == "C++") { + (yyval.u.integer) &= ~(int)CPPInstance::SC_c_binding; } else { - yywarning("Ignoring unknown linkage type \"" + yyvsp[0].str + "\"", yylsp[0]); + yywarning("Ignoring unknown linkage type \"" + (yyvsp[0].str) + "\"", (yylsp[0])); } } break; -case 30: + + case 31: #line 508 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_static; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_static; } break; -case 31: + + case 32: #line 512 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_inline; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_inline; } break; -case 32: + + case 33: #line 516 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_virtual; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_virtual; } break; -case 33: + + case 34: #line 520 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_explicit; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_explicit; } break; -case 34: + + case 35: #line 524 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_volatile; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_volatile; } break; -case 35: + + case 36: #line 528 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_mutable; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_mutable; } break; -case 36: + + case 37: #line 532 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-1].u.integer | (int)CPPInstance::SC_register; + { + (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPInstance::SC_register; } break; -case 37: + + case 38: #line 539 "cppBison.yxx" -{ + { /* multiple_var_declaration adds itself to the scope. */ } break; -case 38: + + case 39: #line 543 "cppBison.yxx" -{ + { // We don't really care about the storage class here. In fact, it's // not actually legal to define a class or struct using a particular // storage class, but we require it just to help yacc out in its // parsing. - current_scope->add_declaration(yyvsp[-1].u.decl, global_scope, current_lexer, yylsp[-1]); + current_scope->add_declaration((yyvsp[-1].u.decl), global_scope, current_lexer, (yylsp[-1])); } break; -case 39: + + case 40: #line 552 "cppBison.yxx" -{ - if (yyvsp[-1].u.instance != (CPPInstance *)NULL) { - yyvsp[-1].u.instance->_storage_class |= (current_storage_class | yyvsp[-2].u.integer); - current_scope->add_declaration(yyvsp[-1].u.instance, global_scope, current_lexer, yylsp[-1]); - yyvsp[-1].u.instance->set_initializer(yyvsp[0].u.expr); + { + if ((yyvsp[-1].u.instance) != (CPPInstance *)NULL) { + (yyvsp[-1].u.instance)->_storage_class |= (current_storage_class | (yyvsp[-2].u.integer)); + current_scope->add_declaration((yyvsp[-1].u.instance), global_scope, current_lexer, (yylsp[-1])); + (yyvsp[-1].u.instance)->set_initializer((yyvsp[0].u.expr)); } } break; -case 40: + + case 41: #line 563 "cppBison.yxx" -{ + { // We don't need to push/pop type, because we can't nest // multiple_var_declarations. - if (yyvsp[0].u.decl->as_type_declaration()) { - current_type = yyvsp[0].u.decl->as_type_declaration()->_type; + if ((yyvsp[0].u.decl)->as_type_declaration()) { + current_type = (yyvsp[0].u.decl)->as_type_declaration()->_type; } else { - current_type = yyvsp[0].u.decl->as_type(); + current_type = (yyvsp[0].u.decl)->as_type(); } - push_storage_class(yyvsp[-1].u.integer); + push_storage_class((yyvsp[-1].u.integer)); } break; -case 41: + + case 42: #line 574 "cppBison.yxx" -{ + { pop_storage_class(); } break; -case 42: + + case 43: #line 578 "cppBison.yxx" -{ + { // We don't need to push/pop type, because we can't nest // multiple_var_declarations. - current_type = yyvsp[0].u.type; - push_storage_class(yyvsp[-2].u.integer); + current_type = (yyvsp[0].u.type); + push_storage_class((yyvsp[-2].u.integer)); } break; -case 43: + + case 44: #line 585 "cppBison.yxx" -{ + { pop_storage_class(); } break; -case 44: + + case 45: #line 596 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-1].u.inst_ident, + { + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-1].u.inst_ident), current_storage_class, - yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - current_scope->add_declaration(inst, global_scope, current_lexer, yylsp[-1]); + (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-1])); } break; -case 45: + + case 46: #line 604 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-3].u.inst_ident, + { + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-3].u.inst_ident), current_storage_class, - yylsp[-3].file); - inst->set_initializer(yyvsp[-2].u.expr); - current_scope->add_declaration(inst, global_scope, current_lexer, yylsp[-3]); + (yylsp[-3]).file); + inst->set_initializer((yyvsp[-2].u.expr)); + current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-3])); } break; -case 46: + + case 47: #line 615 "cppBison.yxx" -{ - yyvsp[-1].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-1].u.inst_ident, + { + (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-1].u.inst_ident), current_storage_class, - yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - current_scope->add_declaration(inst, global_scope, current_lexer, yylsp[-1]); + (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-1])); } break; -case 47: + + case 48: #line 624 "cppBison.yxx" -{ - yyvsp[-3].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-3].u.inst_ident, + { + (yyvsp[-3].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-3].u.inst_ident), current_storage_class, - yylsp[-3].file); - inst->set_initializer(yyvsp[-2].u.expr); - current_scope->add_declaration(inst, global_scope, current_lexer, yylsp[-3]); + (yylsp[-3]).file); + inst->set_initializer((yyvsp[-2].u.expr)); + current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-3])); } break; -case 48: + + case 49: #line 637 "cppBison.yxx" -{ + { // We don't need to push/pop type, because we can't nest // multiple_var_declarations. - if (yyvsp[0].u.decl->as_type_declaration()) { - current_type = yyvsp[0].u.decl->as_type_declaration()->_type; + if ((yyvsp[0].u.decl)->as_type_declaration()) { + current_type = (yyvsp[0].u.decl)->as_type_declaration()->_type; } else { - current_type = yyvsp[0].u.decl->as_type(); + current_type = (yyvsp[0].u.decl)->as_type(); } - push_storage_class(yyvsp[-1].u.integer); + push_storage_class((yyvsp[-1].u.integer)); } break; -case 49: + + case 50: #line 648 "cppBison.yxx" -{ + { pop_storage_class(); } break; -case 50: + + case 51: #line 652 "cppBison.yxx" -{ + { // We don't need to push/pop type, because we can't nest // multiple_var_declarations. - current_type = yyvsp[0].u.type; - push_storage_class(yyvsp[-2].u.integer); + current_type = (yyvsp[0].u.type); + push_storage_class((yyvsp[-2].u.integer)); } break; -case 51: + + case 52: #line 659 "cppBison.yxx" -{ + { pop_storage_class(); } break; -case 52: + + case 53: #line 663 "cppBison.yxx" -{ - if (yyvsp[-1].u.instance != (CPPDeclaration *)NULL) { - CPPInstance *inst = yyvsp[-1].u.instance->as_instance(); + { + if ((yyvsp[-1].u.instance) != (CPPDeclaration *)NULL) { + CPPInstance *inst = (yyvsp[-1].u.instance)->as_instance(); if (inst != (CPPInstance *)NULL) { - inst->_storage_class |= (current_storage_class | yyvsp[-2].u.integer); - current_scope->add_declaration(inst, global_scope, current_lexer, yylsp[-1]); - current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, yylsp[-1]); + inst->_storage_class |= (current_storage_class | (yyvsp[-2].u.integer)); + current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-1])); + current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, (yylsp[-1])); } } } break; -case 53: + + case 54: #line 677 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-1].u.inst_ident, + { + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-1].u.inst_ident), current_storage_class, - yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, yylsp[-1]); + (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, (yylsp[-1])); } break; -case 54: + + case 55: #line 685 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-3].u.inst_ident, + { + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-3].u.inst_ident), current_storage_class, - yylsp[-3].file); - inst->set_initializer(yyvsp[-2].u.expr); - current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, yylsp[-3]); + (yylsp[-3]).file); + inst->set_initializer((yyvsp[-2].u.expr)); + current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, (yylsp[-3])); } break; -case 55: + + case 56: #line 696 "cppBison.yxx" -{ - yyvsp[-1].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-1].u.inst_ident, + { + (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-1].u.inst_ident), current_storage_class, - yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, yylsp[-1]); + (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, (yylsp[-1])); } break; -case 56: + + case 57: #line 705 "cppBison.yxx" -{ - yyvsp[-3].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(current_type, yyvsp[-3].u.inst_ident, + { + (yyvsp[-3].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-3].u.inst_ident), current_storage_class, - yylsp[-3].file); - inst->set_initializer(yyvsp[-2].u.expr); - current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, yylsp[-3]); + (yylsp[-3]).file); + inst->set_initializer((yyvsp[-2].u.expr)); + current_scope->add_declaration(new CPPTypedef(inst, current_scope == global_scope), global_scope, current_lexer, (yylsp[-3])); } break; -case 57: + + case 58: #line 719 "cppBison.yxx" -{ - push_scope(yyvsp[-1].u.identifier->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope)); } break; -case 58: + + case 59: #line 723 "cppBison.yxx" -{ + { pop_scope(); CPPType *type; - if (yyvsp[-5].u.identifier->get_simple_name() == current_scope->get_simple_name()) { + if ((yyvsp[-5].u.identifier)->get_simple_name() == current_scope->get_simple_name()) { // This is a constructor, and has no return. type = new CPPSimpleType(CPPSimpleType::T_void); } else { @@ -2842,24 +3320,26 @@ case 58: type = new CPPSimpleType(CPPSimpleType::T_int); } - CPPInstanceIdentifier *ii = new CPPInstanceIdentifier(yyvsp[-5].u.identifier); - ii->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + CPPInstanceIdentifier *ii = new CPPInstanceIdentifier((yyvsp[-5].u.identifier)); + ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); - yyval.u.instance = new CPPInstance(type, ii, 0, yylsp[-5].file); + (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file); } break; -case 59: + + case 60: #line 741 "cppBison.yxx" -{ - push_scope(yyvsp[-1].u.identifier->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope)); } break; -case 60: + + case 61: #line 745 "cppBison.yxx" -{ + { pop_scope(); CPPType *type; - if (yyvsp[-5].u.identifier->get_simple_name() == current_scope->get_simple_name()) { + if ((yyvsp[-5].u.identifier)->get_simple_name() == current_scope->get_simple_name()) { // This is a constructor, and has no return. type = new CPPSimpleType(CPPSimpleType::T_void); } else { @@ -2868,89 +3348,97 @@ case 60: type = new CPPSimpleType(CPPSimpleType::T_int); } - CPPInstanceIdentifier *ii = new CPPInstanceIdentifier(yyvsp[-5].u.identifier); - ii->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + CPPInstanceIdentifier *ii = new CPPInstanceIdentifier((yyvsp[-5].u.identifier)); + ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); - yyval.u.instance = new CPPInstance(type, ii, 0, yylsp[-5].file); + (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file); } break; -case 61: + + case 62: #line 765 "cppBison.yxx" -{ - push_scope(yyvsp[-1].u.identifier->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope)); } break; -case 62: + + case 63: #line 769 "cppBison.yxx" -{ + { pop_scope(); - if (yyvsp[-5].u.identifier->is_scoped()) { - yyerror("Invalid destructor name: ~" + yyvsp[-5].u.identifier->get_fully_scoped_name(), yylsp[-5]); + if ((yyvsp[-5].u.identifier)->is_scoped()) { + yyerror("Invalid destructor name: ~" + (yyvsp[-5].u.identifier)->get_fully_scoped_name(), (yylsp[-5])); } else { CPPIdentifier *ident = - new CPPIdentifier("~" + yyvsp[-5].u.identifier->get_simple_name(), yylsp[-5].file); - delete yyvsp[-5].u.identifier; + new CPPIdentifier("~" + (yyvsp[-5].u.identifier)->get_simple_name(), (yylsp[-5]).file); + delete (yyvsp[-5].u.identifier); CPPType *type; type = new CPPSimpleType(CPPSimpleType::T_void); CPPInstanceIdentifier *ii = new CPPInstanceIdentifier(ident); - ii->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); - yyval.u.instance = new CPPInstance(type, ii, 0, yylsp[-5].file); + (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file); } } break; -case 63: + + case 64: #line 795 "cppBison.yxx" -{ - push_scope(yyvsp[-2].u.inst_ident->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-2].u.inst_ident)->get_scope(current_scope, global_scope)); } break; -case 64: + + case 65: #line 799 "cppBison.yxx" -{ + { pop_scope(); - CPPType *type = yyvsp[-9].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + CPPType *type = (yyvsp[-9].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); assert(type != NULL); - CPPInstanceIdentifier *ii = yyvsp[-6].u.inst_ident; + CPPInstanceIdentifier *ii = (yyvsp[-6].u.inst_ident); ii->add_modifier(IIT_pointer); - ii->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); - yyval.u.instance = new CPPInstance(type, ii, 0, yylsp[-9].file); + ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); + (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-9]).file); } break; -case 65: + + case 66: #line 810 "cppBison.yxx" -{ - push_scope(yyvsp[-2].u.inst_ident->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-2].u.inst_ident)->get_scope(current_scope, global_scope)); } break; -case 66: + + case 67: #line 814 "cppBison.yxx" -{ + { pop_scope(); - CPPType *type = yyvsp[-10].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + CPPType *type = (yyvsp[-10].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); assert(type != NULL); - CPPInstanceIdentifier *ii = yyvsp[-6].u.inst_ident; - ii->add_scoped_pointer_modifier(yyvsp[-8].u.identifier); - ii->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); - yyval.u.instance = new CPPInstance(type, ii, 0, yylsp[-10].file); + CPPInstanceIdentifier *ii = (yyvsp[-6].u.inst_ident); + ii->add_scoped_pointer_modifier((yyvsp[-8].u.identifier)); + ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); + (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-10]).file); } break; -case 67: + + case 68: #line 827 "cppBison.yxx" -{ - if (yyvsp[-3].u.identifier != NULL) { - push_scope(yyvsp[-3].u.identifier->get_scope(current_scope, global_scope)); + { + if ((yyvsp[-3].u.identifier) != NULL) { + push_scope((yyvsp[-3].u.identifier)->get_scope(current_scope, global_scope)); } } break; -case 68: + + case 69: #line 833 "cppBison.yxx" -{ - if (yyvsp[-7].u.identifier != NULL) { + { + if ((yyvsp[-7].u.identifier) != NULL) { pop_scope(); } @@ -2964,1068 +3452,1211 @@ case 68: // Only their return type will differentiate them. (Naturally, this // violates actual C++ rules, but we're not an actual C++ compiler // so we don't care. And this is the easiest way to do it.) - CPPIdentifier *ident = yyvsp[-7].u.identifier; + CPPIdentifier *ident = (yyvsp[-7].u.identifier); if (ident == NULL) { - ident = new CPPIdentifier("operator typecast", yylsp[-7].file); + ident = new CPPIdentifier("operator typecast", (yylsp[-7]).file); } else { ident->add_name("operator typecast"); } - yyval.u.instance = CPPInstance::make_typecast_function - (new CPPInstance(yyvsp[-6].u.type, yyvsp[-5].u.inst_ident, 0, yylsp[-5].file), ident, yyvsp[-2].u.param_list, yyvsp[0].u.integer); + (yyval.u.instance) = CPPInstance::make_typecast_function + (new CPPInstance((yyvsp[-6].u.type), (yyvsp[-5].u.inst_ident), 0, (yylsp[-5]).file), ident, (yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); } break; -case 69: + + case 70: #line 858 "cppBison.yxx" -{ - if (yyvsp[-4].u.identifier != NULL) { - push_scope(yyvsp[-4].u.identifier->get_scope(current_scope, global_scope)); + { + if ((yyvsp[-4].u.identifier) != NULL) { + push_scope((yyvsp[-4].u.identifier)->get_scope(current_scope, global_scope)); } } break; -case 70: + + case 71: #line 864 "cppBison.yxx" -{ - if (yyvsp[-8].u.identifier != NULL) { + { + if ((yyvsp[-8].u.identifier) != NULL) { pop_scope(); } - CPPIdentifier *ident = yyvsp[-8].u.identifier; + CPPIdentifier *ident = (yyvsp[-8].u.identifier); if (ident == NULL) { - ident = new CPPIdentifier("operator typecast", yylsp[-8].file); + ident = new CPPIdentifier("operator typecast", (yylsp[-8]).file); } else { ident->add_name("operator typecast"); } - yyvsp[-5].u.inst_ident->add_modifier(IIT_const); - yyval.u.instance = CPPInstance::make_typecast_function - (new CPPInstance(yyvsp[-6].u.type, yyvsp[-5].u.inst_ident, 0, yylsp[-5].file), ident, yyvsp[-2].u.param_list, yyvsp[0].u.integer); + (yyvsp[-5].u.inst_ident)->add_modifier(IIT_const); + (yyval.u.instance) = CPPInstance::make_typecast_function + (new CPPInstance((yyvsp[-6].u.type), (yyvsp[-5].u.inst_ident), 0, (yylsp[-5]).file), ident, (yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); } break; -case 71: + + case 72: #line 884 "cppBison.yxx" -{ + { CPPDeclaration *decl = - yyvsp[0].u.identifier->find_symbol(current_scope, global_scope, current_lexer); + (yyvsp[0].u.identifier)->find_symbol(current_scope, global_scope, current_lexer); if (decl != (CPPDeclaration *)NULL) { - yyval.u.instance = decl->as_instance(); + (yyval.u.instance) = decl->as_instance(); } else { - yyval.u.instance = (CPPInstance *)NULL; + (yyval.u.instance) = (CPPInstance *)NULL; } } break; -case 72: + + case 73: #line 897 "cppBison.yxx" -{ - yyval.u.integer = 0; + { + (yyval.u.integer) = 0; } break; -case 73: + + case 74: #line 901 "cppBison.yxx" -{ - yyval.u.integer = (int)CPPFunctionType::F_const_method; + { + (yyval.u.integer) = (int)CPPFunctionType::F_const_method; } break; -case 74: + + case 75: #line 905 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-3].u.integer; + { + (yyval.u.integer) = (yyvsp[-3].u.integer); } break; -case 75: + + case 76: #line 909 "cppBison.yxx" -{ - yyval.u.integer = yyvsp[-4].u.integer; + { + (yyval.u.integer) = (yyvsp[-4].u.integer); } break; -case 76: + + case 77: #line 916 "cppBison.yxx" -{ - yyval.str = "!"; + { + (yyval.str) = "!"; } break; -case 77: + + case 78: #line 920 "cppBison.yxx" -{ - yyval.str = "~"; + { + (yyval.str) = "~"; } break; -case 78: + + case 79: #line 924 "cppBison.yxx" -{ - yyval.str = "*"; + { + (yyval.str) = "*"; } break; -case 79: + + case 80: #line 928 "cppBison.yxx" -{ - yyval.str = "/"; + { + (yyval.str) = "/"; } break; -case 80: + + case 81: #line 932 "cppBison.yxx" -{ - yyval.str = "%"; + { + (yyval.str) = "%"; } break; -case 81: + + case 82: #line 936 "cppBison.yxx" -{ - yyval.str = "+"; + { + (yyval.str) = "+"; } break; -case 82: + + case 83: #line 940 "cppBison.yxx" -{ - yyval.str = "-"; + { + (yyval.str) = "-"; } break; -case 83: + + case 84: #line 944 "cppBison.yxx" -{ - yyval.str = "|"; + { + (yyval.str) = "|"; } break; -case 84: + + case 85: #line 948 "cppBison.yxx" -{ - yyval.str = "&"; + { + (yyval.str) = "&"; } break; -case 85: + + case 86: #line 952 "cppBison.yxx" -{ - yyval.str = "^"; + { + (yyval.str) = "^"; } break; -case 86: + + case 87: #line 956 "cppBison.yxx" -{ - yyval.str = "||"; + { + (yyval.str) = "||"; } break; -case 87: + + case 88: #line 960 "cppBison.yxx" -{ - yyval.str = "&&"; + { + (yyval.str) = "&&"; } break; -case 88: + + case 89: #line 964 "cppBison.yxx" -{ - yyval.str = "=="; + { + (yyval.str) = "=="; } break; -case 89: + + case 90: #line 968 "cppBison.yxx" -{ - yyval.str = "!="; + { + (yyval.str) = "!="; } break; -case 90: + + case 91: #line 972 "cppBison.yxx" -{ - yyval.str = "<="; + { + (yyval.str) = "<="; } break; -case 91: + + case 92: #line 976 "cppBison.yxx" -{ - yyval.str = ">="; + { + (yyval.str) = ">="; } break; -case 92: + + case 93: #line 980 "cppBison.yxx" -{ - yyval.str = "<"; + { + (yyval.str) = "<"; } break; -case 93: + + case 94: #line 984 "cppBison.yxx" -{ - yyval.str = ">"; + { + (yyval.str) = ">"; } break; -case 94: + + case 95: #line 988 "cppBison.yxx" -{ - yyval.str = "<<"; + { + (yyval.str) = "<<"; } break; -case 95: + + case 96: #line 992 "cppBison.yxx" -{ - yyval.str = ">>"; + { + (yyval.str) = ">>"; } break; -case 96: + + case 97: #line 996 "cppBison.yxx" -{ - yyval.str = "="; + { + (yyval.str) = "="; } break; -case 97: + + case 98: #line 1000 "cppBison.yxx" -{ - yyval.str = ","; + { + (yyval.str) = ","; } break; -case 98: + + case 99: #line 1004 "cppBison.yxx" -{ - yyval.str = "++"; + { + (yyval.str) = "++"; } break; -case 99: + + case 100: #line 1008 "cppBison.yxx" -{ - yyval.str = "--"; + { + (yyval.str) = "--"; } break; -case 100: + + case 101: #line 1012 "cppBison.yxx" -{ - yyval.str = "*="; + { + (yyval.str) = "*="; } break; -case 101: + + case 102: #line 1016 "cppBison.yxx" -{ - yyval.str = "/="; + { + (yyval.str) = "/="; } break; -case 102: + + case 103: #line 1020 "cppBison.yxx" -{ - yyval.str = "%="; + { + (yyval.str) = "%="; } break; -case 103: + + case 104: #line 1024 "cppBison.yxx" -{ - yyval.str = "+="; + { + (yyval.str) = "+="; } break; -case 104: + + case 105: #line 1028 "cppBison.yxx" -{ - yyval.str = "-="; + { + (yyval.str) = "-="; } break; -case 105: + + case 106: #line 1032 "cppBison.yxx" -{ - yyval.str = "|="; + { + (yyval.str) = "|="; } break; -case 106: + + case 107: #line 1036 "cppBison.yxx" -{ - yyval.str = "&="; + { + (yyval.str) = "&="; } break; -case 107: + + case 108: #line 1040 "cppBison.yxx" -{ - yyval.str = "^="; + { + (yyval.str) = "^="; } break; -case 108: + + case 109: #line 1044 "cppBison.yxx" -{ - yyval.str = "<<="; + { + (yyval.str) = "<<="; } break; -case 109: + + case 110: #line 1048 "cppBison.yxx" -{ - yyval.str = ">>="; + { + (yyval.str) = ">>="; } break; -case 110: + + case 111: #line 1052 "cppBison.yxx" -{ - yyval.str = "->"; + { + (yyval.str) = "->"; } break; -case 111: + + case 112: #line 1056 "cppBison.yxx" -{ - yyval.str = "[]"; + { + (yyval.str) = "[]"; } break; -case 112: + + case 113: #line 1060 "cppBison.yxx" -{ - yyval.str = "()"; + { + (yyval.str) = "()"; } break; -case 113: + + case 114: #line 1064 "cppBison.yxx" -{ - yyval.str = "new"; + { + (yyval.str) = "new"; } break; -case 114: + + case 115: #line 1068 "cppBison.yxx" -{ - yyval.str = "delete"; + { + (yyval.str) = "delete"; } break; -case 117: + + case 118: #line 1080 "cppBison.yxx" -{ + { push_scope(new CPPTemplateScope(current_scope)); } break; -case 118: + + case 119: #line 1084 "cppBison.yxx" -{ + { pop_scope(); } break; -case 121: + + case 122: #line 1096 "cppBison.yxx" -{ + { CPPTemplateScope *ts = current_scope->as_template_scope(); assert(ts != NULL); - ts->add_template_parameter(yyvsp[0].u.decl); + ts->add_template_parameter((yyvsp[0].u.decl)); } break; -case 122: + + case 123: #line 1102 "cppBison.yxx" -{ + { CPPTemplateScope *ts = current_scope->as_template_scope(); assert(ts != NULL); - ts->add_template_parameter(yyvsp[0].u.decl); + ts->add_template_parameter((yyvsp[0].u.decl)); } break; -case 123: + + case 124: #line 1111 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(new CPPClassTemplateParameter(yyvsp[0].u.identifier)); + { + (yyval.u.decl) = CPPType::new_type(new CPPClassTemplateParameter((yyvsp[0].u.identifier))); } break; -case 124: + + case 125: #line 1115 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(new CPPClassTemplateParameter(yyvsp[-2].u.identifier, yyvsp[0].u.type)); + { + (yyval.u.decl) = CPPType::new_type(new CPPClassTemplateParameter((yyvsp[-2].u.identifier), (yyvsp[0].u.type))); } break; -case 125: + + case 126: #line 1119 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(yyvsp[-2].u.type, yyvsp[-1].u.inst_ident, 0, yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - yyval.u.decl = inst; + { + CPPInstance *inst = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + (yyval.u.decl) = inst; } break; -case 126: + + case 127: #line 1125 "cppBison.yxx" -{ - yyvsp[-1].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(yyvsp[-2].u.type, yyvsp[-1].u.inst_ident, 0, yylsp[-1].file); - inst->set_initializer(yyvsp[0].u.expr); - yyval.u.decl = inst; + { + (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file); + inst->set_initializer((yyvsp[0].u.expr)); + (yyval.u.decl) = inst; } break; -case 127: + + case 128: #line 1135 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.simple_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type)); } break; -case 128: + + case 129: #line 1139 "cppBison.yxx" -{ - yywarning("Not a type: " + yyvsp[0].u.identifier->get_fully_scoped_name(), yylsp[0]); - yyval.u.type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_unknown)); + { + yywarning("Not a type: " + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0])); + (yyval.u.type) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_unknown)); } break; -case 129: + + case 130: #line 1144 "cppBison.yxx" -{ - yyval.u.type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); - assert(yyval.u.type != NULL); + { + (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); + assert((yyval.u.type) != NULL); } break; -case 130: + + case 131: #line 1149 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + { + (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } break; -case 131: + + case 132: #line 1157 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier(yyvsp[0].u.identifier); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier)); } break; -case 132: + + case 133: #line 1161 "cppBison.yxx" -{ + { // For an operator function. We implement this simply by building a // ficticious name for the function; in other respects it's just // like a regular function. - CPPIdentifier *ident = yyvsp[-1].u.identifier; + CPPIdentifier *ident = (yyvsp[-1].u.identifier); if (ident == NULL) { - ident = new CPPIdentifier("operator "+yyvsp[0].str, yylsp[0].file); + ident = new CPPIdentifier("operator "+(yyvsp[0].str), (yylsp[0]).file); } else { - ident->_names.push_back("operator "+yyvsp[0].str); + ident->_names.push_back("operator "+(yyvsp[0].str)); } - yyval.u.inst_ident = new CPPInstanceIdentifier(ident); + (yyval.u.inst_ident) = new CPPInstanceIdentifier(ident); } break; -case 133: + + case 134: #line 1175 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_const); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_const); } break; -case 134: + + case 135: #line 1180 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_pointer); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_pointer); } break; -case 135: + + case 136: #line 1185 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_reference); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_reference); } break; -case 136: + + case 137: #line 1190 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_scoped_pointer_modifier(yyvsp[-2].u.identifier); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier)); } break; -case 137: + + case 138: #line 1195 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-3].u.inst_ident; - yyval.u.inst_ident->add_array_modifier(yyvsp[-1].u.expr); + { + (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident); + (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr)); } break; -case 138: + + case 139: #line 1200 "cppBison.yxx" -{ + { // bitfield definition. We ignore the bitfield for now. - yyval.u.inst_ident = yyvsp[-2].u.inst_ident; + (yyval.u.inst_ident) = (yyvsp[-2].u.inst_ident); } break; -case 139: + + case 140: #line 1205 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-1].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_paren); + { + (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_paren); } break; -case 140: + + case 141: #line 1210 "cppBison.yxx" -{ - push_scope(yyvsp[-1].u.inst_ident->get_scope(current_scope, global_scope)); + { + push_scope((yyvsp[-1].u.inst_ident)->get_scope(current_scope, global_scope)); } break; -case 141: + + case 142: #line 1214 "cppBison.yxx" -{ + { pop_scope(); - yyval.u.inst_ident = yyvsp[-5].u.inst_ident; - if (yyvsp[-2].u.param_list->is_parameter_expr() && yyvsp[0].u.integer == 0) { + (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident); + if ((yyvsp[-2].u.param_list)->is_parameter_expr() && (yyvsp[0].u.integer) == 0) { // Oops, this must have been an instance declaration with a // parameter list, not a function prototype. - yyval.u.inst_ident->add_initializer_modifier(yyvsp[-2].u.param_list); + (yyval.u.inst_ident)->add_initializer_modifier((yyvsp[-2].u.param_list)); } else { // This was (probably) a function prototype. - yyval.u.inst_ident->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); } } break; -case 142: + + case 143: #line 1232 "cppBison.yxx" -{ - yyval.u.param_list = new CPPParameterList; + { + (yyval.u.param_list) = new CPPParameterList; } break; -case 143: + + case 144: #line 1236 "cppBison.yxx" -{ - yyval.u.param_list = new CPPParameterList; - yyval.u.param_list->_includes_ellipsis = true; + { + (yyval.u.param_list) = new CPPParameterList; + (yyval.u.param_list)->_includes_ellipsis = true; } break; -case 144: + + case 145: #line 1241 "cppBison.yxx" -{ - yyval.u.param_list = yyvsp[0].u.param_list; + { + (yyval.u.param_list) = (yyvsp[0].u.param_list); } break; -case 145: + + case 146: #line 1245 "cppBison.yxx" -{ - yyval.u.param_list = yyvsp[-2].u.param_list; - yyval.u.param_list->_includes_ellipsis = true; + { + (yyval.u.param_list) = (yyvsp[-2].u.param_list); + (yyval.u.param_list)->_includes_ellipsis = true; } break; -case 146: + + case 147: #line 1250 "cppBison.yxx" -{ - yyval.u.param_list = yyvsp[-1].u.param_list; - yyval.u.param_list->_includes_ellipsis = true; + { + (yyval.u.param_list) = (yyvsp[-1].u.param_list); + (yyval.u.param_list)->_includes_ellipsis = true; } break; -case 147: + + case 148: #line 1258 "cppBison.yxx" -{ - yyval.u.param_list = new CPPParameterList; - yyval.u.param_list->_parameters.push_back(yyvsp[0].u.instance); + { + (yyval.u.param_list) = new CPPParameterList; + (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance)); } break; -case 148: + + case 149: #line 1263 "cppBison.yxx" -{ - yyval.u.param_list = yyvsp[-2].u.param_list; - yyval.u.param_list->_parameters.push_back(yyvsp[0].u.instance); + { + (yyval.u.param_list) = (yyvsp[-2].u.param_list); + (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance)); } break; -case 149: + + case 150: #line 1271 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 150: + + case 151: #line 1275 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 151: + + case 152: #line 1282 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 152: + + case 153: #line 1286 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 153: + + case 154: #line 1293 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 154: + + case 155: #line 1297 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 155: + + case 156: #line 1301 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 156: + + case 157: #line 1305 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[-1].u.expr; + { + (yyval.u.expr) = (yyvsp[-1].u.expr); } break; -case 157: + + case 158: #line 1309 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 161: + + case 162: #line 1322 "cppBison.yxx" -{ + { } break; -case 165: + + case 166: #line 1331 "cppBison.yxx" -{ - yyval.u.instance = new CPPInstance(yyvsp[-2].u.type, yyvsp[-1].u.inst_ident, 0, yylsp[-1].file); - yyval.u.instance->set_initializer(yyvsp[0].u.expr); + { + (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file); + (yyval.u.instance)->set_initializer((yyvsp[0].u.expr)); } break; -case 166: + + case 167: #line 1336 "cppBison.yxx" -{ - yywarning("Not a type: " + yyvsp[-2].u.identifier->get_fully_scoped_name(), yylsp[-2]); + { + yywarning("Not a type: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2])); CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_unknown)); - yyval.u.instance = new CPPInstance(type, yyvsp[-1].u.inst_ident, 0, yylsp[-1].file); - yyval.u.instance->set_initializer(yyvsp[0].u.expr); + (yyval.u.instance) = new CPPInstance(type, (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file); + (yyval.u.instance)->set_initializer((yyvsp[0].u.expr)); } break; -case 167: + + case 168: #line 1344 "cppBison.yxx" -{ - yyvsp[-1].u.inst_ident->add_modifier(IIT_const); - yyval.u.instance = new CPPInstance(yyvsp[-2].u.type, yyvsp[-1].u.inst_ident, 0, yylsp[-1].file); - yyval.u.instance->set_initializer(yyvsp[0].u.expr); + { + (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const); + (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file); + (yyval.u.instance)->set_initializer((yyvsp[0].u.expr)); } break; -case 168: + + case 169: #line 1350 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_parameter)); - yyval.u.instance = new CPPInstance(type, "expr"); - yyval.u.instance->set_initializer(yyvsp[0].u.expr); + (yyval.u.instance) = new CPPInstance(type, "expr"); + (yyval.u.instance)->set_initializer((yyvsp[0].u.expr)); } break; -case 169: + + case 170: #line 1360 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier((CPPIdentifier *)NULL); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL); } break; -case 170: + + case 171: #line 1364 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier(yyvsp[0].u.identifier); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier)); } break; -case 171: + + case 172: #line 1368 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier(yyvsp[0].u.identifier); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier)); } break; -case 172: + + case 173: #line 1372 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_const); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_const); } break; -case 173: + + case 174: #line 1377 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_pointer); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_pointer); } break; -case 174: + + case 175: #line 1382 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_reference); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_reference); } break; -case 175: + + case 176: #line 1387 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_scoped_pointer_modifier(yyvsp[-2].u.identifier); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier)); } break; -case 176: + + case 177: #line 1392 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-3].u.inst_ident; - yyval.u.inst_ident->add_array_modifier(yyvsp[-1].u.expr); + { + (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident); + (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr)); } break; -case 177: + + case 178: #line 1400 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier((CPPIdentifier *)NULL); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL); } break; -case 178: + + case 179: #line 1404 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier(yyvsp[0].u.identifier); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier)); } break; -case 179: + + case 180: #line 1408 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier(yyvsp[0].u.identifier); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier)); } break; -case 180: + + case 181: #line 1412 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_const); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_const); } break; -case 181: + + case 182: #line 1417 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_pointer); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_pointer); } break; -case 182: + + case 183: #line 1422 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_reference); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_reference); } break; -case 183: + + case 184: #line 1427 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_scoped_pointer_modifier(yyvsp[-2].u.identifier); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier)); } break; -case 184: + + case 185: #line 1432 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-3].u.inst_ident; - yyval.u.inst_ident->add_array_modifier(yyvsp[-1].u.expr); + { + (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident); + (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr)); } break; -case 185: + + case 186: #line 1437 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-5].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_paren); - yyval.u.inst_ident->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + { + (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_paren); + (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); } break; -case 186: + + case 187: #line 1443 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-1].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_paren); + { + (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_paren); } break; -case 187: + + case 188: #line 1451 "cppBison.yxx" -{ - yyval.u.inst_ident = new CPPInstanceIdentifier((CPPIdentifier *)NULL); + { + (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL); } break; -case 188: + + case 189: #line 1455 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_const); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_const); } break; -case 189: + + case 190: #line 1460 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_pointer); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_pointer); } break; -case 190: + + case 191: #line 1465 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_reference); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_reference); } break; -case 191: + + case 192: #line 1470 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[0].u.inst_ident; - yyval.u.inst_ident->add_scoped_pointer_modifier(yyvsp[-2].u.identifier); + { + (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident); + (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier)); } break; -case 192: + + case 193: #line 1475 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-3].u.inst_ident; - yyval.u.inst_ident->add_array_modifier(yyvsp[-1].u.expr); + { + (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident); + (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr)); } break; -case 193: + + case 194: #line 1480 "cppBison.yxx" -{ - yyval.u.inst_ident = yyvsp[-5].u.inst_ident; - yyval.u.inst_ident->add_modifier(IIT_paren); - yyval.u.inst_ident->add_func_modifier(yyvsp[-2].u.param_list, yyvsp[0].u.integer); + { + (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident); + (yyval.u.inst_ident)->add_modifier(IIT_paren); + (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer)); } break; -case 194: + + case 195: #line 1489 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.simple_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type)); } break; -case 195: + + case 196: #line 1493 "cppBison.yxx" -{ - yyval.u.type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); - assert(yyval.u.type != NULL); + { + (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); + assert((yyval.u.type) != NULL); } break; -case 196: + + case 197: #line 1498 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + { + (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } break; -case 197: + + case 198: #line 1502 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.struct_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.struct_type)); } break; -case 198: + + case 199: #line 1506 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.struct_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.struct_type)); } break; -case 199: + + case 200: #line 1510 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.enum_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.enum_type)); } break; -case 200: + + case 201: #line 1514 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.enum_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.enum_type)); } break; -case 201: + + case 202: #line 1518 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.type = type; + (yyval.u.type) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.type = et; + (yyval.u.type) = et; } } break; -case 202: + + case 203: #line 1534 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.type = type; + (yyval.u.type) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.type = et; + (yyval.u.type) = et; } } break; -case 203: + + case 204: #line 1553 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(yyvsp[0].u.simple_type); + { + (yyval.u.decl) = CPPType::new_type((yyvsp[0].u.simple_type)); } break; -case 204: + + case 205: #line 1557 "cppBison.yxx" -{ - yyval.u.decl = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); - assert(yyval.u.decl != NULL); + { + (yyval.u.decl) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); + assert((yyval.u.decl) != NULL); } break; -case 205: + + case 206: #line 1562 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + { + (yyval.u.decl) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } break; -case 206: + + case 207: #line 1566 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(yyvsp[0].u.struct_type); + { + (yyval.u.decl) = CPPType::new_type((yyvsp[0].u.struct_type)); } break; -case 207: + + case 208: #line 1570 "cppBison.yxx" -{ - yyval.u.decl = new CPPTypeDeclaration(CPPType::new_type(yyvsp[0].u.struct_type)); + { + (yyval.u.decl) = new CPPTypeDeclaration(CPPType::new_type((yyvsp[0].u.struct_type))); } break; -case 208: + + case 209: #line 1574 "cppBison.yxx" -{ - yyval.u.decl = CPPType::new_type(yyvsp[0].u.enum_type); + { + (yyval.u.decl) = CPPType::new_type((yyvsp[0].u.enum_type)); } break; -case 209: + + case 210: #line 1578 "cppBison.yxx" -{ - yyval.u.decl = new CPPTypeDeclaration(CPPType::new_type(yyvsp[0].u.enum_type)); + { + (yyval.u.decl) = new CPPTypeDeclaration(CPPType::new_type((yyvsp[0].u.enum_type))); } break; -case 210: + + case 211: #line 1582 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.decl = type; + (yyval.u.decl) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.decl = et; + (yyval.u.decl) = et; } } break; -case 211: + + case 212: #line 1598 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.decl = type; + (yyval.u.decl) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.decl = et; + (yyval.u.decl) = et; } } break; -case 212: + + case 213: #line 1617 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(yyvsp[0].u.simple_type); + { + (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type)); } break; -case 213: + + case 214: #line 1621 "cppBison.yxx" -{ - yyval.u.type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); - assert(yyval.u.type != NULL); + { + (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); + assert((yyval.u.type) != NULL); } break; -case 214: + + case 215: #line 1626 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + { + (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } break; -case 215: + + case 216: #line 1630 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.type = type; + (yyval.u.type) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.type = et; + (yyval.u.type) = et; } } break; -case 216: + + case 217: #line 1646 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); if (type != NULL) { - yyval.u.type = type; + (yyval.u.type) = type; } else { CPPExtensionType *et = - CPPType::new_type(new CPPExtensionType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, yylsp[-1].file)) + CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file)) ->as_extension_type(); - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope); + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope); if (scope != NULL) { scope->define_extension_type(et); } - yyval.u.type = et; + (yyval.u.type) = et; } } break; -case 217: + + case 218: #line 1665 "cppBison.yxx" -{ - CPPInstance *inst = new CPPInstance(yyvsp[-1].u.type, yyvsp[0].u.inst_ident, 0, yylsp[-1].file); - yyval.u.type = inst->_type; + { + CPPInstance *inst = new CPPInstance((yyvsp[-1].u.type), (yyvsp[0].u.inst_ident), 0, (yylsp[-1]).file); + (yyval.u.type) = inst->_type; delete inst; } break; -case 218: + + case 219: #line 1671 "cppBison.yxx" -{ - yyvsp[0].u.inst_ident->add_modifier(IIT_const); - CPPInstance *inst = new CPPInstance(yyvsp[-1].u.type, yyvsp[0].u.inst_ident, 0, yylsp[-2].file); - yyval.u.type = inst->_type; + { + (yyvsp[0].u.inst_ident)->add_modifier(IIT_const); + CPPInstance *inst = new CPPInstance((yyvsp[-1].u.type), (yyvsp[0].u.inst_ident), 0, (yylsp[-2]).file); + (yyval.u.type) = inst->_type; delete inst; } break; -case 219: + + case 220: #line 1681 "cppBison.yxx" -{ + { CPPVisibility starting_vis = - (yyvsp[-1].u.extension_enum == CPPExtensionType::T_class) ? V_private : V_public; + ((yyvsp[-1].u.extension_enum) == CPPExtensionType::T_class) ? V_private : V_public; CPPScope *new_scope = new CPPScope(current_scope, CPPNameComponent("anon"), starting_vis); - CPPStructType *st = new CPPStructType(yyvsp[-1].u.extension_enum, NULL, current_scope, - new_scope, yylsp[-1].file); + CPPStructType *st = new CPPStructType((yyvsp[-1].u.extension_enum), NULL, current_scope, + new_scope, (yylsp[-1]).file); new_scope->set_struct_type(st); push_scope(new_scope); push_struct(st); } break; -case 220: + + case 221: #line 1695 "cppBison.yxx" -{ - yyval.u.struct_type = current_struct; + { + (yyval.u.struct_type) = current_struct; current_struct->_incomplete = false; pop_struct(); pop_scope(); } break; -case 221: -#line 1705 "cppBison.yxx" -{ - CPPVisibility starting_vis = - (yyvsp[-1].u.extension_enum == CPPExtensionType::T_class) ? V_private : V_public; - CPPScope *scope = yyvsp[0].u.identifier->get_scope(current_scope, global_scope, current_lexer); + case 222: +#line 1705 "cppBison.yxx" + { + CPPVisibility starting_vis = + ((yyvsp[-1].u.extension_enum) == CPPExtensionType::T_class) ? V_private : V_public; + + CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope, current_lexer); if (scope == NULL) { scope = current_scope; } - CPPScope *new_scope = new CPPScope(scope, yyvsp[0].u.identifier->_names.back(), + CPPScope *new_scope = new CPPScope(scope, (yyvsp[0].u.identifier)->_names.back(), starting_vis); - CPPStructType *st = new CPPStructType(yyvsp[-1].u.extension_enum, yyvsp[0].u.identifier, current_scope, - new_scope, yylsp[-1].file); + CPPStructType *st = new CPPStructType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, + new_scope, (yylsp[-1]).file); new_scope->set_struct_type(st); current_scope->define_extension_type(st); @@ -4033,1301 +4664,1487 @@ case 221: push_struct(st); } break; -case 222: + + case 223: #line 1725 "cppBison.yxx" -{ - yyval.u.struct_type = current_struct; + { + (yyval.u.struct_type) = current_struct; current_struct->_incomplete = false; pop_struct(); pop_scope(); } break; -case 227: + + case 228: #line 1745 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_public, false); + { + current_struct->append_derivation((yyvsp[0].u.type), V_public, false); } break; -case 228: + + case 229: #line 1749 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_protected, false); + { + current_struct->append_derivation((yyvsp[0].u.type), V_protected, false); } break; -case 229: + + case 230: #line 1753 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_private, false); + { + current_struct->append_derivation((yyvsp[0].u.type), V_private, false); } break; -case 230: + + case 231: #line 1757 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_public, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_public, true); } break; -case 231: + + case 232: #line 1761 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_protected, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_protected, true); } break; -case 232: + + case 233: #line 1765 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_private, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_private, true); } break; -case 233: + + case 234: #line 1769 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_public, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_public, true); } break; -case 234: + + case 235: #line 1773 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_protected, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_protected, true); } break; -case 235: + + case 236: #line 1777 "cppBison.yxx" -{ - current_struct->append_derivation(yyvsp[0].u.type, V_private, true); + { + current_struct->append_derivation((yyvsp[0].u.type), V_private, true); } break; -case 236: + + case 237: #line 1784 "cppBison.yxx" -{ - current_enum = new CPPEnumType(NULL, current_scope, yylsp[-1].file); + { + current_enum = new CPPEnumType(NULL, current_scope, (yylsp[-1]).file); } break; -case 237: + + case 238: #line 1788 "cppBison.yxx" -{ - yyval.u.enum_type = current_enum; + { + (yyval.u.enum_type) = current_enum; current_enum = NULL; } break; -case 238: + + case 239: #line 1796 "cppBison.yxx" -{ - current_enum = new CPPEnumType(yyvsp[-1].u.identifier, current_scope, yylsp[-2].file); + { + current_enum = new CPPEnumType((yyvsp[-1].u.identifier), current_scope, (yylsp[-2]).file); } break; -case 239: + + case 240: #line 1800 "cppBison.yxx" -{ - yyval.u.enum_type = current_enum; + { + (yyval.u.enum_type) = current_enum; current_enum = NULL; } break; -case 243: + + case 244: #line 1814 "cppBison.yxx" -{ + { assert(current_enum != NULL); - current_enum->add_element(yyvsp[0].u.identifier->get_simple_name(), current_scope); + current_enum->add_element((yyvsp[0].u.identifier)->get_simple_name(), current_scope); } break; -case 244: + + case 245: #line 1819 "cppBison.yxx" -{ + { assert(current_enum != NULL); - current_enum->add_element(yyvsp[-2].u.identifier->get_simple_name(), current_scope, yyvsp[0].u.expr); + current_enum->add_element((yyvsp[-2].u.identifier)->get_simple_name(), current_scope, (yyvsp[0].u.expr)); } break; -case 245: + + case 246: #line 1824 "cppBison.yxx" -{ + { assert(current_enum != NULL); - current_enum->add_element(yyvsp[0].u.identifier->get_simple_name(), current_scope); + current_enum->add_element((yyvsp[0].u.identifier)->get_simple_name(), current_scope); } break; -case 246: + + case 247: #line 1829 "cppBison.yxx" -{ + { assert(current_enum != NULL); - current_enum->add_element(yyvsp[-2].u.identifier->get_simple_name(), current_scope, yyvsp[0].u.expr); + current_enum->add_element((yyvsp[-2].u.identifier)->get_simple_name(), current_scope, (yyvsp[0].u.expr)); } break; -case 247: + + case 248: #line 1837 "cppBison.yxx" -{ - yyval.u.extension_enum = CPPExtensionType::T_enum; + { + (yyval.u.extension_enum) = CPPExtensionType::T_enum; } break; -case 248: + + case 249: #line 1844 "cppBison.yxx" -{ - yyval.u.extension_enum = CPPExtensionType::T_class; + { + (yyval.u.extension_enum) = CPPExtensionType::T_class; } break; -case 249: + + case 250: #line 1848 "cppBison.yxx" -{ - yyval.u.extension_enum = CPPExtensionType::T_struct; + { + (yyval.u.extension_enum) = CPPExtensionType::T_struct; } break; -case 250: + + case 251: #line 1852 "cppBison.yxx" -{ - yyval.u.extension_enum = CPPExtensionType::T_union; + { + (yyval.u.extension_enum) = CPPExtensionType::T_union; } break; -case 251: + + case 252: #line 1859 "cppBison.yxx" -{ - CPPScope *scope = yyvsp[-1].u.identifier->find_scope(current_scope, global_scope, current_lexer); + { + CPPScope *scope = (yyvsp[-1].u.identifier)->find_scope(current_scope, global_scope, current_lexer); if (scope == NULL) { // This must be a new namespace declaration. CPPScope *parent_scope = - yyvsp[-1].u.identifier->get_scope(current_scope, global_scope, current_lexer); + (yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope, current_lexer); if (parent_scope == NULL) { parent_scope = current_scope; } - scope = new CPPScope(parent_scope, yyvsp[-1].u.identifier->_names.back(), V_public); + scope = new CPPScope(parent_scope, (yyvsp[-1].u.identifier)->_names.back(), V_public); } - CPPNamespace *nspace = new CPPNamespace(yyvsp[-1].u.identifier, scope, yylsp[-2].file); - current_scope->add_declaration(nspace, global_scope, current_lexer, yylsp[-2]); + CPPNamespace *nspace = new CPPNamespace((yyvsp[-1].u.identifier), scope, (yylsp[-2]).file); + current_scope->add_declaration(nspace, global_scope, current_lexer, (yylsp[-2])); current_scope->define_namespace(nspace); push_scope(scope); } break; -case 252: + + case 253: #line 1877 "cppBison.yxx" -{ + { pop_scope(); } break; -case 254: + + case 255: #line 1885 "cppBison.yxx" -{ - CPPUsing *using_decl = new CPPUsing(yyvsp[0].u.identifier, false, yylsp[-1].file); - current_scope->add_declaration(using_decl, global_scope, current_lexer, yylsp[-1]); + { + CPPUsing *using_decl = new CPPUsing((yyvsp[0].u.identifier), false, (yylsp[-1]).file); + current_scope->add_declaration(using_decl, global_scope, current_lexer, (yylsp[-1])); current_scope->add_using(using_decl, global_scope, current_lexer); } break; -case 255: + + case 256: #line 1891 "cppBison.yxx" -{ - CPPUsing *using_decl = new CPPUsing(yyvsp[0].u.identifier, true, yylsp[-2].file); - current_scope->add_declaration(using_decl, global_scope, current_lexer, yylsp[-2]); + { + CPPUsing *using_decl = new CPPUsing((yyvsp[0].u.identifier), true, (yylsp[-2]).file); + current_scope->add_declaration(using_decl, global_scope, current_lexer, (yylsp[-2])); current_scope->add_using(using_decl, global_scope, current_lexer); } break; -case 259: + + case 260: #line 1906 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_bool); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_bool); } break; -case 260: + + case 261: #line 1910 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_char); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_char); } break; -case 261: + + case 262: #line 1914 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_wchar_t); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_wchar_t); } break; -case 262: + + case 263: #line 1918 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_short); } break; -case 263: + + case 264: #line 1923 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_long); } break; -case 264: + + case 265: #line 1928 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_longlong); } break; -case 265: + + case 266: #line 1933 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_unsigned); } break; -case 266: + + case 267: #line 1938 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_signed); } break; -case 267: + + case 268: #line 1943 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_int); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int); } break; -case 268: + + case 269: #line 1947 "cppBison.yxx" -{ - yyval.u.simple_type = yyvsp[0].u.simple_type; - yyval.u.simple_type->_flags |= CPPSimpleType::F_short; + { + (yyval.u.simple_type) = (yyvsp[0].u.simple_type); + (yyval.u.simple_type)->_flags |= CPPSimpleType::F_short; } break; -case 269: + + case 270: #line 1952 "cppBison.yxx" -{ - yyval.u.simple_type = yyvsp[0].u.simple_type; - if (yyval.u.simple_type->_flags & CPPSimpleType::F_long) { - yyval.u.simple_type->_flags |= CPPSimpleType::F_longlong; + { + (yyval.u.simple_type) = (yyvsp[0].u.simple_type); + if ((yyval.u.simple_type)->_flags & CPPSimpleType::F_long) { + (yyval.u.simple_type)->_flags |= CPPSimpleType::F_longlong; } else { - yyval.u.simple_type->_flags |= CPPSimpleType::F_long; + (yyval.u.simple_type)->_flags |= CPPSimpleType::F_long; } } break; -case 270: + + case 271: #line 1961 "cppBison.yxx" -{ - yyval.u.simple_type = yyvsp[0].u.simple_type; - yyval.u.simple_type->_flags |= CPPSimpleType::F_unsigned; + { + (yyval.u.simple_type) = (yyvsp[0].u.simple_type); + (yyval.u.simple_type)->_flags |= CPPSimpleType::F_unsigned; } break; -case 271: + + case 272: #line 1966 "cppBison.yxx" -{ - yyval.u.simple_type = yyvsp[0].u.simple_type; - yyval.u.simple_type->_flags |= CPPSimpleType::F_signed; + { + (yyval.u.simple_type) = (yyvsp[0].u.simple_type); + (yyval.u.simple_type)->_flags |= CPPSimpleType::F_signed; } break; -case 272: + + case 273: #line 1974 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_float); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_float); } break; -case 273: + + case 274: #line 1978 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_float, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_float, CPPSimpleType::F_long); } break; -case 274: + + case 275: #line 1983 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_double); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_double); } break; -case 275: + + case 276: #line 1987 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_float, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_float, CPPSimpleType::F_longlong); } break; -case 276: + + case 277: #line 1992 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_double, + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_double, CPPSimpleType::F_long); } break; -case 277: + + case 278: #line 2000 "cppBison.yxx" -{ - yyval.u.simple_type = new CPPSimpleType(CPPSimpleType::T_void); + { + (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_void); } break; -case 278: + + case 279: #line 2009 "cppBison.yxx" -{ + { current_lexer->_resolve_identifiers = false; } break; -case 279: + + case 280: #line 2013 "cppBison.yxx" -{ + { current_lexer->_resolve_identifiers = true; } break; -case 282: + + case 283: #line 2025 "cppBison.yxx" -{ + { } break; -case 283: + + case 284: #line 2028 "cppBison.yxx" -{ + { } break; -case 284: + + case 285: #line 2031 "cppBison.yxx" -{ + { } break; -case 285: + + case 286: #line 2034 "cppBison.yxx" -{ + { } break; -case 286: + + case 287: #line 2037 "cppBison.yxx" -{ + { } break; -case 287: + + case 288: #line 2040 "cppBison.yxx" -{ + { } break; -case 288: + + case 289: #line 2043 "cppBison.yxx" -{ + { } break; -case 289: + + case 290: #line 2046 "cppBison.yxx" -{ + { } break; -case 363: + + case 364: #line 2066 "cppBison.yxx" -{ + { } break; -case 387: + + case 388: #line 2075 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 388: + + case 389: #line 2079 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 389: + + case 390: #line 2086 "cppBison.yxx" -{ - yyval.u.expr = (CPPExpression *)NULL; + { + (yyval.u.expr) = (CPPExpression *)NULL; } break; -case 390: + + case 391: #line 2090 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 391: + + case 392: #line 2097 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 392: + + case 393: #line 2101 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(',', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(',', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 393: + + case 394: #line 2108 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 394: + + case 395: #line 2112 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-2].u.type, yyvsp[0].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr))); } break; -case 395: + + case 396: #line 2116 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 396: + + case 397: #line 2120 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 397: + + case 398: #line 2124 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::sizeof_func(yyvsp[-1].u.type)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type))); } break; -case 398: + + case 399: #line 2128 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NOT, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr)); } break; -case 399: + + case 400: #line 2132 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NEGATE, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr)); } break; -case 400: + + case 401: #line 2136 "cppBison.yxx" -{ - if (yyvsp[0].u.expr->_type == CPPExpression::T_integer) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._integer = -yyval.u.expr->_u._integer; - } else if (yyvsp[0].u.expr->_type == CPPExpression::T_real) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._real = -yyval.u.expr->_u._real; + { + if ((yyvsp[0].u.expr)->_type == CPPExpression::T_integer) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._integer = -(yyval.u.expr)->_u._integer; + } else if ((yyvsp[0].u.expr)->_type == CPPExpression::T_real) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._real = -(yyval.u.expr)->_u._real; } else { - yyval.u.expr = new CPPExpression(UNARY_MINUS, yyvsp[0].u.expr); + (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr)); } } break; -case 401: + + case 402: #line 2148 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_STAR, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_STAR, (yyvsp[0].u.expr)); } break; -case 402: + + case 403: #line 2152 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_REF, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr)); } break; -case 403: + + case 404: #line 2156 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('*', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 404: + + case 405: #line 2160 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('/', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 405: + + case 406: #line 2164 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('%', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 406: + + case 407: #line 2168 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('+', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 407: + + case 408: #line 2172 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('-', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 408: + + case 409: #line 2176 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('|', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 409: + + case 410: #line 2180 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('&', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 410: + + case 411: #line 2184 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(OROR, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 411: + + case 412: #line 2188 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(ANDAND, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 412: + + case 413: #line 2192 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(EQCOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 413: + + case 414: #line 2196 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(NECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 414: + + case 415: #line 2200 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 415: + + case 416: #line 2204 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(GECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 416: + + case 417: #line 2208 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 417: + + case 418: #line 2212 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(RSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 418: + + case 419: #line 2216 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('?', yyvsp[-4].u.expr, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 419: + + case 420: #line 2220 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('[', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 420: + + case 421: #line 2224 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 421: + + case 422: #line 2228 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-2].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr)); } break; -case 422: + + case 423: #line 2232 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('.', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 423: + + case 424: #line 2236 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(POINTSAT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 424: + + case 425: #line 2240 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[-1].u.expr; + { + (yyval.u.expr) = (yyvsp[-1].u.expr); } break; -case 425: + + case 426: #line 2248 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 426: + + case 427: #line 2252 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-2].u.type, yyvsp[0].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr))); } break; -case 427: + + case 428: #line 2256 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 428: + + case 429: #line 2260 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 429: + + case 430: #line 2264 "cppBison.yxx" -{ + { // A constructor call. - CPPType *type = yyvsp[-3].u.identifier->find_type(current_scope, global_scope, false, current_lexer); + CPPType *type = (yyvsp[-3].u.identifier)->find_type(current_scope, global_scope, false, current_lexer); assert(type != NULL); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 430: + + case 431: #line 2271 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 431: + + case 432: #line 2277 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_char)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 432: + + case 433: #line 2283 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_wchar_t)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 433: + + case 434: #line 2289 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_bool)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 434: + + case 435: #line 2295 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_short)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 435: + + case 436: #line 2302 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_long)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 436: + + case 437: #line 2309 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_unsigned)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 437: + + case 438: #line 2316 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int, CPPSimpleType::F_signed)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 438: + + case 439: #line 2323 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_float)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 439: + + case 440: #line 2329 "cppBison.yxx" -{ + { CPPType *type = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_double)); - yyval.u.expr = new CPPExpression(CPPExpression::construct_op(type, yyvsp[-1].u.expr)); + (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr))); } break; -case 440: + + case 441: #line 2335 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::sizeof_func(yyvsp[-1].u.type)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type))); } break; -case 441: + + case 442: #line 2339 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::new_op(yyvsp[0].u.type)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[0].u.type))); } break; -case 442: + + case 443: #line 2343 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::new_op(yyvsp[-3].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[-3].u.type), (yyvsp[-1].u.expr))); } break; -case 443: + + case 444: #line 2347 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NOT, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr)); } break; -case 444: + + case 445: #line 2351 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NEGATE, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr)); } break; -case 445: + + case 446: #line 2355 "cppBison.yxx" -{ - if (yyvsp[0].u.expr->_type == CPPExpression::T_integer) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._integer = -yyval.u.expr->_u._integer; - } else if (yyvsp[0].u.expr->_type == CPPExpression::T_real) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._real = -yyval.u.expr->_u._real; + { + if ((yyvsp[0].u.expr)->_type == CPPExpression::T_integer) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._integer = -(yyval.u.expr)->_u._integer; + } else if ((yyvsp[0].u.expr)->_type == CPPExpression::T_real) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._real = -(yyval.u.expr)->_u._real; } else { - yyval.u.expr = new CPPExpression(UNARY_MINUS, yyvsp[0].u.expr); + (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr)); } } break; -case 446: + + case 447: #line 2367 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_STAR, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_STAR, (yyvsp[0].u.expr)); } break; -case 447: + + case 448: #line 2371 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_REF, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr)); } break; -case 448: + + case 449: #line 2375 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('*', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 449: + + case 450: #line 2379 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('/', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 450: + + case 451: #line 2383 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('%', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 451: + + case 452: #line 2387 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('+', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 452: + + case 453: #line 2391 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('-', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 453: + + case 454: #line 2395 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('|', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 454: + + case 455: #line 2399 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('&', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 455: + + case 456: #line 2403 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(OROR, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 456: + + case 457: #line 2407 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(ANDAND, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 457: + + case 458: #line 2411 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(EQCOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 458: + + case 459: #line 2415 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(NECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 459: + + case 460: #line 2419 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 460: + + case 461: #line 2423 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(GECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 461: + + case 462: #line 2427 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('<', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('<', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 462: + + case 463: #line 2431 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('>', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('>', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 463: + + case 464: #line 2435 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 464: + + case 465: #line 2439 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(RSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 465: + + case 466: #line 2443 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('?', yyvsp[-4].u.expr, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 466: + + case 467: #line 2447 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('[', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 467: + + case 468: #line 2451 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 468: + + case 469: #line 2455 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-2].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr)); } break; -case 469: + + case 470: #line 2459 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('.', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 470: + + case 471: #line 2463 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(POINTSAT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 471: + + case 472: #line 2467 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[-1].u.expr; + { + (yyval.u.expr) = (yyvsp[-1].u.expr); } break; -case 472: + + case 473: #line 2474 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.integer); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer)); } break; -case 473: + + case 474: #line 2478 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(true); + { + (yyval.u.expr) = new CPPExpression(true); } break; -case 474: + + case 475: #line 2482 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(false); + { + (yyval.u.expr) = new CPPExpression(false); } break; -case 475: + + case 476: #line 2486 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.integer); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer)); } break; -case 476: + + case 477: #line 2490 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.real); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.real)); } break; -case 477: + + case 478: #line 2494 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].str); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].str)); } break; -case 478: + + case 479: #line 2498 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.identifier, current_scope, global_scope, current_lexer); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.identifier), current_scope, global_scope, current_lexer); } break; -case 479: + + case 480: #line 2512 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[0].u.expr; + { + (yyval.u.expr) = (yyvsp[0].u.expr); } break; -case 480: + + case 481: #line 2516 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-2].u.type, yyvsp[0].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr))); } break; -case 481: + + case 482: #line 2520 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 482: + + case 483: #line 2524 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::typecast_op(yyvsp[-4].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr))); } break; -case 483: + + case 484: #line 2528 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::sizeof_func(yyvsp[-1].u.type)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type))); } break; -case 484: + + case 485: #line 2532 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::new_op(yyvsp[0].u.type)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[0].u.type))); } break; -case 485: + + case 486: #line 2536 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(CPPExpression::new_op(yyvsp[-3].u.type, yyvsp[-1].u.expr)); + { + (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[-3].u.type), (yyvsp[-1].u.expr))); } break; -case 486: + + case 487: #line 2540 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NOT, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr)); } break; -case 487: + + case 488: #line 2544 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_NEGATE, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr)); } break; -case 488: + + case 489: #line 2548 "cppBison.yxx" -{ - if (yyvsp[0].u.expr->_type == CPPExpression::T_integer) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._integer = -yyval.u.expr->_u._integer; - } else if (yyvsp[0].u.expr->_type == CPPExpression::T_real) { - yyval.u.expr = yyvsp[0].u.expr; - yyval.u.expr->_u._real = -yyval.u.expr->_u._real; + { + if ((yyvsp[0].u.expr)->_type == CPPExpression::T_integer) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._integer = -(yyval.u.expr)->_u._integer; + } else if ((yyvsp[0].u.expr)->_type == CPPExpression::T_real) { + (yyval.u.expr) = (yyvsp[0].u.expr); + (yyval.u.expr)->_u._real = -(yyval.u.expr)->_u._real; } else { - yyval.u.expr = new CPPExpression(UNARY_MINUS, yyvsp[0].u.expr); + (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr)); } } break; -case 489: + + case 490: #line 2560 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(UNARY_REF, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr)); } break; -case 490: + + case 491: #line 2564 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('*', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 491: + + case 492: #line 2568 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('/', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 492: + + case 493: #line 2572 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('%', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 493: + + case 494: #line 2576 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('+', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 494: + + case 495: #line 2580 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('-', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 495: + + case 496: #line 2584 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('|', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 496: + + case 497: #line 2588 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('&', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 497: + + case 498: #line 2592 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(OROR, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 498: + + case 499: #line 2596 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(ANDAND, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 499: + + case 500: #line 2600 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(EQCOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 500: + + case 501: #line 2604 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(NECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 501: + + case 502: #line 2608 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 502: + + case 503: #line 2612 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(GECOMPARE, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 503: + + case 504: #line 2616 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('<', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('<', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 504: + + case 505: #line 2620 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('>', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('>', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 505: + + case 506: #line 2624 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(LSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 506: + + case 507: #line 2628 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(RSHIFT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 507: + + case 508: #line 2632 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('?', yyvsp[-4].u.expr, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 508: + + case 509: #line 2636 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('[', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 509: + + case 510: #line 2640 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-3].u.expr, yyvsp[-1].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr)); } break; -case 510: + + case 511: #line 2644 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('f', yyvsp[-2].u.expr); + { + (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr)); } break; -case 511: + + case 512: #line 2648 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression('.', yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 512: + + case 513: #line 2652 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(POINTSAT, yyvsp[-2].u.expr, yyvsp[0].u.expr); + { + (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr)); } break; -case 513: + + case 514: #line 2656 "cppBison.yxx" -{ - yyval.u.expr = yyvsp[-1].u.expr; + { + (yyval.u.expr) = (yyvsp[-1].u.expr); } break; -case 514: + + case 515: #line 2663 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.integer); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer)); } break; -case 515: + + case 516: #line 2667 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(true); + { + (yyval.u.expr) = new CPPExpression(true); } break; -case 516: + + case 517: #line 2671 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(false); + { + (yyval.u.expr) = new CPPExpression(false); } break; -case 517: + + case 518: #line 2675 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.integer); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer)); } break; -case 518: + + case 519: #line 2679 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].u.real); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].u.real)); } break; -case 519: + + case 520: #line 2683 "cppBison.yxx" -{ - yyval.u.expr = new CPPExpression(yyvsp[0].str); + { + (yyval.u.expr) = new CPPExpression((yyvsp[0].str)); } break; -case 520: + + case 521: #line 2690 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, true); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, true); if (type == NULL) { - type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + type = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } - yyval.u.type = type; + (yyval.u.type) = type; } break; -case 521: + + case 522: #line 2698 "cppBison.yxx" -{ - CPPType *type = yyvsp[0].u.identifier->find_type(current_scope, global_scope, true, current_lexer); + { + CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, true, current_lexer); if (type == NULL) { - type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + type = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } - yyval.u.type = type; + (yyval.u.type) = type; } break; -case 522: + + case 523: #line 2706 "cppBison.yxx" -{ - yyval.u.type = CPPType::new_type(new CPPTBDType(yyvsp[0].u.identifier)); + { + (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier))); } break; -case 523: + + case 524: #line 2729 "cppBison.yxx" -{ - yyval.u.identifier = yyvsp[0].u.identifier; + { + (yyval.u.identifier) = (yyvsp[0].u.identifier); } break; -case 524: + + case 525: #line 2733 "cppBison.yxx" -{ - yyval.u.identifier = yyvsp[0].u.identifier; + { + (yyval.u.identifier) = (yyvsp[0].u.identifier); } break; -case 525: + + case 526: #line 2740 "cppBison.yxx" -{ - yyval.str = yyvsp[0].str; + { + (yyval.str) = (yyvsp[0].str); } break; -case 526: + + case 527: #line 2744 "cppBison.yxx" -{ - yyval.str = yyvsp[-1].str + yyvsp[0].str; + { + (yyval.str) = (yyvsp[-1].str) + (yyvsp[0].str); } break; -} -#line 705 "/usr/share/bison/bison.simple" + default: break; + } + +/* Line 1126 of yacc.c. */ +#line 6139 "y.tab.c" yyvsp -= yylen; yyssp -= yylen; -#if YYLSP_NEEDED yylsp -= yylen; -#endif -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif + YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; -#if YYLSP_NEEDED *++yylsp = yyloc; -#endif /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule @@ -5335,11 +6152,11 @@ case 526: yyn = yyr1[yyn]; - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else - yystate = yydefgoto[yyn - YYNTBASE]; + yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; @@ -5352,155 +6169,200 @@ yyerrlab: if (!yyerrstatus) { ++yynerrs; - -#ifdef YYERROR_VERBOSE +#if YYERROR_VERBOSE yyn = yypact[yystate]; - if (yyn > YYFLAG && yyn < YYLAST) + if (YYPACT_NINF < yyn && yyn < YYLAST) { - YYSIZE_T yysize = 0; - char *yymsg; - int yyx, yycount; + int yytype = YYTRANSLATE (yychar); + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + int yysize_overflow = 0; + char *yymsg = 0; +# define YYERROR_VERBOSE_ARGS_MAXIMUM 5 + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + int yyx; + +#if 0 + /* This is so xgettext sees the translatable formats that are + constructed on the fly. */ + YY_("syntax error, unexpected %s"); + YY_("syntax error, unexpected %s, expecting %s"); + YY_("syntax error, unexpected %s, expecting %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s"); + YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); +#endif + char *yyfmt; + char const *yyf; + static char const yyunexpected[] = "syntax error, unexpected %s"; + static char const yyexpecting[] = ", expecting %s"; + static char const yyor[] = " or %s"; + char yyformat[sizeof yyunexpected + + sizeof yyexpecting - 1 + + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) + * (sizeof yyor - 1))]; + char const *yyprefix = yyexpecting; - yycount = 0; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) - if (yycheck[yyx + yyn] == yyx) - yysize += yystrlen (yytname[yyx]) + 15, yycount++; - yysize += yystrlen ("parse error, unexpected ") + 1; - yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); - yymsg = (char *) YYSTACK_ALLOC (yysize); - if (yymsg != 0) - { - char *yyp = yystpcpy (yymsg, "parse error, unexpected "); - yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); + int yyxbegin = yyn < 0 ? -yyn : 0; - if (yycount < 5) + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yycount = 1; + + yyarg[0] = yytname[yytype]; + yyfmt = yystpcpy (yyformat, yyunexpected); + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + yyformat[sizeof yyunexpected - 1] = '\0'; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + yysize_overflow |= yysize1 < yysize; + yysize = yysize1; + yyfmt = yystpcpy (yyfmt, yyprefix); + yyprefix = yyor; + } + + yyf = YY_(yyformat); + yysize1 = yysize + yystrlen (yyf); + yysize_overflow |= yysize1 < yysize; + yysize = yysize1; + + if (!yysize_overflow && yysize <= YYSTACK_ALLOC_MAXIMUM) + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg) + { + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + char *yyp = yymsg; + int yyi = 0; + while ((*yyp = *yyf)) { - yycount = 0; - for (yyx = yyn < 0 ? -yyn : 0; - yyx < (int) (sizeof (yytname) / sizeof (char *)); - yyx++) - if (yycheck[yyx + yyn] == yyx) - { - const char *yyq = ! yycount ? ", expecting " : " or "; - yyp = yystpcpy (yyp, yyq); - yyp = yystpcpy (yyp, yytname[yyx]); - yycount++; - } + if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyf += 2; + } + else + { + yyp++; + yyf++; + } } yyerror (yymsg); YYSTACK_FREE (yymsg); } else - yyerror ("parse error; also virtual memory exhausted"); + { + yyerror (YY_("syntax error")); + goto yyexhaustedlab; + } } else -#endif /* defined (YYERROR_VERBOSE) */ - yyerror ("parse error"); +#endif /* YYERROR_VERBOSE */ + yyerror (YY_("syntax error")); } + + yyerror_range[0] = yylloc; + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse look-ahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", yytoken, &yylval, &yylloc); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse look-ahead token after shifting the error + token. */ goto yyerrlab1; -/*--------------------------------------------------. -| yyerrlab1 -- error raised explicitly by an action | -`--------------------------------------------------*/ +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ + if (0) + goto yyerrorlab; + + yyerror_range[0] = yylsp[1-yylen]; + yylsp -= yylen; + yyvsp -= yylen; + yyssp -= yylen; + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ yyerrlab1: - if (yyerrstatus == 3) - { - /* If just tried and failed to reuse lookahead token after an - error, discard it. */ + yyerrstatus = 3; /* Each real token shifted decrements this. */ - /* return failure if at end of input */ - if (yychar == YYEOF) + for (;;) + { + yyn = yypact[yystate]; + if (yyn != YYPACT_NINF) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) YYABORT; - YYDPRINTF ((stderr, "Discarding token %d (%s).\n", - yychar, yytname[yychar1])); - yychar = YYEMPTY; + + yyerror_range[0] = *yylsp; + yydestruct ("Error: popping", yystos[yystate], yyvsp, yylsp); + YYPOPSTACK; + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); } - /* Else will try to reuse lookahead token after shifting the error - token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - - -/*-------------------------------------------------------------------. -| yyerrdefault -- current state does not do anything special for the | -| error token. | -`-------------------------------------------------------------------*/ -yyerrdefault: -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - - /* If its default is to accept any token, ok. Otherwise pop it. */ - yyn = yydefact[yystate]; - if (yyn) - goto yydefault; -#endif - - -/*---------------------------------------------------------------. -| yyerrpop -- pop the current state because it cannot handle the | -| error token | -`---------------------------------------------------------------*/ -yyerrpop: - if (yyssp == yyss) - YYABORT; - yyvsp--; - yystate = *--yyssp; -#if YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG - if (yydebug) - { - short *yyssp1 = yyss - 1; - YYFPRINTF (stderr, "Error: state stack now"); - while (yyssp1 != yyssp) - YYFPRINTF (stderr, " %d", *++yyssp1); - YYFPRINTF (stderr, "\n"); - } -#endif - -/*--------------. -| yyerrhandle. | -`--------------*/ -yyerrhandle: - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - if (yyn == YYFINAL) YYACCEPT; - YYDPRINTF ((stderr, "Shifting error token, ")); - *++yyvsp = yylval; -#if YYLSP_NEEDED - *++yylsp = yylloc; -#endif + + yyerror_range[1] = yylloc; + /* Using YYLLOC is tempting, but would change the location of + the look-ahead. YYLOC is available though. */ + YYLLOC_DEFAULT (yyloc, yyerror_range - 1, 2); + *++yylsp = yyloc; + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); yystate = yyn; goto yynewstate; @@ -5520,19 +6382,32 @@ yyabortlab: yyresult = 1; goto yyreturn; -/*---------------------------------------------. -| yyoverflowab -- parser overflow comes here. | -`---------------------------------------------*/ -yyoverflowlab: - yyerror ("parser stack overflow"); +#ifndef yyoverflow +/*-------------------------------------------------. +| yyexhaustedlab -- memory exhaustion comes here. | +`-------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ +#endif yyreturn: + if (yychar != YYEOF && yychar != YYEMPTY) + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval, &yylloc); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + yystos[*yyssp], yyvsp, yylsp); + YYPOPSTACK; + } #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif return yyresult; } -#line 2751 "cppBison.yxx" + + + diff --git a/dtool/src/cppparser/cppBison.h.prebuilt b/dtool/src/cppparser/cppBison.h.prebuilt index 0df88d4fcd..c814cce128 100644 --- a/dtool/src/cppparser/cppBison.h.prebuilt +++ b/dtool/src/cppparser/cppBison.h.prebuilt @@ -1,119 +1,259 @@ -#ifndef BISON_Y_TAB_H -# define BISON_Y_TAB_H +/* A Bison parser, made by GNU Bison 2.1. */ + +/* Skeleton parser for Yacc-like parsing with Bison, + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + REAL = 258, + INTEGER = 259, + CHAR_TOK = 260, + STRING = 261, + SIMPLE_IDENTIFIER = 262, + IDENTIFIER = 263, + TYPENAME_IDENTIFIER = 264, + SCOPING = 265, + TYPEDEFNAME = 266, + ELLIPSIS = 267, + OROR = 268, + ANDAND = 269, + EQCOMPARE = 270, + NECOMPARE = 271, + LECOMPARE = 272, + GECOMPARE = 273, + LSHIFT = 274, + RSHIFT = 275, + POINTSAT_STAR = 276, + DOT_STAR = 277, + UNARY = 278, + UNARY_NOT = 279, + UNARY_NEGATE = 280, + UNARY_MINUS = 281, + UNARY_STAR = 282, + UNARY_REF = 283, + POINTSAT = 284, + SCOPE = 285, + PLUSPLUS = 286, + MINUSMINUS = 287, + TIMESEQUAL = 288, + DIVIDEEQUAL = 289, + MODEQUAL = 290, + PLUSEQUAL = 291, + MINUSEQUAL = 292, + OREQUAL = 293, + ANDEQUAL = 294, + XOREQUAL = 295, + LSHIFTEQUAL = 296, + RSHIFTEQUAL = 297, + TOKENPASTE = 298, + KW_BEGIN_PUBLISH = 299, + KW_BOOL = 300, + KW_CATCH = 301, + KW_CHAR = 302, + KW_WCHAR_T = 303, + KW_CLASS = 304, + KW_CONST = 305, + KW_DELETE = 306, + KW_DOUBLE = 307, + KW_DYNAMIC_CAST = 308, + KW_ELSE = 309, + KW_END_PUBLISH = 310, + KW_ENUM = 311, + KW_EXTERN = 312, + KW_EXPLICIT = 313, + KW_PUBLISHED = 314, + KW_FALSE = 315, + KW_FLOAT = 316, + KW_FRIEND = 317, + KW_FOR = 318, + KW_GOTO = 319, + KW_IF = 320, + KW_INLINE = 321, + KW_INT = 322, + KW_LONG = 323, + KW_LONGLONG = 324, + KW_MUTABLE = 325, + KW_NAMESPACE = 326, + KW_NEW = 327, + KW_OPERATOR = 328, + KW_PRIVATE = 329, + KW_PROTECTED = 330, + KW_PUBLIC = 331, + KW_REGISTER = 332, + KW_RETURN = 333, + KW_SHORT = 334, + KW_SIGNED = 335, + KW_SIZEOF = 336, + KW_STATIC = 337, + KW_STATIC_CAST = 338, + KW_STRUCT = 339, + KW_TEMPLATE = 340, + KW_THROW = 341, + KW_TRUE = 342, + KW_TRY = 343, + KW_TYPEDEF = 344, + KW_TYPENAME = 345, + KW_UNION = 346, + KW_UNSIGNED = 347, + KW_USING = 348, + KW_VIRTUAL = 349, + KW_VOID = 350, + KW_VOLATILE = 351, + KW_WHILE = 352, + START_CPP = 353, + START_CONST_EXPR = 354, + START_TYPE = 355 + }; +#endif +/* Tokens. */ +#define REAL 258 +#define INTEGER 259 +#define CHAR_TOK 260 +#define STRING 261 +#define SIMPLE_IDENTIFIER 262 +#define IDENTIFIER 263 +#define TYPENAME_IDENTIFIER 264 +#define SCOPING 265 +#define TYPEDEFNAME 266 +#define ELLIPSIS 267 +#define OROR 268 +#define ANDAND 269 +#define EQCOMPARE 270 +#define NECOMPARE 271 +#define LECOMPARE 272 +#define GECOMPARE 273 +#define LSHIFT 274 +#define RSHIFT 275 +#define POINTSAT_STAR 276 +#define DOT_STAR 277 +#define UNARY 278 +#define UNARY_NOT 279 +#define UNARY_NEGATE 280 +#define UNARY_MINUS 281 +#define UNARY_STAR 282 +#define UNARY_REF 283 +#define POINTSAT 284 +#define SCOPE 285 +#define PLUSPLUS 286 +#define MINUSMINUS 287 +#define TIMESEQUAL 288 +#define DIVIDEEQUAL 289 +#define MODEQUAL 290 +#define PLUSEQUAL 291 +#define MINUSEQUAL 292 +#define OREQUAL 293 +#define ANDEQUAL 294 +#define XOREQUAL 295 +#define LSHIFTEQUAL 296 +#define RSHIFTEQUAL 297 +#define TOKENPASTE 298 +#define KW_BEGIN_PUBLISH 299 +#define KW_BOOL 300 +#define KW_CATCH 301 +#define KW_CHAR 302 +#define KW_WCHAR_T 303 +#define KW_CLASS 304 +#define KW_CONST 305 +#define KW_DELETE 306 +#define KW_DOUBLE 307 +#define KW_DYNAMIC_CAST 308 +#define KW_ELSE 309 +#define KW_END_PUBLISH 310 +#define KW_ENUM 311 +#define KW_EXTERN 312 +#define KW_EXPLICIT 313 +#define KW_PUBLISHED 314 +#define KW_FALSE 315 +#define KW_FLOAT 316 +#define KW_FRIEND 317 +#define KW_FOR 318 +#define KW_GOTO 319 +#define KW_IF 320 +#define KW_INLINE 321 +#define KW_INT 322 +#define KW_LONG 323 +#define KW_LONGLONG 324 +#define KW_MUTABLE 325 +#define KW_NAMESPACE 326 +#define KW_NEW 327 +#define KW_OPERATOR 328 +#define KW_PRIVATE 329 +#define KW_PROTECTED 330 +#define KW_PUBLIC 331 +#define KW_REGISTER 332 +#define KW_RETURN 333 +#define KW_SHORT 334 +#define KW_SIGNED 335 +#define KW_SIZEOF 336 +#define KW_STATIC 337 +#define KW_STATIC_CAST 338 +#define KW_STRUCT 339 +#define KW_TEMPLATE 340 +#define KW_THROW 341 +#define KW_TRUE 342 +#define KW_TRY 343 +#define KW_TYPEDEF 344 +#define KW_TYPENAME 345 +#define KW_UNION 346 +#define KW_UNSIGNED 347 +#define KW_USING 348 +#define KW_VIRTUAL 349 +#define KW_VOID 350 +#define KW_VOLATILE 351 +#define KW_WHILE 352 +#define START_CPP 353 +#define START_CONST_EXPR 354 +#define START_TYPE 355 -#ifndef YYLTYPE -typedef struct yyltype + + +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) +typedef int YYSTYPE; +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +# define YYSTYPE_IS_TRIVIAL 1 +#endif + + + +#if ! defined (YYLTYPE) && ! defined (YYLTYPE_IS_DECLARED) +typedef struct YYLTYPE { int first_line; int first_column; - int last_line; int last_column; -} yyltype; - -# define YYLTYPE yyltype +} YYLTYPE; +# define yyltype YYLTYPE /* obsolescent; will be withdrawn */ +# define YYLTYPE_IS_DECLARED 1 # define YYLTYPE_IS_TRIVIAL 1 #endif -# define REAL 257 -# define INTEGER 258 -# define CHAR 259 -# define STRING 260 -# define SIMPLE_IDENTIFIER 261 -# define IDENTIFIER 262 -# define TYPENAME_IDENTIFIER 263 -# define SCOPING 264 -# define TYPEDEFNAME 265 -# define ELLIPSIS 266 -# define OROR 267 -# define ANDAND 268 -# define EQCOMPARE 269 -# define NECOMPARE 270 -# define LECOMPARE 271 -# define GECOMPARE 272 -# define LSHIFT 273 -# define RSHIFT 274 -# define POINTSAT_STAR 275 -# define DOT_STAR 276 -# define UNARY 277 -# define UNARY_NOT 278 -# define UNARY_NEGATE 279 -# define UNARY_MINUS 280 -# define UNARY_STAR 281 -# define UNARY_REF 282 -# define POINTSAT 283 -# define SCOPE 284 -# define PLUSPLUS 285 -# define MINUSMINUS 286 -# define TIMESEQUAL 287 -# define DIVIDEEQUAL 288 -# define MODEQUAL 289 -# define PLUSEQUAL 290 -# define MINUSEQUAL 291 -# define OREQUAL 292 -# define ANDEQUAL 293 -# define XOREQUAL 294 -# define LSHIFTEQUAL 295 -# define RSHIFTEQUAL 296 -# define TOKENPASTE 297 -# define KW_BEGIN_PUBLISH 298 -# define KW_BOOL 299 -# define KW_CATCH 300 -# define KW_CHAR 301 -# define KW_WCHAR_T 302 -# define KW_CLASS 303 -# define KW_CONST 304 -# define KW_DELETE 305 -# define KW_DOUBLE 306 -# define KW_DYNAMIC_CAST 307 -# define KW_ELSE 308 -# define KW_END_PUBLISH 309 -# define KW_ENUM 310 -# define KW_EXTERN 311 -# define KW_EXPLICIT 312 -# define KW_PUBLISHED 313 -# define KW_FALSE 314 -# define KW_FLOAT 315 -# define KW_FRIEND 316 -# define KW_FOR 317 -# define KW_GOTO 318 -# define KW_IF 319 -# define KW_INLINE 320 -# define KW_INT 321 -# define KW_LONG 322 -# define KW_LONGLONG 323 -# define KW_MUTABLE 324 -# define KW_NAMESPACE 325 -# define KW_NEW 326 -# define KW_OPERATOR 327 -# define KW_PRIVATE 328 -# define KW_PROTECTED 329 -# define KW_PUBLIC 330 -# define KW_REGISTER 331 -# define KW_RETURN 332 -# define KW_SHORT 333 -# define KW_SIGNED 334 -# define KW_SIZEOF 335 -# define KW_STATIC 336 -# define KW_STATIC_CAST 337 -# define KW_STRUCT 338 -# define KW_TEMPLATE 339 -# define KW_THROW 340 -# define KW_TRUE 341 -# define KW_TRY 342 -# define KW_TYPEDEF 343 -# define KW_TYPENAME 344 -# define KW_UNION 345 -# define KW_UNSIGNED 346 -# define KW_USING 347 -# define KW_VIRTUAL 348 -# define KW_VOID 349 -# define KW_VOLATILE 350 -# define KW_WHILE 351 -# define START_CPP 352 -# define START_CONST_EXPR 353 -# define START_TYPE 354 -#endif /* not BISON_Y_TAB_H */ + diff --git a/dtool/src/cppparser/cppBison.yxx b/dtool/src/cppparser/cppBison.yxx index bfdd92acda..0d7cced156 100644 --- a/dtool/src/cppparser/cppBison.yxx +++ b/dtool/src/cppparser/cppBison.yxx @@ -197,7 +197,7 @@ pop_struct() { %token REAL %token INTEGER -%token CHAR +%token CHAR_TOK %token STRING SIMPLE_IDENTIFIER %token IDENTIFIER TYPENAME_IDENTIFIER SCOPING %token TYPEDEFNAME @@ -2030,7 +2030,7 @@ element: | STRING { } - | CHAR + | CHAR_TOK { } | IDENTIFIER @@ -2482,7 +2482,7 @@ const_operand: { $$ = new CPPExpression(false); } - | CHAR + | CHAR_TOK { $$ = new CPPExpression($1); } @@ -2671,7 +2671,7 @@ formal_const_operand: { $$ = new CPPExpression(false); } - | CHAR + | CHAR_TOK { $$ = new CPPExpression($1); } diff --git a/dtool/src/cppparser/cppPreprocessor.cxx b/dtool/src/cppparser/cppPreprocessor.cxx index 33b0130445..7877ecd850 100644 --- a/dtool/src/cppparser/cppPreprocessor.cxx +++ b/dtool/src/cppparser/cppPreprocessor.cxx @@ -1500,7 +1500,7 @@ get_quoted_char(int c) { } else { result.u.integer = 0; } - return CPPToken(CHAR, first_line, first_col, first_file, str, result); + return CPPToken(CHAR_TOK, first_line, first_col, first_file, str, result); } //////////////////////////////////////////////////////////////////// diff --git a/dtool/src/cppparser/cppToken.cxx b/dtool/src/cppparser/cppToken.cxx index 31e252d656..f0b9287727 100644 --- a/dtool/src/cppparser/cppToken.cxx +++ b/dtool/src/cppparser/cppToken.cxx @@ -107,8 +107,8 @@ output(ostream &out) const { out << "INTEGER " << _lval.u.integer; break; - case CHAR: - out << "CHAR " << _lval.u.integer << " = " << _lval.str; + case CHAR_TOK: + out << "CHAR_TOK " << _lval.u.integer << " = " << _lval.str; break; case STRING: