Logo Search packages:      
Sourcecode: vala version File versions

parser.c

/* A Bison parser, made by GNU Bison 2.3.  */

/* Skeleton implementation for Bison's Yacc-like parsers in C

   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
   Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 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, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* C LALR(1) parser skeleton written by Richard Stallman, by
   simplifying the original so-called "semantic" parser.  */

/* All symbols defined below should begin with yy or YY, to avoid
   infringing on user name space.  This should be done even for local
   variables, as they might otherwise be expanded by user macros.
   There are some unavoidable exceptions within include files to
   define necessary library symbols; they are noted "INFRINGES ON
   USER NAME SPACE" below.  */

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

/* Bison version.  */
#define YYBISON_VERSION "2.3"

/* Skeleton name.  */
#define YYSKELETON_NAME "yacc.c"

/* Pure parsers.  */
#define YYPURE 1

/* Using locations.  */
#define YYLSP_NEEDED 1



/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     OPEN_BRACE = 258,
     CLOSE_BRACE = 259,
     OPEN_PARENS = 260,
     OPEN_CAST_PARENS = 261,
     CLOSE_PARENS = 262,
     BRACKET_PAIR = 263,
     OPEN_BRACKET = 264,
     CLOSE_BRACKET = 265,
     ELLIPSIS = 266,
     DOT = 267,
     COLON = 268,
     COMMA = 269,
     SEMICOLON = 270,
     HASH = 271,
     INTERR = 272,
     ASSIGN_BITWISE_OR = 273,
     ASSIGN_BITWISE_AND = 274,
     ASSIGN_BITWISE_XOR = 275,
     ASSIGN_ADD = 276,
     ASSIGN_SUB = 277,
     ASSIGN_MUL = 278,
     ASSIGN_DIV = 279,
     ASSIGN_PERCENT = 280,
     ASSIGN_SHIFT_LEFT = 281,
     ASSIGN_SHIFT_RIGHT = 282,
     OP_INC = 283,
     OP_DEC = 284,
     OP_EQ = 285,
     OP_NE = 286,
     OP_SHIFT_LEFT = 287,
     OP_SHIFT_RIGHT = 288,
     OP_LE = 289,
     OP_GE = 290,
     LAMBDA = 291,
     GENERIC_LT = 292,
     OP_LT = 293,
     OP_GT = 294,
     OP_NEG = 295,
     CARRET = 296,
     BITWISE_OR = 297,
     BITWISE_AND = 298,
     OP_OR = 299,
     OP_AND = 300,
     TILDE = 301,
     ASSIGN = 302,
     PLUS = 303,
     MINUS = 304,
     STAR = 305,
     DIV = 306,
     PERCENT = 307,
     ABSTRACT = 308,
     BASE = 309,
     BREAK = 310,
     CASE = 311,
     CATCH = 312,
     CLASS = 313,
     CONST = 314,
     CONSTRUCT = 315,
     CONTINUE = 316,
     DEFAULT = 317,
     DELEGATE = 318,
     DO = 319,
     ELSE = 320,
     ENUM = 321,
     VALA_FALSE = 322,
     FINALLY = 323,
     FOR = 324,
     FOREACH = 325,
     GET = 326,
     IF = 327,
     IN = 328,
     INTERFACE = 329,
     IS = 330,
     LOCK = 331,
     NAMESPACE = 332,
     NEW = 333,
     VALA_NULL = 334,
     OUT = 335,
     OVERRIDE = 336,
     PRIVATE = 337,
     PROTECTED = 338,
     PUBLIC = 339,
     REF = 340,
     RETURN = 341,
     SET = 342,
     SIGNAL = 343,
     SIZEOF = 344,
     STATIC = 345,
     STRUCT = 346,
     SWITCH = 347,
     THIS = 348,
     THROW = 349,
     THROWS = 350,
     VALA_TRUE = 351,
     TRY = 352,
     TYPEOF = 353,
     USING = 354,
     VAR = 355,
     VIRTUAL = 356,
     WEAK = 357,
     WHILE = 358,
     IDENTIFIER = 359,
     INTEGER_LITERAL = 360,
     REAL_LITERAL = 361,
     CHARACTER_LITERAL = 362,
     STRING_LITERAL = 363
   };
#endif
/* Tokens.  */
#define OPEN_BRACE 258
#define CLOSE_BRACE 259
#define OPEN_PARENS 260
#define OPEN_CAST_PARENS 261
#define CLOSE_PARENS 262
#define BRACKET_PAIR 263
#define OPEN_BRACKET 264
#define CLOSE_BRACKET 265
#define ELLIPSIS 266
#define DOT 267
#define COLON 268
#define COMMA 269
#define SEMICOLON 270
#define HASH 271
#define INTERR 272
#define ASSIGN_BITWISE_OR 273
#define ASSIGN_BITWISE_AND 274
#define ASSIGN_BITWISE_XOR 275
#define ASSIGN_ADD 276
#define ASSIGN_SUB 277
#define ASSIGN_MUL 278
#define ASSIGN_DIV 279
#define ASSIGN_PERCENT 280
#define ASSIGN_SHIFT_LEFT 281
#define ASSIGN_SHIFT_RIGHT 282
#define OP_INC 283
#define OP_DEC 284
#define OP_EQ 285
#define OP_NE 286
#define OP_SHIFT_LEFT 287
#define OP_SHIFT_RIGHT 288
#define OP_LE 289
#define OP_GE 290
#define LAMBDA 291
#define GENERIC_LT 292
#define OP_LT 293
#define OP_GT 294
#define OP_NEG 295
#define CARRET 296
#define BITWISE_OR 297
#define BITWISE_AND 298
#define OP_OR 299
#define OP_AND 300
#define TILDE 301
#define ASSIGN 302
#define PLUS 303
#define MINUS 304
#define STAR 305
#define DIV 306
#define PERCENT 307
#define ABSTRACT 308
#define BASE 309
#define BREAK 310
#define CASE 311
#define CATCH 312
#define CLASS 313
#define CONST 314
#define CONSTRUCT 315
#define CONTINUE 316
#define DEFAULT 317
#define DELEGATE 318
#define DO 319
#define ELSE 320
#define ENUM 321
#define VALA_FALSE 322
#define FINALLY 323
#define FOR 324
#define FOREACH 325
#define GET 326
#define IF 327
#define IN 328
#define INTERFACE 329
#define IS 330
#define LOCK 331
#define NAMESPACE 332
#define NEW 333
#define VALA_NULL 334
#define OUT 335
#define OVERRIDE 336
#define PRIVATE 337
#define PROTECTED 338
#define PUBLIC 339
#define REF 340
#define RETURN 341
#define SET 342
#define SIGNAL 343
#define SIZEOF 344
#define STATIC 345
#define STRUCT 346
#define SWITCH 347
#define THIS 348
#define THROW 349
#define THROWS 350
#define VALA_TRUE 351
#define TRY 352
#define TYPEOF 353
#define USING 354
#define VAR 355
#define VIRTUAL 356
#define WEAK 357
#define WHILE 358
#define IDENTIFIER 359
#define INTEGER_LITERAL 360
#define REAL_LITERAL 361
#define CHARACTER_LITERAL 362
#define STRING_LITERAL 363




/* Copy the first part of user declarations.  */
#line 24 "parser.y"

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <glib.h>

#include "vala.h"
#include "parser.h"

#define src(l) (vala_source_reference_new (current_source_file, l.first_line, l.first_column, l.last_line, l.last_column))

#define src_com(l,c) (vala_source_reference_new_with_comment (current_source_file, l.first_line, l.first_column, l.last_line, l.last_column, c))

static ValaSourceFile *current_source_file;
static GList *symbol_stack;
static GList *scope_stack;

typedef enum {
      VALA_MODIFIER_NONE,
      VALA_MODIFIER_ABSTRACT = 1 << 0,
      VALA_MODIFIER_OVERRIDE = 1 << 1,
      VALA_MODIFIER_STATIC = 1 << 2,
      VALA_MODIFIER_VIRTUAL = 1 << 3
} ValaModifier;

int yylex (YYSTYPE *yylval_param, YYLTYPE *yylloc_param, ValaParser *parser);
static void yyerror (YYLTYPE *locp, ValaParser *parser, const char *msg);

static void push_symbol (ValaSymbol *symbol);
static ValaSymbol *pop_symbol (void);

static gboolean check_is_namespace (ValaSymbol *symbol, ValaSourceReference *src);
static gboolean check_is_class (ValaSymbol *symbol, ValaSourceReference *src);


/* 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 1
#endif

/* Enabling the token table.  */
#ifndef YYTOKEN_TABLE
# define YYTOKEN_TABLE 0
#endif

#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 66 "parser.y"
{
      int num;
      char *str;
      GList *list;
      ValaLiteral *literal;
      ValaTypeReference *type_reference;
      ValaExpression *expression;
      ValaStatement *statement;
      ValaBlock *block;
      ValaStruct *struct_;
      ValaInterface *interface;
      ValaEnumValue *enum_value;
      ValaConstant *constant;
      ValaField *field;
      ValaMethod *method;
      ValaFormalParameter *formal_parameter;
      ValaProperty *property;
      ValaPropertyAccessor *property_accessor;
      ValaSignal *signal;
      ValaConstructor *constructor;
      ValaDestructor *destructor;
      ValaLocalVariableDeclaration *local_variable_declaration;
      ValaVariableDeclarator *variable_declarator;
      ValaTypeParameter *type_parameter;
      ValaAttribute *attribute;
      ValaNamedArgument *named_argument;
      ValaSwitchSection *switch_section;
      ValaSwitchLabel *switch_label;
      ValaCatchClause *catch_clause;
}
/* Line 187 of yacc.c.  */
#line 379 "parser.c"
      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


/* Copy the second part of user declarations.  */


/* Line 216 of yacc.c.  */
#line 404 "parser.c"

#ifdef short
# undef short
#endif

#ifdef YYTYPE_UINT8
typedef YYTYPE_UINT8 yytype_uint8;
#else
typedef unsigned char yytype_uint8;
#endif

#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#elif (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
typedef signed char yytype_int8;
#else
typedef short int yytype_int8;
#endif

#ifdef YYTYPE_UINT16
typedef YYTYPE_UINT16 yytype_uint16;
#else
typedef unsigned short int yytype_uint16;
#endif

#ifdef YYTYPE_INT16
typedef YYTYPE_INT16 yytype_int16;
#else
typedef short int yytype_int16;
#endif

#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
#  define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
#  define YYSIZE_T size_t
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  define YYSIZE_T size_t
# else
#  define YYSIZE_T unsigned int
# endif
#endif

#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)

#ifndef YY_
# if YYENABLE_NLS
#  if ENABLE_NLS
#   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
#   define YY_(msgid) dgettext ("bison-runtime", msgid)
#  endif
# endif
# ifndef YY_
#  define YY_(msgid) msgid
# endif
#endif

/* Suppress unused-variable warnings by "using" E.  */
#if ! defined lint || defined __GNUC__
# define YYUSE(e) ((void) (e))
#else
# define YYUSE(e) /* empty */
#endif

/* Identity function, used to suppress warnings about constant conditions.  */
#ifndef lint
# define YYID(n) (n)
#else
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static int
YYID (int i)
#else
static int
YYID (i)
    int i;
#endif
{
  return i;
}
#endif

#if ! defined yyoverflow || YYERROR_VERBOSE

/* The parser invokes alloca or malloc; define the necessary symbols.  */

# ifdef YYSTACK_USE_ALLOCA
#  if YYSTACK_USE_ALLOCA
#   ifdef __GNUC__
#    define YYSTACK_ALLOC __builtin_alloca
#   elif defined __BUILTIN_VA_ARG_INCR
#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
#   elif defined _AIX
#    define YYSTACK_ALLOC __alloca
#   elif defined _MSC_VER
#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
#    define alloca _alloca
#   else
#    define YYSTACK_ALLOC alloca
#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#     ifndef _STDLIB_H
#      define _STDLIB_H 1
#     endif
#    endif
#   endif
#  endif
# endif

# ifdef YYSTACK_ALLOC
   /* Pacify GCC's `empty if-body' warning.  */
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
#  ifndef YYSTACK_ALLOC_MAXIMUM
    /* The OS might guarantee only one guard page at the bottom of the stack,
       and a page size can be as small as 4096 bytes.  So we cannot safely
       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
       to allow for a few compiler-allocated temporary stack slots.  */
#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
#  endif
# else
#  define YYSTACK_ALLOC YYMALLOC
#  define YYSTACK_FREE YYFREE
#  ifndef YYSTACK_ALLOC_MAXIMUM
#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
#  endif
#  if (defined __cplusplus && ! defined _STDLIB_H \
       && ! ((defined YYMALLOC || defined malloc) \
           && (defined YYFREE || defined free)))
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#   ifndef _STDLIB_H
#    define _STDLIB_H 1
#   endif
#  endif
#  ifndef YYMALLOC
#   define YYMALLOC malloc
#   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
#   endif
#  endif
#  ifndef YYFREE
#   define YYFREE free
#   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
void free (void *); /* INFRINGES ON USER NAME SPACE */
#   endif
#  endif
# endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */


