"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zparser.c" between
nsd-4.3.5.tar.gz and nsd-4.3.6.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

zparser.c  (nsd-4.3.5):zparser.c  (nsd-4.3.6)
/* A Bison parser, made by GNU Bison 3.4.1. */ /* A Bison parser, made by GNU Bison 3.6.4. */
/* Bison implementation for Yacc-like parsers in C /* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc. Inc.
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
skipping to change at line 37 skipping to change at line 37
special exception, which will cause the skeleton and the resulting special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public Bison output files to be licensed under the GNU General Public
License without this special exception. License without this special exception.
This special exception was added by the Free Software Foundation in This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */ version 2.2 of Bison. */
/* C LALR(1) parser skeleton written by Richard Stallman, by /* C LALR(1) parser skeleton written by Richard Stallman, by
simplifying the original so-called "semantic" parser. */ simplifying the original so-called "semantic" parser. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
/* All symbols defined below should begin with yy or YY, to avoid /* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local infringing on user name space. This should be done even for local
variables, as they might otherwise be expanded by user macros. variables, as they might otherwise be expanded by user macros.
There are some unavoidable exceptions within include files to There are some unavoidable exceptions within include files to
define necessary library symbols; they are noted "INFRINGES ON define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */ USER NAME SPACE" below. */
/* Undocumented macros, especially those whose name start with YY_,
are private implementation details. Do not rely on them. */
/* Identify Bison output. */ /* Identify Bison output. */
#define YYBISON 1 #define YYBISON 1
/* Bison version. */ /* Bison version. */
#define YYBISON_VERSION "3.4.1" #define YYBISON_VERSION "3.6.4"
/* Skeleton name. */ /* Skeleton name. */
#define YYSKELETON_NAME "yacc.c" #define YYSKELETON_NAME "yacc.c"
/* Pure parsers. */ /* Pure parsers. */
#define YYPURE 0 #define YYPURE 0
/* Push parsers. */ /* Push parsers. */
#define YYPUSH 0 #define YYPUSH 0
skipping to change at line 115 skipping to change at line 116
void yyerror(const char *message); void yyerror(const char *message);
#ifdef NSEC3 #ifdef NSEC3
/* parse nsec3 parameters and add the (first) rdata elements */ /* parse nsec3 parameters and add the (first) rdata elements */
static void static void
nsec3_add_params(const char* hash_algo_str, const char* flag_str, nsec3_add_params(const char* hash_algo_str, const char* flag_str,
const char* iter_str, const char* salt_str, int salt_len); const char* iter_str, const char* salt_str, int salt_len);
#endif /* NSEC3 */ #endif /* NSEC3 */
#line 120 "zparser.c" #line 121 "zparser.c"
# ifndef YY_CAST
# ifdef __cplusplus
# define YY_CAST(Type, Val) static_cast<Type> (Val)
# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
# else
# define YY_CAST(Type, Val) ((Type) (Val))
# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
# endif
# endif
# ifndef YY_NULLPTR # ifndef YY_NULLPTR
# if defined __cplusplus # if defined __cplusplus
# if 201103L <= __cplusplus # if 201103L <= __cplusplus
# define YY_NULLPTR nullptr # define YY_NULLPTR nullptr
# else # else
# define YY_NULLPTR 0 # define YY_NULLPTR 0
# endif # endif
# else # else
# define YY_NULLPTR ((void*)0) # define YY_NULLPTR ((void*)0)
# endif # endif
# endif # endif
/* Enabling verbose error messages. */
#ifdef YYERROR_VERBOSE
# undef YYERROR_VERBOSE
# define YYERROR_VERBOSE 1
#else
# define YYERROR_VERBOSE 0
#endif
/* Use api.header.include to #include this header /* Use api.header.include to #include this header
instead of duplicating it here. */ instead of duplicating it here. */
#ifndef YY_YY_ZPARSER_H_INCLUDED #ifndef YY_YY_ZPARSER_H_INCLUDED
# define YY_YY_ZPARSER_H_INCLUDED # define YY_YY_ZPARSER_H_INCLUDED
/* Debug traces. */ /* Debug traces. */
#ifndef YYDEBUG #ifndef YYDEBUG
# define YYDEBUG 0 # define YYDEBUG 0
#endif #endif
#if YYDEBUG #if YYDEBUG
extern int yydebug; extern int yydebug;
#endif #endif
/* Token type. */ /* Token kinds. */
#ifndef YYTOKENTYPE #ifndef YYTOKENTYPE
# define YYTOKENTYPE # define YYTOKENTYPE
enum yytokentype enum yytokentype
{ {
T_A = 258, YYEMPTY = -2,
T_NS = 259, YYEOF = 0, /* "end of file" */
T_MX = 260, YYerror = 256, /* error */
T_TXT = 261, YYUNDEF = 257, /* "invalid token" */
T_CNAME = 262, T_A = 258, /* T_A */
T_AAAA = 263, T_NS = 259, /* T_NS */
T_PTR = 264, T_MX = 260, /* T_MX */
T_NXT = 265, T_TXT = 261, /* T_TXT */
T_KEY = 266, T_CNAME = 262, /* T_CNAME */
T_SOA = 267, T_AAAA = 263, /* T_AAAA */
T_SIG = 268, T_PTR = 264, /* T_PTR */
T_SRV = 269, T_NXT = 265, /* T_NXT */
T_CERT = 270, T_KEY = 266, /* T_KEY */
T_LOC = 271, T_SOA = 267, /* T_SOA */
T_MD = 272, T_SIG = 268, /* T_SIG */
T_MF = 273, T_SRV = 269, /* T_SRV */
T_MB = 274, T_CERT = 270, /* T_CERT */
T_MG = 275, T_LOC = 271, /* T_LOC */
T_MR = 276, T_MD = 272, /* T_MD */
T_NULL = 277, T_MF = 273, /* T_MF */
T_WKS = 278, T_MB = 274, /* T_MB */
T_HINFO = 279, T_MG = 275, /* T_MG */
T_MINFO = 280, T_MR = 276, /* T_MR */
T_RP = 281, T_NULL = 277, /* T_NULL */
T_AFSDB = 282, T_WKS = 278, /* T_WKS */
T_X25 = 283, T_HINFO = 279, /* T_HINFO */
T_ISDN = 284, T_MINFO = 280, /* T_MINFO */
T_RT = 285, T_RP = 281, /* T_RP */
T_NSAP = 286, T_AFSDB = 282, /* T_AFSDB */
T_NSAP_PTR = 287, T_X25 = 283, /* T_X25 */
T_PX = 288, T_ISDN = 284, /* T_ISDN */
T_GPOS = 289, T_RT = 285, /* T_RT */
T_EID = 290, T_NSAP = 286, /* T_NSAP */
T_NIMLOC = 291, T_NSAP_PTR = 287, /* T_NSAP_PTR */
T_ATMA = 292, T_PX = 288, /* T_PX */
T_NAPTR = 293, T_GPOS = 289, /* T_GPOS */
T_KX = 294, T_EID = 290, /* T_EID */
T_A6 = 295, T_NIMLOC = 291, /* T_NIMLOC */
T_DNAME = 296, T_ATMA = 292, /* T_ATMA */
T_SINK = 297, T_NAPTR = 293, /* T_NAPTR */
T_OPT = 298, T_KX = 294, /* T_KX */
T_APL = 299, T_A6 = 295, /* T_A6 */
T_UINFO = 300, T_DNAME = 296, /* T_DNAME */
T_UID = 301, T_SINK = 297, /* T_SINK */
T_GID = 302, T_OPT = 298, /* T_OPT */
T_UNSPEC = 303, T_APL = 299, /* T_APL */
T_TKEY = 304, T_UINFO = 300, /* T_UINFO */
T_TSIG = 305, T_UID = 301, /* T_UID */
T_IXFR = 306, T_GID = 302, /* T_GID */
T_AXFR = 307, T_UNSPEC = 303, /* T_UNSPEC */
T_MAILB = 308, T_TKEY = 304, /* T_TKEY */
T_MAILA = 309, T_TSIG = 305, /* T_TSIG */
T_DS = 310, T_IXFR = 306, /* T_IXFR */
T_DLV = 311, T_AXFR = 307, /* T_AXFR */
T_SSHFP = 312, T_MAILB = 308, /* T_MAILB */
T_RRSIG = 313, T_MAILA = 309, /* T_MAILA */
T_NSEC = 314, T_DS = 310, /* T_DS */
T_DNSKEY = 315, T_DLV = 311, /* T_DLV */
T_SPF = 316, T_SSHFP = 312, /* T_SSHFP */
T_NSEC3 = 317, T_RRSIG = 313, /* T_RRSIG */
T_IPSECKEY = 318, T_NSEC = 314, /* T_NSEC */
T_DHCID = 319, T_DNSKEY = 315, /* T_DNSKEY */
T_NSEC3PARAM = 320, T_SPF = 316, /* T_SPF */
T_TLSA = 321, T_NSEC3 = 317, /* T_NSEC3 */
T_URI = 322, T_IPSECKEY = 318, /* T_IPSECKEY */
T_NID = 323, T_DHCID = 319, /* T_DHCID */
T_L32 = 324, T_NSEC3PARAM = 320, /* T_NSEC3PARAM */
T_L64 = 325, T_TLSA = 321, /* T_TLSA */
T_LP = 326, T_URI = 322, /* T_URI */
T_EUI48 = 327, T_NID = 323, /* T_NID */
T_EUI64 = 328, T_L32 = 324, /* T_L32 */
T_CAA = 329, T_L64 = 325, /* T_L64 */
T_CDS = 330, T_LP = 326, /* T_LP */
T_CDNSKEY = 331, T_EUI48 = 327, /* T_EUI48 */
T_OPENPGPKEY = 332, T_EUI64 = 328, /* T_EUI64 */
T_CSYNC = 333, T_CAA = 329, /* T_CAA */
T_ZONEMD = 334, T_CDS = 330, /* T_CDS */
T_AVC = 335, T_CDNSKEY = 331, /* T_CDNSKEY */
T_SMIMEA = 336, T_OPENPGPKEY = 332, /* T_OPENPGPKEY */
DOLLAR_TTL = 337, T_CSYNC = 333, /* T_CSYNC */
DOLLAR_ORIGIN = 338, T_ZONEMD = 334, /* T_ZONEMD */
NL = 339, T_AVC = 335, /* T_AVC */
SP = 340, T_SMIMEA = 336, /* T_SMIMEA */
STR = 341, DOLLAR_TTL = 337, /* DOLLAR_TTL */
PREV = 342, DOLLAR_ORIGIN = 338, /* DOLLAR_ORIGIN */
BITLAB = 343, NL = 339, /* NL */
T_TTL = 344, SP = 340, /* SP */
T_RRCLASS = 345, QSTR = 341, /* QSTR */
URR = 346, STR = 342, /* STR */
T_UTYPE = 347 PREV = 343, /* PREV */
BITLAB = 344, /* BITLAB */
T_TTL = 345, /* T_TTL */
T_RRCLASS = 346, /* T_RRCLASS */
URR = 347, /* URR */
T_UTYPE = 348 /* T_UTYPE */
}; };
typedef enum yytokentype yytoken_kind_t;
#endif #endif
/* Tokens. */ /* Token kinds. */
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define T_A 258 #define T_A 258
#define T_NS 259 #define T_NS 259
#define T_MX 260 #define T_MX 260
#define T_TXT 261 #define T_TXT 261
#define T_CNAME 262 #define T_CNAME 262
#define T_AAAA 263 #define T_AAAA 263
#define T_PTR 264 #define T_PTR 264
#define T_NXT 265 #define T_NXT 265
#define T_KEY 266 #define T_KEY 266
#define T_SOA 267 #define T_SOA 267
skipping to change at line 330 skipping to change at line 341
#define T_CDNSKEY 331 #define T_CDNSKEY 331
#define T_OPENPGPKEY 332 #define T_OPENPGPKEY 332
#define T_CSYNC 333 #define T_CSYNC 333
#define T_ZONEMD 334 #define T_ZONEMD 334
#define T_AVC 335 #define T_AVC 335
#define T_SMIMEA 336 #define T_SMIMEA 336
#define DOLLAR_TTL 337 #define DOLLAR_TTL 337
#define DOLLAR_ORIGIN 338 #define DOLLAR_ORIGIN 338
#define NL 339 #define NL 339
#define SP 340 #define SP 340
#define STR 341 #define QSTR 341
#define PREV 342 #define STR 342
#define BITLAB 343 #define PREV 343
#define T_TTL 344 #define BITLAB 344
#define T_RRCLASS 345 #define T_TTL 345
#define URR 346 #define T_RRCLASS 346
#define T_UTYPE 347 #define URR 347
#define T_UTYPE 348
/* Value type. */ /* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE union YYSTYPE
{ {
#line 50 "zparser.y" #line 50 "zparser.y"
domain_type *domain; domain_type *domain;
const dname_type *dname; const dname_type *dname;
struct lex_data data; struct lex_data data;
uint32_t ttl; uint32_t ttl;
uint16_t klass; uint16_t klass;
uint16_t type; uint16_t type;
uint16_t *unknown; uint16_t *unknown;
#line 357 "zparser.c" #line 369 "zparser.c"
}; };
typedef union YYSTYPE YYSTYPE; typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1
#endif #endif
extern YYSTYPE yylval; extern YYSTYPE yylval;
int yyparse (void); int yyparse (void);
#endif /* !YY_YY_ZPARSER_H_INCLUDED */ #endif /* !YY_YY_ZPARSER_H_INCLUDED */
/* Symbol kind. */
enum yysymbol_kind_t
{
YYSYMBOL_YYEMPTY = -2,
YYSYMBOL_YYEOF = 0, /* "end of file" */
YYSYMBOL_YYerror = 1, /* error */
YYSYMBOL_YYUNDEF = 2, /* "invalid token" */
YYSYMBOL_T_A = 3, /* T_A */
YYSYMBOL_T_NS = 4, /* T_NS */
YYSYMBOL_T_MX = 5, /* T_MX */
YYSYMBOL_T_TXT = 6, /* T_TXT */
YYSYMBOL_T_CNAME = 7, /* T_CNAME */
YYSYMBOL_T_AAAA = 8, /* T_AAAA */
YYSYMBOL_T_PTR = 9, /* T_PTR */
YYSYMBOL_T_NXT = 10, /* T_NXT */
YYSYMBOL_T_KEY = 11, /* T_KEY */
YYSYMBOL_T_SOA = 12, /* T_SOA */
YYSYMBOL_T_SIG = 13, /* T_SIG */
YYSYMBOL_T_SRV = 14, /* T_SRV */
YYSYMBOL_T_CERT = 15, /* T_CERT */
YYSYMBOL_T_LOC = 16, /* T_LOC */
YYSYMBOL_T_MD = 17, /* T_MD */
YYSYMBOL_T_MF = 18, /* T_MF */
YYSYMBOL_T_MB = 19, /* T_MB */
YYSYMBOL_T_MG = 20, /* T_MG */
YYSYMBOL_T_MR = 21, /* T_MR */
YYSYMBOL_T_NULL = 22, /* T_NULL */
YYSYMBOL_T_WKS = 23, /* T_WKS */
YYSYMBOL_T_HINFO = 24, /* T_HINFO */
YYSYMBOL_T_MINFO = 25, /* T_MINFO */
YYSYMBOL_T_RP = 26, /* T_RP */
YYSYMBOL_T_AFSDB = 27, /* T_AFSDB */
YYSYMBOL_T_X25 = 28, /* T_X25 */
YYSYMBOL_T_ISDN = 29, /* T_ISDN */
YYSYMBOL_T_RT = 30, /* T_RT */
YYSYMBOL_T_NSAP = 31, /* T_NSAP */
YYSYMBOL_T_NSAP_PTR = 32, /* T_NSAP_PTR */
YYSYMBOL_T_PX = 33, /* T_PX */
YYSYMBOL_T_GPOS = 34, /* T_GPOS */
YYSYMBOL_T_EID = 35, /* T_EID */
YYSYMBOL_T_NIMLOC = 36, /* T_NIMLOC */
YYSYMBOL_T_ATMA = 37, /* T_ATMA */
YYSYMBOL_T_NAPTR = 38, /* T_NAPTR */
YYSYMBOL_T_KX = 39, /* T_KX */
YYSYMBOL_T_A6 = 40, /* T_A6 */
YYSYMBOL_T_DNAME = 41, /* T_DNAME */
YYSYMBOL_T_SINK = 42, /* T_SINK */
YYSYMBOL_T_OPT = 43, /* T_OPT */
YYSYMBOL_T_APL = 44, /* T_APL */
YYSYMBOL_T_UINFO = 45, /* T_UINFO */
YYSYMBOL_T_UID = 46, /* T_UID */
YYSYMBOL_T_GID = 47, /* T_GID */
YYSYMBOL_T_UNSPEC = 48, /* T_UNSPEC */
YYSYMBOL_T_TKEY = 49, /* T_TKEY */
YYSYMBOL_T_TSIG = 50, /* T_TSIG */
YYSYMBOL_T_IXFR = 51, /* T_IXFR */
YYSYMBOL_T_AXFR = 52, /* T_AXFR */
YYSYMBOL_T_MAILB = 53, /* T_MAILB */
YYSYMBOL_T_MAILA = 54, /* T_MAILA */
YYSYMBOL_T_DS = 55, /* T_DS */
YYSYMBOL_T_DLV = 56, /* T_DLV */
YYSYMBOL_T_SSHFP = 57, /* T_SSHFP */
YYSYMBOL_T_RRSIG = 58, /* T_RRSIG */
YYSYMBOL_T_NSEC = 59, /* T_NSEC */
YYSYMBOL_T_DNSKEY = 60, /* T_DNSKEY */
YYSYMBOL_T_SPF = 61, /* T_SPF */
YYSYMBOL_T_NSEC3 = 62, /* T_NSEC3 */
YYSYMBOL_T_IPSECKEY = 63, /* T_IPSECKEY */
YYSYMBOL_T_DHCID = 64, /* T_DHCID */
YYSYMBOL_T_NSEC3PARAM = 65, /* T_NSEC3PARAM */
YYSYMBOL_T_TLSA = 66, /* T_TLSA */
YYSYMBOL_T_URI = 67, /* T_URI */
YYSYMBOL_T_NID = 68, /* T_NID */
YYSYMBOL_T_L32 = 69, /* T_L32 */
YYSYMBOL_T_L64 = 70, /* T_L64 */
YYSYMBOL_T_LP = 71, /* T_LP */
YYSYMBOL_T_EUI48 = 72, /* T_EUI48 */
YYSYMBOL_T_EUI64 = 73, /* T_EUI64 */
YYSYMBOL_T_CAA = 74, /* T_CAA */
YYSYMBOL_T_CDS = 75, /* T_CDS */
YYSYMBOL_T_CDNSKEY = 76, /* T_CDNSKEY */
YYSYMBOL_T_OPENPGPKEY = 77, /* T_OPENPGPKEY */
YYSYMBOL_T_CSYNC = 78, /* T_CSYNC */
YYSYMBOL_T_ZONEMD = 79, /* T_ZONEMD */
YYSYMBOL_T_AVC = 80, /* T_AVC */
YYSYMBOL_T_SMIMEA = 81, /* T_SMIMEA */
YYSYMBOL_DOLLAR_TTL = 82, /* DOLLAR_TTL */
YYSYMBOL_DOLLAR_ORIGIN = 83, /* DOLLAR_ORIGIN */
YYSYMBOL_NL = 84, /* NL */
YYSYMBOL_SP = 85, /* SP */
YYSYMBOL_QSTR = 86, /* QSTR */
YYSYMBOL_STR = 87, /* STR */
YYSYMBOL_PREV = 88, /* PREV */
YYSYMBOL_BITLAB = 89, /* BITLAB */
YYSYMBOL_T_TTL = 90, /* T_TTL */
YYSYMBOL_T_RRCLASS = 91, /* T_RRCLASS */
YYSYMBOL_URR = 92, /* URR */
YYSYMBOL_T_UTYPE = 93, /* T_UTYPE */
YYSYMBOL_94_ = 94, /* '.' */
YYSYMBOL_95_ = 95, /* '@' */
YYSYMBOL_YYACCEPT = 96, /* $accept */
YYSYMBOL_lines = 97, /* lines */
YYSYMBOL_line = 98, /* line */
YYSYMBOL_sp = 99, /* sp */
YYSYMBOL_str = 100, /* str */
YYSYMBOL_trail = 101, /* trail */
YYSYMBOL_ttl_directive = 102, /* ttl_directive */
YYSYMBOL_origin_directive = 103, /* origin_directive */
YYSYMBOL_rr = 104, /* rr */
YYSYMBOL_owner = 105, /* owner */
YYSYMBOL_classttl = 106, /* classttl */
YYSYMBOL_dname = 107, /* dname */
YYSYMBOL_abs_dname = 108, /* abs_dname */
YYSYMBOL_label = 109, /* label */
YYSYMBOL_rel_dname = 110, /* rel_dname */
YYSYMBOL_wire_dname = 111, /* wire_dname */
YYSYMBOL_wire_abs_dname = 112, /* wire_abs_dname */
YYSYMBOL_wire_label = 113, /* wire_label */
YYSYMBOL_wire_rel_dname = 114, /* wire_rel_dname */
YYSYMBOL_str_seq = 115, /* str_seq */
YYSYMBOL_concatenated_str_seq = 116, /* concatenated_str_seq */
YYSYMBOL_nxt_seq = 117, /* nxt_seq */
YYSYMBOL_nsec_more = 118, /* nsec_more */
YYSYMBOL_nsec_seq = 119, /* nsec_seq */
YYSYMBOL_str_sp_seq = 120, /* str_sp_seq */
YYSYMBOL_str_dot_seq = 121, /* str_dot_seq */
YYSYMBOL_unquoted_dotted_str = 122, /* unquoted_dotted_str */
YYSYMBOL_dotted_str = 123, /* dotted_str */
YYSYMBOL_type_and_rdata = 124, /* type_and_rdata */
YYSYMBOL_rdata_a = 125, /* rdata_a */
YYSYMBOL_rdata_domain_name = 126, /* rdata_domain_name */
YYSYMBOL_rdata_soa = 127, /* rdata_soa */
YYSYMBOL_rdata_wks = 128, /* rdata_wks */
YYSYMBOL_rdata_hinfo = 129, /* rdata_hinfo */
YYSYMBOL_rdata_minfo = 130, /* rdata_minfo */
YYSYMBOL_rdata_mx = 131, /* rdata_mx */
YYSYMBOL_rdata_txt = 132, /* rdata_txt */
YYSYMBOL_rdata_rp = 133, /* rdata_rp */
YYSYMBOL_rdata_afsdb = 134, /* rdata_afsdb */
YYSYMBOL_rdata_x25 = 135, /* rdata_x25 */
YYSYMBOL_rdata_isdn = 136, /* rdata_isdn */
YYSYMBOL_rdata_rt = 137, /* rdata_rt */
YYSYMBOL_rdata_nsap = 138, /* rdata_nsap */
YYSYMBOL_rdata_px = 139, /* rdata_px */
YYSYMBOL_rdata_aaaa = 140, /* rdata_aaaa */
YYSYMBOL_rdata_loc = 141, /* rdata_loc */
YYSYMBOL_rdata_nxt = 142, /* rdata_nxt */
YYSYMBOL_rdata_srv = 143, /* rdata_srv */
YYSYMBOL_rdata_naptr = 144, /* rdata_naptr */
YYSYMBOL_rdata_kx = 145, /* rdata_kx */
YYSYMBOL_rdata_cert = 146, /* rdata_cert */
YYSYMBOL_rdata_apl = 147, /* rdata_apl */
YYSYMBOL_rdata_apl_seq = 148, /* rdata_apl_seq */
YYSYMBOL_rdata_ds = 149, /* rdata_ds */
YYSYMBOL_rdata_dlv = 150, /* rdata_dlv */
YYSYMBOL_rdata_sshfp = 151, /* rdata_sshfp */
YYSYMBOL_rdata_dhcid = 152, /* rdata_dhcid */
YYSYMBOL_rdata_rrsig = 153, /* rdata_rrsig */
YYSYMBOL_rdata_nsec = 154, /* rdata_nsec */
YYSYMBOL_rdata_nsec3 = 155, /* rdata_nsec3 */
YYSYMBOL_rdata_nsec3_param = 156, /* rdata_nsec3_param */
YYSYMBOL_rdata_tlsa = 157, /* rdata_tlsa */
YYSYMBOL_rdata_smimea = 158, /* rdata_smimea */
YYSYMBOL_rdata_dnskey = 159, /* rdata_dnskey */
YYSYMBOL_rdata_ipsec_base = 160, /* rdata_ipsec_base */
YYSYMBOL_rdata_ipseckey = 161, /* rdata_ipseckey */
YYSYMBOL_rdata_nid = 162, /* rdata_nid */
YYSYMBOL_rdata_l32 = 163, /* rdata_l32 */
YYSYMBOL_rdata_l64 = 164, /* rdata_l64 */
YYSYMBOL_rdata_lp = 165, /* rdata_lp */
YYSYMBOL_rdata_eui48 = 166, /* rdata_eui48 */
YYSYMBOL_rdata_eui64 = 167, /* rdata_eui64 */
YYSYMBOL_rdata_uri = 168, /* rdata_uri */
YYSYMBOL_rdata_caa = 169, /* rdata_caa */
YYSYMBOL_rdata_openpgpkey = 170, /* rdata_openpgpkey */
YYSYMBOL_rdata_csync = 171, /* rdata_csync */
YYSYMBOL_rdata_zonemd = 172, /* rdata_zonemd */
YYSYMBOL_rdata_unknown = 173 /* rdata_unknown */
};
typedef enum yysymbol_kind_t yysymbol_kind_t;
#ifdef short #ifdef short
# undef short # undef short
#endif #endif
#ifdef YYTYPE_UINT8 /* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
typedef YYTYPE_UINT8 yytype_uint8; <limits.h> and (if available) <stdint.h> are included
#else so that the code can choose integer types of a good width. */
typedef unsigned char yytype_uint8;
#ifndef __PTRDIFF_MAX__
# include <limits.h> /* INFRINGES ON USER NAME SPACE */
# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
# include <stdint.h> /* INFRINGES ON USER NAME SPACE */
# define YY_STDINT_H
# endif
#endif #endif
#ifdef YYTYPE_INT8 /* Narrow types that promote to a signed type and that can represent a
typedef YYTYPE_INT8 yytype_int8; signed or unsigned integer of at least N bits. In tables they can
save space and decrease cache pressure. Promoting to a signed type
helps avoid bugs in integer arithmetic. */
#ifdef __INT_LEAST8_MAX__
typedef __INT_LEAST8_TYPE__ yytype_int8;
#elif defined YY_STDINT_H
typedef int_least8_t yytype_int8;
#else #else
typedef signed char yytype_int8; typedef signed char yytype_int8;
#endif #endif
#ifdef YYTYPE_UINT16 #ifdef __INT_LEAST16_MAX__
typedef YYTYPE_UINT16 yytype_uint16; typedef __INT_LEAST16_TYPE__ yytype_int16;
#elif defined YY_STDINT_H
typedef int_least16_t yytype_int16;
#else #else
typedef unsigned short yytype_uint16; typedef short yytype_int16;
#endif #endif
#ifdef YYTYPE_INT16 #if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
typedef YYTYPE_INT16 yytype_int16; typedef __UINT_LEAST8_TYPE__ yytype_uint8;
#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
&& UINT_LEAST8_MAX <= INT_MAX)
typedef uint_least8_t yytype_uint8;
#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
typedef unsigned char yytype_uint8;
#else #else
typedef short yytype_int16; typedef short yytype_uint8;
#endif
#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
typedef __UINT_LEAST16_TYPE__ yytype_uint16;
#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \
&& UINT_LEAST16_MAX <= INT_MAX)
typedef uint_least16_t yytype_uint16;
#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
typedef unsigned short yytype_uint16;
#else
typedef int yytype_uint16;
#endif
#ifndef YYPTRDIFF_T
# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
# define YYPTRDIFF_T __PTRDIFF_TYPE__
# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__
# elif defined PTRDIFF_MAX
# ifndef ptrdiff_t
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# endif
# define YYPTRDIFF_T ptrdiff_t
# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
# else
# define YYPTRDIFF_T long
# define YYPTRDIFF_MAXIMUM LONG_MAX
# endif
#endif #endif
#ifndef YYSIZE_T #ifndef YYSIZE_T
# ifdef __SIZE_TYPE__ # ifdef __SIZE_TYPE__
# define YYSIZE_T __SIZE_TYPE__ # define YYSIZE_T __SIZE_TYPE__
# elif defined size_t # elif defined size_t
# define YYSIZE_T size_t # define YYSIZE_T size_t
# elif ! defined YYSIZE_T # elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t # define YYSIZE_T size_t
# else # else
# define YYSIZE_T unsigned # define YYSIZE_T unsigned
# endif # endif
#endif #endif
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #define YYSIZE_MAXIMUM \
YY_CAST (YYPTRDIFF_T, \
(YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \
? YYPTRDIFF_MAXIMUM \
: YY_CAST (YYSIZE_T, -1)))
#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
/* Stored state numbers (used for stacks). */
typedef yytype_int16 yy_state_t;
/* State numbers in computations. */
typedef int yy_state_fast_t;
#ifndef YY_ #ifndef YY_
# if defined YYENABLE_NLS && YYENABLE_NLS # if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS # if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(Msgid) dgettext ("bison-runtime", Msgid) # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
# endif # endif
# endif # endif
# ifndef YY_ # ifndef YY_
# define YY_(Msgid) Msgid # define YY_(Msgid) Msgid
# endif # endif
#endif #endif
#ifndef YY_ATTRIBUTE #ifndef YY_ATTRIBUTE_PURE
# if (defined __GNUC__ \ # if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
&& (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ # define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
|| defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
# define YY_ATTRIBUTE(Spec) __attribute__(Spec)
# else # else
# define YY_ATTRIBUTE(Spec) /* empty */ # define YY_ATTRIBUTE_PURE
# endif # endif
#endif #endif
#ifndef YY_ATTRIBUTE_PURE
# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))
#endif
#ifndef YY_ATTRIBUTE_UNUSED #ifndef YY_ATTRIBUTE_UNUSED
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) # if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
# else
# define YY_ATTRIBUTE_UNUSED
# endif
#endif #endif
/* Suppress unused-variable warnings by "using" E. */ /* Suppress unused-variable warnings by "using" E. */
#if ! defined lint || defined __GNUC__ #if ! defined lint || defined __GNUC__
# define YYUSE(E) ((void) (E)) # define YYUSE(E) ((void) (E))
#else #else
# define YYUSE(E) /* empty */ # define YYUSE(E) /* empty */
#endif #endif
#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR_ _ #if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR_ _
/* Suppress an incorrect diagnostic about yylval being uninitialized. */ /* Suppress an incorrect diagnostic about yylval being uninitialized. */
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
_Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \
_Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
_Pragma ("GCC diagnostic pop") _Pragma ("GCC diagnostic pop")
#else #else
# define YY_INITIAL_VALUE(Value) Value # define YY_INITIAL_VALUE(Value) Value
#endif #endif
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
# define YY_IGNORE_MAYBE_UNINITIALIZED_END # define YY_IGNORE_MAYBE_UNINITIALIZED_END
#endif #endif
#ifndef YY_INITIAL_VALUE #ifndef YY_INITIAL_VALUE
# define YY_INITIAL_VALUE(Value) /* Nothing. */ # define YY_INITIAL_VALUE(Value) /* Nothing. */
#endif #endif
#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
# define YY_IGNORE_USELESS_CAST_BEGIN \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
# define YY_IGNORE_USELESS_CAST_END \
_Pragma ("GCC diagnostic pop")
#endif
#ifndef YY_IGNORE_USELESS_CAST_BEGIN
# define YY_IGNORE_USELESS_CAST_BEGIN
# define YY_IGNORE_USELESS_CAST_END
#endif
#define YY_ASSERT(E) ((void) (0 && (E))) #define YY_ASSERT(E) ((void) (0 && (E)))
#if ! defined yyoverflow || YYERROR_VERBOSE #if !defined yyoverflow
/* The parser invokes alloca or malloc; define the necessary symbols. */ /* The parser invokes alloca or malloc; define the necessary symbols. */
# ifdef YYSTACK_USE_ALLOCA # ifdef YYSTACK_USE_ALLOCA
# if YYSTACK_USE_ALLOCA # if YYSTACK_USE_ALLOCA
# ifdef __GNUC__ # ifdef __GNUC__
# define YYSTACK_ALLOC __builtin_alloca # define YYSTACK_ALLOC __builtin_alloca
# elif defined __BUILTIN_VA_ARG_INCR # elif defined __BUILTIN_VA_ARG_INCR
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
# elif defined _AIX # elif defined _AIX
skipping to change at line 532 skipping to change at line 793
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
# endif # endif
# endif # endif
# ifndef YYFREE # ifndef YYFREE
# define YYFREE free # define YYFREE free
# if ! defined free && ! defined EXIT_SUCCESS # if ! defined free && ! defined EXIT_SUCCESS
void free (void *); /* INFRINGES ON USER NAME SPACE */ void free (void *); /* INFRINGES ON USER NAME SPACE */
# endif # endif
# endif # endif
# endif # endif
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ #endif /* !defined yyoverflow */
#if (! defined yyoverflow \ #if (! defined yyoverflow \
&& (! defined __cplusplus \ && (! defined __cplusplus \
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */ /* A type that is properly aligned for any stack member. */
union yyalloc union yyalloc
{ {
yytype_int16 yyss_alloc; yy_state_t yyss_alloc;
YYSTYPE yyvs_alloc; YYSTYPE yyvs_alloc;
}; };
/* The size of the maximum gap between one aligned stack and the next. */ /* The size of the maximum gap between one aligned stack and the next. */
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) # define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
/* The size of an array large to enough to hold all stacks, each with /* The size of an array large to enough to hold all stacks, each with
N elements. */ N elements. */
# define YYSTACK_BYTES(N) \ # define YYSTACK_BYTES(N) \
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ ((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM) + YYSTACK_GAP_MAXIMUM)
# define YYCOPY_NEEDED 1 # define YYCOPY_NEEDED 1
/* Relocate STACK from its old location to the new one. The /* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next stack. Advance YYPTR to a properly aligned location for the next
stack. */ stack. */
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
do \ do \
{ \ { \
YYSIZE_T yynewbytes; \ YYPTRDIFF_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \ Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \ yyptr += yynewbytes / YYSIZEOF (*yyptr); \
} \ } \
while (0) while (0)
#endif #endif
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST. The source and destination do /* Copy COUNT objects from SRC to DST. The source and destination do
not overlap. */ not overlap. */
# ifndef YYCOPY # ifndef YYCOPY
# if defined __GNUC__ && 1 < __GNUC__ # if defined __GNUC__ && 1 < __GNUC__
# define YYCOPY(Dst, Src, Count) \ # define YYCOPY(Dst, Src, Count) \
__builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
# else # else
# define YYCOPY(Dst, Src, Count) \ # define YYCOPY(Dst, Src, Count) \
do \ do \
{ \ { \
YYSIZE_T yyi; \ YYPTRDIFF_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \ for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \ (Dst)[yyi] = (Src)[yyi]; \
} \ } \
while (0) while (0)
# endif # endif
# endif # endif
#endif /* !YYCOPY_NEEDED */ #endif /* !YYCOPY_NEEDED */
/* YYFINAL -- State number of the termination state. */ /* YYFINAL -- State number of the termination state. */
#define YYFINAL 2 #define YYFINAL 2
/* YYLAST -- Last index in YYTABLE. */ /* YYLAST -- Last index in YYTABLE. */
#define YYLAST 977 #define YYLAST 1358
/* YYNTOKENS -- Number of terminals. */ /* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 95 #define YYNTOKENS 96
/* YYNNTS -- Number of nonterminals. */ /* YYNNTS -- Number of nonterminals. */
#define YYNNTS 76 #define YYNNTS 78
/* YYNRULES -- Number of rules. */ /* YYNRULES -- Number of rules. */
#define YYNRULES 240 #define YYNRULES 250
/* YYNSTATES -- Number of states. */ /* YYNSTATES -- Number of states. */
#define YYNSTATES 599 #define YYNSTATES 609
#define YYUNDEFTOK 2 #define YYMAXUTOK 348
#define YYMAXUTOK 347
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
as returned by yylex, with out-of-bounds checking. */ as returned by yylex, with out-of-bounds checking. */
#define YYTRANSLATE(YYX) \ #define YYTRANSLATE(YYX) \
((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) (0 <= (YYX) && (YYX) <= YYMAXUTOK \
? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \
: YYSYMBOL_YYUNDEF)
/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
as returned by yylex. */ as returned by yylex. */
static const yytype_uint8 yytranslate[] = static const yytype_int8 yytranslate[] =
{ {
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 93, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 94, 2, 2, 2, 2, 2, 2, 2, 2, 2, 95, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
skipping to change at line 654 skipping to change at line 916
2, 2, 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, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 90, 91, 92 85, 86, 87, 88, 89, 90, 91, 92, 93
}; };
#if YYDEBUG #if YYDEBUG
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] = static const yytype_int16 yyrline[] =
{ {
0, 92, 92, 93, 96, 97, 98, 99, 107, 115, 0, 93, 93, 94, 97, 98, 99, 100, 108, 116,
135, 139, 140, 143, 144, 147, 157, 168, 174, 181, 136, 140, 141, 144, 144, 146, 147, 150, 160, 171,
186, 193, 197, 202, 207, 212, 219, 220, 241, 245, 177, 184, 189, 196, 200, 205, 210, 215, 222, 223,
249, 259, 273, 280, 281, 299, 300, 324, 331, 343, 244, 248, 252, 262, 276, 283, 284, 302, 303, 327,
355, 372, 373, 385, 389, 399, 400, 405, 414, 426, 334, 346, 358, 375, 376, 388, 392, 396, 401, 405,
435, 446, 449, 452, 466, 467, 474, 475, 491, 492, 410, 414, 418, 429, 430, 435, 444, 456, 465, 476,
507, 508, 513, 523, 541, 542, 543, 544, 545, 546, 479, 482, 496, 497, 504, 505, 521, 522, 537, 538,
551, 552, 558, 559, 560, 561, 562, 563, 569, 570, 543, 553, 569, 569, 576, 577, 578, 579, 580, 581,
571, 572, 574, 575, 576, 577, 578, 579, 580, 581, 586, 587, 593, 594, 595, 596, 597, 598, 604, 605,
582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 606, 607, 609, 610, 611, 612, 613, 614, 615, 616,
592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626,
602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636,
612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646,
622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656,
632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666,
642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676,
652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686,
662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696,
672, 673, 674, 675, 676, 677, 678, 690, 696, 703, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706,
716, 723, 730, 738, 745, 752, 760, 768, 775, 779, 707, 708, 709, 710, 711, 712, 713, 725, 731, 738,
787, 795, 807, 815, 821, 827, 835, 845, 857, 865, 751, 758, 765, 773, 780, 787, 795, 803, 810, 814,
875, 878, 882, 888, 897, 906, 915, 921, 936, 946, 822, 830, 842, 850, 856, 862, 870, 880, 892, 900,
961, 971, 980, 989, 998, 1043, 1047, 1051, 1058, 1065, 910, 913, 917, 923, 932, 941, 950, 956, 971, 981,
1072, 1079, 1085, 1092, 1101, 1110, 1117, 1128, 1137, 1143, 996, 1006, 1015, 1024, 1033, 1078, 1082, 1086, 1093, 1100,
1147 1107, 1114, 1120, 1127, 1136, 1145, 1152, 1163, 1172, 1178,
1182
}; };
#endif #endif
#if YYDEBUG || YYERROR_VERBOSE || 0 /** Accessing symbol of state STATE. */
#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
#if YYDEBUG || 0
/* The user-facing name of the symbol whose (internal) number is
YYSYMBOL. No bounds checking. */
static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] = static const char *const yytname[] =
{ {
"$end", "error", "$undefined", "T_A", "T_NS", "T_MX", "T_TXT", "\"end of file\"", "error", "\"invalid token\"", "T_A", "T_NS", "T_MX",
"T_CNAME", "T_AAAA", "T_PTR", "T_NXT", "T_KEY", "T_SOA", "T_SIG", "T_TXT", "T_CNAME", "T_AAAA", "T_PTR", "T_NXT", "T_KEY", "T_SOA",
"T_SRV", "T_CERT", "T_LOC", "T_MD", "T_MF", "T_MB", "T_MG", "T_MR", "T_SIG", "T_SRV", "T_CERT", "T_LOC", "T_MD", "T_MF", "T_MB", "T_MG",
"T_NULL", "T_WKS", "T_HINFO", "T_MINFO", "T_RP", "T_AFSDB", "T_X25", "T_MR", "T_NULL", "T_WKS", "T_HINFO", "T_MINFO", "T_RP", "T_AFSDB",
"T_ISDN", "T_RT", "T_NSAP", "T_NSAP_PTR", "T_PX", "T_GPOS", "T_EID", "T_X25", "T_ISDN", "T_RT", "T_NSAP", "T_NSAP_PTR", "T_PX", "T_GPOS",
"T_NIMLOC", "T_ATMA", "T_NAPTR", "T_KX", "T_A6", "T_DNAME", "T_SINK", "T_EID", "T_NIMLOC", "T_ATMA", "T_NAPTR", "T_KX", "T_A6", "T_DNAME",
"T_OPT", "T_APL", "T_UINFO", "T_UID", "T_GID", "T_UNSPEC", "T_TKEY", "T_SINK", "T_OPT", "T_APL", "T_UINFO", "T_UID", "T_GID", "T_UNSPEC",
"T_TSIG", "T_IXFR", "T_AXFR", "T_MAILB", "T_MAILA", "T_DS", "T_DLV", "T_TKEY", "T_TSIG", "T_IXFR", "T_AXFR", "T_MAILB", "T_MAILA", "T_DS",
"T_SSHFP", "T_RRSIG", "T_NSEC", "T_DNSKEY", "T_SPF", "T_NSEC3", "T_DLV", "T_SSHFP", "T_RRSIG", "T_NSEC", "T_DNSKEY", "T_SPF", "T_NSEC3",
"T_IPSECKEY", "T_DHCID", "T_NSEC3PARAM", "T_TLSA", "T_URI", "T_NID", "T_IPSECKEY", "T_DHCID", "T_NSEC3PARAM", "T_TLSA", "T_URI", "T_NID",
"T_L32", "T_L64", "T_LP", "T_EUI48", "T_EUI64", "T_CAA", "T_CDS", "T_L32", "T_L64", "T_LP", "T_EUI48", "T_EUI64", "T_CAA", "T_CDS",
"T_CDNSKEY", "T_OPENPGPKEY", "T_CSYNC", "T_ZONEMD", "T_AVC", "T_SMIMEA", "T_CDNSKEY", "T_OPENPGPKEY", "T_CSYNC", "T_ZONEMD", "T_AVC", "T_SMIMEA",
"DOLLAR_TTL", "DOLLAR_ORIGIN", "NL", "SP", "STR", "PREV", "BITLAB", "DOLLAR_TTL", "DOLLAR_ORIGIN", "NL", "SP", "QSTR", "STR", "PREV",
"T_TTL", "T_RRCLASS", "URR", "T_UTYPE", "'.'", "'@'", "$accept", "lines", "BITLAB", "T_TTL", "T_RRCLASS", "URR", "T_UTYPE", "'.'", "'@'",
"line", "sp", "trail", "ttl_directive", "origin_directive", "rr", "$accept", "lines", "line", "sp", "str", "trail", "ttl_directive",
"owner", "classttl", "dname", "abs_dname", "label", "rel_dname", "origin_directive", "rr", "owner", "classttl", "dname", "abs_dname",
"wire_dname", "wire_abs_dname", "wire_label", "wire_rel_dname", "label", "rel_dname", "wire_dname", "wire_abs_dname", "wire_label",
"str_seq", "concatenated_str_seq", "nxt_seq", "nsec_more", "nsec_seq", "wire_rel_dname", "str_seq", "concatenated_str_seq", "nxt_seq",
"str_sp_seq", "str_dot_seq", "dotted_str", "type_and_rdata", "rdata_a", "nsec_more", "nsec_seq", "str_sp_seq", "str_dot_seq",
"unquoted_dotted_str", "dotted_str", "type_and_rdata", "rdata_a",
"rdata_domain_name", "rdata_soa", "rdata_wks", "rdata_hinfo", "rdata_domain_name", "rdata_soa", "rdata_wks", "rdata_hinfo",
"rdata_minfo", "rdata_mx", "rdata_txt", "rdata_rp", "rdata_afsdb", "rdata_minfo", "rdata_mx", "rdata_txt", "rdata_rp", "rdata_afsdb",
"rdata_x25", "rdata_isdn", "rdata_rt", "rdata_nsap", "rdata_px", "rdata_x25", "rdata_isdn", "rdata_rt", "rdata_nsap", "rdata_px",
"rdata_aaaa", "rdata_loc", "rdata_nxt", "rdata_srv", "rdata_naptr", "rdata_aaaa", "rdata_loc", "rdata_nxt", "rdata_srv", "rdata_naptr",
"rdata_kx", "rdata_cert", "rdata_apl", "rdata_apl_seq", "rdata_ds", "rdata_kx", "rdata_cert", "rdata_apl", "rdata_apl_seq", "rdata_ds",
"rdata_dlv", "rdata_sshfp", "rdata_dhcid", "rdata_rrsig", "rdata_nsec", "rdata_dlv", "rdata_sshfp", "rdata_dhcid", "rdata_rrsig", "rdata_nsec",
"rdata_nsec3", "rdata_nsec3_param", "rdata_tlsa", "rdata_smimea", "rdata_nsec3", "rdata_nsec3_param", "rdata_tlsa", "rdata_smimea",
"rdata_dnskey", "rdata_ipsec_base", "rdata_ipseckey", "rdata_nid", "rdata_dnskey", "rdata_ipsec_base", "rdata_ipseckey", "rdata_nid",
"rdata_l32", "rdata_l64", "rdata_lp", "rdata_eui48", "rdata_eui64", "rdata_l32", "rdata_l64", "rdata_lp", "rdata_eui48", "rdata_eui64",
"rdata_uri", "rdata_caa", "rdata_openpgpkey", "rdata_csync", "rdata_uri", "rdata_caa", "rdata_openpgpkey", "rdata_csync",
"rdata_zonemd", "rdata_unknown", YY_NULLPTR "rdata_zonemd", "rdata_unknown", YY_NULLPTR
}; };
static const char *
yysymbol_name (yysymbol_kind_t yysymbol)
{
return yytname[yysymbol];
}
#endif #endif
# ifdef YYPRINT #ifdef YYPRINT
/* YYTOKNUM[NUM] -- (External) token number corresponding to the /* YYTOKNUM[NUM] -- (External) token number corresponding to the
(internal) symbol number NUM (which must be that of a token). */ (internal) symbol number NUM (which must be that of a token). */
static const yytype_uint16 yytoknum[] = static const yytype_int16 yytoknum[] =
{ {
0, 256, 257, 258, 259, 260, 261, 262, 263, 264, 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
345, 346, 347, 46, 64 345, 346, 347, 348, 46, 64
}; };
# endif #endif
#define YYPACT_NINF -451 #define YYPACT_NINF (-460)
#define yypact_value_is_default(Yystate) \ #define yypact_value_is_default(Yyn) \
(!!((Yystate) == (-451))) ((Yyn) == YYPACT_NINF)
#define YYTABLE_NINF -1 #define YYTABLE_NINF (-1)
#define yytable_value_is_error(Yytable_value) \ #define yytable_value_is_error(Yyn) \
0 0
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */ STATE-NUM. */
static const yytype_int16 yypact[] = static const yytype_int16 yypact[] =
{ {
-451, 109, -451, -57, -51, -51, -451, -451, -451, 40, -460, 113, -460, -75, -78, -78, -460, -460, -460, -460,
-451, -451, -451, -451, 79, -451, -451, -451, 100, -51, -61, -460, -460, -460, -460, 27, -460, -460, -460, -460,
-451, -451, 50, -451, 83, 41, -451, -451, -451, -51, 103, -78, -460, -460, -59, -460, 43, 56, -460, -460,
-51, 885, 48, 28, 141, 141, 65, -55, -73, -51, -460, -78, -78, 663, 16, 124, 120, 120, 32, -80,
-51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -52, -78, -78, -78, -78, -78, -78, -78, -78, -78,
-51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
-51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
-51, 141, -51, -51, -51, -51, -51, -51, -51, -51, -78, -78, -78, 120, -78, -78, -78, -78, -78, -78,
-51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
-51, -51, -51, -51, -51, -51, -51, -51, -51, 170, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78,
-51, -451, -451, -451, 208, -451, -451, -451, -51, -51, -78, -78, 117, -460, -460, -460, 132, -460, -460, -460,
81, 27, -54, 81, 27, 81, 27, 27, 37, 27, -78, -78, 97, -73, 186, 134, -73, 97, -73, -73,
114, 126, 129, 92, 27, 27, 27, 27, 27, 81, 186, -73, 186, 186, 186, 146, -73, -73, -73, -73,
136, 27, 27, 138, 147, 150, 160, 162, 169, 172, -73, 97, 186, -73, -73, 186, 186, 186, 186, 186,
182, 27, -78, -451, 184, 193, 196, 114, 51, 37, 186, 186, 186, -73, 70, -460, 186, 186, 186, 186,
81, 200, 203, 214, 222, 225, 237, 244, 246, 248, -58, 186, 134, 186, 186, 186, 186, 186, 186, 186,
256, 259, 266, 273, 184, 37, 214, 281, 283, 81, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
292, 89, 68, -451, 48, 48, -451, 13, -451, 67, 186, 134, 186, -77, 20, -460, 16, 16, -460, -460,
-451, -451, 141, -451, -451, -51, -451, -451, 141, 82, 17, -460, 26, 120, -460, -460, 120, -460, -460, -78,
-451, -451, -451, -451, 67, -451, -451, -451, -451, -51, -460, -460, -55, 190, 26, -460, -460, -460, -460, 120,
-451, -451, -51, -451, -451, -51, -451, -451, -51, -451, -460, -460, -460, -460, -78, -460, -460, -78, -460, -460,
-451, -51, -451, -451, -51, -451, -451, -451, -451, 72, -78, -460, -460, -78, -460, -460, -78, -460, -460, -78,
-451, -451, -451, -451, -451, -451, -451, -451, -451, -451, -460, -460, -460, -460, 38, -460, -460, -460, -460, -460,
-451, -451, -60, -451, -451, -51, -451, -451, -51, -451, -460, -460, -460, -460, -460, -460, -460, -78, -460, -460,
-451, -51, -451, -451, -51, -451, -451, 141, -451, -451, -78, -460, -460, -78, -460, -460, -78, -460, -460, -78,
141, -451, -451, -51, -451, -451, -451, 77, -451, -451, -460, -460, 120, -460, -460, 120, -460, -460, -78, -460,
-51, -451, -451, -51, -451, -451, -51, -451, -451, -451, -460, -460, 64, -460, -460, -78, -460, -460, -78, -460,
-451, 82, -451, 141, -451, -51, -451, -451, -51, -451, -460, -78, -460, -460, -460, -460, -460, -460, 120, -460,
-451, -51, -451, -451, -451, -451, -451, -451, -451, 219, -78, -460, -460, -78, -460, -460, -78, -460, -460, -460,
-451, -451, 86, -451, -451, -451, -451, -451, -451, -51, -460, -460, -460, -460, 140, -460, -460, 50, -460, -460,
-451, -451, -51, 141, -451, -451, -451, 141, -451, -451, -460, -460, -460, -460, -78, -460, -460, -78, 120, -460,
-51, -451, -451, -51, -451, -451, -51, -451, -451, -51, -460, -460, 120, -460, -460, -78, -460, -460, -78, -460,
-451, -451, -51, -451, -451, -51, -451, -451, -51, -451, -460, -78, -460, -460, -78, -460, -460, -78, -460, -460,
-451, 141, -451, -451, 141, -451, -451, -51, -451, -451, -78, -460, -460, -78, -460, -460, 120, -460, -460, 120,
-451, -451, -451, -451, 141, -451, -451, -51, -451, -451, -460, -460, -78, -460, -460, -460, -460, -460, -460, 120,
-51, -451, -451, -451, -451, -51, -451, -451, -451, -451, -460, -460, -78, -460, -460, -78, -460, -460, -460, -460,
98, 234, 120, -451, -451, 41, 55, -451, -451, 270, -78, -460, -460, -460, -460, 40, 43, 59, -460, -460,
299, 41, 316, 318, 324, 133, 16, -451, 326, 329, 56, 26, -55, 21, -460, -460, 43, 43, 56, 43,
41, 41, 41, -451, 19, -451, 41, 142, -451, 41, 43, 43, 143, 85, -460, 43, 43, 56, 56, 56,
331, 41, 55, -451, 333, 337, 339, -451, 211, -451, -460, 85, -460, 56, 143, -460, 56, 43, 56, 81,
144, 347, 350, 308, -451, 311, -451, 352, 354, 359, -460, 43, 43, 43, -460, 202, -460, 143, 43, 43,
95, 95, 95, 41, -451, -451, 364, -451, 366, 376, 85, -460, 85, -460, 43, 43, 43, 164, 164, 164,
378, -451, 141, -451, 141, 82, -451, 141, -51, -51, 56, -460, -460, 43, -460, 43, 43, 43, -460, 120,
-51, -51, -51, -451, -451, -51, 141, 141, 141, 141, -460, 120, 26, -55, 26, -460, 120, -78, -78, -78,
141, 141, -451, -51, -51, 141, 82, -51, -51, -51, -78, -78, -460, -460, -78, 120, 120, 120, 120, 120,
-451, 211, 219, -451, -451, -51, -51, 141, -451, -51, 120, -460, -78, -78, 120, -460, -78, -78, -78, -460,
-51, -51, 67, 67, 67, 141, -51, 219, -51, -51, 202, 140, -460, -460, -78, -78, 120, -460, -78, -78,
308, -451, -451, 314, -451, 385, 388, 390, 394, 397, -78, 120, 120, 120, 120, -78, 140, -78, -78, 85,
123, -451, -451, -451, -451, -451, -451, 41, 400, -451, -460, -460, 26, 85, -460, 43, 43, 43, 43, 43,
403, 405, 407, -451, -451, 409, 412, -451, 414, 417, 174, -460, -460, -460, -460, -460, -460, 56, 43, -460,
95, -451, -451, -451, -451, 95, -451, 419, 421, 141, 43, 43, 43, -460, -460, 43, 43, -460, 43, 43,
-451, -51, -51, -51, -51, -51, 72, 141, -51, -51, 164, -460, -460, -460, -460, 164, -460, 43, 43, 120,
-51, 141, -51, -51, -51, -51, 67, 67, -51, -51, -460, -78, -78, -78, -78, -78, 38, 120, -78, -78,
-451, 407, 440, 444, 41, 407, -451, -451, 446, 407, -78, 120, -78, -78, -78, -78, 120, 120, -78, -78,
407, -451, 450, 95, 456, 407, -451, -451, 407, 407, -460, 43, 43, 43, 56, 43, -460, -460, 43, 43,
141, -51, -51, 141, 141, -51, 141, 141, -51, 82, 43, -460, 43, 164, 43, 43, -460, -460, 43, 43,
141, 141, 141, 141, -451, 458, 460, -451, -451, 473, 120, -78, -78, 120, 120, -78, 120, 120, -78, -460,
-451, -451, 479, -451, -451, -451, -451, -51, -51, -51, 120, 120, 120, 120, -460, 43, 43, -460, -460, 43,
219, 481, 483, 41, -451, -51, -51, 141, 486, 488, -460, -460, 43, -460, -460, -460, -460, -78, -78, -78,
-451, 141, -51, -451, 61, -51, 407, 141, -451 140, 43, 43, 56, -460, -78, -78, 120, 43, 43,
-460, 120, -78, -460, 91, -78, 43, 120, -460
}; };
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
Performed when YYTABLE does not specify something else to do. Zero Performed when YYTABLE does not specify something else to do. Zero
means the default is an error. */ means the default is an error. */
static const yytype_uint8 yydefact[] = static const yytype_uint8 yydefact[] =
{ {
2, 0, 1, 0, 0, 0, 4, 11, 31, 20, 2, 0, 1, 0, 0, 0, 4, 11, 14, 13,
32, 28, 29, 3, 0, 7, 8, 9, 21, 0, 22, 34, 30, 31, 3, 0, 33, 7, 8, 9,
26, 33, 27, 10, 0, 0, 6, 5, 12, 0, 23, 0, 28, 35, 29, 10, 0, 0, 6, 5,
0, 0, 19, 30, 0, 0, 0, 23, 22, 0, 12, 0, 0, 0, 21, 32, 0, 0, 0, 25,
24, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 20, 36, 15, 0, 17, 18, 19,
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, 18, 34, 13, 0, 15, 16, 17, 0, 0, 0, 0, 0, 0, 0, 146, 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, 16, 26, 27, 73, 68,
0, 69, 72, 0, 74, 75, 0, 76, 77, 0,
100, 101, 46, 0, 45, 102, 103, 82, 83, 0,
130, 131, 94, 95, 0, 134, 135, 0, 126, 127,
0, 84, 85, 0, 124, 125, 0, 136, 137, 0,
142, 143, 54, 53, 0, 132, 133, 78, 79, 80,
81, 86, 87, 88, 89, 90, 91, 0, 92, 93,
0, 96, 97, 0, 98, 99, 0, 108, 109, 0,
110, 111, 0, 112, 113, 0, 114, 115, 0, 120,
121, 66, 0, 122, 123, 0, 128, 129, 0, 138,
139, 0, 140, 141, 144, 145, 221, 147, 0, 148,
0, 149, 150, 0, 151, 152, 0, 153, 154, 155,
156, 39, 40, 42, 0, 37, 43, 38, 157, 158,
163, 164, 104, 105, 0, 159, 160, 0, 0, 116,
117, 64, 0, 118, 119, 0, 161, 162, 0, 165,
166, 0, 193, 194, 0, 169, 170, 0, 171, 172,
0, 173, 174, 0, 175, 176, 0, 177, 178, 0,
179, 180, 0, 181, 182, 183, 184, 185, 186, 0,
187, 188, 0, 189, 190, 0, 191, 192, 106, 107,
0, 167, 168, 195, 196, 0, 0, 70, 197, 198,
0, 47, 48, 0, 204, 213, 0, 0, 0, 0,
0, 0, 0, 0, 214, 0, 0, 0, 0, 0,
207, 0, 208, 0, 0, 211, 0, 0, 0, 0,
220, 0, 0, 0, 62, 0, 228, 41, 0, 0,
0, 236, 0, 226, 0, 0, 0, 0, 0, 0,
0, 241, 242, 0, 245, 0, 0, 0, 250, 0,
71, 0, 49, 51, 50, 57, 0, 0, 0, 0,
0, 0, 56, 55, 0, 0, 0, 0, 0, 0,
0, 67, 0, 0, 0, 222, 0, 0, 0, 60,
0, 0, 63, 44, 0, 0, 0, 65, 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, 136, 0, 0, 0, 0, 0, 0, 249, 203, 52, 0, 215, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 202, 205, 206, 209, 210, 0, 0, 218,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 61, 0, 0, 235, 0, 0,
0, 0, 0, 14, 24, 25, 60, 0, 61, 0, 0, 237, 238, 239, 240, 0, 246, 0, 0, 0,
64, 65, 0, 66, 67, 0, 90, 91, 0, 43, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0,
92, 93, 72, 73, 0, 120, 121, 84, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
124, 125, 0, 116, 117, 0, 74, 75, 0, 114, 248, 0, 0, 0, 0, 0, 200, 212, 0, 0,
115, 0, 126, 127, 0, 132, 133, 45, 46, 0, 0, 225, 0, 0, 0, 0, 243, 244, 0, 0,
122, 123, 68, 69, 70, 71, 76, 77, 78, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 234,
80, 81, 0, 82, 83, 0, 86, 87, 0, 88, 0, 0, 0, 0, 233, 0, 0, 216, 219, 0,
89, 0, 98, 99, 0, 100, 101, 0, 102, 103, 223, 224, 0, 230, 231, 247, 232, 0, 0, 0,
0, 104, 105, 0, 110, 111, 58, 0, 112, 113, 0, 0, 0, 0, 229, 0, 0, 0, 0, 0,
0, 118, 119, 0, 128, 129, 0, 130, 131, 134, 217, 0, 0, 199, 0, 0, 0, 0, 227
135, 211, 137, 0, 138, 0, 139, 140, 0, 141,
142, 0, 143, 144, 145, 146, 40, 37, 38, 0,
35, 41, 36, 147, 148, 153, 154, 94, 95, 0,
149, 150, 0, 0, 106, 107, 56, 0, 108, 109,
0, 151, 152, 0, 155, 156, 0, 183, 184, 0,
159, 160, 0, 161, 162, 0, 163, 164, 0, 165,
166, 0, 167, 168, 0, 169, 170, 0, 171, 172,
173, 174, 175, 176, 0, 177, 178, 0, 179, 180,
0, 181, 182, 96, 97, 0, 157, 158, 186, 185,
0, 0, 62, 187, 188, 0, 0, 194, 203, 0,
0, 0, 0, 0, 0, 0, 0, 204, 0, 0,
0, 0, 0, 197, 0, 198, 0, 0, 201, 0,
0, 0, 0, 210, 0, 0, 0, 54, 0, 218,
39, 0, 0, 0, 226, 0, 216, 0, 0, 0,
0, 0, 0, 0, 231, 232, 0, 235, 0, 0,
0, 240, 0, 63, 0, 44, 49, 0, 0, 0,
0, 0, 0, 48, 47, 0, 0, 0, 0, 0,
0, 0, 59, 0, 0, 0, 212, 0, 0, 0,
52, 0, 0, 55, 42, 0, 0, 0, 57, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 239, 193, 0, 205, 0, 0, 0, 0, 0,
0, 191, 192, 195, 196, 199, 200, 0, 0, 208,
0, 0, 0, 51, 53, 0, 0, 225, 0, 0,
0, 227, 228, 229, 230, 0, 236, 0, 0, 0,
50, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
238, 0, 0, 0, 0, 0, 190, 202, 0, 0,
0, 215, 0, 0, 0, 0, 233, 234, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 224,
0, 0, 0, 0, 223, 0, 0, 206, 209, 0,
213, 214, 0, 220, 221, 237, 222, 0, 0, 0,
0, 0, 0, 0, 219, 0, 0, 0, 0, 0,
207, 0, 0, 189, 0, 0, 0, 0, 217
}; };
/* YYPGOTO[NTERM-NUM]. */ /* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] = static const yytype_int16 yypgoto[] =
{ {
-451, -451, -451, -1, 290, -451, -451, -451, -451, -451, -460, -460, -460, -1, 493, 751, -460, -460, -460, -460,
0, 161, 206, 217, -344, -451, -144, -451, -451, -219, -460, 0, 126, 125, 136, -431, -460, -226, -460, -460,
-451, -187, -450, 78, -451, -4, -451, -451, -105, -451, -303, -460, -270, -459, -144, -460, -12, 30, -460, -460,
-451, -451, -451, -451, -145, -451, -451, -451, -451, -451, 9, -460, -460, -460, -460, -460, -146, -460, -460, -460,
-451, -451, -451, -451, -451, -451, -451, -451, -451, -451, -460, -460, -460, -460, -460, -460, -460, -460, -460, -460,
-451, 102, -451, -451, -451, 124, -451, -451, -451, -451, -460, -460, -460, 48, -460, -460, -460, 73, -460, -460,
-451, -139, -451, -451, -451, -451, -451, -451, -451, -451, -460, -460, -460, -141, -460, -460, -460, -460, -460, -460,
-451, -451, -451, -451, -451, 531 -460, -460, -460, -460, -460, -460, -460, 679
}; };
/* YYDEFGOTO[NTERM-NUM]. */ /* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] = static const yytype_int16 yydefgoto[] =
{ {
-1, 1, 13, 104, 105, 15, 16, 17, 18, 31, -1, 1, 14, 106, 16, 107, 17, 18, 19, 20,
182, 20, 21, 22, 289, 290, 291, 292, 188, 219, 33, 186, 22, 23, 24, 294, 295, 296, 297, 193,
427, 453, 399, 307, 257, 189, 101, 180, 183, 206, 224, 436, 462, 406, 312, 262, 182, 183, 103, 184,
233, 236, 239, 186, 190, 242, 245, 248, 251, 254, 187, 211, 238, 241, 244, 190, 195, 247, 250, 253,
258, 261, 195, 220, 200, 212, 264, 267, 215, 272, 256, 259, 263, 266, 200, 225, 205, 217, 269, 272,
273, 276, 279, 282, 308, 209, 293, 300, 311, 314, 220, 277, 278, 281, 284, 287, 313, 214, 298, 305,
356, 203, 303, 304, 320, 323, 326, 329, 332, 335, 316, 319, 361, 208, 308, 309, 325, 328, 331, 334,
317, 338, 345, 348, 351, 181 337, 340, 322, 343, 350, 353, 356, 185
}; };
/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule whose positive, shift that token. If negative, reduce the rule whose
number is the opposite. If YYTABLE_NINF, syntax error. */ number is the opposite. If YYTABLE_NINF, syntax error. */
static const yytype_uint16 yytable[] = static const yytype_int16 yytable[] =
{ {
14, 19, 494, 24, 25, 297, 173, 28, 176, 192, 15, 21, 504, 26, 27, 30, 302, 7, 30, 25,
295, 197, 28, 177, 360, 178, 109, 506, 32, 222, 300, 110, 30, 8, 9, 180, 11, 516, 365, 180,
224, 226, 228, 230, 353, 7, 342, 23, 37, 38, 34, 12, 13, 28, 349, 358, 347, 30, 8, 9,
28, 28, 185, 362, 7, 108, 269, 177, 110, 111, 39, 40, 179, 30, 180, 35, 291, 292, 111, 181,
112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
142, 144, 145, 146, 147, 148, 149, 150, 151, 152, 142, 143, 144, 146, 147, 148, 149, 150, 151, 152,
153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
163, 164, 165, 166, 167, 168, 169, 170, 7, 172, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
173, 28, 434, 173, 28, 440, 179, 174, 175, 2, 173, 30, 7, 194, 364, 175, 30, 433, 179, 176,
3, 194, 28, 8, 8, 10, 10, 199, 177, 205, 177, 29, 30, 2, 3, 181, 105, 7, 174, 204,
11, 12, 28, 202, 26, 232, 28, 8, 177, 10, 367, 210, 105, 7, 428, 197, 35, 202, 30, 8,
584, 238, 241, 28, 11, 12, 28, 286, 271, 173, 9, 594, 382, 243, 246, 227, 229, 231, 233, 235,
28, 176, 177, 33, 287, 288, 28, 286, 178, 103, 194, 30, 8, 9, 407, 11, 430, 199, 105, 7,
7, 103, 7, 28, 287, 288, 103, 7, 33, 177, 12, 13, 274, 37, 175, 30, 178, 179, 394, 194,
362, 103, 7, 27, 28, 375, 28, 176, 28, 34, 104, 237, 180, 38, 181, 175, 30, 178, 179, 175,
387, 171, 177, 358, 178, 362, 361, 28, 217, 400, 30, 8, 9, 605, 276, 181, 30, 8, 9, 366,
28, 176, 421, 177, 365, 218, 35, 366, 178, 29, 371, 463, 30, 178, 179, 291, 292, 526, 370, 180,
30, 4, 5, 6, 7, 8, 9, 10, 369, 28, 503, 181, 373, 31, 32, 4, 5, 6, 7, 8,
208, 370, 11, 12, 371, 177, 423, 372, 28, 217, 9, 10, 11, 376, 105, 7, 377, 12, 13, 378,
373, 28, 211, 374, 28, 214, 218, 177, 376, 433, 8, 9, 379, 11, 345, 380, 175, 30, 381, 30,
177, 28, 235, 28, 244, 103, 7, 177, 442, 177, 192, 179, 289, 383, 404, 405, 180, 0, 181, 8,
286, 378, 28, 247, 379, 28, 250, 380, 177, 102, 9, 30, 8, 9, 0, 0, 385, 0, 180, 386,
381, 177, 36, 382, 344, 28, 253, 28, 256, 384, 222, 0, 387, 0, 0, 388, 0, 0, 389, 30,
595, 177, 386, 177, 28, 260, 454, 28, 263, 389, 178, 179, 0, 0, 391, 0, 0, 393, 181, 30,
177, 516, 390, 177, 493, 391, 340, 28, 266, 28, 8, 9, 0, 0, 396, 0, 466, 397, 222, 0,
275, 284, 392, 177, 394, 177, 0, 395, 28, 278, 398, 30, 8, 9, 105, 7, 372, 399, 180, 401,
396, 28, 281, 0, 177, 28, 299, 177, 28, 302, 0, 0, 402, 0, 0, 403, 459, 460, 8, 9,
0, 177, 173, 28, 177, 450, 451, 452, 401, 28,
306, 402, 403, 397, 398, 177, 405, 28, 310, 407,
28, 313, 408, 177, 0, 409, 177, 0, 410, 28,
422, 411, 28, 316, 412, 106, 107, 413, 177, 28,
319, 28, 322, 28, 325, 177, 416, 177, 0, 177,
0, 28, 328, 405, 28, 331, 418, 177, 0, 419,
177, 28, 334, 0, 420, 28, 426, 177, 28, 337,
0, 143, 425, 0, 177, 424, 28, 347, 28, 350,
0, 429, 177, 0, 177, 0, 0, 28, 355, 0,
437, 438, 439, 177, 28, 428, 441, 0, 446, 443,
0, 445, 173, 28, 306, 173, 28, 458, 173, 28,
510, 28, 430, 28, 431, 0, 462, 463, 464, 28,
432, 28, 435, 465, 28, 436, 28, 444, 28, 447,
0, 470, 28, 448, 28, 449, 473, 475, 476, 477,
478, 479, 28, 455, 480, 28, 456, 28, 459, 28,
460, 0, 487, 488, 28, 461, 490, 491, 492, 28,
466, 28, 467, 0, 495, 496, 405, 0, 498, 499,
500, 28, 468, 28, 469, 505, 0, 507, 508, 363,
28, 511, 364, 28, 512, 28, 513, 0, 367, 28,
514, 457, 28, 515, 368, 28, 518, 517, 28, 519,
28, 520, 28, 306, 28, 522, 526, 28, 523, 28,
524, 527, 28, 525, 28, 528, 28, 529, 405, 377,
531, 532, 533, 534, 535, 376, 0, 538, 539, 540,
405, 542, 543, 544, 545, 28, 551, 548, 549, 28,
552, 28, 555, 0, 553, 28, 558, 383, 0, 559,
385, 28, 560, 28, 577, 28, 578, 388, 509, 405,
565, 566, 0, 405, 569, 405, 405, 572, 28, 579,
405, 405, 405, 393, 28, 580, 28, 585, 28, 586,
521, 28, 591, 28, 592, 0, 581, 582, 583, 0,
0, 0, 0, 587, 588, 589, 0, 0, 0, 0,
0, 594, 0, 404, 596, 0, 405, 406, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 550,
0, 0, 0, 554, 0, 0, 0, 556, 557, 0,
0, 414, 0, 561, 415, 0, 562, 563, 0, 0,
0, 0, 0, 0, 417, 0, 0, 0, 0, 0,
0, 0, 184, 187, 191, 193, 196, 198, 201, 204,
207, 210, 213, 216, 221, 223, 225, 227, 229, 231,
234, 237, 240, 243, 246, 249, 252, 255, 259, 262,
265, 268, 270, 274, 597, 277, 280, 283, 285, 294,
296, 298, 301, 305, 309, 312, 315, 318, 321, 324,
327, 330, 333, 336, 339, 341, 343, 346, 349, 352,
354, 357, 0, 359, 0, 0, 0, 0, 0, 0,
0, 0, 471, 0, 472, 0, 0, 474, 0, 0,
0, 0, 0, 0, 0, 0, 481, 482, 483, 484,
485, 486, 0, 0, 0, 489, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 497, 0, 0,
0, 0, 501, 502, 503, 504, 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, 530,
0, 0, 0, 0, 0, 0, 536, 537, 0, 0,
0, 541, 0, 0, 0, 0, 546, 547, 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, 408, 0, 0, 409, 410, 0, 0,
0, 412, 0, 0, 414, 0, 0, 415, 0, 0,
416, 0, 0, 417, 0, 0, 418, 0, 0, 419,
0, 0, 420, 0, 0, 519, 0, 0, 0, 0,
0, 423, 0, 0, 0, 0, 0, 0, 412, 0,
0, 425, 0, 0, 426, 0, 0, 0, 531, 427,
432, 434, 0, 0, 0, 0, 0, 0, 0, 0,
431, 0, 0, 0, 0, 0, 0, 0, 438, 0,
0, 0, 0, 0, 0, 0, 0, 446, 447, 448,
0, 0, 0, 450, 0, 0, 452, 560, 454, 0,
0, 564, 0, 0, 0, 566, 567, 0, 0, 0,
0, 571, 0, 0, 572, 573, 0, 0, 0, 0,
474, 482, 0, 0, 0, 0, 0, 0, 479, 455,
0, 0, 0, 0, 0, 483, 485, 486, 487, 488,
489, 0, 0, 490, 0, 0, 0, 471, 472, 473,
0, 497, 498, 0, 0, 500, 501, 502, 0, 0,
0, 0, 607, 505, 506, 412, 0, 508, 509, 510,
0, 0, 0, 0, 515, 0, 517, 518, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
564, 0, 0, 567, 568, 0, 570, 571, 0, 0, 0, 0, 0, 0, 0, 0, 0, 527, 0, 0,
573, 574, 575, 576, 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, 590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 36,
0, 593, 0, 0, 0, 0, 0, 598, 39, 40, 541, 542, 543, 544, 545, 383, 102, 548, 549, 550,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 412, 552, 553, 554, 555, 0, 0, 558, 559, 0,
51, 52, 53, 54, 55, 56, 57, 0, 58, 59, 536, 0, 0, 0, 563, 537, 0, 0, 0, 0,
60, 61, 62, 63, 64, 65, 66, 0, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412,
0, 0, 0, 68, 69, 0, 70, 0, 0, 71, 575, 576, 0, 412, 579, 412, 412, 582, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 412, 412, 0, 0, 0, 0, 0, 0, 0,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 0, 0, 0, 569, 0, 0, 591, 592, 593, 0,
82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 0, 0, 0, 597, 598, 599, 0, 0, 0, 0,
92, 93, 94, 95, 96, 97, 98, 0, 0, 0, 0, 604, 0, 0, 606, 0, 412, 189, 0, 0,
0, 99, 0, 0, 0, 0, 0, 100 0, 0, 0, 207, 0, 213, 216, 219, 223, 0,
0, 0, 0, 0, 0, 240, 0, 0, 249, 252,
255, 258, 261, 265, 268, 271, 0, 0, 0, 280,
283, 286, 213, 293, 207, 0, 304, 307, 311, 315,
318, 321, 324, 327, 330, 333, 336, 339, 342, 280,
207, 311, 352, 355, 0, 360, 41, 42, 43, 44,
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 0, 60, 61, 62, 63,
64, 65, 66, 67, 68, 0, 69, 0, 0, 0,
0, 70, 71, 0, 72, 0, 0, 73, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 8,
9, 0, 0, 0, 0, 0, 101, 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, 108, 109,
0, 0, 188, 191, 196, 198, 201, 203, 206, 209,
212, 215, 218, 221, 226, 228, 230, 232, 234, 236,
239, 242, 245, 248, 251, 254, 257, 260, 264, 267,
270, 273, 275, 279, 145, 282, 285, 288, 290, 299,
301, 303, 306, 310, 314, 317, 320, 323, 326, 329,
332, 335, 338, 341, 344, 346, 348, 351, 354, 357,
359, 362, 363, 0, 0, 0, 0, 0, 0, 429,
0, 0, 0, 0, 0, 0, 0, 0, 0, 435,
437, 0, 439, 440, 441, 442, 443, 0, 444, 445,
0, 0, 0, 0, 449, 0, 0, 451, 0, 0,
453, 0, 0, 0, 456, 457, 458, 0, 461, 0,
293, 464, 465, 311, 0, 467, 0, 468, 469, 470,
0, 0, 0, 0, 0, 0, 475, 0, 476, 477,
478, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 368, 0, 0, 369, 0, 0,
0, 0, 0, 0, 374, 0, 0, 0, 0, 0,
375, 0, 0, 461, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 311, 0, 0, 384, 520, 0, 521, 522,
523, 524, 525, 223, 0, 0, 0, 0, 0, 0,
0, 528, 0, 529, 530, 311, 0, 0, 532, 533,
0, 534, 535, 390, 0, 0, 392, 0, 0, 0,
538, 539, 0, 395, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 400,
0, 0, 0, 0, 311, 561, 562, 0, 311, 0,
0, 565, 311, 311, 0, 568, 0, 570, 311, 0,
0, 311, 311, 0, 0, 0, 0, 0, 0, 411,
0, 0, 0, 413, 0, 0, 0, 0, 587, 588,
0, 0, 589, 0, 0, 590, 0, 0, 0, 0,
0, 0, 0, 0, 595, 596, 0, 421, 0, 0,
422, 601, 602, 0, 0, 0, 0, 293, 0, 311,
424, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
480, 0, 481, 0, 0, 0, 0, 484, 0, 0,
0, 0, 0, 0, 0, 0, 491, 492, 493, 494,
495, 496, 0, 0, 0, 499, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 507, 0, 0,
0, 0, 511, 512, 513, 514, 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,
540, 0, 0, 0, 0, 0, 0, 546, 547, 0,
0, 0, 551, 0, 0, 0, 0, 556, 557, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 574, 0, 0, 577, 578, 0, 580, 581, 0,
0, 583, 584, 585, 586, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 600, 0,
0, 0, 603, 0, 0, 0, 0, 0, 608
}; };
static const yytype_int16 yycheck[] = static const yytype_int16 yycheck[] =
{ {
1, 1, 452, 4, 5, 150, 84, 85, 86, 114, 1, 1, 461, 4, 5, 85, 152, 85, 85, 84,
149, 116, 85, 91, 1, 93, 89, 467, 19, 124, 151, 91, 85, 86, 87, 92, 89, 476, 1, 92,
125, 126, 127, 128, 169, 85, 165, 84, 29, 30, 21, 94, 95, 84, 168, 171, 167, 85, 86, 87,
85, 85, 86, 93, 85, 90, 141, 91, 39, 40, 31, 32, 87, 85, 92, 94, 94, 95, 90, 94,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
91, 92, 93, 94, 95, 96, 97, 98, 85, 100, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
84, 85, 86, 84, 85, 86, 110, 108, 109, 0, 101, 85, 85, 115, 84, 84, 85, 86, 87, 110,
1, 115, 85, 86, 86, 88, 88, 117, 91, 119, 111, 84, 85, 0, 1, 94, 84, 85, 1, 119,
93, 94, 85, 86, 84, 129, 85, 86, 91, 88, 94, 121, 84, 85, 84, 116, 94, 118, 85, 86,
580, 131, 132, 85, 93, 94, 85, 86, 142, 84, 87, 590, 94, 133, 134, 126, 127, 128, 129, 130,
85, 86, 91, 93, 93, 94, 85, 86, 93, 84, 152, 85, 86, 87, 94, 89, 87, 117, 84, 85,
85, 84, 85, 85, 93, 94, 84, 85, 93, 91, 94, 95, 143, 27, 84, 85, 86, 87, 94, 171,
93, 84, 85, 84, 85, 93, 85, 86, 85, 86, 35, 131, 92, 27, 94, 84, 85, 86, 87, 84,
93, 1, 91, 84, 93, 93, 177, 85, 86, 93, 85, 86, 87, 604, 144, 94, 85, 86, 87, 180,
85, 86, 84, 91, 185, 93, 25, 188, 93, 89, 192, 407, 85, 86, 87, 94, 95, 490, 189, 92,
90, 82, 83, 84, 85, 86, 87, 88, 199, 85, 460, 94, 193, 90, 91, 82, 83, 84, 85, 86,
86, 202, 93, 94, 205, 91, 86, 208, 85, 86, 87, 88, 89, 204, 84, 85, 207, 94, 95, 210,
211, 85, 86, 214, 85, 86, 93, 91, 219, 86, 86, 87, 213, 89, 166, 216, 84, 85, 219, 85,
91, 85, 86, 85, 86, 84, 85, 91, 86, 91, 86, 87, 149, 224, 84, 85, 92, -1, 94, 86,
86, 232, 85, 86, 235, 85, 86, 238, 91, 33, 87, 85, 86, 87, -1, -1, 237, -1, 92, 240,
241, 91, 25, 244, 166, 85, 86, 85, 86, 250, 94, -1, 243, -1, -1, 246, -1, -1, 249, 85,
594, 91, 253, 91, 85, 86, 400, 85, 86, 260, 86, 87, -1, -1, 255, -1, -1, 258, 94, 85,
91, 480, 263, 91, 451, 266, 164, 85, 86, 85, 86, 87, -1, -1, 265, -1, 410, 268, 94, -1,
86, 147, 273, 91, 275, 91, -1, 278, 85, 86, 271, 85, 86, 87, 84, 85, 86, 278, 92, 280,
281, 85, 86, -1, 91, 85, 86, 91, 85, 86, -1, -1, 283, -1, -1, 286, 84, 85, 86, 87,
-1, 91, 84, 85, 91, 84, 85, 86, 299, 85,
86, 302, 303, 84, 85, 91, 307, 85, 86, 310,
85, 86, 313, 91, -1, 316, 91, -1, 319, 85,
86, 322, 85, 86, 325, 35, 36, 328, 91, 85,
86, 85, 86, 85, 86, 91, 337, 91, -1, 91,
-1, 85, 86, 344, 85, 86, 347, 91, -1, 350,
91, 85, 86, -1, 355, 85, 86, 91, 85, 86,
-1, 71, 366, -1, 91, 365, 85, 86, 85, 86,
-1, 371, 91, -1, 91, -1, -1, 85, 86, -1,
380, 381, 382, 91, 85, 86, 386, -1, 392, 389,
-1, 391, 84, 85, 86, 84, 85, 86, 84, 85,
86, 85, 86, 85, 86, -1, 410, 411, 412, 85,
86, 85, 86, 413, 85, 86, 85, 86, 85, 86,
-1, 422, 85, 86, 85, 86, 427, 428, 429, 430,
431, 432, 85, 86, 435, 85, 86, 85, 86, 85,
86, -1, 443, 444, 85, 86, 447, 448, 449, 85,
86, 85, 86, -1, 455, 456, 457, -1, 459, 460,
461, 85, 86, 85, 86, 466, -1, 468, 469, 179,
85, 86, 182, 85, 86, 85, 86, -1, 188, 85,
86, 403, 85, 86, 194, 85, 86, 487, 85, 86,
85, 86, 85, 86, 85, 86, 500, 85, 86, 85,
86, 505, 85, 86, 85, 86, 85, 86, 509, 219,
511, 512, 513, 514, 515, 516, -1, 518, 519, 520,
521, 522, 523, 524, 525, 85, 86, 528, 529, 85,
86, 85, 86, -1, 534, 85, 86, 247, -1, 543,
250, 85, 86, 85, 86, 85, 86, 257, 470, 550,
551, 552, -1, 554, 555, 556, 557, 558, 85, 86,
561, 562, 563, 273, 85, 86, 85, 86, 85, 86,
492, 85, 86, 85, 86, -1, 577, 578, 579, -1,
-1, -1, -1, 583, 585, 586, -1, -1, -1, -1,
-1, 592, -1, 303, 595, -1, 597, 307, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 531,
-1, -1, -1, 535, -1, -1, -1, 539, 540, -1,
-1, 331, -1, 545, 334, -1, 548, 549, -1, -1,
-1, -1, -1, -1, 344, -1, -1, -1, -1, -1,
-1, -1, 111, 112, 113, 114, 115, 116, 117, 118,
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
139, 140, 141, 142, 596, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
169, 170, -1, 172, -1, -1, -1, -1, -1, -1,
-1, -1, 422, -1, 424, -1, -1, 427, -1, -1,
-1, -1, -1, -1, -1, -1, 436, 437, 438, 439,
440, 441, -1, -1, -1, 445, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 457, -1, -1,
-1, -1, 462, 463, 464, 465, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 304, -1, -1, 307, 308, -1, -1,
-1, 312, -1, -1, 315, -1, -1, 318, -1, -1,
321, -1, -1, 324, -1, -1, 327, -1, -1, 330,
-1, -1, 333, -1, -1, 479, -1, -1, -1, -1,
-1, 342, -1, -1, -1, -1, -1, -1, 349, -1,
-1, 352, -1, -1, 355, -1, -1, -1, 502, 360,
372, 373, -1, -1, -1, -1, -1, -1, -1, -1,
370, -1, -1, -1, -1, -1, -1, -1, 378, -1,
-1, -1, -1, -1, -1, -1, -1, 387, 388, 389,
-1, -1, -1, 393, -1, -1, 396, 541, 398, -1,
-1, 545, -1, -1, -1, 549, 550, -1, -1, -1,
-1, 555, -1, -1, 558, 559, -1, -1, -1, -1,
420, 433, -1, -1, -1, -1, -1, -1, 429, 399,
-1, -1, -1, -1, -1, 436, 437, 438, 439, 440,
441, -1, -1, 444, -1, -1, -1, 417, 418, 419,
-1, 452, 453, -1, -1, 456, 457, 458, -1, -1,
-1, -1, 606, 464, 465, 466, -1, 468, 469, 470,
-1, -1, -1, -1, 475, -1, 477, 478, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 497, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 509, -1, -1, -1, -1, -1, -1, -1, -1, 519, 26,
-1, -1, -1, -1, -1, -1, 516, 517, -1, -1, 521, 522, 523, 524, 525, 526, 33, 528, 529, 530,
-1, 521, -1, -1, -1, -1, 526, 527, -1, -1, 531, 532, 533, 534, 535, -1, -1, 538, 539, -1,
510, -1, -1, -1, 544, 515, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 560,
561, 562, -1, 564, 565, 566, 567, 568, -1, -1,
571, 572, 573, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 553, -1, -1, 587, 588, 589, -1,
-1, -1, -1, 593, 595, 596, -1, -1, -1, -1,
-1, 602, -1, -1, 605, -1, 607, 114, -1, -1,
-1, -1, -1, 120, -1, 122, 123, 124, 125, -1,
-1, -1, -1, -1, -1, 132, -1, -1, 135, 136,
137, 138, 139, 140, 141, 142, -1, -1, -1, 146,
147, 148, 149, 150, 151, -1, 153, 154, 155, 156,
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
167, 168, 169, 170, -1, 172, 3, 4, 5, 6,
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, -1, 23, 24, 25, 26,
27, 28, 29, 30, 31, -1, 33, -1, -1, -1,
-1, 38, 39, -1, 41, -1, -1, 44, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 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, -1, -1, -1, -1, 86,
87, -1, -1, -1, -1, -1, 93, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
550, -1, -1, 553, 554, -1, 556, 557, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38,
560, 561, 562, 563, -1, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120,
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, 73, 146, 147, 148, 149, 150,
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
171, 172, 173, -1, -1, -1, -1, -1, -1, 366,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 376,
377, -1, 379, 380, 381, 382, 383, -1, 385, 386,
-1, -1, -1, -1, 391, -1, -1, 394, -1, -1,
397, -1, -1, -1, 401, 402, 403, -1, 405, -1,
407, 408, 409, 410, -1, 412, -1, 414, 415, 416,
-1, -1, -1, -1, -1, -1, 423, -1, 425, 426,
427, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, 183, -1, -1, 186, -1, -1,
-1, -1, -1, -1, 193, -1, -1, -1, -1, -1,
199, -1, -1, 460, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 587, -1, -1, -1, -1, 479, -1, -1, 224, 483, -1, 485, 486,
-1, 591, -1, -1, -1, -1, -1, 597, 3, 4, 487, 488, 489, 490, -1, -1, -1, -1, -1, -1,
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, 498, -1, 500, 501, 502, -1, -1, 505, 506,
15, 16, 17, 18, 19, 20, 21, -1, 23, 24, -1, 508, 509, 252, -1, -1, 255, -1, -1, -1,
25, 26, 27, 28, 29, 30, 31, -1, 33, -1, 517, 518, -1, 262, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 38, 39, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, 278,
-1, -1, -1, -1, 541, 542, 543, -1, 545, -1,
-1, 548, 549, 550, -1, 552, -1, 554, 555, -1,
-1, 558, 559, -1, -1, -1, -1, -1, -1, 308,
-1, -1, -1, 312, -1, -1, -1, -1, 575, 576,
-1, -1, 579, -1, -1, 582, -1, -1, -1, -1,
-1, -1, -1, -1, 591, 592, -1, 336, -1, -1,
339, 598, 599, -1, -1, -1, -1, 604, -1, 606,
349, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
55, 56, 57, 58, 59, 60, 61, 62, 63, 64, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
75, 76, 77, 78, 79, 80, 81, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 86, -1, -1, -1, -1, -1, 92 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
429, -1, 431, -1, -1, -1, -1, 436, -1, -1,
-1, -1, -1, -1, -1, -1, 445, 446, 447, 448,
449, 450, -1, -1, -1, 454, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, 466, -1, -1,
-1, -1, 471, 472, 473, 474, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
519, -1, -1, -1, -1, -1, -1, 526, 527, -1,
-1, -1, 531, -1, -1, -1, -1, 536, 537, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 560, -1, -1, 563, 564, -1, 566, 567, -1,
-1, 570, 571, 572, 573, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, 597, -1,
-1, -1, 601, -1, -1, -1, -1, -1, 607
}; };
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
symbol of state STATE-NUM. */ symbol of state STATE-NUM. */
static const yytype_uint8 yystos[] = static const yytype_uint8 yystos[] =
{ {
0, 96, 0, 1, 82, 83, 84, 85, 86, 87, 0, 97, 0, 1, 82, 83, 84, 85, 86, 87,
88, 93, 94, 97, 98, 100, 101, 102, 103, 105, 88, 89, 94, 95, 98, 99, 100, 102, 103, 104,
106, 107, 108, 84, 98, 98, 84, 84, 85, 89, 105, 107, 108, 109, 110, 84, 99, 99, 84, 84,
90, 104, 98, 93, 86, 106, 108, 98, 98, 3, 85, 90, 91, 106, 99, 94, 100, 108, 110, 99,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 99, 3, 4, 5, 6, 7, 8, 9, 10, 11,
14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
25, 26, 27, 28, 29, 30, 31, 33, 38, 39, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33,
41, 44, 55, 56, 57, 58, 59, 60, 61, 62, 38, 39, 41, 44, 55, 56, 57, 58, 59, 60,
63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
92, 121, 107, 84, 98, 99, 99, 99, 90, 89, 81, 93, 100, 124, 109, 84, 99, 101, 101, 101,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 91, 90, 99, 99, 99, 99, 99, 99, 99, 99,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
98, 98, 98, 99, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 101, 99, 99, 99, 99,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
98, 1, 98, 84, 98, 98, 86, 91, 93, 120, 99, 99, 99, 99, 1, 84, 99, 99, 86, 87,
122, 170, 105, 123, 170, 86, 128, 170, 113, 120, 92, 94, 122, 123, 125, 173, 107, 126, 173, 100,
129, 170, 123, 170, 120, 137, 170, 123, 170, 105, 131, 173, 86, 115, 122, 132, 173, 126, 173, 123,
139, 170, 86, 156, 170, 105, 124, 170, 86, 150, 140, 173, 126, 173, 107, 142, 173, 100, 159, 173,
170, 86, 140, 170, 86, 143, 170, 86, 93, 114, 107, 127, 173, 100, 153, 173, 100, 143, 173, 100,
138, 170, 123, 170, 123, 170, 123, 170, 123, 170, 146, 173, 94, 100, 116, 141, 173, 126, 173, 126,
123, 170, 120, 125, 170, 86, 126, 170, 105, 127, 173, 126, 173, 126, 173, 126, 173, 123, 128, 173,
170, 105, 130, 170, 86, 131, 170, 86, 132, 170, 100, 129, 173, 107, 130, 173, 107, 133, 173, 100,
86, 133, 170, 86, 134, 170, 86, 119, 135, 170, 134, 173, 100, 135, 173, 100, 136, 173, 100, 137,
86, 136, 170, 86, 141, 170, 86, 142, 170, 123, 173, 100, 121, 138, 173, 100, 139, 173, 100, 144,
170, 120, 144, 145, 170, 86, 146, 170, 86, 147, 173, 100, 145, 173, 126, 173, 123, 147, 148, 173,
170, 86, 148, 170, 150, 170, 86, 93, 94, 109, 100, 149, 173, 100, 150, 173, 100, 151, 173, 153,
110, 111, 112, 151, 170, 156, 170, 129, 170, 86, 173, 94, 95, 100, 111, 112, 113, 114, 154, 173,
152, 170, 86, 157, 158, 170, 86, 118, 149, 170, 159, 173, 132, 173, 100, 155, 173, 100, 160, 161,
86, 153, 170, 86, 154, 170, 86, 165, 170, 86, 173, 100, 120, 152, 173, 100, 156, 173, 100, 157,
159, 170, 86, 160, 170, 86, 161, 170, 86, 162, 173, 100, 168, 173, 100, 162, 173, 100, 163, 173,
170, 86, 163, 170, 86, 164, 170, 86, 166, 170, 100, 164, 173, 100, 165, 173, 100, 166, 173, 100,
146, 170, 156, 170, 118, 167, 170, 86, 168, 170, 167, 173, 100, 169, 173, 149, 173, 159, 173, 120,
86, 169, 170, 129, 170, 86, 155, 170, 84, 170, 170, 173, 100, 171, 173, 100, 172, 173, 132, 173,
1, 98, 93, 99, 99, 98, 98, 99, 99, 98, 100, 158, 173, 173, 84, 1, 99, 94, 101, 101,
98, 98, 98, 98, 98, 93, 98, 99, 98, 98, 99, 122, 86, 99, 101, 101, 99, 99, 99, 99,
98, 98, 98, 99, 98, 99, 98, 93, 99, 98, 99, 99, 94, 99, 101, 99, 99, 99, 99, 99,
98, 98, 98, 99, 98, 98, 98, 84, 85, 117, 101, 99, 101, 99, 94, 101, 99, 99, 99, 99,
93, 98, 98, 98, 99, 98, 99, 98, 98, 98, 101, 99, 99, 99, 84, 85, 119, 94, 99, 99,
98, 98, 98, 98, 99, 99, 98, 99, 98, 98, 99, 101, 99, 101, 99, 99, 99, 99, 99, 99,
98, 84, 86, 86, 105, 120, 86, 115, 86, 105, 99, 101, 101, 99, 101, 99, 99, 99, 84, 100,
86, 86, 86, 86, 86, 86, 86, 105, 105, 105, 87, 107, 122, 86, 122, 100, 117, 100, 107, 100,
86, 105, 86, 105, 86, 105, 120, 86, 86, 86, 100, 100, 100, 100, 100, 100, 107, 107, 107, 100,
84, 85, 86, 116, 111, 86, 86, 118, 86, 86, 107, 100, 107, 100, 107, 123, 100, 100, 100, 84,
86, 86, 120, 120, 120, 105, 86, 86, 86, 86, 85, 100, 118, 113, 100, 100, 120, 100, 100, 100,
98, 99, 99, 98, 99, 98, 98, 98, 98, 98, 100, 123, 123, 123, 107, 100, 100, 100, 100, 99,
98, 99, 99, 99, 99, 99, 99, 98, 98, 99, 101, 101, 122, 99, 101, 99, 99, 99, 99, 99,
98, 98, 98, 116, 117, 98, 98, 99, 98, 98, 99, 101, 101, 101, 101, 101, 101, 99, 99, 101,
98, 99, 99, 99, 99, 98, 117, 98, 98, 118, 99, 99, 99, 118, 119, 99, 99, 101, 99, 99,
86, 86, 86, 86, 86, 86, 114, 105, 86, 86, 99, 101, 101, 101, 101, 99, 119, 99, 99, 120,
86, 118, 86, 86, 86, 86, 120, 120, 86, 86, 100, 100, 100, 100, 100, 100, 116, 107, 100, 100,
99, 98, 98, 98, 98, 98, 99, 99, 98, 98, 100, 120, 100, 100, 100, 100, 123, 123, 100, 100,
98, 99, 98, 98, 98, 98, 99, 99, 98, 98, 101, 99, 99, 99, 99, 99, 101, 101, 99, 99,
118, 86, 86, 105, 118, 86, 118, 118, 86, 120, 99, 101, 99, 99, 99, 99, 101, 101, 99, 99,
86, 118, 118, 118, 99, 98, 98, 99, 99, 98, 120, 100, 100, 107, 120, 100, 120, 120, 100, 123,
99, 99, 98, 99, 99, 99, 99, 86, 86, 86, 100, 120, 120, 120, 101, 99, 99, 101, 101, 99,
86, 98, 98, 98, 117, 86, 86, 105, 98, 98, 101, 101, 99, 101, 101, 101, 101, 100, 100, 100,
99, 86, 86, 99, 98, 109, 98, 118, 99 100, 99, 99, 99, 119, 100, 100, 107, 99, 99,
101, 100, 100, 101, 99, 111, 99, 120, 101
}; };
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const yytype_uint8 yyr1[] = static const yytype_uint8 yyr1[] =
{ {
0, 95, 96, 96, 97, 97, 97, 97, 97, 97, 0, 96, 97, 97, 98, 98, 98, 98, 98, 98,
97, 98, 98, 99, 99, 100, 101, 101, 102, 103, 98, 99, 99, 100, 100, 101, 101, 102, 103, 103,
103, 104, 104, 104, 104, 104, 105, 105, 106, 106, 104, 105, 105, 106, 106, 106, 106, 106, 107, 107,
106, 107, 107, 108, 108, 109, 109, 110, 110, 110, 108, 108, 108, 109, 109, 110, 110, 111, 111, 112,
111, 112, 112, 113, 113, 114, 114, 114, 114, 115, 112, 112, 113, 114, 114, 115, 115, 115, 115, 115,
115, 116, 116, 116, 117, 117, 118, 118, 119, 119, 115, 115, 115, 116, 116, 116, 116, 117, 117, 118,
120, 120, 120, 120, 121, 121, 121, 121, 121, 121, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, 122, 123, 123, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
121, 121, 121, 121, 121, 121, 121, 122, 123, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
125, 126, 127, 128, 129, 130, 131, 132, 133, 133, 124, 124, 124, 124, 124, 124, 124, 125, 126, 127,
134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 128, 129, 130, 131, 132, 133, 134, 135, 136, 136,
144, 145, 145, 146, 147, 148, 149, 150, 151, 152, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
153, 154, 155, 156, 157, 158, 158, 159, 160, 161, 147, 148, 148, 149, 150, 151, 152, 153, 154, 155,
162, 163, 164, 165, 166, 167, 168, 169, 170, 170, 156, 157, 158, 159, 160, 161, 161, 162, 163, 164,
170 165, 166, 167, 168, 169, 170, 171, 172, 173, 173,
173
}; };
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
static const yytype_uint8 yyr2[] = static const yytype_int8 yyr2[] =
{ {
0, 2, 0, 2, 1, 2, 2, 1, 1, 1, 0, 2, 0, 2, 1, 2, 2, 1, 1, 1,
2, 1, 2, 1, 2, 4, 4, 4, 3, 2, 2, 1, 2, 1, 1, 1, 2, 4, 4, 4,
1, 0, 2, 2, 4, 4, 1, 1, 1, 1, 3, 2, 1, 0, 2, 2, 4, 4, 1, 1,
2, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1,
1, 1, 3, 1, 3, 1, 1, 3, 3, 1, 1, 2, 1, 1, 3, 1, 1, 2, 2, 3,
3, 2, 1, 2, 1, 2, 1, 3, 1, 3, 3, 3, 4, 1, 1, 3, 3, 1, 3, 2,
1, 1, 2, 3, 3, 3, 3, 3, 3, 3, 1, 2, 1, 2, 1, 3, 1, 3, 1, 1,
2, 3, 1, 1, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 2, 2, 14, 3, 3, 3, 3, 3, 3, 3, 2, 2, 14,
6, 4, 4, 4, 2, 4, 4, 2, 2, 4, 6, 4, 4, 4, 2, 4, 4, 2, 2, 4,
4, 2, 6, 2, 2, 4, 8, 12, 4, 8, 4, 2, 6, 2, 2, 4, 8, 12, 4, 8,
2, 1, 3, 8, 8, 6, 2, 18, 2, 10, 2, 1, 3, 8, 8, 6, 2, 18, 2, 10,
8, 8, 8, 8, 7, 4, 2, 4, 4, 4, 8, 8, 8, 8, 7, 4, 2, 4, 4, 4,
4, 2, 2, 6, 6, 2, 4, 8, 6, 4, 4, 2, 2, 6, 6, 2, 4, 8, 6, 4,
3 3
}; };
enum { YYENOMEM = -2 };
#define yyerrok (yyerrstatus = 0) #define yyerrok (yyerrstatus = 0)
#define yyclearin (yychar = YYEMPTY) #define yyclearin (yychar = YYEMPTY)
#define YYEMPTY (-2)
#define YYEOF 0
#define YYACCEPT goto yyacceptlab #define YYACCEPT goto yyacceptlab
#define YYABORT goto yyabortlab #define YYABORT goto yyabortlab
#define YYERROR goto yyerrorlab #define YYERROR goto yyerrorlab
#define YYRECOVERING() (!!yyerrstatus) #define YYRECOVERING() (!!yyerrstatus)
#define YYBACKUP(Token, Value) \ #define YYBACKUP(Token, Value) \
do \ do \
if (yychar == YYEMPTY) \ if (yychar == YYEMPTY) \
skipping to change at line 1275 skipping to change at line 1633
yystate = *yyssp; \ yystate = *yyssp; \
goto yybackup; \ goto yybackup; \
} \ } \
else \ else \
{ \ { \
yyerror (YY_("syntax error: cannot back up")); \ yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \ YYERROR; \
} \ } \
while (0) while (0)
/* Error token number */ /* Backward compatibility with an undocumented macro.
#define YYTERROR 1 Use YYerror or YYUNDEF. */
#define YYERRCODE 256 #define YYERRCODE YYUNDEF
/* Enable debugging if requested. */ /* Enable debugging if requested. */
#if YYDEBUG #if YYDEBUG
# ifndef YYFPRINTF # ifndef YYFPRINTF
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
# define YYFPRINTF fprintf # define YYFPRINTF fprintf
# endif # endif
# define YYDPRINTF(Args) \ # define YYDPRINTF(Args) \
do { \ do { \
if (yydebug) \ if (yydebug) \
YYFPRINTF Args; \ YYFPRINTF Args; \
} while (0) } while (0)
/* This macro is provided for backward compatibility. */ /* This macro is provided for backward compatibility. */
#ifndef YY_LOCATION_PRINT # ifndef YY_LOCATION_PRINT
# define YY_LOCATION_PRINT(File, Loc) ((void) 0) # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
#endif # endif
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ # define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
do { \ do { \
if (yydebug) \ if (yydebug) \
{ \ { \
YYFPRINTF (stderr, "%s ", Title); \ YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \ yy_symbol_print (stderr, \
Type, Value); \ Kind, Value); \
YYFPRINTF (stderr, "\n"); \ YYFPRINTF (stderr, "\n"); \
} \ } \
} while (0) } while (0)
/*-----------------------------------. /*-----------------------------------.
| Print this symbol's value on YYO. | | Print this symbol's value on YYO. |
`-----------------------------------*/ `-----------------------------------*/
static void static void
yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) yy_symbol_value_print (FILE *yyo,
yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep)
{ {
FILE *yyoutput = yyo; FILE *yyoutput = yyo;
YYUSE (yyoutput); YYUSE (yyoutput);
if (!yyvaluep) if (!yyvaluep)
return; return;
# ifdef YYPRINT # ifdef YYPRINT
if (yytype < YYNTOKENS) if (yykind < YYNTOKENS)
YYPRINT (yyo, yytoknum[yytype], *yyvaluep); YYPRINT (yyo, yytoknum[yykind], *yyvaluep);
# endif # endif
YYUSE (yytype); YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
YYUSE (yykind);
YY_IGNORE_MAYBE_UNINITIALIZED_END
} }
/*---------------------------. /*---------------------------.
| Print this symbol on YYO. | | Print this symbol on YYO. |
`---------------------------*/ `---------------------------*/
static void static void
yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep) yy_symbol_print (FILE *yyo,
yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep)
{ {
YYFPRINTF (yyo, "%s %s (", YYFPRINTF (yyo, "%s %s (",
yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind));
yy_symbol_value_print (yyo, yytype, yyvaluep); yy_symbol_value_print (yyo, yykind, yyvaluep);
YYFPRINTF (yyo, ")"); YYFPRINTF (yyo, ")");
} }
/*------------------------------------------------------------------. /*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its | | yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included). | | TOP (included). |
`------------------------------------------------------------------*/ `------------------------------------------------------------------*/
static void static void
yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)
{ {
YYFPRINTF (stderr, "Stack now"); YYFPRINTF (stderr, "Stack now");
for (; yybottom <= yytop; yybottom++) for (; yybottom <= yytop; yybottom++)
{ {
int yybot = *yybottom; int yybot = *yybottom;
YYFPRINTF (stderr, " %d", yybot); YYFPRINTF (stderr, " %d", yybot);
} }
YYFPRINTF (stderr, "\n"); YYFPRINTF (stderr, "\n");
} }
skipping to change at line 1369 skipping to change at line 1731
do { \ do { \
if (yydebug) \ if (yydebug) \
yy_stack_print ((Bottom), (Top)); \ yy_stack_print ((Bottom), (Top)); \
} while (0) } while (0)
/*------------------------------------------------. /*------------------------------------------------.
| Report that the YYRULE is going to be reduced. | | Report that the YYRULE is going to be reduced. |
`------------------------------------------------*/ `------------------------------------------------*/
static void static void
yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp,
int yyrule)
{ {
unsigned long yylno = yyrline[yyrule]; int yylno = yyrline[yyrule];
int yynrhs = yyr2[yyrule]; int yynrhs = yyr2[yyrule];
int yyi; int yyi;
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n",
yyrule - 1, yylno); yyrule - 1, yylno);
/* The symbols being reduced. */ /* The symbols being reduced. */
for (yyi = 0; yyi < yynrhs; yyi++) for (yyi = 0; yyi < yynrhs; yyi++)
{ {
YYFPRINTF (stderr, " $%d = ", yyi + 1); YYFPRINTF (stderr, " $%d = ", yyi + 1);
yy_symbol_print (stderr, yy_symbol_print (stderr,
yystos[yyssp[yyi + 1 - yynrhs]], YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]),
&yyvsp[(yyi + 1) - (yynrhs)] &yyvsp[(yyi + 1) - (yynrhs)]);
);
YYFPRINTF (stderr, "\n"); YYFPRINTF (stderr, "\n");
} }
} }
# define YY_REDUCE_PRINT(Rule) \ # define YY_REDUCE_PRINT(Rule) \
do { \ do { \
if (yydebug) \ if (yydebug) \
yy_reduce_print (yyssp, yyvsp, Rule); \ yy_reduce_print (yyssp, yyvsp, Rule); \
} while (0) } while (0)
/* Nonzero means print parse trace. It is left uninitialized so that /* Nonzero means print parse trace. It is left uninitialized so that
multiple parsers can coexist. */ multiple parsers can coexist. */
int yydebug; int yydebug;
#else /* !YYDEBUG */ #else /* !YYDEBUG */
# define YYDPRINTF(Args) # define YYDPRINTF(Args) ((void) 0)
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) # define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
# define YY_STACK_PRINT(Bottom, Top) # define YY_STACK_PRINT(Bottom, Top)
# define YY_REDUCE_PRINT(Rule) # define YY_REDUCE_PRINT(Rule)
#endif /* !YYDEBUG */ #endif /* !YYDEBUG */
/* YYINITDEPTH -- initial size of the parser's stacks. */ /* YYINITDEPTH -- initial size of the parser's stacks. */
#ifndef YYINITDEPTH #ifndef YYINITDEPTH
# define YYINITDEPTH 200 # define YYINITDEPTH 200
#endif #endif
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
if the built-in stack extension method is used). if the built-in stack extension method is used).
Do not make this value too large; the results are undefined if Do not make this value too large; the results are undefined if
YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
evaluated with infinite-precision integer arithmetic. */ evaluated with infinite-precision integer arithmetic. */
#ifndef YYMAXDEPTH #ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000 # define YYMAXDEPTH 10000
#endif #endif
#if YYERROR_VERBOSE
# ifndef yystrlen
# if defined __GLIBC__ && defined _STRING_H
# define yystrlen strlen
# else
/* Return the length of YYSTR. */
static YYSIZE_T
yystrlen (const char *yystr)
{
YYSIZE_T yylen;
for (yylen = 0; yystr[yylen]; yylen++)
continue;
return yylen;
}
# endif
# endif
# ifndef yystpcpy
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
# define yystpcpy stpcpy
# else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
YYDEST. */
static char *
yystpcpy (char *yydest, const char *yysrc)
{
char *yyd = yydest;
const char *yys = yysrc;
while ((*yyd++ = *yys++) != '\0')
continue;
return yyd - 1;
}
# endif
# endif
# ifndef yytnamerr
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
quotes and backslashes, so that it's suitable for yyerror. The
heuristic is that double-quoting is unnecessary unless the string
contains an apostrophe, a comma, or backslash (other than
backslash-backslash). YYSTR is taken from yytname. If YYRES is
null, do not copy; instead, return the length of what the result
would have been. */
static YYSIZE_T
yytnamerr (char *yyres, const char *yystr)
{
if (*yystr == '"')
{
YYSIZE_T yyn = 0;
char const *yyp = yystr;
for (;;)
switch (*++yyp)
{
case '\'':
case ',':
goto do_not_strip_quotes;
case '\\':
if (*++yyp != '\\')
goto do_not_strip_quotes;
else
goto append;
append:
default:
if (yyres)
yyres[yyn] = *yyp;
yyn++;
break;
case '"':
if (yyres)
yyres[yyn] = '\0';
return yyn;
}
do_not_strip_quotes: ;
}
if (! yyres)
return yystrlen (yystr);
return (YYSIZE_T) (yystpcpy (yyres, yystr) - yyres);
}
# endif
/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
about the unexpected token YYTOKEN for the state stack whose top is
YYSSP.
Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
not large enough to hold the message. In that case, also set
*YYMSG_ALLOC to the required number of bytes. Return 2 if the
required number of bytes is too large to store. */
static int
yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
yytype_int16 *yyssp, int yytoken)
{
YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
YYSIZE_T yysize = yysize0;
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
/* Internationalized format string. */
const char *yyformat = YY_NULLPTR;
/* Arguments of yyformat. */
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
/* Number of reported tokens (one for the "unexpected", one per
"expected"). */
int yycount = 0;
/* There are many possibilities here to consider:
- If this state is a consistent state with a default action, then
the only way this function was invoked is if the default action
is an error action. In that case, don't check for expected
tokens because there are none.
- The only way there can be no lookahead present (in yychar) is if
this state is a consistent state with a default action. Thus,
detecting the absence of a lookahead is sufficient to determine
that there is no unexpected or expected token to report. In that
case, just report a simple "syntax error".
- Don't assume there isn't a lookahead just because this state is a
consistent state with a default action. There might have been a
previous inconsistent state, consistent state with a non-default
action, or user semantic action that manipulated yychar.
- Of course, the expected token list depends on states to have
correct lookahead information, and it depends on the parser not
to perform extra reductions after fetching a lookahead from the
scanner and before detecting a syntax error. Thus, state merging
(from LALR or IELR) and default reductions corrupt the expected
token list. However, the list is correct for canonical LR with
one exception: it will still contain any token that will not be
accepted due to an error action in a later state.
*/
if (yytoken != YYEMPTY)
{
int yyn = yypact[*yyssp];
yyarg[yycount++] = yytname[yytoken];
if (!yypact_value_is_default (yyn))
{
/* Start YYX at -YYN if negative to avoid negative indexes in
YYCHECK. In other words, skip the first -YYN actions for
this state because they are default actions. */
int yyxbegin = yyn < 0 ? -yyn : 0;
/* Stay within bounds of both yycheck and yytname. */
int yychecklim = YYLAST - yyn + 1;
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
int yyx;
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
&& !yytable_value_is_error (yytable[yyx + yyn]))
{
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
{
yycount = 1;
yysize = yysize0;
break;
}
yyarg[yycount++] = yytname[yyx];
{
YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx
]);
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
yysize = yysize1;
else
return 2;
}
}
}
}
switch (yycount)
{
# define YYCASE_(N, S) \
case N: \
yyformat = S; \
break
default: /* Avoid compiler warnings. */
YYCASE_(0, YY_("syntax error"));
YYCASE_(1, YY_("syntax error, unexpected %s"));
YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %
s"));
# undef YYCASE_
}
{
YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
yysize = yysize1;
else
return 2;
}
if (*yymsg_alloc < yysize)
{
*yymsg_alloc = 2 * yysize;
if (! (yysize <= *yymsg_alloc
&& *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
*yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
return 1;
}
/* Avoid sprintf, as that infringes on the user's name space.
Don't have undefined behavior even if the translation
produced a string with the wrong number of "%s"s. */
{
char *yyp = *yymsg;
int yyi = 0;
while ((*yyp = *yyformat) != '\0')
if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
{
yyp += yytnamerr (yyp, yyarg[yyi++]);
yyformat += 2;
}
else
{
yyp++;
yyformat++;
}
}
return 0;
}
#endif /* YYERROR_VERBOSE */
/*-----------------------------------------------. /*-----------------------------------------------.
| Release the memory associated to this symbol. | | Release the memory associated to this symbol. |
`-----------------------------------------------*/ `-----------------------------------------------*/
static void static void
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) yydestruct (const char *yymsg,
yysymbol_kind_t yykind, YYSTYPE *yyvaluep)
{ {
YYUSE (yyvaluep); YYUSE (yyvaluep);
if (!yymsg) if (!yymsg)
yymsg = "Deleting"; yymsg = "Deleting";
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
YYUSE (yytype); YYUSE (yykind);
YY_IGNORE_MAYBE_UNINITIALIZED_END YY_IGNORE_MAYBE_UNINITIALIZED_END
} }
/* The lookahead symbol. */ /* The lookahead symbol. */
int yychar; int yychar;
/* The semantic value of the lookahead symbol. */ /* The semantic value of the lookahead symbol. */
YYSTYPE yylval; YYSTYPE yylval;
/* Number of syntax errors so far. */ /* Number of syntax errors so far. */
int yynerrs; int yynerrs;
/*----------. /*----------.
| yyparse. | | yyparse. |
`----------*/ `----------*/
int int
yyparse (void) yyparse (void)
{ {
int yystate; yy_state_fast_t yystate;
/* Number of tokens to shift before error messages enabled. */ /* Number of tokens to shift before error messages enabled. */
int yyerrstatus; int yyerrstatus;
/* The stacks and their tools: /* The stacks and their tools:
'yyss': related to states. 'yyss': related to states.
'yyvs': related to semantic values. 'yyvs': related to semantic values.
Refer to the stacks through separate pointers, to allow yyoverflow Refer to the stacks through separate pointers, to allow yyoverflow
to reallocate them elsewhere. */ to reallocate them elsewhere. */
/* Their size. */
YYPTRDIFF_T yystacksize;
/* The state stack. */ /* The state stack. */
yytype_int16 yyssa[YYINITDEPTH]; yy_state_t yyssa[YYINITDEPTH];
yytype_int16 *yyss; yy_state_t *yyss;
yytype_int16 *yyssp; yy_state_t *yyssp;
/* The semantic value stack. */ /* The semantic value stack. */
YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE yyvsa[YYINITDEPTH];
YYSTYPE *yyvs; YYSTYPE *yyvs;
YYSTYPE *yyvsp; YYSTYPE *yyvsp;
YYSIZE_T yystacksize;
int yyn; int yyn;
/* The return value of yyparse. */
int yyresult; int yyresult;
/* Lookahead token as an internal (translated) token number. */ /* Lookahead token as an internal (translated) token number. */
int yytoken = 0; yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
/* The variables used to return semantic value and location from the /* The variables used to return semantic value and location from the
action routines. */ action routines. */
YYSTYPE yyval; YYSTYPE yyval;
#if YYERROR_VERBOSE
/* Buffer for error messages, and its allocated size. */
char yymsgbuf[128];
char *yymsg = yymsgbuf;
YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
#endif
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
/* The number of symbols on the RHS of the reduced rule. /* The number of symbols on the RHS of the reduced rule.
Keep to zero when no symbol should be popped. */ Keep to zero when no symbol should be popped. */
int yylen = 0; int yylen = 0;
yynerrs = 0;
yystate = 0;
yyerrstatus = 0;
yystacksize = YYINITDEPTH;
yyssp = yyss = yyssa; yyssp = yyss = yyssa;
yyvsp = yyvs = yyvsa; yyvsp = yyvs = yyvsa;
yystacksize = YYINITDEPTH;
YYDPRINTF ((stderr, "Starting parse\n")); YYDPRINTF ((stderr, "Starting parse\n"));
yystate = 0;
yyerrstatus = 0;
yynerrs = 0;
yychar = YYEMPTY; /* Cause a token to be read. */ yychar = YYEMPTY; /* Cause a token to be read. */
goto yysetstate; goto yysetstate;
/*------------------------------------------------------------. /*------------------------------------------------------------.
| yynewstate -- push a new state, which is found in yystate. | | yynewstate -- push a new state, which is found in yystate. |
`------------------------------------------------------------*/ `------------------------------------------------------------*/
yynewstate: yynewstate:
/* In all cases, when you get here, the value and location stacks /* In all cases, when you get here, the value and location stacks
have just been pushed. So pushing a state here evens the stacks. */ have just been pushed. So pushing a state here evens the stacks. */
yyssp++; yyssp++;
/*--------------------------------------------------------------------. /*--------------------------------------------------------------------.
| yynewstate -- set current state (the top of the stack) to yystate. | | yysetstate -- set current state (the top of the stack) to yystate. |
`--------------------------------------------------------------------*/ `--------------------------------------------------------------------*/
yysetstate: yysetstate:
YYDPRINTF ((stderr, "Entering state %d\n", yystate)); YYDPRINTF ((stderr, "Entering state %d\n", yystate));
YY_ASSERT (0 <= yystate && yystate < YYNSTATES); YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
*yyssp = (yytype_int16) yystate; YY_IGNORE_USELESS_CAST_BEGIN
*yyssp = YY_CAST (yy_state_t, yystate);
YY_IGNORE_USELESS_CAST_END
YY_STACK_PRINT (yyss, yyssp);
if (yyss + yystacksize - 1 <= yyssp) if (yyss + yystacksize - 1 <= yyssp)
#if !defined yyoverflow && !defined YYSTACK_RELOCATE #if !defined yyoverflow && !defined YYSTACK_RELOCATE
goto yyexhaustedlab; goto yyexhaustedlab;
#else #else
{ {
/* Get the current used size of the three stacks, in elements. */ /* Get the current used size of the three stacks, in elements. */
YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1); YYPTRDIFF_T yysize = yyssp - yyss + 1;
# if defined yyoverflow # if defined yyoverflow
{ {
/* Give user a chance to reallocate the stack. Use copies of /* Give user a chance to reallocate the stack. Use copies of
these so that the &'s don't force the real ones into these so that the &'s don't force the real ones into
memory. */ memory. */
yy_state_t *yyss1 = yyss;
YYSTYPE *yyvs1 = yyvs; YYSTYPE *yyvs1 = yyvs;
yytype_int16 *yyss1 = yyss;
/* Each stack pointer address is followed by the size of the /* Each stack pointer address is followed by the size of the
data in use in that stack, in bytes. This used to be a data in use in that stack, in bytes. This used to be a
conditional around just the two extra args, but that might conditional around just the two extra args, but that might
be undefined if yyoverflow is a macro. */ be undefined if yyoverflow is a macro. */
yyoverflow (YY_("memory exhausted"), yyoverflow (YY_("memory exhausted"),
&yyss1, yysize * sizeof (*yyssp), &yyss1, yysize * YYSIZEOF (*yyssp),
&yyvs1, yysize * sizeof (*yyvsp), &yyvs1, yysize * YYSIZEOF (*yyvsp),
&yystacksize); &yystacksize);
yyss = yyss1; yyss = yyss1;
yyvs = yyvs1; yyvs = yyvs1;
} }
# else /* defined YYSTACK_RELOCATE */ # else /* defined YYSTACK_RELOCATE */
/* Extend the stack our own way. */ /* Extend the stack our own way. */
if (YYMAXDEPTH <= yystacksize) if (YYMAXDEPTH <= yystacksize)
goto yyexhaustedlab; goto yyexhaustedlab;
yystacksize *= 2; yystacksize *= 2;
if (YYMAXDEPTH < yystacksize) if (YYMAXDEPTH < yystacksize)
yystacksize = YYMAXDEPTH; yystacksize = YYMAXDEPTH;
{ {
yytype_int16 *yyss1 = yyss; yy_state_t *yyss1 = yyss;
union yyalloc *yyptr = union yyalloc *yyptr =
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); YY_CAST (union yyalloc *,
YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize)
)));
if (! yyptr) if (! yyptr)
goto yyexhaustedlab; goto yyexhaustedlab;
YYSTACK_RELOCATE (yyss_alloc, yyss); YYSTACK_RELOCATE (yyss_alloc, yyss);
YYSTACK_RELOCATE (yyvs_alloc, yyvs); YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# undef YYSTACK_RELOCATE # undef YYSTACK_RELOCATE
if (yyss1 != yyssa) if (yyss1 != yyssa)
YYSTACK_FREE (yyss1); YYSTACK_FREE (yyss1);
} }
# endif # endif
yyssp = yyss + yysize - 1; yyssp = yyss + yysize - 1;
yyvsp = yyvs + yysize - 1; yyvsp = yyvs + yysize - 1;
YYDPRINTF ((stderr, "Stack size increased to %lu\n", YY_IGNORE_USELESS_CAST_BEGIN
(unsigned long) yystacksize)); YYDPRINTF ((stderr, "Stack size increased to %ld\n",
YY_CAST (long, yystacksize)));
YY_IGNORE_USELESS_CAST_END
if (yyss + yystacksize - 1 <= yyssp) if (yyss + yystacksize - 1 <= yyssp)
YYABORT; YYABORT;
} }
#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ #endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
if (yystate == YYFINAL) if (yystate == YYFINAL)
YYACCEPT; YYACCEPT;
goto yybackup; goto yybackup;
skipping to change at line 1830 skipping to change at line 1968
/* Do appropriate processing given the current state. Read a /* Do appropriate processing given the current state. Read a
lookahead token if we need one and don't already have one. */ lookahead token if we need one and don't already have one. */
/* First try to decide what to do without reference to lookahead token. */ /* First try to decide what to do without reference to lookahead token. */
yyn = yypact[yystate]; yyn = yypact[yystate];
if (yypact_value_is_default (yyn)) if (yypact_value_is_default (yyn))
goto yydefault; goto yydefault;
/* Not known => get a lookahead token if don't already have one. */ /* Not known => get a lookahead token if don't already have one. */
/* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */
if (yychar == YYEMPTY) if (yychar == YYEMPTY)
{ {
YYDPRINTF ((stderr, "Reading a token: ")); YYDPRINTF ((stderr, "Reading a token\n"));
yychar = yylex (); yychar = yylex ();
} }
if (yychar <= YYEOF) if (yychar <= YYEOF)
{ {
yychar = yytoken = YYEOF; yychar = YYEOF;
yytoken = YYSYMBOL_YYEOF;
YYDPRINTF ((stderr, "Now at end of input.\n")); YYDPRINTF ((stderr, "Now at end of input.\n"));
} }
else if (yychar == YYerror)
{
/* The scanner already issued an error message, process directly
to error recovery. But do not keep the error token as
lookahead, it is too special and may lead us to an endless
loop in error recovery. */
yychar = YYUNDEF;
yytoken = YYSYMBOL_YYerror;
goto yyerrlab1;
}
else else
{ {
yytoken = YYTRANSLATE (yychar); yytoken = YYTRANSLATE (yychar);
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
} }
/* If the proper action on seeing token YYTOKEN is to reduce or to /* If the proper action on seeing token YYTOKEN is to reduce or to
detect an error, take that action. */ detect an error, take that action. */
yyn += yytoken; yyn += yytoken;
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
skipping to change at line 1869 skipping to change at line 2018
goto yyreduce; goto yyreduce;
} }
/* Count tokens shifted since error; after three, turn off error /* Count tokens shifted since error; after three, turn off error
status. */ status. */
if (yyerrstatus) if (yyerrstatus)
yyerrstatus--; yyerrstatus--;
/* Shift the lookahead token. */ /* Shift the lookahead token. */
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
/* Discard the shifted token. */
yychar = YYEMPTY;
yystate = yyn; yystate = yyn;
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
*++yyvsp = yylval; *++yyvsp = yylval;
YY_IGNORE_MAYBE_UNINITIALIZED_END YY_IGNORE_MAYBE_UNINITIALIZED_END
/* Discard the shifted token. */
yychar = YYEMPTY;
goto yynewstate; goto yynewstate;
/*-----------------------------------------------------------. /*-----------------------------------------------------------.
| yydefault -- do the default action for the current state. | | yydefault -- do the default action for the current state. |
`-----------------------------------------------------------*/ `-----------------------------------------------------------*/
yydefault: yydefault:
yyn = yydefact[yystate]; yyn = yydefact[yystate];
if (yyn == 0) if (yyn == 0)
goto yyerrlab; goto yyerrlab;
goto yyreduce; goto yyreduce;
skipping to change at line 1909 skipping to change at line 2057
This behavior is undocumented and Bison This behavior is undocumented and Bison
users should not rely upon it. Assigning to YYVAL users should not rely upon it. Assigning to YYVAL
unconditionally makes the parser a bit smaller, and it avoids a unconditionally makes the parser a bit smaller, and it avoids a
GCC warning that YYVAL may be used uninitialized. */ GCC warning that YYVAL may be used uninitialized. */
yyval = yyvsp[1-yylen]; yyval = yyvsp[1-yylen];
YY_REDUCE_PRINT (yyn); YY_REDUCE_PRINT (yyn);
switch (yyn) switch (yyn)
{ {
case 6: case 6:
#line 98 "zparser.y" #line 99 "zparser.y"
{} {}
#line 1941 "zparser.c" #line 2098 "zparser.c"
break; break;
case 7: case 7:
#line 100 "zparser.y" #line 101 "zparser.y"
{ {
region_free_all(parser->rr_region); region_free_all(parser->rr_region);
parser->current_rr.type = 0; parser->current_rr.type = 0;
parser->current_rr.rdata_count = 0; parser->current_rr.rdata_count = 0;
parser->current_rr.rdatas = parser->temporary_rdatas; parser->current_rr.rdatas = parser->temporary_rdatas;
parser->error_occurred = 0; parser->error_occurred = 0;
} }
#line 1953 "zparser.c" #line 2110 "zparser.c"
break; break;
case 8: case 8:
#line 108 "zparser.y" #line 109 "zparser.y"
{ {
region_free_all(parser->rr_region); region_free_all(parser->rr_region);
parser->current_rr.type = 0; parser->current_rr.type = 0;
parser->current_rr.rdata_count = 0; parser->current_rr.rdata_count = 0;
parser->current_rr.rdatas = parser->temporary_rdatas; parser->current_rr.rdatas = parser->temporary_rdatas;
parser->error_occurred = 0; parser->error_occurred = 0;
} }
#line 1965 "zparser.c" #line 2122 "zparser.c"
break; break;
case 9: case 9:
#line 116 "zparser.y" #line 117 "zparser.y"
{ /* rr should be fully parsed */ { /* rr should be fully parsed */
if (!parser->error_occurred) { if (!parser->error_occurred) {
parser->current_rr.rdatas parser->current_rr.rdatas
=(rdata_atom_type *)region_alloc_array_init( =(rdata_atom_type *)region_alloc_array_init(
parser->region, parser->region,
parser->current_rr.rdatas, parser->current_rr.rdatas,
parser->current_rr.rdata_count, parser->current_rr.rdata_count,
sizeof(rdata_atom_type)); sizeof(rdata_atom_type));
process_rr(); process_rr();
} }
region_free_all(parser->rr_region); region_free_all(parser->rr_region);
parser->current_rr.type = 0; parser->current_rr.type = 0;
parser->current_rr.rdata_count = 0; parser->current_rr.rdata_count = 0;
parser->current_rr.rdatas = parser->temporary_rdatas; parser->current_rr.rdatas = parser->temporary_rdatas;
parser->error_occurred = 0; parser->error_occurred = 0;
} }
#line 1989 "zparser.c" #line 2146 "zparser.c"
break; break;
case 15: case 17:
#line 148 "zparser.y" #line 151 "zparser.y"
{ {
parser->default_ttl = zparser_ttl2int((yyvsp[-1].data).str, &(parser- >error_occurred)); parser->default_ttl = zparser_ttl2int((yyvsp[-1].data).str, &(parser- >error_occurred));
if (parser->error_occurred == 1) { if (parser->error_occurred == 1) {
parser->default_ttl = DEFAULT_TTL; parser->default_ttl = DEFAULT_TTL;
parser->error_occurred = 0; parser->error_occurred = 0;
} }
} }
#line 2001 "zparser.c" #line 2158 "zparser.c"
break; break;
case 16: case 18:
#line 158 "zparser.y" #line 161 "zparser.y"
{ {
/* if previous origin is unused, remove it, do not leak it */ /* if previous origin is unused, remove it, do not leak it */
if(parser->origin != error_domain && parser->origin != (yyvsp[-1].dom ain)) { if(parser->origin != error_domain && parser->origin != (yyvsp[-1].dom ain)) {
/* protect $3 from deletion, because deldomain walks up */ /* protect $3 from deletion, because deldomain walks up */
(yyvsp[-1].domain)->usage ++; (yyvsp[-1].domain)->usage ++;
domain_table_deldomain(parser->db, parser->origin); domain_table_deldomain(parser->db, parser->origin);
(yyvsp[-1].domain)->usage --; (yyvsp[-1].domain)->usage --;
} }
parser->origin = (yyvsp[-1].domain); parser->origin = (yyvsp[-1].domain);
} }
#line 2016 "zparser.c" #line 2173 "zparser.c"
break; break;
case 17: case 19:
#line 169 "zparser.y" #line 172 "zparser.y"
{ {
zc_error_prev_line("$ORIGIN directive requires absolute domain name") ; zc_error_prev_line("$ORIGIN directive requires absolute domain name") ;
} }
#line 2024 "zparser.c" #line 2181 "zparser.c"
break; break;
case 18: case 20:
#line 175 "zparser.y" #line 178 "zparser.y"
{ {
parser->current_rr.owner = (yyvsp[-2].domain); parser->current_rr.owner = (yyvsp[-2].domain);
parser->current_rr.type = (yyvsp[0].type); parser->current_rr.type = (yyvsp[0].type);
} }
#line 2033 "zparser.c" #line 2190 "zparser.c"
break; break;
case 19: case 21:
#line 182 "zparser.y" #line 185 "zparser.y"
{ {
parser->prev_dname = (yyvsp[-1].domain); parser->prev_dname = (yyvsp[-1].domain);
(yyval.domain) = (yyvsp[-1].domain); (yyval.domain) = (yyvsp[-1].domain);
} }
#line 2042 "zparser.c" #line 2199 "zparser.c"
break; break;
case 20: case 22:
#line 187 "zparser.y" #line 190 "zparser.y"
{ {
(yyval.domain) = parser->prev_dname; (yyval.domain) = parser->prev_dname;
} }
#line 2050 "zparser.c" #line 2207 "zparser.c"
break; break;
case 21: case 23:
#line 193 "zparser.y" #line 196 "zparser.y"
{ {
parser->current_rr.ttl = parser->default_ttl; parser->current_rr.ttl = parser->default_ttl;
parser->current_rr.klass = parser->default_class; parser->current_rr.klass = parser->default_class;
} }
#line 2059 "zparser.c" #line 2216 "zparser.c"
break; break;
case 22: case 24:
#line 198 "zparser.y" #line 201 "zparser.y"
{ {
parser->current_rr.ttl = parser->default_ttl; parser->current_rr.ttl = parser->default_ttl;
parser->current_rr.klass = (yyvsp[-1].klass); parser->current_rr.klass = (yyvsp[-1].klass);
} }
#line 2068 "zparser.c" #line 2225 "zparser.c"
break; break;
case 23: case 25:
#line 203 "zparser.y" #line 206 "zparser.y"
{ {
parser->current_rr.ttl = (yyvsp[-1].ttl); parser->current_rr.ttl = (yyvsp[-1].ttl);
parser->current_rr.klass = parser->default_class; parser->current_rr.klass = parser->default_class;
} }
#line 2077 "zparser.c" #line 2234 "zparser.c"
break; break;
case 24: case 26:
#line 208 "zparser.y" #line 211 "zparser.y"
{ {
parser->current_rr.ttl = (yyvsp[-3].ttl); parser->current_rr.ttl = (yyvsp[-3].ttl);
parser->current_rr.klass = (yyvsp[-1].klass); parser->current_rr.klass = (yyvsp[-1].klass);
} }
#line 2086 "zparser.c" #line 2243 "zparser.c"
break; break;
case 25: case 27:
#line 213 "zparser.y" #line 216 "zparser.y"
{ {
parser->current_rr.ttl = (yyvsp[-1].ttl); parser->current_rr.ttl = (yyvsp[-1].ttl);
parser->current_rr.klass = (yyvsp[-3].klass); parser->current_rr.klass = (yyvsp[-3].klass);
} }
#line 2095 "zparser.c" #line 2252 "zparser.c"
break; break;
case 27: case 29:
#line 221 "zparser.y" #line 224 "zparser.y"
{ {
if ((yyvsp[0].dname) == error_dname) { if ((yyvsp[0].dname) == error_dname) {
(yyval.domain) = error_domain; (yyval.domain) = error_domain;
} else if(parser->origin == error_domain) { } else if(parser->origin == error_domain) {
zc_error("cannot concatenate origin to domain name, because o rigin failed to parse"); zc_error("cannot concatenate origin to domain name, because o rigin failed to parse");
(yyval.domain) = error_domain; (yyval.domain) = error_domain;
} else if ((yyvsp[0].dname)->name_size + domain_dname(parser->origin) ->name_size - 1 > MAXDOMAINLEN) { } else if ((yyvsp[0].dname)->name_size + domain_dname(parser->origin) ->name_size - 1 > MAXDOMAINLEN) {
zc_error("domain name exceeds %d character limit", MAXDOMAINL EN); zc_error("domain name exceeds %d character limit", MAXDOMAINL EN);
(yyval.domain) = error_domain; (yyval.domain) = error_domain;
} else { } else {
(yyval.domain) = domain_table_insert( (yyval.domain) = domain_table_insert(
parser->db->domains, parser->db->domains,
dname_concatenate( dname_concatenate(
parser->rr_region, parser->rr_region,
(yyvsp[0].dname), (yyvsp[0].dname),
domain_dname(parser->origin))); domain_dname(parser->origin)));
} }
} }
#line 2118 "zparser.c" #line 2275 "zparser.c"
break; break;
case 28: case 30:
#line 242 "zparser.y" #line 245 "zparser.y"
{ {
(yyval.domain) = parser->db->domains->root; (yyval.domain) = parser->db->domains->root;
} }
#line 2126 "zparser.c" #line 2283 "zparser.c"
break; break;
case 29: case 31:
#line 246 "zparser.y" #line 249 "zparser.y"
{ {
(yyval.domain) = parser->origin; (yyval.domain) = parser->origin;
} }
#line 2134 "zparser.c" #line 2291 "zparser.c"
break; break;
case 30: case 32:
#line 250 "zparser.y" #line 253 "zparser.y"
{ {
if ((yyvsp[-1].dname) != error_dname) { if ((yyvsp[-1].dname) != error_dname) {
(yyval.domain) = domain_table_insert(parser->db->domains, (yy vsp[-1].dname)); (yyval.domain) = domain_table_insert(parser->db->domains, (yy vsp[-1].dname));
} else { } else {
(yyval.domain) = error_domain; (yyval.domain) = error_domain;
} }
} }
#line 2146 "zparser.c" #line 2303 "zparser.c"
break; break;
case 31: case 33:
#line 260 "zparser.y" #line 263 "zparser.y"
{ {
if ((yyvsp[0].data).len > MAXLABELLEN) { if ((yyvsp[0].data).len > MAXLABELLEN) {
zc_error("label exceeds %d character limit", MAXLABELLEN); zc_error("label exceeds %d character limit", MAXLABELLEN);
(yyval.dname) = error_dname; (yyval.dname) = error_dname;
} else if ((yyvsp[0].data).len <= 0) { } else if ((yyvsp[0].data).len <= 0) {
zc_error("zero label length"); zc_error("zero label length");
(yyval.dname) = error_dname; (yyval.dname) = error_dname;
} else { } else {
(yyval.dname) = dname_make_from_label(parser->rr_region, (yyval.dname) = dname_make_from_label(parser->rr_region,
(uint8_t *) (yyvsp[0].data).str, (uint8_t *) (yyvsp[0].data).str,
(yyvsp[0].data).len); (yyvsp[0].data).len);
} }
} }
#line 2164 "zparser.c" #line 2321 "zparser.c"
break; break;
case 32: case 34:
#line 274 "zparser.y" #line 277 "zparser.y"
{ {
zc_error("bitlabels are now deprecated. RFC2673 is obsoleted."); zc_error("bitlabels are now deprecated. RFC2673 is obsoleted.");
(yyval.dname) = error_dname; (yyval.dname) = error_dname;
} }
#line 2173 "zparser.c" #line 2330 "zparser.c"
break; break;
case 34: case 36:
#line 282 "zparser.y" #line 285 "zparser.y"
{ {
if ((yyvsp[-2].dname) == error_dname || (yyvsp[0].dname) == error_dna me) { if ((yyvsp[-2].dname) == error_dname || (yyvsp[0].dname) == error_dna me) {
(yyval.dname) = error_dname; (yyval.dname) = error_dname;
} else if ((yyvsp[-2].dname)->name_size + (yyvsp[0].dname)->name_size - 1 > MAXDOMAINLEN) { } else if ((yyvsp[-2].dname)->name_size + (yyvsp[0].dname)->name_size - 1 > MAXDOMAINLEN) {
zc_error("domain name exceeds %d character limit", zc_error("domain name exceeds %d character limit",
MAXDOMAINLEN); MAXDOMAINLEN);
(yyval.dname) = error_dname; (yyval.dname) = error_dname;
} else { } else {
(yyval.dname) = dname_concatenate(parser->rr_region, (yyvsp[- 2].dname), (yyvsp[0].dname)); (yyval.dname) = dname_concatenate(parser->rr_region, (yyvsp[- 2].dname), (yyvsp[0].dname));
} }
} }
#line 2189 "zparser.c" #line 2346 "zparser.c"
break; break;
case 36: case 38:
#line 301 "zparser.y" #line 304 "zparser.y"
{ {
/* terminate in root label and copy the origin in there */ /* terminate in root label and copy the origin in there */
if(parser->origin && domain_dname(parser->origin)) { if(parser->origin && domain_dname(parser->origin)) {
(yyval.data).len = (yyvsp[0].data).len + domain_dname(parser- >origin)->name_size; (yyval.data).len = (yyvsp[0].data).len + domain_dname(parser- >origin)->name_size;
if ((yyval.data).len > MAXDOMAINLEN) if ((yyval.data).len > MAXDOMAINLEN)
zc_error("domain name exceeds %d character limit", zc_error("domain name exceeds %d character limit",
MAXDOMAINLEN); MAXDOMAINLEN);
(yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len);
memmove((yyval.data).str, (yyvsp[0].data).str, (yyvsp[0].data ).len); memmove((yyval.data).str, (yyvsp[0].data).str, (yyvsp[0].data ).len);
memmove((yyval.data).str + (yyvsp[0].data).len, dname_name(do main_dname(parser->origin)), memmove((yyval.data).str + (yyvsp[0].data).len, dname_name(do main_dname(parser->origin)),
skipping to change at line 2185 skipping to change at line 2333
} else { } else {
(yyval.data).len = (yyvsp[0].data).len + 1; (yyval.data).len = (yyvsp[0].data).len + 1;
if ((yyval.data).len > MAXDOMAINLEN) if ((yyval.data).len > MAXDOMAINLEN)
zc_error("domain name exceeds %d character limit", zc_error("domain name exceeds %d character limit",
MAXDOMAINLEN); MAXDOMAINLEN);
(yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len);
memmove((yyval.data).str, (yyvsp[0].data).str, (yyvsp[0].data ).len); memmove((yyval.data).str, (yyvsp[0].data).str, (yyvsp[0].data ).len);
(yyval.data).str[ (yyvsp[0].data).len ] = 0; (yyval.data).str[ (yyvsp[0].data).len ] = 0;
} }
} }
#line 2215 "zparser.c" #line 2372 "zparser.c"
break; break;
case 37: case 39:
#line 325 "zparser.y" #line 328 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, 1); char *result = (char *) region_alloc(parser->rr_region, 1);
result[0] = 0; result[0] = 0;
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = 1; (yyval.data).len = 1;
} }
#line 2226 "zparser.c" #line 2383 "zparser.c"
break; break;
case 38: case 40:
#line 332 "zparser.y" #line 335 "zparser.y"
{ {
if(parser->origin && domain_dname(parser->origin)) { if(parser->origin && domain_dname(parser->origin)) {
(yyval.data).len = domain_dname(parser->origin)->name_size; (yyval.data).len = domain_dname(parser->origin)->name_size;
(yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len);
memmove((yyval.data).str, dname_name(domain_dname(parser->ori gin)), (yyval.data).len); memmove((yyval.data).str, dname_name(domain_dname(parser->ori gin)), (yyval.data).len);
} else { } else {
(yyval.data).len = 1; (yyval.data).len = 1;
(yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, ( yyval.data).len);
(yyval.data).str[0] = 0; (yyval.data).str[0] = 0;
} }
} }
#line 2242 "zparser.c" #line 2399 "zparser.c"
break; break;
case 39: case 41:
#line 344 "zparser.y" #line 347 "zparser.y"
{ {
(yyval.data).len = (yyvsp[-1].data).len + 1; (yyval.data).len = (yyvsp[-1].data).len + 1;
if ((yyval.data).len > MAXDOMAINLEN) if ((yyval.data).len > MAXDOMAINLEN)
zc_error("domain name exceeds %d character limit", zc_error("domain name exceeds %d character limit",
MAXDOMAINLEN); MAXDOMAINLEN);
(yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len);
memcpy((yyval.data).str, (yyvsp[-1].data).str, (yyvsp[-1].data).len); memcpy((yyval.data).str, (yyvsp[-1].data).str, (yyvsp[-1].data).len);
(yyval.data).str[(yyvsp[-1].data).len] = 0; (yyval.data).str[(yyvsp[-1].data).len] = 0;
} }
#line 2256 "zparser.c" #line 2413 "zparser.c"
break; break;
case 40: case 42:
#line 356 "zparser.y" #line 359 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, char *result = (char *) region_alloc(parser->rr_region,
(yyvsp[0].data).len + 1); (yyvsp[0].data).len + 1);
if ((yyvsp[0].data).len > MAXLABELLEN) if ((yyvsp[0].data).len > MAXLABELLEN)
zc_error("label exceeds %d character limit", MAXLABELLEN); zc_error("label exceeds %d character limit", MAXLABELLEN);
/* make label anyway */ /* make label anyway */
result[0] = (yyvsp[0].data).len; result[0] = (yyvsp[0].data).len;
memmove(result+1, (yyvsp[0].data).str, (yyvsp[0].data).len); memmove(result+1, (yyvsp[0].data).str, (yyvsp[0].data).len);
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = (yyvsp[0].data).len + 1; (yyval.data).len = (yyvsp[0].data).len + 1;
} }
#line 2275 "zparser.c" #line 2432 "zparser.c"
break; break;
case 42: case 44:
#line 374 "zparser.y" #line 377 "zparser.y"
{ {
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len;
if ((yyval.data).len > MAXDOMAINLEN) if ((yyval.data).len > MAXDOMAINLEN)
zc_error("domain name exceeds %d character limit", zc_error("domain name exceeds %d character limit",
MAXDOMAINLEN); MAXDOMAINLEN);
(yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len); (yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len);
memmove((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len) ; memmove((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len) ;
memmove((yyval.data).str + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0].data).len); memmove((yyval.data).str + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0].data).len);
} }
#line 2289 "zparser.c" #line 2446 "zparser.c"
break; break;
case 43: case 45:
#line 386 "zparser.y" #line 389 "zparser.y"
{ {
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp [0].data).str, (yyvsp[0].data).len), 1); zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp [0].data).str, (yyvsp[0].data).len), 1);
} }
#line 2297 "zparser.c" #line 2454 "zparser.c"
break; break;
case 44: case 46:
#line 390 "zparser.y" #line 393 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 1);
}
#line 2462 "zparser.c"
break;
case 47:
#line 397 "zparser.y"
{ {
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp [-1].data).str, (yyvsp[-1].data).len), 1);
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp [0].data).str, (yyvsp[0].data).len), 0); zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp [0].data).str, (yyvsp[0].data).len), 0);
} }
#line 2305 "zparser.c" #line 2471 "zparser.c"
break; break;
case 46: case 48:
#line 401 "zparser.y" #line 402 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 0);
}
#line 2479 "zparser.c"
break;
case 49:
#line 406 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[-1].data).str, (yyvsp[-1].data).len), 0);
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 0);
}
#line 2488 "zparser.c"
break;
case 50:
#line 411 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 0);
}
#line 2496 "zparser.c"
break;
case 51:
#line 415 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 0);
}
#line 2504 "zparser.c"
break;
case 52:
#line 419 "zparser.y"
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[-1].data).str, (yyvsp[-1].data).len), 0);
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, (yyvsp
[0].data).str, (yyvsp[0].data).len), 0);
}
#line 2513 "zparser.c"
break;
case 54:
#line 431 "zparser.y"
{ {
(yyval.data).len = 1; (yyval.data).len = 1;
(yyval.data).str = region_strdup(parser->rr_region, "."); (yyval.data).str = region_strdup(parser->rr_region, ".");
} }
#line 2314 "zparser.c" #line 2522 "zparser.c"
break; break;
case 47: case 55:
#line 406 "zparser.y" #line 436 "zparser.y"
{ {
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1;
(yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len + 1); (yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len + 1);
memcpy((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len); memcpy((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len);
memcpy((yyval.data).str + (yyvsp[-2].data).len, " ", 1); memcpy((yyval.data).str + (yyvsp[-2].data).len, " ", 1);
memcpy((yyval.data).str + (yyvsp[-2].data).len + 1, (yyvsp[0].data).s tr, (yyvsp[0].data).len); memcpy((yyval.data).str + (yyvsp[-2].data).len + 1, (yyvsp[0].data).s tr, (yyvsp[0].data).len);
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2327 "zparser.c" #line 2535 "zparser.c"
break; break;
case 48: case 56:
#line 415 "zparser.y" #line 445 "zparser.y"
{ {
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1;
(yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len + 1); (yyval.data).str = (char *) region_alloc(parser->rr_region, (yyval.da ta).len + 1);
memcpy((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len); memcpy((yyval.data).str, (yyvsp[-2].data).str, (yyvsp[-2].data).len);
memcpy((yyval.data).str + (yyvsp[-2].data).len, ".", 1); memcpy((yyval.data).str + (yyvsp[-2].data).len, ".", 1);
memcpy((yyval.data).str + (yyvsp[-2].data).len + 1, (yyvsp[0].data).s tr, (yyvsp[0].data).len); memcpy((yyval.data).str + (yyvsp[-2].data).len + 1, (yyvsp[0].data).s tr, (yyvsp[0].data).len);
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2340 "zparser.c" #line 2548 "zparser.c"
break; break;
case 49: case 57:
#line 427 "zparser.y" #line 457 "zparser.y"
{ {
uint16_t type = rrtype_from_string((yyvsp[0].data).str); uint16_t type = rrtype_from_string((yyvsp[0].data).str);
if (type != 0 && type < 128) { if (type != 0 && type < 128) {
set_bit(nxtbits, type); set_bit(nxtbits, type);
} else { } else {
zc_error("bad type %d in NXT record", (int) type); zc_error("bad type %d in NXT record", (int) type);
} }
} }
#line 2353 "zparser.c" #line 2561 "zparser.c"
break; break;
case 50: case 58:
#line 436 "zparser.y" #line 466 "zparser.y"
{ {
uint16_t type = rrtype_from_string((yyvsp[0].data).str); uint16_t type = rrtype_from_string((yyvsp[0].data).str);
if (type != 0 && type < 128) { if (type != 0 && type < 128) {
set_bit(nxtbits, type); set_bit(nxtbits, type);
} else { } else {
zc_error("bad type %d in NXT record", (int) type); zc_error("bad type %d in NXT record", (int) type);
} }
} }
#line 2366 "zparser.c" #line 2574 "zparser.c"
break; break;
case 51: case 59:
#line 447 "zparser.y" #line 477 "zparser.y"
{ {
} }
#line 2373 "zparser.c" #line 2581 "zparser.c"
break; break;
case 52: case 60:
#line 450 "zparser.y" #line 480 "zparser.y"
{ {
} }
#line 2380 "zparser.c" #line 2588 "zparser.c"
break; break;
case 53: case 61:
#line 453 "zparser.y" #line 483 "zparser.y"
{ {
uint16_t type = rrtype_from_string((yyvsp[-1].data).str); uint16_t type = rrtype_from_string((yyvsp[-1].data).str);
if (type != 0) { if (type != 0) {
if (type > nsec_highest_rcode) { if (type > nsec_highest_rcode) {
nsec_highest_rcode = type; nsec_highest_rcode = type;
} }
set_bitnsec(nsecbits, type); set_bitnsec(nsecbits, type);
} else { } else {
zc_error("bad type %d in NSEC record", (int) type); zc_error("bad type %d in NSEC record", (int) type);
} }
} }
#line 2396 "zparser.c" #line 2604 "zparser.c"
break; break;
case 57: case 65:
#line 476 "zparser.y" #line 506 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, char *result = (char *) region_alloc(parser->rr_region,
(yyvsp[-2].data).len + (yyvsp[0] .data).len + 1); (yyvsp[-2].data).len + (yyvsp[0] .data).len + 1);
memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len); memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len);
memcpy(result + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0]. data).len); memcpy(result + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0]. data).len);
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len;
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2410 "zparser.c" #line 2618 "zparser.c"
break; break;
case 59: case 67:
#line 493 "zparser.y" #line 523 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, char *result = (char *) region_alloc(parser->rr_region,
(yyvsp[-2].data).len + (yyvsp[0] .data).len + 1); (yyvsp[-2].data).len + (yyvsp[0] .data).len + 1);
memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len); memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len);
memcpy(result + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0]. data).len); memcpy(result + (yyvsp[-2].data).len, (yyvsp[0].data).str, (yyvsp[0]. data).len);
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len;
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2424 "zparser.c" #line 2632 "zparser.c"
break; break;
case 61: case 69:
#line 509 "zparser.y" #line 539 "zparser.y"
{ {
(yyval.data).str = "."; (yyval.data).str = ".";
(yyval.data).len = 1; (yyval.data).len = 1;
} }
#line 2433 "zparser.c" #line 2641 "zparser.c"
break; break;
case 62: case 70:
#line 514 "zparser.y" #line 544 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, char *result = (char *) region_alloc(parser->rr_region,
(yyvsp[-1].data).len + 2); (yyvsp[-1].data).len + 2);
memcpy(result, (yyvsp[-1].data).str, (yyvsp[-1].data).len); memcpy(result, (yyvsp[-1].data).str, (yyvsp[-1].data).len);
result[(yyvsp[-1].data).len] = '.'; result[(yyvsp[-1].data).len] = '.';
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = (yyvsp[-1].data).len + 1; (yyval.data).len = (yyvsp[-1].data).len + 1;
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2447 "zparser.c" #line 2655 "zparser.c"
break; break;
case 63: case 71:
#line 524 "zparser.y" #line 554 "zparser.y"
{ {
char *result = (char *) region_alloc(parser->rr_region, char *result = (char *) region_alloc(parser->rr_region,
(yyvsp[-2].data).len + (yyvsp[0] .data).len + 2); (yyvsp[-2].data).len + (yyvsp[0] .data).len + 2);
memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len); memcpy(result, (yyvsp[-2].data).str, (yyvsp[-2].data).len);
result[(yyvsp[-2].data).len] = '.'; result[(yyvsp[-2].data).len] = '.';
memcpy(result + (yyvsp[-2].data).len + 1, (yyvsp[0].data).str, (yyvsp [0].data).len); memcpy(result + (yyvsp[-2].data).len + 1, (yyvsp[0].data).str, (yyvsp [0].data).len);
(yyval.data).str = result; (yyval.data).str = result;
(yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1; (yyval.data).len = (yyvsp[-2].data).len + (yyvsp[0].data).len + 1;
(yyval.data).str[(yyval.data).len] = '\0'; (yyval.data).str[(yyval.data).len] = '\0';
} }
#line 2462 "zparser.c" #line 2670 "zparser.c"
break; break;
case 65: case 75:
#line 542 "zparser.y" #line 577 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_rd
vsp[0].unknown)); } ata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2468 "zparser.c" #line 2676 "zparser.c"
break; break;
case 67: case 77:
#line 544 "zparser.y" #line 579 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2474 "zparser.c" #line 2682 "zparser.c"
break; break;
case 68: case 78:
#line 545 "zparser.y" #line 580 "zparser.y"
{ zc_warning_prev_line("MD is obsolete"); } { zc_warning_prev_line("MD is obsolete"); }
#line 2480 "zparser.c" #line 2688 "zparser.c"
break; break;
case 69: case 79:
#line 547 "zparser.y" #line 582 "zparser.y"
{ {
zc_warning_prev_line("MD is obsolete"); zc_warning_prev_line("MD is obsolete");
(yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type) , (yyvsp[0].unknown)); (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type) , (yyvsp[0].unknown));
} }
#line 2489 "zparser.c" #line 2697 "zparser.c"
break; break;
case 70: case 80:
#line 551 "zparser.y" #line 586 "zparser.y"
{ zc_warning_prev_line("MF is obsolete"); } { zc_warning_prev_line("MF is obsolete"); }
#line 2495 "zparser.c" #line 2703 "zparser.c"
break; break;
case 71: case 81:
#line 553 "zparser.y" #line 588 "zparser.y"
{ {
zc_warning_prev_line("MF is obsolete"); zc_warning_prev_line("MF is obsolete");
(yyval.type) = (yyvsp[-2].type); (yyval.type) = (yyvsp[-2].type);
parse_unknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); parse_unknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown));
} }
#line 2505 "zparser.c" #line 2713 "zparser.c"
break; break;
case 73: case 83:
#line 559 "zparser.y" #line 594 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2511 "zparser.c" #line 2719 "zparser.c"
break; break;
case 75: case 85:
#line 561 "zparser.y" #line 596 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2517 "zparser.c" #line 2725 "zparser.c"
break; break;
case 76: case 86:
#line 562 "zparser.y" #line 597 "zparser.y"
{ zc_warning_prev_line("MB is obsolete"); } { zc_warning_prev_line("MB is obsolete"); }
#line 2523 "zparser.c" #line 2731 "zparser.c"
break; break;
case 77: case 87:
#line 564 "zparser.y" #line 599 "zparser.y"
{ {
zc_warning_prev_line("MB is obsolete"); zc_warning_prev_line("MB is obsolete");
(yyval.type) = (yyvsp[-2].type); (yyval.type) = (yyvsp[-2].type);
parse_unknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); parse_unknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown));
} }
#line 2533 "zparser.c" #line 2741 "zparser.c"
break;
case 79:
#line 570 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy
vsp[0].unknown)); }
#line 2539 "zparser.c"
break;
case 81:
#line 572 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy
vsp[0].unknown)); }
#line 2545 "zparser.c"
break;
case 83:
#line 575 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy
vsp[0].unknown)); }
#line 2551 "zparser.c"
break;
case 85:
#line 577 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy
vsp[0].unknown)); }
#line 2557 "zparser.c"
break;
case 87:
#line 579 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy
vsp[0].unknown)); }
#line 2563 "zparser.c"
break; break;
case 89: case 89:
#line 581 "zparser.y" #line 605 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2569 "zparser.c" #line 2747 "zparser.c"
break; break;
case 91: case 91:
#line 583 "zparser.y" #line 607 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2575 "zparser.c" #line 2753 "zparser.c"
break; break;
case 93: case 93:
#line 585 "zparser.y" #line 610 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2581 "zparser.c" #line 2759 "zparser.c"
break; break;
case 95: case 95:
#line 587 "zparser.y" #line 612 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2587 "zparser.c" #line 2765 "zparser.c"
break; break;
case 97: case 97:
#line 589 "zparser.y" #line 614 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2593 "zparser.c" #line 2771 "zparser.c"
break; break;
case 99: case 99:
#line 591 "zparser.y" #line 616 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2599 "zparser.c" #line 2777 "zparser.c"
break; break;
case 101: case 101:
#line 593 "zparser.y" #line 618 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2605 "zparser.c" #line 2783 "zparser.c"
break; break;
case 103: case 103:
#line 595 "zparser.y" #line 620 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2611 "zparser.c" #line 2789 "zparser.c"
break; break;
case 105: case 105:
#line 597 "zparser.y" #line 622 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2617 "zparser.c" #line 2795 "zparser.c"
break; break;
case 107: case 107:
#line 599 "zparser.y" #line 624 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2623 "zparser.c" #line 2801 "zparser.c"
break; break;
case 109: case 109:
#line 601 "zparser.y" #line 626 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2629 "zparser.c" #line 2807 "zparser.c"
break; break;
case 111: case 111:
#line 603 "zparser.y" #line 628 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2635 "zparser.c" #line 2813 "zparser.c"
break; break;
case 113: case 113:
#line 605 "zparser.y" #line 630 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2641 "zparser.c" #line 2819 "zparser.c"
break; break;
case 115: case 115:
#line 607 "zparser.y" #line 632 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2647 "zparser.c" #line 2825 "zparser.c"
break; break;
case 117: case 117:
#line 609 "zparser.y" #line 634 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unk
vsp[0].unknown)); } nown_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2653 "zparser.c" #line 2831 "zparser.c"
break; break;
case 119: case 119:
#line 611 "zparser.y" #line 636 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2659 "zparser.c" #line 2837 "zparser.c"
break; break;
case 121: case 121:
#line 613 "zparser.y" #line 638 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2665 "zparser.c" #line 2843 "zparser.c"
break; break;
case 123: case 123:
#line 615 "zparser.y" #line 640 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2671 "zparser.c" #line 2849 "zparser.c"
break; break;
case 125: case 125:
#line 617 "zparser.y" #line 642 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2677 "zparser.c" #line 2855 "zparser.c"
break; break;
case 127: case 127:
#line 619 "zparser.y" #line 644 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2683 "zparser.c" #line 2861 "zparser.c"
break; break;
case 129: case 129:
#line 621 "zparser.y" #line 646 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2689 "zparser.c" #line 2867 "zparser.c"
break; break;
case 131: case 131:
#line 623 "zparser.y" #line 648 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2695 "zparser.c" #line 2873 "zparser.c"
break; break;
case 133: case 133:
#line 625 "zparser.y" #line 650 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2701 "zparser.c" #line 2879 "zparser.c"
break; break;
case 135: case 135:
#line 627 "zparser.y" #line 652 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2707 "zparser.c" #line 2885 "zparser.c"
break; break;
case 138: case 137:
#line 630 "zparser.y" #line 654 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2713 "zparser.c" #line 2891 "zparser.c"
break; break;
case 140: case 139:
#line 632 "zparser.y" #line 656 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2719 "zparser.c" #line 2897 "zparser.c"
break; break;
case 141: case 141:
#line 633 "zparser.y" #line 658 "zparser.y"
{ if (dlv_warn) { dlv_warn = 0; zc_warning_prev_line("DLV is experimental"); { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
} } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2725 "zparser.c" #line 2903 "zparser.c"
break;
case 142:
#line 634 "zparser.y"
{ if (dlv_warn) { dlv_warn = 0; zc_warning_prev_line("DLV is experimental");
} (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yyvsp
[0].unknown)); }
#line 2731 "zparser.c"
break; break;
case 144: case 143:
#line 636 "zparser.y" #line 660 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); check_sshfp(); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2737 "zparser.c" #line 2909 "zparser.c"
break; break;
case 146: case 145:
#line 638 "zparser.y" #line 662 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2743 "zparser.c" #line 2915 "zparser.c"
break; break;
case 148: case 148:
#line 640 "zparser.y" #line 665 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2749 "zparser.c" #line 2921 "zparser.c"
break; break;
case 150: case 150:
#line 642 "zparser.y" #line 667 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2755 "zparser.c" #line 2927 "zparser.c"
break;
case 151:
#line 668 "zparser.y"
{ if (dlv_warn) { dlv_warn = 0; zc_warning_prev_line(
"DLV is experimental"); } }
#line 2933 "zparser.c"
break; break;
case 152: case 152:
#line 644 "zparser.y" #line 669 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { if (dlv_warn) { dlv_warn = 0; zc_warning_prev_l
vsp[0].unknown)); } ine("DLV is experimental"); } (yyval.type) = (yyvsp[-2].type); parse_unknown_rda
#line 2761 "zparser.c" ta((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2939 "zparser.c"
break; break;
case 154: case 154:
#line 646 "zparser.y" #line 671 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); check_sshfp(); }
#line 2767 "zparser.c" #line 2945 "zparser.c"
break; break;
case 156: case 156:
#line 648 "zparser.y" #line 673 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2773 "zparser.c" #line 2951 "zparser.c"
break; break;
case 158: case 158:
#line 650 "zparser.y" #line 675 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2779 "zparser.c" #line 2957 "zparser.c"
break; break;
case 160: case 160:
#line 652 "zparser.y" #line 677 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2785 "zparser.c" #line 2963 "zparser.c"
break; break;
case 162: case 162:
#line 654 "zparser.y" #line 679 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_u
vsp[0].unknown)); } nknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2791 "zparser.c" #line 2969 "zparser.c"
break; break;
case 164: case 164:
#line 656 "zparser.y" #line 681 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unkno
vsp[0].unknown)); } wn_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2797 "zparser.c" #line 2975 "zparser.c"
break; break;
case 166: case 166:
#line 658 "zparser.y" #line 683 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown
vsp[0].unknown)); } _rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2803 "zparser.c" #line 2981 "zparser.c"
break; break;
case 168: case 168:
#line 660 "zparser.y" #line 685 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unkno
vsp[0].unknown)); } wn_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2809 "zparser.c" #line 2987 "zparser.c"
break; break;
case 170: case 170:
#line 662 "zparser.y" #line 687 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2815 "zparser.c" #line 2993 "zparser.c"
break; break;
case 172: case 172:
#line 664 "zparser.y" #line 689 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2821 "zparser.c" #line 2999 "zparser.c"
break; break;
case 174: case 174:
#line 666 "zparser.y" #line 691 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2827 "zparser.c" #line 3005 "zparser.c"
break; break;
case 176: case 176:
#line 668 "zparser.y" #line 693 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_r
vsp[0].unknown)); } data((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2833 "zparser.c" #line 3011 "zparser.c"
break; break;
case 178: case 178:
#line 670 "zparser.y" #line 695 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2839 "zparser.c" #line 3017 "zparser.c"
break; break;
case 180: case 180:
#line 672 "zparser.y" #line 697 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknow
vsp[0].unknown)); } n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2845 "zparser.c" #line 3023 "zparser.c"
break; break;
case 182: case 182:
#line 674 "zparser.y" #line 699 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2851 "zparser.c" #line 3029 "zparser.c"
break; break;
case 184: case 184:
#line 676 "zparser.y" #line 701 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unknown_
vsp[0].unknown)); } rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2857 "zparser.c" #line 3035 "zparser.c"
break; break;
case 185: case 186:
#line 677 "zparser.y" #line 703 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_rdata((yyvsp[-2].type), (yy { (yyval.type) = (yyvsp[-2].type); parse_unkn
vsp[0].unknown)); } own_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 2863 "zparser.c" #line 3041 "zparser.c"
break; break;
case 186: case 188:
#line 679 "zparser.y" #line 705 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_u
nknown_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 3047 "zparser.c"
break;
case 190:
#line 707 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknow
n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 3053 "zparser.c"
break;
case 192:
#line 709 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unkno
wn_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 3059 "zparser.c"
break;
case 194:
#line 711 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknown_
rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 3065 "zparser.c"
break;
case 195:
#line 712 "zparser.y"
{ (yyval.type) = (yyvsp[-2].type); parse_unknow
n_rdata((yyvsp[-2].type), (yyvsp[0].unknown)); }
#line 3071 "zparser.c"
break;
case 196:
#line 714 "zparser.y"
{ {
zc_error_prev_line("unrecognized RR type '%s'", (yyvsp[-2].data).str) ; zc_error_prev_line("unrecognized RR type '%s'", (yyvsp[-2].data).str) ;
} }
#line 2871 "zparser.c" #line 3079 "zparser.c"
break; break;
case 187: case 197:
#line 691 "zparser.y" #line 726 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-1].data) .str)); zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-1].data) .str));
} }
#line 2879 "zparser.c" #line 3087 "zparser.c"
break; break;
case 188: case 198:
#line 697 "zparser.y" #line 732 "zparser.y"
{ {
/* convert a single dname record */ /* convert a single dname record */
zadd_rdata_domain((yyvsp[-1].domain)); zadd_rdata_domain((yyvsp[-1].domain));
} }
#line 2888 "zparser.c" #line 3096 "zparser.c"
break; break;
case 189: case 199:
#line 704 "zparser.y" #line 739 "zparser.y"
{ {
/* convert the soa data */ /* convert the soa data */
zadd_rdata_domain((yyvsp[-13].domain)); /* prim. ns */ zadd_rdata_domain((yyvsp[-13].domain)); /* prim. ns */
zadd_rdata_domain((yyvsp[-11].domain)); /* email */ zadd_rdata_domain((yyvsp[-11].domain)); /* email */
zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-9]. data).str)); /* serial */ zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-9]. data).str)); /* serial */
zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-7]. data).str)); /* refresh */ zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-7]. data).str)); /* refresh */
zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-5]. data).str)); /* retry */ zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-5]. data).str)); /* retry */
zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-3]. data).str)); /* expire */ zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-3]. data).str)); /* expire */
zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-1]. data).str)); /* minimum */ zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-1]. data).str)); /* minimum */
} }
#line 2903 "zparser.c" #line 3111 "zparser.c"
break; break;
case 190: case 200:
#line 717 "zparser.y" #line 752 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-5].data) .str)); /* address */ zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-5].data) .str)); /* address */
zadd_rdata_wireformat(zparser_conv_services(parser->region, (yyvsp[-3 ].data).str, (yyvsp[-1].data).str)); /* protocol and services */ zadd_rdata_wireformat(zparser_conv_services(parser->region, (yyvsp[-3 ].data).str, (yyvsp[-1].data).str)); /* protocol and services */
} }
#line 2912 "zparser.c" #line 3120 "zparser.c"
break; break;
case 191: case 201:
#line 724 "zparser.y" #line 759 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* CPU */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* CPU */
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* OS*/ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* OS*/
} }
#line 2921 "zparser.c" #line 3129 "zparser.c"
break; break;
case 192: case 202:
#line 731 "zparser.y" #line 766 "zparser.y"
{ {
/* convert a single dname record */ /* convert a single dname record */
zadd_rdata_domain((yyvsp[-3].domain)); zadd_rdata_domain((yyvsp[-3].domain));
zadd_rdata_domain((yyvsp[-1].domain)); zadd_rdata_domain((yyvsp[-1].domain));
} }
#line 2931 "zparser.c" #line 3139 "zparser.c"
break; break;
case 193: case 203:
#line 739 "zparser.y" #line 774 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* priority */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* priority */
zadd_rdata_domain((yyvsp[-1].domain)); /* MX host */ zadd_rdata_domain((yyvsp[-1].domain)); /* MX host */
} }
#line 2940 "zparser.c" #line 3148 "zparser.c"
break; break;
case 194: case 204:
#line 746 "zparser.y" #line 781 "zparser.y"
{ {
zadd_rdata_txt_clean_wireformat(); zadd_rdata_txt_clean_wireformat();
} }
#line 2948 "zparser.c" #line 3156 "zparser.c"
break; break;
case 195: case 205:
#line 753 "zparser.y" #line 788 "zparser.y"
{ {
zadd_rdata_domain((yyvsp[-3].domain)); /* mbox d-name */ zadd_rdata_domain((yyvsp[-3].domain)); /* mbox d-name */
zadd_rdata_domain((yyvsp[-1].domain)); /* txt d-name */ zadd_rdata_domain((yyvsp[-1].domain)); /* txt d-name */
} }
#line 2957 "zparser.c" #line 3165 "zparser.c"
break; break;
case 196: case 206:
#line 761 "zparser.y" #line 796 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* subtype */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* subtype */
zadd_rdata_domain((yyvsp[-1].domain)); /* domain name */ zadd_rdata_domain((yyvsp[-1].domain)); /* domain name */
} }
#line 2966 "zparser.c" #line 3174 "zparser.c"
break; break;
case 197: case 207:
#line 769 "zparser.y" #line 804 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* X.25 address. */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* X.25 address. */
} }
#line 2974 "zparser.c" #line 3182 "zparser.c"
break; break;
case 198: case 208:
#line 776 "zparser.y" #line 811 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* address */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* address */
} }
#line 2982 "zparser.c" #line 3190 "zparser.c"
break; break;
case 199: case 209:
#line 780 "zparser.y" #line 815 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* address */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* address */
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* sub-address */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-1].da ta).str, (yyvsp[-1].data).len)); /* sub-address */
} }
#line 2991 "zparser.c" #line 3199 "zparser.c"
break; break;
case 200: case 210:
#line 788 "zparser.y" #line 823 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_domain((yyvsp[-1].domain)); /* intermediate host */ zadd_rdata_domain((yyvsp[-1].domain)); /* intermediate host */
} }
#line 3000 "zparser.c" #line 3208 "zparser.c"
break; break;
case 201: case 211:
#line 796 "zparser.y" #line 831 "zparser.y"
{ {
/* String must start with "0x" or "0X". */ /* String must start with "0x" or "0X". */
if (strncasecmp((yyvsp[-1].data).str, "0x", 2) != 0) { if (strncasecmp((yyvsp[-1].data).str, "0x", 2) != 0) {
zc_error_prev_line("NSAP rdata must start with '0x'"); zc_error_prev_line("NSAP rdata must start with '0x'");
} else { } else {
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp [-1].data).str + 2, (yyvsp[-1].data).len - 2)); /* NSAP */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp [-1].data).str + 2, (yyvsp[-1].data).len - 2)); /* NSAP */
} }
} }
#line 3013 "zparser.c" #line 3221 "zparser.c"
break; break;
case 202: case 212:
#line 808 "zparser.y" #line 843 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* preference */
zadd_rdata_domain((yyvsp[-3].domain)); /* MAP822 */ zadd_rdata_domain((yyvsp[-3].domain)); /* MAP822 */
zadd_rdata_domain((yyvsp[-1].domain)); /* MAPX400 */ zadd_rdata_domain((yyvsp[-1].domain)); /* MAPX400 */
} }
#line 3023 "zparser.c" #line 3231 "zparser.c"
break; break;
case 203: case 213:
#line 816 "zparser.y" #line 851 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_aaaa(parser->region, (yyvsp[-1].da ta).str)); /* IPv6 address */ zadd_rdata_wireformat(zparser_conv_aaaa(parser->region, (yyvsp[-1].da ta).str)); /* IPv6 address */
} }
#line 3031 "zparser.c" #line 3239 "zparser.c"
break; break;
case 204: case 214:
#line 822 "zparser.y" #line 857 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_loc(parser->region, (yyvsp[-1].dat a).str)); /* Location */ zadd_rdata_wireformat(zparser_conv_loc(parser->region, (yyvsp[-1].dat a).str)); /* Location */
} }
#line 3039 "zparser.c" #line 3247 "zparser.c"
break; break;
case 205: case 215:
#line 828 "zparser.y" #line 863 "zparser.y"
{ {
zadd_rdata_domain((yyvsp[-3].domain)); /* nxt name */ zadd_rdata_domain((yyvsp[-3].domain)); /* nxt name */
zadd_rdata_wireformat(zparser_conv_nxt(parser->region, nxtbits)); /* nxt bitlist */ zadd_rdata_wireformat(zparser_conv_nxt(parser->region, nxtbits)); /* nxt bitlist */
memset(nxtbits, 0, sizeof(nxtbits)); memset(nxtbits, 0, sizeof(nxtbits));
} }
#line 3049 "zparser.c" #line 3257 "zparser.c"
break; break;
case 206: case 216:
#line 836 "zparser.y" #line 871 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* prio */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* prio */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* weight */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* weight */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* port */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* port */
zadd_rdata_domain((yyvsp[-1].domain)); /* target name */ zadd_rdata_domain((yyvsp[-1].domain)); /* target name */
} }
#line 3060 "zparser.c" #line 3268 "zparser.c"
break; break;
case 207: case 217:
#line 846 "zparser.y" #line 881 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-11]. data).str)); /* order */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-11]. data).str)); /* order */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-9].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-9].d ata).str)); /* preference */
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-7].da ta).str, (yyvsp[-7].data).len)); /* flags */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-7].da ta).str, (yyvsp[-7].data).len)); /* flags */
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-5].da ta).str, (yyvsp[-5].data).len)); /* service */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-5].da ta).str, (yyvsp[-5].data).len)); /* service */
zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* regexp */ zadd_rdata_wireformat(zparser_conv_text(parser->region, (yyvsp[-3].da ta).str, (yyvsp[-3].data).len)); /* regexp */
zadd_rdata_domain((yyvsp[-1].domain)); /* target name */ zadd_rdata_domain((yyvsp[-1].domain)); /* target name */
} }
#line 3073 "zparser.c" #line 3281 "zparser.c"
break; break;
case 208: case 218:
#line 858 "zparser.y" #line 893 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_domain((yyvsp[-1].domain)); /* exchanger */ zadd_rdata_domain((yyvsp[-1].domain)); /* exchanger */
} }
#line 3082 "zparser.c" #line 3290 "zparser.c"
break; break;
case 209: case 219:
#line 866 "zparser.y" #line 901 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_certificate_type(parser->region, ( yyvsp[-7].data).str)); /* type */ zadd_rdata_wireformat(zparser_conv_certificate_type(parser->region, ( yyvsp[-7].data).str)); /* type */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* key tag */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* key tag */
zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 3].data).str)); /* algorithm */ zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 3].data).str)); /* algorithm */
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* certificate or CRL */ zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* certificate or CRL */
} }
#line 3093 "zparser.c" #line 3301 "zparser.c"
break; break;
case 211: case 221:
#line 879 "zparser.y" #line 914 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_apl_rdata(parser->region, (yyvsp[0 ].data).str)); zadd_rdata_wireformat(zparser_conv_apl_rdata(parser->region, (yyvsp[0 ].data).str));
} }
#line 3101 "zparser.c" #line 3309 "zparser.c"
break; break;
case 212: case 222:
#line 883 "zparser.y" #line 918 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_apl_rdata(parser->region, (yyvsp[0 ].data).str)); zadd_rdata_wireformat(zparser_conv_apl_rdata(parser->region, (yyvsp[0 ].data).str));
} }
#line 3109 "zparser.c" #line 3317 "zparser.c"
break; break;
case 213: case 223:
#line 889 "zparser.y" #line 924 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* keytag */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* keytag */
zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 5].data).str)); /* alg */ zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 5].data).str)); /* alg */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* type */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */
} }
#line 3120 "zparser.c" #line 3328 "zparser.c"
break; break;
case 214: case 224:
#line 898 "zparser.y" #line 933 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* keytag */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* keytag */
zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 5].data).str)); /* alg */ zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 5].data).str)); /* alg */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* type */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */
} }
#line 3131 "zparser.c" #line 3339 "zparser.c"
break; break;
case 215: case 225:
#line 907 "zparser.y" #line 942 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* alg */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* alg */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* fp type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* fp type */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* hash */
check_sshfp(); check_sshfp();
} }
#line 3142 "zparser.c" #line 3350 "zparser.c"
break; break;
case 216: case 226:
#line 916 "zparser.y" #line 951 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* data blob */ zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* data blob */
} }
#line 3150 "zparser.c" #line 3358 "zparser.c"
break; break;
case 217: case 227:
#line 922 "zparser.y" #line 957 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_rrtype(parser->region, (yyvsp[-17] .data).str)); /* rr covered */ zadd_rdata_wireformat(zparser_conv_rrtype(parser->region, (yyvsp[-17] .data).str)); /* rr covered */
zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 15].data).str)); /* alg */ zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 15].data).str)); /* alg */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-13].d ata).str)); /* # labels */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-13].d ata).str)); /* # labels */
zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-11] .data).str)); /* # orig TTL */ zadd_rdata_wireformat(zparser_conv_period(parser->region, (yyvsp[-11] .data).str)); /* # orig TTL */
zadd_rdata_wireformat(zparser_conv_time(parser->region, (yyvsp[-9].da ta).str)); /* sig exp */ zadd_rdata_wireformat(zparser_conv_time(parser->region, (yyvsp[-9].da ta).str)); /* sig exp */
zadd_rdata_wireformat(zparser_conv_time(parser->region, (yyvsp[-7].da ta).str)); /* sig inc */ zadd_rdata_wireformat(zparser_conv_time(parser->region, (yyvsp[-7].da ta).str)); /* sig inc */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* key id */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* key id */
zadd_rdata_wireformat(zparser_conv_dns_name(parser->region, zadd_rdata_wireformat(zparser_conv_dns_name(parser->region,
(const uint8_t*) (yyvsp[-3].data).str,(yyvsp[-3]. data).len)); /* sig name */ (const uint8_t*) (yyvsp[-3].data).str,(yyvsp[-3]. data).len)); /* sig name */
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* sig data */ zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* sig data */
} }
#line 3167 "zparser.c" #line 3375 "zparser.c"
break; break;
case 218: case 228:
#line 937 "zparser.y" #line 972 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_dns_name(parser->region, zadd_rdata_wireformat(zparser_conv_dns_name(parser->region,
(const uint8_t*) (yyvsp[-1].data).str, (yyvsp[-1] .data).len)); /* nsec name */ (const uint8_t*) (yyvsp[-1].data).str, (yyvsp[-1] .data).len)); /* nsec name */
zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */ zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */
memset(nsecbits, 0, sizeof(nsecbits)); memset(nsecbits, 0, sizeof(nsecbits));
nsec_highest_rcode = 0; nsec_highest_rcode = 0;
} }
#line 3179 "zparser.c" #line 3387 "zparser.c"
break; break;
case 219: case 229:
#line 947 "zparser.y" #line 982 "zparser.y"
{ {
#ifdef NSEC3 #ifdef NSEC3
nsec3_add_params((yyvsp[-9].data).str, (yyvsp[-7].data).str, (yyvsp[- 5].data).str, (yyvsp[-3].data).str, (yyvsp[-3].data).len); nsec3_add_params((yyvsp[-9].data).str, (yyvsp[-7].data).str, (yyvsp[- 5].data).str, (yyvsp[-3].data).str, (yyvsp[-3].data).len);
zadd_rdata_wireformat(zparser_conv_b32(parser->region, (yyvsp[-1].dat a).str)); /* next hashed name */ zadd_rdata_wireformat(zparser_conv_b32(parser->region, (yyvsp[-1].dat a).str)); /* next hashed name */
zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */ zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */
memset(nsecbits, 0, sizeof(nsecbits)); memset(nsecbits, 0, sizeof(nsecbits));
nsec_highest_rcode = 0; nsec_highest_rcode = 0;
#else #else
zc_error_prev_line("nsec3 not supported"); zc_error_prev_line("nsec3 not supported");
#endif /* NSEC3 */ #endif /* NSEC3 */
} }
#line 3196 "zparser.c" #line 3404 "zparser.c"
break; break;
case 220: case 230:
#line 962 "zparser.y" #line 997 "zparser.y"
{ {
#ifdef NSEC3 #ifdef NSEC3
nsec3_add_params((yyvsp[-7].data).str, (yyvsp[-5].data).str, (yyvsp[- 3].data).str, (yyvsp[-1].data).str, (yyvsp[-1].data).len); nsec3_add_params((yyvsp[-7].data).str, (yyvsp[-5].data).str, (yyvsp[- 3].data).str, (yyvsp[-1].data).str, (yyvsp[-1].data).len);
#else #else
zc_error_prev_line("nsec3 not supported"); zc_error_prev_line("nsec3 not supported");
#endif /* NSEC3 */ #endif /* NSEC3 */
} }
#line 3208 "zparser.c" #line 3416 "zparser.c"
break; break;
case 221: case 231:
#line 972 "zparser.y" #line 1007 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-7].da ta).str)); /* usage */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-7].da ta).str)); /* usage */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* selector */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* selector */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* matching type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* matching type */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* ca data */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* ca data */
} }
#line 3219 "zparser.c" #line 3427 "zparser.c"
break; break;
case 222: case 232:
#line 981 "zparser.y" #line 1016 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-7].da ta).str)); /* usage */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-7].da ta).str)); /* usage */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* selector */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* selector */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* matching type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* matching type */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* ca data */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* ca data */
} }
#line 3230 "zparser.c" #line 3438 "zparser.c"
break; break;
case 223: case 233:
#line 990 "zparser.y" #line 1025 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* flags */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-7].d ata).str)); /* flags */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* proto */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* proto */
zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 3].data).str)); /* alg */ zadd_rdata_wireformat(zparser_conv_algorithm(parser->region, (yyvsp[- 3].data).str)); /* alg */
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* hash */ zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); /* hash */
} }
#line 3241 "zparser.c" #line 3449 "zparser.c"
break; break;
case 224: case 234:
#line 999 "zparser.y" #line 1034 "zparser.y"
{ {
const dname_type* name = 0; const dname_type* name = 0;
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-6].da ta).str)); /* precedence */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-6].da ta).str)); /* precedence */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-4].da ta).str)); /* gateway type */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-4].da ta).str)); /* gateway type */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-2].da ta).str)); /* algorithm */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-2].da ta).str)); /* algorithm */
switch(atoi((yyvsp[-4].data).str)) { switch(atoi((yyvsp[-4].data).str)) {
case IPSECKEY_NOGATEWAY: case IPSECKEY_NOGATEWAY:
zadd_rdata_wireformat(alloc_rdata_init(parser->region, "" , 0)); zadd_rdata_wireformat(alloc_rdata_init(parser->region, "" , 0));
break; break;
case IPSECKEY_IP4: case IPSECKEY_IP4:
skipping to change at line 3258 skipping to change at line 3457
name = dname_concatenate(parser->rr_region, name, name = dname_concatenate(parser->rr_region, name,
domain_dname(parser->origin)); domain_dname(parser->origin));
} }
zadd_rdata_wireformat(alloc_rdata_init(parser->region, zadd_rdata_wireformat(alloc_rdata_init(parser->region,
dname_name(name), name->name_size)); dname_name(name), name->name_size));
break; break;
default: default:
zc_error_prev_line("unknown IPSECKEY gateway type"); zc_error_prev_line("unknown IPSECKEY gateway type");
} }
} }
#line 3288 "zparser.c" #line 3496 "zparser.c"
break; break;
case 225: case 235:
#line 1044 "zparser.y" #line 1079 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].data ).str)); /* public key */ zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].data ).str)); /* public key */
} }
#line 3296 "zparser.c" #line 3504 "zparser.c"
break; break;
case 227: case 237:
#line 1052 "zparser.y" #line 1087 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_wireformat(zparser_conv_ilnp64(parser->region, (yyvsp[-1]. data).str)); /* NodeID */ zadd_rdata_wireformat(zparser_conv_ilnp64(parser->region, (yyvsp[-1]. data).str)); /* NodeID */
} }
#line 3305 "zparser.c" #line 3513 "zparser.c"
break; break;
case 228: case 238:
#line 1059 "zparser.y" #line 1094 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-1].data) .str)); /* Locator32 */ zadd_rdata_wireformat(zparser_conv_a(parser->region, (yyvsp[-1].data) .str)); /* Locator32 */
} }
#line 3314 "zparser.c" #line 3522 "zparser.c"
break; break;
case 229: case 239:
#line 1066 "zparser.y" #line 1101 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_wireformat(zparser_conv_ilnp64(parser->region, (yyvsp[-1]. data).str)); /* Locator64 */ zadd_rdata_wireformat(zparser_conv_ilnp64(parser->region, (yyvsp[-1]. data).str)); /* Locator64 */
} }
#line 3323 "zparser.c" #line 3531 "zparser.c"
break; break;
case 230: case 240:
#line 1073 "zparser.y" #line 1108 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* preference */
zadd_rdata_domain((yyvsp[-1].domain)); /* FQDN */ zadd_rdata_domain((yyvsp[-1].domain)); /* FQDN */
} }
#line 3332 "zparser.c" #line 3540 "zparser.c"
break; break;
case 231: case 241:
#line 1080 "zparser.y" #line 1115 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_eui(parser->region, (yyvsp[-1].dat a).str, 48)); zadd_rdata_wireformat(zparser_conv_eui(parser->region, (yyvsp[-1].dat a).str, 48));
} }
#line 3340 "zparser.c" #line 3548 "zparser.c"
break; break;
case 232: case 242:
#line 1086 "zparser.y" #line 1121 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_eui(parser->region, (yyvsp[-1].dat a).str, 64)); zadd_rdata_wireformat(zparser_conv_eui(parser->region, (yyvsp[-1].dat a).str, 64));
} }
#line 3348 "zparser.c" #line 3556 "zparser.c"
break; break;
case 233: case 243:
#line 1093 "zparser.y" #line 1128 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* priority */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-5].d ata).str)); /* priority */
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* weight */ zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-3].d ata).str)); /* weight */
zadd_rdata_wireformat(zparser_conv_long_text(parser->region, (yyvsp[- 1].data).str, (yyvsp[-1].data).len)); /* target */ zadd_rdata_wireformat(zparser_conv_long_text(parser->region, (yyvsp[- 1].data).str, (yyvsp[-1].data).len)); /* target */
} }
#line 3358 "zparser.c" #line 3566 "zparser.c"
break; break;
case 234: case 244:
#line 1102 "zparser.y" #line 1137 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* Flags */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* Flags */
zadd_rdata_wireformat(zparser_conv_tag(parser->region, (yyvsp[-3].dat a).str, (yyvsp[-3].data).len)); /* Tag */ zadd_rdata_wireformat(zparser_conv_tag(parser->region, (yyvsp[-3].dat a).str, (yyvsp[-3].data).len)); /* Tag */
zadd_rdata_wireformat(zparser_conv_long_text(parser->region, (yyvsp[- 1].data).str, (yyvsp[-1].data).len)); /* Value */ zadd_rdata_wireformat(zparser_conv_long_text(parser->region, (yyvsp[- 1].data).str, (yyvsp[-1].data).len)); /* Value */
} }
#line 3368 "zparser.c" #line 3576 "zparser.c"
break; break;
case 235: case 245:
#line 1111 "zparser.y" #line 1146 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str)); zadd_rdata_wireformat(zparser_conv_b64(parser->region, (yyvsp[-1].dat a).str));
} }
#line 3376 "zparser.c" #line 3584 "zparser.c"
break; break;
case 236: case 246:
#line 1118 "zparser.y" #line 1153 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-3]. data).str)); zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-3]. data).str));
zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-1].d ata).str)); zadd_rdata_wireformat(zparser_conv_short(parser->region, (yyvsp[-1].d ata).str));
zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */ zadd_rdata_wireformat(zparser_conv_nsec(parser->region, nsecbits)); / * nsec bitlist */
memset(nsecbits, 0, sizeof(nsecbits)); memset(nsecbits, 0, sizeof(nsecbits));
nsec_highest_rcode = 0; nsec_highest_rcode = 0;
} }
#line 3388 "zparser.c" #line 3596 "zparser.c"
break; break;
case 237: case 247:
#line 1129 "zparser.y" #line 1164 "zparser.y"
{ {
zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-7]. data).str)); /* serial */ zadd_rdata_wireformat(zparser_conv_serial(parser->region, (yyvsp[-7]. data).str)); /* serial */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* scheme */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-5].da ta).str)); /* scheme */
zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* hash algorithm */ zadd_rdata_wireformat(zparser_conv_byte(parser->region, (yyvsp[-3].da ta).str)); /* hash algorithm */
zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* digest */ zadd_rdata_wireformat(zparser_conv_hex(parser->region, (yyvsp[-1].dat a).str, (yyvsp[-1].data).len)); /* digest */
} }
#line 3399 "zparser.c" #line 3607 "zparser.c"
break; break;
case 238: case 248:
#line 1138 "zparser.y" #line 1173 "zparser.y"
{ {
/* $2 is the number of octets, currently ignored */ /* $2 is the number of octets, currently ignored */
(yyval.unknown) = zparser_conv_hex(parser->rr_region, (yyvsp[-1].data ).str, (yyvsp[-1].data).len); (yyval.unknown) = zparser_conv_hex(parser->rr_region, (yyvsp[-1].data ).str, (yyvsp[-1].data).len);
} }
#line 3409 "zparser.c" #line 3617 "zparser.c"
break; break;
case 239: case 249:
#line 1144 "zparser.y" #line 1179 "zparser.y"
{ {
(yyval.unknown) = zparser_conv_hex(parser->rr_region, "", 0); (yyval.unknown) = zparser_conv_hex(parser->rr_region, "", 0);
} }
#line 3417 "zparser.c" #line 3625 "zparser.c"
break; break;
case 240: case 250:
#line 1148 "zparser.y" #line 1183 "zparser.y"
{ {
(yyval.unknown) = zparser_conv_hex(parser->rr_region, "", 0); (yyval.unknown) = zparser_conv_hex(parser->rr_region, "", 0);
} }
#line 3425 "zparser.c" #line 3633 "zparser.c"
break; break;
#line 3429 "zparser.c" #line 3637 "zparser.c"
default: break; default: break;
} }
/* User semantic actions sometimes alter yychar, and that requires /* User semantic actions sometimes alter yychar, and that requires
that yytoken be updated with the new translation. We take the that yytoken be updated with the new translation. We take the
approach of translating immediately before every use of yytoken. approach of translating immediately before every use of yytoken.
One alternative is translating here after every semantic action, One alternative is translating here after every semantic action,
but that translation would be missed if the semantic action invokes but that translation would be missed if the semantic action invokes
YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
incorrect destructor might then be invoked immediately. In the incorrect destructor might then be invoked immediately. In the
case of YYERROR or YYBACKUP, subsequent parser actions might lead case of YYERROR or YYBACKUP, subsequent parser actions might lead
to an incorrect destructor call or verbose syntax error message to an incorrect destructor call or verbose syntax error message
before the lookahead is translated. */ before the lookahead is translated. */
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyl oc);
YYPOPSTACK (yylen); YYPOPSTACK (yylen);
yylen = 0; yylen = 0;
YY_STACK_PRINT (yyss, yyssp);
*++yyvsp = yyval; *++yyvsp = yyval;
/* Now 'shift' the result of the reduction. Determine what state /* Now 'shift' the result of the reduction. Determine what state
that goes to, based on the state we popped back to and the rule that goes to, based on the state we popped back to and the rule
number reduced by. */ number reduced by. */
{ {
const int yylhs = yyr1[yyn] - YYNTOKENS; const int yylhs = yyr1[yyn] - YYNTOKENS;
const int yyi = yypgoto[yylhs] + *yyssp; const int yyi = yypgoto[yylhs] + *yyssp;
yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
skipping to change at line 3440 skipping to change at line 3638
} }
goto yynewstate; goto yynewstate;
/*--------------------------------------. /*--------------------------------------.
| yyerrlab -- here on detecting error. | | yyerrlab -- here on detecting error. |
`--------------------------------------*/ `--------------------------------------*/
yyerrlab: yyerrlab:
/* Make sure we have latest lookahead translation. See comments at /* Make sure we have latest lookahead translation. See comments at
user semantic actions for why this is necessary. */ user semantic actions for why this is necessary. */
yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
/* If not already recovering from an error, report this error. */ /* If not already recovering from an error, report this error. */
if (!yyerrstatus) if (!yyerrstatus)
{ {
++yynerrs; ++yynerrs;
#if ! YYERROR_VERBOSE
yyerror (YY_("syntax error")); yyerror (YY_("syntax error"));
#else
# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
yyssp, yytoken)
{
char const *yymsgp = YY_("syntax error");
int yysyntax_error_status;
yysyntax_error_status = YYSYNTAX_ERROR;
if (yysyntax_error_status == 0)
yymsgp = yymsg;
else if (yysyntax_error_status == 1)
{
if (yymsg != yymsgbuf)
YYSTACK_FREE (yymsg);
yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
if (!yymsg)
{
yymsg = yymsgbuf;
yymsg_alloc = sizeof yymsgbuf;
yysyntax_error_status = 2;
}
else
{
yysyntax_error_status = YYSYNTAX_ERROR;
yymsgp = yymsg;
}
}
yyerror (yymsgp);
if (yysyntax_error_status == 2)
goto yyexhaustedlab;
}
# undef YYSYNTAX_ERROR
#endif
} }
if (yyerrstatus == 3) if (yyerrstatus == 3)
{ {
/* If just tried and failed to reuse lookahead token after an /* If just tried and failed to reuse lookahead token after an
error, discard it. */ error, discard it. */
if (yychar <= YYEOF) if (yychar <= YYEOF)
{ {
/* Return failure if at end of input. */ /* Return failure if at end of input. */
skipping to change at line 3528 skipping to change at line 3692
YY_STACK_PRINT (yyss, yyssp); YY_STACK_PRINT (yyss, yyssp);
yystate = *yyssp; yystate = *yyssp;
goto yyerrlab1; goto yyerrlab1;
/*-------------------------------------------------------------. /*-------------------------------------------------------------.
| yyerrlab1 -- common code for both syntax error and YYERROR. | | yyerrlab1 -- common code for both syntax error and YYERROR. |
`-------------------------------------------------------------*/ `-------------------------------------------------------------*/
yyerrlab1: yyerrlab1:
yyerrstatus = 3; /* Each real token shifted decrements this. */ yyerrstatus = 3; /* Each real token shifted decrements this. */
/* Pop stack until we find a state that shifts the error token. */
for (;;) for (;;)
{ {
yyn = yypact[yystate]; yyn = yypact[yystate];
if (!yypact_value_is_default (yyn)) if (!yypact_value_is_default (yyn))
{ {
yyn += YYTERROR; yyn += YYSYMBOL_YYerror;
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
{ {
yyn = yytable[yyn]; yyn = yytable[yyn];
if (0 < yyn) if (0 < yyn)
break; break;
} }
} }
/* Pop the current state because it cannot handle the error token. */ /* Pop the current state because it cannot handle the error token. */
if (yyssp == yyss) if (yyssp == yyss)
YYABORT; YYABORT;
yydestruct ("Error: popping", yydestruct ("Error: popping",
yystos[yystate], yyvsp); YY_ACCESSING_SYMBOL (yystate), yyvsp);
YYPOPSTACK (1); YYPOPSTACK (1);
yystate = *yyssp; yystate = *yyssp;
YY_STACK_PRINT (yyss, yyssp); YY_STACK_PRINT (yyss, yyssp);
} }
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
*++yyvsp = yylval; *++yyvsp = yylval;
YY_IGNORE_MAYBE_UNINITIALIZED_END YY_IGNORE_MAYBE_UNINITIALIZED_END
/* Shift the error token. */ /* Shift the error token. */
YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
yystate = yyn; yystate = yyn;
goto yynewstate; goto yynewstate;
/*-------------------------------------. /*-------------------------------------.
| yyacceptlab -- YYACCEPT comes here. | | yyacceptlab -- YYACCEPT comes here. |
`-------------------------------------*/ `-------------------------------------*/
yyacceptlab: yyacceptlab:
yyresult = 0; yyresult = 0;
goto yyreturn; goto yyreturn;
/*-----------------------------------. /*-----------------------------------.
| yyabortlab -- YYABORT comes here. | | yyabortlab -- YYABORT comes here. |
`-----------------------------------*/ `-----------------------------------*/
yyabortlab: yyabortlab:
yyresult = 1; yyresult = 1;
goto yyreturn; goto yyreturn;
#if !defined yyoverflow || YYERROR_VERBOSE #if !defined yyoverflow
/*-------------------------------------------------. /*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here. | | yyexhaustedlab -- memory exhaustion comes here. |
`-------------------------------------------------*/ `-------------------------------------------------*/
yyexhaustedlab: yyexhaustedlab:
yyerror (YY_("memory exhausted")); yyerror (YY_("memory exhausted"));
yyresult = 2; yyresult = 2;
/* Fall through. */ /* Fall through. */
#endif #endif
/*-----------------------------------------------------. /*-----------------------------------------------------.
skipping to change at line 3606 skipping to change at line 3771
yydestruct ("Cleanup: discarding lookahead", yydestruct ("Cleanup: discarding lookahead",
yytoken, &yylval); yytoken, &yylval);
} }
/* Do not reclaim the symbols of the rule whose action triggered /* Do not reclaim the symbols of the rule whose action triggered
this YYABORT or YYACCEPT. */ this YYABORT or YYACCEPT. */
YYPOPSTACK (yylen); YYPOPSTACK (yylen);
YY_STACK_PRINT (yyss, yyssp); YY_STACK_PRINT (yyss, yyssp);
while (yyssp != yyss) while (yyssp != yyss)
{ {
yydestruct ("Cleanup: popping", yydestruct ("Cleanup: popping",
yystos[*yyssp], yyvsp); YY_ACCESSING_SYMBOL (+*yyssp), yyvsp);
YYPOPSTACK (1); YYPOPSTACK (1);
} }
#ifndef yyoverflow #ifndef yyoverflow
if (yyss != yyssa) if (yyss != yyssa)
YYSTACK_FREE (yyss); YYSTACK_FREE (yyss);
#endif #endif
#if YYERROR_VERBOSE
if (yymsg != yymsgbuf)
YYSTACK_FREE (yymsg);
#endif
return yyresult; return yyresult;
} }
#line 1152 "zparser.y"
#line 1187 "zparser.y"
int int
yywrap(void) yywrap(void)
{ {
return 1; return 1;
} }
/* /*
* Create the parser. * Create the parser.
*/ */
 End of changes. 407 change blocks. 
1531 lines changed or deleted 1701 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)