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

/* Bison implementation for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
   Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

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

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

/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
   especially those whose name start with YY_ or yy_.  They are
   private implementation details that can be changed or removed.  */

/* 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, and Bison version.  */
#define YYBISON 30802

/* Bison version string.  */
#define YYBISON_VERSION "3.8.2"

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

/* Pure parsers.  */
#define YYPURE 0

/* Push parsers.  */
#define YYPUSH 0

/* Pull parsers.  */
#define YYPULL 1




/* First part of user prologue.  */
#line 1 "chuck.y"


/*----------------------------------------------------------------------------
  ChucK Strongly-timed Audio Programming Language
    Compiler and Virtual Machine

  Copyright (c) 2003 Ge Wang and Perry R. Cook. All rights reserved.
    http://chuck.cs.princeton.edu/
    http://soundlab.cs.princeton.edu/

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  U.S.A.
-----------------------------------------------------------------------------*/

//-----------------------------------------------------------------------------
// file: chuck.tab.c
// desc: chuck parser
//
// author: Ge Wang (gewang@cs.princeton.edu) - generated by yacc
//         Perry R. Cook (prc@cs.princeton.edu)
//
// initial version created by Ge Wang;
// based on ansi C grammar by Jeff Lee, maintained by Jutta Degener
//
// date: Summer 2002
//-----------------------------------------------------------------------------
#include "chuck_absyn.h"
#include "chuck_errmsg.h"

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

// function
int yylex( void );

void yyerror( char * s )
{
    EM_error( EM_tokPos, "%s", s );
}

a_Program g_program = NULL;


#line 128 "chuck.tab.c"

# ifndef YY_CAST
#  ifdef __cplusplus
#   define YY_CAST(Type, Val) static_cast<Type> (Val)
#   define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
#  else
#   define YY_CAST(Type, Val) ((Type) (Val))
#   define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
#  endif
# endif
# ifndef YY_NULLPTR
#  if defined __cplusplus
#   if 201103L <= __cplusplus
#    define YY_NULLPTR nullptr
#   else
#    define YY_NULLPTR 0
#   endif
#  else
#   define YY_NULLPTR ((void*)0)
#  endif
# endif

#include "chuck.tab.h"
/* Symbol kind.  */
enum yysymbol_kind_t
{
  YYSYMBOL_YYEMPTY = -2,
  YYSYMBOL_YYEOF = 0,                      /* "end of file"  */
  YYSYMBOL_YYerror = 1,                    /* error  */
  YYSYMBOL_YYUNDEF = 2,                    /* "invalid token"  */
  YYSYMBOL_ID = 3,                         /* ID  */
  YYSYMBOL_STRING_LIT = 4,                 /* STRING_LIT  */
  YYSYMBOL_CHAR_LIT = 5,                   /* CHAR_LIT  */
  YYSYMBOL_INT_VAL = 6,                    /* INT_VAL  */
  YYSYMBOL_FLOAT_VAL = 7,                  /* FLOAT_VAL  */
  YYSYMBOL_POUND = 8,                      /* POUND  */
  YYSYMBOL_COMMA = 9,                      /* COMMA  */
  YYSYMBOL_COLON = 10,                     /* COLON  */
  YYSYMBOL_SEMICOLON = 11,                 /* SEMICOLON  */
  YYSYMBOL_LPAREN = 12,                    /* LPAREN  */
  YYSYMBOL_RPAREN = 13,                    /* RPAREN  */
  YYSYMBOL_LBRACK = 14,                    /* LBRACK  */
  YYSYMBOL_RBRACK = 15,                    /* RBRACK  */
  YYSYMBOL_LBRACE = 16,                    /* LBRACE  */
  YYSYMBOL_RBRACE = 17,                    /* RBRACE  */
  YYSYMBOL_DOT = 18,                       /* DOT  */
  YYSYMBOL_PLUS = 19,                      /* PLUS  */
  YYSYMBOL_MINUS = 20,                     /* MINUS  */
  YYSYMBOL_TIMES = 21,                     /* TIMES  */
  YYSYMBOL_DIVIDE = 22,                    /* DIVIDE  */
  YYSYMBOL_PERCENT = 23,                   /* PERCENT  */
  YYSYMBOL_EQ = 24,                        /* EQ  */
  YYSYMBOL_NEQ = 25,                       /* NEQ  */
  YYSYMBOL_LT = 26,                        /* LT  */
  YYSYMBOL_LE = 27,                        /* LE  */
  YYSYMBOL_GT = 28,                        /* GT  */
  YYSYMBOL_GE = 29,                        /* GE  */
  YYSYMBOL_AND = 30,                       /* AND  */
  YYSYMBOL_OR = 31,                        /* OR  */
  YYSYMBOL_ASSIGN = 32,                    /* ASSIGN  */
  YYSYMBOL_IF = 33,                        /* IF  */
  YYSYMBOL_THEN = 34,                      /* THEN  */
  YYSYMBOL_ELSE = 35,                      /* ELSE  */
  YYSYMBOL_WHILE = 36,                     /* WHILE  */
  YYSYMBOL_FOR = 37,                       /* FOR  */
  YYSYMBOL_DO = 38,                        /* DO  */
  YYSYMBOL_LOOP = 39,                      /* LOOP  */
  YYSYMBOL_BREAK = 40,                     /* BREAK  */
  YYSYMBOL_CONTINUE = 41,                  /* CONTINUE  */
  YYSYMBOL_NULL_TOK = 42,                  /* NULL_TOK  */
  YYSYMBOL_FUNCTION = 43,                  /* FUNCTION  */
  YYSYMBOL_RETURN = 44,                    /* RETURN  */
  YYSYMBOL_QUESTION = 45,                  /* QUESTION  */
  YYSYMBOL_EXCLAMATION = 46,               /* EXCLAMATION  */
  YYSYMBOL_S_OR = 47,                      /* S_OR  */
  YYSYMBOL_S_AND = 48,                     /* S_AND  */
  YYSYMBOL_S_XOR = 49,                     /* S_XOR  */
  YYSYMBOL_PLUSPLUS = 50,                  /* PLUSPLUS  */
  YYSYMBOL_MINUSMINUS = 51,                /* MINUSMINUS  */
  YYSYMBOL_DOLLAR = 52,                    /* DOLLAR  */
  YYSYMBOL_POUNDPAREN = 53,                /* POUNDPAREN  */
  YYSYMBOL_PERCENTPAREN = 54,              /* PERCENTPAREN  */
  YYSYMBOL_ATPAREN = 55,                   /* ATPAREN  */
  YYSYMBOL_SIMULT = 56,                    /* SIMULT  */
  YYSYMBOL_PATTERN = 57,                   /* PATTERN  */
  YYSYMBOL_CODE = 58,                      /* CODE  */
  YYSYMBOL_TRANSPORT = 59,                 /* TRANSPORT  */
  YYSYMBOL_HOST = 60,                      /* HOST  */
  YYSYMBOL_TIME = 61,                      /* TIME  */
  YYSYMBOL_WHENEVER = 62,                  /* WHENEVER  */
  YYSYMBOL_NEXT = 63,                      /* NEXT  */
  YYSYMBOL_UNTIL = 64,                     /* UNTIL  */
  YYSYMBOL_EXTERNAL = 65,                  /* EXTERNAL  */
  YYSYMBOL_GLOBAL = 66,                    /* GLOBAL  */
  YYSYMBOL_EVERY = 67,                     /* EVERY  */
  YYSYMBOL_BEFORE = 68,                    /* BEFORE  */
  YYSYMBOL_AFTER = 69,                     /* AFTER  */
  YYSYMBOL_AT = 70,                        /* AT  */
  YYSYMBOL_AT_SYM = 71,                    /* AT_SYM  */
  YYSYMBOL_ATAT_SYM = 72,                  /* ATAT_SYM  */
  YYSYMBOL_NEW = 73,                       /* NEW  */
  YYSYMBOL_SIZEOF = 74,                    /* SIZEOF  */
  YYSYMBOL_TYPEOF = 75,                    /* TYPEOF  */
  YYSYMBOL_SAME = 76,                      /* SAME  */
  YYSYMBOL_PLUS_CHUCK = 77,                /* PLUS_CHUCK  */
  YYSYMBOL_MINUS_CHUCK = 78,               /* MINUS_CHUCK  */
  YYSYMBOL_TIMES_CHUCK = 79,               /* TIMES_CHUCK  */
  YYSYMBOL_DIVIDE_CHUCK = 80,              /* DIVIDE_CHUCK  */
  YYSYMBOL_S_AND_CHUCK = 81,               /* S_AND_CHUCK  */
  YYSYMBOL_S_OR_CHUCK = 82,                /* S_OR_CHUCK  */
  YYSYMBOL_S_XOR_CHUCK = 83,               /* S_XOR_CHUCK  */
  YYSYMBOL_SHIFT_RIGHT_CHUCK = 84,         /* SHIFT_RIGHT_CHUCK  */
  YYSYMBOL_SHIFT_LEFT_CHUCK = 85,          /* SHIFT_LEFT_CHUCK  */
  YYSYMBOL_PERCENT_CHUCK = 86,             /* PERCENT_CHUCK  */
  YYSYMBOL_SHIFT_RIGHT = 87,               /* SHIFT_RIGHT  */
  YYSYMBOL_SHIFT_LEFT = 88,                /* SHIFT_LEFT  */
  YYSYMBOL_TILDA = 89,                     /* TILDA  */
  YYSYMBOL_CHUCK = 90,                     /* CHUCK  */
  YYSYMBOL_COLONCOLON = 91,                /* COLONCOLON  */
  YYSYMBOL_S_CHUCK = 92,                   /* S_CHUCK  */
  YYSYMBOL_AT_CHUCK = 93,                  /* AT_CHUCK  */
  YYSYMBOL_LEFT_S_CHUCK = 94,              /* LEFT_S_CHUCK  */
  YYSYMBOL_UNCHUCK = 95,                   /* UNCHUCK  */
  YYSYMBOL_UPCHUCK = 96,                   /* UPCHUCK  */
  YYSYMBOL_DOWNCHUCK = 97,                 /* DOWNCHUCK  */
  YYSYMBOL_CLASS = 98,                     /* CLASS  */
  YYSYMBOL_INTERFACE = 99,                 /* INTERFACE  */
  YYSYMBOL_EXTENDS = 100,                  /* EXTENDS  */
  YYSYMBOL_IMPLEMENTS = 101,               /* IMPLEMENTS  */
  YYSYMBOL_PUBLIC = 102,                   /* PUBLIC  */
  YYSYMBOL_PROTECTED = 103,                /* PROTECTED  */
  YYSYMBOL_PRIVATE = 104,                  /* PRIVATE  */
  YYSYMBOL_STATIC = 105,                   /* STATIC  */
  YYSYMBOL_ABSTRACT = 106,                 /* ABSTRACT  */
  YYSYMBOL_CONST = 107,                    /* CONST  */
  YYSYMBOL_SPORK = 108,                    /* SPORK  */
  YYSYMBOL_ARROW_RIGHT = 109,              /* ARROW_RIGHT  */
  YYSYMBOL_ARROW_LEFT = 110,               /* ARROW_LEFT  */
  YYSYMBOL_L_HACK = 111,                   /* L_HACK  */
  YYSYMBOL_R_HACK = 112,                   /* R_HACK  */
  YYSYMBOL_GRUCK_RIGHT = 113,              /* GRUCK_RIGHT  */
  YYSYMBOL_GRUCK_LEFT = 114,               /* GRUCK_LEFT  */
  YYSYMBOL_UNGRUCK_RIGHT = 115,            /* UNGRUCK_RIGHT  */
  YYSYMBOL_UNGRUCK_LEFT = 116,             /* UNGRUCK_LEFT  */
  YYSYMBOL_AT_OP = 117,                    /* AT_OP  */
  YYSYMBOL_AT_CTOR = 118,                  /* AT_CTOR  */
  YYSYMBOL_AT_DTOR = 119,                  /* AT_DTOR  */
  YYSYMBOL_AT_IMPORT = 120,                /* AT_IMPORT  */
  YYSYMBOL_AT_DOC = 121,                   /* AT_DOC  */
  YYSYMBOL_AT_EXAMPLE = 122,               /* AT_EXAMPLE  */
  YYSYMBOL_YYACCEPT = 123,                 /* $accept  */
  YYSYMBOL_program = 124,                  /* program  */
  YYSYMBOL_program_section = 125,          /* program_section  */
  YYSYMBOL_class_definition = 126,         /* class_definition  */
  YYSYMBOL_class_ext = 127,                /* class_ext  */
  YYSYMBOL_class_body = 128,               /* class_body  */
  YYSYMBOL_class_body2 = 129,              /* class_body2  */
  YYSYMBOL_class_section = 130,            /* class_section  */
  YYSYMBOL_iface_ext = 131,                /* iface_ext  */
  YYSYMBOL_id_list = 132,                  /* id_list  */
  YYSYMBOL_id_dot = 133,                   /* id_dot  */
  YYSYMBOL_function_definition = 134,      /* function_definition  */
  YYSYMBOL_class_decl = 135,               /* class_decl  */
  YYSYMBOL_function_decl = 136,            /* function_decl  */
  YYSYMBOL_static_decl = 137,              /* static_decl  */
  YYSYMBOL_type_decl_a = 138,              /* type_decl_a  */
  YYSYMBOL_type_decl_b = 139,              /* type_decl_b  */
  YYSYMBOL_type_decl = 140,                /* type_decl  */
  YYSYMBOL_type_decl2 = 141,               /* type_decl2  */
  YYSYMBOL_arg_list = 142,                 /* arg_list  */
  YYSYMBOL_statement_list = 143,           /* statement_list  */
  YYSYMBOL_statement = 144,                /* statement  */
  YYSYMBOL_jump_statement = 145,           /* jump_statement  */
  YYSYMBOL_selection_statement = 146,      /* selection_statement  */
  YYSYMBOL_loop_statement = 147,           /* loop_statement  */
  YYSYMBOL_code_segment = 148,             /* code_segment  */
  YYSYMBOL_import_statement = 149,         /* import_statement  */
  YYSYMBOL_import_list = 150,              /* import_list  */
  YYSYMBOL_import_target = 151,            /* import_target  */
  YYSYMBOL_doc_statement = 152,            /* doc_statement  */
  YYSYMBOL_doc_list = 153,                 /* doc_list  */
  YYSYMBOL_doc_target = 154,               /* doc_target  */
  YYSYMBOL_example_statement = 155,        /* example_statement  */
  YYSYMBOL_example_list = 156,             /* example_list  */
  YYSYMBOL_example_target = 157,           /* example_target  */
  YYSYMBOL_expression_statement = 158,     /* expression_statement  */
  YYSYMBOL_expression = 159,               /* expression  */
  YYSYMBOL_chuck_expression = 160,         /* chuck_expression  */
  YYSYMBOL_arrow_expression = 161,         /* arrow_expression  */
  YYSYMBOL_array_exp = 162,                /* array_exp  */
  YYSYMBOL_array_empty = 163,              /* array_empty  */
  YYSYMBOL_decl_expression = 164,          /* decl_expression  */
  YYSYMBOL_var_decl_list = 165,            /* var_decl_list  */
  YYSYMBOL_var_decl = 166,                 /* var_decl  */
  YYSYMBOL_complex_exp = 167,              /* complex_exp  */
  YYSYMBOL_polar_exp = 168,                /* polar_exp  */
  YYSYMBOL_vec_exp = 169,                  /* vec_exp  */
  YYSYMBOL_chuck_operator = 170,           /* chuck_operator  */
  YYSYMBOL_arrow_operator = 171,           /* arrow_operator  */
  YYSYMBOL_conditional_expression = 172,   /* conditional_expression  */
  YYSYMBOL_logical_or_expression = 173,    /* logical_or_expression  */
  YYSYMBOL_logical_and_expression = 174,   /* logical_and_expression  */
  YYSYMBOL_inclusive_or_expression = 175,  /* inclusive_or_expression  */
  YYSYMBOL_exclusive_or_expression = 176,  /* exclusive_or_expression  */
  YYSYMBOL_and_expression = 177,           /* and_expression  */
  YYSYMBOL_equality_expression = 178,      /* equality_expression  */
  YYSYMBOL_relational_expression = 179,    /* relational_expression  */
  YYSYMBOL_shift_expression = 180,         /* shift_expression  */
  YYSYMBOL_additive_expression = 181,      /* additive_expression  */
  YYSYMBOL_multiplicative_expression = 182, /* multiplicative_expression  */
  YYSYMBOL_tilda_expression = 183,         /* tilda_expression  */
  YYSYMBOL_cast_expression = 184,          /* cast_expression  */
  YYSYMBOL_unary_expression = 185,         /* unary_expression  */
  YYSYMBOL_unary_operator = 186,           /* unary_operator  */
  YYSYMBOL_overloadable_operator = 187,    /* overloadable_operator  */
  YYSYMBOL_dur_expression = 188,           /* dur_expression  */
  YYSYMBOL_postfix_expression = 189,       /* postfix_expression  */
  YYSYMBOL_primary_expression = 190        /* primary_expression  */
};
typedef enum yysymbol_kind_t yysymbol_kind_t;




#ifdef short
# undef short
#endif

/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
   <limits.h> and (if available) <stdint.h> are included
   so that the code can choose integer types of a good width.  */

#ifndef __PTRDIFF_MAX__
# include <limits.h> /* INFRINGES ON USER NAME SPACE */
# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
#  include <stdint.h> /* INFRINGES ON USER NAME SPACE */
#  define YY_STDINT_H
# endif
#endif

/* Narrow types that promote to a signed type and that can represent a
   signed or unsigned integer of at least N bits.  In tables they can
   save space and decrease cache pressure.  Promoting to a signed type
   helps avoid bugs in integer arithmetic.  */

#ifdef __INT_LEAST8_MAX__
typedef __INT_LEAST8_TYPE__ yytype_int8;
#elif defined YY_STDINT_H
typedef int_least8_t yytype_int8;
#else
typedef signed char yytype_int8;
#endif

#ifdef __INT_LEAST16_MAX__
typedef __INT_LEAST16_TYPE__ yytype_int16;
#elif defined YY_STDINT_H
typedef int_least16_t yytype_int16;
#else
typedef short yytype_int16;
#endif