#if (! defined yyoverflow \
     && (! defined __cplusplus \
       || (defined 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
{
  yytype_int16 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 (yytype_int16) + 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 (YYID (0))
#  endif
# endif

/* Relocate STACK from its old location to the new one.  The
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   elements in the stack, and YYPTR gives the new location of the
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  */
# define YYSTACK_RELOCATE(Stack)                            \
    do                                                      \
      {                                                     \
      YYSIZE_T yynewbytes;                                  \
      YYCOPY (&yyptr->Stack, Stack, yysize);                      \
      Stack = &yyptr->Stack;                                \
      yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
      yyptr += yynewbytes / sizeof (*yyptr);                      \
      }                                                     \
    while (YYID (0))

#endif

/* YYFINAL -- State number of the termination state.  */
#define YYFINAL  10
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST   2406

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  109
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  199
/* YYNRULES -- Number of rules.  */
#define YYNRULES  418
/* YYNRULES -- Number of states.  */
#define YYNSTATES  704

/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
#define YYUNDEFTOK  2
#define YYMAXUTOK   363

#define YYTRANSLATE(YYX)                                    \
  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
static const yytype_uint8 yytranslate[] =
{
       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
       5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
      15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
      25,    26,    27,    28,    29,    30,    31,    32,    33,    34,
      35,    36,    37,    38,    39,    40,    41,    42,    43,    44,
      45,    46,    47,    48,    49,    50,    51,    52,    53,    54,
      55,    56,    57,    58,    59,    60,    61,    62,    63,    64,
      65,    66,    67,    68,    69,    70,    71,    72,    73,    74,
      75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
      85,    86,    87,    88,    89,    90,    91,    92,    93,    94,
      95,    96,    97,    98,    99,   100,   101,   102,   103,   104,
     105,   106,   107,   108
};

#if YYDEBUG
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
   YYRHS.  */
static const yytype_uint16 yyprhs[] =
{
       0,     0,     3,     4,     6,     8,    10,    12,    14,    16,
      18,    20,    22,    24,    26,    28,    31,    34,    39,    41,
      44,    48,    53,    58,    63,    68,    74,    79,    80,    82,
      84,    88,    90,    92,    94,    99,   104,   108,   109,   111,
     112,   114,   118,   120,   121,   123,   125,   126,   128,   130,
     133,   135,   137,   139,   141,   143,   145,   147,   149,   151,
     153,   155,   157,   159,   162,   166,   171,   176,   181,   183,
     187,   189,   191,   194,   197,   203,   208,   213,   215,   218,
     221,   224,   227,   229,   231,   234,   237,   240,   242,   244,
     246,   249,   252,   257,   260,   263,   265,   269,   273,   277,
     279,   283,   287,   289,   293,   297,   299,   303,   307,   311,
     315,   319,   321,   325,   329,   331,   335,   337,   341,   343,
     347,   349,   353,   355,   359,   361,   367,   373,   377,   383,
     387,   388,   390,   394,   398,   402,   404,   406,   408,   410,
     412,   414,   416,   418,   420,   422,   424,   425,   427,   429,
     431,   433,   435,   437,   439,   441,   443,   445,   447,   449,
     451,   453,   455,   457,   459,   461,   463,   465,   467,   469,
     473,   474,   476,   478,   481,   483,   487,   490,   493,   497,
     500,   505,   506,   508,   512,   514,   516,   518,   520,   522,
     524,   526,   528,   530,   537,   546,   553,   557,   558,   560,
     562,   565,   569,   571,   574,   578,   581,   583,   585,   587,
     589,   595,   603,   613,   623,   624,   626,   628,   632,   641,
     643,   645,   647,   649,   652,   655,   659,   663,   668,   672,
     675,   677,   679,   682,   689,   690,   692,   695,   696,   698,
     701,   708,   709,   716,   720,   724,   725,   727,   730,   731,
     733,   735,   738,   742,   743,   745,   747,   750,   752,   754,
     755,   757,   759,   762,   764,   766,   768,   770,   772,   774,
     776,   778,   779,   791,   792,   794,   796,   798,   800,   801,
     803,   805,   808,   810,   812,   814,   816,   817,   819,   822,
     824,   828,   832,   833,   835,   837,   840,   842,   844,   846,
     848,   850,   852,   854,   856,   858,   866,   874,   875,   877,
     881,   883,   887,   891,   892,   894,   896,   900,   902,   904,
     907,   910,   921,   932,   934,   936,   937,   939,   941,   945,
     947,   949,   953,   954,   956,   961,   968,   969,   971,   974,
     985,   995,   999,  1000,  1002,  1006,  1011,  1015,  1026,  1031,
    1041,  1042,  1046,  1055,  1059,  1060,  1062,  1064,  1067,  1069,
    1071,  1072,  1084,  1088,  1089,  1091,  1093,  1096,  1098,  1100,
    1102,  1104,  1105,  1114,  1119,  1120,  1123,  1125,  1129,  1132,
    1137,  1138,  1140,  1143,  1146,  1148,  1163,  1164,  1166,  1168,
    1170,  1173,  1177,  1181,  1183,  1187,  1189,  1194,  1196,  1197,
    1199,  1201,  1205,  1209,  1210,  1212,  1216,  1218,  1222,  1224,
    1225,  1227,  1231,  1233,  1237,  1239,  1241,  1243,  1246
};

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

/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
static const yytype_uint16 yyrline[] =
{
       0,   372,   372,   374,   379,   380,   384,   391,   392,   399,
     406,   413,   420,   429,   435,   444,   448,   461,   478,   482,
     489,   497,   506,   515,   524,   533,   543,   556,   559,   563,
     567,   574,   578,   579,   583,   601,   614,   622,   625,   630,
     633,   637,   641,   646,   649,   653,   661,   664,   668,   672,
     679,   686,   687,   688,   689,   690,   691,   692,   693,   694,
     695,   696,   697,   701,   720,   730,   750,   769,   785,   789,
     796,   805,   814,   824,   834,   855,   864,   873,   874,   881,
     888,   895,   902,   903,   904,   911,   918,   925,   926,   927,
     931,   941,   951,   962,   972,   982,   983,   991,   999,  1010,
    1011,  1019,  1030,  1031,  1041,  1052,  1053,  1061,  1069,  1077,
    1085,  1096,  1097,  1105,  1116,  1117,  1128,  1129,  1140,  1141,
    1152,  1153,  1164,  1165,  1176,  1177,  1189,  1204,  1213,  1228,
    1241,  1244,  1248,  1253,  1260,  1271,  1275,  1279,  1283,  1287,
    1291,  1295,  1299,  1303,  1307,  1311,  1319,  1322,  1326,  1327,
    1328,  1329,  1336,  1337,  1341,  1342,  1343,  1344,  1345,  1346,
    1347,  1351,  1352,  1360,  1368,  1376,  1384,  1392,  1400,  1411,
    1429,  1432,  1436,  1440,  1447,  1456,  1466,  1483,  1499,  1511,
    1519,  1534,  1537,  1544,  1554,  1555,  1556,  1557,  1558,  1559,
    1560,  1564,  1565,  1569,  1579,  1593,  1612,  1620,  1623,  1627,
    1631,  1638,  1659,  1663,  1670,  1677,  1686,  1687,  1688,  1689,
    1693,  1704,  1715,  1741,  1802,  1805,  1809,  1813,  1820,  1836,
    1837,  1838,  1839,  1843,  1852,  1861,  1873,  1885,  1902,  1913,
    1921,  1928,  1932,  1939,  1952,  1955,  1959,  1969,  1972,  1977,
    1984,  1995,  1994,  2024,  2025,  2030,  2033,  2037,  2043,  2045,
    2049,  2050,  2054,  2065,  2067,  2071,  2072,  2076,  2077,  2080,
    2082,  2086,  2087,  2091,  2092,  2093,  2094,  2095,  2096,  2105,
    2118,  2135,  2134,  2225,  2228,  2232,  2236,  2240,  2248,  2251,
    2255,  2256,  2268,  2272,  2276,  2280,  2288,  2291,  2295,  2302,
    2306,  2313,  2316,  2318,  2322,  2323,  2327,  2335,  2343,  2351,
    2359,  2367,  2375,  2383,  2384,  2388,  2402,  2431,  2437,  2441,
    2448,  2455,  2466,  2484,  2487,  2491,  2495,  2502,  2503,  2507,
    2515,  2522,  2578,  2612,  2613,  2621,  2624,  2628,  2629,  2635,
    2644,  2648,  2656,  2659,  2666,  2677,  2694,  2697,  2701,  2708,
    2739,  2770,  2784,  2787,  2791,  2800,  2809,  2821,  2847,  2858,
    2872,  2871,  2882,  2948,  2951,  2953,  2957,  2958,  2962,  2970,
    2982,  2981,  3053,  3056,  3058,  3062,  3063,  3067,  3075,  3083,
    3091,  3103,  3102,  3157,  3160,  3162,  3166,  3167,  3171,  3178,
    3188,  3190,  3194,  3195,  3199,  3210,  3277,  3280,  3284,  3288,
    3289,  3296,  3300,  3307,  3311,  3318,  3325,  3346,  3351,  3354,
    3358,  3362,  3369,  3382,  3385,  3389,  3396,  3400,  3407,  3418,
    3421,  3425,  3432,  3436,  3443,  3453,  3454,  3458,  3474
};
#endif

#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
static const char *const yytname[] =
{
  "$end", "error", "$undefined", "\"{\"", "\"}\"", "\"(\"", "\"cast (\"",
  "\")\"", "\"[]\"", "\"[\"", "\"]\"", "\"...\"", "\".\"", "\":\"",
  "\",\"", "\";\"", "\"#\"", "\"?\"", "\"|=\"", "\"&=\"", "\"^=\"",
  "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"%=\"", "\"<<=\"", "\">>=\"",
  "\"++\"", "\"--\"", "\"==\"", "\"!=\"", "\"<<\"", "\">>\"", "\"<=\"",
  "\">=\"", "\"=>\"", "\"generic <\"", "\"<\"", "\">\"", "\"!\"", "\"^\"",
  "\"|\"", "\"&\"", "\"||\"", "\"&&\"", "\"~\"", "\"=\"", "\"+\"", "\"-\"",
  "\"*\"", "\"/\"", "\"%\"", "\"abstract\"", "\"base\"", "\"break\"",
  "\"case\"", "\"catch\"", "\"class\"", "\"const\"", "\"construct\"",
  "\"continue\"", "\"default\"", "\"delegate\"", "\"do\"", "\"else\"",
  "\"enum\"", "\"false\"", "\"finally\"", "\"for\"", "\"foreach\"",
  "\"get\"", "\"if\"", "\"in\"", "\"interface\"", "\"is\"", "\"lock\"",
  "\"namespace\"", "\"new\"", "\"null\"", "\"out\"", "\"override\"",
  "\"private\"", "\"protected\"", "\"public\"", "\"ref\"", "\"return\"",
  "\"set\"", "\"signal\"", "\"sizeof\"", "\"static\"", "\"struct\"",
  "\"switch\"", "\"this\"", "\"throw\"", "\"throws\"", "\"true\"",
  "\"try\"", "\"typeof\"", "\"using\"", "\"var\"", "\"virtual\"",
  "\"weak\"", "\"while\"", "\"identifier\"", "\"integer\"", "\"real\"",
  "\"character\"", "\"string\"", "$accept", "opt_comma", "identifier",
  "literal", "boolean_literal", "compilation_unit", "type_name", "stars",
  "type", "opt_argument_list", "argument_list", "argument",
  "primary_expression", "array_creation_expression", "size_specifier_list",
  "opt_initializer", "opt_rank_specifier", "rank_specifier",
  "opt_bracket_pair", "bracket_pair", "opt_comma_list", "comma_list",
  "primary_no_array_creation_expression", "simple_name",
  "parenthesized_expression", "member_access", "invocation_expression",
  "element_access", "expression_list", "this_access", "base_access",
  "post_increment_expression", "post_decrement_expression",
  "object_creation_expression", "sizeof_expression", "typeof_expression",
  "unary_expression", "pre_increment_expression",
  "pre_decrement_expression", "cast_expression",
  "pointer_indirection_expression", "addressof_expression",
  "multiplicative_expression", "additive_expression", "shift_expression",
  "relational_expression", "equality_expression", "and_expression",
  "exclusive_or_expression", "inclusive_or_expression",
  "conditional_and_expression", "conditional_or_expression",
  "conditional_expression", "lambda_expression",
  "opt_lambda_parameter_list", "lambda_parameter_list", "assignment",
  "assignment_operator", "opt_expression", "expression", "statement",
  "embedded_statement", "block", "opt_statement_list", "statement_list",
  "empty_statement", "declaration_statement", "local_variable_declaration",
  "local_variable_type", "opt_op_neg", "expression_statement",
  "statement_expression", "selection_statement", "if_statement",
  "switch_statement", "switch_block", "opt_switch_sections",
  "switch_sections", "switch_section", "switch_labels", "switch_label",
  "iteration_statement", "while_statement", "do_statement",
  "for_statement", "opt_statement_expression_list",
  "statement_expression_list", "foreach_statement", "jump_statement",
  "break_statement", "continue_statement", "return_statement",
  "throw_statement", "try_statement", "catch_clauses",
  "specific_catch_clauses", "specific_catch_clause",
  "opt_general_catch_clause", "general_catch_clause", "opt_finally_clause",
  "finally_clause", "lock_statement", "namespace_declaration", "@1",
  "namespace_body", "opt_name_specifier", "name_specifier",
  "opt_using_directives", "using_directives", "using_directive",
  "opt_outer_declarations", "outer_declarations", "outer_declaration",
  "opt_namespace_member_declarations", "namespace_member_declarations",
  "namespace_member_declaration", "class_declaration", "@2",
  "opt_access_modifier", "access_modifier", "opt_modifiers", "modifiers",
  "modifier", "opt_class_base", "class_base", "type_list", "class_body",
  "opt_class_member_declarations", "class_member_declarations",
  "class_member_declaration", "constant_declaration", "field_declaration",
  "comment", "variable_declarators", "variable_declarator", "initializer",
  "opt_variable_initializer_list", "variable_initializer_list",
  "variable_initializer", "method_declaration", "method_header",
  "method_body", "opt_formal_parameter_list", "formal_parameter_list",
  "fixed_parameters", "opt_construct", "fixed_parameter",
  "opt_throws_declaration", "throws_declaration", "property_declaration",
  "get_accessor_declaration", "opt_set_accessor_declaration",
  "set_accessor_declaration", "signal_declaration",
  "constructor_declaration", "destructor_declaration",
  "struct_declaration", "@3", "struct_header", "struct_body",
  "opt_struct_member_declarations", "struct_member_declarations",
  "struct_member_declaration", "interface_declaration", "@4",
  "interface_body", "opt_interface_member_declarations",
  "interface_member_declarations", "interface_member_declaration",
  "enum_declaration", "@5", "enum_body", "opt_enum_member_declarations",
  "enum_member_declarations", "enum_member_declaration",
  "opt_enum_method_declarations", "enum_method_declarations",
  "enum_method_declaration", "callback_declaration", "opt_attributes",
  "attributes", "attribute_sections", "attribute_section",
  "attribute_list", "attribute", "attribute_name",
  "opt_named_argument_list", "named_argument_list", "named_argument",
  "opt_type_parameter_list", "type_parameter_list", "type_parameters",
  "type_parameter", "opt_type_argument_list", "type_argument_list",
  "type_arguments", "type_argument", "open_parens", "member_name", 0
};
#endif

# ifdef YYPRINT
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
   token YYLEX-NUM.  */
static const yytype_uint16 yytoknum[] =
{
       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
     275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
     285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
     295,   296,   297,   298,   299,   300,   301,   302,   303,   304,
     305,   306,   307,   308,   309,   310,   311,   312,   313,   314,
     315,   316,   317,   318,   319,   320,   321,   322,   323,   324,
     325,   326,   327,   328,   329,   330,   331,   332,   333,   334,
     335,   336,   337,   338,   339,   340,   341,   342,   343,   344,
     345,   346,   347,   348,   349,   350,   351,   352,   353,   354,
     355,   356,   357,   358,   359,   360,   361,   362,   363
};
# endif

/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
static const yytype_uint16 yyr1[] =
{
       0,   109,   110,   110,   111,   111,   111,   112,   112,   112,
     112,   112,   112,   113,   113,   114,   115,   115,   116,   116,
     117,   117,   117,   117,   117,   117,   117,   118,   118,   119,
     119,   120,   121,   121,   122,   122,   123,   124,   124,   125,
     125,   126,   126,   127,   127,   128,   129,   129,   130,   130,
     131,   131,   131,   131,   131,   131,   131,   131,   131,   131,
     131,   131,   131,   132,   133,   134,   135,   136,   137,   137,
     138,   139,   140,   141,   142,   143,   144,   145,   145,   145,
     145,   145,   145,   145,   145,   145,   145,   145,   145,   145,
     146,   147,   148,   149,   150,   151,   151,   151,   151,   152,
     152,   152,   153,   153,   153,   154,   154,   154,   154,   154,
     154,   155,   155,   155,   156,   156,   157,   157,   158,   158,
     159,   159,   160,   160,   161,   161,   162,   162,   162,   162,
     163,   163,   164,   164,   165,   166,   166,   166,   166,   166,
     166,   166,   166,   166,   166,   166,   167,   167,   168,   168,
     168,   168,   169,   169,   169,   169,   169,   169,   169,   169,
     169,   170,   170,   170,   170,   170,   170,   170,   170,   171,
     172,   172,   173,   173,   174,   175,   176,   176,   177,   177,
     177,   178,   178,   179,   180,   180,   180,   180,   180,   180,
     180,   181,   181,   182,   182,   183,   184,   185,   185,   186,
     186,   187,   188,   188,   189,   189,   190,   190,   190,   190,
     191,   192,   193,   193,   194,   194,   195,   195,   196,   197,
     197,   197,   197,   198,   199,   200,   201,   202,   202,   203,
     203,   204,   204,   205,   206,   206,   207,   208,   208,   209,
     210,   212,   211,   213,   213,   214,   214,   215,   216,   216,
     217,   217,   218,   219,   219,   220,   220,   221,   221,   222,
     222,   223,   223,   224,   224,   224,   224,   224,   224,   224,
     224,   226,   225,   227,   227,   228,   228,   228,   229,   229,
     230,   230,   231,   231,   231,   231,   232,   232,   233,   234,
     234,   235,   236,   236,   237,   237,   238,   238,   238,   238,
     238,   238,   238,   238,   238,   239,   240,   241,   242,   242,
     243,   243,   244,   245,   245,   246,   246,   247,   247,   248,
     248,   249,   249,   250,   250,   251,   251,   252,   252,   252,
     253,   253,   254,   254,   255,   255,   256,   256,   257,   258,
     258,   259,   260,   260,   261,   261,   261,   262,   263,   264,
     266,   265,   267,   268,   269,   269,   270,   270,   271,   271,
     273,   272,   274,   275,   275,   276,   276,   277,   277,   277,
     277,   279,   278,   280,   281,   281,   282,   282,   283,   283,
     284,   284,   285,   285,   286,   287,   288,   288,   289,   290,
     290,   291,   291,   292,   292,   293,   293,   294,   295,   295,
     296,   296,   297,   298,   298,   299,   300,   300,   301,   302,
     302,   303,   304,   304,   305,   306,   306,   307,   307
};

/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
static const yytype_uint8 yyr2[] =
{
       0,     2,     0,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     2,     2,     4,     1,     2,
       3,     4,     4,     4,     4,     5,     4,     0,     1,     1,
       3,     1,     1,     1,     4,     4,     3,     0,     1,     0,
       1,     3,     1,     0,     1,     1,     0,     1,     1,     2,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     2,     3,     4,     4,     4,     1,     3,
       1,     1,     2,     2,     5,     4,     4,     1,     2,     2,
       2,     2,     1,     1,     2,     2,     2,     1,     1,     1,
       2,     2,     4,     2,     2,     1,     3,     3,     3,     1,
       3,     3,     1,     3,     3,     1,     3,     3,     3,     3,
       3,     1,     3,     3,     1,     3,     1,     3,     1,     3,
       1,     3,     1,     3,     1,     5,     5,     3,     5,     3,
       0,     1,     3,     3,     3,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     0,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     3,
       0,     1,     1,     2,     1,     3,     2,     2,     3,     2,
       4,     0,     1,     3,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     6,     8,     6,     3,     0,     1,     1,
       2,     3,     1,     2,     3,     2,     1,     1,     1,     1,
       5,     7,     9,     9,     0,     1,     1,     3,     8,     1,
       1,     1,     1,     2,     2,     3,     3,     4,     3,     2,
       1,     1,     2,     6,     0,     1,     2,     0,     1,     2,
       6,     0,     6,     3,     3,     0,     1,     2,     0,     1,
       1,     2,     3,     0,     1,     1,     2,     1,     1,     0,
       1,     1,     2,     1,     1,     1,     1,     1,     1,     1,
       1,     0,    11,     0,     1,     1,     1,     1,     0,     1,
       1,     2,     1,     1,     1,     1,     0,     1,     2,     1,
       3,     3,     0,     1,     1,     2,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     7,     7,     0,     1,     3,
       1,     3,     3,     0,     1,     1,     3,     1,     1,     2,
       2,    10,    10,     1,     1,     0,     1,     1,     3,     1,
       1,     3,     0,     1,     4,     6,     0,     1,     2,    10,
       9,     3,     0,     1,     3,     4,     3,    10,     4,     9,
       0,     3,     8,     3,     0,     1,     1,     2,     1,     1,
       0,    11,     3,     0,     1,     1,     2,     1,     1,     1,
       1,     0,     8,     4,     0,     2,     1,     3,     2,     4,
       0,     1,     2,     2,     1,    14,     0,     1,     1,     1,
       2,     3,     3,     1,     3,     1,     4,     1,     0,     1,
       1,     3,     3,     0,     1,     3,     1,     3,     1,     0,
       1,     3,     1,     3,     1,     1,     1,     2,     4
};

/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
   means the default is an error.  */
static const yytype_uint16 yydefact[] =
{
     248,     0,     0,     0,   249,   250,     5,     6,     4,     0,
       1,     0,   257,    15,     0,   255,   258,   263,   268,   269,
     386,   270,     0,   264,   350,   265,   266,   267,   251,   252,
     307,   324,   323,   320,   256,     0,   273,   387,   388,   389,
     319,     0,   174,     0,     0,   307,     0,     0,     0,     0,
       0,     0,   172,   153,     0,   307,   154,   152,   155,   156,
     191,   192,   157,   206,   207,   208,   209,   158,   219,   220,
     221,   222,   159,   160,     0,     0,   397,     0,   393,   395,
       0,   277,   276,   275,   278,   274,   390,     0,   351,   223,
     224,     0,   161,   162,   163,   164,   165,   166,   167,   168,
       0,   214,     0,   151,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,    71,    14,     0,    12,     0,
       0,     0,    70,    13,     0,     8,     9,    10,    11,   409,
      50,     7,    77,    33,    32,    51,    52,    53,    54,    55,
      56,    57,    58,    59,    60,    61,    62,    95,    82,    83,
      87,    88,    89,    99,   102,   105,   111,   114,   116,   118,
     120,   122,   124,   148,   149,   150,     0,   147,     0,     0,
     415,   416,     0,   169,   173,     0,     0,     0,     0,     0,
       0,   409,    77,    54,    58,    59,    60,     0,    82,    83,
     186,     0,     0,     0,   392,   391,     0,   398,   241,   282,
       0,     0,   283,   284,     0,   285,     0,   279,   280,   358,
     386,   359,     0,     0,   356,     0,     0,   216,     0,   215,
       0,     0,     0,   409,    39,     0,   409,     0,   131,     0,
       0,    86,    90,    91,    80,    94,    81,    78,    79,    93,
     409,     0,    85,    84,     0,     0,     0,     0,    63,   410,
       0,    72,    73,     0,     0,   136,   137,   138,   139,   140,
     141,   142,   143,   144,   145,   135,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   225,   226,     0,
       0,   237,   234,   231,   230,   228,     0,     0,     0,     0,
     310,   177,   308,    43,    45,    18,   179,   181,    44,   175,
     176,   183,   394,     0,     0,   399,   400,     0,     0,   245,
     245,     0,     0,     0,   409,     0,   281,   273,   353,   357,
       0,     0,     0,     0,     0,    39,    39,    39,     0,    16,
      46,    39,   181,    40,    42,     0,     0,     0,     0,    64,
       0,   417,     0,     0,    37,     0,     0,     0,     0,   127,
     129,   414,     0,   412,   409,     0,    28,    29,    31,     0,
      68,   134,    96,    97,    98,    95,   100,   101,   103,   104,
     108,   109,   106,   107,   110,   112,   113,   115,   117,   119,
     121,     0,   123,     0,   236,   239,   227,   238,   232,   229,
     235,   307,     0,     0,     0,     0,     0,   181,    19,   182,
     178,     0,   396,     0,     0,   242,     0,     0,   371,   246,
     403,   245,     0,   245,     0,     0,   310,     0,   278,     0,
       0,     0,   217,    39,   181,   181,   181,   409,    48,     0,
      47,   181,    20,     0,   132,     0,   133,    92,     0,   409,
       0,    34,    38,    35,     0,    75,    76,     0,   411,    65,
      66,     0,    67,     0,     0,     0,   210,   307,   307,     0,
     317,   318,   311,   309,   180,   402,   401,     0,     0,     0,
     261,   386,   305,   247,     0,     0,   286,   404,   403,   245,
     403,   409,   386,   386,   306,     0,     0,   214,   214,   181,
      24,    23,    21,    17,    41,    49,    26,    22,     0,   126,
     128,    36,   418,     0,   314,   315,    74,   413,    30,    69,
     125,     0,   193,   240,   307,   195,   244,   243,   262,   273,
     386,   372,   408,     0,   406,     0,   352,   287,   286,   403,
     286,   329,     0,   326,   327,   330,   332,     0,   211,     0,
       0,    25,   307,   312,     0,     0,   307,     0,   307,   199,
       0,   380,     2,   376,     0,     0,   405,   289,   288,   271,
       0,   360,   336,   386,   333,     0,   336,   307,   307,   218,
     316,   233,   194,   196,   200,     0,     0,   307,   202,     0,
       0,     0,   386,   375,   378,   407,     0,     0,   386,     0,
       0,   322,   337,   328,   331,     0,   321,   213,   212,     0,
     205,   307,   203,   386,   384,   382,   373,   383,   377,     0,
     290,     0,   272,     0,     0,   361,   338,   334,   204,   273,
     379,   303,     0,     0,   294,   296,   297,   386,   298,   299,
     300,   301,   302,   304,   336,   368,   386,   367,   369,   370,
       0,     0,   365,     0,   278,   291,   295,   273,     0,   273,
     362,   366,   335,     0,     0,   278,   385,   278,     0,   348,
       0,     0,     0,     0,     0,     0,     0,     0,     0,   310,
     386,     0,   386,     0,     0,   386,     0,     0,     0,   349,
       0,   343,     0,   340,     0,     0,     0,   347,   339,   346,
     341,     0,   344,   345
};

/* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
      -1,   593,   181,   130,   131,     2,   224,   306,   325,   365,
     366,   367,   132,   133,   354,   451,   342,   343,   307,   344,
     439,   440,   134,   135,   136,   137,   138,   139,   369,   140,
     141,   142,   143,   144,   145,   146,   147,   148,   149,   150,
     151,   152,   153,   154,   155,   156,   157,   158,   159,   160,
     161,   162,   163,   164,   227,   228,   165,   266,   166,   167,
      52,    91,    92,    54,    55,    93,    57,   191,   192,   410,
      94,   217,    95,    60,    61,   525,   557,   558,   559,   587,
     588,    96,    63,    64,    65,   218,   219,    66,    97,    68,
      69,    70,    71,    98,   291,   292,   293,   399,   294,   396,
     295,    99,    12,   317,   415,   418,   419,     3,     4,     5,
      13,    14,    15,   478,   479,    16,    17,   597,    84,    85,
     206,   207,   208,   536,   537,   568,   622,   632,   633,   634,
      18,    19,   100,   301,   302,   471,   513,   514,   472,    21,
      22,    33,   542,   543,   544,   575,   545,   601,   602,   639,
     685,   690,   686,   640,   641,   642,    23,    41,    24,    88,
     212,   213,   214,    25,   599,   625,   650,   651,   652,    26,
     484,   531,   561,   562,   563,   590,   591,   615,    27,   546,
      37,    38,    39,    77,    78,    79,   314,   315,   316,   486,
     487,   533,   534,   248,   249,   362,   363,   253,   241
};

/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   STATE-NUM.  */
#define YYPACT_NINF -546
static const yytype_int16 yypact[] =
{
     -64,    65,    43,  1473,   -64,  -546,  -546,  -546,  -546,    50,
    -546,   224,  -546,  -546,  1528,  -546,  -546,  -546,  -546,  -546,
      52,  -546,   224,  -546,  -546,  -546,  -546,  -546,  -546,  -546,
    1131,  -546,  -546,  -546,  -546,    36,   366,  -546,    52,  -546,
    -546,   115,  -546,   151,   172,  1301,   200,   244,   992,  1417,
     222,    74,  -546,  -546,   234,  1216,  -546,  -546,  -546,  -546,
    -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,
    -546,  -546,  -546,  -546,  1598,   242,  -546,    64,  -546,   258,
      65,  -546,  -546,  -546,   117,  -546,  -546,  2134,  -546,  -546,
    -546,   166,  -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,
    1683,  1768,   302,  -546,  1077,   302,  1853,  1853,  1853,  1853,
    1853,  1853,  1853,  1853,  1853,  -546,  -546,    65,  -546,  1853,
    1853,    74,  -546,  -546,    74,  -546,  -546,  -546,  -546,   317,
    -546,  -546,   245,  -546,   274,  -546,  -546,  -546,  -546,  -546,
    -546,  -546,  -546,  -546,  -546,  -546,  -546,   774,  -546,  -546,
    -546,  -546,  -546,   404,   299,   327,   233,   350,   246,   262,
     265,   268,   137,  -546,  -546,  -546,   295,  -546,   307,   152,
    -546,  -546,  1417,  -546,  -546,  1417,    74,   326,    74,    65,
     312,   348,  2302,   285,   336,   342,   388,   774,   414,   416,
    -546,   329,    65,   349,  -546,  -546,    65,    65,  -546,  -546,
     302,    65,  -546,  -546,    65,  -546,   217,    90,  -546,  -546,
      52,  -546,   390,  2159,  -546,    74,   412,  -546,   417,   423,
     126,    65,    65,   173,   123,    65,   219,   437,   438,   451,
     454,  -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,
     348,   430,  -546,  -546,    65,    65,  1162,   302,  -546,  -546,
      65,  -546,  -546,  1247,  1417,  -546,  -546,  -546,  -546,  -546,
    -546,  -546,  -546,  -546,  -546,  -546,  1417,  1853,  1853,  1853,
    1853,  1853,  1853,  1853,  1853,  1853,  1853,  1853,   302,  1853,
    1853,  1853,  1853,  1853,  1853,  1417,  1853,  -546,  -546,   293,
     222,   395,   408,  -546,  -546,  -546,   461,  1417,  1417,  1417,
     435,   470,  -546,   490,  -546,  -546,   449,   460,  -546,  -546,
     470,  -546,  -546,   465,   500,   507,  -546,   511,    65,   512,
     512,    65,   302,    65,    55,    65,  -546,   444,  -546,  -546,
    1417,   992,   992,  1853,    65,   389,   389,   389,    65,  -546,
     518,   138,   460,  -546,  -546,   463,    65,   503,    65,  -546,
    1853,  -546,   737,    65,   543,   543,  1247,   540,   541,  -546,
    -546,  -546,   178,  -546,   348,   544,   539,  -546,  -546,   180,
    -546,  -546,  -546,  -546,  -546,  -546,   404,   404,   299,   299,
     327,   327,   327,   327,  -546,   233,   233,   350,   246,   262,
     265,   545,   268,   302,  -546,  -546,  -546,  -546,  -546,  -546,
    -546,  1301,   550,   552,   553,  1332,    65,   460,  -546,  -546,
    -546,  1417,  -546,    65,  1909,  -546,   546,    65,  -546,  -546,
     526,   512,    65,   512,    65,   565,    46,   556,    90,   566,
     567,   568,  -546,   389,   460,   460,   460,   348,  -546,   570,
     577,   460,   576,  1417,  -546,  1162,  -546,  -546,   267,   348,
     907,  -546,  -546,  -546,   574,  -546,  -546,   302,  -546,  -546,
    -546,  1417,  -546,  1417,  1417,    65,  -546,  1301,  1301,   581,
    -546,  -546,  -546,  -546,  -546,  -546,  -546,   113,   589,  1962,
    -546,    52,  -546,  -546,   592,    65,   584,  -546,   526,   512,
     526,    78,   400,   400,  -546,   302,   587,  1853,  1853,   460,
    -546,  -546,  -546,  -546,  -546,  -546,  -546,  -546,   599,  -546,
    -546,  -546,  -546,   603,   594,  -546,  -546,  -546,  -546,  -546,
    -546,   604,   547,  -546,   606,  -546,  -546,  -546,  -546,   444,
     311,  -546,  -546,   209,  -546,    65,  -546,  -546,   584,   526,
     584,  -546,   607,  -546,   602,  -546,   557,   611,  -546,   613,
     614,  -546,  1301,  -546,  1332,   222,  1301,   609,   622,  -546,
       2,   612,   616,  -546,    65,    65,  -546,  -546,   619,  -546,
     623,  -546,   542,   319,  -546,   302,   542,  1301,  1301,  -546,
    -546,  -546,  -546,  -546,  -546,  1417,   625,  1046,  -546,  2219,
     630,  2194,   337,  -546,   588,  -546,    65,   636,   400,   638,
      65,  -546,  -546,  -546,  -546,    65,  -546,  -546,  -546,   629,
    -546,   961,  -546,    52,  -546,  -546,  -546,  -546,  -546,  1417,
    -546,  2015,  -546,   637,   766,  -546,   619,   596,  -546,   444,
    -546,  -546,   642,  2068,  -546,  -546,  -546,    52,  -546,  -546,
    -546,  -546,  -546,  -546,   542,  -546,    52,  -546,  -546,  -546,
     643,  2109,  -546,  1417,    90,  -546,  -546,   251,   633,   444,
    -546,  -546,  -546,   302,   222,   464,  -546,   105,    65,  -546,
     302,    80,   302,   645,    65,    65,    65,   646,   647,   130,
     400,   649,    52,   650,   222,   220,   654,    77,   639,  -546,
     656,  -546,    11,  -546,   224,   224,    51,  -546,  -546,  -546,
    -546,   224,  -546,  -546
};

/* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
    -546,  -546,    40,  -546,  -546,  -546,  -120,   439,    54,   305,
    -546,   201,   -53,  -546,  -546,  -546,  -231,   424,   361,  -153,
    -546,  -546,  -546,  -546,  -546,  -546,   -38,  -546,   314,  -546,
    -546,   -28,   -24,   -19,  -546,  -546,   621,    -6,    -4,  -546,
    -546,  -546,   143,   168,   212,   145,   386,   387,   394,   396,
     384,  -546,  -546,  -546,  -546,  -546,    12,  -546,   140,    70,
     -42,  -377,   -11,  -546,    85,   -25,  -546,   578,  -546,  -273,
     -23,   -51,   -21,  -546,  -546,  -546,  -546,  -546,   120,  -546,
      95,   -15,  -546,  -546,  -546,    32,  -546,  -546,   -13,  -546,
    -546,  -546,  -546,   -10,  -546,  -546,   399,  -546,   402,  -546,
     397,    -8,  -546,  -546,  -546,  -268,  -546,  -546,  -546,   682,
    -546,  -546,   673,  -546,  -546,  -376,  -390,  -546,  -317,  -546,
    -401,  -546,   485,  -163,  -546,    96,  -546,  -546,  -546,    66,
    -374,   -84,    -2,   505,  -292,   188,  -546,  -546,  -432,   -83,
    -546,   -20,  -477,  -546,  -546,  -546,   125,  -545,  -546,  -452,
    -546,  -546,    15,  -435,  -546,  -546,  -363,  -546,  -546,  -546,
    -546,  -546,   488,  -546,  -546,  -546,  -546,  -546,    53,  -546,
    -546,  -546,  -546,  -546,   110,  -546,  -546,   114,  -546,   -14,
    -546,  -546,   668,  -546,   513,  -546,  -546,  -546,   294,  -431,
    -546,  -546,   148,  -215,  -546,  -546,   261,   -37,  -546
};

/* 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 -382
static const yytype_int16 yytable[] =
{
      32,    20,    40,   209,   211,    56,    36,    58,   339,    59,
     428,    32,    20,   174,   172,    62,   547,    67,   515,    53,
      72,   182,    73,   193,   466,   351,   416,   495,    74,   308,
      56,   606,    58,   427,    59,     1,   183,    75,   480,   169,
      62,     9,    67,    10,    53,    72,   184,    73,   182,   193,
     185,   493,   420,    74,    30,   186,   425,   538,   585,   540,
    -245,    35,   183,   183,   586,    29,    31,   424,   188,   442,
     189,   694,   184,   184,   195,    76,   185,   185,   196,   170,
     171,   186,   186,  -247,   244,   210,   190,   245,   129,   129,
     522,   523,   247,   405,   188,   188,   189,   189,   696,   658,
     335,   336,   337,   528,   434,   435,   436,     6,   570,   339,
     441,   701,   190,   190,   473,   247,    30,   526,    87,   168,
     198,   623,   580,     7,   357,   358,   675,   303,    31,   209,
     211,   304,   340,   682,   474,   493,     6,   694,   321,   297,
       8,   299,   223,   199,   226,   223,   304,   340,   695,   459,
     308,     6,     7,   488,   285,   490,   225,   240,   199,   230,
     220,   500,   501,   502,   696,   221,    89,     7,   506,     8,
     199,   202,   648,   305,   229,   579,   200,   405,   330,   582,
     203,   286,   222,   201,     8,   338,   202,    90,   408,   649,
     462,   205,   457,   670,   463,   203,   327,     6,   202,   648,
     607,   608,   499,   683,   356,   101,   205,   203,   204,   289,
     247,   210,   129,     7,   433,   129,   649,   458,   205,   300,
     290,   539,   503,   565,  -342,    30,   551,    30,   334,    35,
       8,   631,   300,   346,   512,   360,    76,   313,   173,    31,
     223,   319,   296,   631,   320,   229,   324,   635,   566,   102,
     170,   171,   194,   663,   318,   246,   247,   250,   643,   635,
     223,   223,   223,   197,   671,   345,   672,   274,   275,   215,
     643,   276,   277,   251,   252,   321,   503,   511,   394,   395,
     322,   463,   432,   254,   223,   223,   129,   223,     6,   281,
     364,   323,  -184,   129,   129,   183,    30,   220,   393,  -184,
    -184,   361,   221,   282,     7,   184,   129,   283,   278,   185,
     287,   664,   654,   284,   186,  -374,   359,   175,   223,   222,
      35,     8,   288,   368,   370,   129,  -374,   188,    35,   189,
     603,   298,   384,    81,    82,    83,   371,   129,   129,   129,
     665,    -3,   667,  -187,   309,   190,    35,   270,   271,  -188,
    -187,  -187,    -3,   246,   247,   391,  -188,  -188,   300,   272,
     273,   421,   223,   423,   311,   426,   115,   402,   403,   404,
     129,   129,   129,     6,   223,   569,   422,   571,   437,   116,
     279,   280,   220,     6,   427,   247,   444,   221,   446,     7,
     117,   118,   129,   449,   328,  -185,   129,   304,   340,     7,
     429,   121,  -185,  -185,   222,   122,     8,  -325,   123,    35,
     124,   541,   481,   376,   377,   567,     8,   125,   126,   127,
     128,  -189,   370,  -190,   385,   386,   368,   331,  -189,  -189,
    -190,  -190,   332,   223,   510,   170,   171,   333,   304,   352,
     378,   379,   353,    80,   347,   129,   300,   465,    81,    82,
      83,   129,   348,   313,   267,   268,   269,   483,   349,   183,
     183,   350,   489,   290,   491,   289,    32,   529,   401,   184,
     184,   430,   431,   185,   185,   470,   620,   481,   186,   186,
     567,   475,   405,   129,   406,   129,   380,   381,   382,   383,
     129,   188,   188,   189,   189,   170,   171,   223,   304,   408,
     409,   129,   250,   129,   129,   521,   614,   412,   614,   190,
     190,   361,   411,   508,   414,   509,   564,   199,   251,   252,
     470,   413,   560,   200,   417,   532,    81,    82,    83,   549,
     550,   368,   438,   519,   520,   324,   443,   636,   638,   445,
     645,   647,   452,   453,   581,   202,   450,   455,   456,   636,
     638,   460,   670,   461,   203,   204,   560,   467,   464,   468,
     469,   482,    56,   485,    58,   205,    59,   645,   647,   174,
     492,   494,    62,   496,    67,   223,    53,    72,   564,    73,
     504,   516,   497,   498,   524,    74,    56,   613,    58,   613,
      59,   505,   507,   527,   129,   530,    62,   535,    67,   629,
      53,    72,   548,    73,   594,   532,   552,   553,   554,    74,
    -197,   555,   556,   583,   572,   223,   573,   574,   576,   637,
     577,   578,   646,   657,   470,   129,  -198,   589,   598,   605,
     592,   637,   659,   596,   616,   619,   223,   600,   610,   621,
     223,   624,   628,   653,   644,   627,   655,   660,   666,   646,
     493,   680,   681,   669,   697,   609,   684,   688,   693,   129,
     698,   454,   518,   341,   407,   355,   448,   387,   687,   388,
     392,   692,   611,   689,   699,   700,   702,   389,   584,   216,
     390,   703,   612,    32,    32,    32,    28,    34,   397,   630,
      32,   398,   326,   129,   400,   187,   626,   310,   604,   656,
     691,   329,   618,   324,   661,   617,    86,   476,   673,   312,
     223,   324,   324,   595,   677,   678,   679,   668,   517,     0,
       0,   187,   187,   662,   674,   676,   676,   231,   232,   233,
     234,   235,   236,   237,   238,   239,     0,     0,   103,     0,
     242,   243,   104,   105,     0,     0,     0,   -46,     0,     0,
       0,   438,     0,   106,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   107,   108,    11,     0,     0,
    -363,     0,     0,     0,     0,  -307,     0,   109,     0,     0,
     110,     0,     0,   111,     0,   112,   113,   114,     0,     0,
       0,   115,   255,   256,   257,   258,   259,   260,   261,   262,
     263,   264,     0,     0,   116,     0,     0,     0,     6,     0,
       0,     0,     0,     0,     0,   117,   118,   119,     0,  -307,
       0,   265,   120,     0,     7,     0,   121,     0,     0,     0,
     122,     0,     0,   123,     0,   124,     0,  -307,     0,     0,
       0,     8,   125,   126,   127,   128,  -307,  -307,  -307,  -307,
    -307,  -307,     0,  -307,  -307,     0,  -307,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,  -307,  -307,     0,
    -307,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,   372,   373,
     374,   375,   375,   375,   375,   375,   375,   375,   375,     0,
     375,   375,   375,   375,   375,   375,     0,   375,   103,     0,
     450,  -313,   104,   105,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   106,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   107,   108,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   109,     0,     0,
     110,     0,     0,   111,   187,   112,   113,   114,     0,     0,
       0,   115,     0,     0,    30,  -201,     0,     0,     0,     0,
       0,   447,     0,     0,   116,     0,    42,     0,     6,     0,
       0,     0,     0,     0,     0,   117,   118,   119,     0,     0,
       0,     0,   120,   103,     7,     0,   121,   104,   105,     0,
     122,     0,     0,   123,     0,   124,     0,  -146,   106,     0,
       0,     8,   125,   126,   127,   128,    43,  -201,     0,     0,
     107,   108,    44,  -201,     0,    45,     0,     0,     0,     0,
      46,    47,   109,     0,     0,   110,     0,     0,   111,     0,
     112,   113,   114,     0,     0,     0,   115,    48,     0,    30,
       0,     0,     0,     0,     0,    49,     0,     0,    50,   116,
       0,    42,     0,     6,    51,     0,     0,     0,     0,     0,
     117,   118,   119,     0,     0,     0,     0,   120,   103,     7,
       0,   121,   104,   105,  -130,   122,     0,     0,   123,     0,
     124,     0,     0,   106,     0,     0,     8,   125,   126,   127,
     128,    43,   585,     0,     0,   107,   108,    44,   586,     0,
      45,     0,     0,     0,     0,    46,    47,   109,   187,   187,
     110,     0,     0,   111,     0,   112,   113,   114,     0,     0,
       0,   115,    48,     0,    30,  -170,     0,     0,     0,     0,
      49,     0,     0,    50,   116,     0,    42,     0,     6,    51,
       0,     0,     0,     0,     0,   117,   118,   119,     0,     0,
       0,     0,   120,   103,     7,    30,   121,   104,   105,     0,
     122,     0,     0,   123,     0,   124,     0,     0,   106,     0,
       0,     8,   125,   126,   127,   128,    43,     0,     0,     0,
     107,   108,    44,     0,     0,    45,     0,     0,     0,     0,
      46,    47,   109,     0,     0,   110,     0,     0,   111,     0,
     112,   113,   114,     0,     0,     0,   115,    48,     0,    30,
    -171,     0,     0,     0,     0,    49,     0,     0,    50,   116,
       0,    42,     0,     6,    51,     0,     0,     0,     0,     0,
     117,   118,   119,     0,     0,     0,     0,   120,   103,     7,
       0,   121,   104,   105,   -27,   122,     0,     0,   123,     0,
     124,     0,     0,   106,     0,     0,     8,   125,   126,   127,
     128,    43,     0,     0,     0,   107,   108,    44,     0,     0,
      45,     0,     0,     0,     0,    46,    47,   109,     0,     0,
     110,     0,     0,   111,     0,   112,   113,   114,     0,     0,
       0,   115,    48,     0,    30,     0,     0,     0,     0,     0,
      49,     0,     0,    50,   116,     0,    42,     0,     6,    51,
       0,     0,     0,     0,     0,   117,   118,   119,     0,     0,
       0,     0,   120,   103,     7,   450,   121,   104,   105,     0,
     122,     0,     0,   123,     0,   124,     0,     0,   106,     0,
       0,     8,   125,   126,   127,   128,    43,     0,     0,     0,
     107,   108,    44,     0,     0,    45,     0,     0,     0,     0,
      46,    47,   109,     0,     0,   110,     0,     0,   111,     0,
     112,   113,   114,     0,     0,     0,   115,    48,     0,     0,
       0,     0,     0,     0,     0,    49,     0,     0,    50,   116,
       0,     0,     0,     6,    51,     0,     0,     0,     0,     0,
     117,   118,   119,     0,     0,     0,     0,   120,   103,     7,
       0,   121,   104,   105,     0,   122,     0,     0,   123,     0,
     124,     0,     0,   106,     0,     0,     8,   125,   126,   127,
     128,     0,     0,     0,     0,   107,   108,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   109,     0,     0,
     110,     0,     0,   111,     0,   112,   113,   114,     0,     0,
       0,   115,     0,  -253,    11,     0,     0,     0,     0,     0,
       0,     0,  -307,     0,   116,     0,     0,     0,     6,     0,
       0,     0,     0,     0,     0,   117,   118,   119,     0,     0,
       0,     0,   120,     0,     7,     0,   121,     0,     0,     0,
     122,     0,     0,   123,     0,   124,     0,     0,     0,     0,
       0,     8,   125,   126,   127,   128,  -307,     0,  -254,    11,
       0,  -307,  -307,     0,     0,     0,  -307,  -307,     0,  -307,
       0,     0,     0,     0,  -307,     0,     0,  -307,     0,     0,
    -307,     0,     0,  -307,  -307,  -307,  -307,  -307,  -307,     0,
    -307,     0,     0,  -307,  -307,     0,     0,     0,     0,     0,
       0,     0,     0,     0,  -307,  -307,     0,  -307,     0,     0,
       0,  -307,     0,     0,     0,     0,  -307,  -307,     0,     0,
       0,  -307,     0,     0,  -307,     0,     0,     0,     0,  -307,
       0,     0,  -307,   175,   105,  -307,     0,     0,  -307,  -307,
    -307,  -307,  -307,  -307,   106,  -307,     0,     0,  -307,  -307,
       0,     0,     0,     0,     0,     0,   107,   108,     0,  -307,
    -307,     0,  -307,     0,     0,     0,     0,     0,   109,     0,
       0,   110,     0,     0,   111,     0,   112,   113,   114,     0,
       0,     0,   115,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   116,     0,     0,     0,     6,
     176,     0,     0,     0,   177,     0,   117,   118,   119,     0,
       0,     0,     0,   120,     0,     7,     0,   121,   175,   105,
     178,   122,     0,     0,   123,     0,   124,     0,   179,   106,
     180,     0,     8,   125,   126,   127,   128,     0,     0,     0,
       0,   107,   108,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   109,     0,     0,   110,     0,     0,   111,
       0,   112,   113,   114,     0,     0,     0,   115,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     116,     0,     0,     0,     6,   176,     0,     0,     0,   177,
       0,   117,   118,   119,     0,     0,     0,     0,   120,     0,
       7,     0,   121,   175,   105,   178,   122,     0,     0,   123,
       0,   124,     0,     0,   106,     0,     0,     8,   125,   126,
     127,   128,     0,     0,     0,     0,   107,   108,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,   109,     0,
       0,   110,     0,     0,   111,     0,   112,   113,   114,     0,
       0,     0,   115,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   116,     0,     0,     0,     6,
       0,     0,     0,     0,     0,     0,   117,   118,   119,     0,
       0,     0,     0,   120,     0,     7,     0,   121,   175,   105,
       0,   122,     0,     0,   123,     0,   124,     0,   179,   106,
     180,     0,     8,   125,   126,   127,   128,     0,     0,     0,
       0,   107,   108,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   109,     0,     0,   110,     0,     0,   111,
       0,   112,   113,   114,     0,     0,     0,   115,     0,     0,
     477,     0,     0,  -259,     0,     0,     0,     0,  -307,     0,
     116,     0,     0,     0,     6,     0,     0,     0,     0,     0,
       0,   117,   118,   119,     0,     0,     0,     0,   120,     0,
       7,     0,   121,     0,     0,     0,   122,     0,     0,   123,
       0,   124,     0,     0,     0,     0,     0,     8,   125,   126,
     127,   128,  -307,    11,     0,     0,  -260,  -307,  -307,     0,
       0,  -307,  -307,     0,     0,  -307,     0,     0,     0,     0,
    -307,     0,     0,  -307,     0,     0,     0,     0,     0,  -307,
    -307,  -307,  -307,  -307,  -307,     0,  -307,     0,     0,  -307,
    -307,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    -307,  -307,     0,  -307,     0,  -307,    11,     0,     0,  -292,
    -307,  -307,     0,     0,  -307,  -307,     0,     0,  -307,     0,
       0,     0,     0,  -307,     0,     0,  -307,     0,     0,     0,
       0,     0,  -307,  -307,  -307,  -307,  -307,  -307,     0,  -307,
       0,     0,  -307,  -307,     0,     0,     0,     0,     0,     0,
       0,  -307,     0,  -307,  -307,     0,  -307,     0,  -307,    11,
       0,     0,  -293,  -307,  -307,  -307,     0,  -307,     0,     0,
       0,     0,     0,     0,     0,     0,  -307,     0,     0,     0,
       0,     0,     0,     0,     0,  -307,  -307,  -307,  -307,  -307,
    -307,     0,  -307,  -307,     0,  -307,  -307,     0,     0,     0,
      11,     0,     0,  -364,  -307,     0,  -307,  -307,  -307,  -307,
       0,  -307,     0,     0,     0,     0,  -307,  -307,  -307,     0,
       0,     0,     0,     0,     0,    11,     0,     0,  -354,  -307,
       0,     0,     0,  -307,     0,     0,     0,     0,  -307,  -307,
    -307,  -307,  -307,  -307,     0,  -307,  -307,     0,  -307,  -307,
      11,     0,  -307,  -355,     0,     0,     0,     0,  -307,  -307,
    -307,     0,  -307,     0,     0,     0,     0,     0,     0,     0,
    -307,     0,     0,     0,     0,     0,     0,  -307,     0,  -307,
    -307,  -307,  -307,  -307,  -307,    11,  -307,  -307,  -381,  -307,
       0,     0,     0,  -307,     0,  -307,     0,     0,     0,     0,
    -307,  -307,  -307,  -307,  -307,  -307,  -307,  -307,  -307,  -307,
      11,  -307,     0,     0,  -307,     0,     0,     0,  -307,     0,
    -307,     0,     0,     0,     0,  -307,  -307,     0,  -307,  -307,
    -307,  -307,  -307,  -307,  -307,     0,  -307,  -307,     0,  -307,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    -307,  -307,     0,  -307,     0,  -307,     0,     0,     0,     0,
       0,     0,  -307,     0,  -307,  -307,  -307,  -307,  -307,  -307,
       0,  -307,     0,     0,  -307,     0,     0,     0,     0,     0,
    -307,     0,     0,     0,     0,  -307,  -307,     0,  -307,  -307,
    -307,  -307,  -307,  -307,  -307,     0,  -307,   170,   171,  -307,
     304,     0,     0,     0,   250,     0,     0,     0,     0,     0,
    -307,  -307,     0,  -307,     0,     0,     0,     0,     0,     0,
     251,   252,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   -43,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   305,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   -43,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,   -43,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,   -43
};

static const yytype_int16 yycheck[] =
{
      11,     3,    22,    87,    87,    30,    20,    30,   223,    30,
     327,    22,    14,    55,    51,    30,   493,    30,   450,    30,
      30,    74,    30,    74,   401,   240,   318,   428,    30,   182,
      55,   576,    55,   325,    55,    99,    74,     1,   414,    50,
      55,     1,    55,     0,    55,    55,    74,    55,   101,   100,
      74,     5,   320,    55,     3,    74,   324,   488,    56,   490,
       5,     9,   100,   101,    62,    15,    15,    12,    74,   342,
      74,    60,   100,   101,    10,    35,   100,   101,    14,     5,
       6,   100,   101,     5,   121,    87,    74,   124,    48,    49,
     467,   468,    37,    47,   100,   101,   100,   101,    87,   644,
     220,   221,   222,   479,   335,   336,   337,    71,   539,   324,
     341,    60,   100,   101,   406,    37,     3,     4,     3,    49,
      80,   598,   554,    87,   244,   245,    46,   180,    15,   213,
     213,     8,     9,     3,   407,     5,    71,    60,    58,   176,
     104,   178,   102,    53,   104,   105,     8,     9,    71,   364,
     303,    71,    87,   421,    17,   423,   102,   117,    53,   105,
      80,   434,   435,   436,    87,    85,    15,    87,   441,   104,
      53,    81,   624,    50,   104,   552,    59,    47,   215,   556,
      90,    44,   102,    66,   104,    12,    81,    15,    50,   624,
      10,   101,    14,    88,    14,    90,   210,    71,    81,   651,
     577,   578,   433,   680,   241,     5,   101,    90,    91,    57,
      37,   213,   172,    87,   334,   175,   651,    39,   101,   179,
      68,   489,   437,    14,     4,     3,   499,     3,   102,     9,
     104,   621,   192,    14,   449,   246,   196,   197,     4,    15,
     200,   201,   172,   633,   204,   175,   206,   621,    39,     5,
       5,     6,    10,   654,   200,    36,    37,    12,   621,   633,
     220,   221,   222,     5,   665,   225,   667,    34,    35,   103,
     633,    38,    39,    28,    29,    58,   491,    10,   289,   290,
      63,    14,   333,     9,   244,   245,   246,   247,    71,    43,
     250,    74,     7,   253,   254,   333,     3,    80,     5,    14,
      15,   247,    85,    41,    87,   333,   266,    42,    75,   333,
      15,    60,   629,    45,   333,     4,   246,     5,   278,   102,
       9,   104,    15,   253,   254,   285,    15,   333,     9,   333,
      11,     5,   278,    82,    83,    84,   266,   297,   298,   299,
     657,     4,   659,     7,    15,   333,     9,    48,    49,     7,
      14,    15,    15,    36,    37,   285,    14,    15,   318,    32,
      33,   321,   322,   323,    15,   325,    54,   297,   298,   299,
     330,   331,   332,    71,   334,   538,   322,   540,   338,    67,
      30,    31,    80,    71,   676,    37,   346,    85,   348,    87,
      78,    79,   352,   353,     4,     7,   356,     8,     9,    87,
     330,    89,    14,    15,   102,    93,   104,     7,    96,     9,
      98,    11,   414,   270,   271,   535,   104,   105,   106,   107,
     108,     7,   352,     7,   279,   280,   356,    15,    14,    15,
      14,    15,    15,   393,   445,     5,     6,    14,     8,     9,
     272,   273,    12,    77,     7,   405,   406,   393,    82,    83,
      84,   411,    14,   413,    50,    51,    52,   417,     7,   497,
     498,     7,   422,    68,   424,    57,   477,   481,     7,   497,
     498,   331,   332,   497,   498,   405,   596,   479,   497,   498,
     600,   411,    47,   443,    14,   445,   274,   275,   276,   277,
     450,   497,   498,   497,   498,     5,     6,   457,     8,    50,
      40,   461,    12,   463,   464,   465,   589,     7,   591,   497,
     498,   457,    47,   443,     3,   445,   530,    53,    28,    29,
     450,    14,   524,    59,    12,   485,    82,    83,    84,   497,
     498,   461,    14,   463,   464,   495,    73,   621,   621,    36,
     624,   624,   354,   355,   555,    81,     3,     7,     7,   633,
     633,     7,    88,    14,    90,    91,   558,     7,    13,     7,
       7,    15,   587,    37,   587,   101,   587,   651,   651,   611,
       5,    15,   587,     7,   587,   535,   587,   587,   592,   587,
      10,     7,    15,    15,     3,   587,   611,   589,   611,   591,
     611,    14,    16,     4,   554,     3,   611,    13,   611,   613,
     611,   611,    15,   611,   564,   565,     7,     4,    14,   611,
       4,     7,    65,     4,     7,   575,    14,    60,     7,   621,
       7,     7,   624,   637,   554,   585,     4,    15,     5,   575,
      14,   633,   646,    14,     4,    47,   596,    95,    13,     3,
     600,     3,    13,    47,     7,   605,     4,     4,    15,   651,
       5,     5,     5,   664,    15,   585,     7,     7,     4,   619,
       4,   356,   461,   224,   303,   241,   352,   281,   682,   282,
     286,   685,   587,   684,   694,   695,   696,   283,   558,   101,
     284,   701,   587,   694,   695,   696,     4,    14,   291,   619,
     701,   292,   207,   653,   292,    74,   600,   192,   573,   633,
     685,   213,   592,   663,   651,   591,    38,   413,   668,   196,
     670,   671,   672,   565,   674,   675,   676,   663,   457,    -1,
      -1,   100,   101,   653,   670,   671,   672,   106,   107,   108,
     109,   110,   111,   112,   113,   114,    -1,    -1,     1,    -1,
     119,   120,     5,     6,    -1,    -1,    -1,    10,    -1,    -1,
      -1,    14,    -1,    16,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    28,    29,     1,    -1,    -1,
       4,    -1,    -1,    -1,    -1,     9,    -1,    40,    -1,    -1,
      43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,    -1,
      -1,    54,    18,    19,    20,    21,    22,    23,    24,    25,
      26,    27,    -1,    -1,    67,    -1,    -1,    -1,    71,    -1,
      -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,    53,
      -1,    47,    85,    -1,    87,    -1,    89,    -1,    -1,    -1,
      93,    -1,    -1,    96,    -1,    98,    -1,    71,    -1,    -1,
      -1,   104,   105,   106,   107,   108,    80,    81,    82,    83,
      84,    85,    -1,    87,    88,    -1,    90,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,   101,   102,    -1,
     104,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   267,   268,
     269,   270,   271,   272,   273,   274,   275,   276,   277,    -1,
     279,   280,   281,   282,   283,   284,    -1,   286,     1,    -1,
       3,     4,     5,     6,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    16,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    28,    29,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    40,    -1,    -1,
      43,    -1,    -1,    46,   333,    48,    49,    50,    -1,    -1,
      -1,    54,    -1,    -1,     3,     4,    -1,    -1,    -1,    -1,
      -1,   350,    -1,    -1,    67,    -1,    15,    -1,    71,    -1,
      -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,    -1,
      -1,    -1,    85,     1,    87,    -1,    89,     5,     6,    -1,
      93,    -1,    -1,    96,    -1,    98,    -1,    15,    16,    -1,
      -1,   104,   105,   106,   107,   108,    55,    56,    -1,    -1,
      28,    29,    61,    62,    -1,    64,    -1,    -1,    -1,    -1,
      69,    70,    40,    -1,    -1,    43,    -1,    -1,    46,    -1,
      48,    49,    50,    -1,    -1,    -1,    54,    86,    -1,     3,
      -1,    -1,    -1,    -1,    -1,    94,    -1,    -1,    97,    67,
      -1,    15,    -1,    71,   103,    -1,    -1,    -1,    -1,    -1,
      78,    79,    80,    -1,    -1,    -1,    -1,    85,     1,    87,
      -1,    89,     5,     6,     7,    93,    -1,    -1,    96,    -1,
      98,    -1,    -1,    16,    -1,    -1,   104,   105,   106,   107,
     108,    55,    56,    -1,    -1,    28,    29,    61,    62,    -1,
      64,    -1,    -1,    -1,    -1,    69,    70,    40,   497,   498,
      43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,    -1,
      -1,    54,    86,    -1,     3,     4,    -1,    -1,    -1,    -1,
      94,    -1,    -1,    97,    67,    -1,    15,    -1,    71,   103,
      -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,    -1,
      -1,    -1,    85,     1,    87,     3,    89,     5,     6,    -1,
      93,    -1,    -1,    96,    -1,    98,    -1,    -1,    16,    -1,
      -1,   104,   105,   106,   107,   108,    55,    -1,    -1,    -1,
      28,    29,    61,    -1,    -1,    64,    -1,    -1,    -1,    -1,
      69,    70,    40,    -1,    -1,    43,    -1,    -1,    46,    -1,
      48,    49,    50,    -1,    -1,    -1,    54,    86,    -1,     3,
       4,    -1,    -1,    -1,    -1,    94,    -1,    -1,    97,    67,
      -1,    15,    -1,    71,   103,    -1,    -1,    -1,    -1,    -1,
      78,    79,    80,    -1,    -1,    -1,    -1,    85,     1,    87,
      -1,    89,     5,     6,     7,    93,    -1,    -1,    96,    -1,
      98,    -1,    -1,    16,    -1,    -1,   104,   105,   106,   107,
     108,    55,    -1,    -1,    -1,    28,    29,    61,    -1,    -1,
      64,    -1,    -1,    -1,    -1,    69,    70,    40,    -1,    -1,
      43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,    -1,
      -1,    54,    86,    -1,     3,    -1,    -1,    -1,    -1,    -1,
      94,    -1,    -1,    97,    67,    -1,    15,    -1,    71,   103,
      -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,    -1,
      -1,    -1,    85,     1,    87,     3,    89,     5,     6,    -1,
      93,    -1,    -1,    96,    -1,    98,    -1,    -1,    16,    -1,
      -1,   104,   105,   106,   107,   108,    55,    -1,    -1,    -1,
      28,    29,    61,    -1,    -1,    64,    -1,    -1,    -1,    -1,
      69,    70,    40,    -1,    -1,    43,    -1,    -1,    46,    -1,
      48,    49,    50,    -1,    -1,    -1,    54,    86,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    94,    -1,    -1,    97,    67,
      -1,    -1,    -1,    71,   103,    -1,    -1,    -1,    -1,    -1,
      78,    79,    80,    -1,    -1,    -1,    -1,    85,     1,    87,
      -1,    89,     5,     6,    -1,    93,    -1,    -1,    96,    -1,
      98,    -1,    -1,    16,    -1,    -1,   104,   105,   106,   107,
     108,    -1,    -1,    -1,    -1,    28,    29,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    40,    -1,    -1,
      43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,    -1,
      -1,    54,    -1,     0,     1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,     9,    -1,    67,    -1,    -1,    -1,    71,    -1,
      -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,    -1,
      -1,    -1,    85,    -1,    87,    -1,    89,    -1,    -1,    -1,
      93,    -1,    -1,    96,    -1,    98,    -1,    -1,    -1,    -1,
      -1,   104,   105,   106,   107,   108,    53,    -1,     0,     1,
      -1,    58,    59,    -1,    -1,    -1,    63,     9,    -1,    66,
      -1,    -1,    -1,    -1,    71,    -1,    -1,    74,    -1,    -1,
      77,    -1,    -1,    80,    81,    82,    83,    84,    85,    -1,
      87,    -1,    -1,    90,    91,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,   101,   102,    -1,   104,    -1,    -1,
      -1,    53,    -1,    -1,    -1,    -1,    58,    59,    -1,    -1,
      -1,    63,    -1,    -1,    66,    -1,    -1,    -1,    -1,    71,
      -1,    -1,    74,     5,     6,    77,    -1,    -1,    80,    81,
      82,    83,    84,    85,    16,    87,    -1,    -1,    90,    91,
      -1,    -1,    -1,    -1,    -1,    -1,    28,    29,    -1,   101,
     102,    -1,   104,    -1,    -1,    -1,    -1,    -1,    40,    -1,
      -1,    43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,
      -1,    -1,    54,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    67,    -1,    -1,    -1,    71,
      72,    -1,    -1,    -1,    76,    -1,    78,    79,    80,    -1,
      -1,    -1,    -1,    85,    -1,    87,    -1,    89,     5,     6,
      92,    93,    -1,    -1,    96,    -1,    98,    -1,   100,    16,
     102,    -1,   104,   105,   106,   107,   108,    -1,    -1,    -1,
      -1,    28,    29,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    40,    -1,    -1,    43,    -1,    -1,    46,
      -1,    48,    49,    50,    -1,    -1,    -1,    54,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      67,    -1,    -1,    -1,    71,    72,    -1,    -1,    -1,    76,
      -1,    78,    79,    80,    -1,    -1,    -1,    -1,    85,    -1,
      87,    -1,    89,     5,     6,    92,    93,    -1,    -1,    96,
      -1,    98,    -1,    -1,    16,    -1,    -1,   104,   105,   106,
     107,   108,    -1,    -1,    -1,    -1,    28,    29,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    40,    -1,
      -1,    43,    -1,    -1,    46,    -1,    48,    49,    50,    -1,
      -1,    -1,    54,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    67,    -1,    -1,    -1,    71,
      -1,    -1,    -1,    -1,    -1,    -1,    78,    79,    80,    -1,
      -1,    -1,    -1,    85,    -1,    87,    -1,    89,     5,     6,
      -1,    93,    -1,    -1,    96,    -1,    98,    -1,   100,    16,
     102,    -1,   104,   105,   106,   107,   108,    -1,    -1,    -1,
      -1,    28,    29,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    40,    -1,    -1,    43,    -1,    -1,    46,
      -1,    48,    49,    50,    -1,    -1,    -1,    54,    -1,    -1,
       1,    -1,    -1,     4,    -1,    -1,    -1,    -1,     9,    -1,
      67,    -1,    -1,    -1,    71,    -1,    -1,    -1,    -1,    -1,
      -1,    78,    79,    80,    -1,    -1,    -1,    -1,    85,    -1,
      87,    -1,    89,    -1,    -1,    -1,    93,    -1,    -1,    96,
      -1,    98,    -1,    -1,    -1,    -1,    -1,   104,   105,   106,
     107,   108,    53,     1,    -1,    -1,     4,    58,    59,    -1,
      -1,     9,    63,    -1,    -1,    66,    -1,    -1,    -1,    -1,
      71,    -1,    -1,    74,    -1,    -1,    -1,    -1,    -1,    80,
      81,    82,    83,    84,    85,    -1,    87,    -1,    -1,    90,
      91,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     101,   102,    -1,   104,    -1,    53,     1,    -1,    -1,     4,
      58,    59,    -1,    -1,     9,    63,    -1,    -1,    66,    -1,
      -1,    -1,    -1,    71,    -1,    -1,    74,    -1,    -1,    -1,
      -1,    -1,    80,    81,    82,    83,    84,    85,    -1,    87,
      -1,    -1,    90,    91,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    46,    -1,   101,   102,    -1,   104,    -1,    53,     1,
      -1,    -1,     4,    58,    59,    60,    -1,     9,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    71,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    80,    81,    82,    83,    84,
      85,    -1,    87,    88,    -1,    90,    91,    -1,    -1,    -1,
       1,    -1,    -1,     4,    46,    -1,   101,   102,     9,   104,
      -1,    53,    -1,    -1,    -1,    -1,    58,    59,    60,    -1,
      -1,    -1,    -1,    -1,    -1,     1,    -1,    -1,     4,    71,
      -1,    -1,    -1,     9,    -1,    -1,    -1,    -1,    80,    81,
      82,    83,    84,    85,    -1,    87,    88,    -1,    90,    91,
       1,    -1,    53,     4,    -1,    -1,    -1,    -1,     9,   101,
     102,    -1,   104,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      71,    -1,    -1,    -1,    -1,    -1,    -1,    53,    -1,    80,
      81,    82,    83,    84,    85,     1,    87,    88,     4,    90,
      -1,    -1,    -1,     9,    -1,    71,    -1,    -1,    -1,    -1,
     101,   102,    53,   104,    80,    81,    82,    83,    84,    85,
       1,    87,    -1,    -1,    90,    -1,    -1,    -1,     9,    -1,
      71,    -1,    -1,    -1,    -1,   101,   102,    -1,   104,    80,
      81,    82,    83,    84,    85,    -1,    87,    53,    -1,    90,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     101,   102,    -1,   104,    -1,    71,    -1,    -1,    -1,    -1,
      -1,    -1,    53,    -1,    80,    81,    82,    83,    84,    85,
      -1,    87,    -1,    -1,    90,    -1,    -1,    -1,    -1,    -1,
      71,    -1,    -1,    -1,    -1,   101,   102,    -1,   104,    80,
      81,    82,    83,    84,    85,    -1,    87,     5,     6,    90,
       8,    -1,    -1,    -1,    12,    -1,    -1,    -1,    -1,    -1,
     101,   102,    -1,   104,    -1,    -1,    -1,    -1,    -1,    -1,
      28,    29,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    40,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    50,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    71,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    87,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,   104
};

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

#define yyerrok         (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY)
#define YYEMPTY         (-2)
#define YYEOF           0

#define YYACCEPT  goto yyacceptlab
#define YYABORT         goto yyabortlab
#define YYERROR         goto 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);                               \
      yytoken = YYTRANSLATE (yychar);                       \
      YYPOPSTACK (1);                                 \
      goto yybackup;                                  \
    }                                           \
  else                                                \
    {                                           \
      yyerror (&yylloc, parser, YY_("syntax error: cannot back up")); \
      YYERROR;                                        \
    }                                           \
while (YYID (0))


#define YYTERROR  1
#define YYERRCODE 256


/* 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)                    \
    do                                                      \
      if (YYID (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 (YYID (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.  */

#ifdef YYLEX_PARAM
# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
#else
# define YYLEX yylex (&yylval, &yylloc, parser)
#endif

/* Enable debugging if requested.  */
#if YYDEBUG

# ifndef YYFPRINTF
#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
#  define YYFPRINTF fprintf
# endif

# define YYDPRINTF(Args)                  \
do {                                \
  if (yydebug)                            \
    YYFPRINTF Args;                       \
} while (YYID (0))

# define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
do {                                                    \
  if (yydebug)                                                \
    {                                                   \
      YYFPRINTF (stderr, "%s ", Title);                             \
      yy_symbol_print (stderr,                                      \
              Type, Value, Location, parser); \
      YYFPRINTF (stderr, "\n");                                     \
    }                                                   \
} while (YYID (0))


/*--------------------------------.
| Print this symbol on YYOUTPUT.  |
`--------------------------------*/

/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, ValaParser *parser)
#else
static void
yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, parser)
    FILE *yyoutput;
    int yytype;
    YYSTYPE const * const yyvaluep;
    YYLTYPE const * const yylocationp;
    ValaParser *parser;
#endif
{
  if (!yyvaluep)
    return;
  YYUSE (yylocationp);
  YYUSE (parser);
# ifdef YYPRINT
  if (yytype < YYNTOKENS)
    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
# else
  YYUSE (yyoutput);
# endif
  switch (yytype)
    {
      default:
      break;
    }
}


/*--------------------------------.
| Print this symbol on YYOUTPUT.  |
`--------------------------------*/

#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, ValaParser *parser)
#else
static void
yy_symbol_print (yyoutput, yytype, yyvaluep, yylocationp, parser)
    FILE *yyoutput;
    int yytype;
    YYSTYPE const * const yyvaluep;
    YYLTYPE const * const yylocationp;
    ValaParser *parser;
#endif
{
  if (yytype < YYNTOKENS)
    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
  else
    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);

  YY_LOCATION_PRINT (yyoutput, *yylocationp);
  YYFPRINTF (yyoutput, ": ");
  yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp, parser);
  YYFPRINTF (yyoutput, ")");
}

