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

/* Bison implementation for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.

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

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

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

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

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

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

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

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

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

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

/* Pure parsers.  */
#define YYPURE 1

/* Push parsers.  */
#define YYPUSH 0

/* Pull parsers.  */
#define YYPULL 1




/* Copy the first part of user declarations.  */
#line 34 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:339  */


/* *INDENT-ON* */

/* Make parser independent from other parsers */
#define yyerror coda_expression_error
#define yylex   coda_expression_lex
#define yyparse coda_expression_parse

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifndef THREAD_LOCAL
#define THREAD_LOCAL
#endif

#include "coda-expr.h"

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

static THREAD_LOCAL coda_expression *parsed_expression;

/* tokenizer declarations */
int coda_expression_lex(void *yylval, void *scanner);
int coda_expression_lex_init(void *scanner_ptr);
int coda_expression_lex_destroy(void *scanner);
void *coda_expression__scan_string(const char *yy_str, void *scanner);
void coda_expression__delete_buffer(void *buffer, void *scanner);

static void coda_expression_error(void *scanner, const char *error)
{
    (void)scanner;

    coda_set_error(CODA_ERROR_EXPRESSION, "%s", error);
}

/* *INDENT-OFF* */


#line 111 "libcoda/coda-expr-parser.c" /* yacc.c:339  */

# ifndef YY_NULLPTR
#  if defined __cplusplus && 201103L <= __cplusplus
#   define YY_NULLPTR nullptr
#  else
#   define YY_NULLPTR 0
#  endif
# endif

/* Enabling verbose error messages.  */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 1
#endif

/* In a future release of Bison, this section will be replaced
   by #include "y.tab.h".  */
#ifndef YY_YY_LIBCODA_CODA_EXPR_PARSER_H_INCLUDED
# define YY_YY_LIBCODA_CODA_EXPR_PARSER_H_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif

/* Token type.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    INT_VALUE = 258,
    FLOAT_VALUE = 259,
    STRING_VALUE = 260,
    NAME = 261,
    INDEX_VAR = 262,
    LOGICAL_AND = 263,
    LOGICAL_OR = 264,
    NOT = 265,
    GREATER_EQUAL = 266,
    LESS_EQUAL = 267,
    EQUAL = 268,
    NOT_EQUAL = 269,
    AND = 270,
    OR = 271,
    UNARY = 272,
    GOTO_PARENT = 273,
    RAW_PREFIX = 274,
    ASCIILINE = 275,
    DO = 276,
    FOR = 277,
    STEP = 278,
    TO = 279,
    NAN_VALUE = 280,
    INF_VALUE = 281,
    TRUE_VALUE = 282,
    FALSE_VALUE = 283,
    FUNC_ABS = 284,
    FUNC_ADD = 285,
    FUNC_ALL = 286,
    FUNC_AT = 287,
    FUNC_BITOFFSET = 288,
    FUNC_BITSIZE = 289,
    FUNC_BOOL = 290,
    FUNC_BYTES = 291,
    FUNC_BYTEOFFSET = 292,
    FUNC_BYTESIZE = 293,
    FUNC_CEIL = 294,
    FUNC_COUNT = 295,
    FUNC_DIM = 296,
    FUNC_EXISTS = 297,
    FUNC_FILENAME = 298,
    FUNC_FILESIZE = 299,
    FUNC_FLOAT = 300,
    FUNC_FLOOR = 301,
    FUNC_GOTO = 302,
    FUNC_IF = 303,
    FUNC_INDEX = 304,
    FUNC_INT = 305,
    FUNC_ISNAN = 306,
    FUNC_ISINF = 307,
    FUNC_ISPLUSINF = 308,
    FUNC_ISMININF = 309,
    FUNC_LENGTH = 310,
    FUNC_LTRIM = 311,
    FUNC_NUMDIMS = 312,
    FUNC_NUMELEMENTS = 313,
    FUNC_MAX = 314,
    FUNC_MIN = 315,
    FUNC_PRODUCTCLASS = 316,
    FUNC_PRODUCTFORMAT = 317,
    FUNC_PRODUCTTYPE = 318,
    FUNC_PRODUCTVERSION = 319,
    FUNC_REGEX = 320,
    FUNC_ROUND = 321,
    FUNC_RTRIM = 322,
    FUNC_STR = 323,
    FUNC_STRTIME = 324,
    FUNC_SUBSTR = 325,
    FUNC_TIME = 326,
    FUNC_TRIM = 327,
    FUNC_UNBOUNDINDEX = 328,
    FUNC_WITH = 329
  };
#endif
/* Tokens.  */
#define INT_VALUE 258
#define FLOAT_VALUE 259
#define STRING_VALUE 260
#define NAME 261
#define INDEX_VAR 262
#define LOGICAL_AND 263
#define LOGICAL_OR 264
#define NOT 265
#define GREATER_EQUAL 266
#define LESS_EQUAL 267
#define EQUAL 268
#define NOT_EQUAL 269
#define AND 270
#define OR 271
#define UNARY 272
#define GOTO_PARENT 273
#define RAW_PREFIX 274
#define ASCIILINE 275
#define DO 276
#define FOR 277
#define STEP 278
#define TO 279
#define NAN_VALUE 280
#define INF_VALUE 281
#define TRUE_VALUE 282
#define FALSE_VALUE 283
#define FUNC_ABS 284
#define FUNC_ADD 285
#define FUNC_ALL 286
#define FUNC_AT 287
#define FUNC_BITOFFSET 288
#define FUNC_BITSIZE 289
#define FUNC_BOOL 290
#define FUNC_BYTES 291
#define FUNC_BYTEOFFSET 292
#define FUNC_BYTESIZE 293
#define FUNC_CEIL 294
#define FUNC_COUNT 295
#define FUNC_DIM 296
#define FUNC_EXISTS 297
#define FUNC_FILENAME 298
#define FUNC_FILESIZE 299
#define FUNC_FLOAT 300
#define FUNC_FLOOR 301
#define FUNC_GOTO 302
#define FUNC_IF 303
#define FUNC_INDEX 304
#define FUNC_INT 305
#define FUNC_ISNAN 306
#define FUNC_ISINF 307
#define FUNC_ISPLUSINF 308
#define FUNC_ISMININF 309
#define FUNC_LENGTH 310
#define FUNC_LTRIM 311
#define FUNC_NUMDIMS 312
#define FUNC_NUMELEMENTS 313
#define FUNC_MAX 314
#define FUNC_MIN 315
#define FUNC_PRODUCTCLASS 316
#define FUNC_PRODUCTFORMAT 317
#define FUNC_PRODUCTTYPE 318
#define FUNC_PRODUCTVERSION 319
#define FUNC_REGEX 320
#define FUNC_ROUND 321
#define FUNC_RTRIM 322
#define FUNC_STR 323
#define FUNC_STRTIME 324
#define FUNC_SUBSTR 325
#define FUNC_TIME 326
#define FUNC_TRIM 327
#define FUNC_UNBOUNDINDEX 328
#define FUNC_WITH 329

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE YYSTYPE;
union YYSTYPE
{
#line 79 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:355  */

    char *stringval;
    struct coda_expression_struct *expr;

#line 304 "libcoda/coda-expr-parser.c" /* yacc.c:355  */
};
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif



int yyparse (void *scanner);

#endif /* !YY_YY_LIBCODA_CODA_EXPR_PARSER_H_INCLUDED  */

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

#line 318 "libcoda/coda-expr-parser.c" /* yacc.c:358  */

#ifdef short
# undef short
#endif

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

#ifdef YYTYPE_INT8
typedef YYTYPE_INT8 yytype_int8;
#else
typedef signed char yytype_int8;
#endif

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

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

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

#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)

#ifndef YY_
# if 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
# if (defined __GNUC__                                               \
      && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__)))  \
     || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
#  define YY_ATTRIBUTE(Spec) __attribute__(Spec)
# else
#  define YY_ATTRIBUTE(Spec) /* empty */
# endif
#endif

#ifndef YY_ATTRIBUTE_PURE
# define YY_ATTRIBUTE_PURE   YY_ATTRIBUTE ((__pure__))
#endif

#ifndef YY_ATTRIBUTE_UNUSED
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
#endif

#if !defined _Noreturn \
     && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
# if defined _MSC_VER && 1200 <= _MSC_VER
#  define _Noreturn __declspec (noreturn)
# else
#  define _Noreturn YY_ATTRIBUTE ((__noreturn__))
# endif
#endif

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

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


#if ! defined yyoverflow || YYERROR_VERBOSE

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

# ifdef YYSTACK_USE_ALLOCA
#  if YYSTACK_USE_ALLOCA
#   ifdef __GNUC__
#    define YYSTACK_ALLOC __builtin_alloca
#   elif defined __BUILTIN_VA_ARG_INCR
#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
#   elif defined _AIX
#    define YYSTACK_ALLOC __alloca
#   elif defined _MSC_VER
#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
#    define alloca _alloca
#   else
#    define YYSTACK_ALLOC alloca
#    if ! defined _ALLOCA_H && ! defined 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 || YYERROR_VERBOSE */


#if (! defined yyoverflow \
     && (! defined __cplusplus \
         || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))

/* A type that is properly aligned for any stack member.  */
union yyalloc
{
  yytype_int16 yyss_alloc;
  YYSTYPE yyvs_alloc;
};

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

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

# 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                                                                  \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
        Stack = &yyptr->Stack_alloc;                                    \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
    while (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, (Count) * sizeof (*(Src)))