/* Work around bug in HP-UX 11.23, which defines these macros
   incorrectly for preprocessor constants.  This workaround can likely
   be removed in 2023, as HPE has promised support for HP-UX 11.23
   (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of
   <https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>.  */
#ifdef __hpux
# undef UINT_LEAST8_MAX
# undef UINT_LEAST16_MAX
# define UINT_LEAST8_MAX 255
# define UINT_LEAST16_MAX 65535
#endif

#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
typedef __UINT_LEAST8_TYPE__ yytype_uint8;
#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
       && UINT_LEAST8_MAX <= INT_MAX)
typedef uint_least8_t yytype_uint8;
#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
typedef unsigned char yytype_uint8;
#else
typedef short yytype_uint8;
#endif

#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
typedef __UINT_LEAST16_TYPE__ yytype_uint16;
#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \
       && UINT_LEAST16_MAX <= INT_MAX)
typedef uint_least16_t yytype_uint16;
#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
typedef unsigned short yytype_uint16;
#else
typedef int yytype_uint16;
#endif

#ifndef YYPTRDIFF_T
# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
#  define YYPTRDIFF_T __PTRDIFF_TYPE__
#  define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__
# elif defined PTRDIFF_MAX
#  ifndef ptrdiff_t
#   include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  endif
#  define YYPTRDIFF_T ptrdiff_t
#  define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
# else
#  define YYPTRDIFF_T long
#  define YYPTRDIFF_MAXIMUM LONG_MAX
# endif
#endif

#ifndef YYSIZE_T
# ifdef __SIZE_TYPE__
#  define YYSIZE_T __SIZE_TYPE__
# elif defined size_t
#  define YYSIZE_T size_t
# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  define YYSIZE_T size_t
# else
#  define YYSIZE_T unsigned
# endif
#endif

#define YYSIZE_MAXIMUM                                  \
  YY_CAST (YYPTRDIFF_T,                                 \
           (YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1)  \
            ? YYPTRDIFF_MAXIMUM                         \
            : YY_CAST (YYSIZE_T, -1)))

#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))


/* Stored state numbers (used for stacks). */
typedef yytype_int16 yy_state_t;

/* State numbers in computations.  */
typedef int yy_state_fast_t;

#ifndef YY_
# if defined YYENABLE_NLS && 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


#ifndef YY_ATTRIBUTE_PURE
# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
#  define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
# else
#  define YY_ATTRIBUTE_PURE
# endif
#endif

#ifndef YY_ATTRIBUTE_UNUSED
# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
#  define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
# else
#  define YY_ATTRIBUTE_UNUSED
# endif
#endif

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

/* Suppress an incorrect diagnostic about yylval being uninitialized.  */
#if defined __GNUC__ && ! defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__
# if __GNUC__ * 100 + __GNUC_MINOR__ < 407
#  define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN                           \
    _Pragma ("GCC diagnostic push")                                     \
    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")
# else
#  define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN                           \
    _Pragma ("GCC diagnostic push")                                     \
    _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")              \
    _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
# endif
# define YY_IGNORE_MAYBE_UNINITIALIZED_END      \
    _Pragma ("GCC diagnostic pop")
#else
# define YY_INITIAL_VALUE(Value) Value
#endif
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
#endif
#ifndef YY_INITIAL_VALUE
# define YY_INITIAL_VALUE(Value) /* Nothing. */
#endif

#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
# define YY_IGNORE_USELESS_CAST_BEGIN                          \
    _Pragma ("GCC diagnostic push")                            \
    _Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
# define YY_IGNORE_USELESS_CAST_END            \
    _Pragma ("GCC diagnostic pop")
#endif
#ifndef YY_IGNORE_USELESS_CAST_BEGIN
# define YY_IGNORE_USELESS_CAST_BEGIN
# define YY_IGNORE_USELESS_CAST_END
#endif


#define YY_ASSERT(E) ((void) (0 && (E)))

#if !defined yyoverflow

/* 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 EXIT_SUCCESS
#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
      /* Use EXIT_SUCCESS as a witness for stdlib.h.  */
#     ifndef EXIT_SUCCESS
#      define EXIT_SUCCESS 0
#     endif
#    endif
#   endif
#  endif
# endif

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

#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
{
  yy_state_t yyss_alloc;
  YYSTYPE yyvs_alloc;
  YYLTYPE yyls_alloc;
};

/* The size of the maximum gap between one aligned stack and the next.  */
# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)

/* The size of an array large to enough to hold all stacks, each with
   N elements.  */
# define YYSTACK_BYTES(N) \
     ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE) \
             + YYSIZEOF (YYLTYPE)) \
      + 2 * YYSTACK_GAP_MAXIMUM)

# define YYCOPY_NEEDED 1

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

#endif

#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST.  The source and destination do
   not overlap.  */
# ifndef YYCOPY
#  if defined __GNUC__ && 1 < __GNUC__
#   define YYCOPY(Dst, Src, Count) \
      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
#  else
#   define YYCOPY(Dst, Src, Count)              \
      do                                        \
        {                                       \
          YYPTRDIFF_T yyi;                      \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (Dst)[yyi] = (Src)[yyi];            \
        }                                       \
      while (0)
#  endif
# endif
#endif /* !YYCOPY_NEEDED */

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

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  123
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  68
/* YYNRULES -- Number of rules.  */
#define YYNRULES  281
/* YYNSTATES -- Number of states.  */
#define YYNSTATES  476

/* YYMAXUTOK -- Last valid token kind.  */
#define YYMAXUTOK   377


/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex, with out-of-bounds checking.  */
#define YYTRANSLATE(YYX)                                \
  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
   : YYSYMBOL_YYUNDEF)

/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex.  */
static const yytype_int8 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,   109,   110,   111,   112,   113,   114,
     115,   116,   117,   118,   119,   120,   121,   122
};

#if YYDEBUG
/* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_int16 yyrline[] =
{
       0,   221,   221,   222,   226,   227,   228,   232,   234,   236,
     238,   243,   244,   245,   246,   250,   251,   255,   256,   261,
     262,   263,   267,   271,   272,   276,   277,   281,   283,   285,
     287,   289,   291,   293,   295,   297,   299,   301,   303,   305,
     307,   312,   313,   314,   318,   319,   320,   321,   325,   326,
     327,   331,   332,   336,   337,   346,   347,   352,   353,   357,
     358,   362,   363,   367,   368,   369,   370,   372,   373,   374,
     375,   379,   380,   381,   382,   386,   388,   393,   395,   397,
     399,   401,   403,   405,   407,   412,   413,   417,   418,   419,
     420,   421,   425,   426,   430,   435,   436,   437,   441,   442,
     446,   450,   451,   452,   456,   457,   461,   465,   466,   470,
     471,   475,   476,   481,   482,   487,   488,   489,   491,   496,
     497,   501,   502,   503,   504,   505,   506,   507,   511,   512,
     516,   517,   518,   519,   520,   521,   522,   526,   531,   536,
     541,   542,   543,   544,   545,   546,   547,   548,   549,   550,
     551,   552,   553,   554,   555,   559,   560,   561,   562,   563,
     564,   568,   569,   574,   575,   580,   581,   586,   587,   592,
     593,   598,   599,   604,   605,   607,   612,   613,   615,   617,
     619,   624,   625,   627,   632,   633,   635,   640,   641,   643,
     645,   650,   651,   656,   657,   662,   663,   665,   667,   669,
     671,   673,   675,   677,   679,   681,   683,   690,   691,   692,
     693,   694,   695,   696,   702,   703,   704,   705,   706,   707,
     708,   709,   710,   711,   712,   713,   714,   715,   716,   717,
     718,   719,   720,   721,   722,   723,   724,   725,   726,   727,
     728,   729,   730,   731,   732,   733,   734,   735,   736,   737,
     738,   739,   740,   741,   742,   743,   744,   745,   746,   747,
     748,   752,   753,   758,   759,   761,   763,   765,   767,   769,
     775,   776,   777,   778,   779,   780,   781,   782,   783,   784,
     785,   786
};
#endif

/** Accessing symbol of state STATE.  */
#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])

#if YYDEBUG || 0
/* The user-facing name of the symbol whose (internal) number is
   YYSYMBOL.  No bounds checking.  */
static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;

/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
static const char *const yytname[] =
{
  "\"end of file\"", "error", "\"invalid token\"", "ID", "STRING_LIT",
  "CHAR_LIT", "INT_VAL", "FLOAT_VAL", "POUND", "COMMA", "COLON",
  "SEMICOLON", "LPAREN", "RPAREN", "LBRACK", "RBRACK", "LBRACE", "RBRACE",
  "DOT", "PLUS", "MINUS", "TIMES", "DIVIDE", "PERCENT", "EQ", "NEQ", "LT",
  "LE", "GT", "GE", "AND", "OR", "ASSIGN", "IF", "THEN", "ELSE", "WHILE",
  "FOR", "DO", "LOOP", "BREAK", "CONTINUE", "NULL_TOK", "FUNCTION",
  "RETURN", "QUESTION", "EXCLAMATION", "S_OR", "S_AND", "S_XOR",
  "PLUSPLUS", "MINUSMINUS", "DOLLAR", "POUNDPAREN", "PERCENTPAREN",
  "ATPAREN", "SIMULT", "PATTERN", "CODE", "TRANSPORT", "HOST", "TIME",
  "WHENEVER", "NEXT", "UNTIL", "EXTERNAL", "GLOBAL", "EVERY", "BEFORE",
  "AFTER", "AT", "AT_SYM", "ATAT_SYM", "NEW", "SIZEOF", "TYPEOF", "SAME",
  "PLUS_CHUCK", "MINUS_CHUCK", "TIMES_CHUCK", "DIVIDE_CHUCK",
  "S_AND_CHUCK", "S_OR_CHUCK", "S_XOR_CHUCK", "SHIFT_RIGHT_CHUCK",
  "SHIFT_LEFT_CHUCK", "PERCENT_CHUCK", "SHIFT_RIGHT", "SHIFT_LEFT",
  "TILDA", "CHUCK", "COLONCOLON", "S_CHUCK", "AT_CHUCK", "LEFT_S_CHUCK",
  "UNCHUCK", "UPCHUCK", "DOWNCHUCK", "CLASS", "INTERFACE", "EXTENDS",
  "IMPLEMENTS", "PUBLIC", "PROTECTED", "PRIVATE", "STATIC", "ABSTRACT",
  "CONST", "SPORK", "ARROW_RIGHT", "ARROW_LEFT", "L_HACK", "R_HACK",
  "GRUCK_RIGHT", "GRUCK_LEFT", "UNGRUCK_RIGHT", "UNGRUCK_LEFT", "AT_OP",
  "AT_CTOR", "AT_DTOR", "AT_IMPORT", "AT_DOC", "AT_EXAMPLE", "$accept",
  "program", "program_section", "class_definition", "class_ext",
  "class_body", "class_body2", "class_section", "iface_ext", "id_list",
  "id_dot", "function_definition", "class_decl", "function_decl",
  "static_decl", "type_decl_a", "type_decl_b", "type_decl", "type_decl2",
  "arg_list", "statement_list", "statement", "jump_statement",
  "selection_statement", "loop_statement", "code_segment",
  "import_statement", "import_list", "import_target", "doc_statement",
  "doc_list", "doc_target", "example_statement", "example_list",
  "example_target", "expression_statement", "expression",
  "chuck_expression", "arrow_expression", "array_exp", "array_empty",
  "decl_expression", "var_decl_list", "var_decl", "complex_exp",
  "polar_exp", "vec_exp", "chuck_operator", "arrow_operator",
  "conditional_expression", "logical_or_expression",
  "logical_and_expression", "inclusive_or_expression",
  "exclusive_or_expression", "and_expression", "equality_expression",
  "relational_expression", "shift_expression", "additive_expression",
  "multiplicative_expression", "tilda_expression", "cast_expression",
  "unary_expression", "unary_operator", "overloadable_operator",
  "dur_expression", "postfix_expression", "primary_expression", YY_NULLPTR
};

static const char *
yysymbol_name (yysymbol_kind_t yysymbol)
{
  return yytname[yysymbol];
}
#endif

#define YYPACT_NINF (-348)

#define yypact_value_is_default(Yyn) \
  ((Yyn) == YYPACT_NINF)

#define YYTABLE_NINF (-52)

#define yytable_value_is_error(Yyn) \
  0

/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   STATE-NUM.  */
static const yytype_int16 yypact[] =
{
     681,    20,  -348,  -348,  -348,  -348,  -348,  1235,  1913,   793,
    -348,  -348,  -348,    28,    77,   103,   196,  1017,   201,   207,
     213,  -348,  1309,  -348,  1987,  1987,  1913,  1913,  1913,   240,
      55,    55,    55,  1987,  1987,   202,  -348,  -348,   -58,  -348,
     -28,    22,   167,  1913,   129,   140,   144,   345,  -348,  -348,
    -348,    51,    34,  -348,  -348,   202,  1017,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,   166,   158,   112,  -348,
    -348,  -348,  -348,  -348,  -348,     8,   228,   235,   236,   238,
     138,   188,   162,   251,   224,   198,   239,  -348,  1987,   199,
     118,  -348,  -348,  -348,   100,    81,  -348,   905,   270,   264,
    1913,  1913,  1383,    -7,  1913,  -348,  -348,  -348,   193,  -348,
    -348,  -348,   107,   122,   133,  1913,   227,   202,   202,   197,
    -348,  -348,   218,  -348,   290,   202,   202,  -348,    10,  -348,
      57,    84,  -348,  -348,   296,   296,  -348,  -348,   297,   297,
    -348,  -348,  -348,   299,   299,  -348,  -348,   291,   292,    66,
    -348,  -348,  1913,  -348,  -348,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  1913,
    -348,  -348,  -348,  -348,  -348,  -348,  1913,  1987,  1913,  1987,
    1987,  1987,  1987,  1987,  1987,  1987,  1987,  1987,  1987,  1987,
    1987,  1987,  1987,  1987,  1987,  1987,  1987,    55,  -348,    40,
    1457,   302,  -348,  -348,  -348,  -348,  1537,   293,  -348,    28,
     237,   146,   152,  1383,   255,   294,   298,   165,  -348,  -348,
    -348,  -348,   174,  -348,  -348,  1611,  -348,  1685,  1765,  -348,
     295,   202,  -348,  -348,  -348,  -348,   300,   303,  -348,   301,
     305,   304,   306,   307,   308,   309,   312,     2,     5,    53,
      60,    14,   310,    12,   158,   112,  -348,   228,   265,   235,
     236,   238,   138,   188,   188,   162,   162,   162,   162,   251,
     251,   224,   224,   198,   198,   198,   239,  -348,   118,  -348,
     176,  -348,   293,  -348,  -348,  -348,  1017,  1017,  1839,  1913,
    1913,  1913,  1017,  1017,   293,   177,   293,   179,  -348,   313,
    -348,  -348,   311,  -348,  -348,   296,  -348,  -348,   297,  -348,
     299,   457,    28,   299,   314,   457,   299,   315,   316,   202,
     320,   316,   321,   115,   322,   295,   317,  2080,  1987,  -348,
    -348,   276,  -348,  1017,   184,   186,   187,   194,  -348,  -348,
    -348,   293,  -348,   293,  -348,  -348,  -348,  -348,  -348,  -348,
     318,  -348,   569,  -348,  1017,   215,   225,   457,   319,  -348,
     457,  -348,   332,   316,  -348,   316,   316,   329,   121,  1121,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,   331,  -348,  1017,
    -348,  1017,  1017,   333,   335,  -348,  -348,  -348,  -348,   299,
      28,   330,  -348,   336,    55,  -348,  -348,  -348,   316,    71,
     341,    28,   342,   347,    55,  -348,  -348,  -348,  -348,  -348,
    -348,  -348,  -348,  -348,  -348,  -348,  -348,  -348,    88,  2179,
     346,   349,  -348,  -348,  2277,   316,    55,   316,   350,  -348,
     354,  -348,   316,   316,  -348,  -348
};

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

/* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
    -348,  -348,   280,    30,  -348,  -260,    16,  -348,  -348,  -140,
    -201,    37,  -348,  -348,  -348,  -348,  -348,   -30,  -348,  -243,
      27,   -14,  -348,  -348,  -348,  -301,  -348,  -122,   325,  -348,
    -123,   327,  -348,  -129,   324,   -86,     6,  -128,   204,   -84,
     123,   200,   -50,    58,  -348,  -348,  -348,  -348,  -348,    46,
    -348,   203,   208,   210,   211,   212,    93,    75,    91,    92,
      74,   183,    26,  -348,  -347,  -348,   214,  -348
};

/* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
       0,    47,    48,   349,   314,   350,   351,   352,   317,   247,
      99,   353,    51,    52,   149,    53,    54,    55,   253,   320,
     354,    57,    58,    59,    60,    61,    62,   236,   237,    63,
     240,   241,    64,   243,   244,    65,    66,    67,    68,    69,
     230,    70,   123,   124,    71,    72,    73,   169,   176,    74,
      75,    76,    77,    78,    79,    80,    81,    82,    83,    84,
      85,    86,    87,    88,   417,    89,    90,    91
};

/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
   positive, shift that token.  If negative, reduce the rule whose
   number is the opposite.  If YYTABLE_NINF, syntax error.  */