/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
`------------------------------------------------------------------*/

#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
#else
static void
yy_stack_print (bottom, top)
    yytype_int16 *bottom;
    yytype_int16 *top;
#endif
{
  YYFPRINTF (stderr, "Stack now");
  for (; 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 (YYID (0))


/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/

#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yy_reduce_print (YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule, ValaParser *parser)
#else
static void
yy_reduce_print (yyvsp, yylsp, yyrule, parser)
    YYSTYPE *yyvsp;
    YYLTYPE *yylsp;
    int yyrule;
    ValaParser *parser;
#endif
{
  int yynrhs = yyr2[yyrule];
  int yyi;
  unsigned long int yylno = yyrline[yyrule];
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
           yyrule - 1, yylno);
  /* The symbols being reduced.  */
  for (yyi = 0; yyi < yynrhs; yyi++)
    {
      fprintf (stderr, "   $%d = ", yyi + 1);
      yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
                   &(yyvsp[(yyi + 1) - (yynrhs)])
                   , &(yylsp[(yyi + 1) - (yynrhs)])                , parser);
      fprintf (stderr, "\n");
    }
}

# define YY_REDUCE_PRINT(Rule)            \
do {                          \
  if (yydebug)                      \
    yy_reduce_print (yyvsp, yylsp, Rule, parser); \
} while (YYID (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
#endif

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

   Do not make this value too large; the results are undefined if
   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */

#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
#endif



#if YYERROR_VERBOSE

# ifndef yystrlen
#  if defined __GLIBC__ && defined _STRING_H
#   define yystrlen strlen
#  else
/* Return the length of YYSTR.  */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static YYSIZE_T
yystrlen (const char *yystr)
#else
static YYSIZE_T
yystrlen (yystr)
    const char *yystr;
#endif
{
  YYSIZE_T yylen;
  for (yylen = 0; yystr[yylen]; yylen++)
    continue;
  return yylen;
}
#  endif
# endif

# ifndef yystpcpy
#  if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
#   define yystpcpy stpcpy
#  else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
   YYDEST.  */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static char *
yystpcpy (char *yydest, const char *yysrc)
#else
static char *
yystpcpy (yydest, yysrc)
    char *yydest;
    const char *yysrc;
#endif
{
  char *yyd = yydest;
  const char *yys = yysrc;

  while ((*yyd++ = *yys++) != '\0')
    continue;

  return yyd - 1;
}
#  endif
# endif

# ifndef yytnamerr
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
   quotes and backslashes, so that it's suitable for yyerror.  The
   heuristic is that double-quoting is unnecessary unless the string
   contains an apostrophe, a comma, or backslash (other than
   backslash-backslash).  YYSTR is taken from yytname.  If YYRES is
   null, do not copy; instead, return the length of what the result
   would have been.  */
static YYSIZE_T
yytnamerr (char *yyres, const char *yystr)
{
  if (*yystr == '"')
    {
      YYSIZE_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

/* Copy into YYRESULT an error message about the unexpected token
   YYCHAR while in state YYSTATE.  Return the number of bytes copied,
   including the terminating null byte.  If YYRESULT is null, do not
   copy anything; just return the number of bytes that would be
   copied.  As a special case, return 0 if an ordinary "syntax error"
   message will do.  Return YYSIZE_MAXIMUM if overflow occurs during
   size calculation.  */
static YYSIZE_T
yysyntax_error (char *yyresult, int yystate, int yychar)
{
  int yyn = yypact[yystate];

  if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
    return 0;
  else
    {
      int yytype = YYTRANSLATE (yychar);
      YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
      YYSIZE_T yysize = yysize0;
      YYSIZE_T yysize1;
      int yysize_overflow = 0;
      enum { 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;

      /* Start YYX at -YYN if negative to avoid negative indexes in
       YYCHECK.  */
      int yyxbegin = yyn < 0 ? -yyn : 0;

      /* Stay within bounds of both yycheck and yytname.  */
      int yychecklim = YYLAST - yyn + 1;
      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
      int 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)
      return YYSIZE_MAXIMUM;

      if (yyresult)
      {
        /* 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 = yyresult;
        int yyi = 0;
        while ((*yyp = *yyf) != '\0')
          {
            if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
            {
              yyp += yytnamerr (yyp, yyarg[yyi++]);
              yyf += 2;
            }
            else
            {
              yyp++;
              yyf++;
            }
          }
      }
      return yysize;
    }
}
#endif /* YYERROR_VERBOSE */


/*-----------------------------------------------.
| Release the memory associated to this symbol.  |
`-----------------------------------------------*/