#  else
#   define YYCOPY(Dst, Src, Count)              \
      do                                        \
        {                                       \
          YYSIZE_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  216
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST   2907

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS  96
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS  12
/* YYNRULES -- Number of rules.  */
#define YYNRULES  262
/* YYNSTATES -- Number of states.  */
#define YYNSTATES  777

/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
   by yylex, with out-of-bounds checking.  */
#define YYUNDEFTOK  2
#define YYMAXUTOK   329

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

/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex, without out-of-bounds checking.  */
static const yytype_uint8 yytranslate[] =
{
       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,    83,    23,     2,     2,
      88,    89,    21,    19,    90,    20,    91,    22,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,    92,    87,
      16,    84,    15,     2,    95,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,    85,     2,    86,    24,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,    93,     2,    94,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     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,
      17,    18,    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
};

#if YYDEBUG
  /* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_uint16 yyrline[] =
{
       0,   181,   181,   182,   183,   184,   185,   186,   189,   190,
     191,   192,   193,   194,   195,   196,   197,   198,   199,   200,
     201,   202,   203,   204,   205,   206,   207,   208,   209,   210,
     211,   212,   213,   214,   215,   216,   217,   218,   219,   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,   248,   249,   253,   257,   261,   265,
     269,   273,   277,   284,   288,   292,   296,   300,   304,   308,
     312,   316,   320,   324,   328,   332,   336,   340,   344,   348,
     352,   356,   360,   364,   368,   372,   376,   380,   384,   388,
     392,   396,   400,   404,   408,   412,   416,   420,   424,   425,
     429,   433,   437,   441,   445,   449,   453,   457,   461,   465,
     469,   476,   480,   483,   487,   491,   495,   499,   503,   507,
     511,   512,   516,   520,   524,   528,   532,   536,   540,   541,
     545,   549,   553,   557,   561,   565,   569,   573,   577,   581,
     585,   589,   593,   597,   601,   605,   609,   613,   617,   621,
     625,   629,   633,   637,   641,   648,   652,   656,   660,   663,
     667,   671,   675,   679,   680,   684,   688,   692,   696,   700,
     704,   708,   712,   716,   720,   724,   728,   732,   736,   740,
     744,   748,   752,   756,   757,   761,   765,   769,   773,   777,
     781,   785,   789,   793,   797,   801,   805,   809,   813,   817,
     821,   825,   829,   836,   840,   844,   847,   851,   855,   859,
     863,   867,   871,   875,   879,   883,   887,   891,   895,   899,
     903,   907,   911,   915,   919,   923,   927,   931,   935,   939,
     943,   947,   951,   955,   959,   966,   973,   977,   981,   985,
     989,   993,   997,  1001,  1005,  1009,  1013,  1017,  1021,  1025,
    1029,  1036,  1037
};
#endif

#if YYDEBUG || YYERROR_VERBOSE || 1
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
static const char *const yytname[] =
{
  "$end", "error", "$undefined", "INT_VALUE", "FLOAT_VALUE",
  "STRING_VALUE", "NAME", "INDEX_VAR", "LOGICAL_AND", "LOGICAL_OR", "NOT",
  "GREATER_EQUAL", "LESS_EQUAL", "EQUAL", "NOT_EQUAL", "'>'", "'<'", "AND",
  "OR", "'+'", "'-'", "'*'", "'/'", "'%'", "'^'", "UNARY", "GOTO_PARENT",
  "RAW_PREFIX", "ASCIILINE", "DO", "FOR", "STEP", "TO", "NAN_VALUE",
  "INF_VALUE", "TRUE_VALUE", "FALSE_VALUE", "FUNC_ABS", "FUNC_ADD",
  "FUNC_ALL", "FUNC_AT", "FUNC_BITOFFSET", "FUNC_BITSIZE", "FUNC_BOOL",
  "FUNC_BYTES", "FUNC_BYTEOFFSET", "FUNC_BYTESIZE", "FUNC_CEIL",
  "FUNC_COUNT", "FUNC_DIM", "FUNC_EXISTS", "FUNC_FILENAME",
  "FUNC_FILESIZE", "FUNC_FLOAT", "FUNC_FLOOR", "FUNC_GOTO", "FUNC_IF",
  "FUNC_INDEX", "FUNC_INT", "FUNC_ISNAN", "FUNC_ISINF", "FUNC_ISPLUSINF",
  "FUNC_ISMININF", "FUNC_LENGTH", "FUNC_LTRIM", "FUNC_NUMDIMS",
  "FUNC_NUMELEMENTS", "FUNC_MAX", "FUNC_MIN", "FUNC_PRODUCTCLASS",
  "FUNC_PRODUCTFORMAT", "FUNC_PRODUCTTYPE", "FUNC_PRODUCTVERSION",
  "FUNC_REGEX", "FUNC_ROUND", "FUNC_RTRIM", "FUNC_STR", "FUNC_STRTIME",
  "FUNC_SUBSTR", "FUNC_TIME", "FUNC_TRIM", "FUNC_UNBOUNDINDEX",
  "FUNC_WITH", "'$'", "'='", "'['", "']'", "';'", "'('", "')'", "','",
  "'.'", "':'", "'{'", "'}'", "'@'", "$accept", "input",
  "reserved_identifier", "identifier", "voidexpr", "boolexpr", "intexpr",
  "floatexpr", "stringexpr", "rootnode", "nonrootnode", "node", YY_NULLPTR
};
#endif

# ifdef YYPRINT
/* YYTOKNUM[NUM] -- (External) token number corresponding to the
   (internal) symbol number NUM (which must be that of a token).  */
static const yytype_uint16 yytoknum[] =
{
       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
     265,   266,   267,   268,   269,    62,    60,   270,   271,    43,
      45,    42,    47,    37,    94,   272,   273,   274,   275,   276,
     277,   278,   279,   280,   281,   282,   283,   284,   285,   286,
     287,   288,   289,   290,   291,   292,   293,   294,   295,   296,
     297,   298,   299,   300,   301,   302,   303,   304,   305,   306,
     307,   308,   309,   310,   311,   312,   313,   314,   315,   316,
     317,   318,   319,   320,   321,   322,   323,   324,   325,   326,
     327,   328,   329,    36,    61,    91,    93,    59,    40,    41,
      44,    46,    58,   123,   125,    64
};
# endif

#define YYPACT_NINF -85

#define yypact_value_is_default(Yystate) \
  (!!((Yystate) == (-85)))

#define YYTABLE_NINF -1

#define yytable_value_is_error(Yytable_value) \
  (!!((Yytable_value) == (-1)))

  /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
     STATE-NUM.  */
static const yytype_int16 yypact[] =
{
    1212,   -85,   -85,   -85,   -85,  2029,  1310,  1310,   -85,   -85,
       3,   -85,    29,   -85,   -85,   -85,   -85,   -21,    44,    47,
      48,    60,    79,    81,    82,   110,   127,   171,   182,   206,
     219,   220,   222,   225,   251,   256,   259,   269,   272,   273,
     278,   291,   310,   332,   337,   338,   345,   346,   364,   365,
     368,   376,   377,   379,   381,   392,   396,   398,   399,   415,
     416,   419,  2377,  2275,  2029,   -85,   -85,  1713,    86,    63,
      51,  1182,  2522,  1711,  1790,   199,   263,   430,  2377,   -85,
    1182,  2522,  1711,   434,   438,   449,   452,   460,   471,  1310,
     -85,   -85,   -85,   -85,   -85,     6,  1310,   444,   444,   444,
     444,   444,   444,   444,   444,  1310,   444,   444,    80,    15,
      66,   972,  1310,   444,  2029,   432,  1392,  1310,  1310,  1310,
    1310,   258,  2321,   444,   444,   972,   972,   321,   359,   372,
     425,  2321,  1310,  2321,  1483,  1310,  2275,  2321,  2321,   444,
     524,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,    35,
    2275,  2275,   508,   510,   512,   519,   520,   527,   528,  2275,
    1169,    -5,   373,   530,  2275,   -85,   -85,   391,  2029,  2029,
    1310,  1310,  1310,  1310,  1310,  1310,  2275,  2275,  1310,  1310,
    1310,  1310,  1310,  1310,  1310,  1310,  1310,  1310,  1310,  1310,
    1310,  1310,  1310,  1310,  1310,  1310,  2321,  2321,  2321,  2321,
    2321,  2321,  2321,  2275,   -85,  1636,  2275,  1867,   610,   260,
     444,   444,  2029,  1566,  1566,   637,  1301,   602,  2275,  1495,
     618,    83,   216,   247,   194,   334,   360,   598,   709,  2883,
     742,   426,   580,  2377,   386,   -85,   -85,   566,   567,   569,
     575,  2443,   901,    16,   710,   933,   794,    -2,  2377,   443,
      40,   478,   362,   795,   945,  1949,  2330,  2684,   594,   596,
     597,   601,   631,   634,    68,   843,    70,   855,   912,   853,
    2113,     2,   980,  1064,  2195,    19,   984,   -85,   -85,   -85,
     -85,    37,  2692,   124,   648,   655,   656,   658,   659,   660,
    2532,   133,   690,   828,  2031,   798,    74,   135,  1039,   561,
    2275,  2275,   -85,   -85,  2275,   444,   444,  2029,  1070,  1070,
     679,  2540,  2275,  2275,  2275,  2275,  2275,   -85,   -85,   -85,
     -85,   630,   689,  2377,    63,   -85,   -85,  2883,  1160,  2883,
    1160,  2883,  1160,  2883,  1160,  2883,  1160,  2883,  1160,   750,
     750,   682,   704,   682,   704,   735,   754,   735,   754,   735,
     754,    94,   757,  2883,  1160,  2883,  1160,  2883,  1160,  2883,
    1160,  2883,  1160,  2883,  1160,   820,   704,   820,   704,   461,
     754,   461,   754,   461,   754,    94,   757,   765,   765,   765,
     765,   765,   765,   -85,   693,   -85,  2275,   -85,  2789,  2275,
     -85,   702,  2275,  1054,  1055,     1,  1074,  1211,   708,   298,
     -85,   -85,  2111,  2029,  2029,   -85,   -85,   -85,  2275,   -85,
     -85,   -85,  2029,  2275,   703,   -85,  2029,   444,  2029,  2321,
     793,   -85,   -85,   -85,   -85,   -85,   -85,  2029,   711,   -85,
    2029,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   444,
     444,  2029,   258,   258,   818,   -85,   -85,   -85,   -85,   -85,
    1310,  1310,  2321,  2111,  1310,  1310,  2321,  2111,  2321,   -85,
     -85,   444,   444,  2029,  1483,  1483,   819,   -85,   -85,   -85,
    2275,   -85,  2321,   -85,  2321,  2275,  2321,   -85,  2029,  2275,
    2828,  2797,  2548,  1220,  1275,    17,  1083,  1315,  1477,  1318,
     743,   534,   534,   -85,   -85,   -85,   -85,   823,    77,   -85,
     734,   -85,   791,  2275,  2805,  1310,  1310,  1310,  1310,  1310,
    2275,  2275,  2451,  2700,   176,    45,    49,   557,   590,   388,
     234,    53,  2556,  2029,    55,  1448,    25,   126,   755,    36,
     170,   188,    84,  2029,    57,  1487,  1506,    38,  1531,  1540,
     769,  2459,  2708,  2467,  2716,   177,  2475,  2724,   178,  2483,
    2732,  2491,  2740,   204,  2499,  2748,   257,    24,  1551,  1565,
      43,  2076,  2158,   770,  2564,   262,   276,  1714,   293,    -7,
    1791,   777,  2275,  2275,  2275,  2275,  2275,  2275,  2275,  2275,
     778,  2275,   -85,   -85,  1868,   -85,  2507,  2755,  1317,  2676,
    2023,   964,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,  2275,   -85,   -85,    62,   -85,  2111,  2111,  2321,  2275,
    2029,  1310,  1310,  2321,    64,   -85,  2321,  2321,  2321,  2321,
    2321,  2275,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,   -85,  2193,
    2193,  2193,  2193,  2193,  2193,  2275,   -85,   -85,   -85,  2321,
     -85,   -85,  2029,  1947,  2275,  2572,  2605,  2105,  2613,  2621,
    2629,  2637,  2187,  2275,  2813,  2029,  1310,   391,  2275,  2645,
     -85,   322,   128,   130,  2206,    67,  2580,  2763,  2588,  2771,
     333,   -85,  2270,  2653,   335,  2280,   343,    69,   -59,    71,
     571,   718,   424,  2828,  2275,  2275,  2288,   777,  2596,  2779,
      63,  1191,   -85,  2111,   -85,   -85,   -85,   -85,   -85,   -85,
    2321,   -85,   -85,  2193,   -85,   -85,   -85,   -85,   -85,   -85,
     -85,  2661,  2669,   391,   391,   353,    63
};

  /* 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_uint16 yydefact[] =
{
       0,   121,   165,   213,   128,     0,     0,     0,   245,   248,
       0,   249,     0,   166,   167,    73,    74,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   246,   247,     0,     0,     6,
       2,     3,     4,     5,   261,   262,     7,     0,     0,    77,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     130,   173,   129,   172,   214,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,    64,    63,     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,    65,   126,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   257,     1,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,   250,     0,     0,     0,     0,   126,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   237,   154,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   234,   235,   236,
     153,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   130,   129,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,   255,   108,   138,
     193,     0,     0,     0,    68,    75,    76,    78,    86,    79,
      89,    80,    92,    81,    95,    83,   101,    82,    98,   136,
     137,   131,   176,   132,   179,   133,   182,   134,   185,   135,
     188,   192,   191,    85,    84,    88,    87,    91,    90,    94,
      93,   100,    99,    97,    96,   175,   174,   178,   177,   181,
     180,   184,   183,   187,   186,   190,   189,   106,   107,   102,
     103,   105,   104,   222,     0,   252,     0,   253,     0,     0,
     259,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     139,   194,     0,     0,     0,   155,   151,   219,     0,   156,
     152,   195,     0,     0,     0,   114,     0,     0,     0,     0,
       0,   170,   168,   171,   169,   196,    71,     0,     0,   157,
       0,   124,   122,   125,   123,   109,   110,   111,   112,     0,
       0,     0,     0,     0,     0,   149,   150,   224,   145,   144,
       0,     0,     0,     0,     0,     0,     0,     0,     0,   197,
     225,     0,     0,     0,     0,     0,     0,   216,   215,   217,
       0,   238,     0,   239,     0,     0,     0,   226,     0,     0,
      66,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,   131,   132,   133,   134,   135,   258,     0,     0,   251,
       0,   256,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,   127,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,   254,   260,     0,   127,     0,     0,     0,     0,
       0,     0,   148,   207,   231,   117,   119,   163,   211,   243,
     220,     0,   147,   146,     0,   115,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   158,     0,     0,     0,     0,
       0,     0,   141,   201,   200,   199,   228,   140,   198,   227,
     143,   205,   204,   203,   230,   142,   202,   229,   113,     0,
       0,     0,     0,     0,     0,     0,   218,   240,   241,     0,
     206,   161,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     116,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,   159,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,    67,     0,     0,     0,     0,     0,     0,
      69,     0,   221,     0,   118,   160,   210,   209,   208,   242,
       0,   232,   233,     0,   223,   162,    72,   120,   164,   212,
     244,     0,     0,     0,     0,     0,    70
};

  /* YYPGOTO[NTERM-NUM].  */
static const yytype_int16 yypgoto[] =
{
     -85,   -85,   -85,     7,     0,   483,     5,   671,   166,   -85,
     -85,   -84
};

  /* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int16 yydefgoto[] =
{
      -1,    68,   198,   199,   738,   739,    80,    81,    82,    74,
      75,    76
};

  /* 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[] =
{
      69,   218,   219,   218,   219,    71,   218,   219,    94,   218,
     219,    90,    92,   271,   272,   273,   274,   275,   276,   277,
     278,   252,   281,   282,   284,   218,   219,   294,   217,   296,
     766,   299,   303,   218,   219,   252,    95,   315,   252,   317,
     318,   322,   326,   252,   218,   219,   218,   219,   218,   219,
     342,   218,   219,   218,   219,   348,   252,   218,   219,   218,
     219,   218,   219,   218,   219,   218,   219,    96,   210,   212,
     218,   219,   218,   219,   215,   218,   219,   218,   219,   218,
     219,   254,   701,   702,   368,   259,   216,   252,   477,   252,
     268,   557,   502,   252,   266,   246,   247,   248,   249,   250,
     251,   269,     8,   252,   285,   473,     9,   624,    11,   506,
     279,   226,   227,   688,   689,   657,   291,   279,    -1,   350,
     351,   301,   279,   279,   279,   279,   660,   508,   668,   481,
     319,   323,    97,   692,   645,    98,    99,   279,   646,   340,
     343,   345,   652,   252,   655,   252,   665,   252,   100,   252,
     217,   720,   252,   731,   252,   286,   754,   495,   765,   497,
     767,   350,   631,   283,   526,    63,    73,   101,   256,   102,
     103,    65,    66,   452,   663,    67,   443,   444,   257,   446,
     447,   220,   221,   222,   223,   224,   225,   226,   227,   228,
     229,   230,   231,   232,   233,   252,   252,   252,   104,   234,
     235,   236,   237,   238,   239,   352,   353,   240,   241,   242,
     243,   244,   245,   510,   361,   105,   658,   374,   663,   371,
     689,   255,   518,   252,   527,   377,   379,   381,   383,   385,
     387,   389,   390,   391,   393,   395,   397,   399,   401,   403,
     405,   407,   409,   411,   413,   415,   417,   419,   421,   423,
     425,   226,   227,   362,   363,   364,   365,   366,   434,   106,
     661,   438,   437,     3,   440,   644,   676,   679,   319,   323,
     107,   533,   534,   449,   537,   539,   252,   293,   662,   256,
       8,   252,   302,   455,     9,    10,    11,   314,   316,   257,
     464,   321,   325,   684,   108,   252,   308,   331,   309,   333,
     341,   256,    23,   346,   347,   478,   453,   109,   110,    30,
     111,   257,   252,   112,   310,   226,   227,   362,   363,   364,
     365,   366,    43,   650,   651,   311,   312,    48,    49,    50,
     561,   289,   256,    54,    55,    56,    57,   454,    59,   113,
     313,   252,   257,    63,   114,   442,   687,   115,   256,    65,
      66,   697,   252,    67,   252,   530,   531,   116,   257,   532,
     117,   118,   252,   536,   538,   698,   119,   541,   542,   543,
     544,   545,   252,   246,   247,   248,   249,   250,   251,   120,
     548,   252,   700,   575,   220,   221,   222,   223,   224,   225,
     226,   227,   228,   229,   230,   231,   232,   233,   121,   246,
     247,   248,   249,   250,   251,   585,   586,   252,   588,   589,
     327,   649,   427,   428,   429,   430,   431,   432,   433,   256,
     122,    12,   759,   456,   762,   123,   124,   608,   609,   257,
     611,   612,   764,   125,   126,   246,   247,   248,   249,   250,
     251,   550,   770,   252,   552,   256,    34,   554,   328,   457,
     458,   483,   127,   128,     8,   257,   129,   562,     9,   567,
      11,   329,   369,   570,   130,   131,     8,   132,   572,   133,
       9,   256,    11,   372,   373,   465,   466,   649,   226,   227,
     134,   257,   580,    70,   135,   233,   136,   137,    79,   220,
     221,   222,   223,   224,   225,   226,   227,   228,   229,   230,
     231,   232,   233,   138,   139,   591,   593,   140,   596,   599,
     601,   256,   604,   770,   330,   298,   462,    63,   258,   536,
     538,   257,   260,    65,    66,   614,   261,    67,   256,    63,
     617,   349,   479,   480,   620,    65,    66,   262,   257,    67,
     263,   234,   235,   236,   237,   238,   239,   211,   264,   240,
     241,   242,   243,   244,   245,   364,   365,   366,   634,   265,
     562,   636,   638,   596,   604,   640,   641,   482,   220,   221,
     222,   223,   224,   225,   226,   227,   228,   229,   230,   231,
     232,   233,   220,   221,   222,   223,   224,   225,   226,   227,
     228,   229,   230,   231,   232,   233,   354,   297,   355,   300,
     356,   234,   235,   236,   237,   238,   239,   357,   358,   240,
     241,   242,   243,   244,   245,   359,   360,   441,   564,   370,
     569,   240,   241,   242,   243,   244,   245,   705,   706,   707,
     708,   709,   710,   711,   712,   577,   714,   240,   241,   242,
     243,   244,   245,   582,   448,   529,   647,   226,   227,   362,
     363,   364,   365,   366,   467,   468,   719,   469,   321,   325,
     768,   636,   638,   470,   724,   256,   726,   728,   595,   598,
     463,    72,   603,   606,   607,   257,   732,    91,    93,   648,
     321,   325,   489,   256,   490,   491,   540,   459,   615,   492,
     616,   370,   618,   257,   733,   705,   706,   707,   709,   711,
     735,   375,   376,   230,   231,   232,   233,   451,   740,   743,
     226,   227,   362,   363,   364,   365,   366,   750,   746,   493,
     740,   748,   494,   751,   546,   242,   243,   244,   245,   234,
     235,   236,   237,   238,   239,   213,   511,   240,   241,   242,
     243,   244,   245,   512,   513,   445,   514,   515,   516,   771,
     772,   226,   227,   362,   363,   364,   365,   366,   748,   233,
     267,   240,   241,   242,   243,   244,   245,   270,   772,   362,
     363,   364,   365,   366,   776,   256,   280,   547,   245,   519,
     520,    -1,   292,   295,   252,   257,   553,   549,   304,   305,
     306,   307,   560,   573,   256,   256,   320,   324,   460,   474,
     578,   583,     0,   332,   257,   257,   344,   769,   226,   227,
     362,   363,   364,   365,   366,   226,   227,   362,   363,   364,
     365,   366,   721,   722,   723,   590,   613,   629,   632,   730,
     630,   461,   564,   721,   722,   598,   606,   226,   227,   659,
     535,   230,   231,   232,   233,   226,   227,   228,   229,   230,
     231,   232,   233,   671,   695,   734,   564,   721,   722,   598,
     606,   704,   713,     0,     0,   736,     0,     0,     0,   742,
     226,   227,   228,   229,   230,   231,   232,   233,     0,   256,
     256,   742,     0,   476,   484,   633,     0,     0,   525,   257,
     257,   378,   380,   382,   384,   386,   388,     0,     0,   392,
     394,   396,   398,   400,   402,   404,   406,   408,   410,   412,
     414,   416,   418,   420,   422,   424,   426,   521,   522,   775,
     240,   241,   242,   243,   244,   245,   775,     0,   256,   775,
       0,     0,   496,     0,   320,   324,   565,   566,   257,     0,
     256,     0,     0,   500,   498,   571,     0,     0,     0,   574,
     257,   576,   240,   241,   242,   243,   244,   245,     0,     0,
     579,     0,     0,   584,   240,   241,   242,   243,   244,   245,
       0,     0,     0,     0,   587,     1,     2,     3,     0,     4,
       0,   226,   227,   362,   363,   364,   365,   366,     0,     0,
     472,     6,     7,   717,     8,   718,   610,   256,     9,    10,
      11,   499,     0,     0,     0,    13,    14,   257,     0,    17,
      18,   619,   287,    21,    22,     0,    23,    24,    25,    26,
      27,    28,   475,    30,    31,    32,    33,     0,   288,    36,
      37,     0,     0,     0,   485,    42,    43,    44,    45,    46,
      47,    48,    49,    50,    51,   289,    53,    54,    55,    56,
      57,    58,    59,    60,   290,    78,   654,    63,     0,     0,
      89,     0,     0,    65,    66,   256,   664,    67,     0,   256,
     503,     0,     0,     1,   507,   257,     0,     4,     0,   257,
       0,   226,   227,   228,   229,   230,   231,   232,   233,   200,
     201,     0,     8,     0,     0,     0,     9,     0,    11,     0,
     226,   227,   362,   363,   364,   365,   366,   202,   203,     0,
     204,    21,    22,     0,     0,    24,    25,     0,    27,    28,
       0,     0,    31,   563,   256,   568,   205,    36,    37,   528,
       0,     0,     0,    42,   257,    44,    45,   206,   207,   256,
     256,     0,    51,   725,   555,   556,     0,     0,   581,   257,
     257,    60,   208,    78,   504,    63,     0,     0,   209,   256,
       0,    65,    66,     0,   558,    67,     0,     0,     0,   257,
       0,   592,   594,   625,   597,   600,   602,     0,   605,   240,
     241,   242,   243,   244,   245,   737,   226,   227,   362,   363,
     364,   365,   366,   220,   221,   222,   223,   224,   225,   226,
     227,   228,   229,   230,   231,   232,   233,     0,   226,   227,
     362,   363,   364,   365,   366,     1,     2,     3,     0,     4,
     774,     0,     5,     0,     0,     0,   563,   637,   639,   597,
     605,     6,     7,     0,     8,     0,     0,     0,     9,    10,
      11,     0,    12,     0,     0,    13,    14,    15,    16,    17,
      18,    19,    20,    21,    22,   367,    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,   256,    63,     0,     0,
      64,   559,     0,    65,    66,   256,   257,    67,     0,     0,
     622,     0,     0,     1,     2,   257,     0,     4,   226,   227,
     228,   229,   230,   231,   232,   233,     0,   637,   639,     6,
       7,     0,   727,   729,   226,   227,   228,   229,   230,   231,
     232,   233,     0,    13,    14,     0,     0,    17,    83,     0,
      84,    21,    22,     0,     0,    24,    25,    26,    27,    28,
     256,     0,    31,    32,    33,   623,    85,    36,    37,     0,
     257,     0,     0,    42,   741,    44,    45,    86,    87,     0,
       0,     0,    51,     0,    53,     0,   741,   749,     0,    58,
     369,    60,    88,    78,     0,     1,     2,     3,    89,     4,
     256,     0,     5,   256,     0,   626,     0,   661,   628,     0,
     257,     6,     7,   257,     8,     0,     0,     0,     9,    10,
      11,     0,     0,     0,   749,    13,    14,    15,    16,    17,
      18,    19,    20,    21,    22,     0,    23,    24,    25,    26,
      27,    28,    29,    30,    31,    32,    33,     0,    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,    77,    78,     0,    63,     0,     0,
      64,     0,     0,    65,    66,     0,     1,    67,     3,     0,
       4,     0,     0,     0,   226,   227,   362,   363,   364,   365,
     366,     0,   200,   201,     0,     8,     0,     0,     0,     9,
      10,    11,   226,   227,   228,   229,   230,   231,   232,   233,
     202,   334,     0,   335,    21,    22,     0,    23,    24,    25,
       0,    27,    28,   256,    30,    31,     0,     0,   656,   336,
      36,    37,     0,   257,     0,     0,    42,    43,    44,    45,
     337,   338,    48,    49,    50,    51,   289,     0,    54,    55,
      56,    57,     0,    59,    60,   339,    78,   627,    63,     1,
       2,   209,   256,     4,    65,    66,     0,   666,    67,     0,
       0,     0,   257,     0,   450,     6,     7,     0,     8,     0,
       0,   256,     9,     0,    11,     0,   667,     0,     0,    13,
      14,   257,     0,    17,    83,     0,    84,    21,    22,     0,
       0,    24,    25,    26,    27,    28,   256,     0,    31,    32,
      33,   669,    85,    36,    37,   256,   257,     0,     0,    42,
     670,    44,    45,    86,    87,   257,   256,     0,    51,     0,
      53,   690,   141,   142,     0,    58,   257,    60,    88,    78,
     256,    63,     0,     0,    89,   691,     0,    65,    66,     0,
     257,    67,   435,   143,   144,   145,   146,   147,   148,   149,
     150,   151,   152,   153,   154,   155,   156,   157,     0,   158,
     159,   160,   161,   162,   163,   164,   165,   166,   167,   168,
     169,   170,   171,   172,   173,   174,   175,   176,   177,   178,
     179,   180,   181,   182,   183,   184,   185,   186,   187,   188,
     189,   190,   191,   192,   193,   194,   195,   196,   197,   141,
     142,     0,   246,   247,   248,   249,   250,   251,     0,   436,
     252,   226,   227,   362,   363,   364,   365,   366,     0,     0,
     143,   144,   145,   146,   147,   148,   149,   150,   151,   152,
     153,   154,   155,   156,   157,     0,   158,   159,   160,   161,
     162,   163,   164,   165,   166,   167,   168,   169,   170,   171,
     172,   173,   174,   175,   176,   177,   178,   179,   180,   181,
     182,   183,   184,   185,   186,   187,   188,   189,   190,   191,
     192,   193,   194,   195,   196,   197,   141,   142,     0,     0,
       0,     0,     0,     0,   699,     0,   214,     0,   226,   227,
     362,   363,   364,   365,   366,     0,     0,   143,   144,   145,
     146,   147,   148,   149,   150,   151,   152,   153,   154,   155,
     156,   157,     0,   158,   159,   160,   161,   162,   163,   164,
     165,   166,   167,   168,   169,   170,   171,   172,   173,   174,
     175,   176,   177,   178,   179,   180,   181,   182,   183,   184,
     185,   186,   187,   188,   189,   190,   191,   192,   193,   194,
     195,   196,   197,   141,   142,     0,     0,     0,     0,     0,
       0,   703,     0,   253,     0,   226,   227,   362,   363,   364,
     365,   366,     0,     0,   143,   144,   145,   146,   147,   148,
     149,   150,   151,   152,   153,   154,   155,   156,   157,     0,
     158,   159,   160,   161,   162,   163,   164,   165,   166,   167,
     168,   169,   170,   171,   172,   173,   174,   175,   176,   177,
     178,   179,   180,   181,   182,   183,   184,   185,   186,   187,
     188,   189,   190,   191,   192,   193,   194,   195,   196,   197,
       1,     2,     3,     0,     4,     0,     0,     5,   715,     0,
     439,     0,     0,     0,     0,     0,     6,     7,   240,   241,
     242,   243,   244,   245,    10,     0,     0,    12,     0,     0,
      13,    14,    15,    16,    17,    18,    19,    20,    21,    22,
       0,    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,     0,     1,     2,     3,    64,     4,     0,   486,     5,
     226,   227,   362,   363,   364,   365,   366,     0,     6,     7,
     240,   241,   242,   243,   244,   245,    10,     0,     0,     0,
       0,     0,    13,    14,    15,    16,    17,    18,    19,    20,
      21,    22,     0,    23,    24,    25,    26,    27,    28,    29,
      30,    31,    32,    33,     0,    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,    77,    78,   716,     1,     2,     3,    64,     4,     0,
     523,   524,   226,   227,   362,   363,   364,   365,   366,     0,
       6,     7,   240,   241,   242,   243,   244,   245,    10,     0,
       0,     0,     0,     0,    13,    14,     0,     0,    17,    18,
       0,   287,    21,    22,     0,    23,    24,    25,    26,    27,
      28,   256,    30,    31,    32,    33,   693,   288,    36,    37,
       0,   257,     0,     0,    42,    43,    44,    45,    46,    47,
      48,    49,    50,    51,   289,    53,    54,    55,    56,    57,
      58,    59,    60,   290,    78,   744,     1,     0,     3,    89,
       4,     0,     0,   501,   226,   227,   362,   363,   364,   365,
     366,     0,   200,   201,   240,   241,   242,   243,   244,   245,
      10,     0,     0,   226,   227,   362,   363,   364,   365,   366,
     202,   334,     0,   335,    21,    22,     0,    23,    24,    25,
       0,    27,    28,   256,    30,    31,     0,     0,   694,   336,
      36,    37,     0,   257,     0,     0,    42,    43,    44,    45,
     337,   338,    48,    49,    50,    51,   289,     0,    54,    55,
      56,    57,     0,    59,    60,   339,    78,   745,     1,     0,
       0,   209,     4,     0,     0,   505,     0,   226,   227,   362,
     363,   364,   365,   366,   200,   201,   753,   226,   227,   362,
     363,   364,   365,   366,     0,   226,   227,   362,   363,   364,
     365,   366,   202,   203,     0,   204,    21,    22,     0,     0,
      24,    25,     0,    27,    28,     0,     3,    31,     0,     0,
       0,   205,    36,    37,     0,     0,     0,     0,    42,     0,
      44,    45,   206,   207,     0,     0,     0,    51,    10,   240,
     241,   242,   243,   244,   245,     0,    60,   208,    78,   308,
     760,   309,     0,   209,     0,    23,     0,     0,     0,     0,
     763,     0,    30,     0,     0,     0,     0,   310,   773,     0,
       0,     0,     0,   141,   142,    43,     0,     0,   311,   312,
      48,    49,    50,     0,   289,     0,    54,    55,    56,    57,
       0,    59,     0,   313,   143,   144,   145,   146,   147,   148,
     149,   150,   151,   152,   153,   154,   155,   156,   157,   487,
     158,   159,   160,   161,   162,   163,   164,   165,   166,   167,
     168,   169,   170,   171,   172,   173,   174,   175,   176,   177,
     178,   179,   180,   181,   182,   183,   184,   185,   186,   187,
     188,   189,   190,   191,   192,   193,   194,   195,   196,   197,
     226,   227,   228,   229,   230,   231,   232,   233,   226,   227,
     228,   229,   230,   231,   232,   233,   226,   227,   228,   229,
     230,   231,   232,   233,   226,   227,   228,   229,   230,   231,
     232,   233,   226,   227,   228,   229,   230,   231,   232,   233,
     226,   227,   228,   229,   230,   231,   232,   233,   226,   227,
     228,   229,   230,   231,   232,   233,   226,   227,   228,   229,
     230,   231,   232,   233,   226,   227,   228,   229,   230,   231,
     232,   233,   471,   234,   235,   236,   237,   238,   239,     0,
     642,   240,   241,   242,   243,   244,   245,     0,   672,   226,
     227,   362,   363,   364,   365,   366,   674,   226,   227,   362,
     363,   364,   365,   366,   677,   226,   227,   362,   363,   364,
     365,   366,   680,   226,   227,   362,   363,   364,   365,   366,
     682,   226,   227,   362,   363,   364,   365,   366,   685,   226,
     227,   362,   363,   364,   365,   366,   647,   226,   227,   228,
     229,   230,   231,   232,   233,   226,   227,   228,   229,   230,
     231,   232,   233,   226,   227,   228,   229,   230,   231,   232,
     233,   517,   226,   227,   362,   363,   364,   365,   366,   369,
     226,   227,   362,   363,   364,   365,   366,   450,   226,   227,
     362,   363,   364,   365,   366,   653,   226,   227,   362,   363,
     364,   365,   366,   696,   226,   227,   362,   363,   364,   365,
     366,   642,   226,   227,   362,   363,   364,   365,   366,   755,
     226,   227,   362,   363,   364,   365,   366,   757,   226,   227,
     362,   363,   364,   365,   366,   768,   226,   227,   362,   363,
     364,   365,   366,     0,   647,   240,   241,   242,   243,   244,
     245,     0,   672,   240,   241,   242,   243,   244,   245,     0,
     677,   240,   241,   242,   243,   244,   245,     0,   680,   240,
     241,   242,   243,   244,   245,     0,   685,   240,   241,   242,
     243,   244,   245,     0,   752,   240,   241,   242,   243,   244,
     245,     0,   761,   240,   241,   242,   243,   244,   245,     0,
     755,   240,   241,   242,   243,   244,   245,     0,   768,   240,
     241,   242,   243,   244,   245,     0,   662,   240,   241,   242,
     243,   244,   245,   488,   240,   241,   242,   243,   244,   245,
       0,   509,   240,   241,   242,   243,   244,   245,     0,   643,
     240,   241,   242,   243,   244,   245,     0,   673,   240,   241,
     242,   243,   244,   245,     0,   675,   226,   227,   362,   363,
     364,   365,   366,   678,   226,   227,   362,   363,   364,   365,
     366,   681,   226,   227,   362,   363,   364,   365,   366,   683,
     226,   227,   362,   363,   364,   365,   366,   686,     0,     0,
       0,     0,     0,     0,   648,   226,   227,   362,   363,   364,
     365,   366,   756,     0,     0,     0,     0,     0,     0,     0,
     758,     0,     0,     0,     0,     0,     0,     0,   769,     0,
       0,     0,     0,     0,     0,   551,     0,     0,     0,     0,
       0,     0,     0,   621,     0,     0,     0,     0,     0,     0,
       0,   635,     0,     0,     0,     0,     0,     0,     0,   747,
     226,   227,   228,   229,   230,   231,   232,   233
};

static const yytype_int16 yycheck[] =
{
       0,     8,     9,     8,     9,     0,     8,     9,     5,     8,
       9,     6,     7,    97,    98,    99,   100,   101,   102,   103,
     104,    19,   106,   107,   108,     8,     9,   111,    87,   113,
      89,   115,   116,     8,     9,    19,     7,   121,    19,   123,
     124,   125,   126,    19,     8,     9,     8,     9,     8,     9,
     134,     8,     9,     8,     9,   139,    19,     8,     9,     8,
       9,     8,     9,     8,     9,     8,     9,    88,    63,    64,
       8,     9,     8,     9,    67,     8,     9,     8,     9,     8,
       9,    74,    89,    90,    89,    78,     0,    19,    90,    19,
      84,    90,    90,    19,    89,    11,    12,    13,    14,    15,
      16,    96,    22,    19,    89,    89,    26,    90,    28,    90,
     105,    17,    18,    89,    90,    90,   111,   112,    24,    84,
      85,   116,   117,   118,   119,   120,    90,    90,    90,    89,
     125,   126,    88,    90,    89,    88,    88,   132,    89,   134,
     135,   136,    89,    19,    89,    19,    89,    19,    88,    19,
      87,    89,    19,    89,    19,    89,    89,    89,    89,    89,
      89,    84,    85,    83,    90,    85,     0,    88,    85,    88,
      88,    91,    92,    90,    90,    95,   260,   261,    95,   263,
     264,    11,    12,    13,    14,    15,    16,    17,    18,    19,
      20,    21,    22,    23,    24,    19,    19,    19,    88,    11,
      12,    13,    14,    15,    16,   200,   201,    19,    20,    21,
      22,    23,    24,    89,   209,    88,    90,   217,    90,   214,
      90,    22,    89,    19,    89,   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,    17,    18,    19,    20,    21,    22,    23,   253,    88,
      90,   256,   255,     5,   257,    89,    89,    89,   263,   264,
      88,   355,   356,   268,   358,   359,    19,   111,    90,    85,
      22,    19,   116,    89,    26,    27,    28,   121,   122,    95,
     283,   125,   126,    89,    88,    19,    38,   131,    40,   133,
     134,    85,    44,   137,   138,   298,    90,    88,    88,    51,
      88,    95,    19,    88,    56,    17,    18,    19,    20,    21,
      22,    23,    64,    89,    90,    67,    68,    69,    70,    71,
      32,    73,    85,    75,    76,    77,    78,    90,    80,    88,
      82,    19,    95,    85,    88,    85,    89,    88,    85,    91,
      92,    89,    19,    95,    19,   350,   351,    88,    95,   354,
      88,    88,    19,   358,   359,    89,    88,   362,   363,   364,
     365,   366,    19,    11,    12,    13,    14,    15,    16,    88,
     373,    19,    89,   467,    11,    12,    13,    14,    15,    16,
      17,    18,    19,    20,    21,    22,    23,    24,    88,    11,
      12,    13,    14,    15,    16,   489,   490,    19,   492,   493,
      89,    89,   246,   247,   248,   249,   250,   251,   252,    85,
      88,    30,    89,    89,    89,    88,    88,   511,   512,    95,
     514,   515,    89,    88,    88,    11,    12,    13,    14,    15,
      16,   436,    89,    19,   439,    85,    55,   442,    89,    89,
      90,    89,    88,    88,    22,    95,    88,   452,    26,   454,
      28,    89,    89,   458,    88,    88,    22,    88,   463,    88,
      26,    85,    28,    82,    83,    89,    90,    89,    17,    18,
      88,    95,   477,     0,    88,    24,    88,    88,     5,    11,
      12,    13,    14,    15,    16,    17,    18,    19,    20,    21,
      22,    23,    24,    88,    88,   500,   501,    88,   503,   504,
     505,    85,   507,    89,    89,    83,    90,    85,    88,   514,
     515,    95,    88,    91,    92,   520,    88,    95,    85,    85,
     525,     7,    89,    90,   529,    91,    92,    88,    95,    95,
      88,    11,    12,    13,    14,    15,    16,    64,    88,    19,
      20,    21,    22,    23,    24,    21,    22,    23,   553,    88,
     555,   556,   557,   558,   559,   560,   561,    89,    11,    12,
      13,    14,    15,    16,    17,    18,    19,    20,    21,    22,
      23,    24,    11,    12,    13,    14,    15,    16,    17,    18,
      19,    20,    21,    22,    23,    24,    88,   114,    88,   116,
      88,    11,    12,    13,    14,    15,    16,    88,    88,    19,
      20,    21,    22,    23,    24,    88,    88,     7,   452,    89,
     454,    19,    20,    21,    22,    23,    24,   622,   623,   624,
     625,   626,   627,   628,   629,   469,   631,    19,    20,    21,
      22,    23,    24,   477,     7,    84,    89,    17,    18,    19,
      20,    21,    22,    23,    88,    88,   651,    88,   492,   493,
      89,   656,   657,    88,   659,    85,   661,   662,   502,   503,
      90,     0,   506,   507,   508,    95,   671,     6,     7,    89,
     514,   515,    88,    85,    88,    88,     7,    89,   522,    88,
     524,    89,   526,    95,   689,   690,   691,   692,   693,   694,
     695,   218,   219,    21,    22,    23,    24,    89,   703,   704,
      17,    18,    19,    20,    21,    22,    23,   717,   713,    88,
     715,   716,    88,   718,    94,    21,    22,    23,    24,    11,
      12,    13,    14,    15,    16,    64,    88,    19,    20,    21,
      22,    23,    24,    88,    88,   262,    88,    88,    88,   744,
     745,    17,    18,    19,    20,    21,    22,    23,   753,    24,
      89,    19,    20,    21,    22,    23,    24,    96,   763,    19,
      20,    21,    22,    23,   774,    85,   105,    88,    24,    89,
      90,    24,   111,   112,    19,    95,    84,    94,   117,   118,
     119,   120,    84,    90,    85,    85,   125,   126,    89,    89,
       7,    90,    -1,   132,    95,    95,   135,    89,    17,    18,
      19,    20,    21,    22,    23,    17,    18,    19,    20,    21,
      22,    23,   656,   657,   658,     7,     7,    84,    94,   663,
       7,    89,   666,   667,   668,   669,   670,    17,    18,    84,
     357,    21,    22,    23,    24,    17,    18,    19,    20,    21,
      22,    23,    24,    84,    84,   689,   690,   691,   692,   693,
     694,    84,    84,    -1,    -1,   699,    -1,    -1,    -1,   703,
      17,    18,    19,    20,    21,    22,    23,    24,    -1,    85,
      85,   715,    -1,    89,    89,    94,    -1,    -1,    90,    95,
      95,   220,   221,   222,   223,   224,   225,    -1,    -1,   228,
     229,   230,   231,   232,   233,   234,   235,   236,   237,   238,
     239,   240,   241,   242,   243,   244,   245,    89,    90,   753,
      19,    20,    21,    22,    23,    24,   760,    -1,    85,   763,
      -1,    -1,    89,    -1,   263,   264,   453,   454,    95,    -1,
      85,    -1,    -1,    90,    89,   462,    -1,    -1,    -1,   466,
      95,   468,    19,    20,    21,    22,    23,    24,    -1,    -1,
     477,    -1,    -1,   480,    19,    20,    21,    22,    23,    24,
      -1,    -1,    -1,    -1,   491,     3,     4,     5,    -1,     7,
      -1,    17,    18,    19,    20,    21,    22,    23,    -1,    -1,
      89,    19,    20,    29,    22,    31,   513,    85,    26,    27,
      28,    89,    -1,    -1,    -1,    33,    34,    95,    -1,    37,
      38,   528,    40,    41,    42,    -1,    44,    45,    46,    47,
      48,    49,    89,    51,    52,    53,    54,    -1,    56,    57,
      58,    -1,    -1,    -1,    89,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
      78,    79,    80,    81,    82,    83,   573,    85,    -1,    -1,
      88,    -1,    -1,    91,    92,    85,   583,    95,    -1,    85,
      90,    -1,    -1,     3,    90,    95,    -1,     7,    -1,    95,
      -1,    17,    18,    19,    20,    21,    22,    23,    24,    19,
      20,    -1,    22,    -1,    -1,    -1,    26,    -1,    28,    -1,
      17,    18,    19,    20,    21,    22,    23,    37,    38,    -1,
      40,    41,    42,    -1,    -1,    45,    46,    -1,    48,    49,
      -1,    -1,    52,   452,    85,   454,    56,    57,    58,    90,
      -1,    -1,    -1,    63,    95,    65,    66,    67,    68,    85,
      85,    -1,    72,   660,    90,    90,    -1,    -1,   477,    95,
      95,    81,    82,    83,    90,    85,    -1,    -1,    88,    85,
      -1,    91,    92,    -1,    90,    95,    -1,    -1,    -1,    95,
      -1,   500,   501,    90,   503,   504,   505,    -1,   507,    19,
      20,    21,    22,    23,    24,   702,    17,    18,    19,    20,
      21,    22,    23,    11,    12,    13,    14,    15,    16,    17,
      18,    19,    20,    21,    22,    23,    24,    -1,    17,    18,
      19,    20,    21,    22,    23,     3,     4,     5,    -1,     7,
      29,    -1,    10,    -1,    -1,    -1,   555,   556,   557,   558,
     559,    19,    20,    -1,    22,    -1,    -1,    -1,    26,    27,
      28,    -1,    30,    -1,    -1,    33,    34,    35,    36,    37,
      38,    39,    40,    41,    42,    86,    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,    85,    85,    -1,    -1,
      88,    90,    -1,    91,    92,    85,    95,    95,    -1,    -1,
      90,    -1,    -1,     3,     4,    95,    -1,     7,    17,    18,
      19,    20,    21,    22,    23,    24,    -1,   656,   657,    19,
      20,    -1,   661,   662,    17,    18,    19,    20,    21,    22,
      23,    24,    -1,    33,    34,    -1,    -1,    37,    38,    -1,
      40,    41,    42,    -1,    -1,    45,    46,    47,    48,    49,
      85,    -1,    52,    53,    54,    90,    56,    57,    58,    -1,
      95,    -1,    -1,    63,   703,    65,    66,    67,    68,    -1,
      -1,    -1,    72,    -1,    74,    -1,   715,   716,    -1,    79,
      89,    81,    82,    83,    -1,     3,     4,     5,    88,     7,
      85,    -1,    10,    85,    -1,    90,    -1,    90,    90,    -1,
      95,    19,    20,    95,    22,    -1,    -1,    -1,    26,    27,
      28,    -1,    -1,    -1,   753,    33,    34,    35,    36,    37,
      38,    39,    40,    41,    42,    -1,    44,    45,    46,    47,
      48,    49,    50,    51,    52,    53,    54,    -1,    56,    57,
      58,    59,    60,    61,    62,    63,    64,    65,    66,    67,
      68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
      78,    79,    80,    81,    82,    83,    -1,    85,    -1,    -1,
      88,    -1,    -1,    91,    92,    -1,     3,    95,     5,    -1,
       7,    -1,    -1,    -1,    17,    18,    19,    20,    21,    22,
      23,    -1,    19,    20,    -1,    22,    -1,    -1,    -1,    26,
      27,    28,    17,    18,    19,    20,    21,    22,    23,    24,
      37,    38,    -1,    40,    41,    42,    -1,    44,    45,    46,
      -1,    48,    49,    85,    51,    52,    -1,    -1,    90,    56,
      57,    58,    -1,    95,    -1,    -1,    63,    64,    65,    66,
      67,    68,    69,    70,    71,    72,    73,    -1,    75,    76,
      77,    78,    -1,    80,    81,    82,    83,    90,    85,     3,
       4,    88,    85,     7,    91,    92,    -1,    90,    95,    -1,
      -1,    -1,    95,    -1,    89,    19,    20,    -1,    22,    -1,
      -1,    85,    26,    -1,    28,    -1,    90,    -1,    -1,    33,
      34,    95,    -1,    37,    38,    -1,    40,    41,    42,    -1,
      -1,    45,    46,    47,    48,    49,    85,    -1,    52,    53,
      54,    90,    56,    57,    58,    85,    95,    -1,    -1,    63,
      90,    65,    66,    67,    68,    95,    85,    -1,    72,    -1,
      74,    90,     6,     7,    -1,    79,    95,    81,    82,    83,
      85,    85,    -1,    -1,    88,    90,    -1,    91,    92,    -1,
      95,    95,    26,    27,    28,    29,    30,    31,    32,    33,
      34,    35,    36,    37,    38,    39,    40,    41,    -1,    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,     6,
       7,    -1,    11,    12,    13,    14,    15,    16,    -1,    93,
      19,    17,    18,    19,    20,    21,    22,    23,    -1,    -1,
      27,    28,    29,    30,    31,    32,    33,    34,    35,    36,
      37,    38,    39,    40,    41,    -1,    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,     6,     7,    -1,    -1,
      -1,    -1,    -1,    -1,    90,    -1,    93,    -1,    17,    18,
      19,    20,    21,    22,    23,    -1,    -1,    27,    28,    29,
      30,    31,    32,    33,    34,    35,    36,    37,    38,    39,
      40,    41,    -1,    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,     6,     7,    -1,    -1,    -1,    -1,    -1,
      -1,    90,    -1,    93,    -1,    17,    18,    19,    20,    21,
      22,    23,    -1,    -1,    27,    28,    29,    30,    31,    32,
      33,    34,    35,    36,    37,    38,    39,    40,    41,    -1,
      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,
       3,     4,     5,    -1,     7,    -1,    -1,    10,    90,    -1,
      93,    -1,    -1,    -1,    -1,    -1,    19,    20,    19,    20,
      21,    22,    23,    24,    27,    -1,    -1,    30,    -1,    -1,
      33,    34,    35,    36,    37,    38,    39,    40,    41,    42,
      -1,    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,    -1,     3,     4,     5,    88,     7,    -1,    89,    10,
      17,    18,    19,    20,    21,    22,    23,    -1,    19,    20,
      19,    20,    21,    22,    23,    24,    27,    -1,    -1,    -1,
      -1,    -1,    33,    34,    35,    36,    37,    38,    39,    40,
      41,    42,    -1,    44,    45,    46,    47,    48,    49,    50,
      51,    52,    53,    54,    -1,    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,    90,     3,     4,     5,    88,     7,    -1,
      89,    90,    17,    18,    19,    20,    21,    22,    23,    -1,
      19,    20,    19,    20,    21,    22,    23,    24,    27,    -1,
      -1,    -1,    -1,    -1,    33,    34,    -1,    -1,    37,    38,
      -1,    40,    41,    42,    -1,    44,    45,    46,    47,    48,
      49,    85,    51,    52,    53,    54,    90,    56,    57,    58,
      -1,    95,    -1,    -1,    63,    64,    65,    66,    67,    68,
      69,    70,    71,    72,    73,    74,    75,    76,    77,    78,
      79,    80,    81,    82,    83,    90,     3,    -1,     5,    88,
       7,    -1,    -1,    90,    17,    18,    19,    20,    21,    22,
      23,    -1,    19,    20,    19,    20,    21,    22,    23,    24,
      27,    -1,    -1,    17,    18,    19,    20,    21,    22,    23,
      37,    38,    -1,    40,    41,    42,    -1,    44,    45,    46,
      -1,    48,    49,    85,    51,    52,    -1,    -1,    90,    56,
      57,    58,    -1,    95,    -1,    -1,    63,    64,    65,    66,
      67,    68,    69,    70,    71,    72,    73,    -1,    75,    76,
      77,    78,    -1,    80,    81,    82,    83,    90,     3,    -1,
      -1,    88,     7,    -1,    -1,    90,    -1,    17,    18,    19,
      20,    21,    22,    23,    19,    20,    90,    17,    18,    19,
      20,    21,    22,    23,    -1,    17,    18,    19,    20,    21,
      22,    23,    37,    38,    -1,    40,    41,    42,    -1,    -1,
      45,    46,    -1,    48,    49,    -1,     5,    52,    -1,    -1,
      -1,    56,    57,    58,    -1,    -1,    -1,    -1,    63,    -1,
      65,    66,    67,    68,    -1,    -1,    -1,    72,    27,    19,
      20,    21,    22,    23,    24,    -1,    81,    82,    83,    38,
      90,    40,    -1,    88,    -1,    44,    -1,    -1,    -1,    -1,
      90,    -1,    51,    -1,    -1,    -1,    -1,    56,    90,    -1,
      -1,    -1,    -1,     6,     7,    64,    -1,    -1,    67,    68,
      69,    70,    71,    -1,    73,    -1,    75,    76,    77,    78,
      -1,    80,    -1,    82,    27,    28,    29,    30,    31,    32,
      33,    34,    35,    36,    37,    38,    39,    40,    41,    89,
      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,
      17,    18,    19,    20,    21,    22,    23,    24,    17,    18,
      19,    20,    21,    22,    23,    24,    17,    18,    19,    20,
      21,    22,    23,    24,    17,    18,    19,    20,    21,    22,
      23,    24,    17,    18,    19,    20,    21,    22,    23,    24,
      17,    18,    19,    20,    21,    22,    23,    24,    17,    18,
      19,    20,    21,    22,    23,    24,    17,    18,    19,    20,
      21,    22,    23,    24,    17,    18,    19,    20,    21,    22,
      23,    24,    89,    11,    12,    13,    14,    15,    16,    -1,
      89,    19,    20,    21,    22,    23,    24,    -1,    89,    17,
      18,    19,    20,    21,    22,    23,    89,    17,    18,    19,
      20,    21,    22,    23,    89,    17,    18,    19,    20,    21,
      22,    23,    89,    17,    18,    19,    20,    21,    22,    23,
      89,    17,    18,    19,    20,    21,    22,    23,    89,    17,
      18,    19,    20,    21,    22,    23,    89,    17,    18,    19,
      20,    21,    22,    23,    24,    17,    18,    19,    20,    21,
      22,    23,    24,    17,    18,    19,    20,    21,    22,    23,
      24,    89,    17,    18,    19,    20,    21,    22,    23,    89,
      17,    18,    19,    20,    21,    22,    23,    89,    17,    18,
      19,    20,    21,    22,    23,    89,    17,    18,    19,    20,
      21,    22,    23,    89,    17,    18,    19,    20,    21,    22,
      23,    89,    17,    18,    19,    20,    21,    22,    23,    89,
      17,    18,    19,    20,    21,    22,    23,    89,    17,    18,
      19,    20,    21,    22,    23,    89,    17,    18,    19,    20,
      21,    22,    23,    -1,    89,    19,    20,    21,    22,    23,
      24,    -1,    89,    19,    20,    21,    22,    23,    24,    -1,
      89,    19,    20,    21,    22,    23,    24,    -1,    89,    19,
      20,    21,    22,    23,    24,    -1,    89,    19,    20,    21,
      22,    23,    24,    -1,    89,    19,    20,    21,    22,    23,
      24,    -1,    89,    19,    20,    21,    22,    23,    24,    -1,
      89,    19,    20,    21,    22,    23,    24,    -1,    89,    19,
      20,    21,    22,    23,    24,    -1,    90,    19,    20,    21,
      22,    23,    24,    89,    19,    20,    21,    22,    23,    24,
      -1,    89,    19,    20,    21,    22,    23,    24,    -1,    89,
      19,    20,    21,    22,    23,    24,    -1,    89,    19,    20,
      21,    22,    23,    24,    -1,    89,    17,    18,    19,    20,
      21,    22,    23,    89,    17,    18,    19,    20,    21,    22,
      23,    89,    17,    18,    19,    20,    21,    22,    23,    89,
      17,    18,    19,    20,    21,    22,    23,    89,    -1,    -1,
      -1,    -1,    -1,    -1,    89,    17,    18,    19,    20,    21,
      22,    23,    89,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      89,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    89,    -1,
      -1,    -1,    -1,    -1,    -1,    86,    -1,    -1,    -1,    -1,
      -1,    -1,    -1,    86,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    86,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    86,
      17,    18,    19,    20,    21,    22,    23,    24
};

  /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
     symbol of state STATE-NUM.  */
static const yytype_uint8 yystos[] =
{
       0,     3,     4,     5,     7,    10,    19,    20,    22,    26,
      27,    28,    30,    33,    34,    35,    36,    37,    38,    39,
      40,    41,    42,    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,    85,    88,    91,    92,    95,    97,   100,
     101,   102,   103,   104,   105,   106,   107,    82,    83,   101,
     102,   103,   104,    38,    40,    56,    67,    68,    82,    88,
     102,   103,   102,   103,     5,     7,    88,    88,    88,    88,
      88,    88,    88,    88,    88,    88,    88,    88,    88,    88,
      88,    88,    88,    88,    88,    88,    88,    88,    88,    88,
      88,    88,    88,    88,    88,    88,    88,    88,    88,    88,
      88,    88,    88,    88,    88,    88,    88,    88,    88,    88,
      88,     6,     7,    27,    28,    29,    30,    31,    32,    33,
      34,    35,    36,    37,    38,    39,    40,    41,    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,    98,    99,
      19,    20,    37,    38,    40,    56,    67,    68,    82,    88,
     102,   101,   102,   103,    93,    99,     0,    87,     8,     9,
      11,    12,    13,    14,    15,    16,    17,    18,    19,    20,
      21,    22,    23,    24,    11,    12,    13,    14,    15,    16,
      19,    20,    21,    22,    23,    24,    11,    12,    13,    14,
      15,    16,    19,    93,    99,    22,    85,    95,    88,    99,
      88,    88,    88,    88,    88,    88,   102,   103,    84,   102,
     103,   107,   107,   107,   107,   107,   107,   107,   107,   102,
     103,   107,   107,    83,   107,    89,    89,    40,    56,    73,
      82,   102,   103,   104,   107,   103,   107,   101,    83,   107,
     101,   102,   104,   107,   103,   103,   103,   103,    38,    40,
      56,    67,    68,    82,   104,   107,   104,   107,   107,   102,
     103,   104,   107,   102,   103,   104,   107,    89,    89,    89,
      89,   104,   103,   104,    38,    40,    56,    67,    68,    82,
     102,   104,   107,   102,   103,   102,   104,   104,   107,     7,
      84,    85,   102,   102,    88,    88,    88,    88,    88,    88,
      88,   102,    19,    20,    21,    22,    23,    86,    89,    89,
      89,   102,    82,    83,   100,   101,   101,   102,   103,   102,
     103,   102,   103,   102,   103,   102,   103,   102,   103,   102,
     102,   102,   103,   102,   103,   102,   103,   102,   103,   102,
     103,   102,   103,   102,   103,   102,   103,   102,   103,   102,
     103,   102,   103,   102,   103,   102,   103,   102,   103,   102,
     103,   102,   103,   102,   103,   102,   103,   104,   104,   104,
     104,   104,   104,   104,   102,    26,    93,    99,   102,    93,
      99,     7,    85,   107,   107,   101,   107,   107,     7,   102,
      89,    89,    90,    90,    90,    89,    89,    89,    90,    89,
      89,    89,    90,    90,    99,    89,    90,    88,    88,    88,
      88,    89,    89,    89,    89,    89,    89,    90,    99,    89,
      90,    89,    89,    89,    89,    89,    89,    89,    89,    88,
      88,    88,    88,    88,    88,    89,    89,    89,    89,    89,
      90,    90,    90,    90,    90,    90,    90,    90,    90,    89,
      89,    88,    88,    88,    88,    88,    88,    89,    89,    89,
      90,    89,    90,    89,    90,    90,    90,    89,    90,    84,
     102,   102,   102,   107,   107,   101,   102,   107,   102,   107,
       7,   102,   102,   102,   102,   102,    94,    88,    99,    94,
     102,    86,   102,    84,   102,    90,    90,    90,    90,    90,
      84,    32,   102,   103,   104,   101,   101,   102,   103,   104,
     102,   101,   102,    90,   101,   107,   101,   104,     7,   101,
     102,   103,   104,    90,   101,   107,   107,   101,   107,   107,
       7,   102,   103,   102,   103,   104,   102,   103,   104,   102,
     103,   102,   103,   104,   102,   103,   104,   104,   107,   107,
     101,   107,   107,     7,   102,   104,   104,   102,   104,   101,
     102,    86,    90,    90,    90,    90,    90,    90,    90,    84,
       7,    85,    94,    94,   102,    86,   102,   103,   102,   103,
     102,   102,    89,    89,    89,    89,    89,    89,    89,    89,
      89,    90,    89,    89,   101,    89,    90,    90,    90,    84,
      90,    90,    90,    90,   101,    89,    90,    90,    90,    90,
      90,    84,    89,    89,    89,    89,    89,    89,    89,    89,
      89,    89,    89,    89,    89,    89,    89,    89,    89,    90,
      90,    90,    90,    90,    90,    84,    89,    89,    89,    90,
      89,    89,    90,    90,    84,   102,   102,   102,   102,   102,
     102,   102,   102,    84,   102,    90,    90,    29,    31,   102,
      89,   104,   104,   104,   102,   101,   102,   103,   102,   103,
     104,    89,   102,   102,   104,   102,   104,   101,   100,   101,
     102,   103,   104,   102,    90,    90,   102,    86,   102,   103,
     100,   102,    89,    90,    89,    89,    89,    89,    89,    89,
      90,    89,    89,    90,    89,    89,    89,    89,    89,    89,
      89,   102,   102,    90,    29,   104,   100
};

  /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
static const yytype_uint8 yyr1[] =
{
       0,    96,    97,    97,    97,    97,    97,    97,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    98,    98,    98,    98,    98,    98,    98,    98,
      98,    98,    98,    98,    99,    99,   100,   100,   100,   100,
     100,   100,   100,   101,   101,   101,   101,   101,   101,   101,
     101,   101,   101,   101,   101,   101,   101,   101,   101,   101,
     101,   101,   101,   101,   101,   101,   101,   101,   101,   101,
     101,   101,   101,   101,   101,   101,   101,   101,   101,   101,
     101,   101,   101,   101,   101,   101,   101,   101,   101,   101,
     101,   102,   102,   102,   102,   102,   102,   102,   102,   102,
     102,   102,   102,   102,   102,   102,   102,   102,   102,   102,
     102,   102,   102,   102,   102,   102,   102,   102,   102,   102,
     102,   102,   102,   102,   102,   102,   102,   102,   102,   102,
     102,   102,   102,   102,   102,   103,   103,   103,   103,   103,
     103,   103,   103,   103,   103,   103,   103,   103,   103,   103,
     103,   103,   103,   103,   103,   103,   103,   103,   103,   103,
     103,   103,   103,   103,   103,   103,   103,   103,   103,   103,
     103,   103,   103,   103,   103,   103,   103,   103,   103,   103,
     103,   103,   103,   104,   104,   104,   104,   104,   104,   104,
     104,   104,   104,   104,   104,   104,   104,   104,   104,   104,
     104,   104,   104,   104,   104,   104,   104,   104,   104,   104,
     104,   104,   104,   104,   104,   105,   106,   106,   106,   106,
     106,   106,   106,   106,   106,   106,   106,   106,   106,   106,
     106,   107,   107
};

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


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

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


#define YYRECOVERING()  (!!yyerrstatus)

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

/* Error token number */
#define YYTERROR        1
#define YYERRCODE       256



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

/* This macro is provided for backward compatibility. */
#ifndef YY_LOCATION_PRINT
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif


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


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

static void
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *scanner)
{
  FILE *yyo = yyoutput;
  YYUSE (yyo);
  YYUSE (scanner);
  if (!yyvaluep)
    return;
# ifdef YYPRINT
  if (yytype < YYNTOKENS)
    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
# endif
  YYUSE (yytype);
}


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