static const yytype_int16 yytable[] =
{
     117,   118,   119,   103,   248,   150,   204,   322,   284,   239,
     245,   126,   242,    94,    95,   326,   213,   361,   311,   152,
     364,   315,   443,   -51,   254,   116,   323,    56,   108,   215,
      49,    98,   112,   113,   114,   226,    97,    50,   229,   177,
     -41,   -41,   151,   109,     2,     3,     4,     5,    13,   128,
     110,   111,     7,   178,     8,   358,   116,   216,   116,   120,
     121,   129,   435,   116,   436,   437,   318,   223,   224,   251,
     -42,   -42,   235,   321,    56,   232,   233,    49,   254,    13,
     367,    13,   456,   151,    50,    92,    13,     9,   129,   100,
     206,    92,    13,    26,    27,    28,   207,   431,   125,   462,
     433,   238,   312,   313,     9,   316,   211,   212,   214,   152,
     217,   355,   465,   205,   198,   101,   152,   468,   116,   252,
     219,   222,   234,   283,   116,   440,   442,   288,   366,   327,
     200,   152,     8,   129,   439,   220,   201,   455,   457,   145,
     146,    13,   152,   130,   133,   131,   221,    13,   137,   143,
     144,    43,   147,   148,   134,   152,   135,   463,   138,   286,
     139,   152,   183,   184,   469,   287,   471,   277,   202,   203,
     348,   474,   475,   356,   152,   152,   359,   153,   292,   347,
     345,   300,   346,   152,   258,   152,   152,   293,   152,   329,
     341,   454,   343,   152,   204,   152,   152,   421,   330,   422,
     423,   461,   152,   152,   218,   122,   280,   424,   102,   225,
     340,     8,   342,   104,   185,   186,   187,   188,   105,   319,
     319,   170,   171,   470,   106,   172,   173,   174,   175,   451,
     227,   295,   228,   297,    95,   154,   155,   156,   157,   158,
     159,   160,   161,   162,   163,   193,   194,   195,   164,   189,
     190,   165,   115,   166,   167,   168,   127,   425,   179,   426,
     265,   266,   267,   268,   152,   289,   153,   273,   274,   275,
     191,   192,   331,   332,   152,   328,   263,   264,   338,   339,
     269,   270,   180,   271,   272,   181,   182,   196,   209,   450,
     199,   197,   210,   319,   334,   335,   336,   337,    92,   231,
     133,   137,   246,   249,   250,   281,   290,     8,   285,   299,
     291,   419,   302,   305,   301,   129,   429,   308,   303,   420,
     304,   310,   307,   306,   324,   430,   309,   142,   344,   368,
     357,   360,     9,   363,   365,   427,   432,   298,   319,   319,
     151,   434,   438,   444,   448,   141,   449,   452,     1,     2,
       3,     4,     5,   453,   458,   459,     6,     7,   466,     8,
     460,     9,   467,   472,    10,    11,    12,   473,   428,   132,
     140,    13,   136,   255,   418,   325,   256,   362,    14,   276,
     257,    15,    16,    17,    18,    19,    20,   259,    21,    22,
     260,    23,   261,     0,   262,    24,    25,     0,    26,    27,
      28,     0,     0,     0,   319,   445,     0,   446,   447,    29,
      30,    31,     0,   278,   319,     0,     0,     0,    32,    33,
      34,    35,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,    36,     0,   319,     0,     0,     0,
       0,     0,    37,     0,     0,     0,     0,    38,    39,    40,
      41,     0,     0,    42,     0,     0,    43,     0,     0,     0,
       1,     2,     3,     4,     5,    44,    45,    46,     6,     7,
       0,     8,     0,     9,   -16,     0,    10,    11,    12,     0,
       0,     0,     0,    13,     0,     0,     0,     0,     0,     0,
      14,     0,     0,    15,    16,    17,    18,    19,    20,     0,
      21,    22,     0,    23,     0,     0,     0,    24,    25,     0,
      26,    27,    28,     0,     0,     0,     0,     0,     0,     0,
       0,    29,    30,    31,     0,     0,     0,     0,     0,     0,
      32,    33,    34,    35,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,    36,     0,     0,     0,
       0,     0,     0,     0,    37,     0,     0,     0,     0,    38,
      39,    40,    41,     0,     0,    42,     0,     0,    43,     0,
       0,     0,     1,     2,     3,     4,     5,    44,    45,    46,
       6,     7,     0,     8,     0,     9,   -17,     0,    10,    11,
      12,     0,     0,     0,     0,    13,     0,     0,     0,     0,
       0,     0,    14,     0,     0,    15,    16,    17,    18,    19,
      20,     0,    21,    22,     0,    23,     0,     0,     0,    24,
      25,     0,    26,    27,    28,     0,     0,     0,     0,     0,
       0,     0,     0,    29,    30,    31,     0,     0,     0,     0,
       0,     0,    32,    33,    34,    35,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,    36,     0,
       0,     0,     0,     0,     0,     0,    37,     0,     0,     0,
       0,    38,    39,    40,    41,     0,     0,    42,     0,     0,
      43,     0,     0,     0,     1,     2,     3,     4,     5,    44,
      45,    46,     6,     7,     0,     8,     0,     9,     0,     0,
      10,    11,    12,     0,     0,     0,     0,    13,     0,     0,
       0,     0,     0,     0,    14,     0,     0,    15,    16,    17,
      18,    19,    20,     0,    21,    22,     0,    23,     0,     0,
       0,    24,    25,     0,    26,    27,    28,     0,     0,     0,
       0,     0,     0,     0,     0,    29,    30,    31,     0,     0,
       0,     0,     0,     0,    32,    33,    34,    35,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      36,     0,     0,     0,     0,     0,     0,     0,    37,     0,
       0,     0,     0,    38,    39,    40,    41,     0,     0,    42,
       0,     0,    43,     0,     0,     0,     1,     2,     3,     4,
       5,    44,    45,    46,     6,     7,     0,     8,     0,     9,
      96,     0,    10,    11,    12,     0,     0,     0,     0,    13,
       0,     0,     0,     0,     0,     0,    14,     0,     0,    15,
      16,    17,    18,    19,    20,     0,     0,    22,     0,    23,
       0,     0,     0,    24,    25,     0,    26,    27,    28,     0,
       0,     0,     0,     0,     0,     0,     0,    29,    30,    31,
       0,     0,     0,     0,     0,     0,    32,    33,    34,    35,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    36,     0,     0,     0,     0,     0,     0,     0,
      37,     0,     0,     0,     0,     0,     0,     0,    41,     0,
       0,    42,     0,     0,    43,     0,     0,     0,     1,     2,
       3,     4,     5,    44,    45,    46,     6,     7,     0,     8,
       0,     9,   208,     0,    10,    11,    12,     0,     0,     0,
       0,    13,     0,     0,     0,     0,     0,     0,    14,     0,
       0,    15,    16,    17,    18,    19,    20,     0,     0,    22,
       0,    23,     0,     0,     0,    24,    25,     0,    26,    27,
      28,     0,     0,     0,     0,     0,     0,     0,     0,    29,
      30,    31,     0,     0,     0,     0,     0,     0,    32,    33,
      34,    35,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,    36,     0,     0,     0,     0,     0,
       0,     0,    37,     0,     0,     0,     0,     0,     0,     0,
      41,     0,     0,    42,     0,     0,    43,     0,     0,     0,
       1,     2,     3,     4,     5,    44,    45,    46,     6,     7,
       0,     8,     0,     9,     0,     0,    10,    11,    12,     0,
       0,     0,     0,    13,     0,     0,     0,     0,     0,     0,
      14,     0,     0,    15,    16,    17,    18,    19,    20,     0,
       0,    22,     0,    23,     0,     0,     0,    24,    25,     0,
      26,    27,    28,     0,     0,     0,     0,     0,     0,     0,
       0,    29,    30,    31,     0,     0,     0,     0,     0,     0,
      32,    33,    34,    35,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,    36,     0,     0,     0,
       0,     0,     0,     0,    37,     0,     0,     0,     0,     0,
       0,     0,    41,     0,   116,    42,     0,     0,    43,     0,
       0,     0,     0,     0,     0,     0,     0,    44,    45,    46,
     370,   371,   372,   373,   374,   375,   376,   441,   378,   379,
     380,   381,   382,   383,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   384,   385,   386,
     387,   388,   389,   390,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   391,     0,     0,     0,     0,   392,   393,
     394,   395,   396,   397,   398,   399,   400,   401,   402,   403,
     404,   405,   406,     0,   407,     0,   408,   409,   410,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     411,   412,     0,     0,   413,   414,   415,   416,     1,     2,
       3,     4,     5,     0,     0,     0,     0,     7,    93,     8,
       0,     0,     0,     0,    10,    11,    12,     0,     0,     0,
       0,    13,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    23,     0,     0,     0,    24,    25,     0,    26,    27,
      28,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      30,    31,     0,     0,     0,     0,     0,     0,    32,    33,
      34,    35,     1,     2,     3,     4,     5,     0,     0,     0,
     107,     7,     0,     8,    36,     0,     0,     0,    10,    11,
      12,     0,    37,     0,     0,    13,     0,     0,     0,     0,
      41,     0,     0,    42,     0,     0,    43,     0,     0,     0,
       0,     0,     0,     0,     0,    23,     0,     0,     0,    24,
      25,     0,    26,    27,    28,     0,     0,     0,     0,     0,
       0,     0,     0,     0,    30,    31,     0,     0,     0,     0,
       0,     0,    32,    33,    34,    35,     1,     2,     3,     4,
       5,     0,     0,     0,     6,     7,     0,     8,    36,     0,
       0,     0,    10,    11,    12,     0,    37,     0,     0,    13,
       0,     0,     0,     0,    41,     0,     0,    42,     0,     0,
      43,     0,     0,     0,     0,     0,     0,     0,     0,    23,
       0,     0,     0,    24,    25,     0,    26,    27,    28,     0,
       0,     0,     0,     0,     0,     0,     0,     0,    30,    31,
       0,     0,     0,     0,     0,     0,    32,    33,    34,    35,
       1,     2,     3,     4,     5,     0,     0,     0,     0,     7,
     279,     8,    36,     0,     0,     0,    10,    11,    12,     0,
      37,     0,     0,    13,     0,     0,     0,     0,    41,     0,
       0,    42,     0,     0,    43,     0,     0,     0,     0,     0,
       0,     0,     0,    23,     0,     0,     0,    24,    25,     0,
      26,    27,    28,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    30,    31,     0,     0,     0,     0,     0,     0,
      32,    33,    34,    35,     0,     0,     0,     0,     0,     0,
       1,     2,     3,     4,     5,     0,    36,     0,     0,     7,
       0,     8,   282,     0,    37,     0,    10,    11,    12,     0,
       0,     0,    41,    13,     0,    42,     0,     0,    43,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,    23,     0,     0,     0,    24,    25,     0,
      26,    27,    28,     0,     0,     0,     0,     0,     0,     0,
       0,     0,    30,    31,     0,     0,     0,     0,     0,     0,
      32,    33,    34,    35,     1,     2,     3,     4,     5,     0,
       0,     0,     0,     7,   294,     8,    36,     0,     0,     0,
      10,    11,    12,     0,    37,     0,     0,    13,     0,     0,
       0,     0,    41,     0,     0,    42,     0,     0,    43,     0,
       0,     0,     0,     0,     0,     0,     0,    23,     0,     0,
       0,    24,    25,     0,    26,    27,    28,     0,     0,     0,
       0,     0,     0,     0,     0,     0,    30,    31,     0,     0,
       0,     0,     0,     0,    32,    33,    34,    35,     1,     2,
       3,     4,     5,     0,     0,     0,     0,     7,   296,     8,
      36,     0,     0,     0,    10,    11,    12,     0,    37,     0,
       0,    13,     0,     0,     0,     0,    41,     0,     0,    42,
       0,     0,    43,     0,     0,     0,     0,     0,     0,     0,
       0,    23,     0,     0,     0,    24,    25,     0,    26,    27,
      28,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      30,    31,     0,     0,     0,     0,     0,     0,    32,    33,
      34,    35,     0,     0,     0,     0,     0,     0,     1,     2,
       3,     4,     5,     0,    36,     0,     0,     7,     0,     8,
     298,     0,    37,     0,    10,    11,    12,     0,     0,     0,
      41,    13,     0,    42,     0,     0,    43,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    23,     0,     0,     0,    24,    25,     0,    26,    27,
      28,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      30,    31,     0,     0,     0,     0,     0,     0,    32,    33,
      34,    35,     1,     2,     3,     4,     5,     0,     0,     0,
       0,     7,   333,     8,    36,     0,     0,     0,    10,    11,
      12,     0,    37,     0,     0,    13,     0,     0,     0,     0,
      41,     0,     0,    42,     0,     0,    43,     0,     0,     0,
       0,     0,     0,     0,     0,    23,     0,     0,     0,    24,
      25,     0,    26,    27,    28,     0,     0,     0,     0,     0,
       0,     0,     0,     0,    30,    31,     0,     0,     0,     0,
       0,     0,    32,    33,    34,    35,     1,     2,     3,     4,
       5,     0,     0,     0,     0,     7,     0,     8,    36,     0,
       0,     0,    10,    11,    12,     0,    37,     0,     0,    13,
       0,     0,     0,     0,    41,     0,     0,    42,     0,     0,
      43,     0,     0,     0,     0,     0,     0,     0,     0,    23,
       0,     0,     0,    24,    25,     0,    26,    27,    28,     0,
       0,     0,     0,     0,     0,     0,     0,     0,    30,    31,
       0,     0,     0,     0,     0,     0,    32,    33,    34,    35,
     109,     2,     3,     4,     5,     0,     0,     0,     0,     7,
       0,     8,    36,     0,     0,     0,    10,    11,    12,     0,
      37,     0,     0,     0,     0,     0,     0,     0,    41,     0,
       0,    42,     0,     0,    43,     0,     0,     0,     0,     0,
       0,     0,     0,    23,     0,     0,     0,    24,    25,     0,
      26,    27,    28,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
      32,    33,    34,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,    36,     0,     0,     0,
       0,     0,     0,     0,    37,     0,     0,     0,     0,     0,
       0,     0,   369,     0,     0,    42,     0,     0,    43,   370,
     371,   372,   373,   374,   375,   376,   377,   378,   379,   380,
     381,   382,   383,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,   384,   385,   386,   387,
     388,   389,   390,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   391,     0,     0,     0,     0,   392,   393,   394,
     395,   396,   397,   398,   399,   400,   401,   402,   403,   404,
     405,   406,     0,   407,     0,   408,   409,   410,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,   411,
     412,   464,     0,   413,   414,   415,   416,     0,   370,   371,
     372,   373,   374,   375,   376,   377,   378,   379,   380,   381,
     382,   383,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   384,   385,   386,   387,   388,
     389,   390,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,   391,     0,     0,     0,     0,   392,   393,   394,   395,
     396,   397,   398,   399,   400,   401,   402,   403,   404,   405,
     406,     0,   407,     0,   408,   409,   410,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,   411,   412,
       0,     0,   413,   414,   415,   416,   370,   371,   372,   373,
     374,   375,   376,   377,   378,   379,   380,   381,   382,   383,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,   384,   385,   386,   387,   388,   389,   390,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,   391,
       0,     0,     0,     0,   392,   393,   394,   395,   396,   397,
     398,   399,   400,   401,   402,   403,   404,   405,   406,     0,
     407,     0,   408,   409,   410,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,   411,   412,     0,     0,
     413,   414,   415,   416
};