/*ARGSUSED*/
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, ValaParser *parser)
#else
static void
yydestruct (yymsg, yytype, yyvaluep, yylocationp, parser)
    const char *yymsg;
    int yytype;
    YYSTYPE *yyvaluep;
    YYLTYPE *yylocationp;
    ValaParser *parser;
#endif
{
  YYUSE (yyvaluep);
  YYUSE (yylocationp);
  YYUSE (parser);

  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
int yyparse (void *YYPARSE_PARAM);
#else
int yyparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (ValaParser *parser);
#else
int yyparse ();
#endif
#endif /* ! YYPARSE_PARAM */






/*----------.
| yyparse.  |
`----------*/

#ifdef YYPARSE_PARAM
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
int
yyparse (void *YYPARSE_PARAM)
#else
int
yyparse (YYPARSE_PARAM)
    void *YYPARSE_PARAM;
#endif
#else /* ! YYPARSE_PARAM */
#if (defined __STDC__ || defined __C99__FUNC__ \
     || defined __cplusplus || defined _MSC_VER)
int
yyparse (ValaParser *parser)
#else
int
yyparse (parser)
    ValaParser *parser;
#endif
#endif
{
  /* The look-ahead symbol.  */
int yychar;

/* 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;
  /* Look-ahead token as an internal (translated) token number.  */
  int yytoken = 0;
#if YYERROR_VERBOSE
  /* Buffer for error messages, and its allocated size.  */
  char yymsgbuf[128];
  char *yymsg = yymsgbuf;
  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif

  /* Three stacks and their tools:
     `yyss': related to states,
     `yyvs': related to semantic values,
     `yyls': related to locations.

     Refer to the stacks thru separate pointers, to allow yyoverflow
     to reallocate them elsewhere.  */

  /* The state stack.  */
  yytype_int16 yyssa[YYINITDEPTH];
  yytype_int16 *yyss = yyssa;
  yytype_int16 *yyssp;

  /* The semantic value stack.  */
  YYSTYPE yyvsa[YYINITDEPTH];
  YYSTYPE *yyvs = yyvsa;
  YYSTYPE *yyvsp;

  /* The location stack.  */
  YYLTYPE yylsa[YYINITDEPTH];
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;
  /* The locations where the error started and ended.  */
  YYLTYPE yyerror_range[2];

#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))

  YYSIZE_T yystacksize = YYINITDEPTH;

  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;
  YYLTYPE yyloc;

  /* The number of symbols on the RHS of the reduced rule.
     Keep to zero when no symbol should be popped.  */
  int yylen = 0;

  YYDPRINTF ((stderr, "Starting parse\n"));

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

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

  yyssp = yyss;
  yyvsp = yyvs;
  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;

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

 yysetstate:
  *yyssp = yystate;

  if (yyss + yystacksize - 1 <= yyssp)
    {
      /* Get the current used size of the three stacks, in elements.  */
      YYSIZE_T yysize = yyssp - yyss + 1;

#ifdef yyoverflow
      {
      /* Give user a chance to reallocate the stack.  Use copies of
         these so that the &'s don't force the real ones into
         memory.  */
      YYSTYPE *yyvs1 = yyvs;
      yytype_int16 *yyss1 = yyss;
      YYLTYPE *yyls1 = yyls;

      /* Each stack pointer address is followed by the size of the
         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;
      yyss = yyss1;
      yyvs = yyvs1;
      }
#else /* no yyoverflow */
# ifndef YYSTACK_RELOCATE
      goto yyexhaustedlab;
# else
      /* Extend the stack our own way.  */
      if (YYMAXDEPTH <= yystacksize)
      goto yyexhaustedlab;
      yystacksize *= 2;
      if (YYMAXDEPTH < yystacksize)
      yystacksize = YYMAXDEPTH;

      {
      yytype_int16 *yyss1 = yyss;
      union yyalloc *yyptr =
        (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
      if (! yyptr)
        goto yyexhaustedlab;
      YYSTACK_RELOCATE (yyss);
      YYSTACK_RELOCATE (yyvs);
      YYSTACK_RELOCATE (yyls);
#  undef YYSTACK_RELOCATE
      if (yyss1 != yyssa)
        YYSTACK_FREE (yyss1);
      }
# endif
#endif /* no yyoverflow */

      yyssp = yyss + yysize - 1;
      yyvsp = yyvs + yysize - 1;
      yylsp = yyls + yysize - 1;

      YYDPRINTF ((stderr, "Stack size increased to %lu\n",
              (unsigned long int) yystacksize));

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

  YYDPRINTF ((stderr, "Entering state %d\n", yystate));

  goto yybackup;

/*-----------.
| yybackup.  |
`-----------*/
yybackup:

  /* Do appropriate processing given the current state.  Read a
     look-ahead token if we need one and don't already have one.  */

  /* First try to decide what to do without reference to look-ahead token.  */
  yyn = yypact[yystate];
  if (yyn == YYPACT_NINF)
    goto yydefault;

  /* 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;
    }

  if (yychar <= YYEOF)
    {
      yychar = yytoken = YYEOF;
      YYDPRINTF ((stderr, "Now at end of input.\n"));
    }
  else
    {
      yytoken = YYTRANSLATE (yychar);
      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
    }

  /* 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];
  if (yyn <= 0)
    {
      if (yyn == 0 || yyn == YYTABLE_NINF)
      goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }

  if (yyn == YYFINAL)
    YYACCEPT;

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

  /* Shift the look-ahead token.  */
  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);

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

  yystate = yyn;
  *++yyvsp = yylval;
  *++yylsp = yylloc;
  goto yynewstate;


/*-----------------------------------------------------------.
| yydefault -- do the default action for the current state.  |
`-----------------------------------------------------------*/
yydefault:
  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;
  goto yyreduce;


/*-----------------------------.
| yyreduce -- Do a reduction.  |
`-----------------------------*/
yyreduce:
  /* yyn is the number of a rule to reduce with.  */
  yylen = yyr2[yyn];

  /* If YYLEN is nonzero, implement the default value of the action:
     `$$ = $1'.

     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];

  /* Default location.  */
  YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
  YY_REDUCE_PRINT (yyn);
  switch (yyn)
    {
        case 5:
#line 381 "parser.y"
    {
            (yyval.str) = g_strdup ("get");
        }
    break;

  case 6:
#line 385 "parser.y"
    {
            (yyval.str) = g_strdup ("set");
        }
    break;

  case 8:
#line 393 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_integer_literal_new ((yyvsp[(1) - (1)].str), src));
            g_object_unref (src);
            g_free ((yyvsp[(1) - (1)].str));
        }
    break;

  case 9:
#line 400 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_real_literal_new ((yyvsp[(1) - (1)].str), src));
            g_free ((yyvsp[(1) - (1)].str));
            g_object_unref (src);
        }
    break;

  case 10:
#line 407 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_character_literal_new ((yyvsp[(1) - (1)].str), src));
            g_object_unref (src);
            g_free ((yyvsp[(1) - (1)].str));
        }
    break;

  case 11:
#line 414 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_string_literal_new ((yyvsp[(1) - (1)].str), src));
            g_object_unref (src);
            g_free ((yyvsp[(1) - (1)].str));
        }
    break;

  case 12:
#line 421 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_null_literal_new (src));
            g_object_unref (src);
        }
    break;

  case 13:
#line 430 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_boolean_literal_new (TRUE, src));
            g_object_unref (src);
        }
    break;

  case 14:
#line 436 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.literal) = VALA_LITERAL (vala_boolean_literal_new (FALSE, src));
            g_object_unref (src);
        }
    break;

  case 16:
#line 449 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.type_reference) = vala_type_reference_new_from_name (NULL, (yyvsp[(1) - (2)].str), src);
            g_free ((yyvsp[(1) - (2)].str));
            g_object_unref (src);
            for (l = (yyvsp[(2) - (2)].list); l != NULL; l = l->next) {
                  vala_type_reference_add_type_argument ((yyval.type_reference), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(2) - (2)].list));
        }
    break;

  case 17:
#line 462 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.type_reference) = vala_type_reference_new_from_name ((yyvsp[(1) - (4)].str), (yyvsp[(3) - (4)].str), src);
            g_free ((yyvsp[(1) - (4)].str));
            g_free ((yyvsp[(3) - (4)].str));
            g_object_unref (src);
            for (l = (yyvsp[(4) - (4)].list); l != NULL; l = l->next) {
                  vala_type_reference_add_type_argument ((yyval.type_reference), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(4) - (4)].list));
        }
    break;

  case 18:
#line 479 "parser.y"
    {
            (yyval.num) = 1;
        }
    break;

  case 19:
#line 483 "parser.y"
    {
            (yyval.num) = (yyvsp[(1) - (2)].num) + 1;
        }
    break;

  case 20:
#line 490 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(1) - (3)].type_reference);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(2) - (3)].num));
            if ((yyvsp[(3) - (3)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 21:
#line 498 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(2) - (4)].type_reference);
            vala_type_reference_set_is_weak ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(3) - (4)].num));
            if ((yyvsp[(4) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 22:
#line 507 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(1) - (4)].type_reference);
            vala_type_reference_set_takes_ownership ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(2) - (4)].num));
            if ((yyvsp[(3) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 23:
#line 516 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(2) - (4)].type_reference);
            vala_type_reference_set_is_ref ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(3) - (4)].num));
            if ((yyvsp[(4) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 24:
#line 525 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(2) - (4)].type_reference);
            vala_type_reference_set_is_out ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(3) - (4)].num));
            if ((yyvsp[(4) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 25:
#line 534 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(3) - (5)].type_reference);
            vala_type_reference_set_is_weak ((yyval.type_reference), TRUE);
            vala_type_reference_set_is_out ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(4) - (5)].num));
            if ((yyvsp[(5) - (5)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 26:
#line 544 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(1) - (4)].type_reference);
            vala_type_reference_set_pointer_level ((yyval.type_reference), (yyvsp[(2) - (4)].num));
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(3) - (4)].num));
            if ((yyvsp[(4) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 27:
#line 556 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 29:
#line 564 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].expression));
        }
    break;

  case 30:
#line 568 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].expression));
        }
    break;

  case 34:
#line 584 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(2) - (4)]));
            ValaTypeReference *t = vala_type_reference_new_from_expression (VALA_EXPRESSION ((yyvsp[(2) - (4)].expression)));
            (yyval.expression) = VALA_EXPRESSION (vala_array_creation_expression_new (t, g_list_length ((yyvsp[(3) - (4)].list)),  VALA_INITIALIZER_LIST ((yyvsp[(4) - (4)].expression)), src));
            g_object_unref (t);
            for (l = (yyvsp[(3) - (4)].list); l != NULL; l = l->next) {
                  vala_array_creation_expression_append_size (VALA_ARRAY_CREATION_EXPRESSION ((yyval.expression)), VALA_EXPRESSION (l->data));
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(3) - (4)].list));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (4)].expression));
            if ((yyvsp[(4) - (4)].expression) != NULL) {
                  g_object_unref ((yyvsp[(4) - (4)].expression));
            }
        }
    break;

  case 35:
#line 602 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (4)]));
            ValaTypeReference *t = vala_type_reference_new_from_expression (VALA_EXPRESSION ((yyvsp[(2) - (4)].expression)));
            (yyval.expression) = VALA_EXPRESSION (vala_array_creation_expression_new (t, (yyvsp[(3) - (4)].num), VALA_INITIALIZER_LIST ((yyvsp[(4) - (4)].expression)), src));
            g_object_unref (t);
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (4)].expression));
            g_object_unref ((yyvsp[(4) - (4)].expression));
        }
    break;

  case 36:
#line 615 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (3)].list);
        }
    break;

  case 37:
#line 622 "parser.y"
    {
            (yyval.expression) = NULL;
        }
    break;

  case 39:
#line 630 "parser.y"
    {
            (yyval.num) = 0;
        }
    break;

  case 41:
#line 638 "parser.y"
    {
            (yyval.num) = (yyvsp[(2) - (3)].num);
        }
    break;

  case 43:
#line 646 "parser.y"
    {
            (yyval.num) = 0;
        }
    break;

  case 45:
#line 654 "parser.y"
    {
            (yyval.num) = 1;
        }
    break;

  case 46:
#line 661 "parser.y"
    {
            (yyval.num) = 1;
        }
    break;

  case 48:
#line 669 "parser.y"
    {
            (yyval.num) = 2;
        }
    break;

  case 49:
#line 673 "parser.y"
    {
            (yyval.num) = (yyvsp[(1) - (2)].num) + 1;
        }
    break;

  case 50:
#line 680 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.expression) = VALA_EXPRESSION (vala_literal_expression_new ((yyvsp[(1) - (1)].literal), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (1)].literal));
        }
    break;

  case 63:
#line 702 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_member_access_new (NULL, (yyvsp[(1) - (2)].str), src));
            g_free ((yyvsp[(1) - (2)].str));
            g_object_unref (src);

            if ((yyvsp[(2) - (2)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (2)].list); l != NULL; l = l->next) {
                        vala_member_access_add_type_argument (VALA_MEMBER_ACCESS ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(2) - (2)].list));
            }
        }
    break;

  case 64:
#line 721 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_parenthesized_expression_new ((yyvsp[(2) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (3)].expression));
        }
    break;

  case 65:
#line 731 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(3) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_member_access_new ((yyvsp[(1) - (4)].expression), (yyvsp[(3) - (4)].str), src));
            g_object_unref ((yyvsp[(1) - (4)].expression));
            g_free ((yyvsp[(3) - (4)].str));
            g_object_unref (src);

            if ((yyvsp[(4) - (4)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(4) - (4)].list); l != NULL; l = l->next) {
                        vala_member_access_add_type_argument (VALA_MEMBER_ACCESS ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(4) - (4)].list));
            }
        }
    break;

  case 66:
#line 751 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_invocation_expression_new ((yyvsp[(1) - (4)].expression), src));
            g_object_unref ((yyvsp[(1) - (4)].expression));
            g_object_unref (src);
            
            if ((yyvsp[(3) - (4)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(3) - (4)].list); l != NULL; l = l->next) {
                        vala_invocation_expression_add_argument (VALA_INVOCATION_EXPRESSION ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(3) - (4)].list));
            }
        }
    break;

  case 67:
#line 770 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_element_access_new ((yyvsp[(1) - (4)].expression), src));
            for (l = (yyvsp[(3) - (4)].list); l != NULL; l = l->next) {
                  vala_element_access_append_index (VALA_ELEMENT_ACCESS ((yyval.expression)), VALA_EXPRESSION (l->data));
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(3) - (4)].list));
            g_object_unref ((yyvsp[(1) - (4)].expression));
            g_object_unref (src);
        }
    break;

  case 68:
#line 786 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].expression));
        }
    break;

  case 69:
#line 790 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].expression));
        }
    break;

  case 70:
#line 797 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.expression) = VALA_EXPRESSION (vala_member_access_new (NULL, "this", src));
            g_object_unref (src);
        }
    break;

  case 71:
#line 806 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.expression) = VALA_EXPRESSION (vala_base_access_new (src));
            g_object_unref (src);
        }
    break;

  case 72:
#line 815 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_postfix_expression_new ((yyvsp[(1) - (2)].expression), TRUE, src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (2)].expression));
        }
    break;

  case 73:
#line 825 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_postfix_expression_new ((yyvsp[(1) - (2)].expression), FALSE, src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (2)].expression));
        }
    break;

  case 74:
#line 835 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (5)]));
            ValaObjectCreationExpression *expr = vala_object_creation_expression_new (VALA_MEMBER_ACCESS ((yyvsp[(2) - (5)].expression)), src);
            g_object_unref ((yyvsp[(2) - (5)].expression));
            g_object_unref (src);
            
            if ((yyvsp[(4) - (5)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(4) - (5)].list); l != NULL; l = l->next) {
                        vala_object_creation_expression_add_argument (expr, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(4) - (5)].list));
            }
            
            (yyval.expression) = VALA_EXPRESSION (expr);
        }
    break;

  case 75:
#line 856 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_sizeof_expression_new ((yyvsp[(3) - (4)].type_reference), src));
            g_object_unref ((yyvsp[(3) - (4)].type_reference));
            g_object_unref (src);
        }
    break;

  case 76:
#line 865 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_typeof_expression_new ((yyvsp[(3) - (4)].type_reference), src));
            g_object_unref ((yyvsp[(3) - (4)].type_reference));
            g_object_unref (src);
        }
    break;

  case 78:
#line 875 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_PLUS, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 79:
#line 882 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_MINUS, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 80:
#line 889 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_LOGICAL_NEGATION, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 81:
#line 896 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 84:
#line 905 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_REF, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 85:
#line 912 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_OUT, (yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 86:
#line 919 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_reference_transfer_expression_new ((yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 90:
#line 932 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_INCREMENT, (yyvsp[(2) - (2)].expression), src));
            g_object_unref ((yyvsp[(2) - (2)].expression));
            g_object_unref (src);
        }
    break;

  case 91:
#line 942 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_unary_expression_new (VALA_UNARY_OPERATOR_DECREMENT, (yyvsp[(2) - (2)].expression), src));
            g_object_unref ((yyvsp[(2) - (2)].expression));
            g_object_unref (src);
        }
    break;

  case 92:
#line 952 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_cast_expression_new ((yyvsp[(4) - (4)].expression), (yyvsp[(2) - (4)].type_reference), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (4)].type_reference));
            g_object_unref ((yyvsp[(4) - (4)].expression));
        }
    break;

  case 93:
#line 963 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_pointer_indirection_new ((yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 94:
#line 973 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_addressof_expression_new ((yyvsp[(2) - (2)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (2)].expression));
        }
    break;

  case 96:
#line 984 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_MUL, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 97:
#line 992 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_DIV, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 98:
#line 1000 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_MOD, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 100:
#line 1012 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_PLUS, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 101:
#line 1020 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_MINUS, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 103:
#line 1032 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_SHIFT_LEFT, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 104:
#line 1042 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_SHIFT_RIGHT, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 106:
#line 1054 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_LESS_THAN, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 107:
#line 1062 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_GREATER_THAN, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 108:
#line 1070 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 109:
#line 1078 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_GREATER_THAN_OR_EQUAL, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 110:
#line 1086 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_type_check_new ((yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].type_reference), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].type_reference));
        }
    break;

  case 112:
#line 1098 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_EQUALITY, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 113:
#line 1106 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_INEQUALITY, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 115:
#line 1118 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_BITWISE_AND, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 117:
#line 1130 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_BITWISE_XOR, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 119:
#line 1142 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_BITWISE_OR, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 121:
#line 1154 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_AND, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 123:
#line 1166 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_binary_expression_new (VALA_BINARY_OPERATOR_OR, (yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 125:
#line 1178 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (5)]));
            (yyval.expression) = VALA_EXPRESSION (vala_conditional_expression_new ((yyvsp[(1) - (5)].expression), (yyvsp[(3) - (5)].expression), (yyvsp[(5) - (5)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (5)].expression));
            g_object_unref ((yyvsp[(3) - (5)].expression));
            g_object_unref ((yyvsp[(5) - (5)].expression));
        }
    break;

  case 126:
#line 1190 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(4) - (5)]));
            (yyval.expression) = VALA_EXPRESSION (vala_lambda_expression_new ((yyvsp[(5) - (5)].expression), src));
            if ((yyvsp[(2) - (5)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (5)].list); l != NULL; l = l->next) {
                        vala_lambda_expression_add_parameter (VALA_LAMBDA_EXPRESSION ((yyval.expression)), l->data);
                        g_free (l->data);
                  }
                  g_list_free ((yyvsp[(2) - (5)].list));
            }
            g_object_unref ((yyvsp[(5) - (5)].expression));
            g_object_unref (src);
        }
    break;

  case 127:
#line 1205 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_lambda_expression_new ((yyvsp[(3) - (3)].expression), src));
            g_object_unref ((yyvsp[(3) - (3)].expression));
            g_object_unref (src);
            vala_lambda_expression_add_parameter (VALA_LAMBDA_EXPRESSION ((yyval.expression)), (yyvsp[(1) - (3)].str));
            g_free ((yyvsp[(1) - (3)].str));
        }
    break;

  case 128:
#line 1214 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(4) - (5)]));
            (yyval.expression) = VALA_EXPRESSION (vala_lambda_expression_new_with_statement_body (VALA_BLOCK ((yyvsp[(5) - (5)].block)), src));
            if ((yyvsp[(2) - (5)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (5)].list); l != NULL; l = l->next) {
                        vala_lambda_expression_add_parameter (VALA_LAMBDA_EXPRESSION ((yyval.expression)), l->data);
                        g_free (l->data);
                  }
                  g_list_free ((yyvsp[(2) - (5)].list));
            }
            g_object_unref ((yyvsp[(5) - (5)].block));
            g_object_unref (src);
        }
    break;

  case 129:
#line 1229 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_lambda_expression_new_with_statement_body (VALA_BLOCK ((yyvsp[(3) - (3)].block)), src));
            g_object_unref ((yyvsp[(3) - (3)].block));
            g_object_unref (src);
            vala_lambda_expression_add_parameter (VALA_LAMBDA_EXPRESSION ((yyval.expression)), (yyvsp[(1) - (3)].str));
            g_free ((yyvsp[(1) - (3)].str));
        }
    break;

  case 130:
#line 1241 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 132:
#line 1249 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (3)].str));
            (yyval.list) = g_list_append ((yyval.list), (yyvsp[(3) - (3)].str));
        }
    break;

  case 133:
#line 1254 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].str));
        }
    break;

  case 134:
#line 1261 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_assignment_new ((yyvsp[(1) - (3)].expression), (yyvsp[(3) - (3)].expression), (yyvsp[(2) - (3)].num), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 135:
#line 1272 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_SIMPLE;
        }
    break;

  case 136:
#line 1276 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_BITWISE_OR;
        }
    break;

  case 137:
#line 1280 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_BITWISE_AND;
        }
    break;

  case 138:
#line 1284 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR;
        }
    break;

  case 139:
#line 1288 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_ADD;
        }
    break;

  case 140:
#line 1292 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_SUB;
        }
    break;

  case 141:
#line 1296 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_MUL;
        }
    break;

  case 142:
#line 1300 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_DIV;
        }
    break;

  case 143:
#line 1304 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_PERCENT;
        }
    break;

  case 144:
#line 1308 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT;
        }
    break;

  case 145:
#line 1312 "parser.y"
    {
            (yyval.num) = VALA_ASSIGNMENT_OPERATOR_SHIFT_RIGHT;
        }
    break;

  case 146:
#line 1319 "parser.y"
    {
            (yyval.expression) = NULL;
        }
    break;

  case 151:
#line 1330 "parser.y"
    {
            (yyval.expression) = NULL;
        }
    break;

  case 153:
#line 1338 "parser.y"
    {
            (yyval.statement) = VALA_STATEMENT ((yyvsp[(1) - (1)].block));
        }
    break;

  case 162:
#line 1353 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 163:
#line 1361 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 164:
#line 1369 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 165:
#line 1377 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 166:
#line 1385 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 167:
#line 1393 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 168:
#line 1401 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.block) = vala_block_new (src);
            vala_block_add_statement ((yyval.block), (yyvsp[(1) - (1)].statement));
            g_object_unref ((yyvsp[(1) - (1)].statement));
            g_object_unref (src);
        }
    break;

  case 169:
#line 1412 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.block) = vala_block_new (src);
            if ((yyvsp[(2) - (3)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (3)].list); l != NULL; l = l->next) {
                        vala_block_add_statement ((yyval.block), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(2) - (3)].list));
            }
            g_object_unref (src);
        }
    break;

  case 170:
#line 1429 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 172:
#line 1437 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].statement));
        }
    break;

  case 173:
#line 1441 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].statement));
        }
    break;

  case 174:
#line 1448 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.statement) = VALA_STATEMENT (vala_empty_statement_new (src));
            g_object_unref (src);
        }
    break;

  case 175:
#line 1457 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(2) - (3)]), (yyvsp[(1) - (3)].str));
            (yyval.statement) = VALA_STATEMENT (vala_declaration_statement_new ((yyvsp[(2) - (3)].local_variable_declaration), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (3)].local_variable_declaration));
        }
    break;

  case 176:
#line 1467 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(2) - (2)]));
            (yyval.local_variable_declaration) = vala_local_variable_declaration_new ((yyvsp[(1) - (2)].type_reference), src);
            g_object_unref (src);
            for (l = (yyvsp[(2) - (2)].list); l != NULL; l = l->next) {
                  ValaVariableDeclarator *decl = l->data;
                  ValaTypeReference *type = vala_type_reference_copy ((yyvsp[(1) - (2)].type_reference));
                  vala_variable_declarator_set_type_reference (decl, type);
                  g_object_unref (type);
                  vala_local_variable_declaration_add_declarator ((yyval.local_variable_declaration), decl);
                  g_object_unref (decl);
            }
            g_list_free ((yyvsp[(2) - (2)].list));
            g_object_unref ((yyvsp[(1) - (2)].type_reference));
        }
    break;

  case 177:
#line 1484 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(2) - (2)]));
            (yyval.local_variable_declaration) = vala_local_variable_declaration_new_var_type (src);
            g_object_unref (src);
            for (l = (yyvsp[(2) - (2)].list); l != NULL; l = l->next) {
                  vala_local_variable_declaration_add_declarator ((yyval.local_variable_declaration), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(2) - (2)].list));
        }
    break;

  case 178:
#line 1500 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.type_reference) = vala_type_reference_new_from_expression ((yyvsp[(1) - (3)].expression));
            g_object_unref ((yyvsp[(1) - (3)].expression));
            g_object_unref (src);
            vala_type_reference_set_takes_ownership ((yyval.type_reference), TRUE);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(2) - (3)].num));
            if ((yyvsp[(3) - (3)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 179:
#line 1512 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.type_reference) = vala_type_reference_new_from_expression ((yyvsp[(1) - (2)].expression));
            g_object_unref ((yyvsp[(1) - (2)].expression));
            g_object_unref (src);
            vala_type_reference_set_pointer_level ((yyval.type_reference), (yyvsp[(2) - (2)].num));
        }
    break;

  case 180:
#line 1520 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (4)]));
            (yyval.type_reference) = vala_type_reference_new_from_expression ((yyvsp[(2) - (4)].expression));
            g_object_unref ((yyvsp[(2) - (4)].expression));
            g_object_unref (src);
            vala_type_reference_set_array_rank ((yyval.type_reference), (yyvsp[(3) - (4)].num));
            if ((yyvsp[(4) - (4)].num)) {
                  vala_type_reference_set_non_null ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 181:
#line 1534 "parser.y"
    {
            (yyval.num) = FALSE;
        }
    break;

  case 182:
#line 1538 "parser.y"
    {
            (yyval.num) = TRUE;
        }
    break;

  case 183:
#line 1545 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(2) - (3)]), (yyvsp[(1) - (3)].str));
            (yyval.statement) = VALA_STATEMENT (vala_expression_statement_new ((yyvsp[(2) - (3)].expression), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(2) - (3)].expression));
        }
    break;

  case 193:
#line 1570 "parser.y"
    {
            ValaSourceReference *src;

            src = src_com((yylsp[(4) - (6)]), (yyvsp[(1) - (6)].str));
            (yyval.statement) = VALA_STATEMENT (vala_if_statement_new ((yyvsp[(4) - (6)].expression), (yyvsp[(6) - (6)].block), NULL, src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(4) - (6)].expression));
            g_object_unref ((yyvsp[(6) - (6)].block));
        }
    break;

  case 194:
#line 1580 "parser.y"
    {
            ValaSourceReference *src;

            src = src_com((yylsp[(4) - (8)]), (yyvsp[(1) - (8)].str));
            (yyval.statement) = VALA_STATEMENT (vala_if_statement_new ((yyvsp[(4) - (8)].expression), (yyvsp[(6) - (8)].block), (yyvsp[(8) - (8)].block), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(4) - (8)].expression));
            g_object_unref ((yyvsp[(6) - (8)].block));
            g_object_unref ((yyvsp[(8) - (8)].block));
        }
    break;

  case 195:
#line 1594 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(4) - (6)]), (yyvsp[(1) - (6)].str));
            (yyval.statement) = VALA_STATEMENT (vala_switch_statement_new ((yyvsp[(4) - (6)].expression), src));
            g_object_unref ((yyvsp[(4) - (6)].expression));
            g_object_unref (src);
            
            if ((yyvsp[(6) - (6)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(6) - (6)].list); l != NULL; l = l->next) {
                        vala_switch_statement_add_section (VALA_SWITCH_STATEMENT ((yyval.statement)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(6) - (6)].list));
            }
        }
    break;

  case 196:
#line 1613 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (3)].list);
        }
    break;

  case 197:
#line 1620 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 199:
#line 1628 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].switch_section));
        }
    break;

  case 200:
#line 1632 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].switch_section));
        }
    break;

  case 201:
#line 1639 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src_com((yylsp[(2) - (3)]), (yyvsp[(1) - (3)].str));
            (yyval.switch_section) = vala_switch_section_new (src);
            g_object_unref (src);
            
            for (l = (yyvsp[(2) - (3)].list); l != NULL; l = l->next) {
                  vala_switch_section_add_label ((yyval.switch_section), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(2) - (3)].list));
            for (l = (yyvsp[(3) - (3)].list); l != NULL; l = l->next) {
                  vala_switch_section_add_statement ((yyval.switch_section), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(3) - (3)].list));
        }
    break;

  case 202:
#line 1660 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].switch_label));
        }
    break;

  case 203:
#line 1664 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].switch_label));
        }
    break;

  case 204:
#line 1671 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.switch_label) = vala_switch_label_new ((yyvsp[(2) - (3)].expression), src);
            g_object_unref ((yyvsp[(2) - (3)].expression));
            g_object_unref (src);
        }
    break;

  case 205:
#line 1678 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.switch_label) = vala_switch_label_new_with_default (src);
            g_object_unref (src);
        }
    break;

  case 210:
#line 1694 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (5)]));
            (yyval.statement) = VALA_STATEMENT (vala_while_statement_new ((yyvsp[(3) - (5)].expression), (yyvsp[(5) - (5)].block), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(3) - (5)].expression));
            g_object_unref ((yyvsp[(5) - (5)].block));
        }
    break;

  case 211:
#line 1705 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (7)]));
            (yyval.statement) = VALA_STATEMENT (vala_do_statement_new ((yyvsp[(2) - (7)].block), (yyvsp[(5) - (7)].expression), src));
            g_object_unref ((yyvsp[(2) - (7)].block));
            g_object_unref ((yyvsp[(5) - (7)].expression));
            g_object_unref (src);
        }
    break;

  case 212:
#line 1716 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(1) - (9)]));
            (yyval.statement) = VALA_STATEMENT (vala_for_statement_new ((yyvsp[(5) - (9)].expression), (yyvsp[(9) - (9)].block), src));
            if ((yyvsp[(5) - (9)].expression) != NULL) {
                  g_object_unref ((yyvsp[(5) - (9)].expression));
            }
            g_object_unref ((yyvsp[(9) - (9)].block));
            g_object_unref (src);
            
            if ((yyvsp[(3) - (9)].list) != NULL) {
                  for (l = (yyvsp[(3) - (9)].list); l != NULL; l = l->next) {
                        vala_for_statement_add_initializer (VALA_FOR_STATEMENT ((yyval.statement)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(3) - (9)].list));
            }
            if ((yyvsp[(7) - (9)].list) != NULL) {
                  for (l = (yyvsp[(7) - (9)].list); l != NULL; l = l->next) {
                        vala_for_statement_add_iterator (VALA_FOR_STATEMENT ((yyval.statement)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(7) - (9)].list));
            }
        }
    break;

  case 213:
#line 1742 "parser.y"
    {
            GeeCollection *decls;
            GeeIterator *decls_it;

            ValaDeclarationStatement *decl_statement;

            ValaSourceReference *src = src((yylsp[(1) - (9)]));

            ValaBlock *block = vala_block_new (src);
        
            ValaForStatement *for_statement = vala_for_statement_new ((yyvsp[(5) - (9)].expression), (yyvsp[(9) - (9)].block), src);
            if ((yyvsp[(5) - (9)].expression) != NULL) {
                  g_object_unref ((yyvsp[(5) - (9)].expression));
            }
            g_object_unref ((yyvsp[(9) - (9)].block));
            

            decls = vala_local_variable_declaration_get_variable_declarators ((yyvsp[(3) - (9)].local_variable_declaration));
            decls_it = gee_iterable_iterator (GEE_ITERABLE (decls));
            g_object_unref (decls);
            while (gee_iterator_next (decls_it)) {
                  ValaVariableDeclarator *decl = gee_iterator_get (decls_it);
                  ValaExpression *init = vala_variable_declarator_get_initializer (decl);
                  
                  if (init != NULL) {
                        ValaSourceReference *decl_src = vala_code_node_get_source_reference (VALA_CODE_NODE (decl));
                        ValaMemberAccess *lhs = vala_member_access_new (NULL, vala_symbol_get_name (VALA_SYMBOL (decl)), decl_src);
                        ValaAssignment *assign = vala_assignment_new (VALA_EXPRESSION (lhs), init, VALA_ASSIGNMENT_OPERATOR_SIMPLE, decl_src);
                        g_object_unref (lhs);
                        vala_for_statement_add_initializer (for_statement, VALA_EXPRESSION (assign));
                        g_object_unref (assign);
                        
                        vala_variable_declarator_set_initializer (decl, NULL);
                  }
            }
            g_object_unref (decls_it);
            
            decl_statement = vala_declaration_statement_new ((yyvsp[(3) - (9)].local_variable_declaration), src);
            g_object_unref ((yyvsp[(3) - (9)].local_variable_declaration));
            g_object_unref (src);
            vala_block_add_statement (block, VALA_STATEMENT (decl_statement));
            g_object_unref (decl_statement);

            if ((yyvsp[(7) - (9)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(7) - (9)].list); l != NULL; l = l->next) {
                        vala_for_statement_add_iterator (for_statement, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(7) - (9)].list));
            }
            
            vala_block_add_statement (block, VALA_STATEMENT (for_statement));
            
            (yyval.statement) = VALA_STATEMENT (block);
        }
    break;

  case 214:
#line 1802 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 216:
#line 1810 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].expression));
        }
    break;

  case 217:
#line 1814 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].expression));
        }
    break;

  case 218:
#line 1821 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(3) - (8)]));
            if (!vala_type_reference_get_is_weak ((yyvsp[(3) - (8)].type_reference))) {
                  vala_type_reference_set_takes_ownership ((yyvsp[(3) - (8)].type_reference), TRUE);
            }
            (yyval.statement) = VALA_STATEMENT (vala_foreach_statement_new ((yyvsp[(3) - (8)].type_reference), (yyvsp[(4) - (8)].str), (yyvsp[(6) - (8)].expression), (yyvsp[(8) - (8)].block), src));
            g_object_unref ((yyvsp[(3) - (8)].type_reference));
            g_free ((yyvsp[(4) - (8)].str));
            g_object_unref ((yyvsp[(6) - (8)].expression));
            g_object_unref ((yyvsp[(8) - (8)].block));
            g_object_unref (src);
        }
    break;

  case 223:
#line 1844 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.statement) = VALA_STATEMENT (vala_break_statement_new (src));
            g_object_unref (src);
        }
    break;

  case 224:
#line 1853 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.statement) = VALA_STATEMENT (vala_continue_statement_new (src));
            g_object_unref (src);
        }
    break;

  case 225:
#line 1862 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.statement) = VALA_STATEMENT (vala_return_statement_new ((yyvsp[(2) - (3)].expression), src));
            g_object_unref (src);
            if ((yyvsp[(2) - (3)].expression) != NULL) {
                  g_object_unref ((yyvsp[(2) - (3)].expression));
            }
        }
    break;

  case 226:
#line 1874 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.statement) = VALA_STATEMENT (vala_throw_statement_new ((yyvsp[(2) - (3)].expression), src));
            g_object_unref (src);
            if ((yyvsp[(2) - (3)].expression) != NULL) {
                  g_object_unref ((yyvsp[(2) - (3)].expression));
            }
        }
    break;

  case 227:
#line 1886 "parser.y"
    {
            GList *l;
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.statement) = VALA_STATEMENT (vala_try_statement_new ((yyvsp[(2) - (4)].block), (yyvsp[(4) - (4)].block), src));
            g_object_unref ((yyvsp[(2) - (4)].block));
            if ((yyvsp[(4) - (4)].block) != NULL) {
                  g_object_unref ((yyvsp[(4) - (4)].block));
            }
            g_object_unref (src);

            for (l = (yyvsp[(3) - (4)].list); l != NULL; l = l->next) {
                  vala_try_statement_add_catch_clause (VALA_TRY_STATEMENT ((yyval.statement)), l->data);
                  g_object_unref (l->data);
            }
            g_list_free ((yyvsp[(3) - (4)].list));
        }
    break;

  case 228:
#line 1903 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.statement) = VALA_STATEMENT (vala_try_statement_new ((yyvsp[(2) - (3)].block), (yyvsp[(3) - (3)].block), src));
            g_object_unref ((yyvsp[(2) - (3)].block));
            g_object_unref ((yyvsp[(3) - (3)].block));
            g_object_unref (src);
        }
    break;

  case 229:
#line 1914 "parser.y"
    {
            if ((yyvsp[(2) - (2)].catch_clause) != NULL) {
                  (yyval.list) = g_list_append ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].catch_clause));
            } else {
                  (yyval.list) = (yyvsp[(1) - (2)].list);
            }
        }
    break;

  case 230:
#line 1922 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].catch_clause));
        }
    break;

  case 231:
#line 1929 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].catch_clause));
        }
    break;

  case 232:
#line 1933 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].catch_clause));
        }
    break;

  case 233:
#line 1940 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (6)]));
            (yyval.catch_clause) = vala_catch_clause_new ((yyvsp[(3) - (6)].type_reference), (yyvsp[(4) - (6)].str), VALA_BLOCK ((yyvsp[(6) - (6)].block)), src);
            g_object_unref ((yyvsp[(3) - (6)].type_reference));
            g_free ((yyvsp[(4) - (6)].str));
            g_object_unref ((yyvsp[(6) - (6)].block));
            g_object_unref (src);
        }
    break;

  case 234:
#line 1952 "parser.y"
    {
            (yyval.catch_clause) = NULL;
        }
    break;

  case 236:
#line 1960 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.catch_clause) = vala_catch_clause_new (NULL, NULL, VALA_BLOCK ((yyvsp[(2) - (2)].block)), src);
            g_object_unref ((yyvsp[(2) - (2)].block));
            g_object_unref (src);
        }
    break;

  case 237:
#line 1969 "parser.y"
    {
            (yyval.block) = NULL;
        }
    break;

  case 239:
#line 1978 "parser.y"
    {
            (yyval.block) = (yyvsp[(2) - (2)].block);
        }
    break;

  case 240:
#line 1985 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(4) - (6)]), (yyvsp[(1) - (6)].str));
            (yyval.statement) = VALA_STATEMENT (vala_lock_statement_new ((yyvsp[(4) - (6)].expression), (yyvsp[(6) - (6)].block), src));
            g_object_unref (src);
            g_object_unref ((yyvsp[(4) - (6)].expression));
            g_object_unref ((yyvsp[(6) - (6)].block));
        }
    break;

  case 241:
#line 1995 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(4) - (4)]), (yyvsp[(1) - (4)].str));
            ValaSymbol *current_symbol = vala_scope_lookup (scope_stack->data, (yyvsp[(4) - (4)].str));
            if (current_symbol != NULL) {
                  if (check_is_namespace (current_symbol, src)) {
                        // merge namespace declarations
                        if (!vala_source_file_get_pkg (current_source_file)) {
                              vala_namespace_set_pkg (VALA_NAMESPACE (current_symbol), FALSE);
                        }
                        VALA_CODE_NODE (current_symbol)->attributes = (yyvsp[(2) - (4)].list);
                  }
            } else {
                  current_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(4) - (4)].str), src));
                  vala_namespace_set_pkg (VALA_NAMESPACE (current_symbol), vala_source_file_get_pkg (current_source_file));
                  VALA_CODE_NODE (current_symbol)->attributes = g_list_concat (VALA_CODE_NODE (current_symbol)->attributes, (yyvsp[(2) - (4)].list));
                  vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (current_symbol));
            }
            g_object_unref (src);
            g_free ((yyvsp[(4) - (4)].str));
            
            push_symbol (current_symbol);
        }
    break;

  case 242:
#line 2018 "parser.y"
    {
            g_object_unref (pop_symbol ());
        }
    break;

  case 245:
#line 2030 "parser.y"
    {
            (yyval.str) = NULL;
        }
    break;

  case 247:
#line 2038 "parser.y"
    {
            (yyval.str) = (yyvsp[(2) - (2)].str);
        }
    break;

  case 252:
#line 2055 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            ValaNamespaceReference *ns_ref = vala_namespace_reference_new ((yyvsp[(2) - (3)].str), src);
            g_object_unref (src);
            g_free ((yyvsp[(2) - (3)].str));
            vala_source_file_add_using_directive (current_source_file, ns_ref);
            g_object_unref (ns_ref);
        }
    break;

  case 268:
#line 2097 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].constant) != NULL) {
                  vala_namespace_add_constant (VALA_NAMESPACE (symbol_stack->data), (yyvsp[(1) - (1)].constant));
                  vala_source_file_add_node (current_source_file, VALA_CODE_NODE ((yyvsp[(1) - (1)].constant)));
                  g_object_unref ((yyvsp[(1) - (1)].constant));
            }
        }
    break;

  case 269:
#line 2106 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].field) != NULL) {
                  /* field must be static, don't require developer
                   * to explicitly state it */
                  vala_field_set_instance ((yyvsp[(1) - (1)].field), FALSE);
                  
                  vala_namespace_add_field (VALA_NAMESPACE (symbol_stack->data), (yyvsp[(1) - (1)].field));
                  vala_source_file_add_node (current_source_file, VALA_CODE_NODE ((yyvsp[(1) - (1)].field)));
                  g_object_unref ((yyvsp[(1) - (1)].field));
            }
        }
    break;

  case 270:
#line 2119 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].method) != NULL) {
                  /* method must be static, don't require developer
                   * to explicitly state it */
                  vala_method_set_instance ((yyvsp[(1) - (1)].method), FALSE);
                  
                  vala_namespace_add_method (VALA_NAMESPACE (symbol_stack->data), (yyvsp[(1) - (1)].method));
                  vala_source_file_add_node (current_source_file, VALA_CODE_NODE ((yyvsp[(1) - (1)].method)));
                  g_object_unref ((yyvsp[(1) - (1)].method));
            }
        }
    break;

  case 271:
#line 2135 "parser.y"
    {
            ValaSourceReference *src;

            char *name = (yyvsp[(6) - (9)].str);

            ValaSymbol *parent_symbol = VALA_SYMBOL (g_object_ref (symbol_stack->data));
            ValaScope *parent_scope = VALA_SCOPE (scope_stack->data);

            if ((yyvsp[(7) - (9)].str) != NULL) {
                  ValaSourceReference *ns_src = src((yylsp[(6) - (9)]));
                  g_object_unref (parent_symbol);
                  parent_symbol = vala_scope_lookup (parent_scope, (yyvsp[(6) - (9)].str));
                  if (parent_symbol != NULL) {
                        if (check_is_namespace (parent_symbol, src)) {
                              if (!vala_source_file_get_pkg (current_source_file)) {
                                    vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), FALSE);
                              }
                        }
                  } else {
                        parent_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(6) - (9)].str), ns_src));
                        vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), vala_source_file_get_pkg (current_source_file));
                        vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (parent_symbol));
                  }
                  parent_scope = vala_symbol_get_scope (parent_symbol);
                  g_free ((yyvsp[(6) - (9)].str));
                  g_object_unref (ns_src);
                  
                  name = (yyvsp[(7) - (9)].str);
            }

            src = src_com((yylsp[(6) - (9)]), (yyvsp[(1) - (9)].str));
            ValaSymbol *current_symbol = vala_scope_lookup (parent_scope, name);
            if (current_symbol != NULL) {
                  if (check_is_class (current_symbol, src)) {
                        // merge class declarations
                  }
            } else {
                  current_symbol = VALA_SYMBOL (vala_class_new (name, src));
                  g_free (name);
                  g_object_unref (src);

                  if (VALA_IS_CLASS (parent_symbol)) {
                        vala_class_add_class (VALA_CLASS (parent_symbol), VALA_CLASS (current_symbol));
                  } else if (VALA_IS_NAMESPACE (parent_symbol)) {
                        vala_namespace_add_class (VALA_NAMESPACE (parent_symbol), VALA_CLASS (current_symbol));
                        vala_source_file_add_node (current_source_file, VALA_CODE_NODE (current_symbol));
                  } else {
                        g_assert_not_reached ();
                  }
                  
                  VALA_CODE_NODE (current_symbol)->attributes = (yyvsp[(2) - (9)].list);
                  if ((yyvsp[(3) - (9)].num) != 0) {
                        VALA_DATA_TYPE (current_symbol)->access = (yyvsp[(3) - (9)].num);
                  }
                  if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_ABSTRACT) == VALA_MODIFIER_ABSTRACT) {
                        vala_class_set_is_abstract (VALA_CLASS (current_symbol), TRUE);
                  }
                  if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_STATIC) == VALA_MODIFIER_STATIC) {
                        vala_class_set_is_static (VALA_CLASS (current_symbol), TRUE);
                  }
                  if ((yyvsp[(8) - (9)].list) != NULL) {
                        GList *l;
                        for (l = (yyvsp[(8) - (9)].list); l != NULL; l = l->next) {
                              vala_class_add_type_parameter (VALA_CLASS (current_symbol), l->data);
                              g_object_unref (l->data);
                        }
                        g_list_free ((yyvsp[(8) - (9)].list));
                  }
                  if ((yyvsp[(9) - (9)].list) != NULL) {
                        GList *l;
                        for (l = (yyvsp[(9) - (9)].list); l != NULL; l = l->next) {
                              vala_class_add_base_type (VALA_CLASS (current_symbol), l->data);
                              g_object_unref (l->data);
                        }
                        g_list_free ((yyvsp[(9) - (9)].list));
                  }
            }

            g_object_unref (parent_symbol);

            push_symbol (current_symbol);
        }
    break;

  case 272:
#line 2218 "parser.y"
    {
            g_object_unref (pop_symbol ());
        }
    break;

  case 273:
#line 2225 "parser.y"
    {
            (yyval.num) = 0;
        }
    break;

  case 275:
#line 2233 "parser.y"
    {
            (yyval.num) = VALA_MEMBER_ACCESSIBILITY_PUBLIC;
        }
    break;

  case 276:
#line 2237 "parser.y"
    {
            (yyval.num) = VALA_MEMBER_ACCESSIBILITY_PROTECTED;
        }
    break;

  case 277:
#line 2241 "parser.y"
    {
            (yyval.num) = VALA_MEMBER_ACCESSIBILITY_PRIVATE;
        }
    break;

  case 278:
#line 2248 "parser.y"
    {
            (yyval.num) = VALA_MODIFIER_NONE;
        }
    break;

  case 281:
#line 2257 "parser.y"
    {
            if (((yyvsp[(1) - (2)].num) & (yyvsp[(2) - (2)].num)) == (yyvsp[(2) - (2)].num)) {
                  ValaSourceReference *src = src((yylsp[(2) - (2)]));
                  vala_report_error (src, "Modifier may only be specified once.");
                  g_object_unref (src);
            }
            (yyval.num) = (yyvsp[(1) - (2)].num) | (yyvsp[(2) - (2)].num);
        }
    break;

  case 282:
#line 2269 "parser.y"
    {
            (yyval.num) = VALA_MODIFIER_ABSTRACT;
        }
    break;

  case 283:
#line 2273 "parser.y"
    {
            (yyval.num) = VALA_MODIFIER_OVERRIDE;
        }
    break;

  case 284:
#line 2277 "parser.y"
    {
            (yyval.num) = VALA_MODIFIER_STATIC;
        }
    break;

  case 285:
#line 2281 "parser.y"
    {
            (yyval.num) = VALA_MODIFIER_VIRTUAL;
        }
    break;

  case 286:
#line 2288 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 288:
#line 2296 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (2)].list);
        }
    break;

  case 289:
#line 2303 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].type_reference));
        }
    break;

  case 290:
#line 2307 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].type_reference));
        }
    break;

  case 296:
#line 2328 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].constant) != NULL) {
                  vala_class_add_constant (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].constant));
                  g_object_unref ((yyvsp[(1) - (1)].constant));
            }
        }
    break;

  case 297:
#line 2336 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].field) != NULL) {
                  vala_class_add_field (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].field));
                  g_object_unref ((yyvsp[(1) - (1)].field));
            }
        }
    break;

  case 298:
#line 2344 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].method) != NULL) {
                  vala_class_add_method (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].method));
                  g_object_unref ((yyvsp[(1) - (1)].method));
            }
        }
    break;

  case 299:
#line 2352 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].property) != NULL) {
                  vala_class_add_property (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].property), FALSE);
                  g_object_unref ((yyvsp[(1) - (1)].property));
            }
        }
    break;

  case 300:
#line 2360 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].signal) != NULL) {
                  vala_class_add_signal (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].signal));
                  g_object_unref ((yyvsp[(1) - (1)].signal));
            }
        }
    break;

  case 301:
#line 2368 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].constructor) != NULL) {
                  vala_class_set_constructor (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].constructor));
                  g_object_unref ((yyvsp[(1) - (1)].constructor));
            }
        }
    break;

  case 302:
#line 2376 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].destructor) != NULL) {
                  vala_class_set_destructor (VALA_CLASS (symbol_stack->data), (yyvsp[(1) - (1)].destructor));
                  g_object_unref ((yyvsp[(1) - (1)].destructor));
            }
        }
    break;

  case 305:
#line 2389 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(5) - (7)]), (yyvsp[(1) - (7)].str));
            (yyval.constant) = vala_constant_new (vala_symbol_get_name (VALA_SYMBOL ((yyvsp[(6) - (7)].variable_declarator))), (yyvsp[(5) - (7)].type_reference), vala_variable_declarator_get_initializer ((yyvsp[(6) - (7)].variable_declarator)), src);
            g_object_unref (src);
            g_object_unref ((yyvsp[(5) - (7)].type_reference));
            g_object_unref ((yyvsp[(6) - (7)].variable_declarator));
            if ((yyvsp[(3) - (7)].num) != 0) {
                  (yyval.constant)->access = (yyvsp[(3) - (7)].num);
            }
        }
    break;

  case 306:
#line 2403 "parser.y"
    {
            ValaSourceReference *src;

            src = src_com((yylsp[(5) - (7)]), (yyvsp[(1) - (7)].str));

            if (vala_type_reference_get_is_ref ((yyvsp[(5) - (7)].type_reference)) || vala_type_reference_get_is_out ((yyvsp[(5) - (7)].type_reference))) {
                  vala_report_error (src, "`ref' and `out' may only be used for parameters.");
            }
            if (!vala_type_reference_get_is_weak ((yyvsp[(5) - (7)].type_reference))) {
                  vala_type_reference_set_takes_ownership ((yyvsp[(5) - (7)].type_reference), TRUE);
            }

            (yyval.field) = vala_field_new (vala_symbol_get_name (VALA_SYMBOL ((yyvsp[(6) - (7)].variable_declarator))), (yyvsp[(5) - (7)].type_reference), vala_variable_declarator_get_initializer ((yyvsp[(6) - (7)].variable_declarator)), src);
            g_object_unref (src);
            if ((yyvsp[(3) - (7)].num) != 0) {
                  (yyval.field)->access = (yyvsp[(3) - (7)].num);
            }
            if (((yyvsp[(4) - (7)].num) & VALA_MODIFIER_STATIC) == VALA_MODIFIER_STATIC) {
                  vala_field_set_instance ((yyval.field), FALSE);
            }
            VALA_CODE_NODE((yyval.field))->attributes = (yyvsp[(2) - (7)].list);
            g_object_unref ((yyvsp[(5) - (7)].type_reference));
            g_object_unref ((yyvsp[(6) - (7)].variable_declarator));
        }
    break;

  case 307:
#line 2431 "parser.y"
    {
            (yyval.str) = vala_parser_pop_comment (parser);
        }
    break;

  case 308:
#line 2438 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].variable_declarator));
        }
    break;

  case 309:
#line 2442 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].variable_declarator));
        }
    break;

  case 310:
#line 2449 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.variable_declarator) = vala_variable_declarator_new ((yyvsp[(1) - (1)].str), NULL, src);
            g_object_unref (src);
            g_free ((yyvsp[(1) - (1)].str));
        }
    break;

  case 311:
#line 2456 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.variable_declarator) = vala_variable_declarator_new ((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].expression), src);
            g_object_unref (src);
            g_free ((yyvsp[(1) - (3)].str));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 312:
#line 2467 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.expression) = VALA_EXPRESSION (vala_initializer_list_new (src));
            g_object_unref (src);

            if ((yyvsp[(2) - (3)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (3)].list); l != NULL; l = l->next) {
                        vala_initializer_list_append (VALA_INITIALIZER_LIST ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
            }
        }
    break;

  case 313:
#line 2484 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 315:
#line 2492 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].expression));
        }
    break;

  case 316:
#line 2496 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].expression));
        }
    break;

  case 319:
#line 2508 "parser.y"
    {
            (yyval.method) = (yyvsp[(1) - (2)].method);
            vala_method_set_body ((yyval.method), (yyvsp[(2) - (2)].block));
            if ((yyvsp[(2) - (2)].block) != NULL) {
                  g_object_unref ((yyvsp[(2) - (2)].block));
            }
        }
    break;

  case 320:
#line 2516 "parser.y"
    {
            (yyval.method) = NULL;
        }
    break;

  case 321:
#line 2523 "parser.y"
    {
            GList *l;
            ValaSourceReference *src;
            ValaModifier vmodifiers;

            src = src_com((yylsp[(6) - (10)]), (yyvsp[(1) - (10)].str));

            if (vala_type_reference_get_is_ref ((yyvsp[(5) - (10)].type_reference)) || vala_type_reference_get_is_out ((yyvsp[(5) - (10)].type_reference))) {
                  vala_report_error (src, "`ref' and `out' may only be used for parameters.");
            }
            if (!vala_type_reference_get_is_weak ((yyvsp[(5) - (10)].type_reference))) {
                  vala_type_reference_set_transfers_ownership ((yyvsp[(5) - (10)].type_reference), TRUE);
            }

            (yyval.method) = vala_method_new ((yyvsp[(6) - (10)].str), (yyvsp[(5) - (10)].type_reference), src);
            g_object_unref (src);
            if ((yyvsp[(3) - (10)].num) != 0) {
                  (yyval.method)->access = (yyvsp[(3) - (10)].num);
            }
            if (((yyvsp[(4) - (10)].num) & VALA_MODIFIER_STATIC) == VALA_MODIFIER_STATIC) {
                  vala_method_set_instance ((yyval.method), FALSE);
            }
            vmodifiers = (yyvsp[(4) - (10)].num) & (VALA_MODIFIER_ABSTRACT | VALA_MODIFIER_VIRTUAL | VALA_MODIFIER_OVERRIDE);
            if (vmodifiers == 0) {
            } else if (vmodifiers == VALA_MODIFIER_ABSTRACT) {
                  vala_method_set_is_abstract ((yyval.method), TRUE);
            } else if (vmodifiers == VALA_MODIFIER_VIRTUAL) {
                  vala_method_set_is_virtual ((yyval.method), TRUE);
            } else if (vmodifiers == VALA_MODIFIER_OVERRIDE) {
                  vala_method_set_overrides ((yyval.method), TRUE);
            } else {
                  vala_report_error (vala_code_node_get_source_reference (VALA_CODE_NODE ((yyval.method))), "Only one of `abstract', `virtual', and `override' may be specified.");
                  vala_code_node_set_error (VALA_CODE_NODE ((yyval.method)), TRUE);
            }
            VALA_CODE_NODE((yyval.method))->attributes = (yyvsp[(2) - (10)].list);
            
            for (l = (yyvsp[(8) - (10)].list); l != NULL; l = l->next) {
                  vala_method_add_parameter ((yyval.method), l->data);
                  g_object_unref (l->data);
            }
            if ((yyvsp[(8) - (10)].list) != NULL) {
                  g_list_free ((yyvsp[(8) - (10)].list));
            }

            for (l = (yyvsp[(10) - (10)].list); l != NULL; l = l->next) {
                  vala_method_add_error_domain ((yyval.method), l->data);
                  g_object_unref (l->data);
            }
            if ((yyvsp[(10) - (10)].list) != NULL) {
                  g_list_free ((yyvsp[(10) - (10)].list));
            }

            g_object_unref ((yyvsp[(5) - (10)].type_reference));
            g_free ((yyvsp[(6) - (10)].str));
        }
    break;

  case 322:
#line 2579 "parser.y"
    {
            GList *l;
            
            ValaSourceReference *src = src_com((yylsp[(5) - (10)]), (yyvsp[(1) - (10)].str));
            (yyval.method) = VALA_METHOD (vala_creation_method_new ((yyvsp[(6) - (10)].str), src));
            g_free ((yyvsp[(5) - (10)].str));
            g_free ((yyvsp[(6) - (10)].str));
            g_object_unref (src);
            vala_method_set_instance ((yyval.method), FALSE);
            if ((yyvsp[(3) - (10)].num) != 0) {
                  (yyval.method)->access = (yyvsp[(3) - (10)].num);
            }
            VALA_CODE_NODE((yyval.method))->attributes = (yyvsp[(2) - (10)].list);
            
            if ((yyvsp[(8) - (10)].list) != NULL) {
                  for (l = (yyvsp[(8) - (10)].list); l != NULL; l = l->next) {
                        vala_method_add_parameter ((yyval.method), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(8) - (10)].list));
            }

            for (l = (yyvsp[(10) - (10)].list); l != NULL; l = l->next) {
                  vala_method_add_error_domain ((yyval.method), l->data);
                  g_object_unref (l->data);
            }
            if ((yyvsp[(10) - (10)].list) != NULL) {
                  g_list_free ((yyvsp[(10) - (10)].list));
            }
        }
    break;

  case 324:
#line 2614 "parser.y"
    {
            (yyval.block) = NULL;
        }
    break;

  case 325:
#line 2621 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 328:
#line 2630 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(3) - (3)]));
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), vala_formal_parameter_new_with_ellipsis (src));
            g_object_unref (src);
        }
    break;

  case 329:
#line 2636 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.list) = g_list_append (NULL, vala_formal_parameter_new_with_ellipsis (src));
            g_object_unref (src);
        }
    break;

  case 330:
#line 2645 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].formal_parameter));
        }
    break;

  case 331:
#line 2649 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].formal_parameter));
        }
    break;

  case 332:
#line 2656 "parser.y"
    {
            (yyval.num) = FALSE;
        }
    break;

  case 333:
#line 2660 "parser.y"
    {
            (yyval.num) = TRUE;
        }
    break;

  case 334:
#line 2667 "parser.y"
    {
            ValaSourceReference *src;

            src = src((yylsp[(3) - (4)]));
            (yyval.formal_parameter) = vala_formal_parameter_new ((yyvsp[(4) - (4)].str), (yyvsp[(3) - (4)].type_reference), src);
            g_object_unref (src);
            vala_formal_parameter_set_construct_parameter ((yyval.formal_parameter), (yyvsp[(2) - (4)].num));
            g_object_unref ((yyvsp[(3) - (4)].type_reference));
            g_free ((yyvsp[(4) - (4)].str));
        }
    break;

  case 335:
#line 2678 "parser.y"
    {
            ValaSourceReference *src;

            src = src((yylsp[(3) - (6)]));
            (yyval.formal_parameter) = vala_formal_parameter_new ((yyvsp[(4) - (6)].str), (yyvsp[(3) - (6)].type_reference), src);
            g_object_unref (src);
            vala_formal_parameter_set_default_expression ((yyval.formal_parameter), (yyvsp[(6) - (6)].expression));
            vala_formal_parameter_set_construct_parameter ((yyval.formal_parameter), (yyvsp[(2) - (6)].num));
            g_object_unref ((yyvsp[(3) - (6)].type_reference));
            g_free ((yyvsp[(4) - (6)].str));
            g_object_unref ((yyvsp[(6) - (6)].expression));
        }
    break;

  case 336:
#line 2694 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 338:
#line 2702 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (2)].list);
        }
    break;

  case 339:
#line 2709 "parser.y"
    {
            ValaSourceReference *src;

            if (!vala_type_reference_get_is_weak ((yyvsp[(5) - (10)].type_reference))) {
                  vala_type_reference_set_takes_ownership ((yyvsp[(5) - (10)].type_reference), TRUE);
            }
            
            src = src_com((yylsp[(5) - (10)]), (yyvsp[(1) - (10)].str));
            (yyval.property) = vala_property_new ((yyvsp[(6) - (10)].str), (yyvsp[(5) - (10)].type_reference), (yyvsp[(8) - (10)].property_accessor), (yyvsp[(9) - (10)].property_accessor), src);
            g_object_unref (src);

            VALA_CODE_NODE((yyval.property))->attributes = (yyvsp[(2) - (10)].list);

            g_object_unref ((yyvsp[(5) - (10)].type_reference));
            g_free ((yyvsp[(6) - (10)].str));
            g_object_unref ((yyvsp[(8) - (10)].property_accessor));
            if ((yyvsp[(9) - (10)].property_accessor) != NULL) {
                  g_object_unref ((yyvsp[(9) - (10)].property_accessor));
            }

            if (((yyvsp[(4) - (10)].num) & VALA_MODIFIER_ABSTRACT) == VALA_MODIFIER_ABSTRACT) {
                  vala_property_set_is_abstract ((yyval.property), TRUE);
            }
            if (((yyvsp[(4) - (10)].num) & VALA_MODIFIER_VIRTUAL) == VALA_MODIFIER_VIRTUAL) {
                  vala_property_set_is_virtual ((yyval.property), TRUE);
            }
            if (((yyvsp[(4) - (10)].num) & VALA_MODIFIER_OVERRIDE) == VALA_MODIFIER_OVERRIDE) {
                  vala_property_set_overrides ((yyval.property), TRUE);
            }
        }
    break;

  case 340:
#line 2740 "parser.y"
    {
            ValaSourceReference *src;

            if (!vala_type_reference_get_is_weak ((yyvsp[(5) - (9)].type_reference))) {
                  vala_type_reference_set_takes_ownership ((yyvsp[(5) - (9)].type_reference), TRUE);
            }
            
            src = src_com((yylsp[(5) - (9)]), (yyvsp[(1) - (9)].str));
            (yyval.property) = vala_property_new ((yyvsp[(6) - (9)].str), (yyvsp[(5) - (9)].type_reference), NULL, (yyvsp[(8) - (9)].property_accessor), src);
            g_object_unref (src);

            VALA_CODE_NODE((yyval.property))->attributes = (yyvsp[(2) - (9)].list);

            g_object_unref ((yyvsp[(5) - (9)].type_reference));
            g_free ((yyvsp[(6) - (9)].str));
            g_object_unref ((yyvsp[(8) - (9)].property_accessor));
            
            if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_ABSTRACT) == VALA_MODIFIER_ABSTRACT) {
                  vala_property_set_is_abstract ((yyval.property), TRUE);
            }
            if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_VIRTUAL) == VALA_MODIFIER_VIRTUAL) {
                  vala_property_set_is_virtual ((yyval.property), TRUE);
            }
            if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_OVERRIDE) == VALA_MODIFIER_OVERRIDE) {
                  vala_property_set_overrides ((yyval.property), TRUE);
            }
        }
    break;

  case 341:
#line 2771 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.property_accessor) = vala_property_accessor_new (TRUE, FALSE, FALSE, (yyvsp[(3) - (3)].block), src);
            g_object_unref (src);

            if ((yyvsp[(3) - (3)].block) != NULL) {
                  g_object_unref ((yyvsp[(3) - (3)].block));
            }
        }
    break;

  case 342:
#line 2784 "parser.y"
    {
            (yyval.property_accessor) = NULL;
        }
    break;

  case 344:
#line 2792 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.property_accessor) = vala_property_accessor_new (FALSE, TRUE, FALSE, (yyvsp[(3) - (3)].block), src);
            g_object_unref (src);
            if ((yyvsp[(3) - (3)].block) != NULL) {
                  g_object_unref ((yyvsp[(3) - (3)].block));
            }
        }
    break;

  case 345:
#line 2801 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (4)]));
            (yyval.property_accessor) = vala_property_accessor_new (FALSE, TRUE, TRUE, (yyvsp[(4) - (4)].block), src);
            g_object_unref (src);
            if ((yyvsp[(4) - (4)].block) != NULL) {
                  g_object_unref ((yyvsp[(4) - (4)].block));
            }
        }
    break;

  case 346:
#line 2810 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(2) - (3)]));
            (yyval.property_accessor) = vala_property_accessor_new (FALSE, FALSE, TRUE, (yyvsp[(3) - (3)].block), src);
            g_object_unref (src);
            if ((yyvsp[(3) - (3)].block) != NULL) {
                  g_object_unref ((yyvsp[(3) - (3)].block));
            }
        }
    break;

  case 347:
#line 2822 "parser.y"
    {
            GList *l;
            
            ValaSourceReference *src = src_com((yylsp[(6) - (10)]), (yyvsp[(1) - (10)].str));
            (yyval.signal) = vala_signal_new ((yyvsp[(6) - (10)].str), (yyvsp[(5) - (10)].type_reference), src);
            g_object_unref (src);
            if ((yyvsp[(3) - (10)].num) != 0) {
                  vala_signal_set_access ((yyval.signal), (yyvsp[(3) - (10)].num));
            }
            VALA_CODE_NODE((yyval.signal))->attributes = (yyvsp[(2) - (10)].list);
            
            for (l = (yyvsp[(8) - (10)].list); l != NULL; l = l->next) {
                  vala_signal_add_parameter ((yyval.signal), l->data);
                  g_object_unref (l->data);
            }
            if ((yyvsp[(8) - (10)].list) != NULL) {
                  g_list_free ((yyvsp[(8) - (10)].list));
            }

            g_object_unref ((yyvsp[(5) - (10)].type_reference));
            g_free ((yyvsp[(6) - (10)].str));
        }
    break;

  case 348:
#line 2848 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(3) - (4)]), (yyvsp[(1) - (4)].str));
            (yyval.constructor) = vala_constructor_new (src);
            g_object_unref (src);
            vala_constructor_set_body ((yyval.constructor), (yyvsp[(4) - (4)].block));
            g_object_unref ((yyvsp[(4) - (4)].block));
        }
    break;

  case 349:
#line 2859 "parser.y"
    {
            ValaSourceReference *src = src_com((yylsp[(6) - (9)]), (yyvsp[(1) - (9)].str));
            (yyval.destructor) = vala_destructor_new (src);
            g_object_unref (src);
            vala_destructor_set_body ((yyval.destructor), (yyvsp[(9) - (9)].block));
            
            g_free ((yyvsp[(6) - (9)].str));
            g_object_unref ((yyvsp[(9) - (9)].block));
        }
    break;

  case 350:
#line 2872 "parser.y"
    {
            push_symbol (VALA_SYMBOL ((yyvsp[(1) - (1)].struct_)));
        }
    break;

  case 351:
#line 2876 "parser.y"
    {
            g_object_unref (pop_symbol ());
        }
    break;

  case 352:
#line 2883 "parser.y"
    {
            GList *l;
            ValaSourceReference *src;

            char *name = (yyvsp[(5) - (8)].str);
        
            ValaSymbol *parent_symbol = VALA_SYMBOL (g_object_ref (symbol_stack->data));
            ValaScope *parent_scope = VALA_SCOPE (scope_stack->data);

            if ((yyvsp[(6) - (8)].str) != NULL) {
                  ValaSourceReference *ns_src = src((yylsp[(5) - (8)]));
                  g_object_unref (parent_symbol);
                  parent_symbol = vala_scope_lookup (parent_scope, (yyvsp[(5) - (8)].str));
                  if (parent_symbol != NULL) {
                        if (check_is_namespace (parent_symbol, src)) {
                              if (!vala_source_file_get_pkg (current_source_file)) {
                                    vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), FALSE);
                              }
                        }
                  } else {
                        parent_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(5) - (8)].str), ns_src));
                        vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), vala_source_file_get_pkg (current_source_file));
                        vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (parent_symbol));
                  }
                  parent_scope = vala_symbol_get_scope (parent_symbol);
                  g_free ((yyvsp[(5) - (8)].str));
                  g_object_unref (ns_src);
                  
                  name = (yyvsp[(6) - (8)].str);
            }
            
            src = src_com((yylsp[(5) - (8)]), (yyvsp[(1) - (8)].str));
            (yyval.struct_) = vala_struct_new (name, src);
            g_free (name);
            g_object_unref (src);

            if (VALA_IS_CLASS (parent_symbol)) {
                  vala_class_add_struct (VALA_CLASS (parent_symbol), (yyval.struct_));
            } else if (VALA_IS_NAMESPACE (parent_symbol)) {
                  vala_namespace_add_struct (VALA_NAMESPACE (parent_symbol), (yyval.struct_));
                  vala_source_file_add_node (current_source_file, VALA_CODE_NODE ((yyval.struct_)));
            } else {
                  g_assert_not_reached ();
            }

            for (l = (yyvsp[(7) - (8)].list); l != NULL; l = l->next) {
                  vala_struct_add_type_parameter ((yyval.struct_), l->data);
            }
            VALA_CODE_NODE((yyval.struct_))->attributes = (yyvsp[(2) - (8)].list);
            if ((yyvsp[(3) - (8)].num) != 0) {
                  VALA_DATA_TYPE((yyval.struct_))->access = (yyvsp[(3) - (8)].num);
            }
            if ((yyvsp[(8) - (8)].list) != NULL) {
                  for (l = (yyvsp[(8) - (8)].list); l != NULL; l = l->next) {
                        vala_struct_add_base_type ((yyval.struct_), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(8) - (8)].list));
            }

            g_object_unref (parent_symbol);
        }
    break;

  case 358:
#line 2963 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].field) != NULL) {
                  vala_struct_add_field (VALA_STRUCT (symbol_stack->data), (yyvsp[(1) - (1)].field));
                  g_object_unref ((yyvsp[(1) - (1)].field));
            }
        }
    break;

  case 359:
#line 2971 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].method) != NULL) {
                  vala_struct_add_method (VALA_STRUCT (symbol_stack->data), (yyvsp[(1) - (1)].method));
                  g_object_unref ((yyvsp[(1) - (1)].method));
            }
        }
    break;

  case 360:
#line 2982 "parser.y"
    {
            ValaSourceReference *src;
            char *name = (yyvsp[(6) - (9)].str);
        
            ValaSymbol *parent_symbol = VALA_SYMBOL (g_object_ref (symbol_stack->data));
            ValaScope *parent_scope = VALA_SCOPE (scope_stack->data);

            if ((yyvsp[(7) - (9)].str) != NULL) {
                  ValaSourceReference *ns_src = src((yylsp[(6) - (9)]));
                  g_object_unref (parent_symbol);
                  parent_symbol = vala_scope_lookup (parent_scope, (yyvsp[(6) - (9)].str));
                  if (parent_symbol != NULL) {
                        if (check_is_namespace (parent_symbol, src)) {
                              if (!vala_source_file_get_pkg (current_source_file)) {
                                    vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), FALSE);
                              }
                        }
                  } else {
                        parent_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(6) - (9)].str), ns_src));
                        vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), vala_source_file_get_pkg (current_source_file));
                        vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (parent_symbol));
                  }
                  parent_scope = vala_symbol_get_scope (parent_symbol);
                  g_free ((yyvsp[(6) - (9)].str));
                  g_object_unref (ns_src);
                  
                  name = (yyvsp[(7) - (9)].str);
            }
            
            src = src_com((yylsp[(6) - (9)]), (yyvsp[(1) - (9)].str));
            ValaInterface *iface = vala_interface_new (name, src);
            g_free (name);
            g_object_unref (src);

            vala_namespace_add_interface (VALA_NAMESPACE (parent_symbol), iface);
            vala_source_file_add_node (current_source_file, VALA_CODE_NODE (iface));
            g_object_unref (parent_symbol);

            VALA_CODE_NODE (iface)->attributes = (yyvsp[(2) - (9)].list);
            if ((yyvsp[(3) - (9)].num) != 0) {
                  VALA_DATA_TYPE (iface)->access = (yyvsp[(3) - (9)].num);
            }
            if (((yyvsp[(4) - (9)].num) & VALA_MODIFIER_STATIC) == VALA_MODIFIER_STATIC) {
                  vala_interface_set_is_static (iface, TRUE);
            }
            if ((yyvsp[(8) - (9)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(8) - (9)].list); l != NULL; l = l->next) {
                        vala_interface_add_type_parameter (iface, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(8) - (9)].list));
            }
            if ((yyvsp[(9) - (9)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(9) - (9)].list); l != NULL; l = l->next) {
                        vala_interface_add_prerequisite (iface, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(9) - (9)].list));
            }
            
            push_symbol (VALA_SYMBOL (iface));
        }
    break;

  case 361:
#line 3047 "parser.y"
    {
            g_object_unref (pop_symbol ());
        }
    break;

  case 367:
#line 3068 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].method) != NULL) {
                  vala_interface_add_method (VALA_INTERFACE (symbol_stack->data), (yyvsp[(1) - (1)].method));
                  g_object_unref ((yyvsp[(1) - (1)].method));
            }
        }
    break;

  case 368:
#line 3076 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].field) != NULL) {
                  vala_interface_add_field (VALA_INTERFACE (symbol_stack->data), (yyvsp[(1) - (1)].field));
                  g_object_unref ((yyvsp[(1) - (1)].field));
            }
        }
    break;

  case 369:
#line 3084 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].property) != NULL) {
                  vala_interface_add_property (VALA_INTERFACE (symbol_stack->data), (yyvsp[(1) - (1)].property));
                  g_object_unref ((yyvsp[(1) - (1)].property));
            }
        }
    break;

  case 370:
#line 3092 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].signal) != NULL) {
                  vala_interface_add_signal (VALA_INTERFACE (symbol_stack->data), (yyvsp[(1) - (1)].signal));
                  g_object_unref ((yyvsp[(1) - (1)].signal));
            }
        }
    break;

  case 371:
#line 3103 "parser.y"
    {
            ValaSourceReference *src;

            char *name = (yyvsp[(5) - (6)].str);
        
            ValaSymbol *parent_symbol = VALA_SYMBOL (g_object_ref (symbol_stack->data));
            ValaScope *parent_scope = VALA_SCOPE (scope_stack->data);

            if ((yyvsp[(6) - (6)].str) != NULL) {
                  ValaSourceReference *ns_src = src((yylsp[(5) - (6)]));
                  g_object_unref (parent_symbol);
                  parent_symbol = vala_scope_lookup (parent_scope, (yyvsp[(5) - (6)].str));
                  if (parent_symbol != NULL) {
                        if (check_is_namespace (parent_symbol, src)) {
                              if (!vala_source_file_get_pkg (current_source_file)) {
                                    vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), FALSE);
                              }
                        }
                  } else {
                        parent_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(5) - (6)].str), ns_src));
                        vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), vala_source_file_get_pkg (current_source_file));
                        vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (parent_symbol));
                  }
                  parent_scope = vala_symbol_get_scope (parent_symbol);
                  g_free ((yyvsp[(5) - (6)].str));
                  g_object_unref (ns_src);
                  
                  name = (yyvsp[(6) - (6)].str);
            }
            
            src = src_com((yylsp[(5) - (6)]), (yyvsp[(1) - (6)].str));
            ValaEnum *en = vala_enum_new (name, src);
            g_free (name);
            g_object_unref (src);

            vala_namespace_add_enum (VALA_NAMESPACE (parent_symbol), en);
            vala_source_file_add_node (current_source_file, VALA_CODE_NODE (en));
            g_object_unref (parent_symbol);

            VALA_CODE_NODE (en)->attributes = (yyvsp[(2) - (6)].list);

            if ((yyvsp[(3) - (6)].num) != 0) {
                  VALA_DATA_TYPE (en)->access = (yyvsp[(3) - (6)].num);
            }
            
            push_symbol (VALA_SYMBOL (en));
        }
    break;

  case 372:
#line 3151 "parser.y"
    {
            g_object_unref (pop_symbol ());
        }
    break;

  case 378:
#line 3172 "parser.y"
    {
            ValaEnumValue *ev = vala_enum_value_new ((yyvsp[(2) - (2)].str));
            g_free ((yyvsp[(2) - (2)].str));
            vala_enum_add_value (VALA_ENUM (symbol_stack->data), ev);
            g_object_unref (ev);
        }
    break;

  case 379:
#line 3179 "parser.y"
    {
            ValaEnumValue *ev = vala_enum_value_new_with_value ((yyvsp[(2) - (4)].str), (yyvsp[(4) - (4)].expression));
            g_free ((yyvsp[(2) - (4)].str));
            g_object_unref ((yyvsp[(4) - (4)].expression));
            vala_enum_add_value (VALA_ENUM (symbol_stack->data), ev);
            g_object_unref (ev);
        }
    break;

  case 384:
#line 3200 "parser.y"
    {
            /* skip declarations with errors */
            if ((yyvsp[(1) - (1)].method) != NULL) {
                  vala_enum_add_method (VALA_ENUM (symbol_stack->data), (yyvsp[(1) - (1)].method));
                  g_object_unref ((yyvsp[(1) - (1)].method));
            }
        }
    break;

  case 385:
#line 3211 "parser.y"
    {
            ValaSourceReference *src;
            GList *l;
            char *name = (yyvsp[(7) - (14)].str);
        
            ValaSymbol *parent_symbol = VALA_SYMBOL (g_object_ref (symbol_stack->data));
            ValaScope *parent_scope = VALA_SCOPE (scope_stack->data);

            if ((yyvsp[(8) - (14)].str) != NULL) {
                  ValaSourceReference *ns_src = src((yylsp[(7) - (14)]));
                  g_object_unref (parent_symbol);
                  parent_symbol = vala_scope_lookup (parent_scope, (yyvsp[(7) - (14)].str));
                  if (parent_symbol != NULL) {
                        if (check_is_namespace (parent_symbol, src)) {
                              if (!vala_source_file_get_pkg (current_source_file)) {
                                    vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), FALSE);
                              }
                        }
                  } else {
                        parent_symbol = VALA_SYMBOL (vala_namespace_new ((yyvsp[(7) - (14)].str), ns_src));
                        vala_namespace_set_pkg (VALA_NAMESPACE (parent_symbol), vala_source_file_get_pkg (current_source_file));
                        vala_namespace_add_namespace (VALA_NAMESPACE (symbol_stack->data), VALA_NAMESPACE (parent_symbol));
                  }
                  parent_scope = vala_symbol_get_scope (parent_symbol);
                  g_free ((yyvsp[(7) - (14)].str));
                  g_object_unref (ns_src);
                  
                  name = (yyvsp[(8) - (14)].str);
            }
            
            src = src_com((yylsp[(7) - (14)]), (yyvsp[(1) - (14)].str));
            ValaCallback *cb = vala_callback_new (name, (yyvsp[(6) - (14)].type_reference), src);
            g_free (name);
            g_object_unref ((yyvsp[(6) - (14)].type_reference));
            g_object_unref (src);

            vala_namespace_add_callback (VALA_NAMESPACE (parent_symbol), cb);
            vala_source_file_add_node (current_source_file, VALA_CODE_NODE (cb));
            g_object_unref (parent_symbol);

            if ((yyvsp[(3) - (14)].num) != 0) {
                  VALA_DATA_TYPE (cb)->access = (yyvsp[(3) - (14)].num);
            }
            VALA_CODE_NODE (cb)->attributes = (yyvsp[(2) - (14)].list);
            
            if ((yyvsp[(9) - (14)].list) != NULL) {
                  for (l = (yyvsp[(9) - (14)].list); l != NULL; l = l->next) {
                        vala_callback_add_type_parameter (cb, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(9) - (14)].list));
            }
            if ((yyvsp[(11) - (14)].list) != NULL) {
                  for (l = (yyvsp[(11) - (14)].list); l != NULL; l = l->next) {
                        vala_callback_add_parameter (cb, l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(11) - (14)].list));
            }

            g_object_unref (cb);
        }
    break;

  case 386:
#line 3277 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 390:
#line 3290 "parser.y"
    {
            (yyval.list) = g_list_concat ((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].list));
        }
    break;

  case 391:
#line 3297 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (3)].list);
        }
    break;

  case 392:
#line 3301 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 393:
#line 3308 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].attribute));
        }
    break;

  case 394:
#line 3312 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].attribute));
        }
    break;

  case 395:
#line 3319 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.attribute) = vala_attribute_new ((yyvsp[(1) - (1)].str), src);
            g_free ((yyvsp[(1) - (1)].str));
            g_object_unref (src);
        }
    break;

  case 396:
#line 3326 "parser.y"
    {
            GList *l;
            
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.attribute) = vala_attribute_new ((yyvsp[(1) - (4)].str), src);
            g_object_unref (src);
            
            for (l = (yyvsp[(3) - (4)].list); l != NULL; l = l->next) {
                  vala_attribute_add_argument ((yyval.attribute), l->data);
                  g_object_unref (l->data);
            }
            if ((yyvsp[(3) - (4)].list) != NULL) {
                  g_list_free ((yyvsp[(3) - (4)].list));
            }
            
            g_free ((yyvsp[(1) - (4)].str));
        }
    break;

  case 398:
#line 3351 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 400:
#line 3359 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].named_argument));
        }
    break;

  case 401:
#line 3363 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].named_argument));
        }
    break;

  case 402:
#line 3370 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (3)]));
            (yyval.named_argument) = vala_named_argument_new ((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].expression), src);
            g_object_unref (src);
            
            g_free ((yyvsp[(1) - (3)].str));
            g_object_unref ((yyvsp[(3) - (3)].expression));
        }
    break;

  case 403:
#line 3382 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 405:
#line 3390 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (3)].list);
        }
    break;

  case 406:
#line 3397 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].type_parameter));
        }
    break;

  case 407:
#line 3401 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].type_parameter));
        }
    break;

  case 408:
#line 3408 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (1)]));
            (yyval.type_parameter) = vala_type_parameter_new ((yyvsp[(1) - (1)].str), src);
            g_object_unref (src);
            g_free ((yyvsp[(1) - (1)].str));
        }
    break;

  case 409:
#line 3418 "parser.y"
    {
            (yyval.list) = NULL;
        }
    break;

  case 411:
#line 3426 "parser.y"
    {
            (yyval.list) = (yyvsp[(2) - (3)].list);
        }
    break;

  case 412:
#line 3433 "parser.y"
    {
            (yyval.list) = g_list_append (NULL, (yyvsp[(1) - (1)].type_reference));
        }
    break;

  case 413:
#line 3437 "parser.y"
    {
            (yyval.list) = g_list_append ((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].type_reference));
        }
    break;

  case 414:
#line 3444 "parser.y"
    {
            (yyval.type_reference) = (yyvsp[(1) - (1)].type_reference);
            if (!vala_type_reference_get_is_weak ((yyval.type_reference))) {
                  vala_type_reference_set_takes_ownership ((yyval.type_reference), TRUE);
            }
        }
    break;

  case 417:
#line 3459 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (2)]));
            (yyval.expression) = VALA_EXPRESSION (vala_member_access_new (NULL, (yyvsp[(1) - (2)].str), src));
            g_free ((yyvsp[(1) - (2)].str));
            g_object_unref (src);

            if ((yyvsp[(2) - (2)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(2) - (2)].list); l != NULL; l = l->next) {
                        vala_member_access_add_type_argument (VALA_MEMBER_ACCESS ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(2) - (2)].list));
            }
        }
    break;

  case 418:
#line 3475 "parser.y"
    {
            ValaSourceReference *src = src((yylsp[(1) - (4)]));
            (yyval.expression) = VALA_EXPRESSION (vala_member_access_new ((yyvsp[(1) - (4)].expression), (yyvsp[(3) - (4)].str), src));
            g_object_unref ((yyvsp[(1) - (4)].expression));
            g_free ((yyvsp[(3) - (4)].str));
            g_object_unref (src);

            if ((yyvsp[(4) - (4)].list) != NULL) {
                  GList *l;
                  for (l = (yyvsp[(4) - (4)].list); l != NULL; l = l->next) {
                        vala_member_access_add_type_argument (VALA_MEMBER_ACCESS ((yyval.expression)), l->data);
                        g_object_unref (l->data);
                  }
                  g_list_free ((yyvsp[(4) - (4)].list));
            }
        }
    break;


/* Line 1267 of yacc.c.  */
#line 5935 "parser.c"
      default: break;
    }
  YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);

  YYPOPSTACK (yylen);
  yylen = 0;
  YY_STACK_PRINT (yyss, yyssp);

  *++yyvsp = yyval;
  *++yylsp = yyloc;

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

  yyn = yyr1[yyn];

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

  goto yynewstate;


/*------------------------------------.
| yyerrlab -- here on detecting error |
`------------------------------------*/
yyerrlab:
  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
    {
      ++yynerrs;
#if ! YYERROR_VERBOSE
      yyerror (&yylloc, parser, YY_("syntax error"));
#else
      {
      YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
      if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
        {
          YYSIZE_T yyalloc = 2 * yysize;
          if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
            yyalloc = YYSTACK_ALLOC_MAXIMUM;
          if (yymsg != yymsgbuf)
            YYSTACK_FREE (yymsg);
          yymsg = (char *) YYSTACK_ALLOC (yyalloc);
          if (yymsg)
            yymsg_alloc = yyalloc;
          else
            {
            yymsg = yymsgbuf;
            yymsg_alloc = sizeof yymsgbuf;
            }
        }

      if (0 < yysize && yysize <= yymsg_alloc)
        {
          (void) yysyntax_error (yymsg, yystate, yychar);
          yyerror (&yylloc, parser, yymsg);
        }
      else
        {
          yyerror (&yylloc, parser, YY_("syntax error"));
          if (yysize != 0)
            goto yyexhaustedlab;
        }
      }
#endif
    }

  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, parser);
        yychar = YYEMPTY;
      }
    }

  /* Else will try to reuse look-ahead token after shifting the error
     token.  */
  goto yyerrlab1;


/*---------------------------------------------------.
| 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 (/*CONSTCOND*/ 0)
     goto yyerrorlab;

  yyerror_range[0] = yylsp[1-yylen];
  /* Do not reclaim the symbols of the rule which action triggered
     this YYERROR.  */
  YYPOPSTACK (yylen);
  yylen = 0;
  YY_STACK_PRINT (yyss, yyssp);
  yystate = *yyssp;
  goto yyerrlab1;


/*-------------------------------------------------------------.
| yyerrlab1 -- common code for both syntax error and YYERROR.  |
`-------------------------------------------------------------*/
yyerrlab1:
  yyerrstatus = 3;      /* Each real token shifted decrements this.  */

  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;

      yyerror_range[0] = *yylsp;
      yydestruct ("Error: popping",
              yystos[yystate], yyvsp, yylsp, parser);
      YYPOPSTACK (1);
      yystate = *yyssp;
      YY_STACK_PRINT (yyss, yyssp);
    }

  if (yyn == YYFINAL)
    YYACCEPT;

  *++yyvsp = yylval;

  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;


/*-------------------------------------.
| yyacceptlab -- YYACCEPT comes here.  |
`-------------------------------------*/
yyacceptlab:
  yyresult = 0;
  goto yyreturn;

/*-----------------------------------.
| yyabortlab -- YYABORT comes here.  |
`-----------------------------------*/
yyabortlab:
  yyresult = 1;
  goto yyreturn;

#ifndef yyoverflow
/*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here.  |
`-------------------------------------------------*/
yyexhaustedlab:
  yyerror (&yylloc, parser, YY_("memory exhausted"));
  yyresult = 2;
  /* Fall through.  */
#endif

yyreturn:
  if (yychar != YYEOF && yychar != YYEMPTY)
     yydestruct ("Cleanup: discarding lookahead",
             yytoken, &yylval, &yylloc, parser);
  /* Do not reclaim the symbols of the rule which action triggered
     this YYABORT or YYACCEPT.  */
  YYPOPSTACK (yylen);
  YY_STACK_PRINT (yyss, yyssp);
  while (yyssp != yyss)
    {
      yydestruct ("Cleanup: popping",
              yystos[*yyssp], yyvsp, yylsp, parser);
      YYPOPSTACK (1);
    }
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif
#if YYERROR_VERBOSE
  if (yymsg != yymsgbuf)
    YYSTACK_FREE (yymsg);
#endif
  /* Make sure YYID is used.  */
  return YYID (yyresult);
}


#line 3493 "parser.y"


extern FILE *yyin;
extern int yylineno;

static void
yyerror (YYLTYPE *locp, ValaParser *parser, const char *msg)
{
      ValaSourceReference *source_reference = vala_source_reference_new (current_source_file, locp->first_line, locp->first_column, locp->last_line, locp->last_column);
      vala_report_error (source_reference, (char *) msg);
}

void
vala_parser_parse_file (ValaParser *parser, ValaSourceFile *source_file)
{
      current_source_file = source_file;
      push_symbol (VALA_SYMBOL (vala_code_context_get_root (vala_source_file_get_context (source_file))));
      yyin = fopen (vala_source_file_get_filename (current_source_file), "r");
      if (yyin == NULL) {
            printf ("Couldn't open source file: %s.\n", vala_source_file_get_filename (current_source_file));
            return;
      }

      /* restart line counter on each file */
      yylineno = 1;
      
      yyparse (parser);
      fclose (yyin);
      yyin = NULL;
}

static void push_symbol (ValaSymbol *symbol) {
      symbol_stack = g_list_prepend (symbol_stack, symbol);
      scope_stack = g_list_prepend (scope_stack, vala_symbol_get_scope (symbol));
}

static ValaSymbol *pop_symbol (void) {
      ValaSymbol *sym = VALA_SYMBOL (symbol_stack->data);
      symbol_stack = g_list_delete_link (symbol_stack, symbol_stack);
      scope_stack = g_list_delete_link (scope_stack, scope_stack);
      return sym;
}

static gboolean check_is_namespace (ValaSymbol *symbol, ValaSourceReference *src) {
      if (!VALA_IS_NAMESPACE (symbol)) {
            char *sym_name = vala_symbol_get_full_name (symbol);
            char *error_msg = g_strdup_printf ("`%s` already exists but is not a namespace", sym_name);
            g_free (sym_name);
            vala_report_error (src, error_msg);
            g_free (error_msg);
            return FALSE;
      }
      return TRUE;
}

static gboolean check_is_class (ValaSymbol *symbol, ValaSourceReference *src) {
      if (!VALA_IS_CLASS (symbol)) {
            char *sym_name = vala_symbol_get_full_name (symbol);
            char *error_msg = g_strdup_printf ("`%s` already exists but is not a class", sym_name);
            g_free (sym_name);
            vala_report_error (src, error_msg);
            g_free (error_msg);
            return FALSE;
      }
      return TRUE;
}



Generated by  Doxygen 1.6.0   Back to index