static void
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void *scanner)
{
  YYFPRINTF (yyoutput, "%s %s (",
             yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);

  yy_symbol_value_print (yyoutput, yytype, yyvaluep, scanner);
  YYFPRINTF (yyoutput, ")");
}

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

static void
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *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 (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void *scanner)
{
  unsigned long int yylno = yyrline[yyrule];
  int yynrhs = yyr2[yyrule];
  int yyi;
  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
             yyrule - 1, yylno);
  /* The symbols being reduced.  */
  for (yyi = 0; yyi < yynrhs; yyi++)
    {
      YYFPRINTF (stderr, "   $%d = ", yyi + 1);
      yy_symbol_print (stderr,
                       yystos[yyssp[yyi + 1 - yynrhs]],
                       &(yyvsp[(yyi + 1) - (yynrhs)])
                                              , scanner);
      YYFPRINTF (stderr, "\n");
    }
}

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

/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
# define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */


/* YYINITDEPTH -- initial size of the parser's stacks.  */
#ifndef YYINITDEPTH
# define YYINITDEPTH 200
#endif

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

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

#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
#endif


#if YYERROR_VERBOSE

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

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

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

  return yyd - 1;
}
#  endif
# endif

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

      for (;;)
        switch (*++yyp)
          {
          case '\'':
          case ',':
            goto do_not_strip_quotes;

          case '\\':
            if (*++yyp != '\\')
              goto do_not_strip_quotes;
            /* Fall through.  */
          default:
            if (yyres)
              yyres[yyn] = *yyp;
            yyn++;
            break;

          case '"':
            if (yyres)
              yyres[yyn] = '\0';
            return yyn;
          }
    do_not_strip_quotes: ;
    }

  if (! yyres)
    return yystrlen (yystr);

  return yystpcpy (yyres, yystr) - yyres;
}
# endif