static const yytype_int16 yycheck[] =
{
      30,    31,    32,    17,   144,    55,    90,   250,   209,   131,
     139,    41,   135,     7,     8,     3,   102,   318,    16,     9,
     321,    16,   369,     3,   152,     3,    12,     0,    22,    36,
       0,     3,    26,    27,    28,   119,     9,     0,   122,    31,
      98,    99,    56,     3,     4,     5,     6,     7,    26,    43,
      24,    25,    12,    45,    14,   315,     3,    64,     3,    33,
      34,     4,   363,     3,   365,   366,    13,   117,   118,     3,
      98,    99,    15,    13,    47,   125,   126,    47,   206,    26,
     323,    26,    11,    97,    47,    71,    26,    16,     4,    12,
       9,    71,    26,    53,    54,    55,    15,   357,    76,    11,
     360,    17,   100,   101,    16,   100,   100,   101,   102,     9,
     104,   312,   459,    13,    88,    12,     9,   464,     3,   149,
      13,   115,   112,   207,     3,   368,   369,   213,    13,   117,
      12,     9,    14,     4,    13,    13,    18,   438,   439,   105,
     106,    26,     9,    14,     4,    16,    13,    26,     4,    98,
      99,   111,   118,   119,    14,     9,    16,   458,    14,    13,
      16,     9,    24,    25,   465,    13,   467,   197,    50,    51,
     310,   472,   473,   313,     9,     9,   316,    11,    13,   308,
     302,   231,   305,     9,   178,     9,     9,    13,     9,    13,
      13,   434,    13,     9,   278,     9,     9,    13,   282,    13,
      13,   444,     9,     9,    11,     3,   200,    13,    12,    12,
     294,    14,   296,    12,    26,    27,    28,    29,    11,   249,
     250,   109,   110,   466,    11,   113,   114,   115,   116,   430,
      12,   225,    14,   227,   228,    77,    78,    79,    80,    81,
      82,    83,    84,    85,    86,    21,    22,    23,    90,    87,
      88,    93,    12,    95,    96,    97,    89,   341,    30,   343,
     185,   186,   187,   188,     9,    10,    11,   193,   194,   195,
      19,    20,   286,   287,     9,    10,   183,   184,   292,   293,
     189,   190,    47,   191,   192,    49,    48,    89,    18,   429,
      91,    52,    28,   323,   288,   289,   290,   291,    71,     9,
       4,     4,     3,    12,    12,     3,    12,    14,    71,    14,
      12,    35,     9,     9,    14,     4,   101,     9,    17,   333,
      15,     9,    15,    17,    14,   100,    17,    47,    15,    12,
      16,    16,    16,    13,    13,    17,    17,    15,   368,   369,
     354,     9,    13,    12,    11,     0,    11,    17,     3,     4,
       5,     6,     7,    17,    13,    13,    11,    12,    12,    14,
      13,    16,    13,    13,    19,    20,    21,    13,   352,    44,
      46,    26,    45,   169,   328,   252,   176,   319,    33,   196,
     177,    36,    37,    38,    39,    40,    41,   179,    43,    44,
     180,    46,   181,    -1,   182,    50,    51,    -1,    53,    54,
      55,    -1,    -1,    -1,   434,   419,    -1,   421,   422,    64,
      65,    66,    -1,   199,   444,    -1,    -1,    -1,    73,    74,
      75,    76,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    89,    -1,   466,    -1,    -1,    -1,
      -1,    -1,    97,    -1,    -1,    -1,    -1,   102,   103,   104,
     105,    -1,    -1,   108,    -1,    -1,   111,    -1,    -1,    -1,
       3,     4,     5,     6,     7,   120,   121,   122,    11,    12,
      -1,    14,    -1,    16,    17,    -1,    19,    20,    21,    -1,
      -1,    -1,    -1,    26,    -1,    -1,    -1,    -1,    -1,    -1,
      33,    -1,    -1,    36,    37,    38,    39,    40,    41,    -1,
      43,    44,    -1,    46,    -1,    -1,    -1,    50,    51,    -1,
      53,    54,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    64,    65,    66,    -1,    -1,    -1,    -1,    -1,    -1,
      73,    74,    75,    76,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    89,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    97,    -1,    -1,    -1,    -1,   102,
     103,   104,   105,    -1,    -1,   108,    -1,    -1,   111,    -1,
      -1,    -1,     3,     4,     5,     6,     7,   120,   121,   122,
      11,    12,    -1,    14,    -1,    16,    17,    -1,    19,    20,
      21,    -1,    -1,    -1,    -1,    26,    -1,    -1,    -1,    -1,
      -1,    -1,    33,    -1,    -1,    36,    37,    38,    39,    40,
      41,    -1,    43,    44,    -1,    46,    -1,    -1,    -1,    50,
      51,    -1,    53,    54,    55,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    64,    65,    66,    -1,    -1,    -1,    -1,
      -1,    -1,    73,    74,    75,    76,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    89,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    97,    -1,    -1,    -1,
      -1,   102,   103,   104,   105,    -1,    -1,   108,    -1,    -1,
     111,    -1,    -1,    -1,     3,     4,     5,     6,     7,   120,
     121,   122,    11,    12,    -1,    14,    -1,    16,    -1,    -1,
      19,    20,    21,    -1,    -1,    -1,    -1,    26,    -1,    -1,
      -1,    -1,    -1,    -1,    33,    -1,    -1,    36,    37,    38,
      39,    40,    41,    -1,    43,    44,    -1,    46,    -1,    -1,
      -1,    50,    51,    -1,    53,    54,    55,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    64,    65,    66,    -1,    -1,
      -1,    -1,    -1,    -1,    73,    74,    75,    76,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      89,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    97,    -1,
      -1,    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,
      -1,    -1,   111,    -1,    -1,    -1,     3,     4,     5,     6,
       7,   120,   121,   122,    11,    12,    -1,    14,    -1,    16,
      17,    -1,    19,    20,    21,    -1,    -1,    -1,    -1,    26,
      -1,    -1,    -1,    -1,    -1,    -1,    33,    -1,    -1,    36,
      37,    38,    39,    40,    41,    -1,    -1,    44,    -1,    46,
      -1,    -1,    -1,    50,    51,    -1,    53,    54,    55,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    64,    65,    66,
      -1,    -1,    -1,    -1,    -1,    -1,    73,    74,    75,    76,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    89,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      97,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   105,    -1,
      -1,   108,    -1,    -1,   111,    -1,    -1,    -1,     3,     4,
       5,     6,     7,   120,   121,   122,    11,    12,    -1,    14,
      -1,    16,    17,    -1,    19,    20,    21,    -1,    -1,    -1,
      -1,    26,    -1,    -1,    -1,    -1,    -1,    -1,    33,    -1,
      -1,    36,    37,    38,    39,    40,    41,    -1,    -1,    44,
      -1,    46,    -1,    -1,    -1,    50,    51,    -1,    53,    54,
      55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    64,
      65,    66,    -1,    -1,    -1,    -1,    -1,    -1,    73,    74,
      75,    76,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    89,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    97,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     105,    -1,    -1,   108,    -1,    -1,   111,    -1,    -1,    -1,
       3,     4,     5,     6,     7,   120,   121,   122,    11,    12,
      -1,    14,    -1,    16,    -1,    -1,    19,    20,    21,    -1,
      -1,    -1,    -1,    26,    -1,    -1,    -1,    -1,    -1,    -1,
      33,    -1,    -1,    36,    37,    38,    39,    40,    41,    -1,
      -1,    44,    -1,    46,    -1,    -1,    -1,    50,    51,    -1,
      53,    54,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    64,    65,    66,    -1,    -1,    -1,    -1,    -1,    -1,
      73,    74,    75,    76,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    89,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    97,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,   105,    -1,     3,   108,    -1,    -1,   111,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,   120,   121,   122,
      19,    20,    21,    22,    23,    24,    25,    26,    27,    28,
      29,    30,    31,    32,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    46,    47,    48,
      49,    50,    51,    52,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    72,    -1,    -1,    -1,    -1,    77,    78,
      79,    80,    81,    82,    83,    84,    85,    86,    87,    88,
      89,    90,    91,    -1,    93,    -1,    95,    96,    97,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     109,   110,    -1,    -1,   113,   114,   115,   116,     3,     4,
       5,     6,     7,    -1,    -1,    -1,    -1,    12,    13,    14,
      -1,    -1,    -1,    -1,    19,    20,    21,    -1,    -1,    -1,
      -1,    26,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    46,    -1,    -1,    -1,    50,    51,    -1,    53,    54,
      55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      65,    66,    -1,    -1,    -1,    -1,    -1,    -1,    73,    74,
      75,    76,     3,     4,     5,     6,     7,    -1,    -1,    -1,
      11,    12,    -1,    14,    89,    -1,    -1,    -1,    19,    20,
      21,    -1,    97,    -1,    -1,    26,    -1,    -1,    -1,    -1,
     105,    -1,    -1,   108,    -1,    -1,   111,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    46,    -1,    -1,    -1,    50,
      51,    -1,    53,    54,    55,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    65,    66,    -1,    -1,    -1,    -1,
      -1,    -1,    73,    74,    75,    76,     3,     4,     5,     6,
       7,    -1,    -1,    -1,    11,    12,    -1,    14,    89,    -1,
      -1,    -1,    19,    20,    21,    -1,    97,    -1,    -1,    26,
      -1,    -1,    -1,    -1,   105,    -1,    -1,   108,    -1,    -1,
     111,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    46,
      -1,    -1,    -1,    50,    51,    -1,    53,    54,    55,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    65,    66,
      -1,    -1,    -1,    -1,    -1,    -1,    73,    74,    75,    76,
       3,     4,     5,     6,     7,    -1,    -1,    -1,    -1,    12,
      13,    14,    89,    -1,    -1,    -1,    19,    20,    21,    -1,
      97,    -1,    -1,    26,    -1,    -1,    -1,    -1,   105,    -1,
      -1,   108,    -1,    -1,   111,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    46,    -1,    -1,    -1,    50,    51,    -1,
      53,    54,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    65,    66,    -1,    -1,    -1,    -1,    -1,    -1,
      73,    74,    75,    76,    -1,    -1,    -1,    -1,    -1,    -1,
       3,     4,     5,     6,     7,    -1,    89,    -1,    -1,    12,
      -1,    14,    15,    -1,    97,    -1,    19,    20,    21,    -1,
      -1,    -1,   105,    26,    -1,   108,    -1,    -1,   111,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    46,    -1,    -1,    -1,    50,    51,    -1,
      53,    54,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    65,    66,    -1,    -1,    -1,    -1,    -1,    -1,
      73,    74,    75,    76,     3,     4,     5,     6,     7,    -1,
      -1,    -1,    -1,    12,    13,    14,    89,    -1,    -1,    -1,
      19,    20,    21,    -1,    97,    -1,    -1,    26,    -1,    -1,
      -1,    -1,   105,    -1,    -1,   108,    -1,    -1,   111,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    46,    -1,    -1,
      -1,    50,    51,    -1,    53,    54,    55,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    65,    66,    -1,    -1,
      -1,    -1,    -1,    -1,    73,    74,    75,    76,     3,     4,
       5,     6,     7,    -1,    -1,    -1,    -1,    12,    13,    14,
      89,    -1,    -1,    -1,    19,    20,    21,    -1,    97,    -1,
      -1,    26,    -1,    -1,    -1,    -1,   105,    -1,    -1,   108,
      -1,    -1,   111,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    46,    -1,    -1,    -1,    50,    51,    -1,    53,    54,
      55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      65,    66,    -1,    -1,    -1,    -1,    -1,    -1,    73,    74,
      75,    76,    -1,    -1,    -1,    -1,    -1,    -1,     3,     4,
       5,     6,     7,    -1,    89,    -1,    -1,    12,    -1,    14,
      15,    -1,    97,    -1,    19,    20,    21,    -1,    -1,    -1,
     105,    26,    -1,   108,    -1,    -1,   111,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    46,    -1,    -1,    -1,    50,    51,    -1,    53,    54,
      55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      65,    66,    -1,    -1,    -1,    -1,    -1,    -1,    73,    74,
      75,    76,     3,     4,     5,     6,     7,    -1,    -1,    -1,
      -1,    12,    13,    14,    89,    -1,    -1,    -1,    19,    20,
      21,    -1,    97,    -1,    -1,    26,    -1,    -1,    -1,    -1,
     105,    -1,    -1,   108,    -1,    -1,   111,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    46,    -1,    -1,    -1,    50,
      51,    -1,    53,    54,    55,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    65,    66,    -1,    -1,    -1,    -1,
      -1,    -1,    73,    74,    75,    76,     3,     4,     5,     6,
       7,    -1,    -1,    -1,    -1,    12,    -1,    14,    89,    -1,
      -1,    -1,    19,    20,    21,    -1,    97,    -1,    -1,    26,
      -1,    -1,    -1,    -1,   105,    -1,    -1,   108,    -1,    -1,
     111,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    46,
      -1,    -1,    -1,    50,    51,    -1,    53,    54,    55,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    65,    66,
      -1,    -1,    -1,    -1,    -1,    -1,    73,    74,    75,    76,
       3,     4,     5,     6,     7,    -1,    -1,    -1,    -1,    12,
      -1,    14,    89,    -1,    -1,    -1,    19,    20,    21,    -1,
      97,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   105,    -1,
      -1,   108,    -1,    -1,   111,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    46,    -1,    -1,    -1,    50,    51,    -1,
      53,    54,    55,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      73,    74,    75,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    89,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    97,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    12,    -1,    -1,   108,    -1,    -1,   111,    19,
      20,    21,    22,    23,    24,    25,    26,    27,    28,    29,
      30,    31,    32,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    46,    47,    48,    49,
      50,    51,    52,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    72,    -1,    -1,    -1,    -1,    77,    78,    79,
      80,    81,    82,    83,    84,    85,    86,    87,    88,    89,
      90,    91,    -1,    93,    -1,    95,    96,    97,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,
     110,    12,    -1,   113,   114,   115,   116,    -1,    19,    20,
      21,    22,    23,    24,    25,    26,    27,    28,    29,    30,
      31,    32,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    46,    47,    48,    49,    50,
      51,    52,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    72,    -1,    -1,    -1,    -1,    77,    78,    79,    80,
      81,    82,    83,    84,    85,    86,    87,    88,    89,    90,
      91,    -1,    93,    -1,    95,    96,    97,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,   110,
      -1,    -1,   113,   114,   115,   116,    19,    20,    21,    22,
      23,    24,    25,    26,    27,    28,    29,    30,    31,    32,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    46,    47,    48,    49,    50,    51,    52,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    72,
      -1,    -1,    -1,    -1,    77,    78,    79,    80,    81,    82,
      83,    84,    85,    86,    87,    88,    89,    90,    91,    -1,
      93,    -1,    95,    96,    97,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,   109,   110,    -1,    -1,
     113,   114,   115,   116
};

/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
   state STATE-NUM.  */
static const yytype_uint8 yystos[] =
{
       0,     3,     4,     5,     6,     7,    11,    12,    14,    16,
      19,    20,    21,    26,    33,    36,    37,    38,    39,    40,
      41,    43,    44,    46,    50,    51,    53,    54,    55,    64,
      65,    66,    73,    74,    75,    76,    89,    97,   102,   103,
     104,   105,   108,   111,   120,   121,   122,   124,   125,   126,
     134,   135,   136,   138,   139,   140,   143,   144,   145,   146,
     147,   148,   149,   152,   155,   158,   159,   160,   161,   162,
     164,   167,   168,   169,   172,   173,   174,   175,   176,   177,
     178,   179,   180,   181,   182,   183,   184,   185,   186,   188,
     189,   190,    71,    13,   159,   159,    17,   143,     3,   133,
      12,    12,    12,   144,    12,    11,    11,    11,   159,     3,
     185,   185,   159,   159,   159,    12,     3,   140,   140,   140,
     185,   185,     3,   165,   166,    76,   140,    89,   159,     4,
      14,    16,   151,     4,    14,    16,   154,     4,    14,    16,
     157,     0,   125,    98,    99,   105,   106,   118,   119,   137,
     165,   144,     9,    11,    77,    78,    79,    80,    81,    82,
      83,    84,    85,    86,    90,    93,    95,    96,    97,   170,
     109,   110,   113,   114,   115,   116,   171,    31,    45,    30,
      47,    49,    48,    24,    25,    26,    27,    28,    29,    87,
      88,    19,    20,    21,    22,    23,    89,    52,   185,    91,
      12,    18,    50,    51,   162,    13,     9,    15,    17,    18,
      28,   159,   159,   158,   159,    36,    64,   159,    11,    13,
      13,    13,   159,   165,   165,    12,   162,    12,    14,   162,
     163,     9,   165,   165,   112,    15,   150,   151,    17,   150,
     153,   154,   153,   156,   157,   156,     3,   132,   132,    12,
      12,     3,   140,   141,   160,   161,   164,   174,   159,   175,
     176,   177,   178,   179,   179,   180,   180,   180,   180,   181,
     181,   182,   182,   183,   183,   183,   184,   140,   189,    13,
     159,     3,    15,   162,   133,    71,    13,    13,   158,    10,
      12,    12,    13,    13,    13,   159,    13,   159,    15,    14,
     165,    14,     9,    17,    15,     9,    17,    15,     9,    17,
       9,    16,   100,   101,   127,    16,   100,   131,    13,   140,
     142,    13,   142,    12,    14,   163,     3,   117,    10,    13,
     162,   144,   144,    13,   159,   159,   159,   159,   144,   144,
     162,    13,   162,    13,    15,   150,   153,   156,   132,   126,
     128,   129,   130,   134,   143,   133,   132,    16,   128,   132,
      16,   148,   166,    13,   148,    13,    13,   142,    12,    12,
      19,    20,    21,    22,    23,    24,    25,    26,    27,    28,
      29,    30,    31,    32,    46,    47,    48,    49,    50,    51,
      52,    72,    77,    78,    79,    80,    81,    82,    83,    84,
      85,    86,    87,    88,    89,    90,    91,    93,    95,    96,
      97,   109,   110,   113,   114,   115,   116,   187,   172,    35,
     144,    13,    13,    13,    13,   162,   162,    17,   129,   101,
     100,   128,    17,   128,     9,   148,   148,   148,    13,    13,
     142,    26,   142,   187,    12,   144,   144,   144,    11,    11,
     132,   133,    17,    17,   142,   148,    11,   148,    13,    13,
      13,   142,    11,   148,    12,   187,    12,    13,   187,   148,
     142,   148,    13,    13,   148,   148
};

/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM.  */
static const yytype_uint8 yyr1[] =
{
       0,   123,   124,   124,   125,   125,   125,   126,   126,   126,
     126,   127,   127,   127,   127,   128,   128,   129,   129,   130,
     130,   130,   131,   132,   132,   133,   133,   134,   134,   134,
     134,   134,   134,   134,   134,   134,   134,   134,   134,   134,
     134,   135,   135,   135,   136,   136,   136,   136,   137,   137,
     137,   138,   138,   139,   139,   140,   140,   141,   141,   142,
     142,   143,   143,   144,   144,   144,   144,   144,   144,   144,
     144,   145,   145,   145,   145,   146,   146,   147,   147,   147,
     147,   147,   147,   147,   147,   148,   148,   149,   149,   149,
     149,   149,   150,   150,   151,   152,   152,   152,   153,   153,
     154,   155,   155,   155,   156,   156,   157,   158,   158,   159,
     159,   160,   160,   161,   161,   162,   162,   162,   162,   163,
     163,   164,   164,   164,   164,   164,   164,   164,   165,   165,
     166,   166,   166,   166,   166,   166,   166,   167,   168,   169,
     170,   170,   170,   170,   170,   170,   170,   170,   170,   170,
     170,   170,   170,   170,   170,   171,   171,   171,   171,   171,
     171,   172,   172,   173,   173,   174,   174,   175,   175,   176,
     176,   177,   177,   178,   178,   178,   179,   179,   179,   179,
     179,   180,   180,   180,   181,   181,   181,   182,   182,   182,
     182,   183,   183,   184,   184,   185,   185,   185,   185,   185,
     185,   185,   185,   185,   185,   185,   185,   186,   186,   186,
     186,   186,   186,   186,   187,   187,   187,   187,   187,   187,
     187,   187,   187,   187,   187,   187,   187,   187,   187,   187,
     187,   187,   187,   187,   187,   187,   187,   187,   187,   187,
     187,   187,   187,   187,   187,   187,   187,   187,   187,   187,
     187,   187,   187,   187,   187,   187,   187,   187,   187,   187,
     187,   188,   188,   189,   189,   189,   189,   189,   189,   189,
     190,   190,   190,   190,   190,   190,   190,   190,   190,   190,
     190,   190
};

/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM.  */
static const yytype_int8 yyr2[] =
{
       0,     2,     1,     2,     1,     1,     1,     6,     7,     6,
       7,     2,     4,     2,     4,     1,     0,     1,     2,     1,
       1,     1,     2,     1,     3,     1,     3,     8,     7,     7,
       6,     6,     5,     5,     6,     8,     7,     9,     9,    11,
      11,     1,     1,     0,     1,     1,     1,     1,     1,     1,
       0,     1,     2,     3,     4,     1,     1,     1,     2,     2,
       4,     1,     2,     1,     1,     1,     1,     1,     1,     1,
       1,     2,     3,     2,     2,     5,     7,     5,     7,     6,
       7,     7,     5,     7,     5,     2,     3,     2,     3,     3,
       4,     4,     1,     3,     1,     2,     4,     4,     1,     3,
       1,     2,     4,     4,     1,     3,     1,     1,     2,     1,
       3,     1,     3,     1,     3,     3,     4,     4,     5,     2,
       3,     1,     2,     3,     3,     3,     2,     3,     1,     3,
       1,     2,     2,     3,     4,     4,     5,     3,     3,     3,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     5,     1,     3,     1,     3,     1,     3,     1,
       3,     1,     3,     1,     3,     3,     1,     3,     3,     3,
       3,     1,     3,     3,     1,     3,     3,     1,     3,     3,
       3,     1,     3,     1,     3,     1,     2,     2,     2,     2,
       2,     2,     3,     4,     5,     5,     6,     1,     1,     1,
       1,     1,     2,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     3,     1,     2,     3,     4,     3,     2,     2,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     3,
       3,     2
};


