mirror of https://github.com/ecmwf/eccodes.git
4424 lines
174 KiB
C
4424 lines
174 KiB
C
|
||
/* A Bison parser, made by GNU Bison 2.4.1. */
|
||
|
||
/* Skeleton implementation for Bison's Yacc-like parsers in C
|
||
|
||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||
Free Software Foundation, Inc.
|
||
|
||
This program is free software: you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
||
the Free Software Foundation, either version 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 grib_yy or YY, to avoid
|
||
infringing on user name space. This should be done even for local
|
||
variables, as they might otherwise be expanded by user macros.
|
||
There are some unavoidable exceptions within include files to
|
||
define necessary library symbols; they are noted "INFRINGES ON
|
||
USER NAME SPACE" below. */
|
||
|
||
/* Identify Bison output. */
|
||
#define YYBISON 1
|
||
|
||
/* Bison version. */
|
||
#define YYBISON_VERSION "2.4.1"
|
||
|
||
/* Skeleton name. */
|
||
#define YYSKELETON_NAME "yacc.c"
|
||
|
||
/* Pure parsers. */
|
||
#define YYPURE 0
|
||
|
||
/* Push parsers. */
|
||
#define YYPUSH 0
|
||
|
||
/* Pull parsers. */
|
||
#define YYPULL 1
|
||
|
||
/* Using locations. */
|
||
#define YYLSP_NEEDED 0
|
||
|
||
|
||
|
||
/* Copy the first part of user declarations. */
|
||
|
||
/* Line 189 of yacc.c */
|
||
#line 12 "griby.y"
|
||
|
||
|
||
#include "grib_api_internal.h"
|
||
/* #include "grib_parser.h" */
|
||
|
||
extern int grib_yylex();
|
||
extern int grib_yyerror(const char*);
|
||
|
||
extern grib_action* grib_parser_all_actions;
|
||
extern grib_concept_value* grib_parser_concept;
|
||
extern grib_hash_array_value* grib_parser_hash_array;
|
||
extern grib_context* grib_parser_context;
|
||
extern grib_rule* grib_parser_rules;
|
||
|
||
static grib_concept_value* reverse_concept(grib_concept_value* r);
|
||
static grib_concept_value *_reverse_concept(grib_concept_value *r,grib_concept_value *s);
|
||
static grib_hash_array_value* reverse_hash_array(grib_hash_array_value* r);
|
||
static grib_hash_array_value *_reverse_hash_array(grib_hash_array_value *r,grib_hash_array_value *s);
|
||
|
||
/* typedef int (*testp_proc)(long,long); */
|
||
/* typedef long (*grib_op_proc)(long,long); */
|
||
|
||
|
||
|
||
|
||
/* Line 189 of yacc.c */
|
||
#line 99 "y.tab.c"
|
||
|
||
/* Enabling traces. */
|
||
#ifndef YYDEBUG
|
||
# define YYDEBUG 0
|
||
#endif
|
||
|
||
/* Enabling verbose error messages. */
|
||
#ifdef YYERROR_VERBOSE
|
||
# undef YYERROR_VERBOSE
|
||
# define YYERROR_VERBOSE 1
|
||
#else
|
||
# define YYERROR_VERBOSE 0
|
||
#endif
|
||
|
||
/* Enabling the token table. */
|
||
#ifndef YYTOKEN_TABLE
|
||
# define YYTOKEN_TABLE 0
|
||
#endif
|
||
|
||
|
||
/* Tokens. */
|
||
#ifndef YYTOKENTYPE
|
||
# define YYTOKENTYPE
|
||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||
know about them. */
|
||
enum grib_yytokentype {
|
||
LOWERCASE = 258,
|
||
IF = 259,
|
||
IF_TRANSIENT = 260,
|
||
ELSE = 261,
|
||
END = 262,
|
||
CLOSE = 263,
|
||
UNSIGNED = 264,
|
||
TEMPLATE = 265,
|
||
TEMPLATE_NOFAIL = 266,
|
||
TRIGGER = 267,
|
||
ASCII = 268,
|
||
GROUP = 269,
|
||
NON_ALPHA = 270,
|
||
KSEC1EXPVER = 271,
|
||
LABEL = 272,
|
||
LIST = 273,
|
||
IS_IN_LIST = 274,
|
||
IS_IN_DICT = 275,
|
||
IS_INTEGER = 276,
|
||
TO_INTEGER = 277,
|
||
TO_STRING = 278,
|
||
SEX2DEC = 279,
|
||
WHILE = 280,
|
||
IBMFLOAT = 281,
|
||
SIGNED = 282,
|
||
UINT8 = 283,
|
||
INT8 = 284,
|
||
UINT16 = 285,
|
||
INT16 = 286,
|
||
UINT16_LITTLE_ENDIAN = 287,
|
||
INT16_LITTLE_ENDIAN = 288,
|
||
UINT32 = 289,
|
||
INT32 = 290,
|
||
UINT32_LITTLE_ENDIAN = 291,
|
||
INT32_LITTLE_ENDIAN = 292,
|
||
UINT64 = 293,
|
||
INT64 = 294,
|
||
UINT64_LITTLE_ENDIAN = 295,
|
||
INT64_LITTLE_ENDIAN = 296,
|
||
BLOB = 297,
|
||
BYTE = 298,
|
||
CODETABLE = 299,
|
||
SMART_TABLE = 300,
|
||
DICTIONARY = 301,
|
||
COMPLEX_CODETABLE = 302,
|
||
LOOKUP = 303,
|
||
ALIAS = 304,
|
||
UNALIAS = 305,
|
||
META = 306,
|
||
POS = 307,
|
||
INTCONST = 308,
|
||
TRANS = 309,
|
||
FLAGBIT = 310,
|
||
CONCEPT = 311,
|
||
GETENV = 312,
|
||
HASH_ARRAY = 313,
|
||
CONCEPT_NOFAIL = 314,
|
||
NIL = 315,
|
||
DUMMY = 316,
|
||
MODIFY = 317,
|
||
READ_ONLY = 318,
|
||
STRING_TYPE = 319,
|
||
LONG_TYPE = 320,
|
||
DOUBLE_TYPE = 321,
|
||
NO_COPY = 322,
|
||
DUMP = 323,
|
||
JSON = 324,
|
||
XML = 325,
|
||
NO_FAIL = 326,
|
||
EDITION_SPECIFIC = 327,
|
||
OVERRIDE = 328,
|
||
HIDDEN = 329,
|
||
CAN_BE_MISSING = 330,
|
||
MISSING = 331,
|
||
CONSTRAINT = 332,
|
||
COPY_OK = 333,
|
||
WHEN = 334,
|
||
SET = 335,
|
||
SET_NOFAIL = 336,
|
||
WRITE = 337,
|
||
APPEND = 338,
|
||
PRINT = 339,
|
||
EXPORT = 340,
|
||
REMOVE = 341,
|
||
RENAME = 342,
|
||
SKIP = 343,
|
||
PAD = 344,
|
||
SECTION_PADDING = 345,
|
||
MESSAGE = 346,
|
||
MESSAGE_COPY = 347,
|
||
PADTO = 348,
|
||
PADTOEVEN = 349,
|
||
PADTOMULTIPLE = 350,
|
||
G1_HALF_BYTE = 351,
|
||
G1_MESSAGE_LENGTH = 352,
|
||
G1_SECTION4_LENGTH = 353,
|
||
SECTION_LENGTH = 354,
|
||
LENGTH = 355,
|
||
FLAG = 356,
|
||
ITERATOR = 357,
|
||
NEAREST = 358,
|
||
BOX = 359,
|
||
KSEC = 360,
|
||
ASSERT = 361,
|
||
SUBSTR = 362,
|
||
CASE = 363,
|
||
SWITCH = 364,
|
||
DEFAULT = 365,
|
||
EQ = 366,
|
||
NE = 367,
|
||
GE = 368,
|
||
LE = 369,
|
||
LT = 370,
|
||
GT = 371,
|
||
BIT = 372,
|
||
BITOFF = 373,
|
||
AND = 374,
|
||
OR = 375,
|
||
NOT = 376,
|
||
IS = 377,
|
||
IDENT = 378,
|
||
STRING = 379,
|
||
INTEGER = 380,
|
||
FLOAT = 381
|
||
};
|
||
#endif
|
||
/* Tokens. */
|
||
#define LOWERCASE 258
|
||
#define IF 259
|
||
#define IF_TRANSIENT 260
|
||
#define ELSE 261
|
||
#define END 262
|
||
#define CLOSE 263
|
||
#define UNSIGNED 264
|
||
#define TEMPLATE 265
|
||
#define TEMPLATE_NOFAIL 266
|
||
#define TRIGGER 267
|
||
#define ASCII 268
|
||
#define GROUP 269
|
||
#define NON_ALPHA 270
|
||
#define KSEC1EXPVER 271
|
||
#define LABEL 272
|
||
#define LIST 273
|
||
#define IS_IN_LIST 274
|
||
#define IS_IN_DICT 275
|
||
#define IS_INTEGER 276
|
||
#define TO_INTEGER 277
|
||
#define TO_STRING 278
|
||
#define SEX2DEC 279
|
||
#define WHILE 280
|
||
#define IBMFLOAT 281
|
||
#define SIGNED 282
|
||
#define UINT8 283
|
||
#define INT8 284
|
||
#define UINT16 285
|
||
#define INT16 286
|
||
#define UINT16_LITTLE_ENDIAN 287
|
||
#define INT16_LITTLE_ENDIAN 288
|
||
#define UINT32 289
|
||
#define INT32 290
|
||
#define UINT32_LITTLE_ENDIAN 291
|
||
#define INT32_LITTLE_ENDIAN 292
|
||
#define UINT64 293
|
||
#define INT64 294
|
||
#define UINT64_LITTLE_ENDIAN 295
|
||
#define INT64_LITTLE_ENDIAN 296
|
||
#define BLOB 297
|
||
#define BYTE 298
|
||
#define CODETABLE 299
|
||
#define SMART_TABLE 300
|
||
#define DICTIONARY 301
|
||
#define COMPLEX_CODETABLE 302
|
||
#define LOOKUP 303
|
||
#define ALIAS 304
|
||
#define UNALIAS 305
|
||
#define META 306
|
||
#define POS 307
|
||
#define INTCONST 308
|
||
#define TRANS 309
|
||
#define FLAGBIT 310
|
||
#define CONCEPT 311
|
||
#define GETENV 312
|
||
#define HASH_ARRAY 313
|
||
#define CONCEPT_NOFAIL 314
|
||
#define NIL 315
|
||
#define DUMMY 316
|
||
#define MODIFY 317
|
||
#define READ_ONLY 318
|
||
#define STRING_TYPE 319
|
||
#define LONG_TYPE 320
|
||
#define DOUBLE_TYPE 321
|
||
#define NO_COPY 322
|
||
#define DUMP 323
|
||
#define JSON 324
|
||
#define XML 325
|
||
#define NO_FAIL 326
|
||
#define EDITION_SPECIFIC 327
|
||
#define OVERRIDE 328
|
||
#define HIDDEN 329
|
||
#define CAN_BE_MISSING 330
|
||
#define MISSING 331
|
||
#define CONSTRAINT 332
|
||
#define COPY_OK 333
|
||
#define WHEN 334
|
||
#define SET 335
|
||
#define SET_NOFAIL 336
|
||
#define WRITE 337
|
||
#define APPEND 338
|
||
#define PRINT 339
|
||
#define EXPORT 340
|
||
#define REMOVE 341
|
||
#define RENAME 342
|
||
#define SKIP 343
|
||
#define PAD 344
|
||
#define SECTION_PADDING 345
|
||
#define MESSAGE 346
|
||
#define MESSAGE_COPY 347
|
||
#define PADTO 348
|
||
#define PADTOEVEN 349
|
||
#define PADTOMULTIPLE 350
|
||
#define G1_HALF_BYTE 351
|
||
#define G1_MESSAGE_LENGTH 352
|
||
#define G1_SECTION4_LENGTH 353
|
||
#define SECTION_LENGTH 354
|
||
#define LENGTH 355
|
||
#define FLAG 356
|
||
#define ITERATOR 357
|
||
#define NEAREST 358
|
||
#define BOX 359
|
||
#define KSEC 360
|
||
#define ASSERT 361
|
||
#define SUBSTR 362
|
||
#define CASE 363
|
||
#define SWITCH 364
|
||
#define DEFAULT 365
|
||
#define EQ 366
|
||
#define NE 367
|
||
#define GE 368
|
||
#define LE 369
|
||
#define LT 370
|
||
#define GT 371
|
||
#define BIT 372
|
||
#define BITOFF 373
|
||
#define AND 374
|
||
#define OR 375
|
||
#define NOT 376
|
||
#define IS 377
|
||
#define IDENT 378
|
||
#define STRING 379
|
||
#define INTEGER 380
|
||
#define FLOAT 381
|
||
|
||
|
||
|
||
|
||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||
typedef union YYSTYPE
|
||
{
|
||
|
||
/* Line 214 of yacc.c */
|
||
#line 37 "griby.y"
|
||
|
||
char *str;
|
||
long lval;
|
||
double dval;
|
||
grib_darray *dvalue;
|
||
grib_iarray *ivalue;
|
||
grib_action *act;
|
||
grib_arguments *explist;
|
||
grib_expression *exp;
|
||
grib_concept_condition *concept_condition;
|
||
grib_concept_value *concept_value;
|
||
grib_hash_array_value *hash_array_value;
|
||
grib_case *case_value;
|
||
grib_rule *rules;
|
||
grib_rule_entry *rule_entry;
|
||
|
||
|
||
|
||
/* Line 214 of yacc.c */
|
||
#line 406 "y.tab.c"
|
||
} YYSTYPE;
|
||
# define YYSTYPE_IS_TRIVIAL 1
|
||
# define grib_yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||
# define YYSTYPE_IS_DECLARED 1
|
||
#endif
|
||
|
||
|
||
/* Copy the second part of user declarations. */
|
||
|
||
|
||
/* Line 264 of yacc.c */
|
||
#line 418 "y.tab.c"
|
||
|
||
#ifdef short
|
||
# undef short
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT8
|
||
typedef YYTYPE_UINT8 grib_yytype_uint8;
|
||
#else
|
||
typedef unsigned char grib_yytype_uint8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT8
|
||
typedef YYTYPE_INT8 grib_yytype_int8;
|
||
#elif (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
typedef signed char grib_yytype_int8;
|
||
#else
|
||
typedef short int grib_yytype_int8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT16
|
||
typedef YYTYPE_UINT16 grib_yytype_uint16;
|
||
#else
|
||
typedef unsigned short int grib_yytype_uint16;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT16
|
||
typedef YYTYPE_INT16 grib_yytype_int16;
|
||
#else
|
||
typedef short int grib_yytype_int16;
|
||
#endif
|
||
|
||
#ifndef YYSIZE_T
|
||
# ifdef __SIZE_TYPE__
|
||
# define YYSIZE_T __SIZE_TYPE__
|
||
# elif defined size_t
|
||
# define YYSIZE_T size_t
|
||
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YYSIZE_T size_t
|
||
# else
|
||
# define YYSIZE_T unsigned int
|
||
# endif
|
||
#endif
|
||
|
||
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
|
||
|
||
#ifndef YY_
|
||
# if YYENABLE_NLS
|
||
# if ENABLE_NLS
|
||
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YY_(msgid) dgettext ("bison-runtime", msgid)
|
||
# endif
|
||
# endif
|
||
# ifndef YY_
|
||
# define YY_(msgid) msgid
|
||
# endif
|
||
#endif
|
||
|
||
/* Suppress unused-variable warnings by "using" E. */
|
||
#if ! defined lint || defined __GNUC__
|
||
# define YYUSE(e) ((void) (e))
|
||
#else
|
||
# define YYUSE(e) /* empty */
|
||
#endif
|
||
|
||
/* Identity function, used to suppress warnings about constant conditions. */
|
||
#ifndef lint
|
||
# define YYID(n) (n)
|
||
#else
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static int
|
||
YYID (int grib_yyi)
|
||
#else
|
||
static int
|
||
YYID (grib_yyi)
|
||
int grib_yyi;
|
||
#endif
|
||
{
|
||
return grib_yyi;
|
||
}
|
||
#endif
|
||
|
||
#if ! defined grib_yyoverflow || YYERROR_VERBOSE
|
||
|
||
/* The parser invokes alloca or malloc; define the necessary symbols. */
|
||
|
||
# ifdef YYSTACK_USE_ALLOCA
|
||
# if YYSTACK_USE_ALLOCA
|
||
# ifdef __GNUC__
|
||
# define YYSTACK_ALLOC __builtin_alloca
|
||
# elif defined __BUILTIN_VA_ARG_INCR
|
||
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
|
||
# elif defined _AIX
|
||
# define YYSTACK_ALLOC __alloca
|
||
# elif defined _MSC_VER
|
||
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define alloca _alloca
|
||
# else
|
||
# define YYSTACK_ALLOC alloca
|
||
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
|
||
# ifdef YYSTACK_ALLOC
|
||
/* Pacify GCC's `empty if-body' warning. */
|
||
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
/* The OS might guarantee only one guard page at the bottom of the stack,
|
||
and a page size can be as small as 4096 bytes. So we cannot safely
|
||
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
|
||
to allow for a few compiler-allocated temporary stack slots. */
|
||
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
|
||
# endif
|
||
# else
|
||
# define YYSTACK_ALLOC YYMALLOC
|
||
# define YYSTACK_FREE YYFREE
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
|
||
# endif
|
||
# if (defined __cplusplus && ! defined _STDLIB_H \
|
||
&& ! ((defined YYMALLOC || defined malloc) \
|
||
&& (defined YYFREE || defined free)))
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# ifndef YYMALLOC
|
||
# define YYMALLOC malloc
|
||
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# ifndef YYFREE
|
||
# define YYFREE free
|
||
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void free (void *); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# endif
|
||
#endif /* ! defined grib_yyoverflow || YYERROR_VERBOSE */
|
||
|
||
|
||
#if (! defined grib_yyoverflow \
|
||
&& (! defined __cplusplus \
|
||
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
|
||
|
||
/* A type that is properly aligned for any stack member. */
|
||
union grib_yyalloc
|
||
{
|
||
grib_yytype_int16 grib_yyss_alloc;
|
||
YYSTYPE grib_yyvs_alloc;
|
||
};
|
||
|
||
/* The size of the maximum gap between one aligned stack and the next. */
|
||
# define YYSTACK_GAP_MAXIMUM (sizeof (union grib_yyalloc) - 1)
|
||
|
||
/* The size of an array large to enough to hold all stacks, each with
|
||
N elements. */
|
||
# define YYSTACK_BYTES(N) \
|
||
((N) * (sizeof (grib_yytype_int16) + sizeof (YYSTYPE)) \
|
||
+ YYSTACK_GAP_MAXIMUM)
|
||
|
||
/* Copy COUNT objects from FROM to TO. The source and destination do
|
||
not overlap. */
|
||
# ifndef YYCOPY
|
||
# if defined __GNUC__ && 1 < __GNUC__
|
||
# define YYCOPY(To, From, Count) \
|
||
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
|
||
# else
|
||
# define YYCOPY(To, From, Count) \
|
||
do \
|
||
{ \
|
||
YYSIZE_T grib_yyi; \
|
||
for (grib_yyi = 0; grib_yyi < (Count); grib_yyi++) \
|
||
(To)[grib_yyi] = (From)[grib_yyi]; \
|
||
} \
|
||
while (YYID (0))
|
||
# endif
|
||
# endif
|
||
|
||
/* Relocate STACK from its old location to the new one. The
|
||
local variables YYSIZE and YYSTACKSIZE give the old and new number of
|
||
elements in the stack, and YYPTR gives the new location of the
|
||
stack. Advance YYPTR to a properly aligned location for the next
|
||
stack. */
|
||
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
|
||
do \
|
||
{ \
|
||
YYSIZE_T grib_yynewbytes; \
|
||
YYCOPY (&grib_yyptr->Stack_alloc, Stack, grib_yysize); \
|
||
Stack = &grib_yyptr->Stack_alloc; \
|
||
grib_yynewbytes = grib_yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
|
||
grib_yyptr += grib_yynewbytes / sizeof (*grib_yyptr); \
|
||
} \
|
||
while (YYID (0))
|
||
|
||
#endif
|
||
|
||
/* YYFINAL -- State number of the termination state. */
|
||
#define YYFINAL 214
|
||
/* YYLAST -- Last index in YYTABLE. */
|
||
#define YYLAST 1760
|
||
|
||
/* YYNTOKENS -- Number of terminals. */
|
||
#define YYNTOKENS 144
|
||
/* YYNNTS -- Number of nonterminals. */
|
||
#define YYNNTS 49
|
||
/* YYNRULES -- Number of rules. */
|
||
#define YYNRULES 264
|
||
/* YYNRULES -- Number of states. */
|
||
#define YYNSTATES 886
|
||
|
||
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
||
#define YYUNDEFTOK 2
|
||
#define YYMAXUTOK 381
|
||
|
||
#define YYTRANSLATE(YYX) \
|
||
((unsigned int) (YYX) <= YYMAXUTOK ? grib_yytranslate[YYX] : YYUNDEFTOK)
|
||
|
||
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
|
||
static const grib_yytype_uint8 grib_yytranslate[] =
|
||
{
|
||
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 142, 2, 2,
|
||
131, 132, 140, 143, 127, 138, 134, 141, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 137, 128,
|
||
2, 133, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 129, 2, 130, 139, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 135, 2, 136, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
|
||
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
||
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
||
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
||
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
||
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
||
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
||
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
||
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
||
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
||
125, 126
|
||
};
|
||
|
||
#if YYDEBUG
|
||
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
|
||
YYRHS. */
|
||
static const grib_yytype_uint16 grib_yyprhs[] =
|
||
{
|
||
0, 0, 3, 5, 7, 9, 11, 13, 15, 16,
|
||
18, 22, 24, 28, 30, 34, 36, 39, 43, 46,
|
||
49, 51, 53, 55, 57, 59, 61, 63, 65, 67,
|
||
70, 72, 74, 76, 80, 82, 90, 101, 109, 120,
|
||
128, 133, 141, 149, 157, 165, 170, 178, 186, 197,
|
||
205, 213, 224, 232, 243, 252, 265, 276, 284, 293,
|
||
302, 311, 322, 331, 341, 349, 352, 355, 360, 365,
|
||
370, 375, 380, 385, 390, 395, 400, 405, 410, 415,
|
||
420, 425, 430, 438, 445, 453, 456, 462, 468, 473,
|
||
480, 488, 491, 497, 506, 515, 519, 525, 531, 537,
|
||
543, 550, 554, 558, 562, 566, 572, 575, 583, 588,
|
||
597, 608, 614, 620, 626, 632, 635, 642, 647, 651,
|
||
656, 661, 668, 673, 676, 678, 684, 689, 692, 694,
|
||
700, 705, 710, 713, 719, 725, 727, 735, 747, 755,
|
||
767, 774, 782, 794, 799, 804, 807, 811, 813, 816,
|
||
818, 821, 823, 827, 829, 831, 833, 835, 837, 839,
|
||
841, 843, 845, 847, 849, 851, 853, 855, 857, 859,
|
||
861, 870, 878, 886, 893, 903, 916, 931, 942, 957,
|
||
970, 979, 991, 998, 1008, 1021, 1032, 1047, 1060, 1069,
|
||
1081, 1083, 1086, 1088, 1091, 1098, 1111, 1113, 1116, 1121,
|
||
1132, 1142, 1150, 1156, 1162, 1168, 1174, 1176, 1179, 1184,
|
||
1190, 1196, 1205, 1207, 1216, 1218, 1220, 1222, 1224, 1226,
|
||
1228, 1232, 1235, 1239, 1244, 1248, 1250, 1254, 1258, 1262,
|
||
1266, 1270, 1272, 1277, 1284, 1291, 1298, 1307, 1312, 1316,
|
||
1320, 1322, 1326, 1330, 1334, 1338, 1342, 1346, 1350, 1353,
|
||
1355, 1359, 1361, 1365, 1367, 1369, 1371, 1373, 1378, 1381,
|
||
1383, 1386, 1388, 1396, 1398
|
||
};
|
||
|
||
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
||
static const grib_yytype_int16 grib_yyrhs[] =
|
||
{
|
||
145, 0, -1, 146, -1, 168, -1, 169, -1, 149,
|
||
-1, 192, -1, 1, -1, -1, 126, -1, 147, 127,
|
||
126, -1, 125, -1, 147, 127, 125, -1, 125, -1,
|
||
148, 127, 125, -1, 150, -1, 150, 149, -1, 150,
|
||
128, 149, -1, 150, 128, -1, 155, 128, -1, 156,
|
||
-1, 164, -1, 165, -1, 166, -1, 167, -1, 170,
|
||
-1, 157, -1, 173, -1, 128, -1, 151, 128, -1,
|
||
146, -1, 153, -1, 154, -1, 154, 127, 153, -1,
|
||
186, -1, 9, 129, 125, 130, 123, 160, 161, -1,
|
||
9, 129, 125, 130, 123, 129, 152, 130, 160, 161,
|
||
-1, 9, 131, 125, 132, 123, 160, 161, -1, 9,
|
||
131, 125, 132, 123, 129, 152, 130, 160, 161, -1,
|
||
13, 129, 125, 130, 123, 160, 161, -1, 14, 123,
|
||
160, 161, -1, 14, 123, 131, 152, 132, 160, 161,
|
||
-1, 123, 133, 22, 131, 152, 132, 161, -1, 123,
|
||
133, 24, 131, 152, 132, 161, -1, 123, 133, 23,
|
||
131, 152, 132, 161, -1, 15, 123, 160, 161, -1,
|
||
13, 129, 125, 130, 124, 160, 161, -1, 43, 129,
|
||
125, 130, 123, 160, 161, -1, 43, 129, 125, 130,
|
||
123, 129, 152, 130, 160, 161, -1, 16, 129, 125,
|
||
130, 123, 160, 161, -1, 27, 129, 125, 130, 123,
|
||
160, 161, -1, 27, 129, 125, 130, 123, 129, 152,
|
||
130, 160, 161, -1, 27, 131, 125, 132, 123, 160,
|
||
161, -1, 27, 131, 125, 132, 123, 129, 152, 130,
|
||
160, 161, -1, 44, 129, 125, 130, 123, 154, 160,
|
||
161, -1, 44, 129, 125, 130, 123, 154, 160, 80,
|
||
131, 123, 132, 161, -1, 44, 129, 125, 130, 123,
|
||
131, 152, 132, 160, 161, -1, 45, 123, 131, 152,
|
||
132, 160, 161, -1, 123, 133, 46, 131, 152, 132,
|
||
160, 161, -1, 123, 133, 57, 131, 152, 132, 160,
|
||
161, -1, 47, 129, 125, 130, 123, 154, 160, 161,
|
||
-1, 47, 129, 125, 130, 123, 131, 152, 132, 160,
|
||
161, -1, 101, 129, 125, 130, 123, 154, 160, 161,
|
||
-1, 48, 129, 125, 130, 123, 131, 152, 132, 161,
|
||
-1, 55, 123, 131, 152, 132, 160, 161, -1, 17,
|
||
123, -1, 17, 124, -1, 26, 123, 160, 161, -1,
|
||
29, 123, 160, 161, -1, 28, 123, 160, 161, -1,
|
||
31, 123, 160, 161, -1, 30, 123, 160, 161, -1,
|
||
33, 123, 160, 161, -1, 32, 123, 160, 161, -1,
|
||
35, 123, 160, 161, -1, 34, 123, 160, 161, -1,
|
||
37, 123, 160, 161, -1, 36, 123, 160, 161, -1,
|
||
39, 123, 160, 161, -1, 38, 123, 160, 161, -1,
|
||
41, 123, 160, 161, -1, 40, 123, 160, 161, -1,
|
||
42, 123, 129, 152, 130, 160, 161, -1, 26, 123,
|
||
134, 123, 160, 161, -1, 26, 123, 129, 154, 130,
|
||
160, 161, -1, 52, 123, -1, 53, 123, 133, 154,
|
||
161, -1, 54, 123, 133, 154, 161, -1, 126, 123,
|
||
160, 161, -1, 126, 123, 134, 123, 160, 161, -1,
|
||
126, 123, 129, 154, 130, 160, 161, -1, 96, 123,
|
||
-1, 99, 129, 125, 130, 123, -1, 97, 129, 125,
|
||
130, 123, 131, 152, 132, -1, 98, 129, 125, 130,
|
||
123, 131, 152, 132, -1, 105, 123, 154, -1, 89,
|
||
123, 131, 152, 132, -1, 93, 123, 131, 152, 132,
|
||
-1, 94, 123, 131, 152, 132, -1, 95, 123, 131,
|
||
152, 132, -1, 91, 129, 125, 130, 123, 161, -1,
|
||
92, 123, 161, -1, 90, 123, 161, -1, 10, 123,
|
||
124, -1, 11, 123, 124, -1, 49, 123, 133, 123,
|
||
161, -1, 50, 123, -1, 49, 123, 134, 123, 133,
|
||
123, 161, -1, 50, 123, 134, 123, -1, 51, 123,
|
||
123, 131, 152, 132, 160, 161, -1, 51, 123, 134,
|
||
123, 123, 131, 152, 132, 160, 161, -1, 102, 123,
|
||
131, 152, 132, -1, 103, 123, 131, 152, 132, -1,
|
||
104, 123, 131, 152, 132, -1, 85, 123, 131, 152,
|
||
132, -1, 86, 152, -1, 87, 131, 123, 127, 123,
|
||
132, -1, 106, 131, 186, 132, -1, 62, 123, 161,
|
||
-1, 80, 123, 133, 76, -1, 80, 123, 133, 186,
|
||
-1, 80, 123, 133, 135, 147, 136, -1, 81, 123,
|
||
133, 186, -1, 82, 124, -1, 82, -1, 82, 131,
|
||
125, 132, 124, -1, 82, 131, 125, 132, -1, 83,
|
||
124, -1, 83, -1, 83, 131, 125, 132, 124, -1,
|
||
83, 131, 125, 132, -1, 8, 131, 123, 132, -1,
|
||
84, 124, -1, 84, 131, 124, 132, 124, -1, 84,
|
||
131, 123, 132, 124, -1, 84, -1, 4, 131, 186,
|
||
132, 135, 149, 136, -1, 4, 131, 186, 132, 135,
|
||
149, 136, 6, 135, 149, 136, -1, 5, 131, 186,
|
||
132, 135, 149, 136, -1, 5, 131, 186, 132, 135,
|
||
149, 136, 6, 135, 149, 136, -1, 79, 131, 186,
|
||
132, 158, 151, -1, 79, 131, 186, 132, 135, 159,
|
||
136, -1, 79, 131, 186, 132, 135, 159, 136, 6,
|
||
135, 159, 136, -1, 80, 123, 133, 186, -1, 81,
|
||
123, 133, 186, -1, 158, 151, -1, 159, 158, 151,
|
||
-1, 146, -1, 133, 152, -1, 146, -1, 137, 162,
|
||
-1, 163, -1, 162, 127, 163, -1, 63, -1, 3,
|
||
-1, 68, -1, 69, -1, 70, -1, 67, -1, 71,
|
||
-1, 74, -1, 72, -1, 75, -1, 77, -1, 73,
|
||
-1, 78, -1, 54, -1, 64, -1, 65, -1, 66,
|
||
-1, 123, 18, 131, 186, 132, 135, 149, 136, -1,
|
||
25, 131, 186, 132, 135, 149, 136, -1, 12, 131,
|
||
152, 132, 135, 149, 136, -1, 56, 123, 135, 168,
|
||
136, 161, -1, 56, 123, 131, 123, 132, 135, 168,
|
||
136, 161, -1, 56, 123, 131, 123, 127, 124, 127,
|
||
123, 127, 123, 132, 161, -1, 56, 123, 131, 123,
|
||
127, 124, 127, 123, 127, 123, 127, 123, 132, 161,
|
||
-1, 56, 123, 131, 123, 127, 124, 127, 123, 132,
|
||
161, -1, 56, 123, 134, 123, 131, 123, 127, 124,
|
||
127, 123, 127, 123, 132, 161, -1, 56, 123, 134,
|
||
123, 131, 123, 127, 124, 127, 123, 132, 161, -1,
|
||
56, 123, 134, 123, 135, 168, 136, 161, -1, 56,
|
||
123, 134, 123, 131, 123, 132, 135, 168, 136, 161,
|
||
-1, 59, 123, 135, 168, 136, 161, -1, 59, 123,
|
||
131, 123, 132, 135, 168, 136, 161, -1, 59, 123,
|
||
131, 123, 127, 124, 127, 123, 127, 123, 132, 161,
|
||
-1, 59, 123, 131, 123, 127, 124, 127, 123, 132,
|
||
161, -1, 59, 123, 134, 123, 131, 123, 127, 124,
|
||
127, 123, 127, 123, 132, 161, -1, 59, 123, 134,
|
||
123, 131, 123, 127, 124, 127, 123, 132, 161, -1,
|
||
59, 123, 134, 123, 135, 168, 136, 161, -1, 59,
|
||
123, 134, 123, 131, 123, 132, 135, 168, 136, 161,
|
||
-1, 174, -1, 168, 174, -1, 177, -1, 169, 177,
|
||
-1, 58, 123, 135, 169, 136, 161, -1, 58, 123,
|
||
131, 123, 127, 124, 127, 123, 127, 123, 132, 161,
|
||
-1, 172, -1, 171, 172, -1, 108, 153, 137, 149,
|
||
-1, 109, 131, 152, 132, 135, 171, 110, 137, 149,
|
||
136, -1, 109, 131, 152, 132, 135, 171, 110, 137,
|
||
136, -1, 109, 131, 152, 132, 135, 171, 136, -1,
|
||
124, 133, 135, 175, 136, -1, 123, 133, 135, 175,
|
||
136, -1, 125, 133, 135, 175, 136, -1, 126, 133,
|
||
135, 175, 136, -1, 176, -1, 176, 175, -1, 123,
|
||
133, 186, 128, -1, 124, 133, 129, 148, 130, -1,
|
||
123, 133, 129, 148, 130, -1, 107, 131, 123, 127,
|
||
125, 127, 125, 132, -1, 123, -1, 107, 131, 124,
|
||
127, 125, 127, 125, 132, -1, 124, -1, 178, -1,
|
||
125, -1, 126, -1, 60, -1, 61, -1, 131, 186,
|
||
132, -1, 138, 179, -1, 123, 131, 132, -1, 123,
|
||
131, 152, 132, -1, 179, 139, 180, -1, 179, -1,
|
||
181, 140, 180, -1, 181, 141, 180, -1, 181, 142,
|
||
180, -1, 181, 117, 180, -1, 181, 118, 180, -1,
|
||
180, -1, 100, 131, 123, 132, -1, 19, 131, 123,
|
||
127, 124, 132, -1, 20, 131, 123, 127, 124, 132,
|
||
-1, 21, 131, 123, 127, 125, 132, -1, 21, 131,
|
||
123, 127, 125, 127, 125, 132, -1, 21, 131, 123,
|
||
132, -1, 182, 143, 181, -1, 182, 138, 181, -1,
|
||
181, -1, 183, 116, 182, -1, 183, 111, 182, -1,
|
||
183, 115, 182, -1, 183, 113, 182, -1, 183, 114,
|
||
182, -1, 183, 112, 182, -1, 178, 122, 178, -1,
|
||
121, 183, -1, 182, -1, 184, 119, 183, -1, 183,
|
||
-1, 185, 120, 184, -1, 184, -1, 185, -1, 190,
|
||
-1, 191, -1, 123, 133, 186, 128, -1, 88, 128,
|
||
-1, 188, -1, 188, 189, -1, 188, -1, 4, 131,
|
||
186, 132, 135, 189, 136, -1, 187, -1, 187, 192,
|
||
-1
|
||
};
|
||
|
||
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
||
static const grib_yytype_uint16 grib_yyrline[] =
|
||
{
|
||
0, 258, 258, 260, 261, 262, 263, 265, 269, 272,
|
||
273, 274, 275, 278, 279, 282, 283, 284, 285, 288,
|
||
289, 290, 291, 292, 293, 294, 295, 296, 300, 301,
|
||
304, 305, 308, 309, 312, 316, 319, 322, 325, 328,
|
||
331, 334, 337, 340, 343, 346, 350, 353, 356, 359,
|
||
362, 365, 368, 371, 374, 377, 381, 384, 387, 390,
|
||
393, 396, 399, 402, 405, 408, 411, 414, 418, 421,
|
||
424, 427, 430, 433, 436, 439, 442, 445, 448, 451,
|
||
454, 457, 460, 464, 467, 470, 473, 476, 479, 482,
|
||
485, 488, 491, 494, 497, 500, 503, 506, 509, 512,
|
||
515, 518, 521, 523, 525, 528, 531, 534, 538, 542,
|
||
545, 548, 560, 572, 584, 587, 590, 592, 595, 598,
|
||
599, 600, 602, 605, 606, 607, 608, 609, 610, 611,
|
||
612, 614, 615, 616, 617, 618, 622, 623, 624, 625,
|
||
629, 630, 631, 634, 635, 638, 639, 643, 644, 647,
|
||
648, 651, 652, 655, 656, 657, 658, 659, 660, 661,
|
||
662, 663, 664, 665, 666, 667, 668, 669, 670, 671,
|
||
674, 677, 680, 683, 684, 685, 686, 687, 688, 689,
|
||
690, 691, 692, 693, 694, 695, 696, 697, 698, 699,
|
||
703, 704, 707, 708, 711, 712, 715, 716, 719, 723,
|
||
724, 725, 728, 730, 732, 734, 738, 739, 742, 746,
|
||
748, 752, 753, 754, 755, 758, 759, 760, 762, 763,
|
||
764, 765, 766, 767, 771, 772, 775, 776, 777, 778,
|
||
779, 780, 781, 782, 783, 784, 785, 786, 789, 790,
|
||
791, 794, 796, 797, 798, 799, 800, 801, 806, 807,
|
||
810, 811, 814, 815, 818, 824, 825, 828, 829, 832,
|
||
833, 836, 840, 843, 844
|
||
};
|
||
#endif
|
||
|
||
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
|
||
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
|
||
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
|
||
static const char *const grib_yytname[] =
|
||
{
|
||
"$end", "error", "$undefined", "LOWERCASE", "IF", "IF_TRANSIENT",
|
||
"ELSE", "END", "CLOSE", "UNSIGNED", "TEMPLATE", "TEMPLATE_NOFAIL",
|
||
"TRIGGER", "ASCII", "GROUP", "NON_ALPHA", "KSEC1EXPVER", "LABEL", "LIST",
|
||
"IS_IN_LIST", "IS_IN_DICT", "IS_INTEGER", "TO_INTEGER", "TO_STRING",
|
||
"SEX2DEC", "WHILE", "IBMFLOAT", "SIGNED", "UINT8", "INT8", "UINT16",
|
||
"INT16", "UINT16_LITTLE_ENDIAN", "INT16_LITTLE_ENDIAN", "UINT32",
|
||
"INT32", "UINT32_LITTLE_ENDIAN", "INT32_LITTLE_ENDIAN", "UINT64",
|
||
"INT64", "UINT64_LITTLE_ENDIAN", "INT64_LITTLE_ENDIAN", "BLOB", "BYTE",
|
||
"CODETABLE", "SMART_TABLE", "DICTIONARY", "COMPLEX_CODETABLE", "LOOKUP",
|
||
"ALIAS", "UNALIAS", "META", "POS", "INTCONST", "TRANS", "FLAGBIT",
|
||
"CONCEPT", "GETENV", "HASH_ARRAY", "CONCEPT_NOFAIL", "NIL", "DUMMY",
|
||
"MODIFY", "READ_ONLY", "STRING_TYPE", "LONG_TYPE", "DOUBLE_TYPE",
|
||
"NO_COPY", "DUMP", "JSON", "XML", "NO_FAIL", "EDITION_SPECIFIC",
|
||
"OVERRIDE", "HIDDEN", "CAN_BE_MISSING", "MISSING", "CONSTRAINT",
|
||
"COPY_OK", "WHEN", "SET", "SET_NOFAIL", "WRITE", "APPEND", "PRINT",
|
||
"EXPORT", "REMOVE", "RENAME", "SKIP", "PAD", "SECTION_PADDING",
|
||
"MESSAGE", "MESSAGE_COPY", "PADTO", "PADTOEVEN", "PADTOMULTIPLE",
|
||
"G1_HALF_BYTE", "G1_MESSAGE_LENGTH", "G1_SECTION4_LENGTH",
|
||
"SECTION_LENGTH", "LENGTH", "FLAG", "ITERATOR", "NEAREST", "BOX", "KSEC",
|
||
"ASSERT", "SUBSTR", "CASE", "SWITCH", "DEFAULT", "EQ", "NE", "GE", "LE",
|
||
"LT", "GT", "BIT", "BITOFF", "AND", "OR", "NOT", "IS", "IDENT", "STRING",
|
||
"INTEGER", "FLOAT", "','", "';'", "'['", "']'", "'('", "')'", "'='",
|
||
"'.'", "'{'", "'}'", "':'", "'-'", "'^'", "'*'", "'/'", "'%'", "'+'",
|
||
"$accept", "all", "empty", "dvalues", "integer_array", "instructions",
|
||
"instruction", "semi", "argument_list", "arguments", "argument",
|
||
"simple", "if_block", "when_block", "set", "set_list", "default",
|
||
"flags", "flag_list", "flag", "list_block", "while_block",
|
||
"trigger_block", "concept_block", "concept_list", "hash_array_list",
|
||
"hash_array_block", "case_list", "case_value", "switch_block",
|
||
"concept_value", "concept_conditions", "concept_condition",
|
||
"hash_array_value", "string_or_ident", "atom", "power", "factor", "term",
|
||
"condition", "conjonction", "disjonction", "expression", "rule",
|
||
"rule_entry", "rule_entries", "fact", "conditional_rule", "rules", 0
|
||
};
|
||
#endif
|
||
|
||
# ifdef YYPRINT
|
||
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
|
||
token YYLEX-NUM. */
|
||
static const grib_yytype_uint16 grib_yytoknum[] =
|
||
{
|
||
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
||
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
||
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
||
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
||
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
||
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
||
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
||
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
|
||
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
|
||
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
||
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
||
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
|
||
375, 376, 377, 378, 379, 380, 381, 44, 59, 91,
|
||
93, 40, 41, 61, 46, 123, 125, 58, 45, 94,
|
||
42, 47, 37, 43
|
||
};
|
||
# endif
|
||
|
||
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
||
static const grib_yytype_uint8 grib_yyr1[] =
|
||
{
|
||
0, 144, 145, 145, 145, 145, 145, 145, 146, 147,
|
||
147, 147, 147, 148, 148, 149, 149, 149, 149, 150,
|
||
150, 150, 150, 150, 150, 150, 150, 150, 151, 151,
|
||
152, 152, 153, 153, 154, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 155, 155, 155, 156, 156, 156, 156,
|
||
157, 157, 157, 158, 158, 159, 159, 160, 160, 161,
|
||
161, 162, 162, 163, 163, 163, 163, 163, 163, 163,
|
||
163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
|
||
164, 165, 166, 167, 167, 167, 167, 167, 167, 167,
|
||
167, 167, 167, 167, 167, 167, 167, 167, 167, 167,
|
||
168, 168, 169, 169, 170, 170, 171, 171, 172, 173,
|
||
173, 173, 174, 174, 174, 174, 175, 175, 176, 177,
|
||
177, 178, 178, 178, 178, 179, 179, 179, 179, 179,
|
||
179, 179, 179, 179, 180, 180, 181, 181, 181, 181,
|
||
181, 181, 181, 181, 181, 181, 181, 181, 182, 182,
|
||
182, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
||
184, 184, 185, 185, 186, 187, 187, 188, 188, 189,
|
||
189, 190, 191, 192, 192
|
||
};
|
||
|
||
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
||
static const grib_yytype_uint8 grib_yyr2[] =
|
||
{
|
||
0, 2, 1, 1, 1, 1, 1, 1, 0, 1,
|
||
3, 1, 3, 1, 3, 1, 2, 3, 2, 2,
|
||
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
|
||
1, 1, 1, 3, 1, 7, 10, 7, 10, 7,
|
||
4, 7, 7, 7, 7, 4, 7, 7, 10, 7,
|
||
7, 10, 7, 10, 8, 12, 10, 7, 8, 8,
|
||
8, 10, 8, 9, 7, 2, 2, 4, 4, 4,
|
||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||
4, 4, 7, 6, 7, 2, 5, 5, 4, 6,
|
||
7, 2, 5, 8, 8, 3, 5, 5, 5, 5,
|
||
6, 3, 3, 3, 3, 5, 2, 7, 4, 8,
|
||
10, 5, 5, 5, 5, 2, 6, 4, 3, 4,
|
||
4, 6, 4, 2, 1, 5, 4, 2, 1, 5,
|
||
4, 4, 2, 5, 5, 1, 7, 11, 7, 11,
|
||
6, 7, 11, 4, 4, 2, 3, 1, 2, 1,
|
||
2, 1, 3, 1, 1, 1, 1, 1, 1, 1,
|
||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||
8, 7, 7, 6, 9, 12, 14, 10, 14, 12,
|
||
8, 11, 6, 9, 12, 10, 14, 12, 8, 11,
|
||
1, 2, 1, 2, 6, 12, 1, 2, 4, 10,
|
||
9, 7, 5, 5, 5, 5, 1, 2, 4, 5,
|
||
5, 8, 1, 8, 1, 1, 1, 1, 1, 1,
|
||
3, 2, 3, 4, 3, 1, 3, 3, 3, 3,
|
||
3, 1, 4, 6, 6, 6, 8, 4, 3, 3,
|
||
1, 3, 3, 3, 3, 3, 3, 3, 2, 1,
|
||
3, 1, 3, 1, 1, 1, 1, 4, 2, 1,
|
||
2, 1, 7, 1, 2
|
||
};
|
||
|
||
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
||
STATE-NUM when YYTABLE doesn't specify something else to do. Zero
|
||
means the default is an error. */
|
||
static const grib_yytype_uint16 grib_yydefact[] =
|
||
{
|
||
0, 7, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 124, 128, 135, 0, 8, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 2, 5, 15, 0, 20, 26, 21, 22, 23,
|
||
24, 3, 4, 25, 27, 190, 192, 263, 261, 255,
|
||
256, 6, 0, 0, 0, 0, 0, 0, 0, 8,
|
||
0, 8, 8, 0, 65, 66, 0, 8, 0, 0,
|
||
8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
|
||
8, 8, 8, 8, 0, 0, 0, 0, 0, 0,
|
||
0, 106, 0, 85, 0, 0, 0, 0, 0, 0,
|
||
8, 0, 0, 0, 123, 0, 127, 0, 132, 0,
|
||
0, 0, 0, 0, 218, 219, 0, 0, 0, 212,
|
||
214, 216, 217, 0, 0, 30, 115, 31, 32, 215,
|
||
225, 231, 240, 249, 251, 253, 254, 34, 0, 258,
|
||
0, 8, 0, 8, 0, 0, 0, 91, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 8, 0, 0,
|
||
0, 0, 8, 0, 1, 0, 0, 0, 18, 16,
|
||
19, 0, 0, 0, 191, 0, 0, 193, 0, 0,
|
||
264, 0, 0, 0, 0, 0, 103, 104, 0, 0,
|
||
8, 8, 147, 8, 8, 0, 0, 0, 0, 8,
|
||
0, 0, 8, 8, 8, 8, 8, 8, 8, 8,
|
||
8, 8, 8, 8, 8, 8, 8, 0, 0, 8,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 149,
|
||
118, 0, 0, 0, 0, 0, 0, 0, 8, 0,
|
||
0, 0, 0, 0, 248, 0, 0, 215, 221, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 8, 102,
|
||
0, 101, 8, 8, 8, 0, 0, 0, 0, 8,
|
||
8, 8, 95, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
|
||
0, 0, 0, 17, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 131, 0, 0, 0, 0, 0, 148, 40,
|
||
45, 0, 0, 0, 8, 67, 0, 0, 69, 68,
|
||
71, 70, 73, 72, 75, 74, 77, 76, 79, 78,
|
||
81, 80, 0, 0, 0, 0, 0, 0, 8, 0,
|
||
108, 8, 0, 8, 8, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 154, 166, 153, 167, 168, 169,
|
||
158, 155, 156, 157, 159, 161, 164, 160, 162, 163,
|
||
165, 150, 151, 0, 119, 0, 120, 122, 126, 130,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 222,
|
||
0, 220, 33, 212, 247, 224, 229, 230, 226, 227,
|
||
228, 239, 238, 242, 246, 244, 245, 243, 241, 250,
|
||
252, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 117, 0, 0, 8, 8, 8,
|
||
8, 8, 13, 0, 0, 0, 206, 257, 0, 0,
|
||
0, 0, 8, 88, 0, 0, 0, 0, 0, 8,
|
||
8, 0, 8, 8, 8, 8, 0, 8, 8, 8,
|
||
8, 8, 8, 0, 8, 0, 0, 105, 0, 0,
|
||
0, 86, 87, 8, 0, 0, 0, 0, 8, 0,
|
||
8, 0, 0, 0, 0, 8, 0, 0, 0, 0,
|
||
0, 11, 9, 0, 125, 129, 134, 133, 114, 0,
|
||
0, 0, 237, 232, 0, 0, 223, 0, 96, 8,
|
||
97, 98, 99, 0, 0, 92, 0, 111, 112, 113,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 210, 0,
|
||
203, 207, 209, 202, 204, 8, 8, 205, 0, 0,
|
||
0, 0, 259, 0, 0, 8, 8, 8, 8, 0,
|
||
8, 8, 8, 8, 0, 8, 83, 8, 8, 8,
|
||
8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
|
||
8, 8, 8, 8, 0, 0, 0, 0, 173, 0,
|
||
194, 0, 0, 0, 0, 182, 152, 0, 0, 0,
|
||
0, 28, 140, 0, 121, 0, 0, 0, 0, 0,
|
||
116, 100, 8, 8, 8, 0, 0, 196, 0, 8,
|
||
8, 8, 8, 8, 14, 0, 8, 89, 0, 0,
|
||
0, 136, 260, 262, 138, 0, 35, 0, 37, 172,
|
||
39, 46, 41, 49, 171, 84, 0, 50, 0, 52,
|
||
82, 0, 47, 0, 34, 8, 57, 0, 8, 0,
|
||
107, 8, 0, 64, 0, 0, 0, 0, 8, 0,
|
||
0, 0, 0, 0, 8, 0, 0, 145, 141, 0,
|
||
29, 12, 10, 233, 234, 0, 235, 0, 0, 0,
|
||
0, 8, 0, 0, 201, 197, 0, 42, 44, 43,
|
||
8, 8, 208, 90, 0, 0, 8, 8, 8, 8,
|
||
8, 8, 0, 54, 8, 60, 8, 109, 8, 0,
|
||
8, 0, 0, 180, 0, 0, 8, 0, 0, 188,
|
||
143, 144, 0, 146, 0, 0, 0, 93, 94, 62,
|
||
0, 0, 170, 58, 59, 0, 0, 8, 8, 8,
|
||
8, 8, 8, 0, 8, 63, 8, 0, 8, 174,
|
||
0, 0, 0, 0, 8, 183, 0, 0, 0, 236,
|
||
211, 213, 198, 200, 0, 0, 0, 36, 38, 51,
|
||
53, 48, 56, 0, 61, 110, 0, 177, 0, 8,
|
||
0, 0, 185, 0, 8, 0, 199, 137, 139, 8,
|
||
0, 8, 0, 8, 181, 8, 8, 0, 8, 189,
|
||
142, 55, 0, 175, 0, 179, 195, 184, 0, 187,
|
||
8, 8, 8, 176, 178, 186
|
||
};
|
||
|
||
/* YYDEFGOTO[NTERM-NUM]. */
|
||
static const grib_yytype_int16 grib_yydefgoto[] =
|
||
{
|
||
-1, 80, 289, 563, 503, 611, 83, 662, 176, 177,
|
||
178, 84, 85, 86, 659, 660, 243, 290, 441, 442,
|
||
87, 88, 89, 90, 91, 92, 93, 676, 677, 94,
|
||
95, 505, 506, 96, 179, 180, 181, 182, 183, 184,
|
||
185, 186, 187, 97, 612, 613, 99, 100, 101
|
||
};
|
||
|
||
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
||
STATE-NUM. */
|
||
#define YYPACT_NINF -650
|
||
static const grib_yytype_int16 grib_yypact[] =
|
||
{
|
||
1303, -650, -114, -96, -69, 164, -39, -26, -10, -15,
|
||
3, 31, 69, 41, 106, 108, 234, 121, 128, 139,
|
||
207, 214, 220, 245, 258, 260, 275, 277, 285, 287,
|
||
288, 289, 248, 286, 294, 291, 292, 295, 299, 300,
|
||
301, 302, 303, 304, 305, 306, 307, 308, 183, 309,
|
||
310, -109, -18, -16, 314, 493, 311, 329, 315, 316,
|
||
312, 335, 337, 338, 339, 340, 336, 344, 346, 351,
|
||
341, 345, 359, 360, 353, 354, -6, 355, 356, -83,
|
||
436, -650, -650, 1406, 358, -650, -650, -650, -650, -650,
|
||
-650, 247, 100, -650, -650, -650, -650, 19, -650, -650,
|
||
-650, -650, 493, 493, 364, 366, 367, 369, 370, 493,
|
||
371, 233, 362, 372, -650, -650, 493, 16, 373, 374,
|
||
362, 362, 362, 362, 362, 362, 362, 362, 362, 362,
|
||
362, 362, 362, 362, 382, 375, 376, 384, 377, 378,
|
||
57, 383, -68, -650, 386, 389, 385, 32, 86, 185,
|
||
387, 493, 390, 392, -650, 404, -650, 409, -650, 161,
|
||
405, 410, 412, 413, -650, -650, 414, 415, 493, 416,
|
||
-650, -650, -650, 493, -22, -650, -650, -650, 422, 433,
|
||
417, -650, 6, -90, 240, 438, 439, -650, 435, -650,
|
||
432, 387, 440, 387, 437, 441, 442, -650, 444, 445,
|
||
446, 450, 447, 448, 449, 493, 493, 493, 453, 278,
|
||
-17, 429, 27, 431, -650, 456, 10, 454, 1634, -650,
|
||
-650, 434, 443, 457, -650, 458, 459, -650, 463, 462,
|
||
-650, 464, 465, 466, 473, 474, -650, -650, 475, 478,
|
||
493, 493, -650, 387, 387, 479, 480, 493, 487, 387,
|
||
481, 483, 387, 387, 387, 387, 387, 387, 387, 387,
|
||
387, 387, 387, 387, 387, 387, 493, 490, 492, 493,
|
||
496, 497, 505, 510, 513, 507, 521, 493, 493, 493,
|
||
528, 530, 247, 531, 100, 532, 533, 247, 629, -650,
|
||
-650, 527, 132, 493, 529, 536, 537, 538, 493, 534,
|
||
540, 548, 551, 210, 240, 541, 543, -650, -650, 493,
|
||
-82, -22, -22, -22, -22, -22, -22, 866, 866, 866,
|
||
866, 866, 866, 866, 866, 493, 493, 549, 493, -650,
|
||
547, -650, 493, 493, 493, 556, 557, 558, 559, 493,
|
||
493, 493, -650, 573, 576, 493, 578, 579, 580, 581,
|
||
589, 535, 599, 461, 535, 599, 599, 493, 600, 387,
|
||
599, 493, -3, -650, 591, 592, 595, 601, 493, 493,
|
||
593, 594, -650, 608, 610, 602, 252, 603, -650, -650,
|
||
-650, 611, 605, 606, 362, -650, 615, 619, -650, -650,
|
||
-650, -650, -650, -650, -650, -650, -650, -650, -650, -650,
|
||
-650, -650, 613, 621, 622, 617, 624, 627, 387, 618,
|
||
-650, 493, 630, 387, 387, 620, -71, 129, -79, 628,
|
||
-25, 82, 140, -31, -650, -650, -650, -650, -650, -650,
|
||
-650, -650, -650, -650, -650, -650, -650, -650, -650, -650,
|
||
-650, 631, -650, -44, -650, 254, -650, -650, 632, 633,
|
||
635, 636, 637, 634, 640, 111, 639, 641, 645, -650,
|
||
648, -650, -650, -650, -650, -650, -650, -650, -650, -650,
|
||
-650, 6, 6, -90, -90, -90, -90, -90, -90, 240,
|
||
438, 650, 649, 660, 652, 653, 655, 665, 666, 667,
|
||
669, 661, 663, 664, -650, 668, 670, 493, 493, 493,
|
||
493, 493, -650, 83, 675, 626, 599, -650, 178, 662,
|
||
674, 685, 362, -650, 681, 686, 688, 1531, 1634, 182,
|
||
192, 1634, 362, 362, 362, 362, 1634, 362, 387, 193,
|
||
194, 362, 199, 822, 362, 855, 694, -650, 676, 696,
|
||
695, -650, -650, 362, 705, 697, 710, 247, 387, 711,
|
||
387, 712, 702, 715, 247, 387, 629, 716, 717, 313,
|
||
718, -650, -650, -40, -650, -650, -650, -650, -650, 720,
|
||
721, 638, -650, -650, 722, 723, -650, 719, -650, 387,
|
||
-650, -650, -650, 724, 725, -650, 493, -650, -650, -650,
|
||
656, 714, 728, 729, 730, 731, 735, 727, -650, 493,
|
||
-650, -650, -650, -650, -650, 362, 387, -650, 733, 734,
|
||
11, 737, -74, 742, 743, 493, 387, 493, 387, 744,
|
||
387, 387, 387, 387, 745, 387, -650, 493, 387, 493,
|
||
387, 387, 493, 387, 493, 362, 387, 493, 362, 493,
|
||
387, 362, 493, 387, 757, 247, 118, 71, -650, 761,
|
||
-650, 762, 247, 120, 76, -650, -650, 758, 759, 718,
|
||
-54, -650, 726, 270, -650, 763, 764, 127, 766, 767,
|
||
-650, -650, 493, 493, 362, 493, -76, -650, 1634, 387,
|
||
387, 387, 362, 362, -650, 769, 387, -650, 1634, -74,
|
||
165, 844, -650, -650, 884, 768, -650, 770, -650, -650,
|
||
-650, -650, -650, -650, -650, -650, 771, -650, 772, -650,
|
||
-650, 773, -650, 775, 543, -56, -650, 776, 387, 778,
|
||
-650, 387, 779, -650, 781, 80, 789, 782, 387, 791,
|
||
795, 104, 796, 786, 387, 493, 493, 726, 893, 718,
|
||
-650, -650, -650, -650, -650, 780, -650, 798, 799, 800,
|
||
801, 387, 793, 794, -650, -650, 792, -650, -650, -650,
|
||
387, 387, -650, -650, 802, 803, 362, 362, 362, 362,
|
||
362, 362, 804, -650, 362, -650, 387, -650, 362, 134,
|
||
387, 807, 247, -650, 812, 141, 387, 813, 247, -650,
|
||
-650, -650, 806, 726, 817, 818, 824, -650, -650, -650,
|
||
1634, 1174, -650, -650, -650, 1634, 1634, 387, 387, 387,
|
||
387, 387, 387, 821, 387, -650, 387, 831, 387, -650,
|
||
834, 110, 835, 836, 387, -650, 838, 156, 313, -650,
|
||
-650, -650, -650, -650, 827, 828, 829, -650, -650, -650,
|
||
-650, -650, -650, 837, -650, -650, 151, -650, 177, 387,
|
||
840, 842, -650, 180, 387, -50, -650, -650, -650, 387,
|
||
845, 387, 847, 387, -650, 387, 387, 852, 387, -650,
|
||
-650, -650, 850, -650, 851, -650, -650, -650, 853, -650,
|
||
387, 387, 387, -650, -650, -650
|
||
};
|
||
|
||
/* YYPGOTO[NTERM-NUM]. */
|
||
static const grib_yytype_int16 grib_yypgoto[] =
|
||
{
|
||
-650, -650, 8, -650, 642, 0, -650, -649, 525, -306,
|
||
-189, -650, -650, -650, -441, 159, -53, 191, -650, 428,
|
||
-650, -650, -650, -650, -278, 704, -650, -650, 318, -650,
|
||
-73, -349, -650, -91, -141, 832, 46, 88, 67, -163,
|
||
682, -650, -51, -650, 13, 398, -650, -650, 898
|
||
};
|
||
|
||
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
|
||
positive, shift that token. If negative, reduce the rule which
|
||
number is the opposite. If zero, do what YYDEFACT says.
|
||
If YYTABLE_NINF, syntax error. */
|
||
#define YYTABLE_NINF -9
|
||
static const grib_yytype_int16 grib_yytable[] =
|
||
{
|
||
82, 227, 560, 462, 418, 304, 509, 510, 81, 423,
|
||
737, 514, 208, 98, 57, 154, 342, 102, 224, 346,
|
||
347, 348, 155, 228, 772, 167, 557, 558, 208, 208,
|
||
557, 558, 675, 307, 753, 103, 557, 558, 164, 165,
|
||
212, 463, 170, 349, 221, 222, 78, 223, 317, 229,
|
||
213, 231, 232, 318, 350, 275, 544, 548, 383, 244,
|
||
754, 545, 104, 175, 249, 246, 276, 252, 253, 254,
|
||
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
||
265, 288, 738, 219, 107, 167, 870, 663, 413, 414,
|
||
793, 559, 221, 222, 78, 223, 664, 108, 225, 226,
|
||
291, 169, 170, 171, 172, 555, 156, 57, 158, 173,
|
||
98, 550, 354, 157, 110, 159, 174, 175, 355, 242,
|
||
242, 109, 306, 312, 313, 242, 111, 209, 242, 242,
|
||
242, 242, 242, 242, 242, 242, 242, 242, 242, 242,
|
||
242, 242, 229, 362, 690, 247, 314, 315, 316, 241,
|
||
248, 161, 162, 163, 112, 343, 357, 601, 353, 359,
|
||
241, 358, 479, 280, 114, 115, 281, 282, 511, 464,
|
||
307, 307, 307, 307, 307, 307, 307, 307, 307, 307,
|
||
307, 307, 307, 307, 161, 162, 163, 346, 347, 348,
|
||
272, 273, 164, 165, 221, 222, 78, 223, 113, 221,
|
||
222, 78, 223, 221, 222, 78, 223, 728, 444, 551,
|
||
597, 349, 734, 598, 552, 175, 780, 283, 363, 739,
|
||
242, 284, 350, 225, 226, 164, 165, 221, 222, 78,
|
||
223, 117, 166, 221, 222, 78, 223, 116, 571, 167,
|
||
786, 446, 447, 572, 120, 726, 849, 732, 175, 175,
|
||
727, 121, 733, 168, 745, 169, 170, 171, 172, 746,
|
||
546, 817, 122, 173, 547, 166, 818, 445, 823, 647,
|
||
174, 553, 167, 824, 175, 554, 654, 175, 860, 221,
|
||
222, 78, 223, 861, 296, 297, 168, 175, 169, 170,
|
||
171, 172, 854, 105, 496, 106, 173, 161, 162, 163,
|
||
346, 347, 348, 174, 862, 597, 175, 867, 602, 863,
|
||
515, 615, 868, 175, 151, 241, 285, 516, 353, 286,
|
||
287, 617, 627, 629, 349, 241, 241, 241, 632, 227,
|
||
123, 528, 241, 457, 458, 350, 175, 124, 164, 165,
|
||
175, 175, 175, 125, 635, 224, 638, 175, 175, 175,
|
||
224, 319, 320, 321, 322, 323, 324, 465, 466, 467,
|
||
468, 469, 470, 118, 240, 119, 241, 725, 126, 752,
|
||
221, 222, 78, 223, 731, 522, 523, 135, 166, 561,
|
||
562, 127, 329, 128, 331, 167, 473, 474, 475, 476,
|
||
477, 478, 242, 557, 558, 741, 742, 674, 129, 168,
|
||
130, 169, 170, 171, 172, 471, 472, 351, 131, 173,
|
||
132, 133, 134, 352, 739, 136, 174, 137, 140, 175,
|
||
138, 139, 141, 142, 143, 144, 145, 146, 147, 148,
|
||
149, 150, 152, 153, 379, 380, 214, 160, 190, 191,
|
||
385, 192, 188, 388, 389, 390, 391, 392, 393, 394,
|
||
395, 396, 397, 398, 399, 400, 401, 189, 193, 606,
|
||
194, 195, 196, 197, 202, 198, 616, 618, 203, 620,
|
||
621, 622, 623, 199, 625, 200, 628, 630, 631, 633,
|
||
201, 636, 204, 205, 206, 207, 220, 233, 210, 211,
|
||
643, 234, 235, 236, 237, 241, 239, 245, 250, 251,
|
||
267, 268, 270, 271, 821, 175, 175, 175, 175, 175,
|
||
827, 266, 161, 162, 163, 269, 279, 274, 614, 277,
|
||
242, 619, 278, 292, 288, 293, 624, 242, 242, 294,
|
||
242, 242, 242, 242, 295, 242, 298, 242, 242, 242,
|
||
242, 299, 242, 300, 301, 302, 303, 305, 685, 309,
|
||
513, 242, 686, 164, 165, 310, 311, 325, 327, 326,
|
||
161, 162, 163, 328, 356, 330, 360, 364, 332, 335,
|
||
336, 337, 333, 334, 224, 338, 365, 212, 339, 340,
|
||
341, 224, 715, 714, 345, 718, 714, 361, 721, 507,
|
||
213, 366, 367, 166, 368, 369, 370, 371, 372, 537,
|
||
167, 164, 165, 373, 541, 542, 374, 375, 376, 381,
|
||
384, 386, 382, 242, 168, 387, 169, 170, 171, 172,
|
||
403, 751, 404, 175, 173, 175, 406, 407, 408, 760,
|
||
761, 174, 424, 409, 238, 175, 410, 175, 411, 353,
|
||
175, 166, 175, 242, 412, 175, 242, 175, 167, 242,
|
||
175, 416, 224, 417, 419, 421, 422, 453, 224, 443,
|
||
502, 448, 168, 454, 169, 170, 171, 172, 449, 450,
|
||
451, 455, 173, 459, 456, 461, 481, 483, 756, 174,
|
||
175, 175, 242, 425, 790, 791, 487, 488, 489, 490,
|
||
242, 242, 426, 427, 428, 429, 430, 431, 432, 433,
|
||
434, 435, 436, 437, 438, 494, 439, 440, 495, 497,
|
||
498, 499, 500, 807, 808, 809, 810, 811, 812, 626,
|
||
501, 814, 504, 512, 351, 816, 352, 355, 517, 518,
|
||
354, 519, 344, 520, 525, 524, 527, 521, 529, 648,
|
||
526, 650, 530, 531, 532, 533, 655, 535, 224, 534,
|
||
536, 538, 543, 540, 224, 549, 564, 565, 556, 566,
|
||
567, 569, 600, 667, 675, 377, 378, 570, 574, 568,
|
||
671, 573, 575, 577, 242, 242, 242, 242, 242, 242,
|
||
576, 578, 242, 579, 580, 581, 242, 582, 583, 584,
|
||
585, 402, 586, 587, 405, 588, 589, 687, 603, 640,
|
||
832, 834, 591, 590, 415, 835, 836, 696, 599, 698,
|
||
604, 700, 701, 702, 703, 605, 705, 607, 608, 707,
|
||
609, 709, 710, 452, 712, 639, 642, 716, 641, 644,
|
||
460, 720, 645, 646, 723, 649, 651, 652, 653, 657,
|
||
658, 161, 162, 163, 665, 666, 661, 668, 669, 678,
|
||
764, 670, 684, 482, 740, 672, 673, 484, 485, 486,
|
||
679, 680, 681, 682, 491, 492, 493, 683, 688, 689,
|
||
757, 758, 759, 691, 161, 162, 163, 763, 693, 694,
|
||
699, 704, 164, 165, 724, 161, 162, 163, 729, 730,
|
||
765, 735, 736, 747, 748, 743, 744, 762, 766, 792,
|
||
767, 768, 769, 770, 779, 794, 773, 771, 774, 775,
|
||
776, 778, 777, 781, 784, 164, 165, 782, 785, 783,
|
||
787, 788, 166, 795, 796, 789, 164, 165, 802, 167,
|
||
800, 801, 797, 798, 820, 813, 539, 805, 806, 822,
|
||
826, 828, 799, 168, 843, 169, 170, 171, 172, 829,
|
||
830, 803, 804, 634, 846, 166, 831, 848, 850, 851,
|
||
174, 853, 167, 856, 857, 858, 166, 815, 872, 859,
|
||
874, 819, 865, 167, 866, 878, 168, 825, 169, 170,
|
||
171, 172, 880, 881, 656, 882, 637, 855, 420, 169,
|
||
170, 171, 172, 174, 755, 230, 508, 173, 837, 838,
|
||
839, 840, 841, 842, 174, 844, 308, 845, 480, 847,
|
||
692, 0, 0, 0, 0, 852, 0, 0, 0, 0,
|
||
0, 0, 592, 593, 594, 595, 596, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
864, 0, 0, 0, 0, 869, 0, 0, 0, 0,
|
||
871, 0, 873, 0, 875, 0, 876, 877, 0, 879,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 883, 884, 885, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
695, 0, 697, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 706, 0, 708, 0, 0, 711, 0, 713,
|
||
0, 0, 717, 0, 719, 0, 0, 722, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 215, 3,
|
||
0, 0, 4, 5, 6, 7, 8, 9, 10, 11,
|
||
12, 13, 0, 0, 0, 0, 0, 749, 750, 14,
|
||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||
0, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
||
44, 0, 45, 46, 0, 0, 47, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 48, 49, 50, 51, 52, 53, 54,
|
||
55, 56, 0, 58, 59, 60, 61, 62, 63, 64,
|
||
65, 66, 67, 68, 0, 69, 70, 71, 72, 73,
|
||
74, 0, 0, 75, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 216, 0, 0,
|
||
217, 0, 0, -8, 1, 0, 0, 2, 3, 0,
|
||
833, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
||
13, 0, 0, 0, 0, 0, 0, 0, 14, 15,
|
||
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
||
26, 27, 28, 29, 30, 31, 32, 33, 34, 0,
|
||
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
||
0, 45, 46, 0, 0, 47, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 48, 49, 50, 51, 52, 53, 54, 55,
|
||
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
||
66, 67, 68, 0, 69, 70, 71, 72, 73, 74,
|
||
215, 3, 75, 0, 4, 5, 6, 7, 8, 9,
|
||
10, 11, 12, 13, 0, 0, 76, 77, 78, 79,
|
||
0, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
||
33, 34, 0, 35, 36, 37, 38, 39, 40, 41,
|
||
42, 43, 44, 0, 45, 46, 0, 0, 47, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 48, 49, 50, 51, 52,
|
||
53, 54, 55, 56, 0, 58, 59, 60, 61, 62,
|
||
63, 64, 65, 66, 67, 68, 0, 69, 70, 71,
|
||
72, 73, 74, 0, 0, 75, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 216,
|
||
0, 0, 217, 0, 218, 215, 3, 0, 0, 4,
|
||
5, 6, 7, 8, 9, 10, 11, 12, 13, 0,
|
||
0, 0, 0, 0, 0, 0, 14, 15, 16, 17,
|
||
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
||
28, 29, 30, 31, 32, 33, 34, 0, 35, 36,
|
||
37, 38, 39, 40, 41, 42, 43, 44, 0, 45,
|
||
46, 0, 0, 47, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
||
58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
|
||
68, 0, 69, 70, 71, 72, 73, 74, 215, 3,
|
||
75, 0, 4, 5, 6, 7, 8, 9, 10, 11,
|
||
12, 13, 0, 0, 610, 0, 0, 217, 0, 14,
|
||
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||
0, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
||
44, 0, 45, 46, 0, 0, 47, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 48, 49, 50, 51, 52, 53, 54,
|
||
55, 56, 0, 58, 59, 60, 61, 62, 63, 64,
|
||
65, 66, 67, 68, 0, 69, 70, 71, 72, 73,
|
||
74, 0, 0, 75, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 216, 0, 0,
|
||
217
|
||
};
|
||
|
||
static const grib_yytype_int16 grib_yycheck[] =
|
||
{
|
||
0, 92, 443, 309, 282, 168, 355, 356, 0, 287,
|
||
659, 360, 18, 0, 88, 124, 205, 131, 91, 22,
|
||
23, 24, 131, 4, 80, 107, 80, 81, 18, 18,
|
||
80, 81, 108, 174, 110, 131, 80, 81, 60, 61,
|
||
123, 123, 124, 46, 123, 124, 125, 126, 138, 123,
|
||
133, 102, 103, 143, 57, 123, 127, 136, 247, 112,
|
||
136, 132, 131, 55, 117, 116, 134, 120, 121, 122,
|
||
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
||
133, 137, 136, 83, 123, 107, 136, 127, 277, 278,
|
||
739, 135, 123, 124, 125, 126, 136, 123, 123, 124,
|
||
151, 123, 124, 125, 126, 136, 124, 88, 124, 131,
|
||
97, 136, 129, 131, 129, 131, 138, 109, 135, 111,
|
||
112, 131, 173, 117, 118, 117, 123, 133, 120, 121,
|
||
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
||
132, 133, 123, 133, 133, 129, 140, 141, 142, 133,
|
||
134, 19, 20, 21, 123, 206, 129, 506, 209, 212,
|
||
133, 134, 325, 131, 123, 124, 134, 135, 357, 310,
|
||
311, 312, 313, 314, 315, 316, 317, 318, 319, 320,
|
||
321, 322, 323, 324, 19, 20, 21, 22, 23, 24,
|
||
133, 134, 60, 61, 123, 124, 125, 126, 129, 123,
|
||
124, 125, 126, 123, 124, 125, 126, 136, 76, 127,
|
||
127, 46, 136, 130, 132, 207, 136, 131, 218, 660,
|
||
212, 135, 57, 123, 124, 60, 61, 123, 124, 125,
|
||
126, 123, 100, 123, 124, 125, 126, 131, 127, 107,
|
||
136, 292, 293, 132, 123, 127, 136, 127, 240, 241,
|
||
132, 123, 132, 121, 127, 123, 124, 125, 126, 132,
|
||
131, 127, 123, 131, 135, 100, 132, 135, 127, 547,
|
||
138, 131, 107, 132, 266, 135, 554, 269, 127, 123,
|
||
124, 125, 126, 132, 123, 124, 121, 279, 123, 124,
|
||
125, 126, 136, 129, 345, 131, 131, 19, 20, 21,
|
||
22, 23, 24, 138, 127, 127, 298, 127, 130, 132,
|
||
361, 129, 132, 305, 131, 133, 131, 368, 369, 134,
|
||
135, 129, 129, 129, 46, 133, 133, 133, 129, 420,
|
||
123, 384, 133, 123, 124, 57, 328, 123, 60, 61,
|
||
332, 333, 334, 123, 533, 418, 535, 339, 340, 341,
|
||
423, 111, 112, 113, 114, 115, 116, 311, 312, 313,
|
||
314, 315, 316, 129, 131, 131, 133, 645, 123, 675,
|
||
123, 124, 125, 126, 652, 123, 124, 129, 100, 125,
|
||
126, 123, 191, 123, 193, 107, 319, 320, 321, 322,
|
||
323, 324, 384, 80, 81, 125, 126, 586, 123, 121,
|
||
123, 123, 124, 125, 126, 317, 318, 129, 123, 131,
|
||
123, 123, 123, 135, 855, 129, 138, 123, 123, 411,
|
||
129, 129, 123, 123, 123, 123, 123, 123, 123, 123,
|
||
123, 123, 123, 123, 243, 244, 0, 123, 123, 123,
|
||
249, 129, 131, 252, 253, 254, 255, 256, 257, 258,
|
||
259, 260, 261, 262, 263, 264, 265, 128, 123, 512,
|
||
123, 123, 123, 123, 123, 129, 519, 520, 123, 522,
|
||
523, 524, 525, 129, 527, 129, 529, 530, 531, 532,
|
||
129, 534, 123, 123, 131, 131, 128, 123, 133, 133,
|
||
543, 125, 125, 124, 124, 133, 125, 125, 125, 125,
|
||
125, 125, 125, 125, 782, 497, 498, 499, 500, 501,
|
||
788, 129, 19, 20, 21, 131, 131, 134, 518, 133,
|
||
512, 521, 133, 133, 137, 133, 526, 519, 520, 125,
|
||
522, 523, 524, 525, 125, 527, 131, 529, 530, 531,
|
||
532, 131, 534, 131, 131, 131, 131, 131, 599, 127,
|
||
359, 543, 605, 60, 61, 122, 139, 119, 123, 120,
|
||
19, 20, 21, 131, 135, 125, 135, 133, 131, 125,
|
||
125, 125, 131, 131, 647, 125, 133, 123, 131, 131,
|
||
131, 654, 635, 634, 131, 638, 637, 131, 641, 128,
|
||
133, 133, 133, 100, 131, 133, 132, 132, 132, 408,
|
||
107, 60, 61, 130, 413, 414, 132, 132, 130, 130,
|
||
123, 130, 132, 605, 121, 132, 123, 124, 125, 126,
|
||
130, 674, 130, 615, 131, 617, 130, 130, 123, 682,
|
||
683, 138, 3, 123, 109, 627, 123, 629, 131, 690,
|
||
632, 100, 634, 635, 123, 637, 638, 639, 107, 641,
|
||
642, 123, 725, 123, 123, 123, 123, 123, 731, 132,
|
||
125, 132, 121, 123, 123, 124, 125, 126, 132, 132,
|
||
132, 123, 131, 132, 123, 132, 127, 130, 678, 138,
|
||
672, 673, 674, 54, 735, 736, 130, 130, 130, 130,
|
||
682, 683, 63, 64, 65, 66, 67, 68, 69, 70,
|
||
71, 72, 73, 74, 75, 132, 77, 78, 132, 131,
|
||
131, 131, 131, 766, 767, 768, 769, 770, 771, 528,
|
||
131, 774, 123, 123, 129, 778, 135, 135, 135, 135,
|
||
129, 123, 207, 123, 123, 132, 130, 135, 123, 548,
|
||
135, 550, 123, 130, 123, 123, 555, 123, 821, 132,
|
||
123, 133, 132, 123, 827, 127, 124, 124, 127, 124,
|
||
124, 127, 136, 125, 108, 240, 241, 127, 127, 132,
|
||
579, 132, 127, 123, 766, 767, 768, 769, 770, 771,
|
||
132, 132, 774, 123, 132, 132, 778, 132, 123, 123,
|
||
123, 266, 123, 132, 269, 132, 132, 606, 136, 123,
|
||
800, 801, 132, 135, 279, 805, 806, 616, 133, 618,
|
||
136, 620, 621, 622, 623, 130, 625, 136, 132, 628,
|
||
132, 630, 631, 298, 633, 131, 131, 636, 132, 124,
|
||
305, 640, 135, 123, 643, 124, 124, 135, 123, 123,
|
||
123, 19, 20, 21, 124, 124, 128, 125, 125, 135,
|
||
6, 132, 125, 328, 128, 131, 131, 332, 333, 334,
|
||
132, 132, 132, 132, 339, 340, 341, 132, 135, 135,
|
||
679, 680, 681, 136, 19, 20, 21, 686, 136, 136,
|
||
136, 136, 60, 61, 127, 19, 20, 21, 127, 127,
|
||
6, 133, 133, 127, 127, 132, 132, 128, 130, 6,
|
||
130, 130, 130, 130, 123, 125, 715, 132, 132, 718,
|
||
132, 132, 721, 124, 123, 60, 61, 135, 123, 728,
|
||
124, 135, 100, 125, 125, 734, 60, 61, 136, 107,
|
||
137, 137, 132, 132, 127, 131, 411, 135, 135, 127,
|
||
127, 135, 751, 121, 123, 123, 124, 125, 126, 132,
|
||
132, 760, 761, 131, 123, 100, 132, 123, 123, 123,
|
||
138, 123, 107, 136, 136, 136, 100, 776, 123, 132,
|
||
123, 780, 132, 107, 132, 123, 121, 786, 123, 124,
|
||
125, 126, 132, 132, 556, 132, 131, 828, 284, 123,
|
||
124, 125, 126, 138, 676, 97, 354, 131, 807, 808,
|
||
809, 810, 811, 812, 138, 814, 174, 816, 326, 818,
|
||
612, -1, -1, -1, -1, 824, -1, -1, -1, -1,
|
||
-1, -1, 497, 498, 499, 500, 501, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
849, -1, -1, -1, -1, 854, -1, -1, -1, -1,
|
||
859, -1, 861, -1, 863, -1, 865, 866, -1, 868,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 880, 881, 882, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
615, -1, 617, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 627, -1, 629, -1, -1, 632, -1, 634,
|
||
-1, -1, 637, -1, 639, -1, -1, 642, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 4, 5,
|
||
-1, -1, 8, 9, 10, 11, 12, 13, 14, 15,
|
||
16, 17, -1, -1, -1, -1, -1, 672, 673, 25,
|
||
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
||
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
||
-1, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
||
56, -1, 58, 59, -1, -1, 62, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 79, 80, 81, 82, 83, 84, 85,
|
||
86, 87, -1, 89, 90, 91, 92, 93, 94, 95,
|
||
96, 97, 98, 99, -1, 101, 102, 103, 104, 105,
|
||
106, -1, -1, 109, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 123, -1, -1,
|
||
126, -1, -1, 0, 1, -1, -1, 4, 5, -1,
|
||
136, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
||
17, -1, -1, -1, -1, -1, -1, -1, 25, 26,
|
||
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
||
37, 38, 39, 40, 41, 42, 43, 44, 45, -1,
|
||
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
||
-1, 58, 59, -1, -1, 62, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 79, 80, 81, 82, 83, 84, 85, 86,
|
||
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
||
97, 98, 99, -1, 101, 102, 103, 104, 105, 106,
|
||
4, 5, 109, -1, 8, 9, 10, 11, 12, 13,
|
||
14, 15, 16, 17, -1, -1, 123, 124, 125, 126,
|
||
-1, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
||
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
||
44, 45, -1, 47, 48, 49, 50, 51, 52, 53,
|
||
54, 55, 56, -1, 58, 59, -1, -1, 62, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 79, 80, 81, 82, 83,
|
||
84, 85, 86, 87, -1, 89, 90, 91, 92, 93,
|
||
94, 95, 96, 97, 98, 99, -1, 101, 102, 103,
|
||
104, 105, 106, -1, -1, 109, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, 123,
|
||
-1, -1, 126, -1, 128, 4, 5, -1, -1, 8,
|
||
9, 10, 11, 12, 13, 14, 15, 16, 17, -1,
|
||
-1, -1, -1, -1, -1, -1, 25, 26, 27, 28,
|
||
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
||
39, 40, 41, 42, 43, 44, 45, -1, 47, 48,
|
||
49, 50, 51, 52, 53, 54, 55, 56, -1, 58,
|
||
59, -1, -1, 62, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
||
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
||
99, -1, 101, 102, 103, 104, 105, 106, 4, 5,
|
||
109, -1, 8, 9, 10, 11, 12, 13, 14, 15,
|
||
16, 17, -1, -1, 123, -1, -1, 126, -1, 25,
|
||
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
||
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
||
-1, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
||
56, -1, 58, 59, -1, -1, 62, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 79, 80, 81, 82, 83, 84, 85,
|
||
86, 87, -1, 89, 90, 91, 92, 93, 94, 95,
|
||
96, 97, 98, 99, -1, 101, 102, 103, 104, 105,
|
||
106, -1, -1, 109, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 123, -1, -1,
|
||
126
|
||
};
|
||
|
||
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
||
symbol of state STATE-NUM. */
|
||
static const grib_yytype_uint8 grib_yystos[] =
|
||
{
|
||
0, 1, 4, 5, 8, 9, 10, 11, 12, 13,
|
||
14, 15, 16, 17, 25, 26, 27, 28, 29, 30,
|
||
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
||
41, 42, 43, 44, 45, 47, 48, 49, 50, 51,
|
||
52, 53, 54, 55, 56, 58, 59, 62, 79, 80,
|
||
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
||
91, 92, 93, 94, 95, 96, 97, 98, 99, 101,
|
||
102, 103, 104, 105, 106, 109, 123, 124, 125, 126,
|
||
145, 146, 149, 150, 155, 156, 157, 164, 165, 166,
|
||
167, 168, 169, 170, 173, 174, 177, 187, 188, 190,
|
||
191, 192, 131, 131, 131, 129, 131, 123, 123, 131,
|
||
129, 123, 123, 129, 123, 124, 131, 123, 129, 131,
|
||
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
||
123, 123, 123, 123, 123, 129, 129, 123, 129, 129,
|
||
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
||
123, 131, 123, 123, 124, 131, 124, 131, 124, 131,
|
||
123, 19, 20, 21, 60, 61, 100, 107, 121, 123,
|
||
124, 125, 126, 131, 138, 146, 152, 153, 154, 178,
|
||
179, 180, 181, 182, 183, 184, 185, 186, 131, 128,
|
||
123, 123, 129, 123, 123, 123, 123, 123, 129, 129,
|
||
129, 129, 123, 123, 123, 123, 131, 131, 18, 133,
|
||
133, 133, 123, 133, 0, 4, 123, 126, 128, 149,
|
||
128, 123, 124, 126, 174, 123, 124, 177, 4, 123,
|
||
192, 186, 186, 123, 125, 125, 124, 124, 152, 125,
|
||
131, 133, 146, 160, 160, 125, 186, 129, 134, 160,
|
||
125, 125, 160, 160, 160, 160, 160, 160, 160, 160,
|
||
160, 160, 160, 160, 160, 160, 129, 125, 125, 131,
|
||
125, 125, 133, 134, 134, 123, 134, 133, 133, 131,
|
||
131, 134, 135, 131, 135, 131, 134, 135, 137, 146,
|
||
161, 186, 133, 133, 125, 125, 123, 124, 131, 131,
|
||
131, 131, 131, 131, 183, 131, 186, 178, 179, 127,
|
||
122, 139, 117, 118, 140, 141, 142, 138, 143, 111,
|
||
112, 113, 114, 115, 116, 119, 120, 123, 131, 161,
|
||
125, 161, 131, 131, 131, 125, 125, 125, 125, 131,
|
||
131, 131, 154, 186, 152, 131, 22, 23, 24, 46,
|
||
57, 129, 135, 186, 129, 135, 135, 129, 134, 160,
|
||
135, 131, 133, 149, 133, 133, 133, 133, 131, 133,
|
||
132, 132, 132, 130, 132, 132, 130, 152, 152, 161,
|
||
161, 130, 132, 154, 123, 161, 130, 132, 161, 161,
|
||
161, 161, 161, 161, 161, 161, 161, 161, 161, 161,
|
||
161, 161, 152, 130, 130, 152, 130, 130, 123, 123,
|
||
123, 131, 123, 154, 154, 152, 123, 123, 168, 123,
|
||
169, 123, 123, 168, 3, 54, 63, 64, 65, 66,
|
||
67, 68, 69, 70, 71, 72, 73, 74, 75, 77,
|
||
78, 162, 163, 132, 76, 135, 186, 186, 132, 132,
|
||
132, 132, 152, 123, 123, 123, 123, 123, 124, 132,
|
||
152, 132, 153, 123, 178, 180, 180, 180, 180, 180,
|
||
180, 181, 181, 182, 182, 182, 182, 182, 182, 183,
|
||
184, 127, 152, 130, 152, 152, 152, 130, 130, 130,
|
||
130, 152, 152, 152, 132, 132, 186, 131, 131, 131,
|
||
131, 131, 125, 148, 123, 175, 176, 128, 148, 175,
|
||
175, 154, 123, 161, 175, 186, 186, 135, 135, 123,
|
||
123, 135, 123, 124, 132, 123, 135, 130, 160, 123,
|
||
123, 130, 123, 123, 132, 123, 123, 161, 133, 152,
|
||
123, 161, 161, 132, 127, 132, 131, 135, 136, 127,
|
||
136, 127, 132, 131, 135, 136, 127, 80, 81, 135,
|
||
158, 125, 126, 147, 124, 124, 124, 124, 132, 127,
|
||
127, 127, 132, 132, 127, 127, 132, 123, 132, 123,
|
||
132, 132, 132, 123, 123, 123, 123, 132, 132, 132,
|
||
135, 132, 152, 152, 152, 152, 152, 127, 130, 133,
|
||
136, 175, 130, 136, 136, 130, 160, 136, 132, 132,
|
||
123, 149, 188, 189, 149, 129, 160, 129, 160, 149,
|
||
160, 160, 160, 160, 149, 160, 161, 129, 160, 129,
|
||
160, 160, 129, 160, 131, 154, 160, 131, 154, 131,
|
||
123, 132, 131, 160, 124, 135, 123, 168, 161, 124,
|
||
161, 124, 135, 123, 168, 161, 163, 123, 123, 158,
|
||
159, 128, 151, 127, 136, 124, 124, 125, 125, 125,
|
||
132, 161, 131, 131, 154, 108, 171, 172, 135, 132,
|
||
132, 132, 132, 132, 125, 186, 160, 161, 135, 135,
|
||
133, 136, 189, 136, 136, 152, 161, 152, 161, 136,
|
||
161, 161, 161, 161, 136, 161, 152, 161, 152, 161,
|
||
161, 152, 161, 152, 186, 160, 161, 152, 160, 152,
|
||
161, 160, 152, 161, 127, 168, 127, 132, 136, 127,
|
||
127, 168, 127, 132, 136, 133, 133, 151, 136, 158,
|
||
128, 125, 126, 132, 132, 127, 132, 127, 127, 152,
|
||
152, 160, 153, 110, 136, 172, 149, 161, 161, 161,
|
||
160, 160, 128, 161, 6, 6, 130, 130, 130, 130,
|
||
130, 132, 80, 161, 132, 161, 132, 161, 132, 123,
|
||
136, 124, 135, 161, 123, 123, 136, 124, 135, 161,
|
||
186, 186, 6, 151, 125, 125, 125, 132, 132, 161,
|
||
137, 137, 136, 161, 161, 135, 135, 160, 160, 160,
|
||
160, 160, 160, 131, 160, 161, 160, 127, 132, 161,
|
||
127, 168, 127, 127, 132, 161, 127, 168, 135, 132,
|
||
132, 132, 149, 136, 149, 149, 149, 161, 161, 161,
|
||
161, 161, 161, 123, 161, 161, 123, 161, 123, 136,
|
||
123, 123, 161, 123, 136, 159, 136, 136, 136, 132,
|
||
127, 132, 127, 132, 161, 132, 132, 127, 132, 161,
|
||
136, 161, 123, 161, 123, 161, 161, 161, 123, 161,
|
||
132, 132, 132, 161, 161, 161
|
||
};
|
||
|
||
#define grib_yyerrok (grib_yyerrstatus = 0)
|
||
#define grib_yyclearin (grib_yychar = YYEMPTY)
|
||
#define YYEMPTY (-2)
|
||
#define YYEOF 0
|
||
|
||
#define YYACCEPT goto grib_yyacceptlab
|
||
#define YYABORT goto grib_yyabortlab
|
||
#define YYERROR goto grib_yyerrorlab
|
||
|
||
|
||
/* Like YYERROR except do call grib_yyerror. This remains here temporarily
|
||
to ease the transition to the new meaning of YYERROR, for GCC.
|
||
Once GCC version 2 has supplanted version 1, this can go. */
|
||
|
||
#define YYFAIL goto grib_yyerrlab
|
||
|
||
#define YYRECOVERING() (!!grib_yyerrstatus)
|
||
|
||
#define YYBACKUP(Token, Value) \
|
||
do \
|
||
if (grib_yychar == YYEMPTY && grib_yylen == 1) \
|
||
{ \
|
||
grib_yychar = (Token); \
|
||
grib_yylval = (Value); \
|
||
grib_yytoken = YYTRANSLATE (grib_yychar); \
|
||
YYPOPSTACK (1); \
|
||
goto grib_yybackup; \
|
||
} \
|
||
else \
|
||
{ \
|
||
grib_yyerror (YY_("syntax error: cannot back up")); \
|
||
YYERROR; \
|
||
} \
|
||
while (YYID (0))
|
||
|
||
|
||
#define YYTERROR 1
|
||
#define YYERRCODE 256
|
||
|
||
|
||
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
|
||
If N is 0, then set CURRENT to the empty location which ends
|
||
the previous symbol: RHS[0] (always defined). */
|
||
|
||
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
|
||
#ifndef YYLLOC_DEFAULT
|
||
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
||
do \
|
||
if (YYID (N)) \
|
||
{ \
|
||
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
|
||
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
|
||
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
|
||
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
|
||
} \
|
||
else \
|
||
{ \
|
||
(Current).first_line = (Current).last_line = \
|
||
YYRHSLOC (Rhs, 0).last_line; \
|
||
(Current).first_column = (Current).last_column = \
|
||
YYRHSLOC (Rhs, 0).last_column; \
|
||
} \
|
||
while (YYID (0))
|
||
#endif
|
||
|
||
|
||
/* YY_LOCATION_PRINT -- Print the location on the stream.
|
||
This macro was not mandated originally: define only if we know
|
||
we won't break user code: when these are the locations we know. */
|
||
|
||
#ifndef YY_LOCATION_PRINT
|
||
# if YYLTYPE_IS_TRIVIAL
|
||
# define YY_LOCATION_PRINT(File, Loc) \
|
||
fprintf (File, "%d.%d-%d.%d", \
|
||
(Loc).first_line, (Loc).first_column, \
|
||
(Loc).last_line, (Loc).last_column)
|
||
# else
|
||
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
||
# endif
|
||
#endif
|
||
|
||
|
||
/* YYLEX -- calling `grib_yylex' with the right arguments. */
|
||
|
||
#ifdef YYLEX_PARAM
|
||
# define YYLEX grib_yylex (YYLEX_PARAM)
|
||
#else
|
||
# define YYLEX grib_yylex ()
|
||
#endif
|
||
|
||
/* Enable debugging if requested. */
|
||
#if YYDEBUG
|
||
|
||
# ifndef YYFPRINTF
|
||
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YYFPRINTF fprintf
|
||
# endif
|
||
|
||
# define YYDPRINTF(Args) \
|
||
do { \
|
||
if (grib_yydebug) \
|
||
YYFPRINTF Args; \
|
||
} while (YYID (0))
|
||
|
||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||
do { \
|
||
if (grib_yydebug) \
|
||
{ \
|
||
YYFPRINTF (stderr, "%s ", Title); \
|
||
grib_yy_symbol_print (stderr, \
|
||
Type, Value); \
|
||
YYFPRINTF (stderr, "\n"); \
|
||
} \
|
||
} while (YYID (0))
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
grib_yy_symbol_value_print (FILE *grib_yyoutput, int grib_yytype, YYSTYPE const * const grib_yyvaluep)
|
||
#else
|
||
static void
|
||
grib_yy_symbol_value_print (grib_yyoutput, grib_yytype, grib_yyvaluep)
|
||
FILE *grib_yyoutput;
|
||
int grib_yytype;
|
||
YYSTYPE const * const grib_yyvaluep;
|
||
#endif
|
||
{
|
||
if (!grib_yyvaluep)
|
||
return;
|
||
# ifdef YYPRINT
|
||
if (grib_yytype < YYNTOKENS)
|
||
YYPRINT (grib_yyoutput, grib_yytoknum[grib_yytype], *grib_yyvaluep);
|
||
# else
|
||
YYUSE (grib_yyoutput);
|
||
# endif
|
||
switch (grib_yytype)
|
||
{
|
||
default:
|
||
break;
|
||
}
|
||
}
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
grib_yy_symbol_print (FILE *grib_yyoutput, int grib_yytype, YYSTYPE const * const grib_yyvaluep)
|
||
#else
|
||
static void
|
||
grib_yy_symbol_print (grib_yyoutput, grib_yytype, grib_yyvaluep)
|
||
FILE *grib_yyoutput;
|
||
int grib_yytype;
|
||
YYSTYPE const * const grib_yyvaluep;
|
||
#endif
|
||
{
|
||
if (grib_yytype < YYNTOKENS)
|
||
YYFPRINTF (grib_yyoutput, "token %s (", grib_yytname[grib_yytype]);
|
||
else
|
||
YYFPRINTF (grib_yyoutput, "nterm %s (", grib_yytname[grib_yytype]);
|
||
|
||
grib_yy_symbol_value_print (grib_yyoutput, grib_yytype, grib_yyvaluep);
|
||
YYFPRINTF (grib_yyoutput, ")");
|
||
}
|
||
|
||
/*------------------------------------------------------------------.
|
||
| grib_yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
||
| TOP (included). |
|
||
`------------------------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
grib_yy_stack_print (grib_yytype_int16 *grib_yybottom, grib_yytype_int16 *grib_yytop)
|
||
#else
|
||
static void
|
||
grib_yy_stack_print (grib_yybottom, grib_yytop)
|
||
grib_yytype_int16 *grib_yybottom;
|
||
grib_yytype_int16 *grib_yytop;
|
||
#endif
|
||
{
|
||
YYFPRINTF (stderr, "Stack now");
|
||
for (; grib_yybottom <= grib_yytop; grib_yybottom++)
|
||
{
|
||
int grib_yybot = *grib_yybottom;
|
||
YYFPRINTF (stderr, " %d", grib_yybot);
|
||
}
|
||
YYFPRINTF (stderr, "\n");
|
||
}
|
||
|
||
# define YY_STACK_PRINT(Bottom, Top) \
|
||
do { \
|
||
if (grib_yydebug) \
|
||
grib_yy_stack_print ((Bottom), (Top)); \
|
||
} while (YYID (0))
|
||
|
||
|
||
/*------------------------------------------------.
|
||
| Report that the YYRULE is going to be reduced. |
|
||
`------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
grib_yy_reduce_print (YYSTYPE *grib_yyvsp, int grib_yyrule)
|
||
#else
|
||
static void
|
||
grib_yy_reduce_print (grib_yyvsp, grib_yyrule)
|
||
YYSTYPE *grib_yyvsp;
|
||
int grib_yyrule;
|
||
#endif
|
||
{
|
||
int grib_yynrhs = grib_yyr2[grib_yyrule];
|
||
int grib_yyi;
|
||
unsigned long int grib_yylno = grib_yyrline[grib_yyrule];
|
||
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
|
||
grib_yyrule - 1, grib_yylno);
|
||
/* The symbols being reduced. */
|
||
for (grib_yyi = 0; grib_yyi < grib_yynrhs; grib_yyi++)
|
||
{
|
||
YYFPRINTF (stderr, " $%d = ", grib_yyi + 1);
|
||
grib_yy_symbol_print (stderr, grib_yyrhs[grib_yyprhs[grib_yyrule] + grib_yyi],
|
||
&(grib_yyvsp[(grib_yyi + 1) - (grib_yynrhs)])
|
||
);
|
||
YYFPRINTF (stderr, "\n");
|
||
}
|
||
}
|
||
|
||
# define YY_REDUCE_PRINT(Rule) \
|
||
do { \
|
||
if (grib_yydebug) \
|
||
grib_yy_reduce_print (grib_yyvsp, Rule); \
|
||
} while (YYID (0))
|
||
|
||
/* Nonzero means print parse trace. It is left uninitialized so that
|
||
multiple parsers can coexist. */
|
||
int grib_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 grib_yystrlen
|
||
# if defined __GLIBC__ && defined _STRING_H
|
||
# define grib_yystrlen strlen
|
||
# else
|
||
/* Return the length of YYSTR. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static YYSIZE_T
|
||
grib_yystrlen (const char *grib_yystr)
|
||
#else
|
||
static YYSIZE_T
|
||
grib_yystrlen (grib_yystr)
|
||
const char *grib_yystr;
|
||
#endif
|
||
{
|
||
YYSIZE_T grib_yylen;
|
||
for (grib_yylen = 0; grib_yystr[grib_yylen]; grib_yylen++)
|
||
continue;
|
||
return grib_yylen;
|
||
}
|
||
# endif
|
||
# endif
|
||
|
||
# ifndef grib_yystpcpy
|
||
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
|
||
# define grib_yystpcpy stpcpy
|
||
# else
|
||
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
|
||
YYDEST. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static char *
|
||
grib_yystpcpy (char *grib_yydest, const char *grib_yysrc)
|
||
#else
|
||
static char *
|
||
grib_yystpcpy (grib_yydest, grib_yysrc)
|
||
char *grib_yydest;
|
||
const char *grib_yysrc;
|
||
#endif
|
||
{
|
||
char *grib_yyd = grib_yydest;
|
||
const char *grib_yys = grib_yysrc;
|
||
|
||
while ((*grib_yyd++ = *grib_yys++) != '\0')
|
||
continue;
|
||
|
||
return grib_yyd - 1;
|
||
}
|
||
# endif
|
||
# endif
|
||
|
||
# ifndef grib_yytnamerr
|
||
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
|
||
quotes and backslashes, so that it's suitable for grib_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 grib_yytname. If YYRES is
|
||
null, do not copy; instead, return the length of what the result
|
||
would have been. */
|
||
static YYSIZE_T
|
||
grib_yytnamerr (char *grib_yyres, const char *grib_yystr)
|
||
{
|
||
if (*grib_yystr == '"')
|
||
{
|
||
YYSIZE_T grib_yyn = 0;
|
||
char const *grib_yyp = grib_yystr;
|
||
|
||
for (;;)
|
||
switch (*++grib_yyp)
|
||
{
|
||
case '\'':
|
||
case ',':
|
||
goto do_not_strip_quotes;
|
||
|
||
case '\\':
|
||
if (*++grib_yyp != '\\')
|
||
goto do_not_strip_quotes;
|
||
/* Fall through. */
|
||
default:
|
||
if (grib_yyres)
|
||
grib_yyres[grib_yyn] = *grib_yyp;
|
||
grib_yyn++;
|
||
break;
|
||
|
||
case '"':
|
||
if (grib_yyres)
|
||
grib_yyres[grib_yyn] = '\0';
|
||
return grib_yyn;
|
||
}
|
||
do_not_strip_quotes: ;
|
||
}
|
||
|
||
if (! grib_yyres)
|
||
return grib_yystrlen (grib_yystr);
|
||
|
||
return grib_yystpcpy (grib_yyres, grib_yystr) - grib_yyres;
|
||
}
|
||
# endif
|
||
|
||
/* Copy into YYRESULT an error message about the unexpected token
|
||
YYCHAR while in state YYSTATE. Return the number of bytes copied,
|
||
including the terminating null byte. If YYRESULT is null, do not
|
||
copy anything; just return the number of bytes that would be
|
||
copied. As a special case, return 0 if an ordinary "syntax error"
|
||
message will do. Return YYSIZE_MAXIMUM if overflow occurs during
|
||
size calculation. */
|
||
static YYSIZE_T
|
||
grib_yysyntax_error (char *grib_yyresult, int grib_yystate, int grib_yychar)
|
||
{
|
||
int grib_yyn = grib_yypact[grib_yystate];
|
||
|
||
if (! (YYPACT_NINF < grib_yyn && grib_yyn <= YYLAST))
|
||
return 0;
|
||
else
|
||
{
|
||
int grib_yytype = YYTRANSLATE (grib_yychar);
|
||
YYSIZE_T grib_yysize0 = grib_yytnamerr (0, grib_yytname[grib_yytype]);
|
||
YYSIZE_T grib_yysize = grib_yysize0;
|
||
YYSIZE_T grib_yysize1;
|
||
int grib_yysize_overflow = 0;
|
||
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
|
||
char const *grib_yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
|
||
int grib_yyx;
|
||
|
||
# if 0
|
||
/* This is so xgettext sees the translatable formats that are
|
||
constructed on the fly. */
|
||
YY_("syntax error, unexpected %s");
|
||
YY_("syntax error, unexpected %s, expecting %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
|
||
# endif
|
||
char *grib_yyfmt;
|
||
char const *grib_yyf;
|
||
static char const grib_yyunexpected[] = "syntax error, unexpected %s";
|
||
static char const grib_yyexpecting[] = ", expecting %s";
|
||
static char const grib_yyor[] = " or %s";
|
||
char grib_yyformat[sizeof grib_yyunexpected
|
||
+ sizeof grib_yyexpecting - 1
|
||
+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
|
||
* (sizeof grib_yyor - 1))];
|
||
char const *grib_yyprefix = grib_yyexpecting;
|
||
|
||
/* Start YYX at -YYN if negative to avoid negative indexes in
|
||
YYCHECK. */
|
||
int grib_yyxbegin = grib_yyn < 0 ? -grib_yyn : 0;
|
||
|
||
/* Stay within bounds of both grib_yycheck and grib_yytname. */
|
||
int grib_yychecklim = YYLAST - grib_yyn + 1;
|
||
int grib_yyxend = grib_yychecklim < YYNTOKENS ? grib_yychecklim : YYNTOKENS;
|
||
int grib_yycount = 1;
|
||
|
||
grib_yyarg[0] = grib_yytname[grib_yytype];
|
||
grib_yyfmt = grib_yystpcpy (grib_yyformat, grib_yyunexpected);
|
||
|
||
for (grib_yyx = grib_yyxbegin; grib_yyx < grib_yyxend; ++grib_yyx)
|
||
if (grib_yycheck[grib_yyx + grib_yyn] == grib_yyx && grib_yyx != YYTERROR)
|
||
{
|
||
if (grib_yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
|
||
{
|
||
grib_yycount = 1;
|
||
grib_yysize = grib_yysize0;
|
||
grib_yyformat[sizeof grib_yyunexpected - 1] = '\0';
|
||
break;
|
||
}
|
||
grib_yyarg[grib_yycount++] = grib_yytname[grib_yyx];
|
||
grib_yysize1 = grib_yysize + grib_yytnamerr (0, grib_yytname[grib_yyx]);
|
||
grib_yysize_overflow |= (grib_yysize1 < grib_yysize);
|
||
grib_yysize = grib_yysize1;
|
||
grib_yyfmt = grib_yystpcpy (grib_yyfmt, grib_yyprefix);
|
||
grib_yyprefix = grib_yyor;
|
||
}
|
||
|
||
grib_yyf = YY_(grib_yyformat);
|
||
grib_yysize1 = grib_yysize + grib_yystrlen (grib_yyf);
|
||
grib_yysize_overflow |= (grib_yysize1 < grib_yysize);
|
||
grib_yysize = grib_yysize1;
|
||
|
||
if (grib_yysize_overflow)
|
||
return YYSIZE_MAXIMUM;
|
||
|
||
if (grib_yyresult)
|
||
{
|
||
/* Avoid sprintf, as that infringes on the user's name space.
|
||
Don't have undefined behavior even if the translation
|
||
produced a string with the wrong number of "%s"s. */
|
||
char *grib_yyp = grib_yyresult;
|
||
int grib_yyi = 0;
|
||
while ((*grib_yyp = *grib_yyf) != '\0')
|
||
{
|
||
if (*grib_yyp == '%' && grib_yyf[1] == 's' && grib_yyi < grib_yycount)
|
||
{
|
||
grib_yyp += grib_yytnamerr (grib_yyp, grib_yyarg[grib_yyi++]);
|
||
grib_yyf += 2;
|
||
}
|
||
else
|
||
{
|
||
grib_yyp++;
|
||
grib_yyf++;
|
||
}
|
||
}
|
||
}
|
||
return grib_yysize;
|
||
}
|
||
}
|
||
#endif /* YYERROR_VERBOSE */
|
||
|
||
|
||
/*-----------------------------------------------.
|
||
| Release the memory associated to this symbol. |
|
||
`-----------------------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
grib_yydestruct (const char *grib_yymsg, int grib_yytype, YYSTYPE *grib_yyvaluep)
|
||
#else
|
||
static void
|
||
grib_yydestruct (grib_yymsg, grib_yytype, grib_yyvaluep)
|
||
const char *grib_yymsg;
|
||
int grib_yytype;
|
||
YYSTYPE *grib_yyvaluep;
|
||
#endif
|
||
{
|
||
YYUSE (grib_yyvaluep);
|
||
|
||
if (!grib_yymsg)
|
||
grib_yymsg = "Deleting";
|
||
YY_SYMBOL_PRINT (grib_yymsg, grib_yytype, grib_yyvaluep, grib_yylocationp);
|
||
|
||
switch (grib_yytype)
|
||
{
|
||
|
||
default:
|
||
break;
|
||
}
|
||
}
|
||
|
||
/* Prevent warnings from -Wmissing-prototypes. */
|
||
#ifdef YYPARSE_PARAM
|
||
#if defined __STDC__ || defined __cplusplus
|
||
int grib_yyparse (void *YYPARSE_PARAM);
|
||
#else
|
||
int grib_yyparse ();
|
||
#endif
|
||
#else /* ! YYPARSE_PARAM */
|
||
#if defined __STDC__ || defined __cplusplus
|
||
int grib_yyparse (void);
|
||
#else
|
||
int grib_yyparse ();
|
||
#endif
|
||
#endif /* ! YYPARSE_PARAM */
|
||
|
||
|
||
/* The lookahead symbol. */
|
||
int grib_yychar;
|
||
|
||
/* The semantic value of the lookahead symbol. */
|
||
YYSTYPE grib_yylval;
|
||
|
||
/* Number of syntax errors so far. */
|
||
int grib_yynerrs;
|
||
|
||
|
||
|
||
/*-------------------------.
|
||
| grib_yyparse or grib_yypush_parse. |
|
||
`-------------------------*/
|
||
|
||
#ifdef YYPARSE_PARAM
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
int
|
||
grib_yyparse (void *YYPARSE_PARAM)
|
||
#else
|
||
int
|
||
grib_yyparse (YYPARSE_PARAM)
|
||
void *YYPARSE_PARAM;
|
||
#endif
|
||
#else /* ! YYPARSE_PARAM */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
int
|
||
grib_yyparse (void)
|
||
#else
|
||
int
|
||
grib_yyparse ()
|
||
|
||
#endif
|
||
#endif
|
||
{
|
||
|
||
|
||
int grib_yystate;
|
||
/* Number of tokens to shift before error messages enabled. */
|
||
int grib_yyerrstatus;
|
||
|
||
/* The stacks and their tools:
|
||
`grib_yyss': related to states.
|
||
`grib_yyvs': related to semantic values.
|
||
|
||
Refer to the stacks thru separate pointers, to allow grib_yyoverflow
|
||
to reallocate them elsewhere. */
|
||
|
||
/* The state stack. */
|
||
grib_yytype_int16 grib_yyssa[YYINITDEPTH];
|
||
grib_yytype_int16 *grib_yyss;
|
||
grib_yytype_int16 *grib_yyssp;
|
||
|
||
/* The semantic value stack. */
|
||
YYSTYPE grib_yyvsa[YYINITDEPTH];
|
||
YYSTYPE *grib_yyvs;
|
||
YYSTYPE *grib_yyvsp;
|
||
|
||
YYSIZE_T grib_yystacksize;
|
||
|
||
int grib_yyn;
|
||
int grib_yyresult;
|
||
/* Lookahead token as an internal (translated) token number. */
|
||
int grib_yytoken;
|
||
/* The variables used to return semantic value and location from the
|
||
action routines. */
|
||
YYSTYPE grib_yyval;
|
||
|
||
#if YYERROR_VERBOSE
|
||
/* Buffer for error messages, and its allocated size. */
|
||
char grib_yymsgbuf[128];
|
||
char *grib_yymsg = grib_yymsgbuf;
|
||
YYSIZE_T grib_yymsg_alloc = sizeof grib_yymsgbuf;
|
||
#endif
|
||
|
||
#define YYPOPSTACK(N) (grib_yyvsp -= (N), grib_yyssp -= (N))
|
||
|
||
/* The number of symbols on the RHS of the reduced rule.
|
||
Keep to zero when no symbol should be popped. */
|
||
int grib_yylen = 0;
|
||
|
||
grib_yytoken = 0;
|
||
grib_yyss = grib_yyssa;
|
||
grib_yyvs = grib_yyvsa;
|
||
grib_yystacksize = YYINITDEPTH;
|
||
|
||
YYDPRINTF ((stderr, "Starting parse\n"));
|
||
|
||
grib_yystate = 0;
|
||
grib_yyerrstatus = 0;
|
||
grib_yynerrs = 0;
|
||
grib_yychar = YYEMPTY; /* Cause a token to be read. */
|
||
|
||
/* Initialize stack pointers.
|
||
Waste one element of value and location stack
|
||
so that they stay on the same level as the state stack.
|
||
The wasted elements are never initialized. */
|
||
grib_yyssp = grib_yyss;
|
||
grib_yyvsp = grib_yyvs;
|
||
|
||
goto grib_yysetstate;
|
||
|
||
/*------------------------------------------------------------.
|
||
| grib_yynewstate -- Push a new state, which is found in grib_yystate. |
|
||
`------------------------------------------------------------*/
|
||
grib_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. */
|
||
grib_yyssp++;
|
||
|
||
grib_yysetstate:
|
||
*grib_yyssp = grib_yystate;
|
||
|
||
if (grib_yyss + grib_yystacksize - 1 <= grib_yyssp)
|
||
{
|
||
/* Get the current used size of the three stacks, in elements. */
|
||
YYSIZE_T grib_yysize = grib_yyssp - grib_yyss + 1;
|
||
|
||
#ifdef grib_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 *grib_yyvs1 = grib_yyvs;
|
||
grib_yytype_int16 *grib_yyss1 = grib_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 grib_yyoverflow is a macro. */
|
||
grib_yyoverflow (YY_("memory exhausted"),
|
||
&grib_yyss1, grib_yysize * sizeof (*grib_yyssp),
|
||
&grib_yyvs1, grib_yysize * sizeof (*grib_yyvsp),
|
||
&grib_yystacksize);
|
||
|
||
grib_yyss = grib_yyss1;
|
||
grib_yyvs = grib_yyvs1;
|
||
}
|
||
#else /* no grib_yyoverflow */
|
||
# ifndef YYSTACK_RELOCATE
|
||
goto grib_yyexhaustedlab;
|
||
# else
|
||
/* Extend the stack our own way. */
|
||
if (YYMAXDEPTH <= grib_yystacksize)
|
||
goto grib_yyexhaustedlab;
|
||
grib_yystacksize *= 2;
|
||
if (YYMAXDEPTH < grib_yystacksize)
|
||
grib_yystacksize = YYMAXDEPTH;
|
||
|
||
{
|
||
grib_yytype_int16 *grib_yyss1 = grib_yyss;
|
||
union grib_yyalloc *grib_yyptr =
|
||
(union grib_yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (grib_yystacksize));
|
||
if (! grib_yyptr)
|
||
goto grib_yyexhaustedlab;
|
||
YYSTACK_RELOCATE (grib_yyss_alloc, grib_yyss);
|
||
YYSTACK_RELOCATE (grib_yyvs_alloc, grib_yyvs);
|
||
# undef YYSTACK_RELOCATE
|
||
if (grib_yyss1 != grib_yyssa)
|
||
YYSTACK_FREE (grib_yyss1);
|
||
}
|
||
# endif
|
||
#endif /* no grib_yyoverflow */
|
||
|
||
grib_yyssp = grib_yyss + grib_yysize - 1;
|
||
grib_yyvsp = grib_yyvs + grib_yysize - 1;
|
||
|
||
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
|
||
(unsigned long int) grib_yystacksize));
|
||
|
||
if (grib_yyss + grib_yystacksize - 1 <= grib_yyssp)
|
||
YYABORT;
|
||
}
|
||
|
||
YYDPRINTF ((stderr, "Entering state %d\n", grib_yystate));
|
||
|
||
if (grib_yystate == YYFINAL)
|
||
YYACCEPT;
|
||
|
||
goto grib_yybackup;
|
||
|
||
/*-----------.
|
||
| grib_yybackup. |
|
||
`-----------*/
|
||
grib_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. */
|
||
grib_yyn = grib_yypact[grib_yystate];
|
||
if (grib_yyn == YYPACT_NINF)
|
||
goto grib_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 (grib_yychar == YYEMPTY)
|
||
{
|
||
YYDPRINTF ((stderr, "Reading a token: "));
|
||
grib_yychar = YYLEX;
|
||
}
|
||
|
||
if (grib_yychar <= YYEOF)
|
||
{
|
||
grib_yychar = grib_yytoken = YYEOF;
|
||
YYDPRINTF ((stderr, "Now at end of input.\n"));
|
||
}
|
||
else
|
||
{
|
||
grib_yytoken = YYTRANSLATE (grib_yychar);
|
||
YY_SYMBOL_PRINT ("Next token is", grib_yytoken, &grib_yylval, &grib_yylloc);
|
||
}
|
||
|
||
/* If the proper action on seeing token YYTOKEN is to reduce or to
|
||
detect an error, take that action. */
|
||
grib_yyn += grib_yytoken;
|
||
if (grib_yyn < 0 || YYLAST < grib_yyn || grib_yycheck[grib_yyn] != grib_yytoken)
|
||
goto grib_yydefault;
|
||
grib_yyn = grib_yytable[grib_yyn];
|
||
if (grib_yyn <= 0)
|
||
{
|
||
if (grib_yyn == 0 || grib_yyn == YYTABLE_NINF)
|
||
goto grib_yyerrlab;
|
||
grib_yyn = -grib_yyn;
|
||
goto grib_yyreduce;
|
||
}
|
||
|
||
/* Count tokens shifted since error; after three, turn off error
|
||
status. */
|
||
if (grib_yyerrstatus)
|
||
grib_yyerrstatus--;
|
||
|
||
/* Shift the lookahead token. */
|
||
YY_SYMBOL_PRINT ("Shifting", grib_yytoken, &grib_yylval, &grib_yylloc);
|
||
|
||
/* Discard the shifted token. */
|
||
grib_yychar = YYEMPTY;
|
||
|
||
grib_yystate = grib_yyn;
|
||
*++grib_yyvsp = grib_yylval;
|
||
|
||
goto grib_yynewstate;
|
||
|
||
|
||
/*-----------------------------------------------------------.
|
||
| grib_yydefault -- do the default action for the current state. |
|
||
`-----------------------------------------------------------*/
|
||
grib_yydefault:
|
||
grib_yyn = grib_yydefact[grib_yystate];
|
||
if (grib_yyn == 0)
|
||
goto grib_yyerrlab;
|
||
goto grib_yyreduce;
|
||
|
||
|
||
/*-----------------------------.
|
||
| grib_yyreduce -- Do a reduction. |
|
||
`-----------------------------*/
|
||
grib_yyreduce:
|
||
/* grib_yyn is the number of a rule to reduce with. */
|
||
grib_yylen = grib_yyr2[grib_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. */
|
||
grib_yyval = grib_yyvsp[1-grib_yylen];
|
||
|
||
|
||
YY_REDUCE_PRINT (grib_yyn);
|
||
switch (grib_yyn)
|
||
{
|
||
case 2:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 258 "griby.y"
|
||
{ grib_parser_all_actions = 0;grib_parser_concept=0;
|
||
grib_parser_hash_array=0;grib_parser_rules=0; }
|
||
break;
|
||
|
||
case 3:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 260 "griby.y"
|
||
{ grib_parser_concept = reverse_concept((grib_yyvsp[(1) - (1)].concept_value)); }
|
||
break;
|
||
|
||
case 4:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 261 "griby.y"
|
||
{ grib_parser_hash_array = reverse_hash_array((grib_yyvsp[(1) - (1)].hash_array_value)); }
|
||
break;
|
||
|
||
case 5:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 262 "griby.y"
|
||
{ grib_parser_all_actions = (grib_yyvsp[(1) - (1)].act); }
|
||
break;
|
||
|
||
case 6:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 263 "griby.y"
|
||
{ grib_parser_rules = (grib_yyvsp[(1) - (1)].rules); }
|
||
break;
|
||
|
||
case 7:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 265 "griby.y"
|
||
{ grib_parser_all_actions = 0; grib_parser_concept=0;
|
||
grib_parser_hash_array=0; grib_parser_rules=0; }
|
||
break;
|
||
|
||
case 9:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 272 "griby.y"
|
||
{ (grib_yyval.dvalue)=grib_darray_push(0,0,(grib_yyvsp[(1) - (1)].dval));}
|
||
break;
|
||
|
||
case 10:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 273 "griby.y"
|
||
{ (grib_yyval.dvalue)=grib_darray_push(0,(grib_yyvsp[(1) - (3)].dvalue),(grib_yyvsp[(3) - (3)].dval));}
|
||
break;
|
||
|
||
case 11:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 274 "griby.y"
|
||
{ (grib_yyval.dvalue)=grib_darray_push(0,0,(grib_yyvsp[(1) - (1)].lval));}
|
||
break;
|
||
|
||
case 12:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 275 "griby.y"
|
||
{ (grib_yyval.dvalue)=grib_darray_push(0,(grib_yyvsp[(1) - (3)].dvalue),(grib_yyvsp[(3) - (3)].lval));}
|
||
break;
|
||
|
||
case 13:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 278 "griby.y"
|
||
{ (grib_yyval.ivalue)=grib_iarray_push(0,(grib_yyvsp[(1) - (1)].lval));}
|
||
break;
|
||
|
||
case 14:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 279 "griby.y"
|
||
{ (grib_yyval.ivalue)=grib_iarray_push((grib_yyvsp[(1) - (3)].ivalue),(grib_yyvsp[(3) - (3)].lval));}
|
||
break;
|
||
|
||
case 16:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 283 "griby.y"
|
||
{ (grib_yyvsp[(1) - (2)].act)->next = (grib_yyvsp[(2) - (2)].act); (grib_yyval.act) = (grib_yyvsp[(1) - (2)].act); }
|
||
break;
|
||
|
||
case 17:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 284 "griby.y"
|
||
{ (grib_yyvsp[(1) - (3)].act)->next = (grib_yyvsp[(3) - (3)].act); (grib_yyval.act) = (grib_yyvsp[(1) - (3)].act); }
|
||
break;
|
||
|
||
case 18:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 285 "griby.y"
|
||
{ (grib_yyval.act) = (grib_yyvsp[(1) - (2)].act);}
|
||
break;
|
||
|
||
case 30:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 304 "griby.y"
|
||
{ (grib_yyval.explist) = 0; }
|
||
break;
|
||
|
||
case 33:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 309 "griby.y"
|
||
{ (grib_yyvsp[(1) - (3)].explist)->next = (grib_yyvsp[(3) - (3)].explist); (grib_yyval.explist) = (grib_yyvsp[(1) - (3)].explist); }
|
||
break;
|
||
|
||
case 34:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 312 "griby.y"
|
||
{ (grib_yyval.explist) = grib_arguments_new(grib_parser_context,(grib_yyvsp[(1) - (1)].exp),NULL); }
|
||
break;
|
||
|
||
case 35:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 317 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"unsigned",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 36:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 320 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"unsigned",(grib_yyvsp[(3) - (10)].lval),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 37:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 323 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"unsigned_bits",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 38:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 326 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"unsigned_bits",(grib_yyvsp[(3) - (10)].lval),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 39:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 329 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"ascii",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 40:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 332 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"group",0,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 41:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 335 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"group",0,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 42:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 338 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(1) - (7)].str),"to_integer",0,(grib_yyvsp[(5) - (7)].explist),0,(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(1) - (7)].str)); }
|
||
break;
|
||
|
||
case 43:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 341 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(1) - (7)].str),"sexagesimal2decimal",0,(grib_yyvsp[(5) - (7)].explist),0,(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(1) - (7)].str)); }
|
||
break;
|
||
|
||
case 44:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 344 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(1) - (7)].str),"to_string",0,(grib_yyvsp[(5) - (7)].explist),0,(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(1) - (7)].str)); }
|
||
break;
|
||
|
||
case 45:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 347 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"non_alpha",0,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 46:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 351 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"ascii",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 47:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 354 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"bytes",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 48:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 357 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"bytes",(grib_yyvsp[(3) - (10)].lval),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 49:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 360 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"ksec1expver",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 50:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 363 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"signed",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 51:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 366 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"signed",(grib_yyvsp[(3) - (10)].lval),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 52:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 369 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (7)].str),"signed_bits",(grib_yyvsp[(3) - (7)].lval),NULL,(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(5) - (7)].str)); }
|
||
break;
|
||
|
||
case 53:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 372 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"signed_bits",(grib_yyvsp[(3) - (10)].lval),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 54:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 375 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (8)].str),"codetable",(grib_yyvsp[(3) - (8)].lval), (grib_yyvsp[(6) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL,NULL); free((grib_yyvsp[(5) - (8)].str)); }
|
||
break;
|
||
|
||
case 55:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 378 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (12)].str),"codetable",(grib_yyvsp[(3) - (12)].lval), (grib_yyvsp[(6) - (12)].explist),(grib_yyvsp[(7) - (12)].explist),(grib_yyvsp[(12) - (12)].lval),NULL,(grib_yyvsp[(10) - (12)].str));
|
||
free((grib_yyvsp[(5) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); }
|
||
break;
|
||
|
||
case 56:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 382 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"codetable",(grib_yyvsp[(3) - (10)].lval), (grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 57:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 385 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"smart_table",0,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 58:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 388 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(1) - (8)].str),"dictionary",0,(grib_yyvsp[(5) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL,NULL); free((grib_yyvsp[(1) - (8)].str)); }
|
||
break;
|
||
|
||
case 59:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 391 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(1) - (8)].str),"getenv",0,(grib_yyvsp[(5) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL,NULL); free((grib_yyvsp[(1) - (8)].str)); }
|
||
break;
|
||
|
||
case 60:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 394 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (8)].str),"complex_codetable",(grib_yyvsp[(3) - (8)].lval), (grib_yyvsp[(6) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL,NULL); free((grib_yyvsp[(5) - (8)].str)); }
|
||
break;
|
||
|
||
case 61:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 397 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (10)].str),"complex_codetable",(grib_yyvsp[(3) - (10)].lval), (grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),NULL,NULL); free((grib_yyvsp[(5) - (10)].str)); }
|
||
break;
|
||
|
||
case 62:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 400 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (8)].str),"codeflag",(grib_yyvsp[(3) - (8)].lval), (grib_yyvsp[(6) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL,NULL); free((grib_yyvsp[(5) - (8)].str)); }
|
||
break;
|
||
|
||
case 63:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 403 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (9)].str),"lookup",(grib_yyvsp[(3) - (9)].lval),(grib_yyvsp[(7) - (9)].explist),NULL,(grib_yyvsp[(9) - (9)].lval),NULL,NULL); free((grib_yyvsp[(5) - (9)].str)); }
|
||
break;
|
||
|
||
case 64:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 406 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"bit",0,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 65:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 409 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (2)].str),"label",0,NULL,NULL,0,NULL,NULL); free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 66:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 412 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (2)].str),"label",0,NULL,NULL,0,NULL,NULL); free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 67:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 415 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"ibmfloat",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 68:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 419 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int8",1,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 69:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 422 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint8",1,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 70:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 425 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int16",2,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 71:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 428 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint16",2,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 72:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 431 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int16_little_endian",2,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 73:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 434 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint16_little_endian",2,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 74:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 437 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int32",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 75:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 440 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint32",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 76:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 443 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int32_little_endian",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 77:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 446 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint32_little_endian",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 78:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 449 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int64",8,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 79:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 452 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint64",8,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 80:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 455 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"int64_little_endian",8,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 81:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 458 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"uint64_little_endian",8,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL);free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 82:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 461 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"blob",0,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL); free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 83:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 465 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(4) - (6)].str),"ibmfloat",4,NULL,(grib_yyvsp[(5) - (6)].explist),(grib_yyvsp[(6) - (6)].lval),(grib_yyvsp[(2) - (6)].str),NULL);free((grib_yyvsp[(4) - (6)].str)); free((grib_yyvsp[(2) - (6)].str)); }
|
||
break;
|
||
|
||
case 84:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 468 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"ibmfloat",4,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL);free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 85:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 471 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (2)].str),"position",0,NULL,NULL,0,NULL,NULL); free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 86:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 474 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_variable(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"constant",0,(grib_yyvsp[(4) - (5)].explist),NULL,(grib_yyvsp[(5) - (5)].lval),NULL);free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 87:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 477 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_variable(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"transient",0,(grib_yyvsp[(4) - (5)].explist),(grib_yyvsp[(4) - (5)].explist),(grib_yyvsp[(5) - (5)].lval),NULL); free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 88:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 480 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (4)].str),"ieeefloat",4,NULL,(grib_yyvsp[(3) - (4)].explist),(grib_yyvsp[(4) - (4)].lval),NULL,NULL); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 89:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 483 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(4) - (6)].str),"ieeefloat",4,NULL,(grib_yyvsp[(5) - (6)].explist),(grib_yyvsp[(6) - (6)].lval),(grib_yyvsp[(2) - (6)].str),NULL); free((grib_yyvsp[(4) - (6)].str));free((grib_yyvsp[(2) - (6)].str));}
|
||
break;
|
||
|
||
case 90:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 486 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (7)].str),"ieeefloat",4,(grib_yyvsp[(4) - (7)].explist),(grib_yyvsp[(6) - (7)].explist),(grib_yyvsp[(7) - (7)].lval),NULL,NULL);free((grib_yyvsp[(2) - (7)].str)); }
|
||
break;
|
||
|
||
case 91:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 489 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (2)].str),"g1_half_byte_codeflag",0,NULL,NULL,0,NULL,NULL);free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 92:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 492 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (5)].str),"section_length",(grib_yyvsp[(3) - (5)].lval),NULL,NULL,0,NULL,NULL);free((grib_yyvsp[(5) - (5)].str)); }
|
||
break;
|
||
|
||
case 93:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 495 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (8)].str),"g1_message_length",(grib_yyvsp[(3) - (8)].lval),(grib_yyvsp[(7) - (8)].explist),NULL,0,NULL,NULL);free((grib_yyvsp[(5) - (8)].str)); }
|
||
break;
|
||
|
||
case 94:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 498 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (8)].str),"g1_section4_length",(grib_yyvsp[(3) - (8)].lval),(grib_yyvsp[(7) - (8)].explist),NULL,0,NULL,NULL);free((grib_yyvsp[(5) - (8)].str)); }
|
||
break;
|
||
|
||
case 95:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 501 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (3)].str),"ksec",0,(grib_yyvsp[(3) - (3)].explist),NULL,0,NULL,NULL);free((grib_yyvsp[(2) - (3)].str)); }
|
||
break;
|
||
|
||
case 96:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 504 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"pad",0,(grib_yyvsp[(4) - (5)].explist),0,0,NULL,NULL); free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 97:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 507 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"padto",0,(grib_yyvsp[(4) - (5)].explist),0,0,NULL,NULL); free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 98:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 510 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"padtoeven",0,(grib_yyvsp[(4) - (5)].explist),0,0,NULL,NULL); free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 99:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 513 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (5)].str),"padtomultiple",0,(grib_yyvsp[(4) - (5)].explist),0,0,NULL,NULL); free((grib_yyvsp[(2) - (5)].str)); }
|
||
break;
|
||
|
||
case 100:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 516 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(5) - (6)].str),"message",(grib_yyvsp[(3) - (6)].lval),0,0,(grib_yyvsp[(6) - (6)].lval),NULL,NULL); free((grib_yyvsp[(5) - (6)].str)); }
|
||
break;
|
||
|
||
case 101:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 519 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (3)].str),"message_copy",0,0,0,(grib_yyvsp[(3) - (3)].lval),NULL,NULL); free((grib_yyvsp[(2) - (3)].str)); }
|
||
break;
|
||
|
||
case 102:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 522 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_gen(grib_parser_context,(grib_yyvsp[(2) - (3)].str),"section_padding",0,0,0,(grib_yyvsp[(3) - (3)].lval),NULL,NULL); free((grib_yyvsp[(2) - (3)].str)); }
|
||
break;
|
||
|
||
case 103:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 524 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_template(grib_parser_context,0,(grib_yyvsp[(2) - (3)].str),(grib_yyvsp[(3) - (3)].str)); free((grib_yyvsp[(2) - (3)].str)); free((grib_yyvsp[(3) - (3)].str));}
|
||
break;
|
||
|
||
case 104:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 526 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_template(grib_parser_context,1,(grib_yyvsp[(2) - (3)].str),(grib_yyvsp[(3) - (3)].str)); free((grib_yyvsp[(2) - (3)].str)); free((grib_yyvsp[(3) - (3)].str));}
|
||
break;
|
||
|
||
case 105:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 529 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_alias(grib_parser_context,(grib_yyvsp[(2) - (5)].str),(grib_yyvsp[(4) - (5)].str),NULL,(grib_yyvsp[(5) - (5)].lval)); free((grib_yyvsp[(2) - (5)].str)); free((grib_yyvsp[(4) - (5)].str)); }
|
||
break;
|
||
|
||
case 106:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 532 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_alias(grib_parser_context,(grib_yyvsp[(2) - (2)].str),NULL,NULL,0); free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 107:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 535 "griby.y"
|
||
{
|
||
(grib_yyval.act) = grib_action_create_alias(grib_parser_context,(grib_yyvsp[(4) - (7)].str),(grib_yyvsp[(6) - (7)].str),(grib_yyvsp[(2) - (7)].str),(grib_yyvsp[(7) - (7)].lval)); free((grib_yyvsp[(2) - (7)].str)); free((grib_yyvsp[(4) - (7)].str)); free((grib_yyvsp[(6) - (7)].str));
|
||
}
|
||
break;
|
||
|
||
case 108:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 539 "griby.y"
|
||
{
|
||
(grib_yyval.act) = grib_action_create_alias(grib_parser_context,(grib_yyvsp[(4) - (4)].str),NULL,(grib_yyvsp[(2) - (4)].str),0); free((grib_yyvsp[(2) - (4)].str)); free((grib_yyvsp[(4) - (4)].str));
|
||
}
|
||
break;
|
||
|
||
case 109:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 543 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_meta(grib_parser_context,(grib_yyvsp[(2) - (8)].str),(grib_yyvsp[(3) - (8)].str),(grib_yyvsp[(5) - (8)].explist),(grib_yyvsp[(7) - (8)].explist),(grib_yyvsp[(8) - (8)].lval),NULL); free((grib_yyvsp[(2) - (8)].str));free((grib_yyvsp[(3) - (8)].str));}
|
||
break;
|
||
|
||
case 110:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 546 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_meta(grib_parser_context,(grib_yyvsp[(4) - (10)].str),(grib_yyvsp[(5) - (10)].str),(grib_yyvsp[(7) - (10)].explist),(grib_yyvsp[(9) - (10)].explist),(grib_yyvsp[(10) - (10)].lval),(grib_yyvsp[(2) - (10)].str)); free((grib_yyvsp[(4) - (10)].str));free((grib_yyvsp[(5) - (10)].str));free((grib_yyvsp[(2) - (10)].str));}
|
||
break;
|
||
|
||
case 111:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 549 "griby.y"
|
||
{
|
||
grib_arguments* a = grib_arguments_new(
|
||
grib_parser_context,
|
||
new_accessor_expression(grib_parser_context,(grib_yyvsp[(2) - (5)].str),0,0),
|
||
NULL
|
||
);
|
||
a->next=(grib_yyvsp[(4) - (5)].explist);
|
||
(grib_yyval.act) = grib_action_create_meta(grib_parser_context,
|
||
"ITERATOR","iterator",a,NULL,
|
||
GRIB_ACCESSOR_FLAG_HIDDEN|GRIB_ACCESSOR_FLAG_READ_ONLY,NULL); free((grib_yyvsp[(2) - (5)].str));
|
||
}
|
||
break;
|
||
|
||
case 112:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 561 "griby.y"
|
||
{
|
||
grib_arguments* a = grib_arguments_new(
|
||
grib_parser_context,
|
||
new_accessor_expression(grib_parser_context,(grib_yyvsp[(2) - (5)].str),0,0),
|
||
NULL
|
||
);
|
||
a->next=(grib_yyvsp[(4) - (5)].explist);
|
||
(grib_yyval.act) = grib_action_create_meta(grib_parser_context,
|
||
"NEAREST","nearest",a,NULL,
|
||
GRIB_ACCESSOR_FLAG_HIDDEN|GRIB_ACCESSOR_FLAG_READ_ONLY,NULL); free((grib_yyvsp[(2) - (5)].str));
|
||
}
|
||
break;
|
||
|
||
case 113:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 573 "griby.y"
|
||
{
|
||
grib_arguments* a = grib_arguments_new(
|
||
grib_parser_context,
|
||
new_accessor_expression(grib_parser_context,(grib_yyvsp[(2) - (5)].str),0,0),
|
||
NULL
|
||
);
|
||
a->next=(grib_yyvsp[(4) - (5)].explist);
|
||
(grib_yyval.act) = grib_action_create_meta(grib_parser_context,
|
||
"BOX","box",a,NULL,
|
||
GRIB_ACCESSOR_FLAG_HIDDEN|GRIB_ACCESSOR_FLAG_READ_ONLY,NULL); free((grib_yyvsp[(2) - (5)].str));
|
||
}
|
||
break;
|
||
|
||
case 114:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 585 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_put(grib_parser_context,(grib_yyvsp[(2) - (5)].str),(grib_yyvsp[(4) - (5)].explist));free((grib_yyvsp[(2) - (5)].str));}
|
||
break;
|
||
|
||
case 115:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 588 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_remove(grib_parser_context,(grib_yyvsp[(2) - (2)].explist));}
|
||
break;
|
||
|
||
case 116:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 590 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_rename(grib_parser_context,(grib_yyvsp[(3) - (6)].str),(grib_yyvsp[(5) - (6)].str));free((grib_yyvsp[(3) - (6)].str));free((grib_yyvsp[(5) - (6)].str));}
|
||
break;
|
||
|
||
case 117:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 593 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_assert(grib_parser_context,(grib_yyvsp[(3) - (4)].exp));}
|
||
break;
|
||
|
||
case 118:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 596 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_modify(grib_parser_context,(grib_yyvsp[(2) - (3)].str),(grib_yyvsp[(3) - (3)].lval)); free((grib_yyvsp[(2) - (3)].str));}
|
||
break;
|
||
|
||
case 119:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 598 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set_missing(grib_parser_context,(grib_yyvsp[(2) - (4)].str)); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 120:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 599 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set(grib_parser_context,(grib_yyvsp[(2) - (4)].str),(grib_yyvsp[(4) - (4)].exp),0); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 121:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 600 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set_darray(grib_parser_context,(grib_yyvsp[(2) - (6)].str),(grib_yyvsp[(5) - (6)].dvalue)); free((grib_yyvsp[(2) - (6)].str)); }
|
||
break;
|
||
|
||
case 122:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 602 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set(grib_parser_context,(grib_yyvsp[(2) - (4)].str),(grib_yyvsp[(4) - (4)].exp),1); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 123:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 605 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,(grib_yyvsp[(2) - (2)].str),0,0); free((grib_yyvsp[(2) - (2)].str));}
|
||
break;
|
||
|
||
case 124:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 606 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,"",0,0); }
|
||
break;
|
||
|
||
case 125:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 607 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,(grib_yyvsp[(5) - (5)].str),0,(grib_yyvsp[(3) - (5)].lval)); free((grib_yyvsp[(5) - (5)].str));}
|
||
break;
|
||
|
||
case 126:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 608 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,"",0,(grib_yyvsp[(3) - (4)].lval)); }
|
||
break;
|
||
|
||
case 127:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 609 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,(grib_yyvsp[(2) - (2)].str),1,0); free((grib_yyvsp[(2) - (2)].str));}
|
||
break;
|
||
|
||
case 128:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 610 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,"",1,0); }
|
||
break;
|
||
|
||
case 129:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 611 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,(grib_yyvsp[(5) - (5)].str),1,(grib_yyvsp[(3) - (5)].lval)); free((grib_yyvsp[(5) - (5)].str));}
|
||
break;
|
||
|
||
case 130:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 612 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_write(grib_parser_context,"",1,(grib_yyvsp[(3) - (4)].lval)); }
|
||
break;
|
||
|
||
case 131:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 614 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_close(grib_parser_context,(grib_yyvsp[(3) - (4)].str)); free((grib_yyvsp[(3) - (4)].str));}
|
||
break;
|
||
|
||
case 132:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 615 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_print(grib_parser_context,(grib_yyvsp[(2) - (2)].str),0); free((grib_yyvsp[(2) - (2)].str)); }
|
||
break;
|
||
|
||
case 133:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 616 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_print(grib_parser_context,(grib_yyvsp[(5) - (5)].str),(grib_yyvsp[(3) - (5)].str)); free((grib_yyvsp[(5) - (5)].str)); free((grib_yyvsp[(3) - (5)].str));}
|
||
break;
|
||
|
||
case 134:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 617 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_print(grib_parser_context,(grib_yyvsp[(5) - (5)].str),(grib_yyvsp[(3) - (5)].str)); free((grib_yyvsp[(5) - (5)].str)); free((grib_yyvsp[(3) - (5)].str));}
|
||
break;
|
||
|
||
case 135:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 618 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_print(grib_parser_context,"",0); }
|
||
break;
|
||
|
||
case 136:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 622 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_if(grib_parser_context,(grib_yyvsp[(3) - (7)].exp),(grib_yyvsp[(6) - (7)].act),0,0); }
|
||
break;
|
||
|
||
case 137:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 623 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_if(grib_parser_context,(grib_yyvsp[(3) - (11)].exp),(grib_yyvsp[(6) - (11)].act),(grib_yyvsp[(10) - (11)].act),0); }
|
||
break;
|
||
|
||
case 138:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 624 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_if(grib_parser_context,(grib_yyvsp[(3) - (7)].exp),(grib_yyvsp[(6) - (7)].act),0,1); }
|
||
break;
|
||
|
||
case 139:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 625 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_if(grib_parser_context,(grib_yyvsp[(3) - (11)].exp),(grib_yyvsp[(6) - (11)].act),(grib_yyvsp[(10) - (11)].act),1); }
|
||
break;
|
||
|
||
case 140:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 629 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_when(grib_parser_context,(grib_yyvsp[(3) - (6)].exp),(grib_yyvsp[(5) - (6)].act),NULL); }
|
||
break;
|
||
|
||
case 141:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 630 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_when(grib_parser_context,(grib_yyvsp[(3) - (7)].exp),(grib_yyvsp[(6) - (7)].act),NULL); }
|
||
break;
|
||
|
||
case 142:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 631 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_when(grib_parser_context,(grib_yyvsp[(3) - (11)].exp),(grib_yyvsp[(6) - (11)].act),(grib_yyvsp[(10) - (11)].act)); }
|
||
break;
|
||
|
||
case 143:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 634 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set(grib_parser_context,(grib_yyvsp[(2) - (4)].str),(grib_yyvsp[(4) - (4)].exp),0); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 144:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 635 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_set(grib_parser_context,(grib_yyvsp[(2) - (4)].str),(grib_yyvsp[(4) - (4)].exp),1); free((grib_yyvsp[(2) - (4)].str)); }
|
||
break;
|
||
|
||
case 146:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 639 "griby.y"
|
||
{ (grib_yyvsp[(1) - (3)].act)->next = (grib_yyvsp[(2) - (3)].act); (grib_yyval.act) = (grib_yyvsp[(1) - (3)].act); }
|
||
break;
|
||
|
||
case 147:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 643 "griby.y"
|
||
{ (grib_yyval.explist) = NULL ;}
|
||
break;
|
||
|
||
case 148:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 644 "griby.y"
|
||
{ (grib_yyval.explist) = (grib_yyvsp[(2) - (2)].explist) ;}
|
||
break;
|
||
|
||
case 149:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 647 "griby.y"
|
||
{ (grib_yyval.lval) = 0 ; }
|
||
break;
|
||
|
||
case 150:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 648 "griby.y"
|
||
{ (grib_yyval.lval) = (grib_yyvsp[(2) - (2)].lval); }
|
||
break;
|
||
|
||
case 152:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 652 "griby.y"
|
||
{ (grib_yyval.lval) = (grib_yyvsp[(1) - (3)].lval) | (grib_yyvsp[(3) - (3)].lval); }
|
||
break;
|
||
|
||
case 153:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 655 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_READ_ONLY; }
|
||
break;
|
||
|
||
case 154:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 656 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_LOWERCASE; }
|
||
break;
|
||
|
||
case 155:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 657 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_DUMP; }
|
||
break;
|
||
|
||
case 156:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 658 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_JSON; }
|
||
break;
|
||
|
||
case 157:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 659 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_XML; }
|
||
break;
|
||
|
||
case 158:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 660 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_NO_COPY; }
|
||
break;
|
||
|
||
case 159:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 661 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_NO_FAIL; }
|
||
break;
|
||
|
||
case 160:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 662 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_HIDDEN; }
|
||
break;
|
||
|
||
case 161:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 663 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_EDITION_SPECIFIC; }
|
||
break;
|
||
|
||
case 162:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 664 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_CAN_BE_MISSING; }
|
||
break;
|
||
|
||
case 163:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 665 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_CONSTRAINT; }
|
||
break;
|
||
|
||
case 164:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 666 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_OVERRIDE; }
|
||
break;
|
||
|
||
case 165:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 667 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_COPY_OK; }
|
||
break;
|
||
|
||
case 166:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 668 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_TRANSIENT; }
|
||
break;
|
||
|
||
case 167:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 669 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_STRING_TYPE; }
|
||
break;
|
||
|
||
case 168:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 670 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_LONG_TYPE; }
|
||
break;
|
||
|
||
case 169:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 671 "griby.y"
|
||
{ (grib_yyval.lval) = GRIB_ACCESSOR_FLAG_DOUBLE_TYPE; }
|
||
break;
|
||
|
||
case 170:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 674 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_list(grib_parser_context,(grib_yyvsp[(1) - (8)].str),(grib_yyvsp[(4) - (8)].exp),(grib_yyvsp[(7) - (8)].act)); free((grib_yyvsp[(1) - (8)].str)); }
|
||
break;
|
||
|
||
case 171:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 677 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_while(grib_parser_context,(grib_yyvsp[(3) - (7)].exp),(grib_yyvsp[(6) - (7)].act)); }
|
||
break;
|
||
|
||
case 172:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 680 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_trigger(grib_parser_context,(grib_yyvsp[(3) - (7)].explist),(grib_yyvsp[(6) - (7)].act)); }
|
||
break;
|
||
|
||
case 173:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 683 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (6)].str),(grib_yyvsp[(4) - (6)].concept_value),0,0,0,0,0,0,(grib_yyvsp[(6) - (6)].lval),0); free((grib_yyvsp[(2) - (6)].str)); }
|
||
break;
|
||
|
||
case 174:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 684 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (9)].str),(grib_yyvsp[(7) - (9)].concept_value),0,0,(grib_yyvsp[(4) - (9)].str),0,0,0,(grib_yyvsp[(9) - (9)].lval),0); free((grib_yyvsp[(2) - (9)].str));free((grib_yyvsp[(4) - (9)].str)); }
|
||
break;
|
||
|
||
case 175:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 685 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (12)].str),0,(grib_yyvsp[(6) - (12)].str),0,(grib_yyvsp[(4) - (12)].str),(grib_yyvsp[(8) - (12)].str),(grib_yyvsp[(10) - (12)].str),0,(grib_yyvsp[(12) - (12)].lval),0); free((grib_yyvsp[(2) - (12)].str));free((grib_yyvsp[(6) - (12)].str));free((grib_yyvsp[(4) - (12)].str));free((grib_yyvsp[(8) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); }
|
||
break;
|
||
|
||
case 176:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 686 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (14)].str),0,(grib_yyvsp[(6) - (14)].str),0,(grib_yyvsp[(4) - (14)].str),(grib_yyvsp[(8) - (14)].str),(grib_yyvsp[(10) - (14)].str),(grib_yyvsp[(12) - (14)].str),(grib_yyvsp[(14) - (14)].lval),0); free((grib_yyvsp[(2) - (14)].str));free((grib_yyvsp[(6) - (14)].str));free((grib_yyvsp[(4) - (14)].str));free((grib_yyvsp[(8) - (14)].str));free((grib_yyvsp[(10) - (14)].str));free((grib_yyvsp[(12) - (14)].str)); }
|
||
break;
|
||
|
||
case 177:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 687 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (10)].str),0,(grib_yyvsp[(6) - (10)].str),0,(grib_yyvsp[(4) - (10)].str),(grib_yyvsp[(8) - (10)].str),0,0,(grib_yyvsp[(10) - (10)].lval),0); free((grib_yyvsp[(2) - (10)].str));free((grib_yyvsp[(6) - (10)].str));free((grib_yyvsp[(4) - (10)].str));free((grib_yyvsp[(8) - (10)].str)); }
|
||
break;
|
||
|
||
case 178:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 688 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (14)].str),0,(grib_yyvsp[(8) - (14)].str),(grib_yyvsp[(2) - (14)].str),(grib_yyvsp[(6) - (14)].str),(grib_yyvsp[(10) - (14)].str),(grib_yyvsp[(12) - (14)].str),0,(grib_yyvsp[(14) - (14)].lval),0); free((grib_yyvsp[(4) - (14)].str));free((grib_yyvsp[(8) - (14)].str));free((grib_yyvsp[(6) - (14)].str));free((grib_yyvsp[(10) - (14)].str)); free((grib_yyvsp[(12) - (14)].str)); free((grib_yyvsp[(2) - (14)].str));}
|
||
break;
|
||
|
||
case 179:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 689 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (12)].str),0,(grib_yyvsp[(8) - (12)].str),(grib_yyvsp[(2) - (12)].str),(grib_yyvsp[(6) - (12)].str),(grib_yyvsp[(10) - (12)].str),0,0,(grib_yyvsp[(12) - (12)].lval),0); free((grib_yyvsp[(4) - (12)].str));free((grib_yyvsp[(8) - (12)].str));free((grib_yyvsp[(6) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); free((grib_yyvsp[(2) - (12)].str));}
|
||
break;
|
||
|
||
case 180:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 690 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (8)].str),(grib_yyvsp[(6) - (8)].concept_value),0,(grib_yyvsp[(2) - (8)].str),0,0,0,0,(grib_yyvsp[(8) - (8)].lval),0); free((grib_yyvsp[(2) - (8)].str));free((grib_yyvsp[(4) - (8)].str)); }
|
||
break;
|
||
|
||
case 181:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 691 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (11)].str),(grib_yyvsp[(9) - (11)].concept_value),0,(grib_yyvsp[(2) - (11)].str),(grib_yyvsp[(6) - (11)].str),0,0,0,(grib_yyvsp[(11) - (11)].lval),0); free((grib_yyvsp[(2) - (11)].str));free((grib_yyvsp[(4) - (11)].str));free((grib_yyvsp[(6) - (11)].str)); }
|
||
break;
|
||
|
||
case 182:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 692 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (6)].str),(grib_yyvsp[(4) - (6)].concept_value),0,0,0,0,0,0,(grib_yyvsp[(6) - (6)].lval),1); free((grib_yyvsp[(2) - (6)].str)); }
|
||
break;
|
||
|
||
case 183:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 693 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (9)].str),(grib_yyvsp[(7) - (9)].concept_value),0,0,(grib_yyvsp[(4) - (9)].str),0,0,0,(grib_yyvsp[(9) - (9)].lval),1); free((grib_yyvsp[(2) - (9)].str));free((grib_yyvsp[(4) - (9)].str)); }
|
||
break;
|
||
|
||
case 184:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 694 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (12)].str),0,(grib_yyvsp[(6) - (12)].str),0,(grib_yyvsp[(4) - (12)].str),(grib_yyvsp[(8) - (12)].str),(grib_yyvsp[(10) - (12)].str),0,(grib_yyvsp[(12) - (12)].lval),1); free((grib_yyvsp[(2) - (12)].str));free((grib_yyvsp[(6) - (12)].str));free((grib_yyvsp[(4) - (12)].str));free((grib_yyvsp[(8) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); }
|
||
break;
|
||
|
||
case 185:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 695 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(2) - (10)].str),0,(grib_yyvsp[(6) - (10)].str),0,(grib_yyvsp[(4) - (10)].str),(grib_yyvsp[(8) - (10)].str),0,0,(grib_yyvsp[(10) - (10)].lval),1); free((grib_yyvsp[(2) - (10)].str));free((grib_yyvsp[(6) - (10)].str));free((grib_yyvsp[(4) - (10)].str));free((grib_yyvsp[(8) - (10)].str)); }
|
||
break;
|
||
|
||
case 186:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 696 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (14)].str),0,(grib_yyvsp[(8) - (14)].str),(grib_yyvsp[(2) - (14)].str),(grib_yyvsp[(6) - (14)].str),(grib_yyvsp[(10) - (14)].str),(grib_yyvsp[(12) - (14)].str),0,(grib_yyvsp[(14) - (14)].lval),1); free((grib_yyvsp[(4) - (14)].str));free((grib_yyvsp[(8) - (14)].str));free((grib_yyvsp[(6) - (14)].str));free((grib_yyvsp[(10) - (14)].str));free((grib_yyvsp[(12) - (14)].str)); free((grib_yyvsp[(2) - (14)].str));}
|
||
break;
|
||
|
||
case 187:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 697 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (12)].str),0,(grib_yyvsp[(8) - (12)].str),(grib_yyvsp[(2) - (12)].str),(grib_yyvsp[(6) - (12)].str),(grib_yyvsp[(10) - (12)].str),0,0,(grib_yyvsp[(12) - (12)].lval),1); free((grib_yyvsp[(4) - (12)].str));free((grib_yyvsp[(8) - (12)].str));free((grib_yyvsp[(6) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); free((grib_yyvsp[(2) - (12)].str));}
|
||
break;
|
||
|
||
case 188:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 698 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (8)].str),(grib_yyvsp[(6) - (8)].concept_value),0,(grib_yyvsp[(2) - (8)].str),0,0,0,0,(grib_yyvsp[(8) - (8)].lval),1); free((grib_yyvsp[(2) - (8)].str));free((grib_yyvsp[(4) - (8)].str)); }
|
||
break;
|
||
|
||
case 189:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 699 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_concept(grib_parser_context,(grib_yyvsp[(4) - (11)].str),(grib_yyvsp[(9) - (11)].concept_value),0,(grib_yyvsp[(2) - (11)].str),(grib_yyvsp[(6) - (11)].str),0,0,0,(grib_yyvsp[(11) - (11)].lval),1); free((grib_yyvsp[(2) - (11)].str));free((grib_yyvsp[(4) - (11)].str));free((grib_yyvsp[(6) - (11)].str)); }
|
||
break;
|
||
|
||
case 191:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 704 "griby.y"
|
||
{ (grib_yyval.concept_value) = (grib_yyvsp[(2) - (2)].concept_value); (grib_yyvsp[(2) - (2)].concept_value)->next = (grib_yyvsp[(1) - (2)].concept_value); }
|
||
break;
|
||
|
||
case 193:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 708 "griby.y"
|
||
{ (grib_yyval.hash_array_value) = (grib_yyvsp[(2) - (2)].hash_array_value); (grib_yyvsp[(2) - (2)].hash_array_value)->next = (grib_yyvsp[(1) - (2)].hash_array_value); }
|
||
break;
|
||
|
||
case 194:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 711 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_hash_array(grib_parser_context,(grib_yyvsp[(2) - (6)].str),(grib_yyvsp[(4) - (6)].hash_array_value),0,0,0,0,0,0,(grib_yyvsp[(6) - (6)].lval),0); free((grib_yyvsp[(2) - (6)].str)); }
|
||
break;
|
||
|
||
case 195:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 712 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_hash_array(grib_parser_context,(grib_yyvsp[(2) - (12)].str),0,(grib_yyvsp[(6) - (12)].str),0,(grib_yyvsp[(4) - (12)].str),(grib_yyvsp[(8) - (12)].str),(grib_yyvsp[(10) - (12)].str),0,(grib_yyvsp[(12) - (12)].lval),0); free((grib_yyvsp[(2) - (12)].str));free((grib_yyvsp[(6) - (12)].str));free((grib_yyvsp[(4) - (12)].str));free((grib_yyvsp[(8) - (12)].str));free((grib_yyvsp[(10) - (12)].str)); }
|
||
break;
|
||
|
||
case 197:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 716 "griby.y"
|
||
{ (grib_yyval.case_value) = (grib_yyvsp[(2) - (2)].case_value); (grib_yyvsp[(2) - (2)].case_value)->next = (grib_yyvsp[(1) - (2)].case_value); }
|
||
break;
|
||
|
||
case 198:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 719 "griby.y"
|
||
{ (grib_yyval.case_value) = grib_case_new(grib_parser_context,(grib_yyvsp[(2) - (4)].explist),(grib_yyvsp[(4) - (4)].act)); }
|
||
break;
|
||
|
||
case 199:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 723 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_switch(grib_parser_context,(grib_yyvsp[(3) - (10)].explist),(grib_yyvsp[(6) - (10)].case_value),(grib_yyvsp[(9) - (10)].act)); }
|
||
break;
|
||
|
||
case 200:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 724 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_switch(grib_parser_context,(grib_yyvsp[(3) - (9)].explist),(grib_yyvsp[(6) - (9)].case_value),grib_action_create_noop(grib_parser_context,"continue")); }
|
||
break;
|
||
|
||
case 201:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 725 "griby.y"
|
||
{ (grib_yyval.act) = grib_action_create_switch(grib_parser_context,(grib_yyvsp[(3) - (7)].explist),(grib_yyvsp[(6) - (7)].case_value),0); }
|
||
break;
|
||
|
||
case 202:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 728 "griby.y"
|
||
{
|
||
(grib_yyval.concept_value) = grib_concept_value_new(grib_parser_context,(grib_yyvsp[(1) - (5)].str),(grib_yyvsp[(4) - (5)].concept_condition)); free((grib_yyvsp[(1) - (5)].str));}
|
||
break;
|
||
|
||
case 203:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 730 "griby.y"
|
||
{
|
||
(grib_yyval.concept_value) = grib_concept_value_new(grib_parser_context,(grib_yyvsp[(1) - (5)].str),(grib_yyvsp[(4) - (5)].concept_condition)); free((grib_yyvsp[(1) - (5)].str));}
|
||
break;
|
||
|
||
case 204:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 732 "griby.y"
|
||
{
|
||
char buf[80]; sprintf(buf,"%ld",(long)(grib_yyvsp[(1) - (5)].lval)); (grib_yyval.concept_value) = grib_concept_value_new(grib_parser_context,buf,(grib_yyvsp[(4) - (5)].concept_condition));}
|
||
break;
|
||
|
||
case 205:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 734 "griby.y"
|
||
{
|
||
char buf[80]; sprintf(buf,"%g",(double)(grib_yyvsp[(1) - (5)].dval)); (grib_yyval.concept_value) = grib_concept_value_new(grib_parser_context,buf,(grib_yyvsp[(4) - (5)].concept_condition));}
|
||
break;
|
||
|
||
case 207:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 739 "griby.y"
|
||
{ (grib_yyvsp[(1) - (2)].concept_condition)->next = (grib_yyvsp[(2) - (2)].concept_condition); (grib_yyval.concept_condition) = (grib_yyvsp[(1) - (2)].concept_condition); }
|
||
break;
|
||
|
||
case 208:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 742 "griby.y"
|
||
{ (grib_yyval.concept_condition) = grib_concept_condition_new(grib_parser_context,(grib_yyvsp[(1) - (4)].str),(grib_yyvsp[(3) - (4)].exp)); free((grib_yyvsp[(1) - (4)].str)); }
|
||
break;
|
||
|
||
case 209:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 746 "griby.y"
|
||
{
|
||
(grib_yyval.hash_array_value) = grib_integer_hash_array_value_new(grib_parser_context,(grib_yyvsp[(1) - (5)].str),(grib_yyvsp[(4) - (5)].ivalue)); free((grib_yyvsp[(1) - (5)].str));}
|
||
break;
|
||
|
||
case 210:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 748 "griby.y"
|
||
{
|
||
(grib_yyval.hash_array_value) = grib_integer_hash_array_value_new(grib_parser_context,(grib_yyvsp[(1) - (5)].str),(grib_yyvsp[(4) - (5)].ivalue)); free((grib_yyvsp[(1) - (5)].str));}
|
||
break;
|
||
|
||
case 211:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 752 "griby.y"
|
||
{ (grib_yyval.exp) = new_accessor_expression(grib_parser_context,(grib_yyvsp[(3) - (8)].str),(grib_yyvsp[(5) - (8)].lval),(grib_yyvsp[(7) - (8)].lval)); free((grib_yyvsp[(3) - (8)].str)); }
|
||
break;
|
||
|
||
case 212:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 753 "griby.y"
|
||
{ (grib_yyval.exp) = new_accessor_expression(grib_parser_context,(grib_yyvsp[(1) - (1)].str),0,0); free((grib_yyvsp[(1) - (1)].str)); }
|
||
break;
|
||
|
||
case 213:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 754 "griby.y"
|
||
{ (grib_yyval.exp) = new_sub_string_expression(grib_parser_context,(grib_yyvsp[(3) - (8)].str),(grib_yyvsp[(5) - (8)].lval),(grib_yyvsp[(7) - (8)].lval)); free((grib_yyvsp[(3) - (8)].str)); }
|
||
break;
|
||
|
||
case 214:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 755 "griby.y"
|
||
{ (grib_yyval.exp) = new_string_expression(grib_parser_context,(grib_yyvsp[(1) - (1)].str)); free((grib_yyvsp[(1) - (1)].str)); }
|
||
break;
|
||
|
||
case 216:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 759 "griby.y"
|
||
{ (grib_yyval.exp) = new_long_expression(grib_parser_context,(grib_yyvsp[(1) - (1)].lval)); }
|
||
break;
|
||
|
||
case 217:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 760 "griby.y"
|
||
{ (grib_yyval.exp) = new_double_expression(grib_parser_context,(grib_yyvsp[(1) - (1)].dval)); /* TODO: change to new_float_expression*/}
|
||
break;
|
||
|
||
case 218:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 762 "griby.y"
|
||
{ (grib_yyval.exp) = NULL; }
|
||
break;
|
||
|
||
case 219:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 763 "griby.y"
|
||
{ (grib_yyval.exp) = new_true_expression(grib_parser_context); }
|
||
break;
|
||
|
||
case 220:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 764 "griby.y"
|
||
{ (grib_yyval.exp) = (grib_yyvsp[(2) - (3)].exp); }
|
||
break;
|
||
|
||
case 221:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 765 "griby.y"
|
||
{ (grib_yyval.exp) = new_unop_expression(grib_parser_context,&grib_op_neg,&grib_op_neg_d,(grib_yyvsp[(2) - (2)].exp)); }
|
||
break;
|
||
|
||
case 222:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 766 "griby.y"
|
||
{ (grib_yyval.exp) = new_func_expression(grib_parser_context,(grib_yyvsp[(1) - (3)].str),NULL); free((grib_yyvsp[(1) - (3)].str));}
|
||
break;
|
||
|
||
case 223:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 767 "griby.y"
|
||
{ (grib_yyval.exp) = new_func_expression(grib_parser_context,(grib_yyvsp[(1) - (4)].str),(grib_yyvsp[(3) - (4)].explist)); free((grib_yyvsp[(1) - (4)].str));}
|
||
break;
|
||
|
||
case 224:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 771 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_pow,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 226:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 775 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_mul,&grib_op_mul_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 227:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 776 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_div,&grib_op_div_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 228:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 777 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_modulo,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 229:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 778 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_bit,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 230:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 779 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_bitoff,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 232:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 781 "griby.y"
|
||
{ (grib_yyval.exp) = new_length_expression(grib_parser_context,(grib_yyvsp[(3) - (4)].str)); free((grib_yyvsp[(3) - (4)].str));}
|
||
break;
|
||
|
||
case 233:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 782 "griby.y"
|
||
{ (grib_yyval.exp) = new_is_in_list_expression(grib_parser_context,(grib_yyvsp[(3) - (6)].str),(grib_yyvsp[(5) - (6)].str)); free((grib_yyvsp[(3) - (6)].str));free((grib_yyvsp[(5) - (6)].str));}
|
||
break;
|
||
|
||
case 234:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 783 "griby.y"
|
||
{ (grib_yyval.exp) = new_is_in_dict_expression(grib_parser_context,(grib_yyvsp[(3) - (6)].str),(grib_yyvsp[(5) - (6)].str)); free((grib_yyvsp[(3) - (6)].str));free((grib_yyvsp[(5) - (6)].str));}
|
||
break;
|
||
|
||
case 235:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 784 "griby.y"
|
||
{ (grib_yyval.exp) = new_is_integer_expression(grib_parser_context,(grib_yyvsp[(3) - (6)].str),(grib_yyvsp[(5) - (6)].lval),0); free((grib_yyvsp[(3) - (6)].str));}
|
||
break;
|
||
|
||
case 236:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 785 "griby.y"
|
||
{ (grib_yyval.exp) = new_is_integer_expression(grib_parser_context,(grib_yyvsp[(3) - (8)].str),(grib_yyvsp[(5) - (8)].lval),(grib_yyvsp[(7) - (8)].lval)); free((grib_yyvsp[(3) - (8)].str));}
|
||
break;
|
||
|
||
case 237:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 786 "griby.y"
|
||
{ (grib_yyval.exp) = new_is_integer_expression(grib_parser_context,(grib_yyvsp[(3) - (4)].str),0,0); free((grib_yyvsp[(3) - (4)].str));}
|
||
break;
|
||
|
||
case 238:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 789 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_add,&grib_op_add_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 239:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 790 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_sub,&grib_op_sub_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 241:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 794 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_gt,&grib_op_gt_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 242:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 796 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_eq,&grib_op_eq_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 243:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 797 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_lt,&grib_op_lt_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 244:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 798 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_ge,&grib_op_ge_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 245:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 799 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_le,&grib_op_le_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 246:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 800 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_ne,&grib_op_ne_d,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 247:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 801 "griby.y"
|
||
{ (grib_yyval.exp) = new_string_compare_expression(grib_parser_context,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 248:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 806 "griby.y"
|
||
{ (grib_yyval.exp) = new_unop_expression(grib_parser_context,&grib_op_not,NULL,(grib_yyvsp[(2) - (2)].exp)); }
|
||
break;
|
||
|
||
case 250:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 810 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_and,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp)); }
|
||
break;
|
||
|
||
case 252:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 814 "griby.y"
|
||
{ (grib_yyval.exp) = new_binop_expression(grib_parser_context,&grib_op_or,NULL,(grib_yyvsp[(1) - (3)].exp),(grib_yyvsp[(3) - (3)].exp));}
|
||
break;
|
||
|
||
case 257:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 828 "griby.y"
|
||
{ (grib_yyval.rule_entry) = grib_new_rule_entry(grib_parser_context,(grib_yyvsp[(1) - (4)].str),(grib_yyvsp[(3) - (4)].exp)); free((grib_yyvsp[(1) - (4)].str)); }
|
||
break;
|
||
|
||
case 258:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 829 "griby.y"
|
||
{ (grib_yyval.rule_entry) = grib_new_rule_entry(grib_parser_context,"skip",0);}
|
||
break;
|
||
|
||
case 260:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 833 "griby.y"
|
||
{ (grib_yyvsp[(1) - (2)].rule_entry)->next = (grib_yyvsp[(2) - (2)].rule_entry); (grib_yyval.rule_entry) = (grib_yyvsp[(1) - (2)].rule_entry); }
|
||
break;
|
||
|
||
case 261:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 836 "griby.y"
|
||
{ (grib_yyval.rules) = grib_new_rule(grib_parser_context,NULL,(grib_yyvsp[(1) - (1)].rule_entry)); }
|
||
break;
|
||
|
||
case 262:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 840 "griby.y"
|
||
{ (grib_yyval.rules) = grib_new_rule(grib_parser_context,(grib_yyvsp[(3) - (7)].exp),(grib_yyvsp[(6) - (7)].rule_entry)); }
|
||
break;
|
||
|
||
case 264:
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 844 "griby.y"
|
||
{ (grib_yyvsp[(1) - (2)].rules)->next = (grib_yyvsp[(2) - (2)].rules); (grib_yyval.rules) = (grib_yyvsp[(1) - (2)].rules); }
|
||
break;
|
||
|
||
|
||
|
||
/* Line 1455 of yacc.c */
|
||
#line 4174 "y.tab.c"
|
||
default: break;
|
||
}
|
||
YY_SYMBOL_PRINT ("-> $$ =", grib_yyr1[grib_yyn], &grib_yyval, &grib_yyloc);
|
||
|
||
YYPOPSTACK (grib_yylen);
|
||
grib_yylen = 0;
|
||
YY_STACK_PRINT (grib_yyss, grib_yyssp);
|
||
|
||
*++grib_yyvsp = grib_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. */
|
||
|
||
grib_yyn = grib_yyr1[grib_yyn];
|
||
|
||
grib_yystate = grib_yypgoto[grib_yyn - YYNTOKENS] + *grib_yyssp;
|
||
if (0 <= grib_yystate && grib_yystate <= YYLAST && grib_yycheck[grib_yystate] == *grib_yyssp)
|
||
grib_yystate = grib_yytable[grib_yystate];
|
||
else
|
||
grib_yystate = grib_yydefgoto[grib_yyn - YYNTOKENS];
|
||
|
||
goto grib_yynewstate;
|
||
|
||
|
||
/*------------------------------------.
|
||
| grib_yyerrlab -- here on detecting error |
|
||
`------------------------------------*/
|
||
grib_yyerrlab:
|
||
/* If not already recovering from an error, report this error. */
|
||
if (!grib_yyerrstatus)
|
||
{
|
||
++grib_yynerrs;
|
||
#if ! YYERROR_VERBOSE
|
||
grib_yyerror (YY_("syntax error"));
|
||
#else
|
||
{
|
||
YYSIZE_T grib_yysize = grib_yysyntax_error (0, grib_yystate, grib_yychar);
|
||
if (grib_yymsg_alloc < grib_yysize && grib_yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
|
||
{
|
||
YYSIZE_T grib_yyalloc = 2 * grib_yysize;
|
||
if (! (grib_yysize <= grib_yyalloc && grib_yyalloc <= YYSTACK_ALLOC_MAXIMUM))
|
||
grib_yyalloc = YYSTACK_ALLOC_MAXIMUM;
|
||
if (grib_yymsg != grib_yymsgbuf)
|
||
YYSTACK_FREE (grib_yymsg);
|
||
grib_yymsg = (char *) YYSTACK_ALLOC (grib_yyalloc);
|
||
if (grib_yymsg)
|
||
grib_yymsg_alloc = grib_yyalloc;
|
||
else
|
||
{
|
||
grib_yymsg = grib_yymsgbuf;
|
||
grib_yymsg_alloc = sizeof grib_yymsgbuf;
|
||
}
|
||
}
|
||
|
||
if (0 < grib_yysize && grib_yysize <= grib_yymsg_alloc)
|
||
{
|
||
(void) grib_yysyntax_error (grib_yymsg, grib_yystate, grib_yychar);
|
||
grib_yyerror (grib_yymsg);
|
||
}
|
||
else
|
||
{
|
||
grib_yyerror (YY_("syntax error"));
|
||
if (grib_yysize != 0)
|
||
goto grib_yyexhaustedlab;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
|
||
|
||
if (grib_yyerrstatus == 3)
|
||
{
|
||
/* If just tried and failed to reuse lookahead token after an
|
||
error, discard it. */
|
||
|
||
if (grib_yychar <= YYEOF)
|
||
{
|
||
/* Return failure if at end of input. */
|
||
if (grib_yychar == YYEOF)
|
||
YYABORT;
|
||
}
|
||
else
|
||
{
|
||
grib_yydestruct ("Error: discarding",
|
||
grib_yytoken, &grib_yylval);
|
||
grib_yychar = YYEMPTY;
|
||
}
|
||
}
|
||
|
||
/* Else will try to reuse lookahead token after shifting the error
|
||
token. */
|
||
goto grib_yyerrlab1;
|
||
|
||
|
||
/*---------------------------------------------------.
|
||
| grib_yyerrorlab -- error raised explicitly by YYERROR. |
|
||
`---------------------------------------------------*/
|
||
grib_yyerrorlab:
|
||
|
||
/* Pacify compilers like GCC when the user code never invokes
|
||
YYERROR and the label grib_yyerrorlab therefore never appears in user
|
||
code. */
|
||
if (/*CONSTCOND*/ 0)
|
||
goto grib_yyerrorlab;
|
||
|
||
/* Do not reclaim the symbols of the rule which action triggered
|
||
this YYERROR. */
|
||
YYPOPSTACK (grib_yylen);
|
||
grib_yylen = 0;
|
||
YY_STACK_PRINT (grib_yyss, grib_yyssp);
|
||
grib_yystate = *grib_yyssp;
|
||
goto grib_yyerrlab1;
|
||
|
||
|
||
/*-------------------------------------------------------------.
|
||
| grib_yyerrlab1 -- common code for both syntax error and YYERROR. |
|
||
`-------------------------------------------------------------*/
|
||
grib_yyerrlab1:
|
||
grib_yyerrstatus = 3; /* Each real token shifted decrements this. */
|
||
|
||
for (;;)
|
||
{
|
||
grib_yyn = grib_yypact[grib_yystate];
|
||
if (grib_yyn != YYPACT_NINF)
|
||
{
|
||
grib_yyn += YYTERROR;
|
||
if (0 <= grib_yyn && grib_yyn <= YYLAST && grib_yycheck[grib_yyn] == YYTERROR)
|
||
{
|
||
grib_yyn = grib_yytable[grib_yyn];
|
||
if (0 < grib_yyn)
|
||
break;
|
||
}
|
||
}
|
||
|
||
/* Pop the current state because it cannot handle the error token. */
|
||
if (grib_yyssp == grib_yyss)
|
||
YYABORT;
|
||
|
||
|
||
grib_yydestruct ("Error: popping",
|
||
grib_yystos[grib_yystate], grib_yyvsp);
|
||
YYPOPSTACK (1);
|
||
grib_yystate = *grib_yyssp;
|
||
YY_STACK_PRINT (grib_yyss, grib_yyssp);
|
||
}
|
||
|
||
*++grib_yyvsp = grib_yylval;
|
||
|
||
|
||
/* Shift the error token. */
|
||
YY_SYMBOL_PRINT ("Shifting", grib_yystos[grib_yyn], grib_yyvsp, grib_yylsp);
|
||
|
||
grib_yystate = grib_yyn;
|
||
goto grib_yynewstate;
|
||
|
||
|
||
/*-------------------------------------.
|
||
| grib_yyacceptlab -- YYACCEPT comes here. |
|
||
`-------------------------------------*/
|
||
grib_yyacceptlab:
|
||
grib_yyresult = 0;
|
||
goto grib_yyreturn;
|
||
|
||
/*-----------------------------------.
|
||
| grib_yyabortlab -- YYABORT comes here. |
|
||
`-----------------------------------*/
|
||
grib_yyabortlab:
|
||
grib_yyresult = 1;
|
||
goto grib_yyreturn;
|
||
|
||
#if !defined(grib_yyoverflow) || YYERROR_VERBOSE
|
||
/*-------------------------------------------------.
|
||
| grib_yyexhaustedlab -- memory exhaustion comes here. |
|
||
`-------------------------------------------------*/
|
||
grib_yyexhaustedlab:
|
||
grib_yyerror (YY_("memory exhausted"));
|
||
grib_yyresult = 2;
|
||
/* Fall through. */
|
||
#endif
|
||
|
||
grib_yyreturn:
|
||
if (grib_yychar != YYEMPTY)
|
||
grib_yydestruct ("Cleanup: discarding lookahead",
|
||
grib_yytoken, &grib_yylval);
|
||
/* Do not reclaim the symbols of the rule which action triggered
|
||
this YYABORT or YYACCEPT. */
|
||
YYPOPSTACK (grib_yylen);
|
||
YY_STACK_PRINT (grib_yyss, grib_yyssp);
|
||
while (grib_yyssp != grib_yyss)
|
||
{
|
||
grib_yydestruct ("Cleanup: popping",
|
||
grib_yystos[*grib_yyssp], grib_yyvsp);
|
||
YYPOPSTACK (1);
|
||
}
|
||
#ifndef grib_yyoverflow
|
||
if (grib_yyss != grib_yyssa)
|
||
YYSTACK_FREE (grib_yyss);
|
||
#endif
|
||
#if YYERROR_VERBOSE
|
||
if (grib_yymsg != grib_yymsgbuf)
|
||
YYSTACK_FREE (grib_yymsg);
|
||
#endif
|
||
/* Make sure YYID is used. */
|
||
return YYID (grib_yyresult);
|
||
}
|
||
|
||
|
||
|
||
/* Line 1675 of yacc.c */
|
||
#line 848 "griby.y"
|
||
|
||
|
||
static grib_concept_value *_reverse_concept(grib_concept_value *r,grib_concept_value *s)
|
||
{
|
||
grib_concept_value *v;
|
||
|
||
if(r == NULL) return s;
|
||
|
||
v = r->next;
|
||
r->next = s;
|
||
return _reverse_concept(v,r);
|
||
}
|
||
|
||
static grib_concept_value* reverse_concept(grib_concept_value* r)
|
||
{
|
||
return _reverse_concept(r,NULL);
|
||
}
|
||
|
||
static grib_hash_array_value *_reverse_hash_array(grib_hash_array_value *r,grib_hash_array_value *s)
|
||
{
|
||
grib_hash_array_value *v;
|
||
|
||
if(r == NULL) return s;
|
||
|
||
v = r->next;
|
||
r->next = s;
|
||
return _reverse_hash_array(v,r);
|
||
}
|
||
|
||
|
||
static grib_hash_array_value* reverse_hash_array(grib_hash_array_value* r)
|
||
{
|
||
return _reverse_hash_array(r,NULL);
|
||
}
|
||
|
||
|
||
|
||
|