/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
   about the unexpected token YYTOKEN for the state stack whose top is
   YYSSP.

   Return 0 if *YYMSG was successfully written.  Return 1 if *YYMSG is
   not large enough to hold the message.  In that case, also set
   *YYMSG_ALLOC to the required number of bytes.  Return 2 if the
   required number of bytes is too large to store.  */
static int
yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
                yytype_int16 *yyssp, int yytoken)
{
  YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
  YYSIZE_T yysize = yysize0;
  enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
  /* Internationalized format string. */
  const char *yyformat = YY_NULLPTR;
  /* Arguments of yyformat. */
  char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
  /* Number of reported tokens (one for the "unexpected", one per
     "expected"). */
  int yycount = 0;

  /* There are many possibilities here to consider:
     - If this state is a consistent state with a default action, then
       the only way this function was invoked is if the default action
       is an error action.  In that case, don't check for expected
       tokens because there are none.
     - The only way there can be no lookahead present (in yychar) is if
       this state is a consistent state with a default action.  Thus,
       detecting the absence of a lookahead is sufficient to determine
       that there is no unexpected or expected token to report.  In that
       case, just report a simple "syntax error".
     - Don't assume there isn't a lookahead just because this state is a
       consistent state with a default action.  There might have been a
       previous inconsistent state, consistent state with a non-default
       action, or user semantic action that manipulated yychar.
     - Of course, the expected token list depends on states to have
       correct lookahead information, and it depends on the parser not
       to perform extra reductions after fetching a lookahead from the
       scanner and before detecting a syntax error.  Thus, state merging
       (from LALR or IELR) and default reductions corrupt the expected
       token list.  However, the list is correct for canonical LR with
       one exception: it will still contain any token that will not be
       accepted due to an error action in a later state.
  */
  if (yytoken != YYEMPTY)
    {
      int yyn = yypact[*yyssp];
      yyarg[yycount++] = yytname[yytoken];
      if (!yypact_value_is_default (yyn))
        {
          /* Start YYX at -YYN if negative to avoid negative indexes in
             YYCHECK.  In other words, skip the first -YYN actions for
             this state because they are default actions.  */
          int yyxbegin = yyn < 0 ? -yyn : 0;
          /* Stay within bounds of both yycheck and yytname.  */
          int yychecklim = YYLAST - yyn + 1;
          int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
          int yyx;

          for (yyx = yyxbegin; yyx < yyxend; ++yyx)
            if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
                && !yytable_value_is_error (yytable[yyx + yyn]))
              {
                if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
                  {
                    yycount = 1;
                    yysize = yysize0;
                    break;
                  }
                yyarg[yycount++] = yytname[yyx];
                {
                  YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
                  if (! (yysize <= yysize1
                         && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
                    return 2;
                  yysize = yysize1;
                }
              }
        }
    }

  switch (yycount)
    {
# define YYCASE_(N, S)                      \
      case N:                               \
        yyformat = S;                       \
      break
      YYCASE_(0, YY_("syntax error"));
      YYCASE_(1, YY_("syntax error, unexpected %s"));
      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
# undef YYCASE_
    }

  {
    YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
    if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
      return 2;
    yysize = yysize1;
  }

  if (*yymsg_alloc < yysize)
    {
      *yymsg_alloc = 2 * yysize;
      if (! (yysize <= *yymsg_alloc
             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
      return 1;
    }

  /* Avoid sprintf, as that infringes on the user's name space.
     Don't have undefined behavior even if the translation
     produced a string with the wrong number of "%s"s.  */
  {
    char *yyp = *yymsg;
    int yyi = 0;
    while ((*yyp = *yyformat) != '\0')
      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
        {
          yyp += yytnamerr (yyp, yyarg[yyi++]);
          yyformat += 2;
        }
      else
        {
          yyp++;
          yyformat++;
        }
  }
  return 0;
}
#endif /* YYERROR_VERBOSE */

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

static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, void *scanner)
{
  YYUSE (yyvaluep);
  YYUSE (scanner);
  if (!yymsg)
    yymsg = "Deleting";
  YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  switch (yytype)
    {
          case 3: /* INT_VALUE  */
#line 167 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { free(((*yyvaluep).stringval)); }
#line 2057 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 4: /* FLOAT_VALUE  */
#line 167 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { free(((*yyvaluep).stringval)); }
#line 2063 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 5: /* STRING_VALUE  */
#line 167 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { free(((*yyvaluep).stringval)); }
#line 2069 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 6: /* NAME  */
#line 167 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { free(((*yyvaluep).stringval)); }
#line 2075 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 99: /* identifier  */
#line 167 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { free(((*yyvaluep).stringval)); }
#line 2081 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 100: /* voidexpr  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2087 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 101: /* boolexpr  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2093 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 102: /* intexpr  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2099 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 103: /* floatexpr  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2105 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 104: /* stringexpr  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2111 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;

    case 107: /* node  */
#line 166 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1257  */
      { coda_expression_delete(((*yyvaluep).expr)); }
#line 2117 "libcoda/coda-expr-parser.c" /* yacc.c:1257  */
        break;


      default:
        break;
    }
  YY_IGNORE_MAYBE_UNINITIALIZED_END
}




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

int
yyparse (void *scanner)
{
/* The lookahead symbol.  */
int yychar;


/* The semantic value of the lookahead symbol.  */
/* Default value used for initialization, for pacifying older GCCs
   or non-GCC compilers.  */
YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);

    /* Number of syntax errors so far.  */
    int yynerrs;

    int yystate;
    /* Number of tokens to shift before error messages enabled.  */
    int yyerrstatus;

    /* The stacks and their tools:
       'yyss': related to states.
       'yyvs': related to semantic values.

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

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

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

    YYSIZE_T yystacksize;

  int yyn;
  int yyresult;
  /* Lookahead token as an internal (translated) token number.  */
  int yytoken = 0;
  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;

#if YYERROR_VERBOSE
  /* Buffer for error messages, and its allocated size.  */
  char yymsgbuf[128];
  char *yymsg = yymsgbuf;
  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif

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

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

  yyssp = yyss = yyssa;
  yyvsp = yyvs = yyvsa;
  yystacksize = YYINITDEPTH;

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

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

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

 yysetstate:
  *yyssp = yystate;

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

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

        /* Each stack pointer address is followed by the size of the
           data in use in that stack, in bytes.  This used to be a
           conditional around just the two extra args, but that might
           be undefined if yyoverflow is a macro.  */
        yyoverflow (YY_("memory exhausted"),
                    &yyss1, yysize * sizeof (*yyssp),
                    &yyvs1, yysize * sizeof (*yyvsp),
                    &yystacksize);

        yyss = yyss1;
        yyvs = yyvs1;
      }
#else /* no yyoverflow */
# ifndef YYSTACK_RELOCATE
      goto yyexhaustedlab;
# else
      /* Extend the stack our own way.  */
      if (YYMAXDEPTH <= yystacksize)
        goto yyexhaustedlab;
      yystacksize *= 2;
      if (YYMAXDEPTH < yystacksize)
        yystacksize = YYMAXDEPTH;

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

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

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

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

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

  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 YYEMPTY or YYEOF or a valid lookahead symbol.  */
  if (yychar == YYEMPTY)
    {
      YYDPRINTF ((stderr, "Reading a token: "));
      yychar = yylex (&yylval, scanner);
    }

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

  /* If the proper action on seeing token YYTOKEN is to reduce or to
     detect an error, take that action.  */
  yyn += yytoken;
  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
    goto yydefault;
  yyn = yytable[yyn];
  if (yyn <= 0)
    {
      if (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);

  /* Discard the shifted token.  */
  yychar = YYEMPTY;

  yystate = yyn;
  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END

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


  YY_REDUCE_PRINT (yyn);
  switch (yyn)
    {
        case 2:
#line 181 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2385 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 3:
#line 182 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2391 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 4:
#line 183 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2397 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 5:
#line 184 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2403 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 6:
#line 185 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2409 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 7:
#line 186 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { parsed_expression = (yyvsp[0].expr); }
#line 2415 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 8:
#line 189 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "r"; }
#line 2421 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 9:
#line 190 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "asciiline"; }
#line 2427 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 10:
#line 191 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "do"; }
#line 2433 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 11:
#line 192 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "for"; }
#line 2439 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 12:
#line 193 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "step"; }
#line 2445 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 13:
#line 194 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "to"; }
#line 2451 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 14:
#line 195 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "nan"; }
#line 2457 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 15:
#line 196 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "inf"; }
#line 2463 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 16:
#line 197 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "true"; }
#line 2469 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 17:
#line 198 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "false"; }
#line 2475 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 18:
#line 199 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "abs"; }
#line 2481 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 19:
#line 200 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "add"; }
#line 2487 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 20:
#line 201 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "all"; }
#line 2493 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 21:
#line 202 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "at"; }
#line 2499 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 22:
#line 203 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "bitoffset"; }
#line 2505 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 23:
#line 204 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "bool"; }
#line 2511 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 24:
#line 205 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "bytes"; }
#line 2517 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 25:
#line 206 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "byteoffset"; }
#line 2523 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 26:
#line 207 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "bytesize"; }
#line 2529 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 27:
#line 208 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "ceil"; }
#line 2535 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 28:
#line 209 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "count"; }
#line 2541 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 29:
#line 210 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "dim"; }
#line 2547 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 30:
#line 211 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "exists"; }
#line 2553 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 31:
#line 212 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "filename"; }
#line 2559 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 32:
#line 213 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "filesize"; }
#line 2565 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 33:
#line 214 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "float"; }
#line 2571 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 34:
#line 215 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "floor"; }
#line 2577 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 35:
#line 216 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "goto"; }
#line 2583 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 36:
#line 217 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "if"; }
#line 2589 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 37:
#line 218 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "index"; }
#line 2595 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 38:
#line 219 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "int"; }
#line 2601 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 39:
#line 220 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "isnan"; }
#line 2607 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 40:
#line 221 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "isinf"; }
#line 2613 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 41:
#line 222 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "isplusinf"; }
#line 2619 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 42:
#line 223 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "ismininf"; }
#line 2625 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 43:
#line 224 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "length"; }
#line 2631 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 44:
#line 225 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "ltrim"; }
#line 2637 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 45:
#line 226 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "numdims"; }
#line 2643 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 46:
#line 227 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "numelements"; }
#line 2649 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 47:
#line 228 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "max"; }
#line 2655 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 48:
#line 229 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "min"; }
#line 2661 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 49:
#line 230 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "productclass"; }
#line 2667 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 50:
#line 231 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "productformat"; }
#line 2673 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 51:
#line 232 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "producttype"; }
#line 2679 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 52:
#line 233 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "productversion"; }
#line 2685 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 53:
#line 234 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "regex"; }
#line 2691 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 54:
#line 235 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "round"; }
#line 2697 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 55:
#line 236 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "rtrim"; }
#line 2703 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 56:
#line 237 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "str"; }
#line 2709 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 57:
#line 238 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "strtime"; }
#line 2715 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 58:
#line 239 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "substr"; }
#line 2721 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 59:
#line 240 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "time"; }
#line 2727 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 60:
#line 241 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "trim"; }
#line 2733 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 61:
#line 242 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "unboundindex"; }
#line 2739 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 62:
#line 243 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = "with"; }
#line 2745 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 65:
#line 249 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.stringval) = strdup((yyvsp[0].stringval)); }
#line 2751 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 66:
#line 253 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_set, (yyvsp[-2].stringval), NULL, (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2760 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 67:
#line 257 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_set, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2769 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 68:
#line 261 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_sequence, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2778 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 69:
#line 265 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_for, (yyvsp[-6].stringval), (yyvsp[-4].expr), (yyvsp[-2].expr), NULL, (yyvsp[0].expr));
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2787 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 70:
#line 269 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_for, (yyvsp[-8].stringval), (yyvsp[-6].expr), (yyvsp[-4].expr), (yyvsp[-2].expr), (yyvsp[0].expr));
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2796 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 71:
#line 273 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2805 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 72:
#line 277 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_with, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2814 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 73:
#line 284 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_boolean, strdup("true"), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2823 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 74:
#line 288 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_boolean, strdup("false"), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2832 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 75:
#line 292 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_logical_and, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2841 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 76:
#line 296 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_logical_or, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2850 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 77:
#line 300 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not, NULL, (yyvsp[0].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2859 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 78:
#line 304 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2868 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 79:
#line 308 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2877 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 80:
#line 312 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2886 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 81:
#line 316 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2895 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 82:
#line 320 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2904 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 83:
#line 324 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2913 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 84:
#line 328 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2922 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 85:
#line 332 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2931 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 86:
#line 336 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2940 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 87:
#line 340 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2949 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 88:
#line 344 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2958 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 89:
#line 348 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2967 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 90:
#line 352 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2976 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 91:
#line 356 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2985 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 92:
#line 360 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 2994 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 93:
#line 364 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3003 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 94:
#line 368 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3012 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 95:
#line 372 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3021 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 96:
#line 376 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3030 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 97:
#line 380 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3039 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 98:
#line 384 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3048 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 99:
#line 388 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3057 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 100:
#line 392 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3066 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 101:
#line 396 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3075 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 102:
#line 400 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3084 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 103:
#line 404 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_not_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3093 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 104:
#line 408 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3102 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 105:
#line 412 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3111 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 106:
#line 416 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_greater_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3120 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 107:
#line 420 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_less_equal, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3129 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 108:
#line 424 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[-1].expr); }
#line 3135 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 109:
#line 425 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_isnan, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3144 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 110:
#line 429 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_isinf, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3153 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 111:
#line 433 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_isplusinf, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3162 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 112:
#line 437 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_ismininf, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3171 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 113:
#line 441 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_regex, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3180 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 114:
#line 445 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_exists, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3189 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 115:
#line 449 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_exists, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3198 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 116:
#line 453 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_exists, (yyvsp[-3].stringval), (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3207 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 117:
#line 457 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_all, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3216 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 118:
#line 461 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3225 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 119:
#line 465 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_at, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3234 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 120:
#line 469 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_with, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3243 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 121:
#line 476 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_integer, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3252 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 122:
#line 480 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = (yyvsp[-1].expr);
        }
#line 3260 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 123:
#line 483 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_integer, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3269 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 124:
#line 487 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_integer, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3278 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 125:
#line 491 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_integer, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3287 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 126:
#line 495 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_value, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3296 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 127:
#line 499 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_value, (yyvsp[-3].stringval), (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3305 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 128:
#line 503 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_index_var, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3314 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 129:
#line 507 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_neg, NULL, (yyvsp[0].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3323 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 130:
#line 511 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[0].expr); }
#line 3329 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 131:
#line 512 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_add, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3338 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 132:
#line 516 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_subtract, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3347 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 133:
#line 520 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_multiply, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3356 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 134:
#line 524 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_divide, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3365 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 135:
#line 528 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_modulo, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3374 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 136:
#line 532 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_and, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3383 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 137:
#line 536 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_or, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3392 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 138:
#line 540 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[-1].expr); }
#line 3398 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 139:
#line 541 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_abs, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3407 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 140:
#line 545 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3416 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 141:
#line 549 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3425 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 142:
#line 553 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3434 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 143:
#line 557 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3443 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 144:
#line 561 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_num_elements, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3452 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 145:
#line 565 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_num_dims, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3461 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 146:
#line 569 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_dim, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3470 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 147:
#line 573 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_count, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3479 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 148:
#line 577 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_add, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3488 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 149:
#line 581 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_length, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3497 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 150:
#line 585 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_length, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3506 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 151:
#line 589 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_bit_size, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3515 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 152:
#line 593 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_byte_size, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3524 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 153:
#line 597 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_product_version, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3533 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 154:
#line 601 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_file_size, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3542 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 155:
#line 605 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_bit_offset, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3551 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 156:
#line 609 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_byte_offset, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3560 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 157:
#line 613 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_index, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3569 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 158:
#line 617 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_index, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3578 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 159:
#line 621 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_variable_index, (yyvsp[-3].stringval), (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3587 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 160:
#line 625 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3596 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 161:
#line 629 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_unbound_array_index, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3605 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 162:
#line 633 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_unbound_array_index, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3614 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 163:
#line 637 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_at, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3623 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 164:
#line 641 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_with, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3632 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 165:
#line 648 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_float, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3641 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 166:
#line 652 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_float, strdup("nan"), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3650 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 167:
#line 656 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_float, strdup("inf"), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3659 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 168:
#line 660 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = (yyvsp[-1].expr);
        }
#line 3667 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 169:
#line 663 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_float, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3676 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 170:
#line 667 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_float, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3685 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 171:
#line 671 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_float, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3694 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 172:
#line 675 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_neg, NULL, (yyvsp[0].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3703 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 173:
#line 679 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[0].expr); }
#line 3709 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 174:
#line 680 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_add, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3718 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 175:
#line 684 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_add, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3727 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 176:
#line 688 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_add, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3736 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 177:
#line 692 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_subtract, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3745 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 178:
#line 696 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_subtract, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3754 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 179:
#line 700 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_subtract, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3763 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 180:
#line 704 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_multiply, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3772 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 181:
#line 708 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_multiply, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3781 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 182:
#line 712 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_multiply, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3790 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 183:
#line 716 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_divide, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3799 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 184:
#line 720 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_divide, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3808 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 185:
#line 724 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_divide, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3817 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 186:
#line 728 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_modulo, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3826 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 187:
#line 732 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_modulo, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3835 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 188:
#line 736 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_modulo, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3844 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 189:
#line 740 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_power, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3853 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 190:
#line 744 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_power, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3862 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 191:
#line 748 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_power, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3871 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 192:
#line 752 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_power, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3880 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 193:
#line 756 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[-1].expr); }
#line 3886 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 194:
#line 757 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_abs, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3895 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 195:
#line 761 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_ceil, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3904 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 196:
#line 765 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_floor, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3913 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 197:
#line 769 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_round, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3922 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 198:
#line 773 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3931 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 199:
#line 777 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3940 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 200:
#line 781 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3949 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 201:
#line 785 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3958 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 202:
#line 789 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3967 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 203:
#line 793 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3976 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 204:
#line 797 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3985 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 205:
#line 801 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 3994 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 206:
#line 805 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_time, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4003 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 207:
#line 809 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_add, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4012 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 208:
#line 813 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4021 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 209:
#line 817 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4030 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 210:
#line 821 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4039 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 211:
#line 825 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_at, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4048 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 212:
#line 829 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_with, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4057 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 213:
#line 836 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_string, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4066 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 214:
#line 840 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_constant_rawstring, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4075 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 215:
#line 844 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = (yyvsp[-1].expr);
        }