enum { YYENOMEM = -2 };

#define yyerrok         (yyerrstatus = 0)
#define yyclearin       (yychar = YYEMPTY)

#define YYACCEPT        goto yyacceptlab
#define YYABORT         goto yyabortlab
#define YYERROR         goto yyerrorlab
#define YYNOMEM         goto yyexhaustedlab


#define YYRECOVERING()  (!!yyerrstatus)

#define YYBACKUP(Token, Value)                                    \
  do                                                              \
    if (yychar == YYEMPTY)                                        \
      {                                                           \
        yychar = (Token);                                         \
        yylval = (Value);                                         \
        YYPOPSTACK (yylen);                                       \
        yystate = *yyssp;                                         \
        goto yybackup;                                            \
      }                                                           \
    else                                                          \
      {                                                           \
        yyerror (YY_("syntax error: cannot back up")); \
        YYERROR;                                                  \
      }                                                           \
  while (0)

/* Backward compatibility with an undocumented macro.
   Use YYerror or YYUNDEF. */
#define YYERRCODE YYUNDEF

/* 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).  */

#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)                                \
    do                                                                  \
      if (N)                                                            \
        {                                                               \
          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
      else                                                              \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
            YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
            YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
    while (0)
#endif

#define YYRHSLOC(Rhs, K) ((Rhs)[K])


/* 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 (0)


/* YYLOCATION_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 YYLOCATION_PRINT

#  if defined YY_LOCATION_PRINT

   /* Temporary convenience wrapper in case some people defined the
      undocumented and private YY_LOCATION_PRINT macros.  */
#   define YYLOCATION_PRINT(File, Loc)  YY_LOCATION_PRINT(File, *(Loc))

#  elif defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL

/* Print *YYLOCP on YYO.  Private, do not rely on its existence. */

YY_ATTRIBUTE_UNUSED
static int
yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)
{
  int res = 0;
  int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;
  if (0 <= yylocp->first_line)
    {
      res += YYFPRINTF (yyo, "%d", yylocp->first_line);
      if (0 <= yylocp->first_column)
        res += YYFPRINTF (yyo, ".%d", yylocp->first_column);
    }
  if (0 <= yylocp->last_line)
    {
      if (yylocp->first_line < yylocp->last_line)
        {
          res += YYFPRINTF (yyo, "-%d", yylocp->last_line);
          if (0 <= end_col)
            res += YYFPRINTF (yyo, ".%d", end_col);
        }
      else if (0 <= end_col && yylocp->first_column < end_col)
        res += YYFPRINTF (yyo, "-%d", end_col);
    }
  return res;
}

#   define YYLOCATION_PRINT  yy_location_print_

    /* Temporary convenience wrapper in case some people defined the
       undocumented and private YY_LOCATION_PRINT macros.  */
#   define YY_LOCATION_PRINT(File, Loc)  YYLOCATION_PRINT(File, &(Loc))

#  else

#   define YYLOCATION_PRINT(File, Loc) ((void) 0)
    /* Temporary convenience wrapper in case some people defined the
       undocumented and private YY_LOCATION_PRINT macros.  */
#   define YY_LOCATION_PRINT  YYLOCATION_PRINT

#  endif
# endif /* !defined YYLOCATION_PRINT */


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


/*-----------------------------------.
| Print this symbol's value on YYO.  |
`-----------------------------------*/

static void
yy_symbol_value_print (FILE *yyo,
                       yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp)
{
  FILE *yyoutput = yyo;
  YY_USE (yyoutput);
  YY_USE (yylocationp);
  if (!yyvaluep)
    return;
  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  YY_USE (yykind);
  YY_IGNORE_MAYBE_UNINITIALIZED_END
}


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

static void
yy_symbol_print (FILE *yyo,
                 yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp)
{
  YYFPRINTF (yyo, "%s %s (",
             yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind));

  YYLOCATION_PRINT (yyo, yylocationp);
  YYFPRINTF (yyo, ": ");
  yy_symbol_value_print (yyo, yykind, yyvaluep, yylocationp);
  YYFPRINTF (yyo, ")");
}

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

static void
yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)
{
  YYFPRINTF (stderr, "Stack now");
  for (; yybottom <= yytop; yybottom++)
    {
      int yybot = *yybottom;
      YYFPRINTF (stderr, " %d", yybot);
    }
  YYFPRINTF (stderr, "\n");
}

# define YY_STACK_PRINT(Bottom, Top)                            \
do {                                                            \
  if (yydebug)                                                  \
    yy_stack_print ((Bottom), (Top));                           \
} while (0)


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

static void
yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp,
                 int yyrule)
{
  int yylno = yyrline[yyrule];
  int yynrhs = yyr2[yyrule];
  int yyi;
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n",
             yyrule - 1, yylno);
  /* The symbols being reduced.  */
  for (yyi = 0; yyi < yynrhs; yyi++)
    {
      YYFPRINTF (stderr, "   $%d = ", yyi + 1);
      yy_symbol_print (stderr,
                       YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]),
                       &yyvsp[(yyi + 1) - (yynrhs)],
                       &(yylsp[(yyi + 1) - (yynrhs)]));
      YYFPRINTF (stderr, "\n");
    }
}

# define YY_REDUCE_PRINT(Rule)          \
do {                                    \
  if (yydebug)                          \
    yy_reduce_print (yyssp, yyvsp, yylsp, Rule); \
} while (0)

/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args) ((void) 0)
# define YY_SYMBOL_PRINT(Title, Kind, 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






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

static void
yydestruct (const char *yymsg,
            yysymbol_kind_t yykind, YYSTYPE *yyvaluep, YYLTYPE *yylocationp)
{
  YY_USE (yyvaluep);
  YY_USE (yylocationp);
  if (!yymsg)
    yymsg = "Deleting";
  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  YY_USE (yykind);
  YY_IGNORE_MAYBE_UNINITIALIZED_END
}


/* Lookahead token kind.  */
int yychar;

/* The semantic value of the lookahead symbol.  */
YYSTYPE yylval;
/* Location data for the lookahead symbol.  */
YYLTYPE yylloc
# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
  = { 1, 1, 1, 1 }
# endif
;
/* Number of syntax errors so far.  */
int yynerrs;




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