#line 4083 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 216:
#line 847 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_string, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4092 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 217:
#line 851 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_string, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4101 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 218:
#line 855 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_string, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4110 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 219:
#line 859 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_bytes, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4119 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 220:
#line 863 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_bytes, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4128 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 221:
#line 867 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_bytes, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4137 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 222:
#line 871 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_add, NULL, (yyvsp[-2].expr), (yyvsp[0].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4146 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 223:
#line 875 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_substr, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4155 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 224:
#line 879 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_ltrim, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4164 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 225:
#line 883 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_rtrim, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4173 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 226:
#line 887 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_trim, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4182 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 227:
#line 891 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4191 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 228:
#line 895 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_max, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4200 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 229:
#line 899 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4209 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 230:
#line 903 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_min, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4218 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 231:
#line 907 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_array_add, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4227 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 232:
#line 911 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_regex, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4236 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 233:
#line 915 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_regex, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4245 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 234:
#line 919 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_product_class, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4254 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 235:
#line 923 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_product_format, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4263 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 236:
#line 927 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_product_type, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4272 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 237:
#line 931 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_filename, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4281 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 238:
#line 935 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_strtime, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4290 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 239:
#line 939 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_strtime, NULL, (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4299 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 240:
#line 943 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_strtime, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4308 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 241:
#line 947 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_strtime, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4317 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 242:
#line 951 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_if, NULL, (yyvsp[-5].expr), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4326 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 243:
#line 955 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_at, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4335 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 244:
#line 959 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_with, (yyvsp[-5].stringval), (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4344 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 245:
#line 966 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_root, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4353 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 246:
#line 973 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_here, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4362 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 247:
#line 977 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_begin, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4371 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 248:
#line 981 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_parent, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4380 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 249:
#line 985 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_asciiline, NULL, NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4389 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 250:
#line 989 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_field, (yyvsp[0].stringval), (yyvsp[-1].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4398 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 251:
#line 993 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_field, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4407 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 252:
#line 997 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_parent, NULL, (yyvsp[-2].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4416 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 253:
#line 1001 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_field, (yyvsp[0].stringval), (yyvsp[-2].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4425 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 254:
#line 1005 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_field, NULL, (yyvsp[-4].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4434 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 255:
#line 1009 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_array_element, NULL, NULL, (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4443 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 256:
#line 1013 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_array_element, NULL, (yyvsp[-3].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4452 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 257:
#line 1017 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_attribute, (yyvsp[0].stringval), NULL, NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4461 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 258:
#line 1021 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_attribute, NULL, NULL, (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4470 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 259:
#line 1025 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_attribute, (yyvsp[0].stringval), (yyvsp[-2].expr), NULL, NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4479 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 260:
#line 1029 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    {
            (yyval.expr) = coda_expression_new(expr_goto_attribute, NULL, (yyvsp[-4].expr), (yyvsp[-1].expr), NULL, NULL);
            if ((yyval.expr) == NULL) YYERROR;
        }
#line 4488 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 261:
#line 1036 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[0].expr); }
#line 4494 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;

  case 262:
#line 1037 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1646  */
    { (yyval.expr) = (yyvsp[0].expr); }
#line 4500 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
    break;


#line 4504 "libcoda/coda-expr-parser.c" /* yacc.c:1646  */
      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 ("-> $$ =", yyr1[yyn], &yyval, &yyloc);

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

  *++yyvsp = yyval;

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

  yyn = yyr1[yyn];

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

  goto yynewstate;


/*--------------------------------------.
| yyerrlab -- here on detecting error.  |
`--------------------------------------*/
yyerrlab:
  /* Make sure we have latest lookahead translation.  See comments at
     user semantic actions for why this is necessary.  */
  yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);

  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
    {
      ++yynerrs;
#if ! YYERROR_VERBOSE
      yyerror (scanner, YY_("syntax error"));
#else
# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
                                        yyssp, yytoken)
      {
        char const *yymsgp = YY_("syntax error");
        int yysyntax_error_status;
        yysyntax_error_status = YYSYNTAX_ERROR;
        if (yysyntax_error_status == 0)
          yymsgp = yymsg;
        else if (yysyntax_error_status == 1)
          {
            if (yymsg != yymsgbuf)
              YYSTACK_FREE (yymsg);
            yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
            if (!yymsg)
              {
                yymsg = yymsgbuf;
                yymsg_alloc = sizeof yymsgbuf;
                yysyntax_error_status = 2;
              }
            else
              {
                yysyntax_error_status = YYSYNTAX_ERROR;
                yymsgp = yymsg;
              }
          }
        yyerror (scanner, yymsgp);
        if (yysyntax_error_status == 2)
          goto yyexhaustedlab;
      }