int
yyparse (void)
{
    yy_state_fast_t yystate = 0;
    /* Number of tokens to shift before error messages enabled.  */
    int yyerrstatus = 0;

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

    /* Their size.  */
    YYPTRDIFF_T yystacksize = YYINITDEPTH;

    /* The state stack: array, bottom, top.  */
    yy_state_t yyssa[YYINITDEPTH];
    yy_state_t *yyss = yyssa;
    yy_state_t *yyssp = yyss;

    /* The semantic value stack: array, bottom, top.  */
    YYSTYPE yyvsa[YYINITDEPTH];
    YYSTYPE *yyvs = yyvsa;
    YYSTYPE *yyvsp = yyvs;

    /* The location stack: array, bottom, top.  */
    YYLTYPE yylsa[YYINITDEPTH];
    YYLTYPE *yyls = yylsa;
    YYLTYPE *yylsp = yyls;

  int yyn;
  /* The return value of yyparse.  */
  int yyresult;
  /* Lookahead symbol kind.  */
  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;
  YYLTYPE yyloc;

  /* The locations where the error started and ended.  */
  YYLTYPE yyerror_range[3];



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

  /* 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"));

  yychar = YYEMPTY; /* Cause a token to be read.  */

  yylsp[0] = yylloc;
  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 -- set current state (the top of the stack) to yystate.  |
`--------------------------------------------------------------------*/
yysetstate:
  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  YY_IGNORE_USELESS_CAST_BEGIN
  *yyssp = YY_CAST (yy_state_t, yystate);
  YY_IGNORE_USELESS_CAST_END
  YY_STACK_PRINT (yyss, yyssp);

  if (yyss + yystacksize - 1 <= yyssp)
#if !defined yyoverflow && !defined YYSTACK_RELOCATE
    YYNOMEM;
#else
    {
      /* Get the current used size of the three stacks, in elements.  */
      YYPTRDIFF_T yysize = yyssp - yyss + 1;

# if defined 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.  */
        yy_state_t *yyss1 = yyss;
        YYSTYPE *yyvs1 = yyvs;
        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 * YYSIZEOF (*yyssp),
                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
                    &yyls1, yysize * YYSIZEOF (*yylsp),
                    &yystacksize);
        yyss = yyss1;
        yyvs = yyvs1;
        yyls = yyls1;
      }
# else /* defined YYSTACK_RELOCATE */
      /* Extend the stack our own way.  */
      if (YYMAXDEPTH <= yystacksize)
        YYNOMEM;
      yystacksize *= 2;
      if (YYMAXDEPTH < yystacksize)
        yystacksize = YYMAXDEPTH;

      {
        yy_state_t *yyss1 = yyss;
        union yyalloc *yyptr =
          YY_CAST (union yyalloc *,
                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
        if (! yyptr)
          YYNOMEM;
        YYSTACK_RELOCATE (yyss_alloc, yyss);
        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
        YYSTACK_RELOCATE (yyls_alloc, yyls);
#  undef YYSTACK_RELOCATE
        if (yyss1 != yyssa)
          YYSTACK_FREE (yyss1);
      }
# endif

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

      YY_IGNORE_USELESS_CAST_BEGIN
      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
                  YY_CAST (long, yystacksize)));
      YY_IGNORE_USELESS_CAST_END

      if (yyss + yystacksize - 1 <= yyssp)
        YYABORT;
    }
#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */


  if (yystate == YYFINAL)
    YYACCEPT;

  goto yybackup;


/*-----------.
| yybackup.  |
`-----------*/
yybackup:
  /* Do appropriate processing given the current state.  Read a
     lookahead token if we need one and don't already have one.  */

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

  /* Not known => get a lookahead token if don't already have one.  */

  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
  if (yychar == YYEMPTY)
    {
      YYDPRINTF ((stderr, "Reading a token\n"));
      yychar = yylex ();
    }

  if (yychar <= YYEOF)
    {
      yychar = YYEOF;
      yytoken = YYSYMBOL_YYEOF;
      YYDPRINTF ((stderr, "Now at end of input.\n"));
    }
  else if (yychar == YYerror)
    {
      /* The scanner already issued an error message, process directly
         to error recovery.  But do not keep the error token as
         lookahead, it is too special and may lead us to an endless
         loop in error recovery. */
      yychar = YYUNDEF;
      yytoken = YYSYMBOL_YYerror;
      yyerror_range[1] = yylloc;
      goto yyerrlab1;
    }
  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 (yytable_value_is_error (yyn))
        goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }

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

  /* Shift the lookahead token.  */
  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  yystate = yyn;
  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END
  *++yylsp = yylloc;

  /* Discard the shifted token.  */
  yychar = YYEMPTY;
  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);
  yyerror_range[1] = yyloc;
  YY_REDUCE_PRINT (yyn);
  switch (yyn)
    {
  case 2: /* program: program_section  */
#line 221 "chuck.y"
                                            { (yyval.program) = g_program = new_program( (yyvsp[0].program_section), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2171 "chuck.tab.c"
    break;

  case 3: /* program: program program_section  */
#line 222 "chuck.y"
                                            { (yyval.program) = g_program = append_program( (yyvsp[-1].program), (yyvsp[0].program_section), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2177 "chuck.tab.c"
    break;

  case 4: /* program_section: statement_list  */
#line 226 "chuck.y"
                                            { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2183 "chuck.tab.c"
    break;

  case 5: /* program_section: function_definition  */
#line 227 "chuck.y"
                                            { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2189 "chuck.tab.c"
    break;

  case 6: /* program_section: class_definition  */
#line 228 "chuck.y"
                                            { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2195 "chuck.tab.c"
    break;

  case 7: /* class_definition: class_decl CLASS id_list LBRACE class_body RBRACE  */
#line 233 "chuck.y"
            { (yyval.class_def) = new_class_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2201 "chuck.tab.c"
    break;

  case 8: /* class_definition: class_decl CLASS id_list class_ext LBRACE class_body RBRACE  */
#line 235 "chuck.y"
            { (yyval.class_def) = new_class_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2207 "chuck.tab.c"
    break;

  case 9: /* class_definition: class_decl INTERFACE id_list LBRACE class_body RBRACE  */
#line 237 "chuck.y"
            { (yyval.class_def) = new_iface_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2213 "chuck.tab.c"
    break;

  case 10: /* class_definition: class_decl INTERFACE id_list iface_ext LBRACE class_body RBRACE  */
#line 239 "chuck.y"
            { (yyval.class_def) = new_iface_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2219 "chuck.tab.c"
    break;

  case 11: /* class_ext: IMPLEMENTS id_list  */
#line 243 "chuck.y"
                                            { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2225 "chuck.tab.c"
    break;

  case 12: /* class_ext: IMPLEMENTS id_list EXTENDS id_dot  */
#line 244 "chuck.y"
                                            { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), (yyvsp[-2].id_list), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2231 "chuck.tab.c"
    break;

  case 13: /* class_ext: EXTENDS id_dot  */
#line 245 "chuck.y"
                                            { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), NULL, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2237 "chuck.tab.c"
    break;

  case 14: /* class_ext: EXTENDS id_dot IMPLEMENTS id_list  */
#line 246 "chuck.y"
                                            { (yyval.class_ext) = new_class_ext( (yyvsp[-2].id_list), (yyvsp[0].id_list), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2243 "chuck.tab.c"
    break;

  case 15: /* class_body: class_body2  */
#line 250 "chuck.y"
                                            { (yyval.class_body) = (yyvsp[0].class_body); }
#line 2249 "chuck.tab.c"
    break;

  case 16: /* class_body: %empty  */
#line 251 "chuck.y"
                                                    { (yyval.class_body) = NULL; }
#line 2255 "chuck.tab.c"
    break;

  case 17: /* class_body2: class_section  */
#line 255 "chuck.y"
                                            { (yyval.class_body) = new_class_body( (yyvsp[0].program_section), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2261 "chuck.tab.c"
    break;

  case 18: /* class_body2: class_section class_body2  */
#line 256 "chuck.y"
                                            { (yyval.class_body) = prepend_class_body( (yyvsp[-1].program_section), (yyvsp[0].class_body), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2267 "chuck.tab.c"
    break;

  case 19: /* class_section: statement_list  */
#line 261 "chuck.y"
                                            { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2273 "chuck.tab.c"
    break;

  case 20: /* class_section: function_definition  */
#line 262 "chuck.y"
                                            { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2279 "chuck.tab.c"
    break;

  case 21: /* class_section: class_definition  */
#line 263 "chuck.y"
                                            { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2285 "chuck.tab.c"
    break;

  case 22: /* iface_ext: EXTENDS id_list  */
#line 267 "chuck.y"
                                            { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2291 "chuck.tab.c"
    break;

  case 23: /* id_list: ID  */
#line 271 "chuck.y"
                                            { (yyval.id_list) = new_id_list( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column  /*, &@1 */ ); }
#line 2297 "chuck.tab.c"
    break;

  case 24: /* id_list: ID COMMA id_list  */
#line 272 "chuck.y"
                                            { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), (yylsp[-2]).first_line, (yylsp[-2]).first_column  /*, &@1 */ ); }
#line 2303 "chuck.tab.c"
    break;

  case 25: /* id_dot: ID  */
#line 276 "chuck.y"
                                            { (yyval.id_list) = new_id_list( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column  /*, &@1*/ ); }
#line 2309 "chuck.tab.c"
    break;

  case 26: /* id_dot: ID DOT id_dot  */
#line 277 "chuck.y"
                                            { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), (yylsp[-2]).first_line, (yylsp[-2]).first_column  /*, &@1*/ ); }
#line 2315 "chuck.tab.c"
    break;

  case 27: /* function_definition: function_decl static_decl type_decl2 ID LPAREN arg_list RPAREN code_segment  */
#line 282 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, (yylsp[-7]).first_line, (yylsp[-7]).first_column ); }
#line 2321 "chuck.tab.c"
    break;

  case 28: /* function_definition: function_decl static_decl type_decl2 ID LPAREN RPAREN code_segment  */
#line 284 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, (yyvsp[0].stmt), TRUE, (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2327 "chuck.tab.c"
    break;

  case 29: /* function_definition: function_decl static_decl ID LPAREN arg_list RPAREN code_segment  */
#line 286 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), NULL, (yyvsp[-4].sval), (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2333 "chuck.tab.c"
    break;

  case 30: /* function_definition: function_decl static_decl ID LPAREN RPAREN code_segment  */
#line 288 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-5].ival), (yyvsp[-4].ival), NULL, (yyvsp[-3].sval), NULL, (yyvsp[0].stmt), TRUE, (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2339 "chuck.tab.c"
    break;

  case 31: /* function_definition: function_decl AT_CTOR LPAREN arg_list RPAREN code_segment  */
#line 290 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-5].ival), ae_key_instance, NULL, "@construct", (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2345 "chuck.tab.c"
    break;

  case 32: /* function_definition: function_decl AT_CTOR LPAREN RPAREN code_segment  */
#line 292 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-4].ival), ae_key_instance, NULL, "@construct", NULL, (yyvsp[0].stmt), TRUE, (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2351 "chuck.tab.c"
    break;

  case 33: /* function_definition: function_decl AT_DTOR LPAREN RPAREN code_segment  */
#line 294 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-4].ival), ae_key_instance, NULL, "@destruct", NULL, (yyvsp[0].stmt), TRUE, (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2357 "chuck.tab.c"
    break;

  case 34: /* function_definition: function_decl AT_DTOR LPAREN arg_list RPAREN code_segment  */
#line 296 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-5].ival), ae_key_instance, NULL, "@destruct", (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2363 "chuck.tab.c"
    break;

  case 35: /* function_definition: function_decl static_decl type_decl2 ID LPAREN arg_list RPAREN SEMICOLON  */
#line 298 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), NULL, TRUE, (yylsp[-7]).first_line, (yylsp[-7]).first_column ); }
#line 2369 "chuck.tab.c"
    break;

  case 36: /* function_definition: function_decl static_decl type_decl2 ID LPAREN RPAREN SEMICOLON  */
#line 300 "chuck.y"
            { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, NULL, TRUE, (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2375 "chuck.tab.c"
    break;

  case 37: /* function_definition: function_decl static_decl type_decl2 AT_OP overloadable_operator LPAREN arg_list RPAREN code_segment  */
#line 302 "chuck.y"
            { (yyval.func_def) = new_op_overload( (yyvsp[-8].ival), (yyvsp[-7].ival), (yyvsp[-6].type_decl), (yyvsp[-4].ival), (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, FALSE, (yylsp[-8]).first_line, (yylsp[-8]).first_column, (yylsp[-4]).first_column ); }
#line 2381 "chuck.tab.c"
    break;

  case 38: /* function_definition: function_decl static_decl type_decl2 AT_OP LPAREN arg_list RPAREN overloadable_operator code_segment  */
#line 304 "chuck.y"
            { (yyval.func_def) = new_op_overload( (yyvsp[-8].ival), (yyvsp[-7].ival), (yyvsp[-6].type_decl), (yyvsp[-1].ival), (yyvsp[-3].arg_list), (yyvsp[0].stmt), TRUE, TRUE, (yylsp[-8]).first_line, (yylsp[-8]).first_column, (yylsp[-1]).first_column ); }
#line 2387 "chuck.tab.c"
    break;

  case 39: /* function_definition: function_decl static_decl type_decl2 AT_OP LPAREN overloadable_operator RPAREN LPAREN arg_list RPAREN code_segment  */
#line 306 "chuck.y"
            { (yyval.func_def) = new_op_overload( (yyvsp[-10].ival), (yyvsp[-9].ival), (yyvsp[-8].type_decl), (yyvsp[-5].ival), (yyvsp[-2].arg_list), (yyvsp[0].stmt), TRUE, FALSE, (yylsp[-10]).first_line, (yylsp[-10]).first_column, (yylsp[-6]).first_column ); }
#line 2393 "chuck.tab.c"
    break;

  case 40: /* function_definition: function_decl static_decl type_decl2 AT_OP LPAREN arg_list RPAREN LPAREN overloadable_operator RPAREN code_segment  */
#line 308 "chuck.y"
            { (yyval.func_def) = new_op_overload( (yyvsp[-10].ival), (yyvsp[-9].ival), (yyvsp[-8].type_decl), (yyvsp[-2].ival), (yyvsp[-5].arg_list), (yyvsp[0].stmt), TRUE, TRUE, (yylsp[-10]).first_line, (yylsp[-10]).first_column, (yylsp[-3]).first_column ); }
#line 2399 "chuck.tab.c"
    break;

  case 41: /* class_decl: PUBLIC  */
#line 312 "chuck.y"
                                            { (yyval.ival) = ae_key_public; }
#line 2405 "chuck.tab.c"
    break;

  case 42: /* class_decl: PRIVATE  */
#line 313 "chuck.y"
                                            { (yyval.ival) = ae_key_private; }
#line 2411 "chuck.tab.c"
    break;

  case 43: /* class_decl: %empty  */
#line 314 "chuck.y"
                                            { (yyval.ival) = ae_key_private; }
#line 2417 "chuck.tab.c"
    break;

  case 44: /* function_decl: FUNCTION  */
#line 318 "chuck.y"
                                            { (yyval.ival) = ae_key_func; }
#line 2423 "chuck.tab.c"
    break;

  case 45: /* function_decl: PUBLIC  */
#line 319 "chuck.y"
                                            { (yyval.ival) = ae_key_public; }
#line 2429 "chuck.tab.c"
    break;

  case 46: /* function_decl: PROTECTED  */
#line 320 "chuck.y"
                                            { (yyval.ival) = ae_key_protected; }
#line 2435 "chuck.tab.c"
    break;

  case 47: /* function_decl: PRIVATE  */
#line 321 "chuck.y"
                                            { (yyval.ival) = ae_key_private; }
#line 2441 "chuck.tab.c"
    break;

  case 48: /* static_decl: STATIC  */
#line 325 "chuck.y"
                                            { (yyval.ival) = ae_key_static; }
#line 2447 "chuck.tab.c"
    break;

  case 49: /* static_decl: ABSTRACT  */
#line 326 "chuck.y"
                                            { (yyval.ival) = ae_key_abstract; }
#line 2453 "chuck.tab.c"
    break;

  case 50: /* static_decl: %empty  */
#line 327 "chuck.y"
                                            { (yyval.ival) = ae_key_instance; }
#line 2459 "chuck.tab.c"
    break;

  case 51: /* type_decl_a: ID  */
#line 331 "chuck.y"
                                            { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column /*, &@1*/ ), 0, (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2465 "chuck.tab.c"
    break;

  case 52: /* type_decl_a: ID AT_SYM  */
#line 332 "chuck.y"
                                            { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[-1].sval), (yylsp[-1]).first_line, (yylsp[-1]).first_column /*, &@1*/ ), 1, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2471 "chuck.tab.c"
    break;

  case 53: /* type_decl_b: LT id_dot GT  */
#line 336 "chuck.y"
                                            { (yyval.type_decl) = new_type_decl( (yyvsp[-1].id_list), 0, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2477 "chuck.tab.c"
    break;

  case 54: /* type_decl_b: LT id_dot GT AT_SYM  */
#line 337 "chuck.y"
                                            { (yyval.type_decl) = new_type_decl( (yyvsp[-2].id_list), 1, (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2483 "chuck.tab.c"
    break;

  case 55: /* type_decl: type_decl_a  */
#line 346 "chuck.y"
                                            { (yyval.type_decl) = (yyvsp[0].type_decl); }
#line 2489 "chuck.tab.c"
    break;

  case 56: /* type_decl: type_decl_b  */
#line 347 "chuck.y"
                                            { (yyval.type_decl) = (yyvsp[0].type_decl); }
#line 2495 "chuck.tab.c"
    break;

  case 57: /* type_decl2: type_decl  */
#line 352 "chuck.y"
                                            { (yyval.type_decl) = (yyvsp[0].type_decl); }
#line 2501 "chuck.tab.c"
    break;

  case 58: /* type_decl2: type_decl array_empty  */
#line 353 "chuck.y"
                                            { (yyval.type_decl) = add_type_decl_array( (yyvsp[-1].type_decl), (yyvsp[0].array_sub), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2507 "chuck.tab.c"
    break;

  case 59: /* arg_list: type_decl var_decl  */
#line 357 "chuck.y"
                                            { (yyval.arg_list) = new_arg_list( (yyvsp[-1].type_decl), (yyvsp[0].var_decl), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2513 "chuck.tab.c"
    break;

  case 60: /* arg_list: type_decl var_decl COMMA arg_list  */
#line 358 "chuck.y"
                                            { (yyval.arg_list) = prepend_arg_list( (yyvsp[-3].type_decl), (yyvsp[-2].var_decl), (yyvsp[0].arg_list), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2519 "chuck.tab.c"
    break;

  case 61: /* statement_list: statement  */
#line 362 "chuck.y"
                                            { (yyval.stmt_list) = new_stmt_list( (yyvsp[0].stmt), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2525 "chuck.tab.c"
    break;

  case 62: /* statement_list: statement_list statement  */
#line 363 "chuck.y"
                                            { (yyval.stmt_list) = append_stmt_list( (yyvsp[-1].stmt_list), (yyvsp[0].stmt), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2531 "chuck.tab.c"
    break;

  case 63: /* statement: expression_statement  */
#line 367 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2537 "chuck.tab.c"
    break;

  case 64: /* statement: loop_statement  */
#line 368 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2543 "chuck.tab.c"
    break;

  case 65: /* statement: selection_statement  */
#line 369 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2549 "chuck.tab.c"
    break;

  case 66: /* statement: jump_statement  */
#line 370 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2555 "chuck.tab.c"
    break;

  case 67: /* statement: code_segment  */
#line 372 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2561 "chuck.tab.c"
    break;

  case 68: /* statement: import_statement  */
#line 373 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2567 "chuck.tab.c"
    break;

  case 69: /* statement: doc_statement  */
#line 374 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2573 "chuck.tab.c"
    break;

  case 70: /* statement: example_statement  */
#line 375 "chuck.y"
                                            { (yyval.stmt) = (yyvsp[0].stmt); }
#line 2579 "chuck.tab.c"
    break;

  case 71: /* jump_statement: RETURN SEMICOLON  */
#line 379 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_return( NULL, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2585 "chuck.tab.c"
    break;

  case 72: /* jump_statement: RETURN expression SEMICOLON  */
#line 380 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_return( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2591 "chuck.tab.c"
    break;

  case 73: /* jump_statement: BREAK SEMICOLON  */
#line 381 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_break( (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2597 "chuck.tab.c"
    break;

  case 74: /* jump_statement: CONTINUE SEMICOLON  */
#line 382 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_continue( (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2603 "chuck.tab.c"
    break;

  case 75: /* selection_statement: IF LPAREN expression RPAREN statement  */
#line 387 "chuck.y"
            { (yyval.stmt) = new_stmt_from_if( (yyvsp[-2].exp), (yyvsp[0].stmt), NULL, (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2609 "chuck.tab.c"
    break;

  case 76: /* selection_statement: IF LPAREN expression RPAREN statement ELSE statement  */
#line 389 "chuck.y"
            { (yyval.stmt) = new_stmt_from_if( (yyvsp[-4].exp), (yyvsp[-2].stmt), (yyvsp[0].stmt), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2615 "chuck.tab.c"
    break;

  case 77: /* loop_statement: WHILE LPAREN expression RPAREN statement  */
#line 394 "chuck.y"
            { (yyval.stmt) = new_stmt_from_while( (yyvsp[-2].exp), (yyvsp[0].stmt), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2621 "chuck.tab.c"
    break;

  case 78: /* loop_statement: DO statement WHILE LPAREN expression RPAREN SEMICOLON  */
#line 396 "chuck.y"
            { (yyval.stmt) = new_stmt_from_do_while( (yyvsp[-2].exp), (yyvsp[-5].stmt), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2627 "chuck.tab.c"
    break;

  case 79: /* loop_statement: FOR LPAREN expression_statement expression_statement RPAREN statement  */
#line 398 "chuck.y"
            { (yyval.stmt) = new_stmt_from_for( (yyvsp[-3].stmt), (yyvsp[-2].stmt), NULL, (yyvsp[0].stmt), (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 2633 "chuck.tab.c"
    break;

  case 80: /* loop_statement: FOR LPAREN expression_statement expression_statement expression RPAREN statement  */
#line 400 "chuck.y"
            { (yyval.stmt) = new_stmt_from_for( (yyvsp[-4].stmt), (yyvsp[-3].stmt), (yyvsp[-2].exp), (yyvsp[0].stmt), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2639 "chuck.tab.c"
    break;

  case 81: /* loop_statement: FOR LPAREN expression COLON expression RPAREN statement  */
#line 402 "chuck.y"
            { (yyval.stmt) = new_stmt_from_foreach( (yyvsp[-4].exp), (yyvsp[-2].exp), (yyvsp[0].stmt), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2645 "chuck.tab.c"
    break;

  case 82: /* loop_statement: UNTIL LPAREN expression RPAREN statement  */
#line 404 "chuck.y"
            { (yyval.stmt) = new_stmt_from_until( (yyvsp[-2].exp), (yyvsp[0].stmt), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2651 "chuck.tab.c"
    break;

  case 83: /* loop_statement: DO statement UNTIL LPAREN expression RPAREN SEMICOLON  */
#line 406 "chuck.y"
            { (yyval.stmt) = new_stmt_from_do_until( (yyvsp[-2].exp), (yyvsp[-5].stmt), (yylsp[-6]).first_line, (yylsp[-6]).first_column ); }
#line 2657 "chuck.tab.c"
    break;

  case 84: /* loop_statement: LOOP LPAREN expression RPAREN statement  */
#line 408 "chuck.y"
            { (yyval.stmt) = new_stmt_from_loop( (yyvsp[-2].exp), (yyvsp[0].stmt), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2663 "chuck.tab.c"
    break;

  case 85: /* code_segment: LBRACE RBRACE  */
#line 412 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_code( NULL, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2669 "chuck.tab.c"
    break;

  case 86: /* code_segment: LBRACE statement_list RBRACE  */
#line 413 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_code( (yyvsp[-1].stmt_list), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2675 "chuck.tab.c"
    break;

  case 87: /* import_statement: AT_IMPORT import_target  */
#line 417 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_import( (yyvsp[0].import), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2681 "chuck.tab.c"
    break;

  case 88: /* import_statement: AT_IMPORT LBRACK RBRACK  */
#line 418 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_import( NULL, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2687 "chuck.tab.c"
    break;

  case 89: /* import_statement: AT_IMPORT LBRACE RBRACE  */
#line 419 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_import( NULL, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2693 "chuck.tab.c"
    break;

  case 90: /* import_statement: AT_IMPORT LBRACK import_list LBRACK  */
#line 420 "chuck.y"
                                              { (yyval.stmt) = new_stmt_from_import( (yyvsp[-1].import), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2699 "chuck.tab.c"
    break;

  case 91: /* import_statement: AT_IMPORT LBRACE import_list RBRACE  */
#line 421 "chuck.y"
                                              { (yyval.stmt) = new_stmt_from_import( (yyvsp[-1].import), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2705 "chuck.tab.c"
    break;

  case 92: /* import_list: import_target  */
#line 425 "chuck.y"
                                            { (yyval.import) = (yyvsp[0].import); }
#line 2711 "chuck.tab.c"
    break;

  case 93: /* import_list: import_target COMMA import_list  */
#line 426 "chuck.y"
                                            { (yyval.import) = prepend_import( (yyvsp[-2].import), (yyvsp[0].import), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2717 "chuck.tab.c"
    break;

  case 94: /* import_target: STRING_LIT  */
#line 430 "chuck.y"
                                            { (yyval.import) = new_import( (yyvsp[0].sval), NULL, (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2723 "chuck.tab.c"
    break;

  case 95: /* doc_statement: AT_DOC doc_target  */
#line 435 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_doc( (yyvsp[0].doc), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2729 "chuck.tab.c"
    break;

  case 96: /* doc_statement: AT_DOC LBRACK doc_list RBRACK  */
#line 436 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_doc( (yyvsp[-1].doc), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2735 "chuck.tab.c"
    break;

  case 97: /* doc_statement: AT_DOC LBRACE doc_list RBRACE  */
#line 437 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_doc( (yyvsp[-1].doc), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2741 "chuck.tab.c"
    break;

  case 98: /* doc_list: doc_target  */
#line 441 "chuck.y"
                                            { (yyval.doc) = (yyvsp[0].doc); }
#line 2747 "chuck.tab.c"
    break;

  case 99: /* doc_list: doc_target COMMA doc_list  */
#line 442 "chuck.y"
                                            { (yyval.doc) = prepend_doc( (yyvsp[-2].doc), (yyvsp[0].doc), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2753 "chuck.tab.c"
    break;

  case 100: /* doc_target: STRING_LIT  */
#line 446 "chuck.y"
                                            { (yyval.doc) = new_doc( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2759 "chuck.tab.c"
    break;

  case 101: /* example_statement: AT_EXAMPLE example_target  */
#line 450 "chuck.y"
                                                { (yyval.stmt) = new_stmt_from_example( (yyvsp[0].example), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2765 "chuck.tab.c"
    break;

  case 102: /* example_statement: AT_EXAMPLE LBRACK example_list RBRACK  */
#line 451 "chuck.y"
                                                { (yyval.stmt) = new_stmt_from_example( (yyvsp[-1].example), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2771 "chuck.tab.c"
    break;

  case 103: /* example_statement: AT_EXAMPLE LBRACE example_list RBRACE  */
#line 452 "chuck.y"
                                                { (yyval.stmt) = new_stmt_from_example( (yyvsp[-1].example), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2777 "chuck.tab.c"
    break;

  case 104: /* example_list: example_target  */
#line 456 "chuck.y"
                                                { (yyval.example) = (yyvsp[0].example); }
#line 2783 "chuck.tab.c"
    break;

  case 105: /* example_list: example_target COMMA example_list  */
#line 457 "chuck.y"
                                                { (yyval.example) = prepend_example( (yyvsp[-2].example), (yyvsp[0].example), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2789 "chuck.tab.c"
    break;

  case 106: /* example_target: STRING_LIT  */
#line 461 "chuck.y"
                                            { (yyval.example) = new_example( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2795 "chuck.tab.c"
    break;

  case 107: /* expression_statement: SEMICOLON  */
#line 465 "chuck.y"
                                            { (yyval.stmt) = NULL; }
#line 2801 "chuck.tab.c"
    break;

  case 108: /* expression_statement: expression SEMICOLON  */
#line 466 "chuck.y"
                                            { (yyval.stmt) = new_stmt_from_expression( (yyvsp[-1].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2807 "chuck.tab.c"
    break;

  case 109: /* expression: chuck_expression  */
#line 470 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 2813 "chuck.tab.c"
    break;

  case 110: /* expression: expression COMMA chuck_expression  */
#line 471 "chuck.y"
                                            { (yyval.exp) = append_expression( (yyvsp[-2].exp), (yyvsp[0].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2819 "chuck.tab.c"
    break;

  case 111: /* chuck_expression: arrow_expression  */
#line 475 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 2825 "chuck.tab.c"
    break;

  case 112: /* chuck_expression: chuck_expression chuck_operator arrow_expression  */
#line 477 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2831 "chuck.tab.c"
    break;

  case 113: /* arrow_expression: decl_expression  */
#line 481 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 2837 "chuck.tab.c"
    break;

  case 114: /* arrow_expression: arrow_expression arrow_operator decl_expression  */
#line 483 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2843 "chuck.tab.c"
    break;

  case 115: /* array_exp: LBRACK expression RBRACK  */
#line 487 "chuck.y"
                                            { (yyval.array_sub) = new_array_sub( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2849 "chuck.tab.c"
    break;

  case 116: /* array_exp: LBRACK expression COMMA RBRACK  */
#line 488 "chuck.y"
                                            { (yyval.array_sub) = new_array_sub( (yyvsp[-2].exp), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2855 "chuck.tab.c"
    break;

  case 117: /* array_exp: LBRACK expression RBRACK array_exp  */
#line 490 "chuck.y"
            { (yyval.array_sub) = prepend_array_sub( (yyvsp[0].array_sub), (yyvsp[-2].exp), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2861 "chuck.tab.c"
    break;

  case 118: /* array_exp: LBRACK expression COMMA RBRACK array_exp  */
#line 492 "chuck.y"
            { (yyval.array_sub) = prepend_array_sub( (yyvsp[0].array_sub), (yyvsp[-3].exp), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2867 "chuck.tab.c"
    break;

  case 119: /* array_empty: LBRACK RBRACK  */
#line 496 "chuck.y"
                                            { (yyval.array_sub) = new_array_sub( NULL, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2873 "chuck.tab.c"
    break;

  case 120: /* array_empty: array_empty LBRACK RBRACK  */
#line 497 "chuck.y"
                                            { (yyval.array_sub) = prepend_array_sub( (yyvsp[-2].array_sub), NULL, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2879 "chuck.tab.c"
    break;

  case 121: /* decl_expression: conditional_expression  */
#line 501 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 2885 "chuck.tab.c"
    break;

  case 122: /* decl_expression: type_decl var_decl_list  */
#line 502 "chuck.y"
                                            { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, 0, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2891 "chuck.tab.c"
    break;

  case 123: /* decl_expression: EXTERNAL type_decl var_decl_list  */
#line 503 "chuck.y"
                                            { (yyval.exp) = new_exp_decl_external( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, 0, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2897 "chuck.tab.c"
    break;

  case 124: /* decl_expression: GLOBAL type_decl var_decl_list  */
#line 504 "chuck.y"
                                            { (yyval.exp) = new_exp_decl_global( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, 0, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2903 "chuck.tab.c"
    break;

  case 125: /* decl_expression: STATIC type_decl var_decl_list  */
#line 505 "chuck.y"
                                            { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 1, 0, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2909 "chuck.tab.c"
    break;

  case 126: /* decl_expression: SAME var_decl_list  */
#line 506 "chuck.y"
                                            { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 0, 0, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2915 "chuck.tab.c"
    break;

  case 127: /* decl_expression: STATIC SAME var_decl_list  */
#line 507 "chuck.y"
                                            { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 1, 0, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2921 "chuck.tab.c"
    break;

  case 128: /* var_decl_list: var_decl  */
#line 511 "chuck.y"
                                            { (yyval.var_decl_list) = new_var_decl_list( (yyvsp[0].var_decl), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2927 "chuck.tab.c"
    break;

  case 129: /* var_decl_list: var_decl COMMA var_decl_list  */
#line 512 "chuck.y"
                                            { (yyval.var_decl_list) = prepend_var_decl_list( (yyvsp[-2].var_decl), (yyvsp[0].var_decl_list), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2933 "chuck.tab.c"
    break;

  case 130: /* var_decl: ID  */
#line 516 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[0].sval), FALSE, NULL, NULL, (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 2939 "chuck.tab.c"
    break;

  case 131: /* var_decl: ID array_exp  */
#line 517 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), FALSE, NULL, (yyvsp[0].array_sub), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2945 "chuck.tab.c"
    break;

  case 132: /* var_decl: ID array_empty  */
#line 518 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), FALSE, NULL, (yyvsp[0].array_sub), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 2951 "chuck.tab.c"
    break;

  case 133: /* var_decl: ID LPAREN RPAREN  */
#line 519 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[-2].sval), TRUE, NULL, NULL, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2957 "chuck.tab.c"
    break;

  case 134: /* var_decl: ID LPAREN expression RPAREN  */
#line 520 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[-3].sval), TRUE, (yyvsp[-1].exp), NULL, (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2963 "chuck.tab.c"
    break;

  case 135: /* var_decl: ID LPAREN RPAREN array_exp  */
#line 521 "chuck.y"
                                            { (yyval.var_decl) = new_var_decl( (yyvsp[-3].sval), TRUE, NULL, (yyvsp[0].array_sub), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 2969 "chuck.tab.c"
    break;

  case 136: /* var_decl: ID LPAREN expression RPAREN array_exp  */
#line 522 "chuck.y"
                                                 { (yyval.var_decl) = new_var_decl( (yyvsp[-4].sval), TRUE, (yyvsp[-2].exp), (yyvsp[0].array_sub), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 2975 "chuck.tab.c"
    break;

  case 137: /* complex_exp: POUNDPAREN expression RPAREN  */
#line 527 "chuck.y"
            { (yyval.complex_exp) = new_complex( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2981 "chuck.tab.c"
    break;

  case 138: /* polar_exp: PERCENTPAREN expression RPAREN  */
#line 532 "chuck.y"
            { (yyval.polar_exp) = new_polar( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2987 "chuck.tab.c"
    break;

  case 139: /* vec_exp: ATPAREN expression RPAREN  */
#line 537 "chuck.y"
            { (yyval.vec_exp) = new_vec( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 2993 "chuck.tab.c"
    break;

  case 140: /* chuck_operator: CHUCK  */
#line 541 "chuck.y"
                                            { (yyval.ival) = ae_op_chuck; }
#line 2999 "chuck.tab.c"
    break;

  case 141: /* chuck_operator: AT_CHUCK  */
#line 542 "chuck.y"
                                            { (yyval.ival) = ae_op_at_chuck; }
#line 3005 "chuck.tab.c"
    break;

  case 142: /* chuck_operator: PLUS_CHUCK  */
#line 543 "chuck.y"
                                            { (yyval.ival) = ae_op_plus_chuck; }
#line 3011 "chuck.tab.c"
    break;

  case 143: /* chuck_operator: MINUS_CHUCK  */
#line 544 "chuck.y"
                                            { (yyval.ival) = ae_op_minus_chuck; }
#line 3017 "chuck.tab.c"
    break;

  case 144: /* chuck_operator: TIMES_CHUCK  */
#line 545 "chuck.y"
                                            { (yyval.ival) = ae_op_times_chuck; }
#line 3023 "chuck.tab.c"
    break;

  case 145: /* chuck_operator: DIVIDE_CHUCK  */
#line 546 "chuck.y"
                                            { (yyval.ival) = ae_op_divide_chuck; }
#line 3029 "chuck.tab.c"
    break;

  case 146: /* chuck_operator: SHIFT_RIGHT_CHUCK  */
#line 547 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_right_chuck; }
#line 3035 "chuck.tab.c"
    break;

  case 147: /* chuck_operator: SHIFT_LEFT_CHUCK  */
#line 548 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_left_chuck; }
#line 3041 "chuck.tab.c"
    break;

  case 148: /* chuck_operator: PERCENT_CHUCK  */
#line 549 "chuck.y"
                                            { (yyval.ival) = ae_op_percent_chuck; }
#line 3047 "chuck.tab.c"
    break;

  case 149: /* chuck_operator: UNCHUCK  */
#line 550 "chuck.y"
                                            { (yyval.ival) = ae_op_unchuck; }
#line 3053 "chuck.tab.c"
    break;

  case 150: /* chuck_operator: UPCHUCK  */
#line 551 "chuck.y"
                                            { (yyval.ival) = ae_op_upchuck; }
#line 3059 "chuck.tab.c"
    break;

  case 151: /* chuck_operator: DOWNCHUCK  */
#line 552 "chuck.y"
                                            { (yyval.ival) = ae_op_downchuck; }
#line 3065 "chuck.tab.c"
    break;

  case 152: /* chuck_operator: S_AND_CHUCK  */
#line 553 "chuck.y"
                                            { (yyval.ival) = ae_op_s_and_chuck; }
#line 3071 "chuck.tab.c"
    break;

  case 153: /* chuck_operator: S_OR_CHUCK  */
#line 554 "chuck.y"
                                            { (yyval.ival) = ae_op_s_or_chuck; }
#line 3077 "chuck.tab.c"
    break;

  case 154: /* chuck_operator: S_XOR_CHUCK  */
#line 555 "chuck.y"
                                            { (yyval.ival) = ae_op_s_xor_chuck; }
#line 3083 "chuck.tab.c"
    break;

  case 155: /* arrow_operator: ARROW_LEFT  */
#line 559 "chuck.y"
                                            { (yyval.ival) = ae_op_arrow_left; }
#line 3089 "chuck.tab.c"
    break;

  case 156: /* arrow_operator: ARROW_RIGHT  */
#line 560 "chuck.y"
                                            { (yyval.ival) = ae_op_arrow_right; }
#line 3095 "chuck.tab.c"
    break;

  case 157: /* arrow_operator: GRUCK_LEFT  */
#line 561 "chuck.y"
                                            { (yyval.ival) = ae_op_gruck_left; }
#line 3101 "chuck.tab.c"
    break;

  case 158: /* arrow_operator: GRUCK_RIGHT  */
#line 562 "chuck.y"
                                            { (yyval.ival) = ae_op_gruck_right; }
#line 3107 "chuck.tab.c"
    break;

  case 159: /* arrow_operator: UNGRUCK_LEFT  */
#line 563 "chuck.y"
                                            { (yyval.ival) = ae_op_ungruck_left; }
#line 3113 "chuck.tab.c"
    break;

  case 160: /* arrow_operator: UNGRUCK_RIGHT  */
#line 564 "chuck.y"
                                            { (yyval.ival) = ae_op_ungruck_right; }
#line 3119 "chuck.tab.c"
    break;

  case 161: /* conditional_expression: logical_or_expression  */
#line 568 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3125 "chuck.tab.c"
    break;

  case 162: /* conditional_expression: logical_or_expression QUESTION expression COLON conditional_expression  */
#line 570 "chuck.y"
            { (yyval.exp) = new_exp_from_if( (yyvsp[-4].exp), (yyvsp[-2].exp), (yyvsp[0].exp), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 3131 "chuck.tab.c"
    break;

  case 163: /* logical_or_expression: logical_and_expression  */
#line 574 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3137 "chuck.tab.c"
    break;

  case 164: /* logical_or_expression: logical_or_expression OR logical_and_expression  */
#line 576 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_or, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3143 "chuck.tab.c"
    break;

  case 165: /* logical_and_expression: inclusive_or_expression  */
#line 580 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3149 "chuck.tab.c"
    break;

  case 166: /* logical_and_expression: logical_and_expression AND inclusive_or_expression  */
#line 582 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_and, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3155 "chuck.tab.c"
    break;

  case 167: /* inclusive_or_expression: exclusive_or_expression  */
#line 586 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3161 "chuck.tab.c"
    break;

  case 168: /* inclusive_or_expression: inclusive_or_expression S_OR exclusive_or_expression  */
#line 588 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_or, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3167 "chuck.tab.c"
    break;

  case 169: /* exclusive_or_expression: and_expression  */
#line 592 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3173 "chuck.tab.c"
    break;

  case 170: /* exclusive_or_expression: exclusive_or_expression S_XOR and_expression  */
#line 594 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_xor, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3179 "chuck.tab.c"
    break;

  case 171: /* and_expression: equality_expression  */
#line 598 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3185 "chuck.tab.c"
    break;

  case 172: /* and_expression: and_expression S_AND equality_expression  */
#line 600 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_and, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3191 "chuck.tab.c"
    break;

  case 173: /* equality_expression: relational_expression  */
#line 604 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3197 "chuck.tab.c"
    break;

  case 174: /* equality_expression: equality_expression EQ relational_expression  */
#line 606 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_eq, (yyvsp[0].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 3203 "chuck.tab.c"
    break;

  case 175: /* equality_expression: equality_expression NEQ relational_expression  */
#line 608 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_neq, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3209 "chuck.tab.c"
    break;

  case 176: /* relational_expression: shift_expression  */
#line 612 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3215 "chuck.tab.c"
    break;

  case 177: /* relational_expression: relational_expression LT shift_expression  */
#line 614 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_lt, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3221 "chuck.tab.c"
    break;

  case 178: /* relational_expression: relational_expression GT shift_expression  */
#line 616 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_gt, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3227 "chuck.tab.c"
    break;

  case 179: /* relational_expression: relational_expression LE shift_expression  */
#line 618 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_le, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3233 "chuck.tab.c"
    break;

  case 180: /* relational_expression: relational_expression GE shift_expression  */
#line 620 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_ge, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3239 "chuck.tab.c"
    break;

  case 181: /* shift_expression: additive_expression  */
#line 624 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3245 "chuck.tab.c"
    break;

  case 182: /* shift_expression: shift_expression SHIFT_LEFT additive_expression  */
#line 626 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_left, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3251 "chuck.tab.c"
    break;

  case 183: /* shift_expression: shift_expression SHIFT_RIGHT additive_expression  */
#line 628 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_right, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3257 "chuck.tab.c"
    break;

  case 184: /* additive_expression: multiplicative_expression  */
#line 632 "chuck.y"
                                             { (yyval.exp) = (yyvsp[0].exp); }
#line 3263 "chuck.tab.c"
    break;

  case 185: /* additive_expression: additive_expression PLUS multiplicative_expression  */
#line 634 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_plus, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3269 "chuck.tab.c"
    break;

  case 186: /* additive_expression: additive_expression MINUS multiplicative_expression  */
#line 636 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_minus, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3275 "chuck.tab.c"
    break;

  case 187: /* multiplicative_expression: tilda_expression  */
#line 640 "chuck.y"
                                             { (yyval.exp) = (yyvsp[0].exp); }
#line 3281 "chuck.tab.c"
    break;

  case 188: /* multiplicative_expression: multiplicative_expression TIMES tilda_expression  */
#line 642 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_times, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3287 "chuck.tab.c"
    break;

  case 189: /* multiplicative_expression: multiplicative_expression DIVIDE tilda_expression  */
#line 644 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_divide, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3293 "chuck.tab.c"
    break;

  case 190: /* multiplicative_expression: multiplicative_expression PERCENT tilda_expression  */
#line 646 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_percent, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3299 "chuck.tab.c"
    break;

  case 191: /* tilda_expression: cast_expression  */
#line 650 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3305 "chuck.tab.c"
    break;

  case 192: /* tilda_expression: tilda_expression TILDA cast_expression  */
#line 652 "chuck.y"
            { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_tilda, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3311 "chuck.tab.c"
    break;

  case 193: /* cast_expression: unary_expression  */
#line 656 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3317 "chuck.tab.c"
    break;

  case 194: /* cast_expression: cast_expression DOLLAR type_decl  */
#line 658 "chuck.y"
            { (yyval.exp) = new_exp_from_cast( (yyvsp[0].type_decl), (yyvsp[-2].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column, (yylsp[-1]).first_column ); }
#line 3323 "chuck.tab.c"
    break;

  case 195: /* unary_expression: dur_expression  */
#line 662 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3329 "chuck.tab.c"
    break;

  case 196: /* unary_expression: PLUSPLUS unary_expression  */
#line 664 "chuck.y"
            { (yyval.exp) = new_exp_from_unary( ae_op_plusplus, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3335 "chuck.tab.c"
    break;

  case 197: /* unary_expression: MINUSMINUS unary_expression  */
#line 666 "chuck.y"
            { (yyval.exp) = new_exp_from_unary( ae_op_minusminus, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3341 "chuck.tab.c"
    break;

  case 198: /* unary_expression: unary_operator unary_expression  */
#line 668 "chuck.y"
            { (yyval.exp) = new_exp_from_unary( (yyvsp[-1].ival), (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3347 "chuck.tab.c"
    break;

  case 199: /* unary_expression: TYPEOF unary_expression  */
#line 670 "chuck.y"
            { (yyval.exp) = new_exp_from_unary( ae_op_typeof, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3353 "chuck.tab.c"
    break;

  case 200: /* unary_expression: SIZEOF unary_expression  */
#line 672 "chuck.y"
            { (yyval.exp) = new_exp_from_unary( ae_op_sizeof, (yyvsp[0].exp), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3359 "chuck.tab.c"
    break;

  case 201: /* unary_expression: NEW type_decl  */
#line 674 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[0].type_decl), FALSE, NULL, NULL, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3365 "chuck.tab.c"
    break;

  case 202: /* unary_expression: NEW type_decl array_exp  */
#line 676 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-1].type_decl), FALSE, NULL, (yyvsp[0].array_sub), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 3371 "chuck.tab.c"
    break;

  case 203: /* unary_expression: NEW type_decl LPAREN RPAREN  */
#line 678 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-2].type_decl), TRUE, NULL, NULL, (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 3377 "chuck.tab.c"
    break;

  case 204: /* unary_expression: NEW type_decl LPAREN expression RPAREN  */
#line 680 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-3].type_decl), TRUE, (yyvsp[-1].exp), NULL, (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 3383 "chuck.tab.c"
    break;

  case 205: /* unary_expression: NEW type_decl LPAREN RPAREN array_exp  */
#line 682 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-3].type_decl), TRUE, NULL, (yyvsp[0].array_sub), (yylsp[-4]).first_line, (yylsp[-4]).first_column ); }
#line 3389 "chuck.tab.c"
    break;

  case 206: /* unary_expression: NEW type_decl LPAREN expression RPAREN array_exp  */
#line 684 "chuck.y"
            { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-4].type_decl), TRUE, (yyvsp[-2].exp), (yyvsp[0].array_sub), (yylsp[-5]).first_line, (yylsp[-5]).first_column ); }
#line 3395 "chuck.tab.c"
    break;

  case 207: /* unary_operator: PLUS  */
#line 690 "chuck.y"
                                            { (yyval.ival) = ae_op_plus; }
#line 3401 "chuck.tab.c"
    break;

  case 208: /* unary_operator: MINUS  */
#line 691 "chuck.y"
                                            { (yyval.ival) = ae_op_minus; }
#line 3407 "chuck.tab.c"
    break;

  case 209: /* unary_operator: TILDA  */
#line 692 "chuck.y"
                                            { (yyval.ival) = ae_op_tilda; }
#line 3413 "chuck.tab.c"
    break;

  case 210: /* unary_operator: EXCLAMATION  */
#line 693 "chuck.y"
                                            { (yyval.ival) = ae_op_exclamation; }
#line 3419 "chuck.tab.c"
    break;

  case 211: /* unary_operator: TIMES  */
#line 694 "chuck.y"
                                            { (yyval.ival) = ae_op_times; }
#line 3425 "chuck.tab.c"
    break;

  case 212: /* unary_operator: SPORK TILDA  */
#line 695 "chuck.y"
                                            { (yyval.ival) = ae_op_spork; }
#line 3431 "chuck.tab.c"
    break;

  case 213: /* unary_operator: DOWNCHUCK  */
#line 696 "chuck.y"
                                            { (yyval.ival) = ae_op_downchuck; }
#line 3437 "chuck.tab.c"
    break;

  case 214: /* overloadable_operator: CHUCK  */
#line 702 "chuck.y"
                                            { (yyval.ival) = ae_op_chuck; }
#line 3443 "chuck.tab.c"
    break;

  case 215: /* overloadable_operator: PLUS  */
#line 703 "chuck.y"
                                            { (yyval.ival) = ae_op_plus; }
#line 3449 "chuck.tab.c"
    break;

  case 216: /* overloadable_operator: MINUS  */
#line 704 "chuck.y"
                                            { (yyval.ival) = ae_op_minus; }
#line 3455 "chuck.tab.c"
    break;

  case 217: /* overloadable_operator: TIMES  */
#line 705 "chuck.y"
                                            { (yyval.ival) = ae_op_times; }
#line 3461 "chuck.tab.c"
    break;

  case 218: /* overloadable_operator: DIVIDE  */
#line 706 "chuck.y"
                                            { (yyval.ival) = ae_op_divide; }
#line 3467 "chuck.tab.c"
    break;

  case 219: /* overloadable_operator: PERCENT  */
#line 707 "chuck.y"
                                            { (yyval.ival) = ae_op_percent; }
#line 3473 "chuck.tab.c"
    break;

  case 220: /* overloadable_operator: EQ  */
#line 708 "chuck.y"
                                            { (yyval.ival) = ae_op_eq; }
#line 3479 "chuck.tab.c"
    break;

  case 221: /* overloadable_operator: NEQ  */
#line 709 "chuck.y"
                                            { (yyval.ival) = ae_op_neq; }
#line 3485 "chuck.tab.c"
    break;

  case 222: /* overloadable_operator: LT  */
#line 710 "chuck.y"
                                            { (yyval.ival) = ae_op_lt; }
#line 3491 "chuck.tab.c"
    break;

  case 223: /* overloadable_operator: LE  */
#line 711 "chuck.y"
                                            { (yyval.ival) = ae_op_le; }
#line 3497 "chuck.tab.c"
    break;

  case 224: /* overloadable_operator: GT  */
#line 712 "chuck.y"
                                            { (yyval.ival) = ae_op_gt; }
#line 3503 "chuck.tab.c"
    break;

  case 225: /* overloadable_operator: GE  */
#line 713 "chuck.y"
                                            { (yyval.ival) = ae_op_ge; }
#line 3509 "chuck.tab.c"
    break;

  case 226: /* overloadable_operator: AND  */
#line 714 "chuck.y"
                                            { (yyval.ival) = ae_op_and; }
#line 3515 "chuck.tab.c"
    break;

  case 227: /* overloadable_operator: OR  */
#line 715 "chuck.y"
                                            { (yyval.ival) = ae_op_or; }
#line 3521 "chuck.tab.c"
    break;

  case 228: /* overloadable_operator: ASSIGN  */
#line 716 "chuck.y"
                                            { (yyval.ival) = ae_op_assign; }
#line 3527 "chuck.tab.c"
    break;

  case 229: /* overloadable_operator: EXCLAMATION  */
#line 717 "chuck.y"
                                            { (yyval.ival) = ae_op_exclamation; }
#line 3533 "chuck.tab.c"
    break;

  case 230: /* overloadable_operator: S_OR  */
#line 718 "chuck.y"
                                            { (yyval.ival) = ae_op_s_or; }
#line 3539 "chuck.tab.c"
    break;

  case 231: /* overloadable_operator: S_AND  */
#line 719 "chuck.y"
                                            { (yyval.ival) = ae_op_s_and; }
#line 3545 "chuck.tab.c"
    break;

  case 232: /* overloadable_operator: S_XOR  */
#line 720 "chuck.y"
                                            { (yyval.ival) = ae_op_s_xor; }
#line 3551 "chuck.tab.c"
    break;

  case 233: /* overloadable_operator: PLUSPLUS  */
#line 721 "chuck.y"
                                            { (yyval.ival) = ae_op_plusplus; }
#line 3557 "chuck.tab.c"
    break;

  case 234: /* overloadable_operator: MINUSMINUS  */
#line 722 "chuck.y"
                                            { (yyval.ival) = ae_op_minusminus; }
#line 3563 "chuck.tab.c"
    break;

  case 235: /* overloadable_operator: DOLLAR  */
#line 723 "chuck.y"
                                            { (yyval.ival) = ae_op_dollar; }
#line 3569 "chuck.tab.c"
    break;

  case 236: /* overloadable_operator: ATAT_SYM  */
#line 724 "chuck.y"
                                            { (yyval.ival) = ae_op_at_at; }
#line 3575 "chuck.tab.c"
    break;

  case 237: /* overloadable_operator: PLUS_CHUCK  */
#line 725 "chuck.y"
                                            { (yyval.ival) = ae_op_plus_chuck; }
#line 3581 "chuck.tab.c"
    break;

  case 238: /* overloadable_operator: MINUS_CHUCK  */
#line 726 "chuck.y"
                                            { (yyval.ival) = ae_op_minus_chuck; }
#line 3587 "chuck.tab.c"
    break;

  case 239: /* overloadable_operator: TIMES_CHUCK  */
#line 727 "chuck.y"
                                            { (yyval.ival) = ae_op_times_chuck; }
#line 3593 "chuck.tab.c"
    break;

  case 240: /* overloadable_operator: DIVIDE_CHUCK  */
#line 728 "chuck.y"
                                            { (yyval.ival) = ae_op_divide_chuck; }
#line 3599 "chuck.tab.c"
    break;

  case 241: /* overloadable_operator: S_AND_CHUCK  */
#line 729 "chuck.y"
                                            { (yyval.ival) = ae_op_s_and_chuck; }
#line 3605 "chuck.tab.c"
    break;

  case 242: /* overloadable_operator: S_OR_CHUCK  */
#line 730 "chuck.y"
                                            { (yyval.ival) = ae_op_s_or_chuck; }
#line 3611 "chuck.tab.c"
    break;

  case 243: /* overloadable_operator: S_XOR_CHUCK  */
#line 731 "chuck.y"
                                            { (yyval.ival) = ae_op_s_xor_chuck; }
#line 3617 "chuck.tab.c"
    break;

  case 244: /* overloadable_operator: SHIFT_RIGHT_CHUCK  */
#line 732 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_right_chuck; }
#line 3623 "chuck.tab.c"
    break;

  case 245: /* overloadable_operator: SHIFT_LEFT_CHUCK  */
#line 733 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_left_chuck; }
#line 3629 "chuck.tab.c"
    break;

  case 246: /* overloadable_operator: PERCENT_CHUCK  */
#line 734 "chuck.y"
                                            { (yyval.ival) = ae_op_percent_chuck; }
#line 3635 "chuck.tab.c"
    break;

  case 247: /* overloadable_operator: SHIFT_RIGHT  */
#line 735 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_right; }
#line 3641 "chuck.tab.c"
    break;

  case 248: /* overloadable_operator: SHIFT_LEFT  */
#line 736 "chuck.y"
                                            { (yyval.ival) = ae_op_shift_left; }
#line 3647 "chuck.tab.c"
    break;

  case 249: /* overloadable_operator: TILDA  */
#line 737 "chuck.y"
                                            { (yyval.ival) = ae_op_tilda; }
#line 3653 "chuck.tab.c"
    break;

  case 250: /* overloadable_operator: COLONCOLON  */
#line 738 "chuck.y"
                                            { (yyval.ival) = ae_op_coloncolon; }
#line 3659 "chuck.tab.c"
    break;

  case 251: /* overloadable_operator: AT_CHUCK  */
#line 739 "chuck.y"
                                            { (yyval.ival) = ae_op_at_chuck; }
#line 3665 "chuck.tab.c"
    break;

  case 252: /* overloadable_operator: UNCHUCK  */
#line 740 "chuck.y"
                                            { (yyval.ival) = ae_op_unchuck; }
#line 3671 "chuck.tab.c"
    break;

  case 253: /* overloadable_operator: UPCHUCK  */
#line 741 "chuck.y"
                                            { (yyval.ival) = ae_op_upchuck; }
#line 3677 "chuck.tab.c"
    break;

  case 254: /* overloadable_operator: DOWNCHUCK  */
#line 742 "chuck.y"
                                            { (yyval.ival) = ae_op_downchuck; }
#line 3683 "chuck.tab.c"
    break;

  case 255: /* overloadable_operator: ARROW_RIGHT  */
#line 743 "chuck.y"
                                            { (yyval.ival) = ae_op_arrow_right; }
#line 3689 "chuck.tab.c"
    break;

  case 256: /* overloadable_operator: ARROW_LEFT  */
#line 744 "chuck.y"
                                            { (yyval.ival) = ae_op_arrow_left; }
#line 3695 "chuck.tab.c"
    break;

  case 257: /* overloadable_operator: GRUCK_RIGHT  */
#line 745 "chuck.y"
                                            { (yyval.ival) = ae_op_gruck_right; }
#line 3701 "chuck.tab.c"
    break;

  case 258: /* overloadable_operator: GRUCK_LEFT  */
#line 746 "chuck.y"
                                            { (yyval.ival) = ae_op_gruck_left; }
#line 3707 "chuck.tab.c"
    break;

  case 259: /* overloadable_operator: UNGRUCK_RIGHT  */
#line 747 "chuck.y"
                                            { (yyval.ival) = ae_op_ungruck_right; }
#line 3713 "chuck.tab.c"
    break;

  case 260: /* overloadable_operator: UNGRUCK_LEFT  */
#line 748 "chuck.y"
                                            { (yyval.ival) = ae_op_ungruck_left; }
#line 3719 "chuck.tab.c"
    break;

  case 262: /* dur_expression: dur_expression COLONCOLON postfix_expression  */
#line 754 "chuck.y"
            { (yyval.exp) = new_exp_from_dur( (yyvsp[-2].exp), (yyvsp[0].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 3725 "chuck.tab.c"
    break;

  case 263: /* postfix_expression: primary_expression  */
#line 758 "chuck.y"
                                            { (yyval.exp) = (yyvsp[0].exp); }
#line 3731 "chuck.tab.c"
    break;

  case 264: /* postfix_expression: postfix_expression array_exp  */
#line 760 "chuck.y"
            { (yyval.exp) = new_exp_from_array( (yyvsp[-1].exp), (yyvsp[0].array_sub), (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3737 "chuck.tab.c"
    break;

  case 265: /* postfix_expression: postfix_expression LPAREN RPAREN  */
#line 762 "chuck.y"
            { (yyval.exp) = new_exp_from_func_call( (yyvsp[-2].exp), NULL, (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 3743 "chuck.tab.c"
    break;

  case 266: /* postfix_expression: postfix_expression LPAREN expression RPAREN  */
#line 764 "chuck.y"
            { (yyval.exp) = new_exp_from_func_call( (yyvsp[-3].exp), (yyvsp[-1].exp), (yylsp[-3]).first_line, (yylsp[-3]).first_column ); }
#line 3749 "chuck.tab.c"
    break;

  case 267: /* postfix_expression: postfix_expression DOT ID  */
#line 766 "chuck.y"
            { (yyval.exp) = new_exp_from_member_dot( (yyvsp[-2].exp), (yyvsp[0].sval), (yylsp[-2]).first_line, (yylsp[-2]).first_column, (yylsp[0]).first_column ); }
#line 3755 "chuck.tab.c"
    break;

  case 268: /* postfix_expression: postfix_expression PLUSPLUS  */
#line 768 "chuck.y"
            { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_plusplus, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3761 "chuck.tab.c"
    break;

  case 269: /* postfix_expression: postfix_expression MINUSMINUS  */
#line 770 "chuck.y"
            { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_minusminus, (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3767 "chuck.tab.c"
    break;

  case 270: /* primary_expression: ID  */
#line 775 "chuck.y"
                                            { (yyval.exp) = new_exp_from_id( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3773 "chuck.tab.c"
    break;

  case 271: /* primary_expression: INT_VAL  */
#line 776 "chuck.y"
                                            { (yyval.exp) = new_exp_from_int( (yyvsp[0].ival), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3779 "chuck.tab.c"
    break;

  case 272: /* primary_expression: FLOAT_VAL  */
#line 777 "chuck.y"
                                            { (yyval.exp) = new_exp_from_float( (yyvsp[0].fval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3785 "chuck.tab.c"
    break;

  case 273: /* primary_expression: STRING_LIT  */
#line 778 "chuck.y"
                                            { (yyval.exp) = new_exp_from_str( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3791 "chuck.tab.c"
    break;

  case 274: /* primary_expression: CHAR_LIT  */
#line 779 "chuck.y"
                                            { (yyval.exp) = new_exp_from_char( (yyvsp[0].sval), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3797 "chuck.tab.c"
    break;

  case 275: /* primary_expression: array_exp  */
#line 780 "chuck.y"
                                            { (yyval.exp) = new_exp_from_array_lit( (yyvsp[0].array_sub), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3803 "chuck.tab.c"
    break;

  case 276: /* primary_expression: complex_exp  */
#line 781 "chuck.y"
                                            { (yyval.exp) = new_exp_from_complex( (yyvsp[0].complex_exp), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3809 "chuck.tab.c"
    break;

  case 277: /* primary_expression: polar_exp  */
#line 782 "chuck.y"
                                            { (yyval.exp) = new_exp_from_polar( (yyvsp[0].polar_exp), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3815 "chuck.tab.c"
    break;

  case 278: /* primary_expression: vec_exp  */
#line 783 "chuck.y"
                                            { (yyval.exp) = new_exp_from_vec( (yyvsp[0].vec_exp), (yylsp[0]).first_line, (yylsp[0]).first_column ); }
#line 3821 "chuck.tab.c"
    break;

  case 279: /* primary_expression: L_HACK expression R_HACK  */
#line 784 "chuck.y"
                                            { (yyval.exp) = new_exp_from_hack( (yyvsp[-1].exp), (yylsp[-2]).first_line, (yylsp[-2]).first_column ); }
#line 3827 "chuck.tab.c"
    break;

  case 280: /* primary_expression: LPAREN expression RPAREN  */
#line 785 "chuck.y"
                                            { (yyval.exp) = (yyvsp[-1].exp); }
#line 3833 "chuck.tab.c"
    break;

  case 281: /* primary_expression: LPAREN RPAREN  */
#line 786 "chuck.y"
                                                    { (yyval.exp) = new_exp_from_nil( (yylsp[-1]).first_line, (yylsp[-1]).first_column ); }
#line 3839 "chuck.tab.c"
    break;


#line 3843 "chuck.tab.c"

      default: break;
    }
  /* User semantic actions sometimes alter yychar, and that requires
     that yytoken be updated with the new translation.  We take the
     approach of translating immediately before every use of yytoken.
     One alternative is translating here after every semantic action,
     but that translation would be missed if the semantic action invokes
     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
     incorrect destructor might then be invoked immediately.  In the
     case of YYERROR or YYBACKUP, subsequent parser actions might lead
     to an incorrect destructor call or verbose syntax error message
     before the lookahead is translated.  */
  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);

  YYPOPSTACK (yylen);
  yylen = 0;

  *++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.  */
  {
    const int yylhs = yyr1[yyn] - YYNTOKENS;
    const int yyi = yypgoto[yylhs] + *yyssp;
    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
               ? yytable[yyi]
               : yydefgoto[yylhs]);
  }

  goto yynewstate;


/*--------------------------------------.
| yyerrlab -- here on detecting error.  |
`--------------------------------------*/
yyerrlab:
  /* Make sure we have latest lookahead translation.  See comments at
     user semantic actions for why this is necessary.  */
  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
    {
      ++yynerrs;
      yyerror (YY_("syntax error"));
    }

  yyerror_range[1] = yylloc;
  if (yyerrstatus == 3)
    {
      /* If just tried and failed to reuse lookahead token after an
         error, discard it.  */

      if (yychar <= YYEOF)
        {
          /* Return failure if at end of input.  */
          if (yychar == YYEOF)
            YYABORT;
        }
      else
        {
          yydestruct ("Error: discarding",
                      yytoken, &yylval, &yylloc);
          yychar = YYEMPTY;
        }
    }

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


/*---------------------------------------------------.
| yyerrorlab -- error raised explicitly by YYERROR.  |
`---------------------------------------------------*/
yyerrorlab:
  /* Pacify compilers when the user code never invokes YYERROR and the
     label yyerrorlab therefore never appears in user code.  */
  if (0)
    YYERROR;
  ++yynerrs;

  /* Do not reclaim the symbols of the rule whose 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.  */

  /* Pop stack until we find a state that shifts the error token.  */
  for (;;)
    {
      yyn = yypact[yystate];
      if (!yypact_value_is_default (yyn))
        {
          yyn += YYSYMBOL_YYerror;
          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
            {
              yyn = yytable[yyn];
              if (0 < yyn)
                break;
            }
        }

      /* Pop the current state because it cannot handle the error token.  */
      if (yyssp == yyss)
        YYABORT;

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

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END

  yyerror_range[2] = yylloc;
  ++yylsp;
  YYLLOC_DEFAULT (*yylsp, yyerror_range, 2);

  /* Shift the error token.  */
  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);

  yystate = yyn;
  goto yynewstate;


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


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


/*-----------------------------------------------------------.
| yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
`-----------------------------------------------------------*/
yyexhaustedlab:
  yyerror (YY_("memory exhausted"));
  yyresult = 2;
  goto yyreturnlab;


/*----------------------------------------------------------.
| yyreturnlab -- parsing is finished, clean up and return.  |
`----------------------------------------------------------*/
yyreturnlab:
  if (yychar != YYEMPTY)
    {
      /* Make sure we have latest lookahead translation.  See comments at
         user semantic actions for why this is necessary.  */
      yytoken = YYTRANSLATE (yychar);
      yydestruct ("Cleanup: discarding lookahead",
                  yytoken, &yylval, &yylloc);
    }
  /* Do not reclaim the symbols of the rule whose action triggered
     this YYABORT or YYACCEPT.  */
  YYPOPSTACK (yylen);
  YY_STACK_PRINT (yyss, yyssp);
  while (yyssp != yyss)
    {
      yydestruct ("Cleanup: popping",
                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yylsp);
      YYPOPSTACK (1);
    }
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif

  return yyresult;
}