# undef YYSYNTAX_ERROR
#endif
    }



  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, scanner);
          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 like GCC when the user code never invokes
     YYERROR and the label yyerrorlab therefore never appears in user
     code.  */
  if (/*CONSTCOND*/ 0)
     goto yyerrorlab;

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

  for (;;)
    {
      yyn = yypact[yystate];
      if (!yypact_value_is_default (yyn))
        {
          yyn += YYTERROR;
          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
            {
              yyn = yytable[yyn];
              if (0 < yyn)
                break;
            }
        }

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


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

  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  *++yyvsp = yylval;
  YY_IGNORE_MAYBE_UNINITIALIZED_END


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

  yystate = yyn;
  goto yynewstate;


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

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

#if !defined yyoverflow || YYERROR_VERBOSE
/*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here.  |
`-------------------------------------------------*/
yyexhaustedlab:
  yyerror (scanner, YY_("memory exhausted"));
  yyresult = 2;
  /* Fall through.  */
#endif

yyreturn:
  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, scanner);
    }
  /* 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",
                  yystos[*yyssp], yyvsp, scanner);
      YYPOPSTACK (1);
    }
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif
#if YYERROR_VERBOSE
  if (yymsg != yymsgbuf)
    YYSTACK_FREE (yymsg);
#endif
  return yyresult;
}
#line 1040 "../coda/libcoda/coda-expr-parser.y" /* yacc.c:1906  */


/* *INDENT-ON* */

LIBCODA_API int coda_expression_from_string(const char *exprstring, coda_expression **expr)
{
    void *scanner;
    void *bufstate;

    if (exprstring == NULL)
    {
        coda_set_error(CODA_ERROR_INVALID_ARGUMENT, "invalid expression string argument (%s:%u)", __FILE__, __LINE__);
        return -1;
    }
    if (expr == NULL)
    {
        coda_set_error(CODA_ERROR_INVALID_ARGUMENT, "invalid expression argument (%s:%u)", __FILE__, __LINE__);
        return -1;
    }

    coda_errno = 0;
    parsed_expression = NULL;
    coda_expression_lex_init(&scanner);
    bufstate = (void *)coda_expression__scan_string(exprstring, scanner);
    if (coda_expression_parse(scanner) != 0)
    {
        if (coda_errno == 0)
        {
            coda_set_error(CODA_ERROR_EXPRESSION, NULL);
        }
        coda_expression__delete_buffer(bufstate, scanner);
        coda_expression_lex_destroy(scanner);
        return -1;
    }
    coda_expression__delete_buffer(bufstate, scanner);
    coda_expression_lex_destroy(scanner);
    *expr = parsed_expression;

    return 0;
}
